]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
02c6953e34855b6229547e35fd246ccac2e26b61
[thirdparty/glibc.git] / ChangeLog
1 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2
3 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
5 s_llrint-ppc64.
6 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
7 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
8 file.
9 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
10 Likewise.
11 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
12 Likewise.
13 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
14 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
15 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
16 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
17 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
18 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
19 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
20 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
21 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
22 (libm-sysdep_routines): Remove s_llrint-* objects.
23 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
24 file.
25 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
26 Likewise.
27 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
28 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
29 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
30 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
31 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
32 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
33 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
35 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
36 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
37
38 2019-06-14 Florian Weimer <fweimer@redhat.com>
39
40 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
41 argument to __glibc_has_include to inhibit macro expansion.
42
43 2019-06-14 Florian Weimer <fweimer@redhat.com>
44
45 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
46 function-like macro, so that __has_include can inhibit expansion
47 of its argument.
48
49 2019-06-13 Joseph Myers <joseph@codesourcery.com>
50
51 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
52 New macro.
53
54 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
55 Allow memset in libc.so.
56
57 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
58
59 * sysdeps/aarch64/dl-dtprocnum.h: New file.
60 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
61 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
62 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
63 symbols at load time.
64 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
65
66 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
67
68 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
69 (DT_AARCH64_VARIANT_PCS): Define.
70
71 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
72
73 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
74 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
75 objects.
76 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
77 Remove file.
78 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
79 Likewise.
80 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
81 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
82 Likewise.
83 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
84 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
85 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
86 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
87 Remove s_finite* objects.
88 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
89 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
90 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
91 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
92 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
93 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
94 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
95 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
96 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
97 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
98
99 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
100 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
101
102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
103 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
104 objects.
105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
106 Remove file.
107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
108 Likewise.
109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
111 Likewise.
112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
113 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
114 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
115 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
116 Remove s_isinf* and s_isinf* objects.
117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
123 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
124 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
125 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
126 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
127
128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
129 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
130
131 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
132 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
133 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
135 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
136 s_isnanf-* objects.
137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
138 Remove file
139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
140 Likewise.
141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
142 Likewise.
143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
144 Likewise.
145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
147 Likewise.
148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
149 Likewise.
150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
151 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
152 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
153 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
154 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
155 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
156 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
157 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
158 Remove s_isnan-* and s_isnanf-* objects.
159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
162 Likewise.
163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
168 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
169 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
170 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
171 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
172 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
173 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
174 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
175 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
176
177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
178 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
179
180 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
181 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
182 CFLAGS-bench-isfinite.c): New rule.
183 * benchtests/isnan-input: New file.
184 * benchtests/isinf-input: New file.
185 * benchtests/isfinite-input: New file.
186
187 * sysdeps/powerpc/fpu/s_copysign.c: New file.
188 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
189 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
190 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
192 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
193 s_copysign-ppc32.
194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
195 Remove file.
196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
197 Likewise.
198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
199 Likewise.
200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
201 Likewise.
202 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
203 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
205 Remove s_copysign-power6 s_copysign-ppc64.
206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
207 Remove file.
208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
209 Likewise.
210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
212 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
213 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
214 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
215 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
216
217 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
218 round_to_integer_float, round_mode): Add RINT handling.
219 (reset_fenv_mode): New symbol.
220 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
221 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
222 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
223 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
224 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
225 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
226
227 2019-06-12 Florian Weimer <fweimer@redhat.com>
228
229 [BZ #24632]
230 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
231 * libio/freopen.c (freopen): Use it.
232
233 2019-06-12 Florian Weimer <fweimer@redhat.com>
234
235 Linux: Deprecate sysctl.
236 * include/sysctl.h (__sysctl): Remove declaration.
237 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
238 check.
239 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
240 (sysctl): Add deprecation attribute.
241 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
242 directly, to avoid the deprecation warning. Do not include
243 <string.h>.
244 (__sysctl): Remove hidden alias.
245
246 2019-06-12 Florian Weimer <fweimer@redhat.com>
247
248 Linux: Use kernel headers for statx definitions if available.
249 * include/bits/statx-generic.h: New file.
250 * include/bits/types/struct_statx.h: Likewise.
251 * include/bits/types/struct_statx_timestamp.h: Likewise.
252 * io/Makefile (headers): Add bits/statx-generic.h.
253 * io/bits/statx-generic.h: New file. Partly copied from
254 io/bits/statx.h.
255 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
256 define original_statx.
257 * io/bits/types/struct_statx.h: Likewise.
258 * io/bits/types/struct_statx_timestamp.h: Likewise.
259 (statx_generic): Use original_statx.
260 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
261 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
262
263 2019-06-12 Florian Weimer <fweimer@redhat.com>
264
265 * misc/sys/cdefs.h (__glibc_has_include): Define.
266
267 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
268
269 * string/memmem.c (__memmem): Rewrite to improve performance.
270
271 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
272
273 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
274 warning.
275 (two_way_long_needle): Block inlining.
276 * string/strstr.c (strstr2): Add new function.
277 (strstr3): Likewise.
278 (STRSTR): Completely rewrite strstr to improve performance.
279
280 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
281
282 * benchtests/bench-strstr.c (test_hard_needle): New function.
283
284 2019-06-10 Joseph Myers <joseph@codesourcery.com>
285
286 * malloc/tst-calloc.c: Include <libc-diag.h>.
287 (null_test): Ignore -Wunused-result around calls to calloc.
288 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
289 (do_test): Ignore -Wunused-result around call to malloc.
290
291 2019-06-07 Florian Weimer <fweimer@redhat.com>
292
293 Linux: Add getdents64 system call.
294 * include/dirnent.h (getdents): Add comment and change buffer
295 argument type to void *.
296 (getdents64): Likewise. Add hidden prototype.
297 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
298 getdents64.
299 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
300 Add tst-getdents64.
301 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
302 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
303 argument type to void *.
304 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
305 Add hidden definition and getdents64 alias.
306 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
307 Likewise.
308 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
309 * manual/filesys.texi (Accessing Directories): Add Low-level
310 Directory Access node reference.
311 (Opening a Directory): Cross-reference it.
312 (Low-level Directory Access): New node.
313 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
314 getdents64.
315 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
316 Likewise.
317 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
318 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
319 Likewise.
320 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
321 Likewise.
322 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
323 Likewise.
324 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
325 Likewise.
326 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
327 Likewise.
328 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
329 Likewise.
330 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
331 Likewise.
332 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
333 (GLIBC_2.30): Likewise.
334 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
335 (GLIBC_2.30): Likewise.
336 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
337 (GLIBC_2.30): Likewise.
338 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
339 (GLIBC_2.30): Likewise.
340 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
341 Likewise.
342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
343 (GLIBC_2.30): Likewise.
344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
345 (GLIBC_2.30): Likewise.
346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
347 (GLIBC_2.30): Likewise.
348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
349 (GLIBC_2.30): Likewise.
350 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
351 Likewise.
352 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
353 Likewise.
354 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
355 Likewise.
356 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
357 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
358 Likewise.
359 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
360 Likewise.
361 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
362 Likewise.
363 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
364 Likewise.
365
366 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
367
368 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
369 (__FPU_MFFS): New.
370 (__FPU_MFFSL): New.
371 (_FPU_GET_RC): New.
372 (_FPU_GETCW): Use __FPU_MFFS().
373 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
374
375 2019-06-06 Florian Weimer <fweimer@redhat.com>
376
377 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
378 internal GCC preprocessor identifier __has_include__.
379
380 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
381
382 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
383 with call to equivalent function.
384
385 2019-06-04 Florian Weimer <fweimer@redhat.com>
386
387 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
388 (do_release_shlib): Adjust for __twalk_r.
389 (__gconv_release_shlib): Call __twalk_r.
390
391 2019-06-04 Andreas Schwab <schwab@suse.de>
392
393 [BZ #18830]
394 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
395 no irreversible characters occurred.
396 * iconv/gconv_simple.c (internal_ucs4_loop)
397 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
398 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
399 (ucs4_internal_loop_single, internal_ucs4le_loop)
400 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
401 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
402 (ucs4le_internal_loop_single): Add const to outend.
403 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
404 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
405 * iconv/Makefile (tests): Add tst-iconv7.
406 * iconv/tst-iconv7.c: New file.
407
408 2019-06-03 Joseph Myers <joseph@codesourcery.com>
409
410 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
411
412 2019-06-01 Florian Weimer <fweimer@redhat.com>
413
414 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
415 * sysdeps/unix/sysv/linux/arm/Makefile
416 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
417 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
418 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
419 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
420 compatibility symbols.
421
422 2019-05-31 Florian Weimer <fweimer@redhat.com>
423
424 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
425 system calls for the arm architecture: breakpoint, get_tls,
426 set_tls, usr26, usr32.
427
428 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
429
430 * sysdeps/powerpc/Makefile
431 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
432 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
433 Declare '.machine power7' to get support for ldbrx.
434 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
435 directive based on the directory of the file.
436 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
437 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
438 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
439 '.machine' directive.
440 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
441 (VADDUQM_V7_V8): Remove.
442 (__STRCASECMP): Replace macros with actual instructions.
443 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
444 '.machine' directive.
445 (VCLZD_V8_v7): Remove.
446 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
447
448 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
449
450 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
451 Remove file.
452 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
453
454 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
455
456 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
457 NEARBYINT handling.
458 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
459 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
460 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
461 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
462 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
463 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
464
465 2019-05-28 mansayk <6688000@gmail.com>
466
467 [BZ #24370]
468 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
469
470 2019-05-28 mansayk <6688000@gmail.com>
471
472 [BZ #24369]
473 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
474 (abmon): Likewise, but remove the trailing dots.
475
476 2019-05-28 Joseph Myers <joseph@codesourcery.com>
477
478 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
479
480 2019-05-27 Florian Weimer <fweimer@redhat.com>
481
482 * nptl/nptl-init.c: Add comment.
483
484 2019-05-24 Florian Weimer <fweimer@redhat.com>
485
486 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
487 struct in_addr/struct in6_addr alignment.
488
489 2019-05-23 Joseph Myers <joseph@codesourcery.com>
490
491 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
492 (F_SEAL_FUTURE_WRITE): New macro.
493
494 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
495
496 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
497 * elf/tst-ldconfig-bad-aux-cache.c: New file.
498 * elf/tst-ldconfig_aux-cache.root: New directory.
499 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
500 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
501 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
502
503 2019-05-22 Zack Weinberg <zackw@panix.com>
504
505 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
506 host type.
507 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
508 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
509
510 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
513 Delete.
514
515 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
516 Issue an #error if used with a compiler in SPE-float mode.
517 * sysdeps/powerpc/powerpc32/__longjmp_common.S
518 * sysdeps/powerpc/powerpc32/setjmp_common.S
519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
525 Remove code to preserve SPE register state.
526
527 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
528 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
529 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
530 Remove __SPE__ ifndefs.
531
532 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
533
534 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
535 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
536 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
537 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
538 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
539 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
540 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
541 (INNER_LOOP_ITERS_MEDIUM): New define.
542 (INNER_LOOP_ITERS_SMALL): New define.
543 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
544 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
545 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
546 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
547 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
548
549 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
550
551 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
552 New define.
553 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
554 (SEMTIMEDOP_IPC_ARGS): Likewise.
555
556 2019-05-21 Florian Weimer <fweimer@redhat.com>
557
558 [BZ #24584]
559 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
560 before updating __counter field and release it afterwards. Add
561 overflow check.
562 * iconv/gconv.h (struct __gconv_step): Mention synchronization
563 requirement for __counter member.
564
565 2019-05-21 Florian Weimer <fweimer@redhat.com>
566
567 [BZ #24583]
568 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
569 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
570 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
571 instead of __gconv_release_step.
572 * libio/Makefile (tests): Add tst-wfile-gconv.
573 (tests-container): Add tst-wfile-ascii.
574 (tst-wfile-gconv-ENV): Enable mtrace.
575 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
576 (tests-special): Add tst-wfile-gconv-mem.out.
577 (tst-wfile-gconv.out): Depend on locales.
578 (tst-wfile-gconv-mem.out): Add mtrace rule.
579 * libio/tst-wfile-ascii.c: New file.
580 * libio/tst-wfile-gconv.c: Likewise.
581
582 2019-05-20 Florian Weimer <fweimer@redhat.com>
583
584 [BZ #24588]
585 libio: Remove codecvt vtable.
586 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
587 __libio_codecvt.
588 * libio/iofgetpos.c (_IO_new_fgetpos): Call
589 __libio_codecvt_encoding.
590 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
591 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
592 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
593 * libio/iofwide.c (__libio_codecvt): Remove variable.
594 (_IO_fwide): Do not copy __libio_codecvt.
595 (__libio_codecvt_out): Rename from do_out and export.
596 (do_unshift): Remove function.
597 (__libio_codecvt_in): Rename from do_in and export.
598 (__libio_codecvt_encoding): Rename from do_encoding and export.
599 (do_always_noconv): Remove function.
600 (__libio_codecvt_length): Rename from do_length and export.
601 (do_max_length): Remove function.
602 * libio/libio.h (enum __codecvt_result): Remove definition; moved
603 to libioP.h.
604 (struct _IO_codecvt): Remove fields __codecvt_destr,
605 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
606 __codecvt_do_encoding, __codecvt_do_always_noconv,
607 __codecvt_do_length, __codecvt_do_max_length.
608 * libio/libioP.h (enum __codecvt_result): Define; moved from
609 libio.h.
610 (__libio_codecvt_out, __libio_codecvt_in)
611 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
612 functions.
613 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
614 (_IO_wfile_underflow): Call __libio_codecvt_in.
615 (_IO_wfile_underflow): Likewise.
616 (_IO_wfile_underflow_mmap): Likewise.
617 (_IO_wfile_sync): Call __libio_codecvt_encoding,
618 __libio_codecvt_length.
619 (adjust_wide_data): Call __libio_codecvt_encoding,
620 __libio_codecvt_in.
621 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
622 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
623 __libio_codecvt_length.
624
625 2019-05-20 Florian Weimer <fweimer@redhat.com>
626
627 * support/support.h (support_sbindir_prefix): Declare.
628 (support_install_rootsbindir): Update comment.
629 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
630 * support/support_paths.c (support_sbindir_prefix): Define.
631
632 2019-05-20 Mike Crowe <mac@mcrowe.com>
633
634 * support/timespec.c: Add backslash to correct newline in failure
635 message.
636
637 * support/timespec.h: Correct confusing comment.
638
639 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
640
641 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
642 define.
643 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
644 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
645 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
646 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
647
648 [BZ #24570]
649 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
650 usage.
651
652 2019-05-20 Joseph Myers <joseph@codesourcery.com>
653
654 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
655 (NT_ARM_PACG_KEYS): Likewise.
656
657 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
658
659 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
660 (tcache_put): Remove redundant assert.
661 (tcache_get): Remove redundant asserts.
662 (__libc_malloc): Check tcache count is not zero.
663 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
664
665 2019-05-17 Florian Weimer <fweimer@redhat.com>
666
667 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
668
669 2019-05-16 Joseph Myers <joseph@codesourcery.com>
670
671 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
672 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
673 0x050100].
674 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
675 Likewise.
676 * sysdeps/unix/sysv/linux/sh/kernel-features.h
677 (__ASSUME_STATX): Likewise.
678
679 2019-05-16 Florian Weimer <fweimer@redhat.com>
680
681 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
682 flags argument.
683 (LINE_PARSER): Do not map IPv4 addresses.
684 (internal_nis_gethostent_r): Remove flags argument. Adjust call
685 to parse_line.
686 (_nss_nis_gethostent_r): Always pass AF_INET to
687 internal_nis_gethostent_r.
688 (internal_gethostbyname2_r): Remove flags argument. Adjust call
689 to parse_line.
690 (_nss_nis_gethostbyname2_r): Adjust call to
691 internal_nis_gethostent_r.
692 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
693 call to internal_nis_gethostent_r.
694 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
695 from parse_line.
696 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
697 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
698 Remove flags argument. Do not map IPv4 addresses.
699 (internal_nisplus_gethostent_r): Adjust call to
700 _nss_nisplus_parse_hostent.
701 (internal_gethostbyname2_r): Remove flags argument. Adjust call
702 to _nss_nisplus_parse_hostent.
703 (_nss_nisplus_gethostbyname2_r): Adjust call to
704 internal_gethostbyname2_r.
705 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
706 Adjust call to internal_gethostbyname2_r.
707 (_nss_nisplus_gethostbyaddr_r): Adjust call to
708 _nss_nisplus_parse_hostent.
709 (_nss_nisplus_gethostbyname4_r): Adjust call to
710 internal_gethostbyname2_r.
711
712 2019-05-16 Florian Weimer <fweimer@redhat.com>
713
714 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
715 Remove flags.
716 (LINE_PARSER): Remove address mapping.
717 (EXTRA_ARGS_VALUE): Remove flags argument.
718 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
719 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
720 gethostbyname3_multi.
721 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
722 _nss_files_gethostbyname3_r.
723 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
724
725 2019-05-16 Florian Weimer <fweimer@redhat.com>
726
727 * support/support_test_compare_blob.c (report_blob): Report
728 incorrect NULL blobs.
729
730 2019-05-15 Mark Wielaard <mark@klomp.org>
731
732 [BZ# 24476]
733 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
734 __libc_once_get (once) and static_buf == NULL.
735 (__dlerror): Check we have a valid key, set result to static_buf
736 otherwise.
737
738 2019-05-15 Andreas Schwab <schwab@suse.de>
739
740 [BZ #20568]
741 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
742 __codecvt_do_length.
743 * libio/Makefile (tests): Add tst-wfile-sync.
744 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
745 * libio/tst-wfile-sync.c: New file.
746 * libio/tst-wfile-sync.input: New file.
747
748 2019-05-15 Florian Weimer <fweimer@redhat.com>
749
750 nss: Turn __nss_database_lookup into a compatibility symbol.
751 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
752 __nss_database_lookup.
753 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
754 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
755 __nss_database_lookup.
756 (__nss_next): Move to …
757 * nss/compat-lookup.c (nss_next): … here. Change it to fail
758 unconditionally.
759 (__nss_database_lookup): New function.
760 * nss/Versions (GLIBC_2.0): Update comment.
761 (GLIBC_PRIVATE): Export __nss_database_lookup2.
762 * grp/initgroups.c (internal_getgrouplist): Call
763 __nss_database_lookup2 instead of __nss_database_lookup.
764 * nscd/aicache.c (addhstaiX): Likewise.
765 * nscd/initgrcache.c (addinitgroupsX): Likewise.
766 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
767 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
768 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
769 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
770 Likewise.
771 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
772 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
774
775 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
776
777 * support/support.h (support_install_rootsbindir): New variable.
778 * support/support_paths.c: Likewise.
779 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
780
781 2019-05-15 Florian Weimer <fweimer@redhat.com>
782
783 * iconv/gconv.h (__gconv_transliterate): Move declaration …
784 * iconv/gconv_int.h (__gconv_transliterate): … here.
785 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
786 * iconv/skeleton.c: Likewise.
787
788 2019-05-14 Florian Weimer <fweimer@redhat.com>
789
790 Linux: Add the tgkill function.
791 * bits/signal_ext.h: New file.
792 * manual/signal.texi (Signaling Another Process): Document tgkill.
793 * signal/Makefile (headers): Add bits/signal_ext.h.
794 * signal/signal.h: Include <bits/signal_ext.h>.
795 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
796 (tst-tgkill): Link with libpthread.
797 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
798 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
799 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
800 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
801 tgkill.
802 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
803 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
804 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
805 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
806 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
807 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
808 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
809 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
810 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
811 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
812 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
813 Likewise.
814 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
815 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
816 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
818 Likewise.
819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
820 Likewise.
821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
822 Likewise.
823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
824 Likewise.
825 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
826 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
827 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
828 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
829 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
830 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
831 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
832 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
833
834 2019-05-14 Carlos O'Donell <carlos@redhat.com>
835
836 * manual/search.texi (Tree Search Function): Adjust twalk_r
837 documentation.
838
839 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
840
841 [BZ #24544]
842 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
843 pre-defined value.
844
845 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
846 * support/support.h (support_bindir_prefix): New variable.
847 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
848
849 * config.make.in (bindir): New variable.
850
851 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
852 (lll_trylock): Call __lll_trylock.
853 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
854 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
855 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
856 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
857 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
858 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
859 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
860 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
861 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
862 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
863 lowlevellock-futex.h.
864
865 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
866 initialization for LLL_LOCK_INITIALIZER different than 0.
867 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
868 Assume LLL_LOCK_INITIALIZER being 0.
869 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
870 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
871 Likewise.
872 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
873 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
874
875 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
876 Optimize futex call and add systemtap probe.
877
878 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
879 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
880 __libc_disable_asynccancel, __librt_enable_asynccancel,
881 __libc_disable_asynccancel, __librt_enable_asynccancel,
882 __librt_disable_asynccancel): Move to ...
883 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
884 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
885 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
886 * sysdeps/generic/single-thread.h: New file.
887 * sysdeps/unix/sysdep.h: Include single-thread.h.
888 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
889 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
890
891 2019-05-08 Mike FABIAN <mfabian@redhat.com>
892
893 [BZ #24535]
894 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
895 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
896 Unicode 12.1.0.
897 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
898 * localedata/unicode-gen/PropList.txt: Likewise.
899 * localedata/unicode-gen/UnicodeData.txt: Likewise.
900 * localedata/charmaps/UTF-8: Regenerate.
901 * localedata/locales/i18n_ctype: Likewise.
902 * localedata/locales/tr_TR: Likewise.
903 * localedata/locales/translit_circle: Likewise.
904 * localedata/locales/translit_cjk_compat: Likewise.
905 * localedata/locales/translit_combining: Likewise.
906 * localedata/locales/translit_compat: Likewise.
907 * localedata/locales/translit_font: Likewise.
908 * localedata/locales/translit_fraction: Likewise.
909
910 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
911
912 [BZ #24531]
913 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
914 (do_set_tcache_count): Only update if count is small enough.
915 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
916
917 2019-05-10 Florian Weimer <fweimer@redhat.com>
918
919 * nptl/sem_close.c (struct walk_closure): Define.
920 (walker): Adjust for __twalk_r.
921 (sem_close): Call __twalk_r.
922
923 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
924
925 * support/timespec.c (test_timespec_before_impl,
926 test_timespec_equal_or_after_impl): print timespec member as intmax_t
927 insted of long int.
928
929 2019-05-09 Mike Crowe <mac@mcrowe.com>
930
931 * nptl/tst-abstime.c: Use libsupport.
932
933 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
934 small bug where only tv.tv_usec was checked which could cause an
935 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
936 than a second.
937
938 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
939 libsupport.
940
941 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
942 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
943
944 * nptl/tst-cond11.c: Use libsupport.
945
946 * support/timespec.h: New file. Provide timespec helper functions
947 along with macros in the style of those in check.h.
948 * support/timespec.c: New file. Implement check functions declared
949 in support/timespec.h.
950 * support/timespec-add.c: New file from gnulib containing
951 timespec_add implementation that handles overflow.
952 * support/timespec-sub.c: New file from gnulib containing
953 timespec_sub implementation that handles overflow.
954 * support/README: Mention timespec.h.
955
956 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
957
958 [BZ #24537]
959 * nptl/Makefile: Move tst-eintr1 to xtests.
960
961 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
962
963 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
964 TRUNC handling.
965 (round_mode): Add definition for TRUNC.
966 * sysdeps/powerpc/fpu/s_trunc.c: New file.
967 * sysdeps/powerpc/fpu/s_truncf.c: New file.
968 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
969 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
970 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
971 Likewise.
972 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
973 Likewise.
974 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
975 Likewise.
976 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
977 Likewise.
978 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
979 file.
980 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
981 Likewise.
982 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
983 Likewise.
984 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
985 Likewise.
986 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
987 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
988 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
989 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
990 s_truncf-power5+, and s_truncf-ppc64.
991 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
992 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
993 file.
994 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
996 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
997 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
998 file.
999 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1000 Likewise.
1001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1002 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1003 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1004 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1005 s_truncf-power5+, and s_truncf-ppc64.
1006 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1007 file.
1008 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1009 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1010 Likewise.
1011 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1012 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1013 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1014 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1015 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1016
1017 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1018 ROUND handling.
1019 (round_mode): Add definition for ROUND.
1020 (round_to_integer_float): Likewise.
1021 * sysdeps/powerpc/fpu/s_round.c: New file.
1022 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1023 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1024 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1025 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1026 Likewise.
1027 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1028 Likewise.
1029 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1030 Likewise.
1031 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1032 Likewise.
1033 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1034 file.
1035 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1036 Likewise.
1037 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1038 Likewise.
1039 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1040 Likewise.
1041 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1042 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1043 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1044 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1045 s_roundf-power5+, and s_roundf-ppc64.
1046 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1047 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1048 file.
1049 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1051 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1052 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1053 file.
1054 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1055 Likewise.
1056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1057 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1059 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1060 s_roundf-power5+, and s_roundf-ppc64.
1061 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1062 file.
1063 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1064 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1065 Likewise.
1066 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1067 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1068 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1069 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1070 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1071
1072 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1073 Add FLOOR option.
1074 (round_mode): Add definition for FLOOR.
1075 * sysdeps/powerpc/fpu/s_floor.c: New file.
1076 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1077 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1078 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1080 Remove file.
1081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1082 Likewise
1083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1084 Likewise.
1085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1086 Likewise.
1087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1088 New file.
1089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1090 Likewise.
1091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1092 Likewise.
1093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1094 Likewise.
1095 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1096 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1097 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1098 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1099 s_floorf-power5+, and s_floorf-ppc64.
1100 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1101 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1102 file.
1103 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1105 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1106 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1107 file.
1108 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1109 Likewise.
1110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1111 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1112 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1113 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1114 s_floorf-power5+, and s_floorf-ppc64.
1115 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1116 file.
1117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1118 file.
1119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1120 Likewise.
1121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1122 Likewise.
1123 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1124 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1125 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1126 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1127
1128 2019-05-08 Mike Crowe <mac@mcrowe.com>
1129
1130 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1131 clock_gettime wrapper for use in tests that fails the test rather
1132 than returning failure.
1133
1134 * support/xtime.h: New file to declare xclock_gettime.
1135
1136 * support/Makefile: Add xclock_gettime.c.
1137
1138 * support/README: Mention xtime.h.
1139
1140 2019-05-08 Florian Weimer <fweimer@redhat.com>
1141
1142 malloc/tst-mallocfork2: Use process-shared barriers.
1143 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1144 (signal_count, sigusr1_sender_pid): Remove.
1145 (iterations): Define constant.
1146 (shared): New variable.
1147 (sigusr1_received): Update comment.
1148 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1149 (signal_sender): Optional use barriers to avoid sending signals
1150 during irrelevant times.
1151 (do_it): Initialize variable shared. Use xfork for error
1152 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1153 the iteration count, independent of signal delivery. Check for
1154 deadlocks in fork. Introduce barriers for reducing signal
1155 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1156 replaced by the barriers. Count signals during fork/free/malloc
1157 and report them.
1158 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1159
1160 2019-05-07 Joseph Myers <joseph@codesourcery.com>
1161
1162 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1163 version to 5.1.
1164 (clock_adjtime64) New syscall.
1165 (clock_getres_time64) Likewise.
1166 (clock_gettime64) Likewise.
1167 (clock_nanosleep_time64) Likewise.
1168 (clock_settime64) Likewise.
1169 (futex_time64) Likewise.
1170 (io_pgetevents_time64) Likewise.
1171 (io_uring_enter) Likewise.
1172 (io_uring_register) Likewise.
1173 (io_uring_setup) Likewise.
1174 (mq_timedreceive_time64) Likewise.
1175 (mq_timedsend_time64) Likewise.
1176 (pidfd_send_signal) Likewise.
1177 (ppoll_time64) Likewise.
1178 (pselect6_time64) Likewise.
1179 (recvmmsg_time64) Likewise.
1180 (rt_sigtimedwait_time64) Likewise.
1181 (sched_rr_get_interval_time64) Likewise.
1182 (semtimedop_time64) Likewise.
1183 (timer_gettime64) Likewise.
1184 (timer_settime64) Likewise.
1185 (timerfd_gettime64) Likewise.
1186 (timerfd_settime64) Likewise.
1187 (utimensat_time64) Likewise.
1188
1189 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1190 version to 9 branch.
1191
1192 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1193
1194 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1195 __memmove_thunderx2 to the list of implementations
1196 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1197 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1198 (__memmove_thunderx2): Rewritten using SIMD ld/st
1199 (__memcpy_thunderx2): Fixed handling overlapping cases.
1200 Used ldp/stp instead of ldr/str if possible. Made loops
1201 tails branchless.
1202
1203 2019-05-03 Florian Weimer <fweimer@redhat.com>
1204
1205 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1206
1207 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1208
1209 [BZ #24506]
1210 * elf/tst-pldd.c (in_str_list): New function.
1211 (do_test): Add default names for ld and libc as one option.
1212
1213 2019-05-02 Florian Weimer <fweimer@redhat.com>
1214
1215 misc: Add twalk_r function.
1216 * include/search.h (__twalk_r): Declare.
1217 * manual/examples/twalk.c: New file.
1218 * manual/search.texi (Tree Search Function): Document twalk_r.
1219 * misc/Versions (2.30): Export twalk_r.
1220 (GLIBC_PRIVATE): Export __twalk_r.
1221 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1222 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1223 (twalk_r): Add weak alias.
1224 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1225 (walk_trace): New variable.
1226 (struct twalk_with_twalk_r_closure): Define.
1227 (twalk_with_twalk_r_action): New function.
1228 (twalk_with_twalk_r): Likewise.
1229 (walk_action): Call walk_trace_add.
1230 (walk_tree_with): Rename from walk_tree. Add walk argument.
1231 (walk_tree): New function.
1232 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1233 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1234 Likewise.
1235 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1236 Likewise.
1237 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1238 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1239 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1240 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1241 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1242 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1243 Likewise.
1244 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1245 Likewise.
1246 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1247 Likewise.
1248 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1249 (GLIBC_2.30): Likewise.
1250 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1251 (GLIBC_2.30): Likewise.
1252 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1253 (GLIBC_2.30): Likewise.
1254 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1255 (GLIBC_2.30): Likewise.
1256 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1257 Likewise.
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1259 (GLIBC_2.30): Likewise.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1261 (GLIBC_2.30): Likewise.
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1263 (GLIBC_2.30): Likewise.
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1265 (GLIBC_2.30): Likewise.
1266 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1267 Likewise.
1268 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1269 Likewise.
1270 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1271 Likewise.
1272 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1273 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1274 Likewise.
1275 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1276 Likewise.
1277 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1278 Likewise.
1279 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1280 Likewise.
1281
1282 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1283
1284 Make mktime etc. compatible with __time64_t
1285 Keep these functions compatible with Gnulib while adding
1286 __time64_t support. The basic idea is to move private API
1287 declarations from include/time.h to time/mktime-internal.h, since
1288 the former file cannot easily be shared with Gnulib whereas the
1289 latter can.
1290 Also, do some other minor cleanup while in the neighborhood.
1291 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1292 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1293 since Gnulib needs it.
1294 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1295 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1296 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1297 (in_time_t_range): New static function.
1298 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1299 so that glibc users are not tempted to use __time64_t.
1300 * time/mktime-internal.h: Rewrite so that it does both glibc
1301 and Gnulib work. Include time.h if not _LIBC.
1302 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1303 (__time64_t): New type or macro, moved here from
1304 posix/bits/types.h.
1305 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1306 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1307 from include/time.h.
1308 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1309 New macros, taken from GNulib.
1310 (__mktime_internal): New prototype, moved here from include/time.h.
1311 * time/mktime.c (mktime_min, mktime_max, convert_time)
1312 (ranged_convert, __mktime_internal, __mktime64):
1313 * time/timegm.c (__timegm64):
1314 Use __time64_t, not time_t.
1315 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1316 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1317 Rename from mktime.
1318 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1319 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1320 for libc_hidden_def.
1321 Include errno.h.
1322 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1323 Rename from timegm.
1324 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1325
1326 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
1327
1328 [BZ #19444]
1329 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1330 from `-Wmaybe-uninitialized'.
1331 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1332
1333 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1334
1335 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1336 function.
1337 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1338 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1339 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1340 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1341 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1343 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1345 Remove file.
1346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1347 Likewise.
1348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1349 Likewise.
1350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1351 Likewise.
1352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1353 New file.
1354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1355 Likewise.
1356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1357 Likewise.
1358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1359 Likewise.
1360 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1361 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1362 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1363 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1364 Likewise.
1365 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1366 Likewise.
1367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1368 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1369 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1370 file.
1371 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1372 Likewise.
1373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1374 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1375 * here.
1376 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1377 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1378 s_ceilf-power5+, and s_ceilf-ppc64.
1379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1380 file.
1381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1384 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1385 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1386 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1387 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1388
1389 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1390 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1391 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1392
1393 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1394
1395 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1396 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1397 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1398 (sem_getvalue): Likewise.
1399
1400 2019-04-26 Florian Weimer <fweimer@redhat.com>
1401
1402 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1403 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1404
1405 2019-04-26 Florian Weimer <fweimer@redhat.com>
1406
1407 Makeconfig: Move -Wl,-rpath-link options before library references.
1408 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1409 (link-libc): Remove $(link-libc-rpath-link).
1410
1411 2019-04-25 Florian Weimer <fweimer@redhat.com>
1412
1413 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1414 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1415 (+link-static-before-libc): Remove $(CC).
1416 (+link-static, +link-static-tests): Add $(CC).
1417 (+link-before-libc): Remove $(CC).
1418 (+link, +link-pie, +link-pie-printers): Add $(CC).
1419
1420 2019-04-26 Florian Weimer <fweimer@redhat.com>
1421
1422 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1423 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1424 (+link-static-before-libc): Remove $(CC).
1425 (+link-static, +link-static-tests): Add $(CC).
1426 (+link-before-libc): Remove $(CC).
1427 (+link, +link-pie, +link-pie-printers): Add $(CC).
1428
1429 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1430
1431 [BZ#24484]
1432 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1433
1434 2019-04-25 Florian Weimer <fweimer@redhat.com>
1435
1436 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1437 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1438 (bench-link-targets): New variable.
1439 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1440
1441 2019-04-25 Florian Weimer <fweimer@redhat.com>
1442
1443 Also enable BIND_NOW for programs if --enable-bind-now.
1444 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1445 (+link-pie): Use $(link-extra-flags).
1446 (+link-static): Likewise.
1447 [! $(build-pie-default)] (+link): Likewise.
1448 * manual/install.texi (Configuring and compiling): Update
1449 --enable-bind-now description.
1450 * INSTALL: Regenerated.
1451
1452 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1453
1454 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1455 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1456
1457 2019-04-24 Mike Frysinger <vapier@gentoo.org>
1458
1459 [BZ #18465]
1460 * malloc/Makefile (others): Add memusagestat.
1461 ($(objpfx)memusagestat): Delete rule.
1462 (LDLIBS-memusagestat): New variable.
1463
1464 2019-04-24 Florian Weimer <fweimer@redhat.com>
1465
1466 * locale/Makefile (tests-special): Guard setting by
1467 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1468 to run while cross-compiling.
1469
1470 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1471
1472 [BZ #18035]
1473 * elf/Makefile (tests-container): Add tst-pldd.
1474 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1475 (E(find_maps)): Avoid use alloca, use default read file operations
1476 instead of explicit LFS names, and fix infinite loop.
1477 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1478 (get_process_info): Use _Static_assert instead of assert, use default
1479 directory operations instead of explicit LFS names, and free some
1480 leadek pointers.
1481 * elf/tst-pldd.c: New file.
1482
1483 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1484
1485 * malloc/arena.c (do_set_mallopt_check): Removed.
1486
1487 2019-04-23 Florian Weimer <fweimer@redhat.com>
1488
1489 locale: Add LOCPATH diagnostics to the locale program.
1490 * locale/programs/locale.c (setlocale_failed): New variable.
1491 (try_setlocale): New function.
1492 (quote_string): Likewise.
1493 (setlocale_diagnostics): Likewise.
1494 (main): Call try_setlocale instead of setlocale. Call
1495 setlocale_diagnostics.
1496 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1497 (tst-locale-locpath.out): New target.
1498 * locale/tst-locale-locpath.sh: New file.
1499
1500 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1501
1502 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1503 to 2.30 notes.
1504
1505 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1506
1507 [BZ #23741]
1508 * malloc/hooks.c (malloc_check, realloc_check): Use
1509 __builtin_add_overflow on overflow check and adapt to
1510 checked_request2size change.
1511 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1512 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1513 allocation size to PTRDIFF_MAX.
1514 (REQUEST_OUT_OF_RANGE): Remove macro.
1515 (checked_request2size): Change to inline function and limit maximum
1516 requested size to PTRDIFF_MAX.
1517 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1518 maximum allocation size to PTRDIFF_MAX.
1519 (_mid_memalign): Use _int_memalign call for overflow check.
1520 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1521 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1522 limit maximum requested size to PTRDIFF_MAX.
1523 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1524 valloc, pvalloc): Add __attribute_alloc_size__.
1525 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1526 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1527 larger than PTRDIFF_MAX.
1528 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1529 around tests of malloc with negative sizes.
1530 * malloc/tst-posix_memalign.c (do_test): Likewise.
1531 * malloc/tst-pvalloc.c (do_test): Likewise.
1532 * malloc/tst-valloc.c (do_test): Likewise.
1533 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1534 with resulting size allocation larger than PTRDIFF_MAX with
1535 reallocarray_nowarn.
1536 (reallocarray_nowarn): New function.
1537 * NEWS: Mention the malloc function semantic change.
1538
1539 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1540
1541 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1542 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1543
1544 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1545 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1546 * sysdeps/powerpc/fpu/s_fma.c: New file.
1547 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1548
1549 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1550 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1551
1552 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1553 the magic flag store.
1554 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1555 Likewise.
1556 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1557 Likewise.
1558 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1559 Remove rt_sigreturn call.
1560
1561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1562 Remove rt_sigreturn call.
1563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1564 Likewise.
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1567
1568 * support/Makefile (libsupport-routines): Add support_subprocess,
1569 xposix_spawn, xposix_spawn_file_actions_addclose, and
1570 xposix_spawn_file_actions_adddup2.
1571 (tst-support_capture_subprocess-ARGS): New rule.
1572 * support/capture_subprocess.h (support_capture_subprogram): New
1573 prototype.
1574 * support/support_capture_subprocess.c (support_capture_subprocess):
1575 Refactor to use support_subprocess and support_capture_poll.
1576 (support_capture_subprogram): New function.
1577 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1578 str_to_write_mode, test_common, parse_int, handle_restart,
1579 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1580 (do_test): Add support_capture_subprogram tests.
1581 * support/subprocess.h: New file.
1582 * support/support_subprocess.c: Likewise.
1583 * support/xposix_spawn.c: Likewise.
1584 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1585 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1586 * support/xspawn.h: Likewise.
1587
1588 2019-04-17 Mike Gerow <gerow@google.com>
1589
1590 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1591 groups limit.
1592
1593 2019-04-11 Florian Weimer <fweimer@redhat.com>
1594
1595 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1596 domain with empty string.
1597 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1598
1599 2019-04-11 Florian Weimer <fweimer@redhat.com>
1600
1601 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1602 comment.
1603 (alloc_buffer_next): Change return type to non-const. Update
1604 comment.
1605
1606 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1607
1608 * manual/time.texi (Formatting Calendar Time): Add missing percent
1609 sign to conversion specifier.
1610
1611 2019-04-09 Carlos O'Donell <carlos@redhat.com>
1612 Kwok Cheung Yeung <kcy@codesourcery.com>
1613
1614 [BZ #16573]
1615 * malloc/mtrace.c: Define prototypes for all hooks.
1616 (set_default_hooks): New function.
1617 (set_trace_hooks): Likewise.
1618 (save_default_hooks): Likewise.
1619 (tr_freehook): Use new s*_hooks functions.
1620 (tr_mallochook): Likewise.
1621 (tr_reallochook): Likewise.
1622 (tr_memalignhook): Likewise.
1623 (mtrace): Likewise.
1624 (muntrace): Likewise.
1625
1626 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1627
1628 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1629 (generic_stpcpy): New function.
1630 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1631 (generic_stpncpy): New function.
1632 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1633 (generic_strcat): New function.
1634 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1635 (generic_strcpy): New function.
1636 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1637 (STUPID_STRNCAT): Remove function.
1638 (generic_strncat): New function.
1639 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1640 (STUPID_STRNCPY): Remove function.
1641 (generic_strncpy): New function.
1642 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1643 (generic_strnlen): New function.
1644 (memchr_strnlen): New function.
1645 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1646 (memchr_strlen): Likewise.
1647
1648 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1649
1650 * benchtests/bench-strstr.c (input): Add realistic input text.
1651 (stupid_strstr): Remove function.
1652 (basic_strstr): Add function.
1653 (twoway_strstr): Add function.
1654 (do_one_test): Add result checking.
1655 (do_test): Use new input text. Remove accidental early matches.
1656 (test_main): Improve range of tests, reduce unaligned cases.
1657
1658 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1659
1660 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1661 (basic_memmem): Add function.
1662 (twoway_memmem): Add function.
1663
1664 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1665
1666 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1667 * benchtests/bench-malloc-thread.c: Likewise.
1668 * benchtests/bench-skeleton.c: Likewise.
1669 * benchtests/bench-strtod.c: Likewise.
1670 * benchtests/bench-timing.h: Likewise.
1671
1672 2019-04-08 Florian Weimer <fweimer@redhat.com>
1673
1674 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1675 definitions.
1676 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1677 RES_INSECURE2 security checks.
1678 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1679 RES_INSECURE2 handling.
1680
1681 2019-04-08 Florian Weimer <fweimer@redhat.com>
1682
1683 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1684 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1685 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1686 GETHOSTBYNAME.
1687 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1688 (tests-internal): Update justification for tst-resolv-res_init,
1689 tst-resolv-res_init-thread.
1690 (tst-res_use_inet6): Remove target.
1691 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1692 * resolv/res_debug.c (p_option): Remove "inet6" support.
1693 * resolv/res_init.c (res_setoptions): Likewise.
1694 * resolv/res_use_inet6.h: Remove file.
1695 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1696 definition.
1697 (res_use_inet6): Always return false.
1698 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1699 * resolv/resolv_context.h: Adjust file comment.
1700 (struct resolv_context): Update comment on __next field.
1701 (__resolv_context_put): Update comment.
1702 * resolv/tst-res_use_inet6.c: Remove file.
1703 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1704 "inet6" support.
1705 (test_cases): Adjust test case.
1706 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1707 (thread_byname2_af_inet6): Use old byname_inet6 code.
1708 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1709 (gai): Remove do_inet6 argument.
1710 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1711 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1712 (thread_gai_unspec_inet6): Remove functions.
1713 (do_test): Adjust thread_funcs.
1714 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1715 RES_USE_INET6 flag.
1716 (gaih_inet): Do not disable RES_USE_INET6 flag.
1717
1718 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1719
1720 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1721 and remove redundant code.
1722
1723 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1724
1725 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1726 New rule.
1727 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1728 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1729 Likewise.
1730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1731 Likewise.
1732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1733 Likewise.
1734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1735 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1736 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1737 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1738 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1739 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1741 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1742 wcsrchr-power7.
1743 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1745 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1746 Remove wcsrchr optimizations.
1747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1748
1749 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1750 the loop unroll.
1751
1752 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1753 New rule.
1754 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1755 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1756 Likewise.
1757 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1758 Likewise.
1759 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1760 Likewise.
1761 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1762 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1763 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1764 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1765 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1766 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1768 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1769 wcschr-power7.
1770 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1773 Remove wcschr optimizations.
1774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1775
1776 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1777 the loop unroll.
1778
1779 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1780 New rule.
1781 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1782 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1783 Likewise.
1784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1785 Likewise.
1786 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1787 Likewise.
1788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1789 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1790 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1791 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1792 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1793 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1794 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1795 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1796 wcscpy-power7.
1797 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1800 Remove wcscpy optimizations.
1801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1802
1803 * include/loop_unroll.h: New file.
1804 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1805 besides generic implementation.
1806
1807 2019-04-03 DJ Delorie <dj@redhat.com>
1808
1809 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1810 snprintf truncating output.
1811
1812 2019-04-02 DJ Delorie <dj@redhat.com>
1813
1814 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1815 warning.
1816
1817 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1818
1819 [BZ #22964]
1820 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1821 era.
1822 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1823 (mkreftable): Add rules for the new Japanese era and the new dates.
1824
1825 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1826 Rafal Luzynski <digitalfreak@lingonborough.com>
1827
1828 * time/tst-strftime2.c (date_t): Explicitly define the type.
1829 (dates): Use natural month and year numbers to express a date.
1830 (is_before): New function to compare dates.
1831 (mkreftable): Minor improvements to simplify maintenance.
1832 (do_test): Reflect the changes in dates array.
1833
1834 [BZ #24293]
1835 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1836 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1837 * time/tst-strftime2.c (locales): Likewise.
1838 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1839 2010-04-01, and 2011-04-01.
1840 (mkreftable): Add rules for the new locales and the new dates.
1841
1842 2019-04-01 Carlos O'Donell <carlos@redhat.com>
1843
1844 * localedata/locales/ja_JP: Add comments to era entries.
1845
1846 2019-04-01 DJ Delorie <dj@redhat.com>
1847
1848 [BZ #24394]
1849 * time/strptime_l.c (%Ey): Fix fencepost error.
1850 * time/tst-strftime3.c: New.
1851 * time/Makefile (tests): Add tst-strftime3.
1852
1853 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
1854
1855 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1856 conditional branch to DIVBYZERO. Fix unwind info.
1857 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1858 excb after conditional branch to $powerof2. Add missing unop
1859 instructions and .align directives and reorder instructions to
1860 match __divqu.
1861
1862 2019-04-01 Richard Henderson <rth@twiddle.net>
1863
1864 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1865 Do not redefine.
1866 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1867 Do not redefine.
1868
1869 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
1870
1871 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1872 $libc_cv_riscv_float_abi in `test' invocation.
1873 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1874
1875 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
1876
1877 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1878 asm with builtin.
1879 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1880 Likewise.
1881 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1882 (_GET_SI_FPSCR): Likewise.
1883 (_SET_SI_FPSCR): Likewise.
1884
1885 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1886
1887 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1888 clang 2.8.
1889 (signbit): Use builtin for clang 3.3.
1890 (isinf): Use builtin for clang 3.7.
1891
1892 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1893
1894 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1895
1896 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1897
1898 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1899 quote in printf.
1900
1901 2019-03-25 Mike Crowe <mac@mcrowe.com>
1902
1903 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1904 pthread_rwlock_timedrdlock with calls to
1905 pthread_rwlock_timedwrlock to ensure that the latter is tested
1906 too. Use new function name in diagnostic messages too.
1907
1908 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1909 (do_test) Use libsupport test macros rather than hand-coded
1910 conditionals and error messages. Ensure that sem_init returns zero
1911 rather than not -1. Use <support/test-driver.c> rather than
1912 test-skeleton.c.
1913
1914 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1915 test macros rather than hand-coded conditionals and error messages.
1916 Use <support/test-driver.c> rather than test-skeleton.c.
1917
1918 2019-03-25 Joseph Myers <joseph@codesourcery.com>
1919
1920 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1921
1922 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1923 (NT_MIPS_MSA): Likewise.
1924
1925 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1926
1927 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1928 * benchtests/README: Update description.
1929 * benchtests/bench-timing.h: Default to hp-timing.
1930 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1931 HP_TIMING_PRINT): Remove.
1932 (HP_TIMING_NOW): Add generic implementation.
1933 (hp_timing_t): Change to uint64_t.
1934
1935 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1936 HP_TIMING_INLINE.
1937 * nptl/descr.h: Likewise.
1938 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1939 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1940 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1941 Abstract hp-timing usage with RTLD_* macros.
1942 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1943 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1944 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1945 HP_TIMING_NONAVAIL): Likewise.
1946 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1947 Likewise.
1948 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1949 HP_SMALL_TIMING_AVAIL): Likewise.
1950 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1951 HP_SMALL_TIMING_AVAIL): Likewise.
1952 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1953 HP_SMALL_TIMING_AVAIL): Likewise.
1954 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1955 HP_SMALL_TIMING_AVAIL): Likewise.
1956 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1957 Likewise.
1958 * sysdeps/generic/hp-timing-common.h: Update comment with
1959 HP_TIMING_AVAIL removal.
1960
1961 * include/random-bits.h: New file.
1962 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1963 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1964 random_bits.
1965 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1966 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1967 Likewise.
1968
1969 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1970 * rt/Makefile (clock-routines): Remove get_clockfreq.
1971 * rt/get_clockfreq.c: Remove file.
1972 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1973 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1974 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1975 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1976 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1977
1978 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1979 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1980 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1981 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1982 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1983
1984 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1985 pthread_clock_settime.
1986 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1987 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1988 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1989 * elf/rtld.c (_dl_start_final): Likewise.
1990 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1991 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1992 Remove.
1993 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1994 (_dl_cpuclock_offset): Remove.
1995 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1996 cpuclock_offset_ununsed.
1997 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1998 cpuclock_offset set.
1999 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2000 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2001 * nptl/pthread_clock_gettime.c: Remove file.
2002 * nptl/pthread_clock_settime.c: Likewise.
2003 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2004 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2005 and CLOCK_PROCESS_CPUTIME_ID support.
2006 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2007 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2008 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2009 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2010 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2011 Likewise.
2012 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2013
2014 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2015
2016 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2017 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2018 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2019 New defines.
2020 * sysdeps/s390/memmem-arch13.S: New file.
2021 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2022 if it is only used as fallback.
2023 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2024 * sysdeps/s390/multiarch/ifunc-impl-list.c
2025 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2026
2027 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2028
2029 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2030 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2031 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2032 New defines.
2033 * sysdeps/s390/multiarch/ifunc-impl-list.c
2034 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2035 * sysdeps/s390/strstr-arch13.S: New file.
2036 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2037 if it is only used as fallback.
2038 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2039
2040 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2041
2042 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2043 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2044 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2045 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2046 ifunc selector.
2047 * sysdeps/s390/multiarch/ifunc-impl-list.c
2048 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2049 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2050 S390_IS_ARCH13_MIE3): New defines.
2051
2052 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2053
2054 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2055 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2056 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2057 * sysdeps/s390/configure: Regenerated.
2058
2059 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2060
2061 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2062 Add vxe2, vxp, dflt, sort flags.
2063 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2064 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2065 capabilities.
2066 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2067 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2068 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2069 HWCAP_S390_DFLT): Define.
2070
2071 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2072
2073 [BZ #24372]
2074 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2075 of compiler warning.
2076 * locale/programs/ld-collate.c (collate_output): Likewise.
2077
2078 2019-03-21 DJ Delorie <dj@redhat.com>
2079
2080 [BZ #24372]
2081 * iconv/iconvconfig.c (write_output): Replace floating point math
2082 with integer math to avoid imprecise results.
2083 * locale/programs/ld-collate.c (collate_output): Likewise.
2084
2085 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
2086
2087 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2088 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2089
2090 2019-03-20 mansayk <6688000@gmail.com>
2091
2092 [BZ #24296]
2093 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2094 (abday): Likewise, but remove the trailing dots.
2095
2096 2019-03-19 Joseph Myers <joseph@codesourcery.com>
2097
2098 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2099 macro.
2100 (HWCAP_PACA): Likewise.
2101 (HWCAP_PACG): Likewise.
2102 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2103 Increase to 32.
2104 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2105
2106 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2107
2108 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2109 should be handled.
2110
2111 2019-03-15 Joseph Myers <joseph@codesourcery.com>
2112
2113 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2114 version to 5.0.
2115 (old_getpagesize): New syscall.
2116
2117 2019-03-15 Felix Yan <felixonmars@archlinux.org>
2118
2119 [BZ #24293]
2120 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2121 * localedata/locales/cmn_TW (era): Likewise.
2122 * localedata/locales/hak_TW (era): Likewise.
2123 * localedata/locales/lzh_TW (era): Likewise.
2124 * localedata/locales/nan_TW (era): Likewise.
2125
2126 2019-03-14 Adam Maris <amaris@redhat.com>
2127
2128 * malloc/malloc.c (_int_malloc): Check for large bin list
2129 corruption when inserting unsorted chunk.
2130
2131 2019-03-14 Florian Weimer <fweimer@redhat.com>
2132
2133 Remove obsolete, never-implemented XSI STREAMS declarations.
2134 * manual/terminal.texi (Allocation): Remove portability note and
2135 adjust example.
2136 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2137 _SC_STREAMS.
2138 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2139 * sysdeps/unix/inet/Subdirs (streams): Remove.
2140 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2141 (conformtest-headers-UNIX98): Likewise.
2142 (conformtest-headers-XOPEN2K): Likewise.
2143 (conformtest-headers-POSIX2008): Likewise.
2144 * posix/compat-streams.c: New file.
2145 * posix/Makefile (routines): Add it.
2146 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2147 getpmsg, isastream, putmsg, putpmsg.
2148 (GLIBC_2.30): New section.
2149 * bits/stropts.h: Remove file.
2150 * bits/xtitypes.h: Likewise.
2151 * conform/data/stropts.h-data: Likewise.
2152 * include/stropts.h: Likewise.
2153 * include/sys/stropts.h: Likewise.
2154 * include/xtitypes.h: Likewise.
2155 * streams/Makefile: Likewise.
2156 * streams/fattach.c: Likewise.
2157 * streams/fdetach.c: Likewise.
2158 * streams/getmsg.c: Likewise.
2159 * streams/getpmsg.c: Likewise.
2160 * streams/isastream.c: Likewise.
2161 * streams/putmsg.c: Likewise.
2162 * streams/putpmsg.c: Likewise.
2163 * streams/stropts.h: Likewise.
2164 * streams/sys/stropts.h: Likewise.
2165 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2166 * sysdeps/s390/bits/xtitypes.h: Likewise.
2167 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2168 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2169 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2170 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2171 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2172 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2173 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2174 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2175 * sysdeps/x86/bits/xtitypes.h: Likewise.
2176
2177 2019-03-14 Florian Weimer <fweimer@redhat.com>
2178
2179 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2180 libnss_files.
2181 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2182 but not with libnss_files.
2183 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2184
2185 2019-03-14 Zack Weinberg <zackw@panix.com>
2186
2187 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2188 Specify encoding="utf-8" when opening headers to check.
2189
2190 2019-03-13 Joseph Myers <joseph@codesourcery.com>
2191
2192 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2193 version to 5.0.
2194 (Context.checkout_tar): Handle variable major version for Linux
2195 kernel.
2196
2197 2019-03-13 Florian Weimer <fweimer@redhat.com>
2198
2199 [BZ #24047]
2200 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2201
2202 2019-03-13 Zack Weinberg <zackw@panix.com>
2203
2204 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2205 Move to stdlib.
2206 * include/inttypes.h: Adjust to match.
2207 * include/stdint.h: New wrapper.
2208
2209 2019-03-13 Zack Weinberg <zackw@panix.com>
2210
2211 * scripts/check-obsolete-constructs.py: New test script.
2212 * scripts/check-installed-headers.sh: Remove tests for
2213 obsolete typedefs, superseded by check-obsolete-constructs.py.
2214 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2215 as a special test. Update commentary.
2216 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2217 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2218 Update commentary.
2219 * posix/sys/types.h (__u_intN_t): Remove.
2220 (u_int8_t): Typedef using __uint8_t.
2221 (u_int16_t): Typedef using __uint16_t.
2222 (u_int32_t): Typedef using __uint32_t.
2223 (u_int64_t): Typedef using __uint64_t.
2224
2225 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
2226
2227 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2228 call _dl_procinfo.
2229 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2230 Ignore types other than AT_HWCAP.
2231 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2232 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2233 Likewise.
2234 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2235 in the case of falling back to generic output mechanism.
2236 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2237 Likewise.
2238
2239 2019-03-12 Florian Weimer <fweimer@redhat.com>
2240
2241 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2242
2243 2019-03-12 Florian Weimer <fweimer@redhat.com>
2244
2245 [BZ #24047]
2246 resolv: Enable full ICMP errors for UDP DNS sockets
2247 * resolv/res_enable_icmp.c: New file.
2248 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2249 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2250 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2251 socket.
2252
2253 2019-03-11 Mao Han <han_mao@c-sky.com>
2254
2255 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2256 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2257
2258 2019-03-11 Mao Han <han_mao@c-sky.com>
2259
2260 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2261 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2262 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2263
2264 2019-03-11 Mao Han <han_mao@c-sky.com>
2265
2266 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2267 directly.
2268 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2269 definition.
2270
2271 2019-03-11 Mao Han <han_mao@c-sky.com>
2272
2273 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2274 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2275 in mcontext_t
2276
2277 2019-03-08 Mike FABIAN <mfabian@redhat.com>
2278
2279 [BZ #24307]
2280 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2281 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2282 Unicode 12.0.0.
2283 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2284 * localedata/unicode-gen/PropList.txt: Likewise.
2285 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2286 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2287 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2288 * localedata/charmaps/UTF-8: Regenerate.
2289 * localedata/locales/i18n_ctype: Likewise.
2290 * localedata/locales/tr_TR: Likewise.
2291 * localedata/locales/translit_circle: Likewise.
2292 * localedata/locales/translit_cjk_compat: Likewise.
2293 * localedata/locales/translit_combining: Likewise.
2294 * localedata/locales/translit_compat: Likewise.
2295 * localedata/locales/translit_font: Likewise.
2296 * localedata/locales/translit_fraction: Likewise.
2297
2298 2019-03-07 Joseph Myers <joseph@codesourcery.com>
2299
2300 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2301 than after operators.
2302 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2303 (setitimer_locked): Likewise.
2304 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2305 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2306 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2307 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2308 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2309 (PPC_CPU_SUPPORTED): Likewise.
2310 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2311 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2312 (stat_overflow): Likewise.
2313 (statfs_overflow): Likewise.
2314 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2315 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2316 (eq_ttyname_r): Likewise.
2317 (run_chroot_tests): Likewise.
2318
2319 2019-03-07 Florian Weimer <fweimer@redhat.com>
2320
2321 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2322 header check.
2323
2324 2019-03-07 Martin Liska <mliska@suse.cz>
2325
2326 * math/Makefile: Change location where math-vector-fortran.h is
2327 installed.
2328 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2329 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2330 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2331 * scripts/check-installed-headers.sh: Skip Fortran header files.
2332 * scripts/check-wrapper-headers.py: Likewise.
2333
2334 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2335
2336 * nptl/nptl-init.c (__have_futex_clock_realtime,
2337 __have_futex_clock_realtime): Remove definition.
2338 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2339 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2340 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2341 __ASSUME_FUTEX_CLOCK_REALTIME support.
2342 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2343 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2344 * sysdeps/unix/sysv/linux/kernel-features.h
2345 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2346 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2347 Adjust comment.
2348
2349 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2350
2351 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2352 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2353 __GI___wcscpy and wcscpy.
2354
2355 2019-03-04 Florian Weimer <fweimer@redhat.com>
2356
2357 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2358 declaration.
2359 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2360 defined.
2361
2362 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
2363
2364 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2365 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2366
2367 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2368
2369 [BZ #24162]
2370 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2371 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2372
2373 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2374
2375 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2376 tests.
2377 (do_test): Likewise.
2378 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2379 (do_test_call_varg): Likewise.
2380 (do_test_call_rarg): Likewise.
2381 * sysdeps/ieee754/ldbl-opt/Makefile
2382 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2383 tst-nldbl-error.
2384 ($(objpfx)tst-nldbl-warn.c): New rule.
2385 ($(objpfx)tst-nldbl-error.c): Likewise.
2386 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2387 New variables.
2388
2389 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2390
2391 [BZ #23984]
2392 * include/bits/error-ldbl.h: New file.
2393 * include/error.h: Include stdarg.h. Declare internal functions
2394 __error_internal and __error_at_line_internal.
2395 * misc/Makefile (headers): Add bits/error-ldbl.h.
2396 * misc/bits/error-ldbl.h: New file.
2397 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2398 avoid the inclusion of bits/error.h.
2399 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2400 and __nldbl_error_at_line.
2401 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2402 (__nldbl_error, __ndlbl_error_at_line): New functions.
2403 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2404 Redirect error and error_at_line.
2405 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2407 Likewise.
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2409 Likewise.
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2411 Likewise.
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2413 Likewise.
2414 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2415 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2416 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2417
2418 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2419
2420 [BZ #23984]
2421 * include/bits/err-ldbl.h: New file.
2422 * include/err.h: Add prototypes for the internal functions:
2423 __vwarnx_internal and __vwarn_internal.
2424 * misc/Makefile (headers): Add bits/err-ldbl.h.
2425 * misc/bits/err-ldbl.h: New file.
2426 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2427 defined, i.e.: when -mlong-double-64 is in use.
2428 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2429 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2430 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2431 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2432 (VA_CALL): New macro.
2433 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2434 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2435 functions.
2436 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2437 declare prototypes for the new functions.
2438 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2440 Likewise.
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2442 Likewise.
2443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2444 Likewise.
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2446 Likewise.
2447 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2448 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2449 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2450
2451 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2452
2453 * sysdeps/ieee754/ldbl-opt/Makefile
2454 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2455 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2456 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2457
2458 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2459
2460 [BZ #23983]
2461 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2462 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2463 * argp/bits/argp-ldbl.h: New file.
2464 * include/argp.h: Include stdarg.h. Add prototypes for internal
2465 functions: __argp_error_internal and __argp_failure_internal.
2466 * include/bits/argp-ldbl.h: New file.
2467 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2468 __nldbl_argp_error and __nldbl_argp_failure.
2469 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2470 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2471 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2472 Redirect argp_error and argp_failure calls.
2473 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2475 Likewise.
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2477 Likewise.
2478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2479 Likewise.
2480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2481 Likewise.
2482 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2483 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2484 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2485
2486 2019-03-01 Florian Weimer <fweimer@redhat.com>
2487
2488 [BZ #20419]
2489 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2490 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2491 code, to avoid creating an ABI tag note.
2492 (modules-names-nobuild): Add tst-big-note-lib.
2493
2494 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
2495
2496 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2497 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2498
2499 2019-03-01 Florian Weimer <fweimer@redhat.com>
2500
2501 [BZ #20271]
2502 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2503 (__netlink_assert_response): Add additional missing newlines.
2504
2505 2019-02-28 Joseph Myers <joseph@codesourcery.com>
2506
2507 * sysdeps/powerpc/powerpc32/dl-machine.c
2508 (__elf_machine_fixup_plt): Use space before '('.
2509 (__process_machine_rela): Likewise.
2510 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2511 Likewise.
2512 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2513 Likewise.
2514 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2515 Likewise.
2516 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2517 (pattern): Likewise.
2518 (delta): Likewise.
2519 (check_result): Likewise.
2520 (check_excepts): Likewise.
2521 (check_op): Likewise.
2522 (fail_xr): Likewise.
2523 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2524 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2525 (SCNHSZ): Likewise.
2526 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2527 Likewise.
2528 (ARGS): Likewise.
2529 (__makecontext): Likewise.
2530 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2531 Likewise.
2532
2533 2019-02-28 Florian Weimer <fweimer@redhat.com>
2534
2535 [BZ #23937]
2536 elf: Add test with a local IFUNC resolver.
2537 * elf/ifuncmain9.c: New file.
2538 * elf/ifuncmain9pic.c: Likewise.
2539 * elf/ifuncmain9picstatic.c: Likewise.
2540 * elf/ifuncmain9pie.c: Likewise.
2541 * elf/ifuncmain9static.c: Likewise.
2542 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2543 ifuncmain9static, ifuncmain9picstatic.
2544 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2545 Add ifuncmain9, ifuncmain9pic.
2546 * elf/Makefile [multi-arch && build-shared && have-fpie]
2547 (ifunc-pie-tests): Add ifuncmain9pie.
2548 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2549 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2550 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2551
2552 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2553
2554 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2555 * configure: Regenerated.
2556 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2557
2558 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2559
2560 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2561 symbol as __wcspcy instead of wcscpy.
2562
2563 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2564
2565 * include/stdio.h (__renameat2): New hidden prototype.
2566 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2567 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2568 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2569 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2570
2571 2019-02-27 Joseph Myers <joseph@codesourcery.com>
2572
2573 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2574 if statement.
2575
2576 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2577 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2578 * benchtests/bench-strlen.c (do_test): Likewise.
2579 (test_main): Likewise.
2580 * catgets/gencat.c (read_old): Likewise.
2581 * elf/cache.c (load_aux_cache): Likewise.
2582 * iconvdata/bug-iconv8.c (do_test): Likewise.
2583 * math/test-tgmath-ret.c (do_test): Likewise.
2584 * nis/nis_call.c (rec_dirsearch): Likewise.
2585 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2586 * nptl/tst-audit-threads.c (do_test): Likewise.
2587 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2588 * nss/nss_test1.c (init): Likewise.
2589 * nss/test-netdb.c (test_hosts): Likewise.
2590 * posix/execvpe.c (maybe_script_execute): Likewise.
2591 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2592 * stdio-common/tst-printf.c (do_test): Likewise.
2593 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2594 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2595 * stdlib/qsort.c (STACK_SIZE): Likewise.
2596 * stdlib/test-canon.c (do_test): Likewise.
2597 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2598 * string/memcmp.c (OPSIZ): Likewise.
2599 * string/test-strcpy.c (do_test): Likewise.
2600 (do_random_tests): Likewise.
2601 * string/test-strlen.c (do_test): Likewise.
2602 (test_main): Likewise.
2603 * string/test-strrchr.c (do_test): Likewise.
2604 (do_random_tests): Likewise.
2605 * string/tester.c (test_memrchr): Likewise.
2606 (test_memchr): Likewise.
2607 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2608 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2609 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2610 (read_encoded_value_with_base): Likewise.
2611 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2612 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2613 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2614 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2615 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2616 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2617 Likewise.
2618 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2619 Likewise.
2620 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2621 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2622 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2623 Likewise.
2624 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2625 Likewise.
2626 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2627 Likewise.
2628 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2629 Likewise.
2630 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2631 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2632 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2633 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2634 * time/test_time.c (main): Likewise.
2635
2636 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2637
2638 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2639
2640 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2641 wmemcpy.
2642
2643 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2644 wmemcpy.
2645
2646 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2647
2648 * include/wchar.h (__wcscpy): New prototype.
2649 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2650 (__wcscpy): Route internal symbol to generic implementation.
2651 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2652 Add internal __wcscpy alias.
2653 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2654 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2655 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2656 * wcsmbs/wcscpy.c (wcscpy): Add
2657 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2658 use generic implementation.
2659 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2660
2661 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2662 wmemset.
2663
2664 * sysdeps/m68k/wcpcpy.c: Remove file.
2665 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2666
2667 2019-02-26 Joseph Myers <joseph@codesourcery.com>
2668
2669 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2670 than after operators.
2671 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2672 * sysdeps/mach/hurd/getcwd.c
2673 (__hurd_canonicalize_directory_name_internal): Likewise.
2674 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2675 (pthread_mutex_consistent): Likewise.
2676 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2677 Likewise.
2678 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2679 (__pthread_mutex_transfer_np): Likewise.
2680 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2681 (__pthread_mutex_unlock): Likewise.
2682 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2683 (mtx_owned_p): Likewise.
2684 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2685 (pthread_mutexattr_getrobust): Likewise.
2686 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2687 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2688 Likewise.
2689 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2690 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2691 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2692 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2693 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2694 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2695 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2696 Likewise.
2697 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2698 Likewise.
2699 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2700 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2701 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2702 (____longjmp_chk): Likewise.
2703 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2704 Likewise.
2705 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2706 (INTERNAL_SYSCALL): Likewise.
2707 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2708 (INTERNAL_SYSCALL): Likewise.
2709 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2710 (__get_clockfreq_via_cpuinfo): Likewise.
2711
2712 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2713 comments.
2714 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2715 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2716 (WORD_COPY_BWD): Likewise.
2717 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2718 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2719 Likewise.
2720 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2721 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2722 comment.
2723 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2724
2725 2019-02-25 Joseph Myers <joseph@codesourcery.com>
2726
2727 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2728 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2729 rather than after operators.
2730 * elf/cache.c (print_cache): Likewise.
2731 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2732 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2733 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2734 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2735 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2736 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2737 (reauth_proc): Likewise.
2738 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2739 (__file_name_split_at): Likewise.
2740 (__directory_name_split_at): Likewise.
2741 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2742 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2743 * iconv/gconv_dl.c (do_print): Likewise.
2744 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2745 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2746 * locale/setlocale.c (new_composite_name): Likewise.
2747 * malloc/memusagestat.c (main): Likewise.
2748 * misc/fstab.c (fstab_convert): Likewise.
2749 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2750 Likewise.
2751 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2752 (getgrent_next_file): Likewise.
2753 (internal_getgrnam_r): Likewise.
2754 (internal_getgrgid_r): Likewise.
2755 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2756 Likewise.
2757 (internal_getgrent_r): Likewise.
2758 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2759 (getpwent_next_nss): Likewise.
2760 (getpwent_next_file): Likewise.
2761 (internal_getpwnam_r): Likewise.
2762 (internal_getpwuid_r): Likewise.
2763 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2764 Likewise.
2765 (getspent_next_nss): Likewise.
2766 (internal_getspnam_r): Likewise.
2767 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2768 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2769 * string/strchr.c (STRCHR): Likewise.
2770 * string/strchrnul.c (STRCHRNUL): Likewise.
2771 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2772 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2773 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2774 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2775 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2776 Likewise.
2777 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2778 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2779 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2780 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2781 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2782 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2783 (open_file): Likewise.
2784 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2785 (pthread_mutexattr_setprotocol): Likewise.
2786 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2787 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2788 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2789 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2790 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2791 Likewise.
2792 (elf_machine_rela): Likewise.
2793 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2794 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2795 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2796 * sysdeps/posix/rename.c (rename): Likewise.
2797 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2798 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2799 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2800 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2801 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2802 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2803 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2804 Likewise.
2805 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2806 Likewise.
2807 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2808 * time/tzfile.c (__tzfile_compute): Likewise.
2809
2810 2019-02-22 Joseph Myers <joseph@codesourcery.com>
2811
2812 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2813 rather than after operators.
2814 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2815 * crypt/md5.c (md5_finish_ctx): Likewise.
2816 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2817 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2818 * elf/cache.c (load_aux_cache): Likewise.
2819 * elf/dl-load.c (open_verify): Likewise.
2820 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2821 * elf/readelflib.c (process_elf_file): Likewise.
2822 * elf/rtld.c (dl_main): Likewise.
2823 * elf/sprof.c (generate_call_graph): Likewise.
2824 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2825 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2826 * hurd/dtable.c (reauth_dtable): Likewise.
2827 * hurd/getdport.c (__getdport): Likewise.
2828 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2829 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2830 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2831 Likewise.
2832 * hurd/hurdioctl.c (fioctl): Likewise.
2833 * hurd/hurdselect.c (_hurd_select): Likewise.
2834 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2835 (STOPSIGS): Likewise.
2836 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2837 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2838 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2839 * hurd/msgportdemux.c (msgport_server): Likewise.
2840 * hurd/setauth.c (_hurd_setauth): Likewise.
2841 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2842 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2843 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2844 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2845 * login/tst-utmp.c (do_check): Likewise.
2846 (simulate_login): Likewise.
2847 * mach/lowlevellock.h (lll_lock): Likewise.
2848 (lll_trylock): Likewise.
2849 * math/test-fenv.c (ALL_EXC): Likewise.
2850 * math/test-fenvinline.c (ALL_EXC): Likewise.
2851 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2852 * nis/nis_call.c (__do_niscall3): Likewise.
2853 * nis/nis_callback.c (cb_prog_1): Likewise.
2854 * nis/nis_defaults.c (searchaccess): Likewise.
2855 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2856 * nis/nis_ismember.c (internal_ismember): Likewise.
2857 * nis/nis_local_names.c (nis_local_principal): Likewise.
2858 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2859 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2860 Likewise.
2861 * nis/ypclnt.c (yp_match): Likewise.
2862 (yp_first): Likewise.
2863 (yp_next): Likewise.
2864 (yp_master): Likewise.
2865 (yp_order): Likewise.
2866 * nscd/hstcache.c (cache_addhst): Likewise.
2867 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2868 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2869 (internal_getpwuid_r): Likewise.
2870 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2871 * posix/glob.h (__GLOB_FLAGS): Likewise.
2872 * posix/regcomp.c (peek_token): Likewise.
2873 (peek_token_bracket): Likewise.
2874 (parse_expression): Likewise.
2875 * posix/regexec.c (sift_states_iter_mb): Likewise.
2876 (check_node_accept_bytes): Likewise.
2877 * posix/tst-spawn3.c (do_test): Likewise.
2878 * posix/wordexp-test.c (testit): Likewise.
2879 * posix/wordexp.c (parse_tilde): Likewise.
2880 (exec_comm): Likewise.
2881 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2882 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2883 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2884 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2885 * stdio-common/tst-fileno.c (do_test): Likewise.
2886 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2887 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2888 * stdlib/strtod_l.c (round_and_return): Likewise.
2889 (____STRTOF_INTERNAL): Likewise.
2890 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2891 * string/strcspn.c (STRCSPN): Likewise.
2892 * string/test-memmem.c (simple_memmem): Likewise.
2893 * termios/tcsetattr.c (tcsetattr): Likewise.
2894 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2895 * time/asctime.c (asctime_internal): Likewise.
2896 * time/strptime_l.c (__strptime_internal): Likewise.
2897 * time/sys/time.h (timercmp): Likewise.
2898 * time/tzfile.c (__tzfile_compute): Likewise.
2899
2900 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2901
2902 [BZ #21915]
2903 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
2904
2905 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2906
2907 * argp/argp-help.c (__argp_error_internal): New function,
2908 renamed from __argp_error, but that takes a 'mode_flags'
2909 parameter to control the format of long double parameters.
2910 (__argp_error): Converted into a call __argp_error_internal.
2911 (__argp_failure_internal): New function, renamed from
2912 __argp_failure, but that takes a 'mode_flags' parameter.
2913 (__argp_failure): Converted into a call __argp_failure_internal.
2914 * misc/err.c (__vwarnx_internal): New function, renamed from
2915 vwarnx, but that takes a 'mode_flags' parameter.
2916 (vwarnx): Converted into a call to __vwarnx_internal.
2917 (__vwarn_internal): New function, renamed from vwarn, but that
2918 takes a 'mode_flags' parameter.
2919 (vwarn): Converted into a call to __vwarn_internal.
2920 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2921 call to __vfxprintf with 'mode_flags'.
2922 (__error_internal): New function, renamed from error, but that
2923 takes a 'mode_flags' parameter.
2924 (error): Converted into a call to __error_internal.
2925 (__error_at_line_internal): New function, renamed from
2926 error_at_line, but that takes a 'mode_flags' parameter.
2927 (error_at_line): Converted into a call to
2928 __error_at_line_internal.
2929 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2930 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2931 Likewise.
2932
2933 2019-02-20 Martin Liska <mliska@suse.cz>
2934
2935 * math/Makefile: Install math-vector-fortran.h.
2936 * bits/math-vector-fortran.h: New file.
2937 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2938
2939 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2940
2941 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2942 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2943
2944 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2945
2946 * nptl/pthread_mutex_trylock.c: Fix comment.
2947
2948 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2949
2950 * nptl/pthread_tryjoin.c: Fix comment.
2951
2952 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2953
2954 [BZ #24231]
2955 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2956 after R_SPARC_H34 case.
2957
2958 2019-02-18 Florian Weimer <fweimer@redhat.com>
2959
2960 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2961 (getanswer): Do not call Dprintf.
2962 (res_gethostbyname2_context): Likewise.
2963 (res_gethostbyaddr_context): Likewise.
2964
2965 2019-02-18 Florian Weimer <fweimer@redhat.com>
2966
2967 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2968 declaration.
2969 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2970 Remove definitions.
2971 * libio/stdfiles.c: Update comment.
2972 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2973 set _IO_stdin, _IO_stdout, _IO_stderr.
2974 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2975 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2976 inline function.
2977 (_IO_deallocate_file): New inline function.
2978 * libio/iolibio.h (_IO_vprintf): Remove definition.
2979 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2980 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2981 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2982 _IO_legacy_file.
2983 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2984 __builtin_expect. Use _IO_legacy_file.
2985
2986 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2987
2988 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2989 Initialize ctid with a known value and remove update of ctid
2990 after clone.
2991 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2992 as assumed current value of ctid_ptr.
2993
2994 2019-02-16 Florian Weimer <fweimer@redhat.com>
2995
2996 Check that non-sysdeps headers have wrapper headers.
2997 * scripts/check-wrapper-headers.py: New file.
2998 * Makefile (tests-special): Add check-wrapper-headers.out.
2999 (check-wrapper-headers.out): New target.
3000 * Rules (tests-special): Add check-wrapper-headers.out.
3001 (check-wrapper-headers.out): New target.
3002
3003 2019-02-16 Florian Weimer <fweimer@redhat.com>
3004
3005 Add missing header wrappers under include/.
3006 * include/ar.h: New file.
3007 * include/bits/mqueue2.h: Likewise.
3008 * include/bits/stdio.h: Likewise.
3009 * include/bits/stdio2.h: Likewise.
3010 * include/fstab.h: Likewise.
3011 * include/fts.h: Likewise.
3012 * include/lastlog.h: Likewise.
3013 * include/netinet/icmp6.h: Likewise.
3014 * include/netinet/igmp.h: Likewise.
3015 * include/netinet/ip6.h: Likewise.
3016 * include/re_comp.h: Likewise.
3017 * include/regexp.h: Likewise.
3018 * include/rpcsvc/bootparam.h: Likewise.
3019 * include/rpcsvc/yp_prot.h: Likewise.
3020 * include/sys/random.h: Likewise.
3021 * include/sys/stropts.h: Likewise.
3022 * include/sys/ttychars.h: Likewise.
3023 * include/sys/vfs.h: Likewise.
3024 * include/wait.h: Likewise.
3025
3026 2019-02-16 Florian Weimer <fweimer@redhat.com>
3027
3028 * nptl_db/proc_service.h: Move to ...
3029 * sysdeps/nptl/proc_service.h: ... here.
3030 * nptl_db/thread_db.h: Move to ...
3031 * sysdeps/nptl/thread_db.h: ... here.
3032 * nptl/descr.h: Include <thread_db.h>.
3033
3034 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3035
3036 * io/Makefile (tests): Add tst-lockf.
3037 * io/lockf.c (lockf): Use __fcntl and only define for
3038 !__OFF_T_MATCHES_OFF64_T.
3039 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3040 __OFF_T_MATCHES_OFF64_T case.
3041 * io/tst-lockf.c: New file.
3042 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3043 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3044 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3045 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3046 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3048 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3049 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3050 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3051
3052 2019-02-15 Florian Weimer <fweimer@redhat.com>
3053
3054 [BZ #24211]
3055 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3056 pd->result after the thread descriptor has been freed.
3057
3058 2019-02-15 Joseph Myers <joseph@codesourcery.com>
3059
3060 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3061 from function return type.
3062
3063 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3064
3065 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3066
3067 * scripts/test_printers_common.py: Set TERM to a known harmless
3068 value.
3069
3070 2019-02-14 Joseph Myers <joseph@codesourcery.com>
3071
3072 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3073 (xdr_u_int): Likewise.
3074 (xdr_enum): Likewise.
3075 (xdr_bytes): Reword fall-through comment.
3076 (xdr_string): Likewise.
3077
3078 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3079
3080 [BZ #2421]
3081 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3082 (tests): Add tst-join8 tst-join9.
3083 * nptl/lll_timedwait_tid.c: Remove file.
3084 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3085 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3086 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3087 * nptl/pthread_join_common.c (timedwait_tid): New function.
3088 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3089 is set.
3090 * nptl/tst-join5.c (thread_join): New function.
3091 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3092 check.
3093 * nptl/tst-join8.c: New file.
3094 * nptl/tst-join9.c: Likewise.
3095 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3096 lll_futex_timed_wait_cancel): Add generic macros.
3097 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3098 Remove definitions.
3099 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3100 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3101 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3102 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3103 Remove function.
3104 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3105 Likewise.
3106 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3107 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3108 (lll_futex_timed_wait_cancel): New macro.
3109
3110 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3111
3112 * benchtests/Makefile: Add malloc-simple benchmark.
3113 * benchtests/bench-malloc-simple.c: New benchmark.
3114
3115 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3116
3117 * benchtests/bench-memmove.c (do_one_test): Remove unused
3118 ORIG_SRC.
3119 (do_test): Adjust.
3120 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3121 ORIG_SRC.
3122 (do_test): Adjust.
3123
3124 2019-01-13 Jim Wilson <jimw@sifive.com>
3125
3126 [BZ #24040]
3127 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3128 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3129 (func): New.
3130 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3131 call func directly.
3132 * nptl/Makefile (tests): Add tst-unwind-thread.
3133 (CFLAGS-tst-unwind-thread.c): Define.
3134 * nptl/tst-unwind-thread.c: New file.
3135 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3136 as undefined.
3137
3138 2019-02-13 Joseph Myers <joseph@codesourcery.com>
3139
3140 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3141 comment wording.
3142 * nis/nis_call.c (__do_niscall3): Likewise.
3143
3144 * catgets/gencat.c (normalize_line): Use braces around empty
3145 'else' body.
3146 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3147 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3148 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3149 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3150 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3151 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3152 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3153 definition.
3154
3155 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3156 execlp returns.
3157
3158 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3159
3160 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3161 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3162 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3163 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3164 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3165 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3166 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3167 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3168 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3169 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3170 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3171 * benchtests/bench-bcopy.c: Delete file.
3172 * benchtests/bench-bzero.c: Likewise.
3173 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3174 (simple_memccpy): Remove.
3175 (generic_memccpy): Add function.
3176 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3177 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3178 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3179 (generic_mempcpy): Add new function.
3180 * benchtests/bench-memset.c (simple_bzero): Remove.
3181 (builtin_bzero): Remove.
3182 (builtin_memset): Remove.
3183 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3184 (generic_rawmemchr): Add new function.
3185
3186 2019-02-12 Florian Weimer <fweimer@redhat.com>
3187
3188 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3189
3190 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3191
3192 [BZ #24122]
3193 * elf/Makefile (tests): Add tst-audit13.
3194 (modules-names): Add tst-audit13mod1.
3195 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3196 rule.
3197 * elf/tst-audit13.c: New file.
3198 * elf/tst-audit13mod1.c: Likewise.
3199
3200 2019-02-12 Florian Weimer <fweimer@redhat.com>
3201
3202 [BZ #24122]
3203 * elf/rtld.c (unload_audit_module): New function.
3204 (report_audit_module_load_error): Likewise.
3205 (load_audit_module): Likewise. Extracted from dl_main. Call
3206 _dl_close if the laversion symbol cannot be found. Use early
3207 returns for error handling. Add malloc error check. Check for a
3208 zero return value from la_version. Remove spurious comment about
3209 static TLS initialization. Remove useless casts.
3210 (notify_audit_modules_of_loaded_object): New function. Extracted
3211 from dl_main.
3212 (load_audit_module): Likewise.
3213 (dl_main): Call load_audit_modules.
3214
3215 2019-02-12 Joseph Myers <joseph@codesourcery.com>
3216
3217 * elf/dl-exception.c (_dl_exception_create_format): Add
3218 fall-through comments.
3219 * elf/ldconfig.c (parse_conf_include): Likewise.
3220 * elf/rtld.c (print_statistics): Likewise.
3221 * locale/programs/charmap.c (parse_charmap): Likewise.
3222 * misc/mntent_r.c (__getmntent_r): Likewise.
3223 * posix/wordexp.c (parse_arith): Likewise.
3224 (parse_backtick): Likewise.
3225 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3226 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3227 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3228
3229 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
3230
3231 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3232 Use float instead of double.
3233
3234 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3235
3236 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3237
3238 2019-02-08 Joseph Myers <joseph@codesourcery.com>
3239
3240 * sysdeps/powerpc/bits/mathinline.h: Remove.
3241
3242 2019-02-08 Florian Weimer <fweimer@redhat.com>
3243
3244 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3245 * math/bits/math-finite.h: Move to ...
3246 * bits/math-finite.h: ... here.
3247
3248 2019-02-08 Florian Weimer <fweimer@redhat.com>
3249
3250 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3251 * bits/unistd_ext.h: here.
3252
3253 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3254
3255 [BZ #21915]
3256 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3257 * nss/tst-nss-files-hosts-long.c: New file.
3258 * nss/tst-nss-files-hosts-long.root: New directory.
3259 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3260 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3261
3262 2019-02-08 Florian Weimer <fweimer@redhat.com>
3263
3264 * include/bits/unistd_ext.h: Remove file.
3265 * posix/bits/unistd_ext.h: Move to ...
3266 * sysdeps/generic/bits/unistd_ext.h: ... here.
3267
3268 2019-02-08 Florian Weimer <fweimer@redhat.com>
3269
3270 * include/bits/unistd_ext.h: New file.
3271
3272 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3273
3274 * time/tst-strftime2.c: Use array_length macros instead of magic
3275 numbers.
3276
3277 2019-02-08 Florian Weimer <fweimer@redhat.com>
3278
3279 [BZ #24161]
3280 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3281 argument.
3282 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3283 locking if the new do_locking argument is true.
3284 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3285 __run_fork_handlers.
3286
3287 2019-02-08 Florian Weimer <fweimer@redhat.com>
3288
3289 [BZ #6399]
3290 Linux: Add gettid system call wrapper.
3291 * posix/Makefile (headers): Add bits/unistd_ext.h.
3292 * posix/bits/unistd_ext.h: New file.
3293 * posix/unistd.h: Include it.
3294 * manual/process.texi (Process Identification): Document gettid.
3295 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3296 tst-gettid, tst-gettid-kill.
3297 (tst-gettid): Link with $(shared-thread-library).
3298 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3299 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3300 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3301 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3302 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3303 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3304 Add gettid.
3305 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3306 Likewise.
3307 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3308 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3309 Likewise.
3310 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3311 Likewise.
3312 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3313 Likewise.
3314 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3315 Likewise.
3316 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3317 Likewise.
3318 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3319 Likewise.
3320 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3321 Likewise.
3322 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3323 (GLIBC_2.30): Likewise.
3324 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3325 (GLIBC_2.30): Likewise.
3326 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3327 (GLIBC_2.30): Likewise.
3328 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3329 (GLIBC_2.30): Likewise.
3330 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3331 Likewise.
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3333 (GLIBC_2.30): Likewise.
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3335 (GLIBC_2.30): Likewise.
3336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3337 (GLIBC_2.30): Likewise.
3338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3339 (GLIBC_2.30): Likewise.
3340 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3341 Likewise.
3342 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3343 Likewise.
3344 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3345 Likewise.
3346 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3347 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3348 Likewise.
3349 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3350 Likewise.
3351 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3352 Likewise.
3353 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3354 Likewise.
3355 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3356
3357 2019-02-08 Florian Weimer <fweimer@redhat.com>
3358
3359 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3360 compatibility symbols.
3361
3362 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
3363
3364 [BZ #24180]
3365 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3366 Add compiler barriers and comments.
3367
3368 2019-02-07 Florian Weimer <fweimer@redhat.com>
3369
3370 * include/array_length.h (array_length): Do not use a statement
3371 expression and _Static_assert, so that array_length can be used at
3372 file scope and as a constant expression.
3373
3374 2019-02-07 Florian Weimer <fweimer@redhat.com>
3375
3376 * support/xdlfcn.h (xdlmopen): Declare.
3377 * support/xdlmopen.c: New file.
3378 * support/Makefile (libsupport-routines): Add xdlmopen.
3379
3380 2019-02-06 Joseph Myers <joseph@codesourcery.com>
3381
3382 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3383 before return type, without separate inline.
3384 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3385 * elf/dl-tunables.h (tunable_is_name): Likewise.
3386 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3387 (do_set_top_pad): Likewise.
3388 (do_set_mmap_threshold): Likewise.
3389 (do_set_mmaps_max): Likewise.
3390 (do_set_mallopt_check): Likewise.
3391 (do_set_perturb_byte): Likewise.
3392 (do_set_arena_test): Likewise.
3393 (do_set_arena_max): Likewise.
3394 (do_set_tcache_max): Likewise.
3395 (do_set_tcache_count): Likewise.
3396 (do_set_tcache_unsorted_limit): Likewise.
3397 * nis/nis_subr.c (count_dots): Likewise.
3398 * nptl/allocatestack.c (advise_stack_range): Likewise.
3399 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3400 (do_sin): Likewise.
3401 (reduce_sincos): Likewise.
3402 (do_sincos): Likewise.
3403 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3404 (do_set_elision_enable): Likewise.
3405 (TUNABLE_CALLBACK_FNDECL): Likewise.
3406
3407 2019-02-06 Florian Weimer <fweimer@redhat.com>
3408
3409 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3410 (xdlsym): Use dlerror to detect a NULL symbol.
3411
3412 2019-02-06 Florian Weimer <fweimer@redhat.com>
3413
3414 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3415 <stap-probe.h>.
3416 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3417
3418 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3419
3420 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3421
3422 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3423
3424 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3425 __wmemcmp and weak alias to wmemcmp.
3426
3427 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3428
3429 [BZ #23403]
3430 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3431 TLS_TCB_AT_TP tls variant.
3432 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3433 Add alignment checks.
3434 * support/Makefile (libsupport-routines): Add xposix_memalign and
3435 xpthread_setstack.
3436 * support/support.h: Add xposix_memalign.
3437 * support/xthread.h: Add xpthread_attr_setstack.
3438 * support/xposix_memalign.c: New File.
3439 * support/xpthread_attr_setstack.c: Likewise.
3440
3441 2019-02-05 Florian Weimer <fweimer@redhat.com>
3442
3443 [BZ #24164]
3444 arm: Use "nr" constraint for Systemtap probes, to avoid the
3445 compiler using memory operands for constants, due to the "o"
3446 alternative in the default "nor" constraint.
3447 * include/stap-probe.h [USE_STAP_PROBE]: Include
3448 <stap-probe-machine.h>
3449 * sysdeps/generic/stap-probe-machine.h: New file.
3450 * sysdeps/arm/stap-probe-machine.h: Likewise.
3451
3452 2019-02-04 Joseph Myers <joseph@codesourcery.com>
3453
3454 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3455 with 0, not tcache->entries[tc_idx].
3456
3457 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3458 once.
3459
3460 2019-02-04 Andreas Schwab <schwab@suse.de>
3461
3462 [BZ #16976]
3463 [BZ #17396]
3464 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3465 looking up collating elements match against (wide) character
3466 sequence instead of name. Correct alignment adjustment.
3467 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3468 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3469 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3470 (LOCALES): Add cs_CZ.ISO-8859-2.
3471 * posix/tst-fnmatch4.c: New file.
3472 * posix/tst-fnmatch5.c: New file.
3473 * include/wchar.h (__wmemcmp): Declare.
3474 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3475 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3476 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3477 * sysdeps/s390/wmemcmp.c: Likewise.
3478
3479 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3480
3481 [BZ #24155]
3482 CVE-2019-7309
3483 * NEWS: Updated for CVE-2019-7309.
3484 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3485 upper 32 bits of RDX register for x32. Use unsigned Jcc
3486 instructions, instead of signed.
3487 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3488 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3489
3490 2019-02-04 Florian Weimer <fweimer@redhat.com>
3491
3492 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3493 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3494 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3495 Likewise.
3496 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3497 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3498 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3499 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3500 Likewise.
3501 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3502 Likewise.
3503 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3504 Likewise.
3505 (posix_spawn_file_actions_addopen): Likewise.
3506 (posix_spawn_file_actions_addclose): Likewise.
3507 (posix_spawn_file_actions_adddup2): Likewise.
3508 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3509 qualifiers.
3510 (posix_spawn_file_actions_addfchdir_np): Likewise.
3511
3512 2019-02-04 David Newall <glibc@davidnewall.com>
3513
3514 elf: Implement --preload option for the dynamic linker.
3515 * elf/rtld.c (preloadarg): New variable.
3516 (handle_preload_list): Pass through “where” argument to
3517 do_preload.
3518 (dl_main): Handle "--preload" and add second call to
3519 handle_preload_list.
3520 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3521 (tst-rtld-preload-OBJS): Set variable.
3522 (tst-rtld-preload.out): New target.
3523 * elf/tst-rtld-preload.sh: New file.
3524
3525 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3526
3527 * Makefile (testrun.sh): Exit in case of incorrect argument.
3528
3529 2019-02-04 Florian Weimer <fweimer@redhat.com>
3530
3531 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3532 alignment gaps.
3533
3534 2019-02-03 Florian Weimer <fweimer@redhat.com>
3535
3536 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3537 implicit overflow checks.
3538
3539 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3540
3541 * stdlib/isomac.c: Include <unistd.h>.
3542
3543 2019-02-03 Florian Weimer <fweimer@redhat.com>
3544
3545 * include/time.h (__tzfile_default): Use int, not long int, for
3546 the GMT offsets.
3547 * time/tzfile.c (struct ttinfo): Change type of the offset member
3548 to int.
3549 (__tzfile_read): Remove useless cast.
3550 (__tzfile_default): Adjust prototype.
3551 * time/tzset.c (tz_rule): Change type of the offset member to int.
3552 (parse_offset): Change the type of the sign variable to int.
3553
3554 2019-02-03 Florian Weimer <fweimer@redhat.com>
3555
3556 [BZ #24153]
3557 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3558 * libio/getchar.c (getchar): Likewise.
3559 * libio/getchar_u.c (getchar_unlocked): Likewise.
3560 * libio/getwchar.c (getwchar): Likewise.
3561 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3562 * libio/iogets.c (_IO_gets): Likewise.
3563 * libio/vscanf.c (_IO_vscanf): Likewise.
3564 * libio/vwscanf.c (__vwscanf): Likewise.
3565 * libio/tst-bz24153.c: New file.
3566 * libio/Makefile (tests): Add it.
3567
3568 2019-02-02 Florian Weimer <fweimer@redhat.com>
3569
3570 [BZ #14829]
3571 * manual/resource.texi (Basic Scheduling Functions): Add
3572 portability note. Change process to task throughout the section.
3573 Remove incorrect comment about sched_yield as it affects
3574 tasks/threads, not entire processes.
3575 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3576 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3577
3578 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3579
3580 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3581 * configure: Regenerated.
3582 * manual/install.texi (Tools for Compilation): Update minimum GCC
3583 version.
3584 * INSTALL: Regenerated.
3585
3586 2019-02-01 Florian Weimer <fweimer@redhat.com>
3587
3588 * support/support_test_compare_string.c
3589 (support_test_compare_string): Use "string" in error message.
3590 * support/tst-test_compare_string.c (do_test): Adjust.
3591
3592 2019-02-01 Florian Weimer <fweimer@redhat.com>
3593
3594 * support/support_format_address_family.c
3595 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3596
3597 2019-02-01 Florian Weimer <fweimer@redhat.com>
3598
3599 * manual/socket.texi (Internet Address Formats): Clarify the byte
3600 order of struct sockaddr_in, struct sockaddr_in6. Document
3601 sin6_flowinfo and sin6_scope_id.
3602
3603 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3604
3605 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3606 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3607 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3608 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3609 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3610 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3611
3612 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3613
3614 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3615 [!MEMCHR](MEMCHR): Set to __memchr.
3616 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3617 Add memchr_generic and memchr_nosimd.
3618 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3619 (__libc_ifunc_impl_list): Add memchr ifuncs.
3620 * sysdeps/aarch64/multiarch/memchr.c: New file.
3621 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3622 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3623
3624 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3625
3626 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3627 Add memset_emag.
3628 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3629 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3630 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3631 Add IS_EMAG check for ifunc dispatch.
3632 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3633 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3634
3635 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3636
3637 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3638 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3639 Add emag.
3640 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3641 New macro.
3642
3643 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
3644
3645 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3646
3647 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
3648
3649 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3650 syscall-template file.
3651
3652 2019-01-31 Carlos O'Donell <carlos@redhat.com>
3653 Torvald Riegel <triegel@redhat.com>
3654 Rik Prohaska <prohaska7@gmail.com>
3655
3656 [BZ# 23844]
3657 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3658 tst-rwlock-trywrlock-stall.
3659 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3660 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3661 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3662 Set __wrphase_fute to 1 only if we started the write phase.
3663 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3664 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3665 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3666 * support/xpthread_rwlock_destroy.c: New file.
3667 * support/xthread.h: Declare xpthread_rwlock_destroy.
3668
3669 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3670
3671 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3672 version to 4.0.2.
3673
3674 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3675
3676 [BZ #24051]
3677 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3678 * libio/fileops.c (_IO_new_file_underflow): Likewise
3679 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3680 * libio/putchar.c (putchar): Likewise.
3681 * libio/putchar_u.c (putchar_unlocked): Likewise.
3682 * libio/putwchar.c (putchar): Likewise.
3683 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3684 * libio/tst-bz24051.c: New test.
3685 * libio/Makefile (tests): Add tst-bz24051
3686
3687 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3688
3689 CVE-2019-9169
3690 regex: fix read overrun [BZ #24114]
3691 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3692 https://debbugs.gnu.org/34140
3693 * posix/regexec.c (proceed_next_node):
3694 Do not read past end of input buffer.
3695
3696 2019-01-31 Florian Weimer <fweimer@redhat.com>
3697
3698 [BZ #24059]
3699 * nss/nss_files/files-alias.c (get_next_alias): Handle
3700 continuation line without newline at the end.
3701 * nss/tst-nss-files-alias-truncated.c: New file.
3702 * nss/Makefile [$(build-shared)] (tests): Add
3703 tst-nss-files-alias-truncated.
3704 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3705 * support/namespace.h (struct support_chroot_configuration): Add
3706 aliases member.
3707 (struct support_chroot): Add path_aliases member.
3708 * support/support_chroot.c (support_chroot_create): Handle
3709 aliases.
3710 (support_chroot_free): Free path_aliases.
3711
3712 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3713
3714 * version.h (RELEASE): Set to "development".
3715 (VERSION): Set to "2.29.9000".
3716 * NEWS: Add section for 2.30.
3717
3718 * version.h (RELEASE): Set to "stable".
3719 (VERSION): Set to "2.29".
3720 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3721
3722 * NEWS: Add the list of bugs fixed in 2.29.
3723 * manual/contrib.texi: Update contributors list with some more
3724 names.
3725 * manual/install.texi: Update latest versions of packages
3726 tested.
3727 * INSTALL: Regenerated.
3728
3729 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3730
3731 * po/be.po: Update translations.
3732 * po/bg.po: Likewise.
3733 * po/ca.po: Likewise.
3734 * po/cs.po: Likewise.
3735 * po/da.po: Likewise.
3736 * po/de.po: Likewise.
3737 * po/el.po: Likewise.
3738 * po/eo.po: Likewise.
3739 * po/es.po: Likewise.
3740 * po/fi.po: Likewise.
3741 * po/fr.po: Likewise.
3742 * po/gl.po: Likewise.
3743 * po/hr.po: Likewise.
3744 * po/hu.po: Likewise.
3745 * po/ia.po: Likewise.
3746 * po/id.po: Likewise.
3747 * po/it.po: Likewise.
3748 * po/ja.po: Likewise.
3749 * po/ko.po: Likewise.
3750 * po/lt.po: Likewise.
3751 * po/nb.po: Likewise.
3752 * po/nl.po: Likewise.
3753 * po/pl.po: Likewise.
3754 * po/pt_BR.po: Likewise.
3755 * po/ru.po: Likewise.
3756 * po/rw.po: Likewise.
3757 * po/sk.po: Likewise.
3758 * po/sl.po: Likewise.
3759 * po/sv.po: Likewise.
3760 * po/tr.po: Likewise.
3761 * po/uk.po: Likewise.
3762 * po/vi.po: Likewise.
3763 * po/zh_CN.po: Likewise.
3764 * po/zh_TW.po: Likewise.
3765
3766 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3767
3768 [BZ #24130]
3769 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3770 of $f3 register on $y_is_neg path.
3771
3772 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3773
3774 [BZ #24110]
3775 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3776 sigaltstack.ss_flags.
3777
3778 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3779
3780 [BZ #23758]
3781 * manual/time.texi (strftime): Document "%Ey".
3782 * time/strftime_l.c (__strftime_internal): Set the default width
3783 padding with zero of "%Ey" to 2.
3784
3785 [BZ #24096]
3786 * manual/time.texi (strftime): Document "%EC" and "%EY".
3787 * time/Makefile (tests): Add tst-strftime2.
3788 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3789 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3790 override padding for "%Ey".
3791 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3792 "%Ey" in the subformat as if decorated with that flag.
3793 * time/tst-strftime2.c: New file.
3794
3795 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3796
3797 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3798 are not defined.
3799
3800 [BZ #24122]
3801 * elf/Makefile (tests): Add tst-audit13.
3802 (modules-names): Add tst-audit13mod1.
3803 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3804 rule.
3805 * elf/rtld.c (dl_main): Handle invalid audit module version.
3806 * elf/tst-audit13.c: New file.
3807 * elf/tst-audit13mod1.c: Likewise.
3808
3809 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3810
3811 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3812 returned by __hurd_at_flags.
3813 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3814 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3815 directly instead of __hurd_file_name_lookup.
3816
3817 2019-01-21 Joseph Myers <joseph@codesourcery.com>
3818
3819 * scripts/build-many-glibcs.py (Context.checkout): Default
3820 binutils version to 2.32 branch.
3821
3822 2019-01-21 Florian Weimer <fweimer@redhat.com>
3823
3824 [BZ #20018]
3825 CVE-2016-10739
3826 resolv: Reject trailing characters in host names
3827 * include/arpa/inet.h (__inet_aton_exact): Declare.
3828 (inet_aton): Remove hidden prototype. No longer used internally.
3829 * nscd/gai.c (__inet_aton): Do not define.
3830 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3831 * nss/digits_dots.c (__inet_aton): Likewise.
3832 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3833 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3834 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3835 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3836 (tst-resolv-trailing): Likewise.
3837 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3838 libc.
3839 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3840 Make static. Add endp parameter.
3841 (__inet_aton_exact): New function.
3842 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3843 (__inet_addr): Call inet_aton_end.
3844 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3845 not just IPv6. Call __inet_aton_exact.
3846 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3847 (tests): Make const. Add additional test cases with trailing
3848 characters.
3849 (do_test): Use array_length.
3850 * resolv/tst-inet_aton_exact.c: New file.
3851 * resolv/tst-resolv-trailing.c: Likewise.
3852 * resolv/tst-resolv-nondecimal.c: Likewise.
3853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3854
3855 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3856
3857 [BZ# 24097]
3858 CVE-2019-6488
3859 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3860 Clear the upper 32 bits of RSI register.
3861 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3862 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3863 and tst-size_t-wcsnlen.
3864 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3865 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3866
3867 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3868
3869 [BZ# 24097]
3870 CVE-2019-6488
3871 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3872 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3873 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3874 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3875 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3876
3877 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3878
3879 [BZ# 24097]
3880 CVE-2019-6488
3881 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3882 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3883 * sysdeps/x86_64/strcmp.S: Likewise.
3884 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3885 tst-size_t-strncmp and tst-size_t-wcsncmp.
3886 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3887 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3888 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3889
3890 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3891
3892 [BZ# 24097]
3893 CVE-2019-6488
3894 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3895 RDX_LP for length. Clear the upper 32 bits of RDX register.
3896 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3897 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3898 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3899 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3900
3901 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3902
3903 [BZ# 24097]
3904 CVE-2019-6488
3905 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3906 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3907 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3908 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3909
3910 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3911
3912 [BZ# 24097]
3913 CVE-2019-6488
3914 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3915 length. Clear the upper 32 bits of RDX register.
3916 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3917 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3918 Likewise.
3919 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3920 Likewise.
3921 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3922 tst-size_t-wmemchr.
3923 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3924
3925 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3926
3927 [BZ# 24097]
3928 CVE-2019-6488
3929 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3930 length. Clear the upper 32 bits of RDX register.
3931 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3932 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3933 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3934 tst-size_t-wmemcmp.
3935 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3936 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3937
3938 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3939
3940 [BZ# 24097]
3941 CVE-2019-6488
3942 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3943 upper 32 bits of RDX register.
3944 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3945 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3946 tst-size_t-wmemchr.
3947 * sysdeps/x86_64/x32/test-size_t.h: New file.
3948 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3949 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3950
3951 2019-01-18 Florian Weimer <fweimer@redhat.com>
3952
3953 [BZ #24112]
3954 resolv: Do not send queries for non-host-names in nss_dns.
3955 * resolv/nss_dns/dns-host.c (check_name): New function.
3956 (_nss_dns_gethostbyname2_r): Use it.
3957 (_nss_dns_gethostbyname_r): Likewise.
3958 (_nss_dns_gethostbyname4_r): Likewise.
3959
3960 2019-01-21 Florian Weimer <fweimer@redhat.com>
3961
3962 * resolv/inet_addr.c: Reformat to GNU style.
3963 (__inet_addr, __inet_aton): Update comment.
3964
3965 2019-01-18 Florian Weimer <fweimer@redhat.com>
3966
3967 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3968 ("malloc: Use current (C11-style) atomics for fastbin access").
3969 This commit introduces a substantial performance regression on
3970 POWER and Aarch64.
3971 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3972 (REMOVE_FB): Define.
3973 (_int_malloc): Use it and reindent.
3974 (_int_free): Use CAS loop with
3975 catomic_compare_and_exchange_val_rel.
3976 (malloc_consolidate): Use atomic_exchange_acq.
3977
3978
3979 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3980
3981 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3982 -Wl,-z,now.
3983 (LDFLAGS-tst-minsigstksz-2): Likewise.
3984 (LDFLAGS-tst-minsigstksz-3): Likewise.
3985 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3986 (LDFLAGS-tst-minsigstksz-4): Likewise.
3987
3988 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3989
3990 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3991 than "alternate".
3992
3993 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3994
3995 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3996
3997 2019-01-16 Zack Weinberg <zackw@panix.com>
3998
3999 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4000 (xget_sigstack_location): New test support functions.
4001 * support/xsigstack.c: New file, implementing them.
4002 * support/tst-xsigstack.c: New test for them.
4003 * support/Makefile: Update.
4004
4005 * signal/tst-minsigstksz-1.c
4006 * signal/tst-minsigstksz-2.c
4007 * signal/tst-minsigstksz-3.c
4008 * signal/tst-minsigstksz-3a.c
4009 * signal/tst-minsigstksz-4.c: New tests.
4010 * signal/Makefile: Run them.
4011
4012 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4013
4014 * po/libc.pot: Regenerate.
4015
4016 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4017
4018 * math/libm-test-fma.inc (fma_test_data): Set
4019 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4020
4021 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4022
4023 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4024 (do_test): Changed __vector __int128_t to __vector unsigned int.
4025
4026 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4027
4028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4029 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4030 stpcpy-avx2 and stpncpy-avx2.
4031 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4032 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4033 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4034 and __stpncpy_avx2.
4035 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4036 ifunc-strcpy.h}: rename header for a more generic name.
4037 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4038 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4039 AVX unaligned load is fast and vzeroupper is preferred.
4040 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4041 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4042 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4043 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4044 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4045 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4046
4047 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4048
4049 * argp/argp-help.c: Fix typo in comment.
4050 * misc/sys/cdefs.h: Likewise.
4051 * posix/regexec.c (sift_states_iter_mb): Likewise.
4052 * socket/sockatmark.c: Likewise.
4053 * socket/sys/socket.h: Likewise.
4054 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4055 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4056 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4057 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4058 * sysdeps/unix/sockatmark.c: Likewise.
4059 * time/strptime_l.c: Likewise.
4060
4061 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4062
4063 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4064 missing space after the cast of "_NL_CURRENT".
4065
4066 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4067
4068 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4069 ifdef to fix read of VSCR.
4070 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4071 tst-ucontext-ppc64-vscr.c to test list.
4072 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4073
4074 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4075
4076 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4077 fall-through.
4078
4079 2019-01-09 Jim Wilson <jimw@sifive.com>
4080
4081 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4082
4083 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4084
4085 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4086 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4087 __memcpy_falkor for ares.
4088 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4089 Add new define.
4090 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4091 Add ares cpu.
4092
4093 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4094
4095 [BZ #24066]
4096 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4097 4_FP_W_TYPEs are used for IEEE quad precision.
4098 * soft-fp/extendhftf2.c: Likewise.
4099 * soft-fp/extendsftf2.c: Likewise.
4100 * soft-fp/extendxftf2.c: Likewise.
4101 * soft-fp/trunctfdf2.c: Likewise.
4102 * soft-fp/trunctfhf2.c: Likewise.
4103 * soft-fp/trunctfsf2.c: Likewise.
4104 * soft-fp/trunctfxf2.c: Likewise.
4105 * sysdeps/alpha/ots_cvttx.c: Likewise.
4106 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4107 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4108 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4109 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4110 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4111 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4112 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4113 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4114 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4115 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4116 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4117 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4118 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4119 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4120 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4121 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4122 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4123
4124 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4125
4126 [BZ #24024]
4127 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4128 code with -fmath-errno.
4129 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4130 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4131 * string/test-strerror-errno.c: New file.
4132
4133 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4134
4135 [BZ #24046]
4136 * localedata/locales/en_US (date_fmt): Add, set to
4137 "%a %d %b %Y %r %Z".
4138
4139 2019-01-07 Florian Weimer <fweimer@redhat.com>
4140
4141 [BZ #24063]
4142 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4143 instead of @var{errno}.
4144 (Parsing of Integers): Likewise.
4145 (Parsing of Floats): Likewise.
4146 * manual/filesys.texi (Working with Directory Trees): Likewise.
4147 (Temporary Files): Likewise.
4148 * manual/job.texi (Terminal Access Functions): Likewise.
4149 * manual/llio.texi (Synchronizing I/O): Likewise.
4150 * manual/math.texi (SVID Random): Likewise.
4151 * manual/message.texi (The catgets Functions): Likewise.
4152 (Translation with gettext): Likewise.
4153 (Locating gettext catalog): Likewise.
4154 (Charset conversion in gettext): Likewise.
4155 * manual/nss.texi (NSS Module Function Internals): Likewise.
4156 * manual/search.texi (Hash Search Function): Likewise.
4157 * manual/setjmp.texi (System V contexts): Likewise.
4158 * manual/time.texi (Sleeping): Likewise.
4159 * manual/users.texi (Lookup User): Likewise.
4160 (Lookup Group): Likewise.
4161
4162 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4163
4164 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4165 fix typo.
4166
4167 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
4168
4169 [BZ #19444]
4170 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4171 __builtin_unreachable for default case in switch.
4172 (__ieee754_yn): Likewise.
4173 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4174 (__ieee754_ynl): Likewise.
4175 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4176 (__ieee754_ynl): Likewise.
4177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4178 (__ieee754_ynl): Likewise.
4179
4180 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4181
4182 * manual/maint.texi: Use @{ and @}.
4183
4184 2019-01-04 Florian Weimer <fweimer@redhat.com>
4185
4186 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4187 function.
4188 (do_in_chroot_1): Call it.
4189 (run_chroot_tests):
4190 Improve error reporting in case it is not possible to create a
4191 collision for the PTY name required by the test.
4192
4193 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4194
4195 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4196 lll_wait_tid with timeout.
4197 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4198 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4199 futex_reltimed_wait_cancelable for cancelabla mode.
4200 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4201 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4202 macros.
4203 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4204 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4205 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4206 SYSCALL_CANCEL_NCS): New macro.
4207 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4208 (lll_timedwait_tid): Remove macro.
4209 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4210 Likewise.
4211 (lll_timedwait_tid): Likewise.
4212 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4213 Likewise.
4214 (lll_timedwait_tid): Likewise.
4215 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4216 Likewise.
4217 (lll_timedwait_tid): Likewise.
4218 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4219 Use INTERNAL_SYSCALL_CANCEL.
4220 * sysdeps/unix/sysv/linux/futex-internal.h
4221 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4222 instead of __pthread_{enable,disable}_asynccancel.
4223 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4224 (lll_futex_wait_cancel): New macro.
4225
4226 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4227 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4228
4229 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4230 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4231
4232 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4233 in backtrace analysis.
4234 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4235 side-effects.
4236 (tf_send): Likewise.
4237
4238 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4239 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4240 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4241 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4242 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4243 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4244 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4245 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4246 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4247 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4248 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4249 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4250 Likewise.
4251 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4252 tst-cancel-wrappers.sh.
4253 (generated): Remove tst-cancel-wrappers.out.
4254 (tst-cancel-wrappers.out): Remove rule.
4255 * nptl/tst-cancel-wrappers.sh: Remove file.
4256
4257 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4258
4259 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4260 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4261 Update.
4262
4263 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4264
4265 [BZ #23640]
4266 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4267 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4268 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4269 close-on-exec reset for adddup2 file action.
4270 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4271
4272 2019-01-03 Zack Weinberg <zackw@panix.com>
4273
4274 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4275 parameter. Only use deprecated scanf when __USE_GNU is defined
4276 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4277 than 201103L, whichever is relevant for the language being compiled.
4278
4279 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4280 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4281 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4282 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4283 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4284
4285 * libio/iovsscanf.c
4286 * libio/fwscanf.c
4287 * libio/iovswscanf.c
4288 * libio/swscanf.c
4289 * libio/vscanf.c
4290 * libio/vwscanf.c
4291 * libio/wscanf.c
4292 * stdio-common/fscanf.c
4293 * stdio-common/scanf.c
4294 * stdio-common/vfscanf.c
4295 * stdio-common/vfwscanf.c
4296 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4297 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4298 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4299 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4300 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4301 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4302 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4303 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4304 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4305 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4306 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4307 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4308 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4309 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4310 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4311
4312 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4313 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4314 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4315 not sscanf.
4316 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4317 with a preprocessor macro.
4318
4319 * stdio-common/bug21.c, stdio-common/scanf14.c:
4320 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4321 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4322 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4323 to xscanf, xfscanf, xsscanf.
4324
4325 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4326 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4327 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4328 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4329 xfscanf, xsscanf.
4330 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4331 override feature selection macros or provide definitions of u_char etc.
4332 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4333 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4334 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4335 with -std=gnu89.
4336
4337 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4338
4339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4340 bits/termios-misc.h.
4341 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4342 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4343 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4344 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4345 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4346 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4347
4348 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4349 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4350 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4351 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4352 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4353 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4354 termios-misc.h.
4355 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4356 (sysdep_headers): Add termios-misc.h.
4357
4358 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4359 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4360 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4361
4362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4363 termios-tcflow.h.
4364 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4365 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4366 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4367 TCSAFLUSH): Move to termios-tcflow.h.
4368 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4369 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4370 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4371 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4372
4373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4374 termios-c_lflag.h.
4375 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4376 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4377 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4378 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4379 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4380 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4381 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4382 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4383 Likewise.
4384 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4385 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4386 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4387 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4388
4389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4390 termios-c_cflag.h.
4391 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4392 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4393 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4394 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4395 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4396 termios-c_cflag.h.
4397 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4398 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4399 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4400 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4401
4402 [BZ #23783]
4403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4404 termios-baud.h.
4405 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4406 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4407 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4408 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4409 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4410 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4411 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4412 __MAX_BAUD): Move to termios-baud.h.
4413 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4414 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4415 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4416 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4417 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4418
4419 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4420 termios-c_oflag.h.
4421 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4422 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4423 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4424 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4425 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4426 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4427 termios-c_oflag.h.
4428 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4429 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4430 FFR1): Likewise.
4431 [USE_MISC] (XTABS): Likewise.
4432 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4433 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4434 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4435 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4436
4437 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4438 termios-c_iflag.h.
4439 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4440 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4441 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4442 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4443 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4444 IUTF8): Move to termios-c_iflag.h.
4445 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4446 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4447 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4448 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4449
4450 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4451 termios-cc.h.
4452 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4453 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4454 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4455 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4456 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4457 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4458 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4459 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4460 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4461 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4462 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4463 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4464
4465 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4466 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4467 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4468 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4470 termios-struct.h.
4471 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4472 termios-struct.h.
4473 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4474 Likewise.
4475 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4476 Likewise.
4477 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4478 Likewise.
4479 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4480 Likewise.
4481 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4482 _HAVE_C_OSPEED): Define.
4483 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4484 _HAVE_C_OSPEED): Likewise.
4485 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4486 _HAVE_C_OSPEED): Likewise.
4487 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4488 (cfsetospeed): Check for define value instead of existence.
4489 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4490 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4491 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4492 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4493 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4494
4495 [BZ #17783]
4496 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4497 Define.
4498 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4499 (TIOCSER_TEMT): Likewise.
4500 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4501 (TEOCSER_TEMT): Likewise.
4502
4503 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
4504
4505 [BZ #24011]
4506 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4507
4508 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4509
4510 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4511
4512 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4513
4514 * sysdeps/htl/pt-barrierattr-setpshared.c
4515 (pthread_barrierattr_setpshared): Add stub warning.
4516 * sysdeps/htl/pt-condattr-setpshared.c
4517 (pthread_condattr_setpshared): Likewise.
4518 * sysdeps/htl/pt-mutexattr-setpshared.c
4519 (pthread_mutexattr_setpshared): Likewise.
4520 * sysdeps/htl/pt-rwlockattr-setpshared.c
4521 (pthread_rwlockattr_setpshared): Likewise.
4522 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4523 (pthread_mutexattr_setpshared): Likewise.
4524
4525 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4526
4527 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4528 constants to match with Linux 4.20.
4529
4530 * sysdeps/mips/mips32/libm-test-ulps: Update.
4531 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4532
4533 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4534
4535 [BZ #24034]
4536 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4537 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4538 than __typeof (...) for the a_ptr variable.
4539
4540 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4541
4542 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4543 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4544 * libio/Makefile (tests): Add tst-sprintf-ub and
4545 tst-sprintf-chk-ub.
4546 (CFLAGS-tst-sprintf-ub.c): New variable.
4547 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4548 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4549 destination buffer and check for overflows in fortified mode.
4550 * libio/libioP.h (PRINTF_CHK): New macro.
4551 * libio/tst-sprintf-chk-ub.c: New file.
4552 * libio/tst-sprintf-ub.c: Likewise.
4553
4554 2019-01-02 Florian Weimer <fweimer@redhat.com>
4555
4556 [BZ #24018]
4557 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4558 failure.
4559
4560 2019-01-02 Florian Weimer <fweimer@redhat.com>
4561
4562 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4563
4564 2019-01-01 Joseph Myers <joseph@codesourcery.com>
4565
4566 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4567 macro.
4568
4569 * sysdeps/unix/sysv/linux/netpacket/packet.h
4570 (PACKET_IGNORE_OUTGOING): New macro.
4571
4572 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4573 macro.
4574
4575 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4576 version to 4.20.
4577 (riscv_flush_icache): New syscall.
4578
4579 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4580 trailing whitespace removed.
4581 * scripts/config.guess: Update to version 2019-01-01.
4582 * scripts/config.sub: Update to version 2019-01-01.
4583 * scripts/move-if-change: Update from gnulib.
4584
4585 * NEWS: Update copyright dates.
4586 * catgets/gencat.c (print_version): Likewise.
4587 * csu/version.c (banner): Likewise.
4588 * debug/catchsegv.sh: Likewise.
4589 * debug/pcprofiledump.c (print_version): Likewise.
4590 * debug/xtrace.sh (do_version): Likewise.
4591 * elf/ldconfig.c (print_version): Likewise.
4592 * elf/ldd.bash.in: Likewise.
4593 * elf/pldd.c (print_version): Likewise.
4594 * elf/sotruss.sh: Likewise.
4595 * elf/sprof.c (print_version): Likewise.
4596 * iconv/iconv_prog.c (print_version): Likewise.
4597 * iconv/iconvconfig.c (print_version): Likewise.
4598 * locale/programs/locale.c (print_version): Likewise.
4599 * locale/programs/localedef.c (print_version): Likewise.
4600 * login/programs/pt_chown.c (print_version): Likewise.
4601 * malloc/memusage.sh (do_version): Likewise.
4602 * malloc/memusagestat.c (print_version): Likewise.
4603 * malloc/mtrace.pl: Likewise.
4604 * manual/libc.texinfo: Likewise.
4605 * nptl/version.c (banner): Likewise.
4606 * nscd/nscd.c (print_version): Likewise.
4607 * nss/getent.c (print_version): Likewise.
4608 * nss/makedb.c (print_version): Likewise.
4609 * posix/getconf.c (main): Likewise.
4610 * scripts/test-installation.pl: Likewise.
4611 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4612
4613 * All files with FSF copyright notices: Update copyright dates
4614 using scripts/update-copyrights.
4615 * locale/programs/charmap-kw.h: Regenerated.
4616 * locale/programs/locfile-kw.h: Likewise.
4617
4618 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4619
4620 * timezone/zdump.c: Update from tzcode 2018i.
4621 * timezone/zic.c: Likewise.
4622
4623 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4624
4625 regex: improve Gnulib port to AIX
4626 From the glibc point of view, this removes duplicate macro
4627 definitions and is obviously safe.
4628 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4629 * posix/regex_internal.h:
4630 (__attribute__, __attribute_warn_unused_result__):
4631 Remove; already defined elsewhere.
4632
4633 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
4634
4635 [BZ #24027]
4636 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4637 copying operation. (ncopies had the wrong type, resulting in an
4638 integer wraparound and too few elements being copied.)
4639
4640 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4641
4642 [BZ #24022]
4643 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4644 <asm/syscalls.h> exists with __has_include__ before including it.
4645
4646 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4647
4648 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4649 version to 4.20.
4650
4651 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
4652
4653 * hurd/lookup-retry: Include <unistd.h>.
4654 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4655 Release it on return. Handle "pid" magical lookup retry.
4656
4657 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4658
4659 [BZ #10496]
4660 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4661 (t_fmt_ampm): Likewise.
4662 * localedata/locales/aa_ER (t_fmt): Likewise.
4663 (t_fmt_ampm): Likewise.
4664 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4665 (t_fmt_ampm): Likewise.
4666 * localedata/locales/aa_ET (t_fmt): Likewise.
4667 (t_fmt_ampm): Likewise.
4668 * localedata/locales/am_ET (t_fmt): Likewise.
4669 (t_fmt_ampm): Likewise.
4670 * localedata/locales/byn_ER (t_fmt): Likewise.
4671 (t_fmt_ampm): Likewise.
4672 * localedata/locales/om_ET (t_fmt): Likewise.
4673 (t_fmt_ampm): Likewise.
4674 * localedata/locales/sid_ET (t_fmt): Likewise.
4675 (t_fmt_ampm): Likewise.
4676 * localedata/locales/so_DJ (t_fmt): Likewise.
4677 (t_fmt_ampm): Likewise.
4678 * localedata/locales/so_ET (t_fmt): Likewise.
4679 (t_fmt_ampm): Likewise.
4680 * localedata/locales/so_SO (t_fmt): Likewise.
4681 (t_fmt_ampm): Likewise.
4682 * localedata/locales/ti_ER (t_fmt): Likewise.
4683 (t_fmt_ampm): Likewise.
4684 * localedata/locales/ti_ET (t_fmt): Likewise.
4685 (t_fmt_ampm): Likewise.
4686 * localedata/locales/tig_ER (t_fmt): Likewise.
4687 (t_fmt_ampm): Likewise.
4688 * localedata/locales/wal_ET (t_fmt): Likewise.
4689 (t_fmt_ampm): Likewise.
4690
4691 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4692 * localedata/locales/ar_IN (t_fmt): Likewise.
4693 * localedata/locales/bhb_IN (t_fmt): Likewise.
4694 * localedata/locales/bho_IN (t_fmt): Likewise.
4695 * localedata/locales/bi_VU (t_fmt): Likewise.
4696 * localedata/locales/bn_BD (t_fmt): Likewise.
4697 * localedata/locales/bn_IN (t_fmt): Likewise.
4698 * localedata/locales/brx_IN (t_fmt): Likewise.
4699 * localedata/locales/doi_IN (t_fmt): Likewise.
4700 * localedata/locales/en_HK (t_fmt): Likewise.
4701 (t_fmt_ampm): Likewise.
4702 * localedata/locales/en_IN (t_fmt): Likewise.
4703 * localedata/locales/en_PH (t_fmt): Likewise.
4704 * localedata/locales/gu_IN (t_fmt): Likewise.
4705 * localedata/locales/hi_IN (t_fmt): Likewise.
4706 * localedata/locales/hif_FJ (t_fmt): Likewise.
4707 * localedata/locales/hne_IN (t_fmt): Likewise.
4708 * localedata/locales/kn_IN (t_fmt): Likewise.
4709 * localedata/locales/kok_IN (t_fmt): Likewise.
4710 * localedata/locales/ks_IN (t_fmt): Likewise.
4711 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4712 * localedata/locales/mag_IN (t_fmt): Likewise.
4713 * localedata/locales/mai_IN (t_fmt): Likewise.
4714 * localedata/locales/mjw_IN (t_fmt): Likewise.
4715 * localedata/locales/ml_IN (t_fmt): Likewise.
4716 * localedata/locales/mni_IN (t_fmt): Likewise.
4717 * localedata/locales/mr_IN (t_fmt): Likewise.
4718 * localedata/locales/ms_MY (t_fmt): Likewise.
4719 * localedata/locales/pa_IN (t_fmt): Likewise.
4720 * localedata/locales/raj_IN (t_fmt): Likewise.
4721 * localedata/locales/sa_IN (t_fmt): Likewise.
4722 * localedata/locales/sat_IN (t_fmt): Likewise.
4723 * localedata/locales/sd_IN (t_fmt): Likewise.
4724 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4725 * localedata/locales/tcy_IN (t_fmt): Likewise.
4726 * localedata/locales/the_NP (t_fmt): Likewise.
4727 * localedata/locales/to_TO (t_fmt): Likewise.
4728 * localedata/locales/ur_IN (t_fmt): Likewise.
4729
4730 * localedata/locales/hif_FJ (d_t_fmt): Set to
4731 "%A %d %b %Y %I:%M:%S %p".
4732 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4733
4734 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4735 * localedata/locales/ar_BH (t_fmt): Likewise.
4736 * localedata/locales/ar_DZ (t_fmt): Likewise.
4737 * localedata/locales/ar_EG (t_fmt): Likewise.
4738 * localedata/locales/ar_IQ (t_fmt): Likewise.
4739 * localedata/locales/ar_JO (t_fmt): Likewise.
4740 * localedata/locales/ar_KW (t_fmt): Likewise.
4741 * localedata/locales/ar_LB (t_fmt): Likewise.
4742 * localedata/locales/ar_LY (t_fmt): Likewise.
4743 * localedata/locales/ar_OM (t_fmt): Likewise.
4744 * localedata/locales/ar_QA (t_fmt): Likewise.
4745 * localedata/locales/ar_SD (t_fmt): Likewise.
4746 * localedata/locales/ar_SS (t_fmt): Likewise.
4747 * localedata/locales/ar_SY (t_fmt): Likewise.
4748 * localedata/locales/ar_TN (t_fmt): Likewise.
4749 * localedata/locales/ar_YE (t_fmt): Likewise.
4750
4751 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4752 (t_fmt_ampm): Likewise.
4753 * localedata/locales/gez_ET (t_fmt): Likewise.
4754 (t_fmt_ampm): Likewise.
4755
4756 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4757 (t_fmt_ampm): Likewise.
4758 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4759
4760 * localedata/locales/zh_HK (t_fmt):
4761 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4762
4763 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4764 because this locale does not use the 12-hour clock.
4765 (t_fmt): Set to "%Z %H:%M:%S".
4766 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4767
4768 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4769 because this locale does not use the 12-hour clock.
4770 (t_fmt): Set to "%H:%M:%S %Z".
4771 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4772
4773 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4774 because this locale does not use the 12-hour clock.
4775 (t_fmt): Set to "%T".
4776 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4777 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4778
4779 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4780 because this locale does not use the 12-hour clock.
4781 (t_fmt): Set to "%H:%M:%S %Z".
4782 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4783
4784 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4785 because this locale does not use the 12-hour clock.
4786 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4787 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4788
4789 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4790
4791 [BZ #10496]
4792 [BZ #23724]
4793 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4794 (t_fmt_ampm): Likewise.
4795 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4796 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4797 (d_fmt): Set to "%-d.%-m.%y".
4798
4799 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4800
4801 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4802 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4803 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4804 Likewise.
4805 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4806 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4807 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4808 function.
4809 * support/blob_repeat.c (check_mul_overflow_size_t,
4810 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4811
4812 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4813
4814 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4815
4816 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4817
4818 regex: simplify Gnulib port
4819 This simplifies the code, by removing stuff intended for porting
4820 to Gnulib but no longer needed there.
4821 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4822 uses of libc_hidden_def, weak_alias.
4823 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4824 _Restrict_ except for public-facing headers.
4825 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4826 Remove; already defined elsewhere.
4827 * posix/regex.c, posix/regex_internal.h:
4828 Use __GNUC_PREREQ instead of rolling our own.
4829 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4830
4831 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4832
4833 * benchtests/bench-strlen.c (generic_strlen): New function.
4834 (memchr_strlen): New function.
4835
4836 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4837
4838 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4839 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4840 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4841
4842 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4843
4844 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4845
4846 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4847
4848 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4849 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4850 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4851 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4852 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4853 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4854 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4855
4856 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4857
4858 [BZ #24023]
4859 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4860 PLT reference in libc.so.
4861 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4862 _Q_lltoq and _Q_qtod PLT references in libc.so.
4863
4864 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4865
4866 * benchtests/bench-memchr.c: Cleanup defines.
4867 * benchtests/bench-memcmp.c: Likewise.
4868 * benchtests/bench-memset.c: Likewise.
4869 * benchtests/bench-memset-large.c: Likewise.
4870 * benchtests/bench-memset-walk.c: Likewise.
4871 * benchtests/bench-stpcpy.c: Likewise.
4872 * benchtests/bench-stpncpy.c: Likewise.
4873 * benchtests/bench-strcat.c: Likewise.
4874 * benchtests/bench-strchr.c: Likewise.
4875 * benchtests/bench-strcmp.c: Likewise.
4876 * benchtests/bench-strcpy.c: Likewise.
4877 * benchtests/bench-strcspn.c: Likewise.
4878 * benchtests/bench-string.h: Likewise.
4879 * benchtests/bench-strlen.c: Likewise.
4880 * benchtests/bench-strncat.c: Likewise.
4881 * benchtests/bench-strncmp.c: Likewise.
4882 * benchtests/bench-strncpy.c: Likewise.
4883 * benchtests/bench-strnlen.c: Likewise.
4884 * benchtests/bench-strpbrk.c: Likewise.
4885 * benchtests/bench-strrchr.c: Likewise.
4886 * benchtests/bench-strspn.c: Likewise.
4887
4888 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4889
4890 * stdlib/longlong.h: Update from GCC.
4891
4892 [BZ #23993]
4893 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4894 * configure: Regenerated.
4895 * manual/install.texi (Tools for Compilation): Update minimum GCC
4896 version.
4897 * INSTALL: Regenerated.
4898
4899 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
4900
4901 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4902
4903 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
4904
4905 * malloc/malloc.c (mremap_chunk): Additional checks.
4906
4907 2018-12-21 Mao Han <han_mao@c-sky.com>
4908
4909 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4910 * scripts/build-many-glibcs.py: Add C-SKY targets.
4911 * sysdeps/csky/Implies: New file.
4912 * sysdeps/csky/Makefile: Likewise.
4913 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4914 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4915 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4916 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4917 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4918 * sysdeps/csky/abiv2/memmove.S: Likewise.
4919 * sysdeps/csky/abiv2/memset.S: Likewise.
4920 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4921 * sysdeps/csky/abiv2/start.S: Likewise.
4922 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4923 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4924 * sysdeps/csky/abiv2/strlen.S: Likewise.
4925 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4926 * sysdeps/csky/abort-instr.h: Likewise.
4927 * sysdeps/csky/atomic-machine.h: Likewise.
4928 * sysdeps/csky/bits/endian.h: Likewise.
4929 * sysdeps/csky/bits/fenv.h: Likewise.
4930 * sysdeps/csky/bits/link.h: Likewise.
4931 * sysdeps/csky/bits/setjmp.h: Likewise.
4932 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4933 * sysdeps/csky/bsd-setjmp.S: Likewise.
4934 * sysdeps/csky/configure: Likewise.
4935 * sysdeps/csky/configure.ac: Likewise.
4936 * sysdeps/csky/dl-machine.h: Likewise.
4937 * sysdeps/csky/dl-procinfo.c: Likewise.
4938 * sysdeps/csky/dl-procinfo.h: Likewise.
4939 * sysdeps/csky/dl-sysdep.h: Likewise.
4940 * sysdeps/csky/dl-tls.h: Likewise.
4941 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4942 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4943 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4944 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4945 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4946 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4947 * sysdeps/csky/fpu/fegetround.c: Likewise.
4948 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4949 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4950 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4951 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4952 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4953 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4954 * sysdeps/csky/fpu/fesetround.c: Likewise.
4955 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4956 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4957 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4958 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4959 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4960 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4961 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4962 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4963 * sysdeps/csky/fpu_control.h: Likewise.
4964 * sysdeps/csky/gccframe.h: Likewise.
4965 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4966 * sysdeps/csky/ldsodefs.h: Likewise.
4967 * sysdeps/csky/libc-tls.c: Likewise.
4968 * sysdeps/csky/linkmap.h: Likewise.
4969 * sysdeps/csky/machine-gmon.h: Likewise.
4970 * sysdeps/csky/memusage.h: Likewise.
4971 * sysdeps/csky/nofpu/Implies: Likewise.
4972 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4973 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4974 * sysdeps/csky/nptl/Makefile: Likewise.
4975 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4976 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4977 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4978 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4979 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4980 * sysdeps/csky/nptl/tls.h: Likewise.
4981 * sysdeps/csky/preconfigure: Likewise.
4982 * sysdeps/csky/sfp-machine.h: Likewise.
4983 * sysdeps/csky/sotruss-lib.c: Likewise.
4984 * sysdeps/csky/stackinfo.h: Likewise.
4985 * sysdeps/csky/sysdep.h: Likewise.
4986 * sysdeps/csky/tininess.h: Likewise.
4987 * sysdeps/csky/tst-audit.h: Likewise.
4988 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4989 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4990 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4991 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4992 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4993 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4994 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4995 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4996 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4997 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4998 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4999 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5000 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5001 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5002 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5003 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5004 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5005 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5006 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5007 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5008 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5009 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5010 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5011 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5012 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5013 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5014 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5015 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5016 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5017 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5018 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5019 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5020 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5021 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5022 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5023 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5024 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5025 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5026 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5027 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5028 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5029 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5030 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5031 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5032
5033 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5034
5035 * include/time.h (__difftime64): Add.
5036 * time/difftime.c (subtract): convert to 64-bit time.
5037 * time/difftime.c (__difftime64): Add.
5038 * time/difftime.c (__difftime): Wrap around __difftime64.
5039
5040 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5041
5042 * manual/examples/add.c: Remove redundant "if not".
5043 * manual/examples/argp-ex1.c: Likewise.
5044 * manual/examples/argp-ex2.c: Likewise.
5045 * manual/examples/argp-ex3.c: Likewise.
5046 * manual/examples/argp-ex4.c: Likewise.
5047 * manual/examples/atexit.c: Likewise.
5048 * manual/examples/db.c: Likewise.
5049 * manual/examples/dir.c: Likewise.
5050 * manual/examples/dir2.c: Likewise.
5051 * manual/examples/execinfo.c: Likewise.
5052 * manual/examples/filecli.c: Likewise.
5053 * manual/examples/filesrv.c: Likewise.
5054 * manual/examples/fmtmsgexpl.c: Likewise.
5055 * manual/examples/genpass.c: Likewise.
5056 * manual/examples/inetcli.c: Likewise.
5057 * manual/examples/inetsrv.c: Likewise.
5058 * manual/examples/isockad.c: Likewise.
5059 * manual/examples/longopt.c: Likewise.
5060 * manual/examples/memopen.c: Likewise.
5061 * manual/examples/memstrm.c: Likewise.
5062 * manual/examples/mkdirent.c: Likewise.
5063 * manual/examples/mkfsock.c: Likewise.
5064 * manual/examples/mkisock.c: Likewise.
5065 * manual/examples/mygetpass.c: Likewise.
5066 * manual/examples/pipe.c: Likewise.
5067 * manual/examples/popen.c: Likewise.
5068 * manual/examples/rprintf.c: Likewise.
5069 * manual/examples/search.c: Likewise.
5070 * manual/examples/select.c: Likewise.
5071 * manual/examples/setjmp.c: Likewise.
5072 * manual/examples/sigh1.c: Likewise.
5073 * manual/examples/sigusr.c: Likewise.
5074 * manual/examples/stpcpy.c: Likewise.
5075 * manual/examples/strdupa.c: Likewise.
5076 * manual/examples/strftim.c: Likewise.
5077 * manual/examples/subopt.c: Likewise.
5078 * manual/examples/swapcontext.c: Likewise.
5079 * manual/examples/termios.c: Likewise.
5080 * manual/examples/testopt.c: Likewise.
5081 * manual/examples/testpass.c: Likewise.
5082 * manual/examples/timeval_subtract.c: Likewise.
5083
5084 2018-12-19 Joseph Myers <joseph@codesourcery.com>
5085
5086 * sysdeps/x86/fpu/math_private.h: New file.
5087 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5088
5089 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5090 definition.
5091 (cosh): Likewise.
5092 (tanh): Likewise.
5093
5094 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5095
5096 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5097 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5098 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5099 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5100 fields.
5101 (_dl_show_auxv): Give a special treatment to
5102 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5103 and AT_L3_CACHEGEOMETRY.
5104 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5105 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5106 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5107 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5108
5109 2018-12-19 Andreas Schwab <schwab@suse.de>
5110
5111 * nscd/connections.c (check_use): Don't abort on invalid len.
5112
5113 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5114
5115 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5116 values in the 64bit value cases.
5117
5118 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5119
5120 * include/time.h
5121 (__ctime64_r): Add.
5122 * time/ctime_r.c
5123 (__ctime64_r): Add.
5124 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5125
5126 * include/time.h
5127 (__ctime64): Add.
5128 * time/gmtime.c
5129 (__ctime64): Add.
5130 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5131
5132 * include/time.h
5133 (__gmtime64_r): Add.
5134 * time/gmtime.c
5135 (__gmtime64_r): Add.
5136 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5137
5138 * include/time.h
5139 (__gmtime64): Add.
5140 * time/gmtime.c
5141 (__gmtime64): Add.
5142 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5143
5144 * include/time.h
5145 (__localtime64_r): Add.
5146 * time/localtime.c
5147 (__localtime64_r): Add.
5148 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5149
5150 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5151
5152 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5153 kernel_sigction definition.
5154
5155 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5156
5157 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5158
5159 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5160 __syscall_rt_sigaction.
5161 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5162 (kernel_sigaction): Use Linux generic defintion.
5163 (STUB): Define.
5164 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5165 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5166 (__syscall_rt_sigaction): Remove implementation.
5167 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5168 hidden.
5169 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5170 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5171 INTERNAL_SYSCALL): Remove definitions.
5172 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5173 action and signal set size.
5174 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5175 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5176
5177 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5178 James Clarke <jrtc27@jrtc27.com>
5179
5180 [BZ #23967]
5181 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5182 Define if SA_RESTORER is defined.
5183 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5184 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5185 already defined.
5186 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5187 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5188 definitions.
5189 (HAS_SA_RESTORER): Define.
5190 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5191 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5192 (HAS_SA_RESTORER): Define.
5193 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5194 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5195 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5196 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5197 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5198
5199 2018-12-18 Joseph Myers <joseph@codesourcery.com>
5200
5201 * sysdeps/unix/sysv/linux/kernel-features.h
5202 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5203 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5204 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5205 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5206 (__ASSUME_ST_INO_64_BIT): Likewise.
5207 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5208 <kernel-features.h>.
5209 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5210 Remove conditional code.
5211 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5212 <kernel-features.h>.
5213 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5214 Remove conditional code.
5215 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5216 <kernel-features.h>.
5217 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5218 Remove conditional code.
5219 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5220 <kernel-features.h>.
5221 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5222 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5223
5224 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5225
5226 * sysdeps/s390/multiarch/ifunc-resolve.h
5227 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5228 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5229 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5230 Delete macro definition.
5231 (s390_libc_ifunc_init): Rename to
5232 s390_libc_ifunc_expr_stfle_init.
5233 * sysdeps/s390/bzero: Use
5234 s390_libc_ifunc_expr_stfle_init instead of
5235 s390_libc_ifunc_init.
5236 * sysdeps/s390/memcmp.c: Likewise.
5237 * sysdeps/s390/memcpy.c: Likewise.
5238 * sysdeps/s390/mempcpy.c: Likewise.
5239 * sysdeps/s390/memset.c: Likewise.
5240
5241 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5242
5243 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5244 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5245
5246 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5247
5248 * sysdeps/s390/multiarch/Makefile
5249 (sysdep_routines): Remove wmemcmp variants.
5250 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5251 * sysdeps/s390/multiarch/ifunc-impl-list.c
5252 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5253 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5254 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5255 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5256 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5257 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5258 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5259 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5260
5261 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5262
5263 * sysdeps/s390/multiarch/Makefile
5264 (sysdep_routines): Remove wmemset variants.
5265 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5266 * sysdeps/s390/multiarch/ifunc-impl-list.c
5267 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5268 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5269 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5270 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5271 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5272 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5273 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5274 * sysdeps/s390/ifunc-wmemset.h: New file.
5275
5276 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5277
5278 * sysdeps/s390/multiarch/Makefile
5279 (sysdep_routines): Remove wmemchr variants.
5280 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5281 * sysdeps/s390/multiarch/ifunc-impl-list.c
5282 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5283 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5284 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5285 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5286 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5287 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5288 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5289 * sysdeps/s390/ifunc-wmemchr.h: New file.
5290
5291 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5292
5293 * sysdeps/s390/multiarch/Makefile
5294 (sysdep_routines): Remove wcscspn variants.
5295 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5296 * sysdeps/s390/multiarch/ifunc-impl-list.c
5297 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5298 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5299 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5300 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5301 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5302 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5303 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5304 * sysdeps/s390/ifunc-wcscspn.h: New file.
5305
5306 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5307
5308 * sysdeps/s390/multiarch/Makefile
5309 (sysdep_routines): Remove wcspbrk variants.
5310 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5311 * sysdeps/s390/multiarch/ifunc-impl-list.c
5312 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5313 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5314 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5315 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5316 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5317 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5318 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5319 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5320
5321 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5322
5323 * sysdeps/s390/multiarch/Makefile
5324 (sysdep_routines): Remove wcsspn variants.
5325 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5326 * sysdeps/s390/multiarch/ifunc-impl-list.c
5327 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5328 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5329 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5330 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5331 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5332 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5333 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5334 * sysdeps/s390/ifunc-wcsspn.h: New file.
5335
5336 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5337
5338 * sysdeps/s390/multiarch/Makefile
5339 (sysdep_routines): Remove wcsrchr variants.
5340 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5341 * sysdeps/s390/multiarch/ifunc-impl-list.c
5342 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5343 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5344 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5345 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5346 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5347 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5348 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5349 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5350
5351 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5352
5353 * sysdeps/s390/multiarch/Makefile
5354 (sysdep_routines): Remove wcschrnul variants.
5355 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5356 * sysdeps/s390/multiarch/ifunc-impl-list.c
5357 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5358 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5359 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5360 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5361 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5362 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5363 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5364 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5365
5366 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5367
5368 * sysdeps/s390/multiarch/Makefile
5369 (sysdep_routines): Remove wcschr variants.
5370 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5371 * sysdeps/s390/multiarch/ifunc-impl-list.c
5372 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5373 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5374 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5375 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5376 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5377 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5378 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5379 * sysdeps/s390/ifunc-wcschr.h: New file.
5380
5381 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5382
5383 * sysdeps/s390/multiarch/Makefile
5384 (sysdep_routines): Remove wcsncmp variants.
5385 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5386 * sysdeps/s390/multiarch/ifunc-impl-list.c
5387 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5388 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5389 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5390 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5391 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5392 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5393 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5394 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5395
5396 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5397
5398 * sysdeps/s390/multiarch/Makefile
5399 (sysdep_routines): Remove wcscmp variants.
5400 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5401 * sysdeps/s390/multiarch/ifunc-impl-list.c
5402 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5403 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5404 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5405 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5406 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5407 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5408 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5409 * sysdeps/s390/ifunc-wcscmp.h: New file.
5410
5411 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5412
5413 * sysdeps/s390/multiarch/Makefile
5414 (sysdep_routines): Remove wcsncat variants.
5415 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5416 * sysdeps/s390/multiarch/ifunc-impl-list.c
5417 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5418 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5419 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5420 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5421 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5422 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5423 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5424 * sysdeps/s390/ifunc-wcsncat.h: New file.
5425
5426 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5427
5428 * sysdeps/s390/multiarch/Makefile
5429 (sysdep_routines): Remove wcscat variants.
5430 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5431 * sysdeps/s390/multiarch/ifunc-impl-list.c
5432 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5433 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5434 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5435 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5436 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5437 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5438 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5439 * sysdeps/s390/ifunc-wcscat.h: New file.
5440
5441 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5442
5443 * sysdeps/s390/multiarch/Makefile
5444 (sysdep_routines): Remove wcpncpy variants.
5445 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5446 * sysdeps/s390/multiarch/ifunc-impl-list.c
5447 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5448 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5449 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5450 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5451 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5452 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5453 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5454 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5455
5456 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5457
5458 * sysdeps/s390/multiarch/Makefile
5459 (sysdep_routines): Remove wcsncpy variants.
5460 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5461 * sysdeps/s390/multiarch/ifunc-impl-list.c
5462 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5463 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5464 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5465 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5466 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5467 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5468 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5469 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5470
5471 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5472
5473 * sysdeps/s390/multiarch/Makefile
5474 (sysdep_routines): Remove wcpcpy variants.
5475 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5476 * sysdeps/s390/multiarch/ifunc-impl-list.c
5477 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5478 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5479 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5480 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5481 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5482 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5483 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5484 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5485
5486 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5487
5488 * sysdeps/s390/multiarch/Makefile
5489 (sysdep_routines): Remove wcscpy variants.
5490 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5491 * sysdeps/s390/multiarch/ifunc-impl-list.c
5492 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5493 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5494 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5495 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5496 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5497 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5498 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5499 * sysdeps/s390/ifunc-wcscpy.h: New file.
5500
5501 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5502
5503 * sysdeps/s390/multiarch/Makefile
5504 (sysdep_routines): Remove wcsnlen variants.
5505 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5506 * sysdeps/s390/multiarch/ifunc-impl-list.c
5507 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5508 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5509 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5510 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5511 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5512 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5513 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5514 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5515
5516 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5517
5518 * sysdeps/s390/multiarch/Makefile
5519 (sysdep_routines): Remove wcslen variants.
5520 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5521 * sysdeps/s390/multiarch/ifunc-impl-list.c
5522 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5523 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5524 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5525 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5526 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5527 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5528 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5529 * sysdeps/s390/ifunc-wcslen.h: New file.
5530
5531 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5532
5533 * sysdeps/s390/multiarch/Makefile
5534 (sysdep_routines): Remove memrchr variants.
5535 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5536 * sysdeps/s390/multiarch/ifunc-impl-list.c
5537 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5538 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5539 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5540 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5541 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5542 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5543 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5544 * sysdeps/s390/ifunc-memrchr.h: New file.
5545
5546 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5547
5548 * sysdeps/s390/multiarch/Makefile
5549 (sysdep_routines): Remove memccpy variants.
5550 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5551 * sysdeps/s390/multiarch/ifunc-impl-list.c
5552 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5553 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5554 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5555 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5556 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5557 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5558 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5559 * sysdeps/s390/ifunc-memccpy.h: New file.
5560
5561 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5562
5563 * sysdeps/s390/multiarch/Makefile
5564 (sysdep_routines): Remove rawmemchr variants.
5565 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5566 * sysdeps/s390/multiarch/ifunc-impl-list.c
5567 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5568 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5569 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5570 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5571 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5572 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5573 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5574 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5575
5576 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5577
5578 * sysdeps/s390/multiarch/Makefile
5579 (sysdep_routines): Remove memchr variants.
5580 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5581 * sysdeps/s390/multiarch/ifunc-impl-list.c
5582 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5583 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5584 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5585 * sysdeps/s390/multiarch/memchr.c: Move to ...
5586 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5587 * sysdeps/s390/ifunc-memchr.h: New file.
5588 * sysdeps/s390/s390-64/memchr.S: Move to ...
5589 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5590 for 31/64bit and ifunc handling.
5591 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5592 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5593 * sysdeps/s390/s390-32/memchr.S: Likewise.
5594
5595 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5596
5597 * sysdeps/s390/multiarch/Makefile
5598 (sysdep_routines): Remove strcspn variants.
5599 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5600 * sysdeps/s390/multiarch/ifunc-impl-list.c
5601 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5602 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5603 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5604 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5605 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5606 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5607 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5608 * sysdeps/s390/ifunc-strcspn.h: New file.
5609
5610 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5611
5612 * sysdeps/s390/multiarch/Makefile
5613 (sysdep_routines): Remove strpbrk variants.
5614 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5615 * sysdeps/s390/multiarch/ifunc-impl-list.c
5616 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5617 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5618 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5619 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5620 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5621 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5622 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5623 * sysdeps/s390/ifunc-strpbrk.h: New file.
5624
5625 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5626
5627 * sysdeps/s390/multiarch/Makefile
5628 (sysdep_routines): Remove strspn variants.
5629 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5630 * sysdeps/s390/multiarch/ifunc-impl-list.c
5631 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5632 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5633 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5634 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5635 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5636 * sysdeps/s390/multiarch/strspn.c: Move to ...
5637 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5638 * sysdeps/s390/ifunc-strspn.h: New file.
5639
5640 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5641
5642 * sysdeps/s390/multiarch/Makefile
5643 (sysdep_routines): Remove strrchr variants.
5644 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5645 * sysdeps/s390/multiarch/ifunc-impl-list.c
5646 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5647 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5648 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5649 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5650 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5651 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5652 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5653 * sysdeps/s390/ifunc-strrchr.h: New file.
5654
5655 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5656
5657 * sysdeps/s390/multiarch/Makefile
5658 (sysdep_routines): Remove strchrnul variants.
5659 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5660 * sysdeps/s390/multiarch/ifunc-impl-list.c
5661 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5662 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5663 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5664 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5665 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5666 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5667 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5668 * sysdeps/s390/ifunc-strchrnul.h: New file.
5669
5670 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5671
5672 * sysdeps/s390/multiarch/Makefile
5673 (sysdep_routines): Remove strchr variants.
5674 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5675 * sysdeps/s390/multiarch/ifunc-impl-list.c
5676 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5677 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5678 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5679 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5680 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5681 * sysdeps/s390/multiarch/strchr.c: Move to ...
5682 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5683 * sysdeps/s390/ifunc-strchr.h: New file.
5684
5685 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5686
5687 * sysdeps/s390/multiarch/Makefile
5688 (sysdep_routines): Remove strncmp variants.
5689 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5690 * sysdeps/s390/multiarch/ifunc-impl-list.c
5691 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5692 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5693 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5694 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5695 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5696 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5697 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5698 * sysdeps/s390/ifunc-strncmp.h: New file.
5699
5700 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5701
5702 * sysdeps/s390/multiarch/Makefile
5703 (sysdep_routines): Remove strcmp variants.
5704 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5705 * sysdeps/s390/multiarch/ifunc-impl-list.c
5706 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5707 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5708 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5709 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5710 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5711 * sysdeps/s390/ifunc-strcmp.h: New file.
5712 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5713 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5714 for 31/64bit and ifunc handling.
5715 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5716 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5717 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5718
5719 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5720
5721 * sysdeps/s390/multiarch/Makefile
5722 (sysdep_routines): Remove strncat variants.
5723 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5724 * sysdeps/s390/multiarch/ifunc-impl-list.c
5725 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5726 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5727 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5728 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5729 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5730 * sysdeps/s390/multiarch/strncat.c: Move to ...
5731 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5732 * sysdeps/s390/ifunc-strncat.h: New file.
5733
5734 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5735
5736 * sysdeps/s390/multiarch/Makefile
5737 (sysdep_routines): Remove strcat variants.
5738 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5739 * sysdeps/s390/multiarch/ifunc-impl-list.c
5740 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5741 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5742 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5743 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5744 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5745 * sysdeps/s390/multiarch/strcat.c: Move to ...
5746 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5747 * sysdeps/s390/ifunc-strcat.h: New file.
5748
5749 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5750
5751 * sysdeps/s390/multiarch/Makefile
5752 (sysdep_routines): Remove stpncpy variants.
5753 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5754 * sysdeps/s390/multiarch/ifunc-impl-list.c
5755 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5756 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5757 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5758 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5759 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5760 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5761 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5762 * sysdeps/s390/ifunc-stpncpy.h: New file.
5763
5764 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5765
5766 * sysdeps/s390/multiarch/Makefile
5767 (sysdep_routines): Remove strncpy variants.
5768 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5769 * sysdeps/s390/multiarch/ifunc-impl-list.c
5770 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5771 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5772 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5773 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5774 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5775 * sysdeps/s390/ifunc-strncpy.h: New file.
5776 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5777 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5778 and adjust ifunc handling.
5779 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5780 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5781 and adjust ifunc handling.
5782 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5783 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5784
5785 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5786
5787 * sysdeps/s390/multiarch/Makefile
5788 (sysdep_routines): Remove stpcpy variants.
5789 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5790 * sysdeps/s390/multiarch/ifunc-impl-list.c
5791 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5792 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5793 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5794 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5795 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5796 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5797 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5798 * sysdeps/s390/ifunc-stpcpy.h: New file.
5799
5800 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5801
5802 * sysdeps/s390/multiarch/Makefile
5803 (sysdep_routines): Remove strcpy variants.
5804 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5805 * sysdeps/s390/multiarch/ifunc-impl-list.c
5806 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5807 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5808 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5809 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5810 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5811 * sysdeps/s390/ifunc-strcpy.h: New file.
5812 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5813 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5814 for 31/64bit and ifunc handling.
5815 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5816 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5817 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5818
5819 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5820
5821 * sysdeps/s390/multiarch/Makefile
5822 (sysdep_routines): Remove strnlen variants.
5823 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5824 * sysdeps/s390/multiarch/ifunc-impl-list.c
5825 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5826 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5827 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5828 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5829 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5830 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5831 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5832 * sysdeps/s390/ifunc-strnlen.h: New file.
5833
5834 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5835
5836 * sysdeps/s390/multiarch/Makefile
5837 (sysdep_routines): Remove strlen variants.
5838 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5839 * sysdeps/s390/multiarch/ifunc-impl-list.c
5840 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5841 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5842 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5843 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5844 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5845 * sysdeps/s390/multiarch/strlen.c: Move to ...
5846 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5847 * sysdeps/s390/ifunc-strlen.h: New file.
5848
5849 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5850
5851 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5852 * sysdeps/s390/multiarch/ifunc-impl-list.c
5853 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5854 * sysdeps/s390/ifunc-memmem.h: New file.
5855 * sysdeps/s390/memmem.c: Likewise.
5856 * sysdeps/s390/memmem-c.c: Likewise.
5857 * sysdeps/s390/memmem-vx.c: Likewise.
5858
5859 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5860
5861 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5862 * sysdeps/s390/multiarch/ifunc-impl-list.c
5863 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5864 * sysdeps/s390/ifunc-strstr.h: New file.
5865 * sysdeps/s390/strstr.c: Likewise.
5866 * sysdeps/s390/strstr-c.c: Likewise.
5867 * sysdeps/s390/strstr-vx.c: Likewise.
5868
5869 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5870
5871 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5872 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5873 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5874 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5875 New defines.
5876 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5877 * sysdeps/s390/memmove-c.c: New file.
5878 * sysdeps/s390/memmove.c: Likewise.
5879 * sysdeps/s390/multiarch/ifunc-impl-list.c
5880 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5881
5882 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5883
5884 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5885 * sysdeps/s390/configure.ac: Add check for z13 support.
5886 * sysdeps/s390/configure: Regenerated.
5887
5888 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5889
5890 * sysdeps/s390/memcopy.h: New file.
5891
5892 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5893
5894 * sysdeps/s390/s390-32/bcopy.S: Remove.
5895 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5896
5897 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5898
5899 * sysdeps/s390/ifunc-memcpy.h: New File.
5900 * sysdeps/s390/memcpy.S: Move to ...
5901 * sysdeps/s390/memcpy-z900.S ... here.
5902 Move implementations from memcpy-s390x.s to here.
5903 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5904 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5905 Remove memcpy/mempcpy variants.
5906 * sysdeps/s390/Makefile (sysdep_routines):
5907 Add memcpy/mempcpy variants.
5908 * sysdeps/s390/multiarch/ifunc-impl-list.c
5909 (__libc_ifunc_impl_list): Adjust ifunc variants for
5910 memcpy and mempcpy.
5911 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5912 to ...
5913 * sysdeps/s390/memcpy.c: ... here.
5914 Adjust ifunc variants for memcpy.
5915 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5916 * sysdeps/s390/mempcpy.c: ... here.
5917 Adjust ifunc variants for mempcpy.
5918 * sysdeps/s390/mempcpy.S: Delete file.
5919
5920 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5921
5922 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5923 * sysdeps/s390/memcpy.S: ... here.
5924 Adjust to be usable for 31/64bit.
5925 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5926 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5927 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5928 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5929 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5930 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5931 Adjust to be usable for 31/64bit.
5932 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5933 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5934 * sysdeps/s390/multiarch/memcpy.c: ... here.
5935 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5936
5937 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5938
5939 * sysdeps/s390/ifunc-memcmp.h: New File.
5940 * sysdeps/s390/memcmp.S: Move to ...
5941 * sysdeps/s390/memcmp-z900.S ... here.
5942 Move implementations from memcmp-s390x.s to here.
5943 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5944 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5945 Remove memcmp variants.
5946 * sysdeps/s390/Makefile (sysdep_routines):
5947 Add memcmp variants.
5948 * sysdeps/s390/multiarch/ifunc-impl-list.c
5949 (__libc_ifunc_impl_list): Adjust ifunc variants for
5950 memcmp.
5951 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5952 to ...
5953 * sysdeps/s390/memcmp.c: ... here.
5954 Adjust ifunc variants for memcmp.
5955
5956 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5957
5958 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5959 * sysdeps/s390/memcmp.S: ... here.
5960 Adjust to be usable for 31/64bit.
5961 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5962 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5963 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5964 Remove memcmp.
5965 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5966 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5967 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5968 Adjust to be usable for 31/64bit.
5969 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5970 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5971 * sysdeps/s390/multiarch/memcmp.c: ... here.
5972 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5973
5974 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5975
5976 * sysdeps/s390/s390-32/bzero.S: Delete file.
5977 * sysdeps/s390/s390-64/bzero.S: Likewise.
5978 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5979 * sysdeps/s390/bzero.c: New file.
5980 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5981 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5982 * sysdeps/s390/multiarch/ifunc-impl-list.c
5983 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5984
5985 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5986
5987 * sysdeps/s390/ifunc-memset.h: New File.
5988 * sysdeps/s390/memset.S: Move to ...
5989 * sysdeps/s390/memset-z900.S ... here.
5990 Move implementations from memset-s390x.s to here.
5991 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5992 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5993 Remove memset variants.
5994 * sysdeps/s390/Makefile (sysdep_routines):
5995 Add memset variants.
5996 * sysdeps/s390/multiarch/ifunc-impl-list.c
5997 (__libc_ifunc_impl_list): Adjust ifunc variants for
5998 memset.
5999 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6000 to ...
6001 * sysdeps/s390/memset.c: ... here.
6002 Adjust ifunc variants for memset.
6003
6004 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6005
6006 * sysdeps/s390/s390-64/memset.S: Move to ...
6007 * sysdeps/s390/memset.S: ... here.
6008 Adjust to be usable for 31/64bit.
6009 * sysdeps/s390/s390-32/memset.S: Delete File.
6010 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6011 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6012 Remove memset.
6013 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6014 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6015 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6016 Adjust to be usable for 31/64bit.
6017 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6018 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6019 * sysdeps/s390/multiarch/memset.c: ... here.
6020 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6021
6022 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6023
6024 * sysdeps/s390/multiarch/ifunc-resolve.h
6025 (s390_libc_ifunc_init, s390_libc_ifunc,
6026 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6027
6028 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6029
6030 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6031 * sysdeps/s390/configure.ac: Add check for z10 support.
6032 * sysdeps/s390/configure: Regenerated.
6033
6034 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6035
6036 * sysdeps/i386/atomic-machine.h: Merged with ...
6037 * sysdeps/x86_64/atomic-machine.h: To ...
6038 * sysdeps/x86/atomic-machine.h: This. New file.
6039
6040 2018-12-18 Florian Weimer <fweimer@redhat.com>
6041
6042 Rewrite locale/gen-translit.pl in Python.
6043 * locale/Makefile (generated): Add C-translit.h.
6044 (before-compile): Add $(objpfx)C-translit.h.
6045 (C-translit.h): Move to $(objpfx). Create target directory.
6046 Build using Python script.
6047 * locale/gen-translit.py: New file.
6048 * locale/gen-translit.pl: Remove file.
6049 * locale/C-translit.h.in: Change comment character to '#' for
6050 easier parsing without a C preprocessor.
6051 * locale/C-translit.h: Remove generated file.
6052 * manual/install.texi (Tools for Compilation): Do not mention
6053 C-translit.h.
6054 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6055 Remove locale/C-translit.h.
6056 * scripts/update-copyrights: Likewise.
6057 * INSTALL: Regenerate.
6058
6059 2018-12-18 Florian Weimer <fweimer@redhat.com>
6060
6061 [BZ #23995]
6062 * localedata/locales/bi_VU: Remove executable bit from file.
6063
6064 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6065
6066 * include/time.h
6067 (__localtime64): Add.
6068 * manual/maint.texi: Document Y2038 symbol handling.
6069 * time/localtime.c
6070 (__localtime64): Add.
6071 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6072
6073 2018-12-17 Joseph Myers <joseph@codesourcery.com>
6074
6075 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6076 Do not clobber r12.
6077
6078 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6079 to allow extra macros from first or second sources.
6080 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6081 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6082 (tests-special): Add $(objpfx)tst-mman-consts.out.
6083 ($(objpfx)tst-mman-consts.out): New makefile target.
6084
6085 2018-12-17 Mao Han <han_mao@c-sky.com>
6086
6087 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6088 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6089 without stat64 system call support.
6090 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6091 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6092 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6093 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6094 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6095 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6096 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6097 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6098 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6099 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6100 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6101
6102 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6103
6104 regex: fix storage-exhaustion error
6105 [BZ #18040]
6106 * posix/regexec.c (get_subexp):
6107 Do not continue if storage is exhausted.
6108
6109 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
6110
6111 regex: fix heap-use-after-free error
6112 [BZ #18040]
6113 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6114 https://debbugs.gnu.org/32592
6115 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6116 call extend_buffers which reallocates the re_string_t internal buffer.
6117 Local variable 'buf' was not updated in such case, resulting in
6118 use-after-free.
6119 * posix/regexec.c (get_subexp): Update 'buf' after call to
6120 get_subexp_sub.
6121
6122 2018-12-15 Florian Weimer <fweimer@redhat.com>
6123
6124 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6125 (minimum_stride_size): Use it.
6126 (support_blob_repeat_allocate): Likewise.
6127
6128 2018-12-14 Joseph Myers <joseph@codesourcery.com>
6129
6130 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6131 definition.
6132 (acosh): Likewise.
6133 (atanh): Likewise.
6134
6135 2018-12-14 Florian Weimer <fweimer@redhat.com>
6136
6137 * manual/process.texi (Process Creation Concepts): Remove
6138 documentation of process (ID) lifetime. List more process
6139 creation functions. Reference Process Identification section.
6140 (Process Identification): Add information about process ID
6141 lifetime. Describe Linux thread/task IDs.
6142 * manual/signal.texi (Signaling Another Process): Mention that the
6143 signal is always sent to the process.
6144
6145 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6146
6147 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6148 and tst-ldbl-efgcvt.
6149 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6150 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6151 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6152 (fcvt_tests, output_error, output_r_error, do_test): Use the
6153 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6154 select the type of floating-point variables and arguments; to
6155 produce extra tests for double and conversion specifiers for
6156 printf; and to set the names of called functions.
6157 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6158 in tst-efgcvt-template.c.
6159 * misc/tst-ldbl-efgcvt.c: Likewise.
6160
6161 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
6162
6163 * nss/Makefile (tst-nss-test3.out): New rule.
6164
6165 2018-12-13 Joseph Myers <joseph@codesourcery.com>
6166
6167 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6168 clobber sp.
6169
6170 2018-12-13 fanjinke <fanjinke@hygon.cn>
6171
6172 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6173 "HygonGenuine".
6174
6175 2018-12-13 Andreas Schwab <schwab@suse.de>
6176
6177 [BZ #23861]
6178 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
6179 (__pthread_rwlock_rdlock_full): Update expected value for
6180 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6181 * nptl/tst-rwlock-pwn.c: New file.
6182 * nptl/Makefile (tests): Add tst-rwlock-pwn.
6183
6184 2018-12-12 Joseph Myers <joseph@codesourcery.com>
6185
6186 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6187 definition.
6188
6189 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6190
6191 * benchtests/scripts/compare_bench.py (do_compare): write to
6192 stderr in casestat is not present.
6193 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6194 stderr in case timings field is not present. Also string showing
6195 the output filename goes into the stderr.
6196
6197 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6198
6199 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6200 and ZeroDivisorError exceptions.
6201 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6202 argument to loop through user provided statistics.
6203 * benchtests/scripts/compare_bench.py (main): Include the --stats
6204 argument.
6205
6206 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6207
6208 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6209 instead of return.
6210
6211 2018-12-12 Florian Weimer <fweimer@redhat.com>
6212
6213 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6214 clause to copyright header.
6215
6216 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6217
6218 [BZ #23614]
6219 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6220 registers saved in the stack frame.
6221 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6222 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6223
6224 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6225
6226 * include/bits/monetary-ldbl.h: New file.
6227 * include/bits/printf-ldbl.h: Likewise.
6228 * include/bits/stdio-ldbl.h: Likewise.
6229 * include/bits/stdlib-ldbl.h: Likewise.
6230 * include/bits/syslog-ldbl.h: Likewise.
6231 * include/bits/wchar-ldbl.h: Likewise.
6232
6233 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6234
6235 * libio/libio.h: Remove redirection for _IO_vfprintf.
6236
6237 2018-12-11 Andreas Schwab <schwab@suse.de>
6238
6239 * Makerules: Remove all references to abilist-pattern.
6240 (update-all-abi): Simplify find expression.
6241
6242 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6243
6244 [BZ #23961]
6245 * math/auto-libm-test-in: Add new test case.
6246 * math/auto-libm-test-out-pow: Regenerated.
6247 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6248
6249 2018-12-10 DJ Delorie <dj@redhat.com>
6250
6251 [BZ #23948]
6252 * support/test-container.c: Move postclean step to before we
6253 change namespaces.
6254
6255 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6256
6257 * scripts/gen-as-const.py (main): Handle --python option.
6258 * scripts/gen-py-const.awk: Remove.
6259 * Makerules (py-const-script): Use gen-as-const.py.
6260 ($(py-const)): Likewise.
6261 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6262 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6263 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6264 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6265 ~PTHREAD_MUTEX_NO_ELISION_NP.
6266 * manual/README.pretty-printers: Update reference to
6267 gen-py-const.awk.
6268
6269 * scripts/glibcextract.py: New file.
6270 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6271 or tempfile. Import glibcexctract.
6272 (compute_c_consts): Remove. Moved to glibcextract.py.
6273 (gen_test): Update reference to compute_c_consts.
6274 (main): Likewise.
6275 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6276 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6277 * sysdeps/unix/sysv/linux/Makefile
6278 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6279 Redirect stderr as well as stdout.
6280
6281 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6282
6283 [BZ #19767]
6284 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
6285 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6286 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
6287 ALWAYS_USE_VSYSCALL.
6288 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
6289 ALWAYS_USE_VSYSCALL.
6290 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6291 ALWAYS_USE_VSYSCALL.
6292
6293 2018-12-10 Florian Weimer <fweimer@redhat.com>
6294
6295 [BZ #23972]
6296 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6297 offset instead of count for clarity. Fix typo in comment.
6298 (__old_getdents64): Keep track of previous offset. Use it to call
6299 handle_overflow.
6300 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6301 that d_off is never zero.
6302
6303 2018-12-10 Andreas Schwab <schwab@suse.de>
6304
6305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6306 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6308 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6309 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6310
6311 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6312
6313 * timezone/private.h: Update from tzcode 2018g.
6314 * timezone/tzfile.h: Likewise.
6315 * timezone/tzselect.ksh: Likewise.
6316 * timezone/zdump.c: Likewise.
6317 * timezone/zic.c: Likewise.
6318
6319 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6320
6321 [BZ #23490]
6322 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6323 (do_test): Adjust buffer size and fix format.
6324
6325 2018-12-07 DJ Delorie <dj@redhat.com>
6326
6327 [BZ #23907]
6328 * malloc/tst-tcfree3.c: New.
6329 * malloc/Makefile: Add it.
6330
6331 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6332
6333 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6334
6335 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6336
6337 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6338 used as a mask for the mode argument of __vfscanf_internal and
6339 __vfwscanf_internal.
6340 * stdio-common/vfscanf-internal.c
6341 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6342 (__strtof128_internal): Define to __wcstof128_internal.
6343 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6344 __strtof128_internal or __wcstof128_internal when the format of
6345 long double is the same as _Float128.
6346
6347 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6348
6349 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6350 * posix/confstr.c (confstr): Rename to __confstr.
6351 (__confstr): Add hidden def.
6352 (confstr): Add weak alias for __confstr.
6353 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6354 confstr.
6355
6356 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6357
6358 * NEWS: Mention getcpu.
6359 * include/sched.h (__getcpu): New libc_hidden_proto.
6360 * manual/resource.texi: Document getcpu.
6361 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6362 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6363 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6364 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6365 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6366 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6367 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6368 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6369 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6370 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6371 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6372 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6373 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6374 Likewise.
6375 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6376 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6377 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6379 Likewise.
6380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6381 Likewise.
6382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6383 Likewise.
6384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6385 Likewise.
6386 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6387 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6388 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6389 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6390 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6391 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6392 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6393 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6394 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6395 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6396 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6397 Also check getcpu.
6398
6399 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6400
6401 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6402 functions.
6403 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6404
6405 2018-12-07 Florian Weimer <fweimer@redhat.com>
6406
6407 [BZ #17405]
6408 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6409 * posix/Versions (GLIBC_2.29): Export
6410 posix_spawn_file_actions_addfchdir_np.
6411 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6412 * posix/spawn_faction_destroy.c
6413 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6414 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6415 and the field action.fchdir_action.
6416 * posix/tst-spawn-chdir.c (add_chdir): New function.
6417 (do_test): Add do_fchdir loop. Call add_chdir.
6418 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6419 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6420 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6421 posix_spawn_file_actions_addfchdir_np.
6422 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6423 Likewise.
6424 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6425 Likewise.
6426 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6427 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6428 Likewise.
6429 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6430 Likewise.
6431 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6432 Likewise.
6433 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6434 Likewise.
6435 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6436 Likewise.
6437 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6438 Likewise.
6439 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6440 (GLIBC_2.29): Likewise.
6441 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6442 (GLIBC_2.29): Likewise.
6443 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6444 (GLIBC_2.29): Likewise.
6445 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6446 (GLIBC_2.29): Likewise.
6447 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6448 Likewise.
6449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6450 (GLIBC_2.29): Likewise.
6451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6452 (GLIBC_2.29): Likewise.
6453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6454 (GLIBC_2.29): Likewise.
6455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6456 (GLIBC_2.29): Likewise.
6457 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6458 Likewise.
6459 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6460 Likewise.
6461 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6462 Likewise.
6463 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6464 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6465 Likewise.
6466 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6467 Likewise.
6468 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6469 Likewise.
6470 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6471 Likewise.
6472
6473 2018-12-06 Joseph Myers <joseph@codesourcery.com>
6474
6475 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6476 trailing whitespace removed.
6477 * scripts/config.guess: Update to version 2018-11-28.
6478 * scripts/config.sub: Update to version 2018-11-28.
6479 * scripts/install-sh: Update to version 2018-03-11.20.
6480 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6481 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6482
6483 2018-12-07 Florian Weimer <fweimer@redhat.com>
6484
6485 [BZ #23927]
6486 CVE-2018-19591
6487 * inet/tst-if_index-long.c: New file.
6488 * inet/Makefile (tests): Add tst-if_index-long.
6489
6490 2018-12-07 Florian Weimer <fweimer@redhat.com>
6491
6492 * support/check.h (support_record_failure_is_failed): Declare.
6493 * support/descriptors.h: New file.
6494 * support/support_descriptors.c: Likewise.
6495 * support/tst-support_descriptors.c: Likewise.
6496 * support/support_record_failure.c
6497 (support_record_failure_is_failed): New function.
6498 * support/Makefile (libsupport-routines): Add support_descriptors.
6499 (tests): Add tst-support_descriptors.
6500
6501 2018-12-05 Zack Weinberg <zackw@panix.com>
6502 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6503
6504 * stdio-common/vfprintf-internal.c
6505 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6506 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6507 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6508 and __no_long_double.
6509 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6510 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6511 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6512 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6513 and __nldbl_*syslog* functions.
6514 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6515 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6516 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6517 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6518 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6519 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6520 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6521 (__nldbl_vwprintf, __nldbl_wprintf):
6522 Directly call the appropriate __v*printf_internal routine, passing
6523 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6524 variable names.
6525 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6526 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6527 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6528 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6529 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6530 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6531 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6532 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6533 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6534 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6535 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6536 (__nldbl_syslog, __nldbl_vsyslog):
6537 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6538 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6539 appropriate.
6540 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6541 appropriate.
6542
6543 2018-12-05 Zack Weinberg <zackw@panix.com>
6544 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6545
6546 [BZ #11319]
6547 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6548 Moved here from debug/vsprintf_chk.c.
6549 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6550 and completion logic for the strfile to match exactly what
6551 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6552 _IO_str_init_static_internal instead of maxlen-1.
6553 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6554 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6555 __vsprintf_internal.
6556
6557 * debug/vsprintf_chk.c (__vsprintf_chk)
6558 * debug/sprintf_chk.c (__sprintf_chk):
6559 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6560 'flags' argument is positive, and slen as maxlen. No need to lock
6561 the FILE and/or construct a temporary FILE. Minimize and normalize
6562 header inclusions and variable names. Do not libc_hidden_def anything.
6563
6564 * debug/asprintf_chk.c (__asprintf_chk)
6565 * debug/dprintf_chk.c (__dprintf_chk)
6566 * debug/fprintf_chk.c (__fprintf_chk)
6567 * debug/fwprintf_chk.c (__fwprintf_chk)
6568 * debug/printf_chk.c (__printf_chk)
6569 * debug/snprintf_chk.c (__snprintf_chk)
6570 * debug/swprintf_chk.c (__swprintf_chk)
6571 * debug/vasprintf_chk.c (__vasprintf_chk)
6572 * debug/vdprintf_chk.c (__vdprintf_chk)
6573 * debug/vfprintf_chk.c (__vfprintf_chk)
6574 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6575 * debug/vprintf_chk.c (__vprintf_chk)
6576 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6577 * debug/vswprintf_chk.c (__vswprintf_chk)
6578 * debug/vwprintf_chk.c (__vwprintf_chk)
6579 * debug/wprintf_chk.c (__wprintf_chk):
6580 Directly call the corresponding vxxprintf_internal function, passing
6581 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6582 the FILE and/or construct a temporary FILE. Minimize and normalize
6583 header inclusions and variable names. Do not libc_hidden_def anything.
6584
6585 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6586 __obstack_vprintf_internal.
6587 (__obstack_vprintf_chk): Convert into a wrapper that calls
6588 __obstack_vprintf_internal (these two functions already had the
6589 same code) and move to new file...
6590 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6591 file.
6592 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6593 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6594 * debug/Makefile (routines): Add vobprintf_chk.
6595
6596 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6597 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6598 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6599 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6600 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6601 (__nldbl___obstack_vfprintf_chk):
6602 Directly call the corresponding vxxprintf_internal function,
6603 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6604 duplicate comparison of slen with 0 or maxlen from the corresponding
6605 non-__nldbl function.
6606
6607 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6608 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6609 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6610 Remove libc_hidden_proto.
6611
6612 * stdio-common/vfprintf-internal.c
6613 (__vfprintf_internal, __vfwprintf_internal):
6614 Do not check _IO_FLAGS2_FORTIFY.
6615 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6616 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6617 a comment explaining why it has the maxlen argument.
6618 (_IO_acquire_lock_clear_flags2_fct): Remove.
6619 (_IO_acquire_lock_clear_flags2): Remove.
6620 (_IO_release_lock): Remove conditional statement which will
6621 now never execute.
6622 (_IO_acquire_lock): Remove variable which is now unused.
6623 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6624 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6625
6626 * stdio-common/Makefile (tests): Add tst-bz11319 and
6627 tst-bz11319-fortify2.
6628 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6629 * stdio-common/tst-bz11319-fortify2.c: New file.
6630 * stdio-common/tst-bz11319.c: Likewise.
6631
6632 2018-12-05 Zack Weinberg <zackw@panix.com>
6633 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6634
6635 * misc/syslog.c: Include libioP.h, not iolibio.h.
6636 (__vsyslog_internal): New function with the former body of
6637 __vsyslog_chk; takes mode_flags argument same as
6638 __v*printf_internal. Call __vfprintf_internal directly.
6639
6640 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6641 Remove libc_hidden_def.
6642 (__syslog, __syslog_chk): Use __vsyslog_internal.
6643 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6644
6645 * include/sys/syslog.h: Add multiple inclusion guard.
6646 Add prototype for __vsyslog_internal.
6647 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6648
6649 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6650 Use __vsyslog_internal.
6651
6652 2018-12-05 Zack Weinberg <zackw@panix.com>
6653 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6654
6655 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6656 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6657 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6658 New functions.
6659 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6660 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6661
6662 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6663 Include wctype.h here if COMPILE_WPRINTF is defined.
6664 Define __vfprintf_internal or __vfwprintf_internal, depending
6665 on COMPILE_WPRINTF.
6666 Temporarily, on entry to this function, update mode_flags
6667 according to the environmental settings corresponding to
6668 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6669 Throughout, check mode_flags instead of __ldbl_is_dbl and
6670 _IO_FLAGS2_FORTIFY on the destination FILE.
6671 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6672 Include vfprintf-internal.c. Don't include wctype.h.
6673 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6674 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6675 and vfprintf.
6676 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6677 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6678 and vfwprintf.
6679 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6680
6681 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6682 and add mode_flags argument; use __vfprintf_internal.
6683 (__vdprintf): New function. Alias vdprintf to this.
6684 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6685 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6686 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6687 (__obstack_printf): Use __obstack_printf_internal.
6688 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6689 public aliases __vsnprintf and vsnprintf.
6690 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6691 called internally.
6692 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6693 public aliases _IO_vsprintf and vsprintf.
6694 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6695 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6696 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6697 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6698 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6699
6700 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6701 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6702 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6703 * stdio-common/printf.c: Use __vfprintf_internal.
6704
6705 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6706 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6707 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6708
6709 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6710 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6711 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6712 __vfwprintf_internal.
6713
6714 * libio/libio.h: Remove libc_hidden_proto and declaration for
6715 _IO_vfprintf.
6716 Remove declaration of _IO_vfwprintf.
6717 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6718 _IO_vsprintf.
6719 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6720 _IO_obstack_printf.
6721 * include/stdio.h: Add prototype for __vasprintf.
6722 (__vsnprintf): Remove declaration, because there are no more
6723 internal calls.
6724 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6725 declaration, because there are no more internal calls.
6726
6727 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6728 __vsnprintf_internal, instead of _IO_vsnprintf.
6729 * argp/argp-help.c (__argp_error, __argp_failure): Use
6730 __vasprintf_internal, instead of _IO_vasprintf.
6731 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6732 redefine, because there are no more internal calls.
6733
6734 2018-12-05 Zack Weinberg <zackw@panix.com>
6735 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6736
6737 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6738 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6739 Include libio/strfile.h instead of libioP.h.
6740 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6741 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6742 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6743 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6744 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6745 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6746 necessary. Do not set __no_long_double. Normalize variable names.
6747 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6748 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6749 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6750 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6751 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6752 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6753 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6754 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6755 Do not set __no_long_double. Normalize variable names.
6756
6757 2018-12-05 Zack Weinberg <zackw@panix.com>
6758 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6759
6760 * stdio-common/isoc99_scanf.c
6761 * stdio-common/isoc99_fscanf.c
6762 * stdio-common/isoc99_sscanf.c
6763 * stdio-common/isoc99_vscanf.c
6764 * stdio-common/isoc99_vfscanf.c
6765 * stdio-common/isoc99_vsscanf.c
6766 * wcsmbs/isoc99_wscanf.c
6767 * wcsmbs/isoc99_fwscanf.c
6768 * wcsmbs/isoc99_swscanf.c
6769 * wcsmbs/isoc99_vwscanf.c
6770 * wcsmbs/isoc99_vfwscanf.c
6771 * wcsmbs/isoc99_vswscanf.c:
6772 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6773 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6774 No need to lock and unlock the FILE passed to that function.
6775
6776 * stdio-common/vfscanf-internal.c
6777 (__vfscanf_internal, __vfwscanf_internal):
6778 Don't look at _IO_FLAGS2_SCANF_STD.
6779 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6780 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6781 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6782
6783 2018-12-05 Zack Weinberg <zackw@panix.com>
6784 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6785
6786 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6787 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6788 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6789 * libio/strfile.h: Add multiple inclusion guard.
6790 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6791
6792 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6793 consistency with the other version of this file.
6794 (ldbl_compat_symbol): New macro.
6795 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6796 New macro.
6797
6798 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6799 Define __vfscanf_internal or __vfwscanf_internal, depending on
6800 COMPILE_WSCANF; don't define any other public symbols.
6801 Remove errval and code to set errp.
6802 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6803 as the mode_flags argument.
6804 (encode_error, conv_error, input_error): Don't set errval.
6805 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6806 Include vfscanf-internal.c.
6807 * stdio-common/vfscanf.c: New file defining the public entry
6808 point vfscanf, which calls __vfscanf_internal.
6809 * stdio-common/vfwscanf.c: New file defining the public entry
6810 point vfwscanf, which calls __vfwscanf_internal.
6811
6812 * stdio-common/iovfscanf.c: New file.
6813 * stdio-common/iovfwscanf.c: Likewise.
6814
6815 * stdio-common/Makefile (routines): Add vfscanf-internal,
6816 vfwscanf-internal, iovfscanf, iovfwscanf.
6817 * stdio-common/Versions: Mention GLIBC_2.29, so that
6818 it can be used in SHLIB_COMPAT expressions.
6819 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6820 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6821 Call __vfscanf_internal, instead of _IO_vfscanf.
6822 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6823 _IO_vfscanf.
6824 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6825 _IO_vfwscanf.
6826
6827 * libio/iovsscanf.c: Clean up includes, when possible. Use
6828 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6829 __vfscanf_internal or __vfwscanf_internal directly.
6830 * libio/iovswscanf.c: Likewise.
6831 * libio/swscanf.c: Likewise.
6832 * libio/vscanf.c: Likewise.
6833 * libio/vwscanf.c: Likewise.
6834 * libio/wscanf.c: Likewise.
6835 * stdio-common/isoc99_fscanf.c: Likewise.
6836 * stdio-common/isoc99_scanf.c: Likewise.
6837 * stdio-common/isoc99_sscanf.c: Likewise.
6838 * stdio-common/isoc99_vfscanf.c: Likewise.
6839 * stdio-common/isoc99_vscanf.c: Likewise.
6840 * stdio-common/isoc99_vsscanf.c: Likewise.
6841 * stdio-common/scanf.c: Likewise.
6842 * stdio-common/sscanf.c: Likewise.
6843 * wcsmbs/isoc99_fwscanf.c: Likewise.
6844 * wcsmbs/isoc99_swscanf.c: Likewise.
6845 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6846 * wcsmbs/isoc99_vswscanf.c: Likewise.
6847 * wcsmbs/isoc99_vwscanf.c: Likewise.
6848 * wcsmbs/isoc99_wscanf.c: Likewise.
6849
6850 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
6851
6852 * include/time.h
6853 (__tz_compute): Replace time_t with __time64_t.
6854 (__tz_convert): Replace time_t* with __time64_t.
6855 (__offtime): Replace time_t* with __time64_t.
6856 * time/gmtime.c
6857 (__gmtime_r): Adjust call to __tz_convert.
6858 (gmtime): Likewise.
6859 * time/localtime.c
6860 (__localtime_r): Likewise.
6861 (localtime): Likewise.
6862 * time/offtime.c: Replace time_t with __time64_t.
6863 * time/tzset.c: Likewise.
6864
6865 2018-12-04 Joseph Myers <joseph@codesourcery.com>
6866
6867 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6868 dynamic linker unless [$(run-built-tests) = yes].
6869
6870 2018-12-03 DJ Delorie <dj@delorie.com>
6871
6872 * support/test-container.c (check_for_unshare_hints): New.
6873 (main): Call it if unshare fails. Add support for "su" scriptlet
6874 command.
6875
6876 2018-12-03 Joseph Myers <joseph@codesourcery.com>
6877
6878 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6879 'START' to indicate that start text should be output.
6880 (gen_test): Likewise.
6881 (main): Generate 'START' for first symbol or '--' line, or at end
6882 of input if not previously generated.
6883
6884 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6885
6886 [BZ #19767]
6887 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6888 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6889 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6890 ALWAYS_USE_VSYSCALL.
6891
6892 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6893
6894 [BZ #23913]
6895 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6896 new_argv by one.
6897
6898 2018-12-03 Carlos O'Donell <carlos@redhat.com>
6899
6900 [BZ #23923]
6901 * locale/programs/localedef.c: Declare boolean hard_links default true.
6902 (options): Add --no-hard-links option.
6903 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6904 * locale/programs/localedef.h: Declare prototype for hard_links.
6905 * locale/programs/locfile.c (write_locale_data): Don't use hard
6906 links if hard_links is false.
6907
6908 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6909
6910 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6911 cpu_features_basic.
6912 (__cache_sysconf): Likewise.
6913 (init_cacheinfo): Likewise.
6914 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6915 populate COMMON_CPUID_INDEX_80000007 and
6916 COMMON_CPUID_INDEX_80000008.
6917 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6918 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6919 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6920 (init_cpu_features): Use _Static_assert on
6921 index_arch_Fast_Unaligned_Load.
6922 __get_cpuid_registers and __get_arch_feature. Updated for
6923 cpu_features_basic. Set stepping in cpu_features.
6924 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6925 (FEATURE_INDEX_2): New.
6926 (FEATURE_INDEX_MAX): Changed to enum.
6927 (COMMON_CPUID_INDEX_D_ECX_1): New.
6928 (COMMON_CPUID_INDEX_80000007): Likewise.
6929 (COMMON_CPUID_INDEX_80000008): Likewise.
6930 (cpuid_registers): Likewise.
6931 (cpu_features_basic): Likewise.
6932 (CPU_FEATURE_USABLE): Likewise.
6933 (bit_arch_XXX_Usable): Likewise.
6934 (cpu_features): Use cpuid_registers and cpu_features_basic.
6935 (bit_arch_XXX): Reweritten.
6936 (bit_cpu_XXX): Likewise.
6937 (index_cpu_XXX): Likewise.
6938 (reg_XXX): Likewise.
6939 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6940 <support/check.h>.
6941 (CHECK_CPU_FEATURE): New.
6942 (CHECK_CPU_FEATURE_USABLE): Likewise.
6943 (cpu_kinds): Likewise.
6944 (do_test): Print vendor, family, model and stepping. Check
6945 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6946 (TEST_FUNCTION): Removed.
6947 Include <support/test-driver.c> instead of
6948 "../../test-skeleton.c".
6949 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6950 Check POPCNT instead of POPCOUNT.
6951 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6952
6953 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6954
6955 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6956 there is no element in `consts'.
6957
6958 2018-12-01 Florian Weimer <fweimer@redhat.com>
6959
6960 * support/support_capture_subprocess.c
6961 (support_capture_subprocess): Check that pipe descriptors have
6962 expected values. Close original pipe descriptors in subprocess.
6963
6964 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6965
6966 [BZ #23032]
6967 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6968 attr with __pthread_default_barrierattr.
6969 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6970 attr with __pthread_default_condattr.
6971 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6972 attr with __pthread_default_mutexattr.
6973 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6974 attr with __pthread_default_rwlockattr.
6975
6976 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6977
6978 * manual/tunables.texi (POSIX Thread Tunables): New node.
6979 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6980 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6981 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6982 __pthread_tunables_init.
6983 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6984 (max_adaptive_count): Define.
6985 * nptl/pthread_mutex_conf.c: New file.
6986 * nptl/pthread_mutex_conf.h: New file.
6987 * sysdeps/generic/adaptive_spin_count.h: New file.
6988 * sysdeps/nptl/dl-tunables.list: New file.
6989 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6990 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6991 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6992 Likewise.
6993
6994 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6995
6996 [BZ #20544]
6997 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6998 * stdlib/on_exit.c (__on_exit): Likewise.
6999 * stdlib/Makefile (tests): Add tst-bz20544.
7000 * stdlib/tst-bz20544.c: New test.
7001
7002 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7003
7004 [BZ #19767]
7005 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7006 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7007 New.
7008
7009 2018-11-30 Florian Weimer <fweimer@redhat.com>
7010
7011 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7012 Extend error logging.
7013 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7014 symbol.
7015
7016 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7017
7018 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7019 __sigismember instead of sigismember.
7020 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7021 cancel_handler): New definitions.
7022 (do_system): Use posix_spawn instead of fork and execl and remove
7023 reentracy code.
7024 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7025 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7026 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7027 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7028 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7029 * sysdeps/unix/sysv/linux/system.c: Likewise.
7030
7031 [BZ #22834]
7032 [BZ #17490]
7033 * NEWS: Add new semantic for atfork with popen and system.
7034 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7035 fork and execl.
7036
7037 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7038
7039 [BZ #23690]
7040 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7041 modification order when accessing reloc_result->addr.
7042 * include/link.h (reloc_result): Add field init.
7043 * nptl/Makefile (tests): Add tst-audit-threads.
7044 (modules-names): Add tst-audit-threads-mod1 and
7045 tst-audit-threads-mod2.
7046 Add rules to build tst-audit-threads.
7047 * nptl/tst-audit-threads-mod1.c: New file.
7048 * nptl/tst-audit-threads-mod2.c: Likewise.
7049 * nptl/tst-audit-threads.c: Likewise.
7050 * nptl/tst-audit-threads.h: Likewise.
7051
7052 2018-11-30 Joseph Myers <joseph@codesourcery.com>
7053
7054 * scripts/gen-as-const.py: New file.
7055 * scripts/gen-as-const.awk: Remove.
7056 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7057 gen-as-const.py.
7058 ($(objpfx)test-as-const-%.c): Likewise.
7059
7060 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7061
7062 * elf/dl-exception.c: Include <_itoa.h>.
7063
7064 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7065
7066 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7067 returned by __f_setlk.
7068
7069 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7070 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7071
7072 * elf/Makefile (tests-internal): Add tst-create_format1.
7073 * elf/dl-exception.c (_dl_exception_create_format): Support
7074 %x, %lx and %zx.
7075 * elf/tst-create_format1.c: New file.
7076
7077 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7078
7079 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7080 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7081 gnulib.)
7082 * argp/argp-help.c (__argp_failure): Likewise.
7083
7084 2018-11-29 Mao Han <han_mao@c-sky.com>
7085
7086 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7087 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7088 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7089 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7090 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7091 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7092 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7093 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7094 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7095 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7096 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7097 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7098 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7099 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7100 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7101 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7102 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7103 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7104 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7105 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7106 (R_CKCORE_TLS_TPOFF32): New defines.
7107
7108 2018-11-29 Florian Weimer <fweimer@redhat.com>
7109
7110 * posix/Makefile (before-compile): Remove testcases.h and
7111 ptestcases.h.
7112 (generated): Add testcases.h and ptestcases.h.
7113 (testcases.h, ptestcases.h): Move to $(objpfx).
7114 (runtests.o): Add dependency on testcases.h.
7115 (runptests.o): Add dependency on ptestcases.h.
7116 * posix/testcases.h, posix/ptestcases.h: Remove files.
7117 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7118 not touch posix/testcases.h and posix/ptestcases.h.
7119
7120 2018-11-28 Florian Weimer <fweimer@redhat.com>
7121
7122 support: Add signal support to support_capture_subprocess_check.
7123 * support/capture_subprocess.h (support_capture_subprocess_check):
7124 Adjust comment and rename parameter.
7125 * support/support_capture_subprocess_check.c
7126 (print_actual_status): New function.
7127 (support_capture_subprocess_check): Support negative
7128 status_or_signal. Call print_actual_status.
7129 * support/tst-support_capture_subprocess.c (do_test): Call
7130 support_capture_subprocess_check.
7131 * libio/tst-vtables-common.c (termination_status)
7132 (init_termination_status): Remove.
7133 (check_for_termination): Adjust support_capture_subprocess_check
7134 call.
7135 (do_test): Remove call to init_termination_status.
7136
7137 2018-11-28 Joseph Myers <joseph@codesourcery.com>
7138
7139 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7140 source directory instead of a copy.
7141 (CommandList.create_copy_dir): Remove.
7142
7143 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
7144
7145 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7146
7147 2018-11-28 Florian Weimer <fweimer@redhat.com>
7148
7149 * support/support.h (support_quote_string): Do not use str
7150 parameter name.
7151
7152 2018-11-27 Joseph Myers <joseph@codesourcery.com>
7153
7154 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7155 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7156
7157 2018-11-27 Florian Weimer <fweimer@redhat.com>
7158
7159 * support/support.h (support_quote_string): Declare.
7160 * support/support_quote_string.c: New file.
7161 * support/tst-support_quote_string.c: Likewise.
7162 * support/Makefile (libsupport-routines): Add
7163 support_quote_string.
7164 (tests): Add tst-support_quote_string.
7165
7166 2018-11-27 Florian Weimer <fweimer@redhat.com>
7167
7168 [BZ #23927]
7169 CVE-2018-19591
7170 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7171 descriptor leak in case of ENODEV error.
7172
7173 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7174
7175 [BZ #19767]
7176 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7177 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7178 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7179
7180 2018-11-26 Carlos O'Donell <carlos@redhat.com>
7181
7182 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7183 Error for unknown lines.
7184
7185 2018-11-26 Joseph Myers <joseph@codesourcery.com>
7186
7187 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7188 Touch additional files.
7189
7190 2018-11-26 Florian Weimer <fweimer@redhat.com>
7191
7192 [BZ #23907]
7193 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7194 double-frees.
7195
7196 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7197
7198 [BZ #19767]
7199 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7200 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7201 SHARED. Include sysdep.h.
7202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7203 ALWAYS_USE_VSYSCALL.
7204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7205 ALWAYS_USE_VSYSCALL.
7206
7207 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7208
7209 [BZ #19767]
7210 * nptl/Makefile (tests-static): Add tst-cond11-static.
7211 (tests): Likewise.
7212 * nptl/tst-cond11-static.c: New File.
7213 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7214 tst-affinity-static.
7215 (tests): Likewise.
7216 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7217 instead of SHARED.
7218 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7219 (USE_VSYSCALL): Likewise.
7220 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7221 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7222 instead of SHARED.
7223 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7224 SHARED.
7225 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7226 New.
7227
7228 2018-11-23 Joseph Myers <joseph@codesourcery.com>
7229
7230 [BZ #23915]
7231 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7232 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7233 Undefine.
7234
7235 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7236
7237 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7238 (tst-cet-legacy-1a-ARGS): New.
7239 ($(objpfx)tst-cet-legacy-1a): New target.
7240 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7241
7242 2018-11-22 Joseph Myers <joseph@codesourcery.com>
7243
7244 * conform/conformtest.py (CompileSubTest.__init__): Set
7245 self.run_early to False.
7246 (ExecuteSubTest.__init__): Likewise.
7247 (HeaderTests.run): Try running all non-optional, non-XFAILed
7248 compilation tests in a single execution of the compiler.
7249
7250 * conform/conformtest.py (CompileSubTest): New class.
7251 (ExecuteSubTest): Likewise.
7252 (ElementTest.run): Rename to gen_subtests. Append tests to
7253 self.subtests instead of running them.
7254 (ConstantTest.run): Likewise.
7255 (SymbolTest.run): Likewise.
7256 (TypeTest.run): Likewise.
7257 (TagTest.run): Likewise.
7258 (FunctionTest.run): Likewise.
7259 (VariableTest.run): Likewise.
7260 (MacroFunctionTest.run): Likewise.
7261 (MacroStrTest.run): Likewise.
7262 (HeaderTests.handle_test_line): Generate subtests for tests.
7263 (HeaderTests.run): Run subtests for tests.
7264
7265 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7266
7267 * math/Versions (GLIBC_2.29): Add pow.
7268 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7269 symbol.
7270 * math/w_pow.c: New file.
7271 * sysdeps/i386/fpu/w_pow.c: New file.
7272 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7273 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7274 and add necessary aliases.
7275 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7276 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7277 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7278 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7279 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7280 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7281 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7282 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7283 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7284 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7285 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7286 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7287 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7288 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7289 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7294 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7295 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7296 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7297 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7298 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7299 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7300 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7301 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7302 __pow.
7303 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7304 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7305 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7306
7307 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7308
7309 * math/Versions (GLIBC_2.29): Add log2.
7310 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7311 symbol.
7312 * math/w_log2.c: New file.
7313 * sysdeps/i386/fpu/w_log2.c: New file.
7314 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7315 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7316 and add necessary aliases.
7317 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7318 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7319 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7320 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7321 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7322 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7323 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7324 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7325 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7326 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7327 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7328 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7329 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7330 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7331 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7336 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7337 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7338 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7339 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7340 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7341 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7342 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7343
7344 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7345
7346 * math/Versions (GLIBC_2.29): Add log.
7347 * math/w_log_compat.c (__log_compat): Change to versioned compat
7348 symbol.
7349 * math/w_log.c: New file.
7350 * sysdeps/i386/fpu/w_log.c: New file.
7351 * sysdeps/ia64/fpu/e_log.S: Update.
7352 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7353 and add necessary aliases.
7354 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7355 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7356 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7357 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7358 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7359 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7360 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7361 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7362 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7363 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7364 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7365 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7366 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7367 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7368 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7373 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7374 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7375 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7376 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7377 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7378 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7379 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7380 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7381 __log.
7382 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7383 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7384 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7385 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7386
7387 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7388
7389 * math/Versions (GLIBC_2.29): Add exp and exp2.
7390 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7391 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7392 * math/w_exp_compat.c (__exp_compat): Likewise.
7393 * math/w_exp.c: New file.
7394 * math/w_exp2.c: New file.
7395 * sysdeps/i386/fpu/w_exp.c: New file.
7396 * sysdeps/i386/fpu/w_exp2.c: New file.
7397 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7398 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7399 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7400 and add necessary aliases.
7401 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7402 and add necessary aliases.
7403 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7404 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7405 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7406 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7407 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7408 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7409 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7410 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7411 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7412 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7413 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7414 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7415 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7416 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7417 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7418 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7419 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7424 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7425 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7426 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7427 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7428 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7429 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7430 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7431 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7432 (__ieee754_exp): Rename to __exp.
7433 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7434 (__ieee754_exp): Rename to __exp.
7435 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7436 (__ieee754_exp): Rename to __exp.
7437 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7438 __exp.
7439 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7440
7441 2018-11-20 DJ Delorie <dj@redhat.com>
7442
7443 * malloc/malloc.c (tcache_entry): Add key field.
7444 (tcache_put): Set it.
7445 (tcache_get): Likewise.
7446 (_int_free): Check for double free in tcache.
7447 * malloc/tst-tcfree1.c: New.
7448 * malloc/tst-tcfree2.c: New.
7449 * malloc/Makefile: Run the new tests.
7450 * manual/probes.texi: Document memory_tcache_double_free probe.
7451
7452 * dlfcn/dlerror.c (check_free): Prevent double frees.
7453
7454 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7455
7456 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7457
7458 2018-11-20 Joseph Myers <joseph@codesourcery.com>
7459
7460 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7461 in tests. Use names for format arguments.
7462 (ConstantTest.run): Likewise.
7463 (SymbolTest.run): Likewise.
7464 (TypeTest.run): Likewise.
7465 (TagTest.run): Likewise.
7466 (FunctionTest.run): Likewise.
7467 (VariableTest.run): Likewise.
7468 (MacroFunctionTest.run): Likewise.
7469 (MacroStrTest.run): Likewise.
7470 (HeaderTests.__init__): Set self.num_tests.
7471 (HeaderTests.handle_test_line): Set test.num. Increment
7472 self.num_tests.
7473
7474 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7475
7476 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7477 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7478 SEEK_SET.
7479
7480 2018-11-19 Mao Han <han_mao@c-sky.com>
7481
7482 * scripts/config.guess: Update to version 2018-08-29.
7483 * scripts/config.sub: Update to version 2018-08-29.
7484
7485 2018-11-19 Florian Weimer <fweimer@redhat.com>
7486
7487 support: Print timestamps in timeout handler.
7488 * support/support_test_main.c (print_timestamp): New function.
7489 (signal_handler): Use it to print the termination time and the
7490 time of the last write to standard output.
7491
7492 2018-11-16 Zack Weinberg <zackw@panix.com>
7493 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7494
7495 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7496 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7497 argument.
7498 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7499 and add flags argument. Check flags instead of __ldbl_is_dbl when
7500 deciding whether to set is_long_double.
7501 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7502 passing zero for flags argument.
7503 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7504
7505 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7506 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7507 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7508 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7509 variable names. Remove libc_hidden_def/libc_hidden_proto from
7510 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7511 longer called from within the library.
7512 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7513 for __nldbl___vstrfmon_l, declare it explicitly.
7514
7515 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7516
7517 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7518
7519 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7520 macros
7521 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7522 F_SETLK64, F_SETLKW64, respectively.
7523 * sysdeps/mach/hurd/f_setlk.c: New file.
7524 * sysdeps/mach/hurd/f_setlk.h: New file.
7525 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7526 f_setlk.
7527 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7528 (__libc_fcntl): Move non-flock operations to...
7529 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7530 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7531
7532 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7533
7534 mktime: DEBUG_MKTIME cleanup
7535 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7536 And it’s no longer needed now that glibc and Gnulib both have
7537 their own testing mechanisms for mktime.
7538 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7539
7540 mktime: fix non-EOVERFLOW errno handling
7541 [BZ#23789]
7542 mktime was not properly reporting failures when the underlying
7543 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7544 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7545 The problem could happen on non-glibc platforms, with Gnulib.
7546 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7547 (tm_diff): ... this simpler function, which does not change errno.
7548 All callers changed to deal with errno themselves.
7549 (ranged_convert, __mktime_internal): Return failure immediately if
7550 the underlying function reports any failure other than EOVERFLOW.
7551 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7552 gap code fails.
7553
7554 mktime: fix bug with Y2038 DST transition
7555 [BZ#23789]
7556 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7557 mishandle a DST transition that jumps over the Y2038 boundary.
7558 No such DST transitions are known so this is only a theoretical
7559 bug, but we might as well do things right.
7560
7561 mktime: make more room for overflow
7562 [BZ#23789]
7563 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7564 This is so that we can add tm_diff results to a previous guess,
7565 which will be useful in a later patch.
7566
7567 mktime: simplify offset guess
7568 [BZ#23789]
7569 * time/mktime.c (__mktime_internal): Omit excess precision.
7570
7571 mktime: new test for mktime failure
7572 [BZ#23789]
7573 Based on a test suggested by Albert Aribaud in:
7574 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7575 * time/Makefile (tests): Add bug-mktime4.
7576 * time/bug-mktime4.c: New file.
7577
7578 mktime: fix EOVERFLOW bug
7579 [BZ#23789]
7580 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7581 Include libc-config.h, not config.h, for __set_errno.
7582 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7583
7584 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7585
7586 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7587 __attribute_copy__ to copy attributes from name. Drop static qualifier
7588 to avoid warnings about leaf attribute not having effect on static
7589 functions.
7590
7591 2018-11-13 Florian Weimer <fweimer@redhat.com>
7592
7593 * malloc/malloc.c (fastbin_push_entry): New function.
7594 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7595 (REMOVE_FB): Remove macro.
7596 (_int_malloc): Use fastbin_pop_entry and reindent.
7597 (_int_free): Use fastbin_push_entry.
7598 (malloc_consolidate): Use atomic_exchange_acquire.
7599
7600 2018-11-13 Joseph Myers <joseph@codesourcery.com>
7601
7602 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7603 alias attribute, not with strong_alias.
7604
7605 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7606 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7607 with additional parameter thread.
7608 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7609 in terms of __hidden_ver2.
7610 (hidden_tls_def): New macro.
7611 (libc_hidden_tls_def): Likewise.
7612 (rtld_hidden_tls_def): Likewise.
7613 (libm_hidden_tls_def): Likewise.
7614 (libmvec_hidden_tls_def): Likewise.
7615 (libresolv_hidden_tls_def): Likewise.
7616 (librt_hidden_tls_def): Likewise.
7617 (libdl_hidden_tls_def): Likewise.
7618 (libnss_files_hidden_tls_def): Likewise.
7619 (libnsl_hidden_tls_def): Likewise.
7620 (libnss_nisplus_hidden_tls_def): Likewise.
7621 (libutil_hidden_tls_def): Likewise.
7622 (libutil_hidden_tls_def): Likweise.
7623 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7624 libc_hidden_tls_def.
7625 (__sim_disabled_exceptions_thread): Likewise.
7626 (__sim_round_mode_thread): Likewise.
7627
7628 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7629 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7630 copy attributes from name.
7631
7632 2018-11-12 Joseph Myers <joseph@codesourcery.com>
7633
7634 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7635 Use __attribute_copy__ to copy attributes from name.
7636
7637 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7638 with __hidden_ver1 call.
7639 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7640 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7641 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7642 (__cosf): Do not declare here.
7643 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7644 (__sincosf): Do not declare here.
7645 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7646 (__sinf): Do not declare here.
7647
7648 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7649 (__BIG_ENDIAN): Likewise.
7650 (__BYTE_ORDER): Likewise.
7651 (strong_alias): Likewise.
7652 (_strong_alias): Likewise.
7653
7654 2018-11-12 Florian Weimer <fweimer@redhat.com>
7655
7656 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7657 function. Move after the definition of in_smallbin_range. Do not
7658 use __builtin_expect for paths that lead to a noreturn function.
7659 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7660 because it is unclear whether this is in fact an unlikely
7661 condition.
7662 (_int_malloc, _int_free): Adjust.
7663 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7664 variables.
7665 * malloc/arena.c (heap_trim): Likewise.
7666
7667 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7668
7669 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7670 it, free it if needed.
7671 (reauthenticate): Test and use ccwdir.
7672 (child_init_port): In non-resetids case, test and use ccwdir.
7673 (child_chdir): New nested function to set ccwdir.
7674 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7675 * hurd/hurd/port.h (_hurd_port_move): New function.
7676 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7677 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
7678 * hurd/Versions (_hurd_port_move): Export function.
7679 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7680 symbol.
7681 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7682 of dtablesize for allocating dtable_cloexec.
7683
7684 2018-11-09 Martin Sebor <msebor@redhat.com>
7685
7686 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7687 it's already defined.
7688 (_strong_alias): Use __attribute_copy__.
7689 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7690 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7691 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7692 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7693 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7694 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7695 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7696 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7697 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7698 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7699 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7700 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7701 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7702 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7703 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7704 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7705 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7706 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7707 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7708
7709 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7710
7711 * misc/tst-efgcvt.c: Include support/check.h and
7712 support/test-driver.c. Do not include test-skeleton.c.
7713 (error_count): Remove.
7714 (output_error): Replace increments to error_count with calls to
7715 support_record_failure.
7716 (output_r_error): Likewise.
7717 (special): Likewise.
7718 (do_test): Unconditionally return zero.
7719 (TEST_FUNCTION): Remove.
7720
7721 2018-11-09 Joseph Myers <joseph@codesourcery.com>
7722
7723 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7724 not $(@D)/scratch.
7725 ($(linknamespace-header-tests)): Likewise.
7726
7727 * conform/conformtest.py: New file.
7728 * conform/conformtest.pl: Remove.
7729 * conform/GlibcConform.pm: Likewise.
7730 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7731 (KEYWORDS_C99): Likewise.
7732 (KEYWORDS): Likewise.
7733 * conform/Makefile ($(conformtest-header-tests)): Use
7734 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7735 option. Use --header instead of --headers.
7736 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7737 function entries.
7738 * conform/data/spawn.h-data: Likewise.
7739 * conform/data/fcntl.h-data (openat): Add space after function
7740 name.
7741 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7742 (wcscasecmp_l): Likewise.
7743 * conform/data/termios.h-data (c_cc): Add space after element
7744 name.
7745
7746 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7747
7748 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7749 instead of manually comparing and reporting mismatching strings.
7750 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7751 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7752
7753 2018-11-08 Joseph Myers <joseph@codesourcery.com>
7754
7755 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7756 __ASSUME_SOCKETCALL.
7757 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7758 (__ASSUME_SOCKETCALL): Remove.
7759 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7760 (__ASSUME_SOCKETCALL): Likewise.
7761 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7762 (__ASSUME_SOCKETCALL): Likewise.
7763 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7764 (__ASSUME_SOCKETCALL): Likewise.
7765 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7766 (__ASSUME_SOCKETCALL): Likewise.
7767 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7768 (__ASSUME_SOCKETCALL): Likewise.
7769 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7770 (__ASSUME_SOCKETCALL): Likewise.
7771
7772 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7773
7774 [BZ #23509]
7775 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7776 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7777 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7778 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7779 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7780 lc_unknown.
7781
7782 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7783
7784 [BZ #17630]
7785 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7786
7787 2018-11-07 Joseph Myers <joseph@codesourcery.com>
7788
7789 [BZ #23867]
7790 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7791 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7792 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7793 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7794
7795 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7796
7797 * support/support_test_compare_string.c
7798 (support_test_compare_string): Fix printf format.
7799
7800 2018-11-07 Florian Weimer <fweimer@redhat.com>
7801
7802 Implement TEST_COMPARE_STRING.
7803 * support/check.h (TEST_COMPARE_STRING): Define.
7804 (support_test_compare_string): Declare.
7805 * support/Makefile (libsupport-routines): Add
7806 support_test_compare_string.
7807 (tests): Add tst-test_compare_string.
7808 * support/support_test_compare_string.c: New file.
7809 * support/tst-test_compare_string.c: Likewise.
7810
7811 2018-11-07 Andreas Schwab <schwab@suse.de>
7812
7813 [BZ #23864]
7814 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7815 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7816 Undef.
7817
7818 2018-11-06 Joseph Myers <joseph@codesourcery.com>
7819
7820 [BZ #23862]
7821 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7822 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7823 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7824 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7825 Likewise.
7826
7827 2018-11-06 Florian Weimer <fweimer@redhat.com>
7828
7829 [BZ #17405]
7830 * posix/Makefile (routines): Add spawn_faction_addchdir.
7831 (tests): Add tst-spawn-chdir.
7832 * posix/Versions (GLIBC_2.29): Add
7833 posix_spawn_file_actions_addchdir_np.
7834 * posix/spawn_faction_addchdir.c: New file.
7835 * posix/spawn_faction_destroy.c
7836 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7837 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7838 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7839 chdir_action.
7840 * posix/tst-spawn-chdir.c: New file.
7841 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7842 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7843 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7844 posix_spawn_file_actions_addchdir_np.
7845 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7846 Likewise.
7847 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7848 Likewise.
7849 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7850 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7851 Likewise.
7852 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7853 Likewise.
7854 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7855 Likewise.
7856 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7857 Likewise.
7858 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7859 Likewise.
7860 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7861 Likewise.
7862 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7863 (GLIBC_2.29): Likewise.
7864 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7865 (GLIBC_2.29): Likewise.
7866 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7867 (GLIBC_2.29): Likewise.
7868 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7869 (GLIBC_2.29): Likewise.
7870 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7871 Likewise.
7872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7873 (GLIBC_2.29): Likewise.
7874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7875 (GLIBC_2.29): Likewise.
7876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7877 (GLIBC_2.29): Likewise.
7878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7879 (GLIBC_2.29): Likewise.
7880 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7881 Likewise.
7882 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7883 Likewise.
7884 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7885 Likewise.
7886 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7887 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7888 Likewise.
7889 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7890 Likewise.
7891 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7892 Likewise.
7893 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7894 Likewise.
7895
7896 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7897
7898 * misc/Makefile (tests): Add tst-ldbl-error.
7899 * misc/tst-ldbl-error.c: New file.
7900
7901 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7902
7903 * misc/Makefile (tests): Add tst-ldbl-warn.
7904 * misc/tst-ldbl-warn.c: New file.
7905
7906 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7907
7908 * argp/Makefile (tests): Add tst-ldbl-argp.
7909 * argp/tst-ldbl-argp.c: New file.
7910
7911 2018-11-05 Arjun Shankar <arjun@redhat.com>
7912
7913 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7914 __gconv_path_elem and call __gconv_get_path unconditionally.
7915
7916 2018-11-05 Andreas Schwab <schwab@suse.de>
7917
7918 [BZ #22927]
7919 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7920 creating the first helper thread failed.
7921
7922 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7923
7924 * sysdeps/mach/hurd/msync.c: New file.
7925
7926 2018-11-02 Florian Weimer <fweimer@redhat.com>
7927
7928 * support/shell-container.c (copy_func): Call
7929 support_copy_file_range instead of copy_file_range to support
7930 cross-device copies.
7931
7932 2018-11-02 Florian Weimer <fweimer@redhat.com>
7933
7934 * support/test-container.c: Include <libc-pointer-arith.h> for
7935 ALIGN_UP.
7936
7937 2018-11-01 Zong Li <zong@andestech.com>
7938
7939 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7940 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7941 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7942 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7943
7944 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7945 variable to avoid overlap arguments.
7946
7947 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7948
7949 * posix/bug-regex22.c (main): Use puts with distinct error
7950 messages for unexpected success of re_compile_pattern, not printf
7951 with NULL argument to %s.
7952
7953 * stdio-common/bug22.c: Include <libc-diag.h>.
7954 (do_test): Disable -Wformat-overflow= warnings around fprintf
7955 calls outputting more than INT_MAX characters.
7956 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7957 around printf call with NULL %s argument.
7958
7959 [BZ #23848]
7960 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7961 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7962 Undefine.
7963 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7964 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7965 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7966 (__ASSUME_SENDTO_SYSCALL): Likewise.
7967 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7968 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7969 [!__arch64__].
7970 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7971 (__ASSUME_CONNECT_SYSCALL): Likewise.
7972 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7973 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7974 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7975 Define.
7976 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7977 Likewise.
7978 [__LINUX_KERNEL_VERSION >= 0x040400]
7979 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7980 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7981 Remove.
7982 (listen): Likewise.
7983 (setsockopt): Likewise.
7984
7985 2018-11-01 Fredrik Noring <noring@nocrew.org>
7986
7987 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7988 with the ISA override.
7989
7990 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7991
7992 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7993 #endif.
7994
7995 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7996
7997 * manual/errno.texi (EIEIO): Document how translators should
7998 translate the error message.
7999 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8000 printing trailing whitespaces refused by git.
8001 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8002 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8003 * hurd/Makefile (user-interfaces): Add pci.
8004
8005 2018-10-30 Joseph Myers <joseph@codesourcery.com>
8006
8007 * conform/linknamespace.py: New file.
8008 * conform/linknamespace.pl: Remove file.
8009 * conform/Makefile ($(linknamespace-header-tests)): Use
8010 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8011 option.
8012
8013 2018-10-30 Florian Weimer <fweimer@redhat.com>
8014
8015 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8016 memory leaks.
8017
8018 2018-10-30 Florian Weimer <fweimer@redhat.com>
8019
8020 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8021
8022 2018-10-30 Florian Weimer <fweimer@redhat.com>
8023
8024 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8025 support_blob_repeat.
8026
8027 2018-10-30 Florian Weimer <fweimer@redhat.com>
8028
8029 Avoid spurious test failures in stdlib/test-bz22786.
8030 * support/Makefile (libsupport-routines): Add blob_repeat.
8031 (tests): Add tst-support_blob_repeat.
8032 * support/blob_repeat.h: New file.
8033 * support/blob_repeat.c: Likewise.
8034 * support/tst-support_blob_repeat.c: Likewise.
8035 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8036 support_blob_repeat_allocate.
8037
8038 2018-10-30 Andreas Schwab <schwab@suse.de>
8039
8040 [BZ #23125]
8041 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8042 Don't use tail call.
8043 * elf/tst-unwind-main.c: New file.
8044 * elf/Makefile (tests): Add tst-unwind-main.
8045 (CFLAGS-tst-unwind-main.c): Define.
8046
8047 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
8048
8049 [BZ #23791]
8050 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8051 n_cs_precedes to 0.
8052 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8053
8054 2018-10-29 Joseph Myers <joseph@codesourcery.com>
8055
8056 * conform/glibcconform.py: Do not import shutil.
8057 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8058 of mkdtemp.
8059
8060 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8061 critic_missing for versions before 3.4.
8062 * configure: Regenerated.
8063 * manual/install.texi (Tools for Compilation): Document
8064 requirement for Python to build glibc.
8065 * INSTALL: Regenerated.
8066 * Rules [PYTHON]: Make code unconditional.
8067 * benchtests/Makefile [PYTHON]: Likewise.
8068 * conform/Makefile [PYTHON]: Likewise.
8069 * manual/Makefile [PYTHON]: Likewise.
8070 * math/Makefile [PYTHON]: Likewise.
8071
8072 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8073
8074 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
8075 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
8076 answer to interrupt_operation, return EIEIO instead of EINTR.
8077 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8078 _hurd_intr_rpc_msg_about_to global point to start of controlled
8079 assembly snippet. Make it check canceled flag.
8080 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8081 the _hurd_intr_rpc_msg_about_to point.
8082 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8083 issue, remove cancel flag check.
8084
8085 2018-10-26 Joseph Myers <joseph@codesourcery.com>
8086
8087 * scripts/build-many-glibcs.py: Remove compatibility for missing
8088 os.cpu_count and re.fullmatch.
8089
8090 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8091
8092 [BZ #23822]
8093 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8094 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8095 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8096
8097 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8098
8099 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8100 macro.
8101
8102 2018-10-25 Florian Weimer <fweimer@redhat.com>
8103
8104 [BZ #23562]
8105 [BZ #23821]
8106 XFAIL siginfo_t si_band conform test on sparc64.
8107 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8108 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8109 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8110 (conformtest-xfail-conds): Add sparc64-linux.
8111 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8112 sparc64.
8113 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8114
8115 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8116
8117 * elf/elf.h (NT_MIPS_DSP): New macro.
8118 (NT_MIPS_FP_MODE): Likewise.
8119
8120 2018-10-25 Zong Li <zong@andestech.com>
8121
8122 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8123 name by adding the file extension (.so).
8124
8125 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8126
8127 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8128 (test-xfail-ISO11/threads.h/linknamespace,
8129 test-xfail-ISO11/threads.h/conform): Add.
8130
8131 2018-10-24 Joseph Myers <joseph@codesourcery.com>
8132
8133 * math/gen-libm-test.py: Import os.
8134 (ALL_FLOATS_MANUAL): New constant.
8135 (ALL_FLOATS_SUFFIX): Likewise.
8136 (Ulps.all_functions): New function.
8137 (real_all_ulps): Likewise.
8138 (generate_err_table_sub): Likewise.
8139 (generate_err_table): Likewise.
8140 (main): Handle -s and -m options.
8141 * manual/libm-err-tab.pl: Remove.
8142 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8143 instead of libm-err-tab.pl.
8144 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8145 != no].
8146 * manual/install.texi (Tools for Compilation): Document
8147 requirement for Python to build manual.
8148 * INSTALL: Regenerated.
8149
8150 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8151
8152 * bits/time64.h: New file.
8153 * include/time.h: Replace internal_time_t with __time64_t.
8154 * posix/bits/types (__time64_t): Add.
8155 * stdlib/Makefile: Add bits/time64.h to includes.
8156 * time/tzfile.c: Replace internal_time_t with __time64_t.
8157
8158 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8159
8160 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8161 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8162 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8163 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8164 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8165 prototype.
8166 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8167 * posix/spawn_faction_addclose.c
8168 (__posix_spawn_file_actions_addclose): Add hidden definition.
8169 * posix/spawn_faction_adddup2.c
8170 (__posix_spawn_file_actions_adddup2): Likewise.
8171 * posix/spawn_faction_destroy.c
8172 (__posix_spawn_file_actions_destroy): Likewise.
8173 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8174 Likewise.
8175 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8176 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8177 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8178 Likewise.
8179 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8180 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8181 Likewise.
8182
8183 2018-10-24 Andreas Schwab <schwab@suse.de>
8184
8185 [BZ #18093]
8186 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8187 format cache.
8188 * elf/cache.c (print_cache): Likewise.
8189
8190 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8191
8192 * bits/timesize.h: New file.
8193 * stdlib/Makefile (headers): Add bits/timesize.h.
8194 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8195 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8196 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8197 (__SEM_PAD_AFTER_TIME): Likewise.
8198 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8199 (__SHM_PAD_AFTER_TIME): Likewise.
8200 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8201 (__MSQ_PAD_BEFORE_TIME): Likewise.
8202 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8203 (__SEM_PAD_BEFORE_TIME): Likewise.
8204 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8205 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8206 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
8207 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8208 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8209 (__MSQ_PAD_BEFORE_TIME): Likewise.
8210 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8211 (__SEM_PAD_BEFORE_TIME): Likewise.
8212 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8213 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8214 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8215 (__MSQ_PAD_BEFORE_TIME): Likewise.
8216 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8217 (__SEM_PAD_BEFORE_TIME): Likewise.
8218 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8219 (__SHM_PAD_BEFORE_TIME): Likewise.
8220 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8221 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8222 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8223
8224 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8225
8226 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8227 USE_RDTSCP is defined.
8228 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8229 USE_RDTSCP is defined.
8230
8231 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8232
8233 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8234 defined.
8235
8236 [BZ #23709]
8237 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8238 independently of other flags.
8239
8240 2018-10-23 Florian Weimer <fweimer@redhat.com>
8241
8242 * time/tst-mktime2.c (N_STRINGS): Remove.
8243 (set_timezone): New function.
8244 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8245 (mktime_test1): Report localtime failure and check errno value.
8246 Use TEST_COMPARE.
8247 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8248 (do_test): Remove alarm call. Use set_timezone and array_length.
8249
8250 2018-10-23 Andreas Schwab <schwab@suse.de>
8251
8252 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8253 (__start_context): Use END instead of PSEUDO_END.
8254
8255 2018-10-22 Joseph Myers <joseph@codesourcery.com>
8256
8257 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8258 version to 4.19.
8259
8260 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8261 version to 4.19.
8262
8263 [BZ #23793]
8264 * wcsmbs/c32rtomb.c: New file.
8265 * wcsmbs/mbrtoc32.c: Likewise.
8266 * wcsmbs/tst-c32-state.c: Likewise.
8267 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8268 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8269 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8270 (tests): Add tst-c32-state.
8271 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8272 $(gen-locales).
8273
8274 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8275
8276 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8277 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8278
8279 2018-10-19 Joseph Myers <joseph@codesourcery.com>
8280
8281 [BZ #23794]
8282 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8283 pair and return 0 in that case, and use saved character to
8284 interpret following character.
8285 * wcsmbs/tst-c16-surrogate.c: New file.
8286 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8287 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8288 Depend on $(gen-locales)
8289
8290 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8291
8292 [BZ #23562]
8293 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8294 (struct siginfo_t): Use correct type for si_band.
8295
8296 2018-10-19 Florian Weimer <fweimer@redhat.com>
8297
8298 [BZ #23689]
8299 * resource/bits/types/struct_rusage.h (struct rusage): Update
8300 comment on struct. Remove extraneous field comment.
8301
8302 2018-10-18 David S. Miller <davem@davemloft.net>
8303
8304 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8305 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8306 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8307 sysdep_routines in subdir elf.
8308 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8309 version for __vdso_clock_gettime.
8310 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8311 Define.
8312 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8313 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8314
8315 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8316
8317 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8318
8319 * sysdeps/i386/init-arch.h: Removed.
8320 * sysdeps/i386/i586/init-arch.h: Likewise.
8321 * sysdeps/i386/i686/init-arch.h: Likewise.
8322 * sysdeps/i386/i686/hp-timing.h: Likewise.
8323 * sysdeps/x86_64/hp-timing.h: Likewise.
8324 * sysdeps/i386/isa.h: New file.
8325 * sysdeps/i386/i586/isa.h: Likewise.
8326 * sysdeps/i386/i686/isa.h: Likewise.
8327 * sysdeps/x86_64/isa.h: Likewise.
8328 * sysdeps/x86/hp-timing.h: New file.
8329 * sysdeps/x86/init-arch.h: Include <isa.h>.
8330
8331 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8332
8333 * math/libm-test-pow.inc (pow_test_data): Do not allow
8334 divide-by-zero exception for pow(+/- 0, -Inf).
8335
8336 2018-10-17 Zack Weinberg <zackw@panix.com>
8337
8338 * manual/job.texi (Job Control is Optional): Remove node, as
8339 job control has not been optional in quite some time.
8340 (Job Control): Mention briefly that systems older than
8341 POSIX.1-2001 might not support job control.
8342 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8343 defined on systems conforming to POSIX.1-2001.
8344
8345 2018-10-17 Arjun Shankar <arjun@redhat.com>
8346
8347 [BZ #22062]
8348 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8349 indentation.
8350 * (__gconv_read_conf): Mark function static.
8351 * (once): New static variable.
8352 * (__gconv_load_conf): New function.
8353 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8354 * iconv/gconv_db.c (once): Remove static variable.
8355 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8356 __gconv_read_conf.
8357 * (__gconv_find_transform): Likewise.
8358 * iconv/tst-iconv-mt.c: New test.
8359 * iconv/Makefile: Add tst-iconv_mt.
8360
8361 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8362
8363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8364 bits/shm-pad.h.
8365 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8366 (shmatt_t): Define as __syscall_ulong_t.
8367 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8368 and [__SHM_PAD_AFTER_TIME].
8369 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8370 Define shm_segsz and associated padding based on
8371 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8372 Use __syscall_ulong_t instead of unsigned long int.
8373 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8374 unsigned long int.
8375 [__USE_MISC] (struct shm_info): Likewise.
8376 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8377 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8378 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8379 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8380 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8381 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8382 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8383 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8384 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8385 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8386 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8387
8388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8389 bits/shmlba.h.
8390 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8391 (SHMLBA): Remove macro.
8392 (__getpagesize): Remove function declaration.
8393 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8394 <bits/shmlba.h>.
8395 (SHMLBA): Remove macro.
8396 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8397 <bits/shmlba.h>.
8398 (SHMLBA): Remove macro.
8399 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8400 <bits/shmlba.h>.
8401 (SHMLBA): Remove macro.
8402 (__getpagesize): Remove function declaration.
8403 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8404 <bits/shmlba.h>.
8405 (SHMLBA): Remove macro.
8406 (__getshmlba): Remove function declaration.
8407 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8408 (SHMLBA): Remove macro.
8409 (__getpagesize): Remove function declaration.
8410 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8411 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8412 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8413 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8414 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8415 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8416 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8417 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8418 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8419 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8420
8421 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
8422
8423 [BZ #23275]
8424 * nptl/tst-mutex10.c: New File.
8425 * nptl/Makefile (tests): Add tst-mutex10.
8426 (tst-mutex10-ENV): New variable.
8427 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8428 Ensure that elision path is used if elision is available.
8429 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8430 Likewise.
8431 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8432 Likewise.
8433 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8434 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8435 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8436 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8437 Likewise.
8438 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8439 (__pthread_mutex_cond_lock_adjust): Likewise.
8440 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8441 Likewise.
8442 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8443 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8444 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8445 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8446 Add comments.
8447 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8448 Use atomic_load_relaxed and atomic_store_relaxed.
8449 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8450 Use atomic_store_relaxed.
8451
8452 2018-10-17 Andreas Schwab <schwab@suse.de>
8453
8454 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8455 * crypt/badsalttest.c (TIMEOUT): Likewise.
8456 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8457 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8458 * io/test-lfs.c (TIMEOUT): Likewise.
8459 * libio/tst-atime.c (TIMEOUT): Likewise.
8460 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8461 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8462 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8463 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8464 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8465 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8466 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8467 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8468 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8469 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8470 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8471 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8472 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8473 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8474 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8475 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8476 * nptl/tst-once2.c (TIMEOUT): Likewise.
8477 * nptl/tst-once3.c (TIMEOUT): Likewise.
8478 * nptl/tst-once4.c (TIMEOUT): Likewise.
8479 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8480 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8481 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8482 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8483 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8484 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8485 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8486 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8487 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8488 * posix/tst-chmod.c (TIMEOUT): Likewise.
8489 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8490 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8491 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8492 * posix/tst-regex2.c (TIMEOUT): Likewise.
8493 * posix/tst-waitid.c (TIMEOUT): Likewise.
8494 * rt/tst-aio.c (TIMEOUT): Likewise.
8495 * rt/tst-aio10.c (TIMEOUT): Likewise.
8496 * rt/tst-aio4.c (TIMEOUT): Likewise.
8497 * rt/tst-aio5.c (TIMEOUT): Likewise.
8498 * rt/tst-aio6.c (TIMEOUT): Likewise.
8499 * rt/tst-aio64.c (TIMEOUT): Likewise.
8500 * rt/tst-aio7.c (TIMEOUT): Likewise.
8501 * rt/tst-aio9.c (TIMEOUT): Likewise.
8502 * rt/tst-clock.c (TIMEOUT): Likewise.
8503 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8504 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8505 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8506 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8507 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8508 * rt/tst-timer4.c (TIMEOUT): Likewise.
8509 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8510 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8511 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8512 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8513 * time/tst-ftime.c (TIMEOUT): Likewise.
8514 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8515
8516 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
8517
8518 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8519 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8520 for thunderX2.
8521
8522 2018-10-15 Joseph Myers <joseph@codesourcery.com>
8523
8524 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8525 bits/sem-pad.h.
8526 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8527 instead of <bits/wordsize.h>.
8528 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8529 and [__SEM_PAD_AFTER_TIME].
8530 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8531 __syscall_ulong_t instead of unsigned long int.
8532 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8533 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8534 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8535 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8536 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8537 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8538 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8539 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8540 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8541 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8542 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8543
8544 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8545
8546 regex: simplify by using intprops.h
8547 [BZ#23744]
8548 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8549 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8550 intprops.h defines them.
8551
8552 regex: __builtin_expect → __glibc_unlikely
8553 [BZ#23744]
8554 This refactoring was prompted by a problem when the regex code is
8555 used as part of Gnulib and when the builder’s compiler does not grok
8556 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8557 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8558 Although this refactoring does not fix the problem directly,
8559 we might as well have Gawk use the now-preferred glibc style for when
8560 __builtin_expect is unavailable.
8561 * posix/regex_internal.h (BE): Remove.
8562 All uses replaced by __glibc_unlikely or __glibc_likely.
8563
8564 2018-10-11 Joseph Myers <joseph@codesourcery.com>
8565
8566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8567 bits/msq-pad.h.
8568 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8569 instead of <bits/wordsize.h>.
8570 (msgqnum_t): Define as __syscall_ulong_t.
8571 (msglen_t): Likewise.
8572 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8573 and [__MSQ_PAD_AFTER_TIME].
8574 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8575 __syscall_ulong_t instead of unsigned long int.
8576 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8577 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8578 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8579 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8580 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8581 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8582 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8583 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8584 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8585 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8586 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8587
8588 2018-10-10 Joseph Myers <joseph@codesourcery.com>
8589
8590 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8591 (struct shmid_ds): Condition padding after time fields on
8592 [__WORDSIZE == 32].
8593 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8594 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8595 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8596
8597 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8598 (struct semid_ds): Condition padding after time fields on
8599 [__WORDSIZE == 32].
8600 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8601 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8602 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8603 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8604
8605 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8606 (struct msqid_ds): Condition padding after time fields on
8607 [__WORDSIZE == 32].
8608 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8609 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8610 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8611 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8612
8613 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8614
8615 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8616
8617 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8618
8619 * libio/tst-readline.c (TIMEOUT): Define.
8620
8621 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8622
8623 mktime fix for Gnulib + coreutils
8624 [BZ#23745]
8625 This fix affects only Gnulib. Problem discovered when
8626 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8627 * time/mktime.c:
8628 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8629 Do not define since it is not used. Defining an unused static
8630 function prompts a warning from GCC when Coreutils is configured
8631 with --enable-gcc-warnings.
8632
8633 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8634
8635 * benchtests/scripts/compare_bench.py (main): set float type on
8636 threshold argument.
8637
8638 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8639
8640 [BZ #23740]
8641 * localedata/locales/kl_GL (mon): Update, the relative case.
8642 (alt_mon): Add, fill with month names in the nominative case.
8643 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8644 (d_fmt): Set to "%b %d %Y".
8645
8646 2018-10-04 Joseph Myers <joseph@codesourcery.com>
8647
8648 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8649 <bits/mman-linux.h>.
8650 (PROT_READ): Don't define here.
8651 (PROT_WRITE): Likewise.
8652 (PROT_EXEC): Likewise.
8653 (PROT_NONE): Likewise.
8654 (PROT_GROWSDOWN): Likewise.
8655 (PROT_GROWSUP): Likewise.
8656 (MAP_SHARED): Likewise.
8657 (MAP_PRIVATE): Likewise.
8658 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8659 [__USE_MISC] (MAP_FILE): Likewise.
8660 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8661 [__USE_MISC] (MAP_ANON): Likewise.
8662 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8663 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8664 (MCL_CURRENT): Likewise.
8665 (MCL_FUTURE): Likewise.
8666 (MCL_ONFAULT): Likewise.
8667 [__USE_MISC] (MADV_NORMAL): Likewise.
8668 [__USE_MISC] (MADV_RANDOM): Likewise.
8669 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8670 [__USE_MISC] (MADV_WILLNEED): Likewise.
8671 [__USE_MISC] (MADV_DONTNEED): Likewise.
8672 [__USE_MISC] (MADV_FREE): Likewise.
8673 [__USE_MISC] (MADV_REMOVE): Likewise.
8674 [__USE_MISC] (MADV_DONTFORK): Likewise.
8675 [__USE_MISC] (MADV_DOFORK): Likewise.
8676 [__USE_MISC] (MADV_HWPOISON): Likewise.
8677 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8678 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8679 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8680 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8681 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8682 (__MAP_ANONYMOUS): New macro.
8683 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8684 <bits/mman-linux.h> inclusion.
8685 (MAP_FIXED): Likewise.
8686 (MS_SYNC): Likewise.
8687 (MS_ASYNC): Likewise.
8688 (MS_INVALIDATE): Likewise.
8689 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8690 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8691 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8692 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8693 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8694 [__USE_MISC] (MADV_DODUMP): Likewise.
8695 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8696 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8697
8698 [BZ #23735]
8699 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8700 Define.
8701 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8702 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8703 Add test-nldbl-redirect.
8704 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8705 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8706 $(objpfx)libnldbl_nonshared.a.
8707
8708 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
8709
8710 * support/support.h (support_objdir_elf_ldso): New variable.
8711 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8712 * support/Makefile (CFLAGS-support_paths.c): Add definition
8713 for OBJDIR_ELF_LDSO_PATH.
8714 * support/test-container.c (main): Search for the ld.so
8715 which is also used by the testsuite.
8716
8717 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8718
8719 [BZ #20209]
8720 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8721 should be "sap" rather than "sab".
8722 (day): Fix spelling of Sunday, should be "sapaat" rather than
8723 "sabaat".
8724
8725 2018-10-02 Joseph Myers <joseph@codesourcery.com>
8726
8727 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8728
8729 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8730
8731 [BZ #19444]
8732 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8733 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8734 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8735
8736 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8737
8738 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8739
8740 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8741
8742 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8743 Add -mrtm.
8744 (CFLAGS-elision-unlock.c): Likewise.
8745 (CFLAGS-elision-timed.c): Likewise.
8746 (CFLAGS-elision-trylock.c): Likewise.
8747 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8748
8749 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8750
8751 [BZ #21037]
8752 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8753 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8754 new fd_to_filename interface.
8755 * libio/freopen64.c (freopen64): Likewise.
8756 * libio/tst-memstream.h: New file.
8757 * libio/tst-memstream4.c: Likewise.
8758 * libio/tst-wmemstream4.c: Likewise.
8759 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8760 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8761 and remove internal dynamic allocation.
8762
8763 2018-10-01 Joseph Myers <joseph@codesourcery.com>
8764
8765 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8766 (MREMAP_MAYMOVE): Do not define here.
8767 [__USE_GNU] (MREMAP_FIXED): Likewise.
8768 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8769 (MREMAP_MAYMOVE): Define here instead.
8770 [__USE_GNU] (MREMAP_FIXED): Likewise.
8771 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8772 (MREMAP_MAYMOVE): Remove.
8773 [__USE_GNU] (MREMAP_FIXED): Likewise.
8774
8775 2018-09-28 Joseph Myers <joseph@codesourcery.com>
8776
8777 * math/fromfp.h: Do not include <math_private.h>.
8778 * math/s_cacosh_template.c: Likewise.
8779 * math/s_casin_template.c: Likewise.
8780 * math/s_casinh_template.c: Likewise.
8781 * math/s_ccos_template.c: Likewise.
8782 * math/s_cproj_template.c: Likewise.
8783 * math/s_fdim_template.c: Likewise.
8784 * math/s_fmaxmag_template.c: Likewise.
8785 * math/s_fminmag_template.c: Likewise.
8786 * math/s_iseqsig_template.c: Likewise.
8787 * math/s_ldexp_template.c: Likewise.
8788 * math/s_nextdown_template.c: Likewise.
8789 * math/w_log1p_template.c: Likewise.
8790 * math/w_scalbln_template.c: Likewise.
8791 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8792 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8793 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8794 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8795 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8796 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8797 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8798 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8799 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8800 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8801 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8802 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8803 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8804 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8805 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8806 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8807 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8812 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8813 * sysdeps/ieee754/k_standardf.c: Likewise.
8814 * sysdeps/ieee754/k_standardl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8817 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8821 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8823 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8824 * sysdeps/ieee754/s_signgam.c: Likewise.
8825 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8826 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8827 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8828 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8829 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8830 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8831 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8832 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8833 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8834 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8835 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8836 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8837 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8838 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8839 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8840 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8841 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8842 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8843 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8844 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8845 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8846 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8847 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8848 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8849 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8850 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8851 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8852 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8853 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8854 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8855 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8856 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8857 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8858 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8859 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8860 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8861 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8862 <math_private.h>.
8863 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8864
8865 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8866
8867 [BZ #23716]
8868 * sysdeps/i386/dl-cet.c: Removed.
8869 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8870 prototype.
8871 (_dl_runtime_profile_shstk): Likewise.
8872 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8873 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8874
8875 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8876
8877 [BZ #23579]
8878 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8879 do_test_with_invalid_iov): New tests.
8880 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8881 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8882 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8883 errno is ENOSYS.
8884 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8885 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8886 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8887
8888 2018-09-27 Joseph Myers <joseph@codesourcery.com>
8889
8890 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8891 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8892 (MATH_REDIRECT_BINARY_ARGS): New macro.
8893 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8894 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8895 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8896 header inclusion.
8897 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8899 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8900 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8901 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8902 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8903 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8905 Likewise.
8906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8907 Likewise.
8908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8910 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8911 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8913 Likewise.
8914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8915 Likewise.
8916 * sysdeps/generic/math_private_calls.h
8917 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8918 Do not declare and define as an inline function.
8919 * math/divtc3.c (__divtc3): Use copysign functions instead of
8920 __copysign variants.
8921 * math/multc3.c (__multc3): Likewise.
8922 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8923 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8924 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8925 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8926 Likewise.
8927 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8928 (__ieee754_yn): Likewise.
8929 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8930 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8931 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8932 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8933 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8934 (__sin): Likewise.
8935 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8936 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8937 Likewise.
8938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8939 Likewise.
8940 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8941 Likewise.
8942 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8943 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8944 Likewise.
8945 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8946 (__ieee754_ynf): Likewise.
8947 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8948 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8949 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8950 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8951 Likewise.
8952 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8953 (__ieee754_ynl): Likewise.
8954 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8955 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8956 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8957 Likewise.
8958 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8959 (__ieee754_ynl): Likewise.
8960 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8961 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8962 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8963 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8964 Likewise.
8965 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8966 (__ieee754_ynl)
8967 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8968 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8969 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8970 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8971 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8972
8973 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8974 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8975 using MATH_REDIRECT.
8976 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8977 header inclusion.
8978 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8979 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8981 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8982 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8983 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8989 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8990 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8991 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8992 (round): Redirect to __round.
8993 (__roundl): Call round instead of __round.
8994 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8995 Remove macro.
8996 [_ARCH_PWR5X] (__roundf): Likewise.
8997 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8998 functions instead of __round variants.
8999 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9000 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9001 Likewise.
9002 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9003 Likewise.
9004 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9005 Likewise.
9006 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9007 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9008 __lroundl.
9009 (__ieee754_expl): Call roundl instead of __roundl.
9010
9011 2018-09-27 Andreas Schwab <schwab@suse.de>
9012
9013 [BZ #23717]
9014 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9015 (do_test): Make st1 static.
9016
9017 2018-09-26 Andreas Schwab <schwab@suse.de>
9018
9019 [BZ #23707]
9020 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9021 * elf/Makefile (tests): Add tst-unwind-ctor.
9022 (modules-names): Add tst-unwind-ctor-lib.
9023 ($(objpfx)tst-unwind-ctor): Depend on
9024 $(objpfx)tst-unwind-ctor-lib.so.
9025
9026 2018-09-26 Joseph Myers <joseph@codesourcery.com>
9027
9028 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9029 file. Most contents moved from ....
9030 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9031 and include <bits/mman-map-flags-generic.h>.
9032 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9033 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9034 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9035 <bits/mman-map-flags-generic.h>.
9036 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9037 macros defined in <bits/mman-map-flags-generic.h>.
9038 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9039 <bits/mman-map-flags-generic.h>.
9040 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9041 defined in <bits/mman-map-flags-generic.h>.
9042
9043 2018-09-26 Andreas Schwab <schwab@suse.de>
9044
9045 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9046 output.
9047
9048 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9049 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9050 Fangrui Song <maskray@google.com>
9051
9052 [BZ #20480]
9053 * config.make.in (have-textrel_ifunc): New define.
9054 * configure.ac: Add check if linker supports textrel relocation with
9055 ifunc.
9056 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9057 tst-ifunc-textrel.
9058 (CFLAGS-tst-ifunc-textrel.c): New rule.
9059 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9060 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9061 * elf/tst-ifunc-textrel.c: New file.
9062
9063 2018-09-25 Joseph Myers <joseph@codesourcery.com>
9064
9065 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9066 <bits/procfs-prregset.h>.
9067 (prgregset_t): Define using __prgregset_t.
9068 (prfpregset_t): Define using __prfpregset_t.
9069 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9070 (sysdep_headers): Add bits/procfs-prregset.h.
9071 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9072 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9073 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9074 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9075
9076 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9077 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9078 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9079 pr_uid and pr_gid.
9080 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9081 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9082 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9083 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9084 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9085 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9086 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9087 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9088 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9089 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9090 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9091 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9092 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9093 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9094 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9095 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9096 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9097 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9098 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9099 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9100 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9101 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9102 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9103 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9104
9105 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9106 AArch64 version. Include <bits/procfs.h>.
9107 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9108 (sysdep_headers): Add bits/procfs.h.
9109 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9110 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9111 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9112 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9113 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9114 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9115 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9116 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9117 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9118 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9119 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9120 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9121 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9122 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9123 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9124 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9125 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9126
9127 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9128
9129 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9130 Use libsupport.
9131
9132 2018-09-25 Arjun Shankar <arjun@redhat.com>
9133
9134 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9135 (__gconv_max_path_elem_len): Likewise.
9136 (__gconv_nmodules): Likewise.
9137 (__gconv_get_path): Likewise.
9138 (path_elem): Move to ...
9139 * iconv/gconv_conf.c: ... here.
9140 (__gconv_get_path): Mark function static.
9141 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9142 * iconv/gconv_open.c: ... here.
9143
9144 2018-09-24 Andreas Schwab <schwab@suse.de>
9145
9146 * scripts/haveversions.awk: New file.
9147 * Makerules ($(common-objpfx)Versions.def)
9148 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9149 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9150 Move rules ...
9151 * Makeconfig ($(common-objpfx)Versions.def)
9152 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9153 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9154 ... here.
9155 ($(common-objpfx)Versions.mk): New rule. Include it.
9156 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9157 Emit error if build-obsolete-nsl = yes.
9158 * manual/install.texi (Configuring and compiling): Describe
9159 --enable-obsolete-nsl as unavaiable after version 2.28.
9160 * INSTALL: Regenerate.
9161
9162 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9163
9164 * NEWS: Add note about new TLE support on powerpc64le.
9165 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9166 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9167 __ununsed1.
9168 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9169 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9170 * sysdeps/powerpc/powerpc32/sysdep.h,
9171 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9172 ABORT_TRANSACTION): Remove macros.
9173 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9174 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9175 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9177 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9178 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9179 usage.
9180 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9181
9182 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9183
9184 [BZ #10425]
9185 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9186 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9187 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9188 which is the same as in it_IT.
9189 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9190 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9191
9192 2018-09-20 Joseph Myers <joseph@codesourcery.com>
9193
9194 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9195 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9196 using MATH_REDIRECT.
9197 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9198 header inclusion.
9199 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9200 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9201 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9202 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9203 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9209 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9210 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9211 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9212 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9213 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9214 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9215 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9217 (ceil): Redirect to __ceil.
9218 (floor): Redirect to __floor.
9219 (trunc): Redirect to __trunc.
9220 (__truncl): Call trunc instead of __trunc.
9221 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9222 Remove macro.
9223 [_ARCH_PWR5X] (__truncf): Likewise.
9224 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9225 trunc functions instead of __trunc variants.
9226 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9227 Likewise.
9228 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9229 Likewise.
9230 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9231 Likewise.
9232 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9233 Likewise.
9234
9235 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9236 [__i586__ || __pentium__].
9237 [__i486__]: Handle explicitly.
9238 (HAS_CPUID): Define to 1 if above macros are undefined.
9239 (HAS_I586): Likewise.
9240 (HAS_I686): Likewise.
9241
9242 2018-09-20 Florian Weimer <fweimer@redhat.com>
9243
9244 * misc/tst-gethostid.c: New file.
9245 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9246 (tst-gethostid): Link with -ldl.
9247
9248 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9249
9250 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9251 value from gethostbyname_r.
9252
9253 2018-09-19 Carlos O'Donell <carlos@redhat.com>
9254
9255 * stdlib/tst-setcontext9.c (f1): Rename to...
9256 (f1a): ... this.
9257 (f1b): New function implementing lower half of f1 in alternate stack.
9258
9259 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9260
9261 Fix mktime localtime offset confusion
9262 [BZ #23603]
9263 * include/time.h (__mktime_internal): The localtime offset is now
9264 of type long int instead of time_t. This is the longstanding type
9265 in glibc, and it is more than enough to represent difference
9266 between localtime and gmtime even if it is 32 bits and time_t is
9267 64. Changing it now will let us avoid an unnecessary change when
9268 time_t is widened to 64 bits on 32-bit platforms.
9269 * time/mktime-internal.h (mktime_offset_t): Now long int.
9270
9271 Merge mktime, timegm from upstream Gnulib
9272 [BZ #23603][BZ #16346]
9273 This fixes some obscure problems with integer overflow.
9274 Although it looks scary, it is almost all a byte-for-byte copy
9275 from Gnulib, and the Gnulib code has been tested reasonably well.
9276 * include/intprops.h: New file, copied from Gnulib.
9277 * include/verify.h, time/mktime-internal.h:
9278 New tiny files, simplified from Gnulib.
9279 * time/mktime.c: Copy from Gnulib. This has the following changes:
9280 Do not include config.h if DEBUG_MKTIME is nonzero.
9281 Include stdbool.h, intprops.h, verify.h.
9282 Include string.h only if needed.
9283 Include stdlib.h on MS-Windows.
9284 Include mktime-internal.h.
9285 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9286 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9287 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9288 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9289 simplify later conditionals; default the others to zero. Use
9290 these conditionals to express only the code needed on the current
9291 platform. In uses of these conditionals, explicitly spell out how
9292 _LIBC affects things, so it’s easier to review from a glibc
9293 viewpoint.
9294 (WRAPV): Remove; no longer needed now that we have
9295 systematic overflow checking.
9296 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9297 compartmentalize tzset issues. Move system-dependent tzsettish
9298 code here from mktime.
9299 (verify): Remove; now done by verify.h. All uses changed.
9300 (long_int): Use a more-conservative definition, to avoid
9301 integer overflow.
9302 (SHR): Remove, replacing with ...
9303 (shr): New function, which means we needn’t worry about side
9304 effects in args, and conversion analysis is simpler.
9305 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9306 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9307 (time_t_avg, time_t_add_ok): Remove.
9308 (mktime_min, mktime_max): New constants.
9309 (leapyear, isdst_differ): Use bool for booleans.
9310 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9311 Use long_int, not time_t, for mktime differences.
9312 (long_int_avg): New function, replacing time_t_avg.
9313 INT_ADD_WRAPV replaces time_t_add_ok.
9314 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9315 All uses changed.
9316 (convert_time): New function.
9317 (ranged_convert): Use it.
9318 (__mktime_internal): Last arg now points to mktime_offset_t, not
9319 time_t. All uses changed. This is a no-op on glibc, where
9320 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9321 offset guess. Directly check for integer overflow instead of
9322 using a heuristic that works only 99.9...% of the time.
9323 Access *OFFSET only once, to avoid an unlikely race if the
9324 compiler delays a load and if this cascades into a signed integer
9325 overflow.
9326 (mktime): Move tzsettish code to my_tzset, and move
9327 localtime_offset to within mktime so that it doesn’t
9328 need a separate ifdef.
9329 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9330 instead of localtime.
9331 * time/timegm.c: Copy from Gnulib. This has the following changes:
9332 Include mktime-internal.h.
9333 [!_LIBC]: Include config.h and time.h. Do not include
9334 timegm.h or time_r.h. Make __mktime_internal a macro,
9335 and include mktime-internal.h to get its declaration.
9336 (timegm): Temporary is now mktime_offset_t, not time_t.
9337 This affects only Gnulib.
9338
9339 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9340
9341 [BZ #23637]
9342 * string/test-strstr.c (pr23637): New function.
9343 (test_main): Add tests with longer needles.
9344 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9345 * string/strstr.c (AVAILABLE): Likewise.
9346
9347 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9348
9349 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9350
9351 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9352
9353 * NEWS: Mention pow improvements.
9354 * math/Makefile (type-double-routines): Add e_pow_log_data.
9355 * sysdeps/generic/math_private.h (__exp1): Remove.
9356 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9357 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9358 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9359 contraction.
9360 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9361 (exp_inline): Remove.
9362 (__ieee754_exp): Only single double input is handled.
9363 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9364 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9365 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9366 (__pow_log_data): Define.
9367 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9368 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9369 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9370 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9371 contraction.
9372 (CFLAGS-e_pow-fma4.c): Likewise.
9373
9374 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9375
9376 Simplify tzfile fstat failure code
9377 [BZ #21716]
9378 * time/tzfile.c (__tzfile_read): Simplify slightly.
9379
9380 Fix tzfile low-memory assertion failure
9381 [BZ #21716]
9382 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9383 when registering time zone abbreviations.
9384
9385 2018-09-18 Joseph Myers <joseph@codesourcery.com>
9386
9387 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9388 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9389 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9390 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9391 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9392 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9393 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9394 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9395 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9396
9397 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9398 __ceil.
9399 (__ceill): Call ceil instead of __ceil.
9400 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9401 __floor.
9402 (__floorl): Call floor instead of __floor.
9403
9404 2018-09-17 Joseph Myers <joseph@codesourcery.com>
9405
9406 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9407 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9408 using MATH_REDIRECT.
9409 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9410 header inclusion.
9411 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9412 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9413 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9414 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9415 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9416 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9417 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9418 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9423 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9424 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9427 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9428 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9429 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9430 Remove macro.
9431 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9432 functions instead of __ceil variants.
9433 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9434 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9435 Likewise.
9436 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9437 Likewise.
9438 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9439 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9440 Likewise.
9441 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9442 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9443
9444 [BZ #21286]
9445 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9446 constant.
9447 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9448 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9449 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9450 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9451 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9452 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9453 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9454 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9455 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9456 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9457 (ILL_BADIADDR): Remove constant.
9458 (TRAP_BRANCH): Likewise.
9459 (TRAP_HWBKPT): Likewise.
9460
9461 2018-09-14 Joseph Myers <joseph@codesourcery.com>
9462
9463 [BZ #23656]
9464 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9465 Remove [_MIPS_SIM = _ABIN32] conditional case.
9466 (struct elf_prpsinfo): Likewise.
9467
9468 [BZ #23649]
9469 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9470 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9471 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9472 Likewise.
9473 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9474 elf_prpsinfo): Likewise.
9475 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9476 elf_prpsinfo): Likewise.
9477 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9478 Likewise.
9479
9480 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9481 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9482 using MATH_REDIRECT.
9483 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9484 header inclusion.
9485 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9486 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9487 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9488 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9489 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9490 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9491 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9492 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9493 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9494 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9495 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9496 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9497 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9498 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9499 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9500 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9501 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9502 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9503 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9506 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9507 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9508 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9509 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9510 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9511 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9512 __rint variants.
9513 * math/e_scalbf.c (invalid_fn): Likewise.
9514 * math/e_scalbl.c (invalid_fn): Likewise.
9515 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9516 Likewise.
9517 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9518 Likewise.
9519 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9520 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9521 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9522 Likewise.
9523 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9524 Likewise.
9525 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9526 Likewise.
9527 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9528 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9529
9530 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9531 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9532 New macro.
9533 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9534 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9535 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9536 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9537 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9538 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9539 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9540 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9541 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9542 && !NO_MATH_REDIRECT] (floor): Likewise.
9543 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9544 header inclusion.
9545 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9546 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9547 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9548 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9549 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9550 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9552 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9557 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9558 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9561 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9562 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9563 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9564 Remove macro.
9565 [_ARCH_PWR5X] (__floorf): Likewise.
9566 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9567 inline function.
9568 [__SSE4_1__] (__floorf): Likewise.
9569 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9570 instead of __floor variants.
9571 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9572 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9573 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9574 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9575 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9576 * math/w_tgamma_compat.c (__tgamma): Likewise.
9577 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9578 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9579 * math/w_tgammal_compat.c (__tgammal): Likewise.
9580 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9581 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9582 Likewise.
9583 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9584 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9585 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9586 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9587 Likewise.
9588 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9589 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9590 Likewise.
9591 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9592 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9593 Likewise.
9594 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9595 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9596 Likewise.
9597 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9598 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9599 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9600 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9601 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9602 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9603
9604 2018-09-12 Joseph Myers <joseph@codesourcery.com>
9605
9606 * elf/Makefile (modules-names-tests): New variable.
9607
9608 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9609
9610 * NEWS: Mention log2 improvements.
9611 * math/Makefile (type-double-routines): Add e_log2_data.
9612 * sysdeps/i386/fpu/e_log2_data.c: New file.
9613 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9614 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9615 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9616 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9617 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9618 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9619
9620 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9621
9622 * NEWS: Mention log improvement.
9623 * math/Makefile (type-double-routines): Add e_log_data.
9624 * sysdeps/i386/fpu/e_log_data.c: New file.
9625 * sysdeps/ia64/fpu/e_log_data.c: New file.
9626 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9627 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9628 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9629 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9630 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9631 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9632
9633 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9634 Xuepeng Guo <xuepeng.guo@intel.com>
9635
9636 [BZ #23606]
9637 * sysdeps/i386/start.S: Include <sysdep.h>
9638 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9639 enabled. Add cfi_undefined (eip).
9640
9641 2018-09-11 Joseph Myers <joseph@codesourcery.com>
9642
9643 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9644 (MOVQ): Likewise.
9645 (EXTRACT_WORDS64): Likewise.
9646 (INSERT_WORDS64): Likewise.
9647 (GET_FLOAT_WORD): Likewise.
9648 (SET_FLOAT_WORD): Likewise.
9649
9650 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9651 argument.
9652 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9653 build, but not for second build if --full-gcc. Use
9654 --enable-languages=all for second build if --full-gcc.
9655 (get_parser): Add --full-gcc option.
9656 (main): Update call to Context.
9657
9658 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9659
9660 [BZ #10797]
9661 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9662 Single Quotation Mark).
9663 (thousands_sep): Likewise.
9664 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9665 * localedata/locales/it_IT (thousands_sep): Use ".".
9666 (grouping): Use "3;3".
9667
9668 2018-09-10 Joseph Myers <joseph@codesourcery.com>
9669
9670 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9671 x86_64 and i686 configs using --enable-obsolete-rpc
9672 --enable-obsolete-nsl.
9673
9674 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9675
9676 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9677
9678 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9679
9680 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9681 Increment size of new_argv by one.
9682
9683 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9684
9685 [BZ #17426]
9686 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9687 * localedata/locales/ar_IN (d_fmt): Likewise.
9688 * localedata/locales/bhb_IN (d_fmt): Likewise.
9689 * localedata/locales/bho_IN (d_fmt): Likewise.
9690 * localedata/locales/bn_BD (d_fmt): Likewise.
9691 * localedata/locales/bn_IN (d_fmt): Likewise.
9692 * localedata/locales/doi_IN (d_fmt): Likewise.
9693 * localedata/locales/gu_IN (d_fmt): Likewise.
9694 * localedata/locales/hi_IN (d_fmt): Likewise.
9695 * localedata/locales/hne_IN (d_fmt): Likewise.
9696 * localedata/locales/kn_IN (d_fmt): Likewise.
9697 * localedata/locales/mag_IN (d_fmt): Likewise.
9698 * localedata/locales/mai_IN (d_fmt): Likewise.
9699 * localedata/locales/mjw_IN (d_fmt): Likewise.
9700 * localedata/locales/ml_IN (d_fmt): Likewise.
9701 * localedata/locales/mni_IN (d_fmt): Likewise.
9702 * localedata/locales/mr_IN (d_fmt): Likewise.
9703 * localedata/locales/pa_IN (d_fmt): Likewise.
9704 * localedata/locales/raj_IN (d_fmt): Likewise.
9705 * localedata/locales/sat_IN (d_fmt): Likewise.
9706 * localedata/locales/sd_IN (d_fmt): Likewise.
9707 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9708 * localedata/locales/ta_IN (d_fmt): Likewise.
9709 * localedata/locales/ta_LK (d_fmt): Likewise.
9710 * localedata/locales/tcy_IN (d_fmt): Likewise.
9711 * localedata/locales/ur_IN (d_fmt): Likewise.
9712
9713 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9714 * localedata/locales/ks_IN (d_fmt): Likewise.
9715 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9716
9717 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9718 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9719 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9720 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9721
9722 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9723
9724 * NEWS: Mention exp and exp2 improvements.
9725 * math/Makefile (libm-support): Remove t_exp.
9726 (type-double-routines): Add math_err and e_exp_data.
9727 * sysdeps/aarch64/libm-test-ulps: Update.
9728 * sysdeps/arm/libm-test-ulps: Update.
9729 * sysdeps/i386/fpu/e_exp_data.c: New file.
9730 * sysdeps/i386/fpu/math_err.c: New file.
9731 * sysdeps/i386/fpu/t_exp.c: Remove.
9732 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9733 * sysdeps/ia64/fpu/math_err.c: New file.
9734 * sysdeps/ia64/fpu/t_exp.c: Remove.
9735 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9736 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9737 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9738 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9739 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9740 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9741 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9742 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9743 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9744 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9745 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9746 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9747 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9748 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9751
9752 2018-09-05 Joseph Myers <joseph@codesourcery.com>
9753
9754 * sysdeps/alpha/fpu/math_private.h: Remove.
9755
9756 * sysdeps/generic/math_private.h
9757 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9758 Move this inline function ....
9759 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9760 * include/math.h [!_ISOMAC]: To here....
9761
9762 2018-09-04 Joseph Myers <joseph@codesourcery.com>
9763
9764 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9765 code ....
9766 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9767 * include/fenv.h [!_ISOMAC]: ... to here.
9768 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9769 (feraiseexcept): Likewise.
9770 * math/fromfp.h: Do not include <fenv_private.h>.
9771 * math/s_cexp_template.c: Likewise.
9772 * math/s_csin_template.c: Likewise.
9773 * math/s_csinh_template.c: Likewise.
9774 * math/s_ctan_template.c: Likewise.
9775 * math/s_ctanh_template.c: Likewise.
9776 * math/s_iseqsig_template.c: Likewise.
9777 * math/w_acos_compat.c: Likewise.
9778 * math/w_acosf_compat.c: Likewise.
9779 * math/w_acosl_compat.c: Likewise.
9780 * math/w_asin_compat.c: Likewise.
9781 * math/w_asinf_compat.c: Likewise.
9782 * math/w_asinl_compat.c: Likewise.
9783 * math/w_j0_compat.c: Likewise.
9784 * math/w_j0f_compat.c: Likewise.
9785 * math/w_j0l_compat.c: Likewise.
9786 * math/w_j1_compat.c: Likewise.
9787 * math/w_j1f_compat.c: Likewise.
9788 * math/w_j1l_compat.c: Likewise.
9789 * math/w_jn_compat.c: Likewise.
9790 * math/w_jnf_compat.c: Likewise.
9791 * math/w_log10_compat.c: Likewise.
9792 * math/w_log10f_compat.c: Likewise.
9793 * math/w_log10l_compat.c: Likewise.
9794 * math/w_log2_compat.c: Likewise.
9795 * math/w_log2f_compat.c: Likewise.
9796 * math/w_log2l_compat.c: Likewise.
9797 * math/w_log_compat.c: Likewise.
9798 * math/w_logf_compat.c: Likewise.
9799 * math/w_logl_compat.c: Likewise.
9800 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9801 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9802 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9803 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9804 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9805 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9806 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9807 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9808 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9809 * sysdeps/ieee754/k_standardl.c: Likewise.
9810 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9811 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9812 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9813 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9814 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9815 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9816 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9817 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9818 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9819 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9820 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9821 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9822 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9823 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9824 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9825 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9826 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9827 * math/w_ilogb_template.c: Include <fenv.h> instead of
9828 <fenv_private.h>.
9829 * math/w_llogb_template.c: Likewise.
9830 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9831 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9832
9833 2018-09-03 Joseph Myers <joseph@codesourcery.com>
9834
9835 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9836 * math/fromfp.h: Include <fenv_private.h>.
9837 * math/math-narrow.h: Likewise.
9838 * math/s_cexp_template.c: Likewise.
9839 * math/s_csin_template.c: Likewise.
9840 * math/s_csinh_template.c: Likewise.
9841 * math/s_ctan_template.c: Likewise.
9842 * math/s_ctanh_template.c: Likewise.
9843 * math/s_iseqsig_template.c: Likewise.
9844 * math/w_acos_compat.c: Likewise.
9845 * math/w_acosf_compat.c: Likewise.
9846 * math/w_acosl_compat.c: Likewise.
9847 * math/w_asin_compat.c: Likewise.
9848 * math/w_asinf_compat.c: Likewise.
9849 * math/w_asinl_compat.c: Likewise.
9850 * math/w_ilogb_template.c: Likewise.
9851 * math/w_j0_compat.c: Likewise.
9852 * math/w_j0f_compat.c: Likewise.
9853 * math/w_j0l_compat.c: Likewise.
9854 * math/w_j1_compat.c: Likewise.
9855 * math/w_j1f_compat.c: Likewise.
9856 * math/w_j1l_compat.c: Likewise.
9857 * math/w_jn_compat.c: Likewise.
9858 * math/w_jnf_compat.c: Likewise.
9859 * math/w_llogb_template.c: Likewise.
9860 * math/w_log10_compat.c: Likewise.
9861 * math/w_log10f_compat.c: Likewise.
9862 * math/w_log10l_compat.c: Likewise.
9863 * math/w_log2_compat.c: Likewise.
9864 * math/w_log2f_compat.c: Likewise.
9865 * math/w_log2l_compat.c: Likewise.
9866 * math/w_log_compat.c: Likewise.
9867 * math/w_logf_compat.c: Likewise.
9868 * math/w_logl_compat.c: Likewise.
9869 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9870 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9871 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9872 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9874 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9875 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9876 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9877 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9878 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9879 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9880 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9881 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9882 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9883 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9884 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9885 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9886 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9887 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9888 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9889 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9890 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9891 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9892 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9894 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9895 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9896 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9897 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9898 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9899 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9900 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9901 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9902 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9903 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9904 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9905 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9906 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9907 * sysdeps/ieee754/k_standardl.c: Likewise.
9908 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9909 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9910 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9911 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9912 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9913 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9914 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9915 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9916 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9917 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9918 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9919 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9921 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9922 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9923 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9925 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9926 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9927 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9928 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9929 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9930 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9931 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9932 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9933 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9934 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9935 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9936 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9937 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9938 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9939 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9940 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9941 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9942 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9943 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9944 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9945 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9946 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9947 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9948 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9949 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9950 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9951 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9952 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9953 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9954 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9955 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9956 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9957 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9958 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9959 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9960 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9961 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9962 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9963 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9964 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9965 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9966 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9967 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9968 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9969 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9970 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9971 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9972 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9973 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9974 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9975 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9976 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9977 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9978 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9979
9980 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9981
9982 [BZ #20271]
9983 * include/stdio.h (__libc_fatal): Mention newline in comment.
9984 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9985 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9986 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9987 * nss/nsswitch.c (__nss_next2): Likewise.
9988 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9989 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9990 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9991 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9992 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9993 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9994 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9995 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9996 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9997 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9998 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9999 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10000 (__netlink_assert_response): Likewise.
10001
10002 2018-08-31 Joseph Myers <joseph@codesourcery.com>
10003
10004 * conform/glibcconform.py: New file.
10005 * conform/list-header-symbols.py: Likewise.
10006 * conform/list-header-symbols.pl: Remove.
10007 * conform/Makefile (tests-special): Only add linknamespace tests
10008 if [PYTHON].
10009 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10010
10011 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10012
10013 [BZ #23597]
10014 * support/Makefile (libsupport-routines): Add
10015 support_copy_file_range and xcopy_file_range.
10016 * support/support.h: Include <sys/types.h>.
10017 (support_copy_file_range): New prototype.
10018 * support/support_copy_file_range.c: New file. Copied and
10019 modified from io/copy_file_range-compat.c.
10020 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10021 instead of copy_file_range.
10022 * support/xcopy_file_range.c: New file.
10023 * support/xunistd.h (xcopy_file_range): New prototype.
10024
10025 2018-08-30 Carlos O'Donell <carlos@redhat.com>
10026
10027 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10028 xpthread_create and xpthread_join.
10029
10030 2018-08-30 Florian Weimer <fweimer@redhat.com>
10031
10032 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10033
10034 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
10035
10036 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10037 if malloc fails.
10038
10039 2018-08-29 Joseph Myers <joseph@codesourcery.com>
10040
10041 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10042 and minus_oflow as non-finite.
10043
10044 2018-08-28 Joseph Myers <joseph@codesourcery.com>
10045
10046 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10047 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10048 moved to fenv_private.h except for ...
10049 (TOINT_INTRINSICS): Kept in math_private.h.
10050 (roundtoint): Likewise.
10051 (converttoint): Likewise.
10052 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10053 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10054 * sysdeps/arm/math_private.h: Remove.
10055 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10056 ....
10057 * sysdeps/generic/math_private.h: ... this file. Include
10058 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10059 Include <fenv_private.h>. Remove functions and macros moved to
10060 fenv_private.h.
10061 * sysdeps/i386/fpu/math_private.h: Remove.
10062 * sysdeps/mips/math_private.h: Move to ....
10063 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10064 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10065 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10066 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10067 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10068 * sysdeps/powerpc/fpu/math_private.h: Do not include
10069 <fenv_private.h>.
10070 * sysdeps/riscv/rvf/math_private.h: Move to ....
10071 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10072 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10073 <fenv_private.h>.
10074 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10075 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10076 * sysdeps/sparc/fpu/math_private.h: Remove.
10077 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10078 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10079 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10080 <fenv_private.h>.
10081 * sysdeps/x86_64/fpu/math_private.h: Do not include
10082 <sysdeps/i386/fpu/fenv_private.h>.
10083
10084 2018-08-28 Florian Weimer <fweimer@redhat.com>
10085
10086 [BZ #23578]
10087 * posix/tst-regcomp-truncated.c: New file.
10088 * posix/Makefile (tests): Add it.
10089 (tst-regcomp-truncated.out): Depend on generated locales.
10090
10091 2018-08-28 Florian Weimer <fweimer@redhat.com>
10092
10093 * support/test-container.c (main): Treat unshare failure with
10094 EPERM as an unsupported test.
10095
10096 2018-08-28 Florian Weimer <fweimer@redhat.com>
10097
10098 [BZ #23520]
10099 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10100 * nscd/netgroupcache.c
10101 (addgetnetgrentX): Add tofreep parameter. Do not free
10102 heap-allocated buffer.
10103 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10104 (addgetnetgrentX_ignore): New function.
10105 (addgetnetgrent): Call it.
10106 (readdgetnetgrent): Likewise.
10107
10108 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10109
10110 * string/memmem.c: Use memcmp for first match.
10111
10112 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10113
10114 [BZ #17426]
10115 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10116
10117 2018-08-27 DJ Delorie <dj@redhat.com>
10118
10119 * support/Makefile (others): Don't list programs explicitly as a
10120 dependency of "others".
10121
10122 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10123
10124 * sysdeps/generic/math-tests-trap-force.h: New file.
10125 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10126 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10127 * sysdeps/powerpc/math-tests.h: Remove file.
10128 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10129
10130 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10131 Torvald Riegel <triegel@redhat.com>
10132
10133 [BZ #23538]
10134 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10135 Update r to include the set wake-request flag if waiters are
10136 remaining after spinning.
10137
10138 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10139
10140 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10141
10142 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10143
10144 [BZ #23578]
10145 regex: fix uninitialized memory access
10146 I introduced this bug into gnulib in commit
10147 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10148 eventually it was merged into glibc. The bug was found by
10149 project-repo <bugs@feusi.co> and reported here:
10150 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10151 Diagnosis and draft fix reported by Assaf Gordon here:
10152 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10153 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10154 * posix/regex_internal.c (build_wcs_upper_buffer):
10155 Fix bug when mbrtowc returns 0.
10156
10157 2018-08-24 Carlos O'Donell <carlos@redhat.com>
10158
10159 * po/be.po: Update translation.
10160
10161 2018-08-24 DJ Delorie <dj@delorie.com>
10162
10163 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10164 $(libunwind).
10165
10166 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10167
10168 [BZ #23400]
10169 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10170 create temporary files in source tree.
10171
10172 2018-08-24 Joseph Myers <joseph@codesourcery.com>
10173
10174 * sysdeps/generic/math-tests-trap.h: New file.
10175 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10176 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10177 * sysdeps/aarch64/math-tests.h: Remove file.
10178 * sysdeps/arm/math-tests.h: Likewise.
10179 * sysdeps/riscv/math-tests.h: Likewise.
10180 * sysdeps/aarch64/math-tests-trap.h: New file.
10181 * sysdeps/arm/math-tests-trap.h: Likewise.
10182 * sysdeps/riscv/math-tests-trap.h: Likewise.
10183
10184 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10185
10186 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10187 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10188 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10189 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10190 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10191 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10192 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10193 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10194 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10195 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10196 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10197 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10198 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10199 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10200 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10201 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10202 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10203 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10204
10205 2018-08-23 Joseph Myers <joseph@codesourcery.com>
10206
10207 * sysdeps/generic/math-tests-exceptions.h: New file.
10208 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10209 (EXCEPTION_TESTS_float): Do not define here.
10210 (EXCEPTION_TESTS_double): Likewise.
10211 (EXCEPTION_TESTS_long_double): Likewise.
10212 (EXCEPTION_TESTS_float128): Likewise.
10213 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10214 Likewise.
10215 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10216 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10217 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10218 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10219 * sysdeps/mips/math-tests.h: Likewise.
10220 * sysdeps/nios2/math-tests.h: Likewise.
10221 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10222 (EXCEPTION_TESTS_float): Do not define here.
10223 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10224 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10225 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10226
10227 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10228
10229 * NEWS: Move optimized sinf entry to 2.29.
10230
10231 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10232
10233 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10234
10235 2018-08-22 DJ Delorie <dj@redhat.com>
10236
10237 * Makefile (testroot.pristine): New rules to initialize the
10238 test-in-container "testroot".
10239 * Makerules (all-testsuite): Add tests-container.
10240 * Rules (tests-expected): Add tests-container.
10241 (binaries-all-tests): Likewise.
10242 (tests-container): New, run these tests in the testroot container.
10243 * support/Makefile (others): Add *-container, support_paths.c,
10244 xmkdirp, and links-dso-program.
10245 * support/links-dso-program-c.c: New.
10246 * support/links-dso-program.cc: New.
10247 * support/test-container.c: New.
10248 * support/shell-container.c: New.
10249 * support/echo-container.c: New.
10250 * support/true-container.c: New.
10251 * support/xmkdirp.c: New.
10252 * support/xsymlink.c: New.
10253 * support/support_paths.c: New.
10254 * support/support.h: Add support paths prototypes.
10255 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10256
10257 * nss/tst-nss-test3.c: Convert to test-in-container.
10258 * nss/tst-nss-test3.root/: New.
10259
10260 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10261
10262 regex: port Gnulib code to z/OS POSIX environment
10263 Problem reported by Arnold Robbins in:
10264 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10265 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10266 Undef.
10267
10268 2018-08-22 Joseph Myers <joseph@codesourcery.com>
10269
10270 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10271 (ROUNDING_TESTS_double): Remove.
10272 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10273 (ROUNDING_TESTS_double): Remove.
10274 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10275 (ROUNDING_TESTS_double): Remove.
10276 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10277 (ROUNDING_TESTS_float): Remove.
10278 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10279 (ROUNDING_TESTS_float): Remove.
10280 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10281 (ROUNDING_TESTS_float): Remove.
10282 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10283 !TEST_MATHVEC here.
10284 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10285 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10286
10287 * sysdeps/generic/math-tests-rounding.h: New file.
10288 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10289 (ROUNDING_TESTS_float): Do not define here.
10290 (ROUNDING_TESTS_double): Likewise.
10291 (ROUNDING_TESTS_long_double): Likewise.
10292 (ROUNDING_TESTS_float128): Likewise.
10293 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10294 (ROUNDING_TESTS_double): Undefine before defining.
10295 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10296 (ROUNDING_TESTS_double): Undefine before defining.
10297 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10298 (ROUNDING_TESTS_double): Undefine before defining.
10299 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10300 (ROUNDING_TESTS_float): Undefine before defining.
10301 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10302 (ROUNDING_TESTS_float): Undefine before defining.
10303 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10304 (ROUNDING_TESTS_float): Undefine before defining.
10305 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10306 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10307 not define here.
10308 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10309 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10310 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10311 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10312 (ROUNDING_TESTS_float): Do not define here.
10313 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10314 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10315 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10316 (ROUNDING_TESTS_float): Likewise.
10317 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10318 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10319 * sysdeps/mips/math-tests.h [__mips_soft_float]
10320 (ROUNDING_TESTS_float): Likewise.
10321 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10322 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10323 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10324 (ROUNDING_TESTS_double): Likewise.
10325 (ROUNDING_TESTS_long_double): Likewise.
10326
10327 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
10328
10329 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10330 (PF_XDP): New macro.
10331 (AF_XDP): New macro.
10332 (SOL_XDP): New macro.
10333
10334 2018-08-21 Joseph Myers <joseph@codesourcery.com>
10335
10336 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10337 (TCP_INQ): Likewise.
10338 (TCP_CM_INQ): Likewise.
10339 (TCP_REPAIR_ON): Likewise.
10340 (TCP_REPAIR_OFF): Likewise.
10341 (TCP_REPAIR_OFF_NO_WP): Likewise.
10342 (struct tcp_zerocopy_receive): New type.
10343
10344 2018-08-21 Florian Weimer <fweimer@redhat.com>
10345
10346 * support/support.h (support_descriptor_supports_holes): Declare.
10347 * support/Makefile (libsupport-routines): Add
10348 support_descriptor_supports_holes.
10349 * support/support_descriptor_supports_holes.c: New file.
10350 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10351 and stop testing if holes are not supported.
10352 * io/test-lfs.c (do_prepare): Likewise.
10353 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10354 Likewise.
10355 * timezone/tst-tzset.c (create_tz_file): Likewise.
10356 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10357 variable.
10358 (do_prepare): Set it.
10359 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10360
10361 2018-08-21 Florian Weimer <fweimer@redhat.com>
10362
10363 [BZ #17248]
10364 * Makeconfig (+cflags): Do not sort (and deduplicate).
10365
10366 2018-08-21 Florian Weimer <fweimer@redhat.com>
10367
10368 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10369 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10370
10371 2018-08-20 Florian Weimer <fweimer@redhat.com>
10372
10373 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10374 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10375
10376 2018-08-20 Joseph Myers <joseph@codesourcery.com>
10377
10378 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10379 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10380 and ssi_arch members.
10381
10382 * elf/elf.c (NT_VMCOREDD): New macro.
10383 (AT_MINSIGSTKSZ): Likewise.
10384
10385 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10386
10387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10388 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10389 s_cosf-ppc64 and s_cosf-power8.
10390 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10391 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10392 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10393 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10400 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10401 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10402
10403 2018-08-17 Florian Weimer <fweimer@redhat.com>
10404
10405 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10406
10407 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10408
10409 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10410
10411 2018-08-16 Florian Weimer <fweimer@redhat.com>
10412
10413 * configure.ac: Add --with-nonshared-cflags option.
10414 * config.make.in (extra-nonshared-cflags): Set variable.
10415 * Makeconfig (CFLAGS-.oS): Use it.
10416 * manual/install.texi (Configuring and compiling): Document
10417 --with-nonshared-cflags.
10418 * configure: Regenerate.
10419 * INSTALL: Likewise.
10420
10421 2018-08-16 Florian Weimer <fweimer@redhat.com>
10422
10423 * Makeconfig (ASFLAGS): Always append required assembler flags.
10424
10425 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
10426
10427 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10428 (malloc_consolidate): Likewise.
10429
10430 2018-08-16 Pochang Chen <johnchen902@gmail.com>
10431
10432 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10433
10434 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10435
10436 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10437 every strlen call.
10438
10439 * benchtests/bench-strlen.c: Print performance numbers in json.
10440
10441 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10442
10443 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10444 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10445 only for little endian.
10446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10447 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10448 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10449 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10450 Add check for little endian.
10451 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10452 (__strcmp_power9): Add check for little endian.
10453 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10454 Add check for little endian.
10455 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10456 (__strncmp_power9): Add check for little endian.
10457 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10458 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10459 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10460 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10461 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10462
10463 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10464
10465 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10466 [!STRLEN](STRLEN): Set to __strlen.
10467 * sysdeps/aarch64/multiarch/strlen.c: New file.
10468 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10469 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10470 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10471 (__libc_ifunc_impl_list): Add strlen.
10472 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10473 strlen_generic and strlen_asimd.
10474
10475 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10476
10477 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10478 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10479 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10480
10481 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10482
10483 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10484
10485 2018-08-14 Florian Weimer <fweimer@redhat.com>
10486
10487 [BZ #23519]
10488 * include/stdio.h (__vfxprintf): Declare.
10489 * stdio-common/fxprintf.c (__vfxprintf): New function.
10490 (__fxprintf): Call it.
10491 * misc/err.c (convert_and_print): Remove function.
10492 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10493 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10494 * misc/Makefile (tests): Add tst-warn-wide.
10495 * misc/tst-warn-wide.c: New file.
10496
10497 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10498 Szabolcs Nagy <szabolcs.nagy@arm.com>
10499
10500 * NEWS: Mention sinf, cosf, sincosf.
10501 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10502 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10503 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10504 constants rather than including generic sincosf.h.
10505 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10506 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10507 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10508 (reduced_cos): Remove.
10509 (sinf_poly): New function.
10510 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10511
10512 2018-08-14 Florian Weimer <fweimer@redhat.com>
10513
10514 [BZ #23521]
10515 [BZ #23522]
10516 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10517 processing, bail out if no room, and close the stream before
10518 returning ERANGE.
10519 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10520 (tst-nss-files-alias-leak): Link with libdl.
10521 (tst-nss-files-alias-leak.out): Depend on nss_files.
10522
10523 * nss/tst-nss-files-alias-leak.c: New file.
10524
10525 2018-08-14 Florian Weimer <fweimer@redhat.com>
10526
10527 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10528 server_user, stat_user.
10529
10530 2018-08-13 Joseph Myers <joseph@codesourcery.com>
10531
10532 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10533 version to 4.18.
10534 (io_pgetevents): New syscall.
10535 (rseq): Likewise.
10536
10537 * manual/install.texi (Configuring and compiling): Do not list
10538 tools used for testing pretty printers here.
10539 (Tools for Compilation): List Python, PExpect and GDB here.
10540 Update descriptions of uses of Perl and Python.
10541 * INSTALL: Regenerate.
10542
10543 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10544 version to 4.18.
10545
10546 2018-08-13 Florian Weimer <fweimer@redhat.com>
10547
10548 * misc/error.c (error): Add missing va_end call.
10549 (error_at_line): Likewise.
10550
10551 2018-08-13 Florian Weimer <fweimer@redhat.com>
10552
10553 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10554
10555 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10556
10557 * benchtests/scripts/benchout.schema.json (properties): Add
10558 new properties.
10559
10560 * benchtests/bench-skeleton.c (main): Add duration and
10561 iterations attributes.
10562
10563 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10564
10565 regex: Gnulib unibyte RRI uses bytes not chars
10566 Adjust the non-glibc code to agree with what Gawk needs for
10567 rational range interpretation (RRI) for regular expression ranges.
10568 In unibyte locales, Gawk wants ranges to use the underlying byte
10569 rather than the character code point. This change does not affect
10570 glibc proper.
10571 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10572 In unibyte locales, use the byte value rather than
10573 running it through btowc.
10574
10575 2018-08-10 Joseph Myers <joseph@codesourcery.com>
10576
10577 * sysdeps/generic/math-tests-snan.h: New file.
10578 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10579 (SNAN_TESTS_float): Do not define here.
10580 (SNAN_TESTS_double): Likewise.
10581 (SNAN_TESTS_long_double): Likewise.
10582 (SNAN_TESTS_float128): Likewise.
10583 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10584 * sysdeps/i386/fpu/math-tests.h: Remove file.
10585 * sysdeps/ia64/math-tests-snan.h: New file.
10586 * sysdeps/ia64/math-tests.h: Remove file.
10587 * sysdeps/x86/math-tests.h: Likewise.
10588 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10589
10590 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10591 Szabolcs Nagy <szabolcs.nagy@arm.com>
10592
10593 * math/Makefile: Add s_sincosf_data.c.
10594 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10595 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10596 (sincosf_poly): Likewise.
10597 (reduce_small): Likewise.
10598 (reduce_large): Likewise.
10599 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10600 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10601 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10602 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10603
10604 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10605 Szabolcs Nagy <szabolcs.nagy@arm.com>
10606
10607 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10608 (converttoint): Use lround.
10609 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10610 document the semantics when TOINT_INTRINSICS is set.
10611 (converttoint): Likewise.
10612 (TOINT_RINT): Remove.
10613 (TOINT_SHIFT): Remove.
10614 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10615 path.
10616
10617 2018-08-10 Florian Weimer <fweimer@redhat.com>
10618
10619 [BZ #23497]
10620 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10621 function.
10622 (__old_getdents64): Use getdents64. Convert entries without
10623 moving them.
10624 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10625 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10626 tst-readdir64-compat.
10627
10628 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10629
10630 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10631 Fix unwind.
10632
10633 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10634
10635 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10636 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10637 code to s390x-mcount.h and #include it.
10638 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10639 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10640 (__fentry__): Add.
10641
10642 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10643
10644 * stdlib/Versions: Remove __fentry__.
10645 * sysdeps/i386/Versions: Add __fentry__.
10646 * sysdeps/x86_64/Versions: Add __fentry__.
10647
10648 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10649
10650 * sysdeps/s390/Makefile: Register the new tests.
10651 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10652 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10653 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10654 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10655 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10656 * sysdeps/s390/tst-dl-runtime.c: New file.
10657
10658 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10659
10660 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10661 Do not clobber R0.
10662
10663 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10664
10665 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10666 Do not clobber R0.
10667
10668 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10669
10670 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10671 Do not clobber R0.
10672
10673 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10674
10675 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10676 Do not clobber R0.
10677
10678 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10679
10680 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10681 Use symbolic offsets for stack variables.
10682
10683 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10684
10685 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10686 Use symbolic offsets for stack variables.
10687
10688 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10689
10690 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10691 Use symbolic offsets for stack variables.
10692
10693 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10694
10695 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10696 Use symbolic offsets for stack variables.
10697
10698 2018-08-09 Joseph Myers <joseph@codesourcery.com>
10699
10700 * math/gen-libm-test.py: New file.
10701 * math/gen-libm-test.pl: Remove.
10702 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10703 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10704 gen-libm-test.pl.
10705 ($(libm-test-c-noauto-obj)): Likewise.
10706 ($(libm-test-c-auto-obj)): Likewise.
10707 ($(libm-test-c-narrow-obj)): Likewise.
10708 (regen-ulps): Likewise.
10709 * math/README.libm-test: Update references to gen-libm-test.pl.
10710 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10711 referencing gen-libm-test.pl.
10712 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10713 * math/libm-test-support.c: Likewise.
10714 * math/libm-test-support.h: Likewise.
10715 * sysdeps/generic/libm-test-ulps: Likewise.
10716
10717 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10718
10719 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10720 Fix value.
10721
10722 2018-08-08 Joseph Myers <joseph@codesourcery.com>
10723
10724 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10725 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10726
10727 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10728
10729 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10730 symbols.
10731 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10732 __pthread_setspecific): Add hidden proto.
10733 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10734 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
10735
10736 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10737
10738 * benchtests/bench-string.h (buf1_size, buf2_size): New
10739 variables.
10740 (init_sizes): New function.
10741 (test_init): Use it.
10742 (alloc_buf, exit_error): New functions.
10743 (alloc_bufs): Use ALLOC_BUF.
10744 (realloc_bufs): Remove.
10745 * benchtests/bench-memcmp.c (do_test): Adjust.
10746 * benchtests/bench-memset-large.c (do_test): Likewise.
10747 * benchtests/bench-memset-walk.c (do_test): Likewise.
10748 * benchtests/bench-memset.c (do_test): Likewise.
10749 * benchtests/bench-strncmp.c (do_test): Likewise.
10750
10751 2018-08-06 Andreas Schwab <schwab@suse.de>
10752
10753 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10754 of CONST_THREAD_AREA.
10755
10756 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10757
10758 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10759 (STATE_SAVE_MASK): Likewise.
10760 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10761 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10762 (STATE_SAVE_MASK): Likewise.
10763 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10764 instead of <cpu-features.h>.
10765
10766 2018-08-03 DJ Delorie <dj@redhat.com>
10767
10768 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
10769 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
10770
10771 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10772
10773 2018-08-03 Joseph Myers <joseph@codesourcery.com>
10774
10775 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10776 after TEST_* calls.
10777 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10778 * math/libm-test-logb.inc (logb_test_data): Likewise.
10779
10780 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10781
10782 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10783 * string/strstr.c (AVAILABLE): Likewise.
10784
10785 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10786
10787 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10788 <init-arch.h>.
10789 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10790 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10791 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10792
10793 2018-08-03 Carlos O'Donell <carlos@redhat.com>
10794
10795 * po/be.po: Update translation.
10796
10797 * po/be.po: Update translation.
10798
10799 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10800
10801 * sysdeps/x86/cpu-features-offsets.sym
10802 (rtld_global_ro_offsetof): Removed.
10803 (CPU_FEATURES_SIZE): Likewise.
10804 (CPUID_OFFSET): Likewise.
10805 (CPUID_SIZE): Likewise.
10806 (CPUID_EAX_OFFSET): Likewise.
10807 (CPUID_EBX_OFFSET): Likewise.
10808 (CPUID_ECX_OFFSET): Likewise.
10809 (CPUID_EDX_OFFSET): Likewise.
10810 (FAMILY_OFFSET): Likewise.
10811 (MODEL_OFFSET): Likewise.
10812 (FEATURE_OFFSET): Likewise.
10813 (FEATURE_SIZ): Likewise.
10814 (COMMON_CPUID_INDEX_1): Likewise.
10815 (COMMON_CPUID_INDEX_7): Likewise.
10816 (FEATURE_INDEX_1): Likewise.
10817 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10818
10819 2018-08-02 Carlos O'Donell <carlos@redhat.com>
10820
10821 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10822 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10823 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10824 (install-locales): Depend on install-locale-archive.
10825 (install-locale-archive): Define.
10826 (install-locale-files): Define.
10827 (build-one-locale): Define macro.
10828 * manual/install.texi (Running make install): Document.
10829 * manual/INSTALL: Regenerate.
10830
10831 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10832
10833 * benchtests/scripts/compare_strings.py: Import traceback.
10834 (parse_file): Pretty-print error.
10835
10836 * NEWS: Mention the change.
10837 * elf/dl-tunables.list: Rename tune namespace to cpu.
10838 * sysdeps/powerpc/dl-tunables.list: Likewise.
10839 * sysdeps/x86/dl-tunables.list: Likewise.
10840 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10841 cpu.name.
10842 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10843 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10844 * manual/README.tunables: Likewise.
10845 * manual/tunables.texi: Likewise.
10846 * sysdeps/powerpc/cpu-features.c: Likewise.
10847 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10848 (init_cpu_features): Likewise.
10849 * sysdeps/x86/cpu-features.c: Likewise.
10850 * sysdeps/x86/cpu-features.h: Likewise.
10851 * sysdeps/x86/cpu-tunables.c: Likewise.
10852 * sysdeps/x86_64/Makefile: Likewise.
10853 * sysdeps/x86/dl-cet.c: Likewise.
10854
10855 2018-08-02 Joseph Myers <joseph@codesourcery.com>
10856
10857 [BZ #23479]
10858 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10859 [__mips_hard_float].
10860 (FE_UNDERFLOW): Likewise.
10861 (FE_OVERFLOW): Likewise.
10862 (FE_DIVBYZERO): Likewise.
10863 (FE_INVALID): Likewise.
10864 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10865 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10866 (FE_UPWARD): Likewise.
10867 (FE_DOWNWARD): Likewise.
10868 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10869 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10870 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10871 [__mips_hard_float].
10872 (FP_ROUNDMODE): Likewise.
10873 (FP_RND_NEAREST): Likewise.
10874 (FP_RND_ZERO): Likewise.
10875 (FP_RND_PINF): Likewise.
10876 (FP_RND_MINF): Likewise.
10877 (FP_EX_INVALID): Likewise.
10878 (FP_EX_OVERFLOW): Likewise.
10879 (FP_EX_UNDERFLOW): Likewise.
10880 (FP_EX_DIVZERO): Likewise.
10881 (FP_EX_INEXACT): Likewise.
10882 (FP_INIT_ROUNDMODE): Likewise.
10883 * sysdeps/mips/nofpu/fesetenv.c: New file.
10884 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10885
10886 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10887
10888 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10889 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10890 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10891 conditional on [FE_UPWARD].
10892
10893 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10894
10895 regex: fix memory leak in Gnulib
10896 Problem and fix reported by Assaf Gordon in:
10897 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10898 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10899 range_ends members too, as they are defined in 'struct
10900 re_charset_t' even if not _LIBC. This affects only Gnulib.
10901
10902 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10903
10904 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10905 ...
10906 (get_common_indices): This.
10907 (init_cpu_features): Updated.
10908
10909 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10910
10911 * sysdeps/generic/math-tests-snan-payload.h: New file.
10912 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10913 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10914 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10915 * sysdeps/generic/math-tests.h: Include
10916 <math-tests-snan-payload.h>.
10917 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10918 * sysdeps/hppa/math-tests.h: Remove file.
10919 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10920 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10921 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10922 Likewise.
10923
10924 * sysdeps/generic/math-tests-snan-cast.h: New file.
10925 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10926 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10927 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10928 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10929
10930 2018-08-01 Carlos O'Donel <carlos@redhat.com>
10931
10932 * version.h (RELEASE): Set to "development".
10933 (VERSION): Set to "2.28.9000".
10934 * NEWS (2.29): New section.
10935
10936 * version.h (RELEASE): Set to "stable".
10937 (VERSION): Set to "2.28".
10938 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10939 * NEWS: Add the list of bugs fixed in 2.28.
10940
10941 * po/ca.po: Update to latest version.
10942 * po/cs.po: Likewise
10943 * po/da.po: Likewise
10944 * po/el.po: Likewise
10945 * po/eo.po: Likewise
10946 * po/es.po: Likewise
10947 * po/fi.po: Likewise
10948 * po/fr.po: Likewise
10949 * po/gl.po: Likewise
10950 * po/hu.po: Likewise
10951 * po/ia.po: Likewise
10952 * po/id.po: Likewise
10953 * po/it.po: Likewise
10954 * po/ja.po: Likewise
10955 * po/ko.po: Likewise
10956 * po/lt.po: Likewise
10957 * po/nb.po: Likewise
10958 * po/nl.po: Likewise
10959 * po/pt_BR.po: Likewise
10960 * po/ru.po: Likewise
10961 * po/rw.po: Likewise
10962 * po/sk.po: Likewise
10963 * po/sl.po: Likewise
10964 * po/tr.po: Likewise
10965 * po/zh_CN.po: Likewise
10966 * po/zh_TW.po: Likewise
10967
10968 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10969
10970 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10971 initialization...
10972 (init): ... before initializing libpthread.
10973
10974 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10975 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10976 (__mach_setup_tls): ... new function.
10977 (mach_setup_tls): New alias.
10978 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10979 __mach_setup_thread.
10980 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10981 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10982 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10983 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10984
10985 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10986
10987 * manual/install.texi: Update versions.
10988 * INSTALL: Regenerate.
10989
10990 * manual/contrib.texi (Contributors): Update contributions.
10991
10992 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10993
10994 * po/be.po: Update translations.
10995
10996 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10997
10998 * sysdeps/sh/libm-test-ulps: Update.
10999
11000 2018-07-30 Carlos O'Donell <carlos@redhat.com>
11001
11002 * po/bg.po: Update translations.
11003 * po/de.po: Likewise.
11004 * po/hr.po: Likewise.
11005 * po/pt_BR.po: Likewise.
11006 * po/sv.po: Likewise.
11007 * po/vi.po: Likewise.
11008
11009 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11010
11011 [BZ #23467]
11012 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11013 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11014 (CFLAGS-tst-cet-property-1.o): New.
11015 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11016 ($(objpfx)tst-cet-property-2): Likewise.
11017 ($(objpfx)tst-cet-property-2.out): Likewise.
11018 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11019 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11020 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11021 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11022 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11023
11024 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11025
11026 [BZ #23458]
11027 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11028
11029 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11030
11031 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11032 __sbrk): Do not set attribute_hidden.
11033 * sysdeps/mach/hurd/not-errno.h: New file.
11034 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11035 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11036
11037 2018-07-27 Carlos O'Donell <carlos@redhat.com>
11038
11039 * po/uk.po: Update translations.
11040 * po/cs.po: Likewise.
11041 * po/pl.po: Likewise.
11042
11043 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11044
11045 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11046 parse beyond the note end.
11047
11048 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11049
11050 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11051 kernel does not support OFD locks.
11052 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11053
11054 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11055
11056 * sysdeps/mach/hurd/Versions (libc): Make __access and
11057 __access_noerrno external so they can override the ld symbols.
11058 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11059 __writev, __open64, __access_noerrno extern so they can be overrided.
11060 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11061 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11062
11063 2018-07-26 Carlos O'Donell <carlos@redhat.com>
11064
11065 * po/libc.pot: Regenerate.
11066
11067 2018-07-26 Joseph Myers <joseph@codesourcery.com>
11068
11069 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11070
11071 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11072
11073 [BZ #23459]
11074 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11075 function.
11076 (init_cpu_features): Call get_extended_indices for both Intel
11077 and AMD CPUs.
11078 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11079 Remove "for AMD" comment.
11080
11081 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11082
11083 [BZ # 23456]
11084 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11085 COMMON_CPUID_INDEX_80000001.
11086
11087 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
11088
11089 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11090 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11091
11092 2018-07-26 Florian Weimer <fweimer@redhat.com>
11093
11094 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11095 aliases for symbols not in the implementation namespace.
11096
11097 2018-07-25 Carlos O'Donell <carlos@redhat.com>
11098
11099 [BZ #23393]
11100 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11101 lowercase in LATIN script.
11102 * localedata/Makefile (test-input): Add en_US.UTF-8.
11103 * localedata/en_US.UTF-8.in: New file.
11104 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11105 and restore old tests.
11106 * posix/tst-regexloc.c (do_test): Add back range expression test.
11107
11108 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11109
11110 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11111
11112 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11113
11114 * nptl/threads.h: Move to ...
11115 * sysdeps/nptl/threads.h: ... here.
11116 * sysdeps/hurd/stdc-predef.h: New file.
11117
11118 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11119
11120 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11121 tst-cet-setcontext-1 if CET is enabled.
11122 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11123 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11124
11125 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11126
11127 * include/threads.h: Move to ...
11128 * sysdeps/nptl/threads.h: ... here.
11129 * sysdeps/htl/threads.h: New file.
11130 * conform/Makefile (linknamespace-libs-ISO11): Use
11131 static-thread-library instead of linking libpthread.
11132 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11133
11134 2018-07-25 Florian Weimer <fweimer@redhat.com>
11135
11136 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11137 nanoseconds into seconds.
11138 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11139 (do_test): Likewise.
11140 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11141 (do_test): Likewise. Avoid nanosecond overflow and spurious
11142 timeouts due to system load.
11143 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11144 (child_wait): Increment it.
11145 (do_test): Wait as long as necessary until all expected threads
11146 have arrived.
11147
11148 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11149 H.J. Lu <hongjiu.lu@intel.com>
11150
11151 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11152 __ssp.
11153 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11154 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11155 (__push___start_context): New.
11156 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11157 <asm/prctl.h>.
11158 (__getcontext): Record the current shadow stack base. Save the
11159 caller's shadow stack pointer and base.
11160 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11161 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11162 (__push___start_context): New prototype.
11163 (__makecontext): Call __push___start_context to allocate a new
11164 shadow stack, push __start_context onto the new stack as well
11165 as the new shadow stack.
11166 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11167 <asm/prctl.h>.
11168 (__setcontext): Restore the target shadow stack.
11169 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11170 <asm/prctl.h>.
11171 (__swapcontext): Record the current shadow stack base. Save
11172 the caller's shadow stack pointer and base. Restore the target
11173 shadow stack.
11174 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11175 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11176 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11177
11178 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11179
11180 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11181 tst-setcontext8 and tst-setcontext9.
11182 * stdlib/tst-setcontext6.c: New file.
11183 * stdlib/tst-setcontext7.c: Likewise.
11184 * stdlib/tst-setcontext8.c: Likewise.
11185 * stdlib/tst-setcontext9.c: Likewise.
11186
11187 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11188
11189 * stdlib/Makefile ((tests): Add tst-setcontext5.
11190 * stdlib/tst-setcontext5.c: New file.
11191
11192 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11193
11194 * stdlib/Makefile (tests): Add tst-setcontext4.
11195 * stdlib/tst-setcontext4.c: New file.
11196
11197 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11198
11199 * stdlib/Makefile (tests): Add tst-swapcontext1.
11200 * stdlib/tst-swapcontext1.c: New test.
11201
11202 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11203
11204 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11205 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11206 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11207 and tst-cet-legacy-4c.
11208 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11209 and tst-cet-legacy-mod-4.
11210 (CFLAGS-tst-cet-legacy-2.c): New.
11211 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11212 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11213 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11214 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11215 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11216 ($(objpfx)tst-cet-legacy-1): Likewise.
11217 ($(objpfx)tst-cet-legacy-2): Likewise.
11218 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11219 ($(objpfx)tst-cet-legacy-2a): Likewise.
11220 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11221 ($(objpfx)tst-cet-legacy-4): Likewise.
11222 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11223 ($(objpfx)tst-cet-legacy-4a): Likewise.
11224 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11225 (tst-cet-legacy-4a-ENV): Likewise.
11226 ($(objpfx)tst-cet-legacy-4b): Likewise.
11227 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11228 (tst-cet-legacy-4b-ENV): Likewise.
11229 ($(objpfx)tst-cet-legacy-4c): Likewise.
11230 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11231 (tst-cet-legacy-4c-ENV): Likewise.
11232 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11233 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11234 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11235 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11236 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11237 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11238 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11239 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11240 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11241 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11242 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11243
11244 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11245
11246 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11247 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11248 with ssp_base.
11249 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11250 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11251 with ssp_base.
11252
11253 2018-07-25 Andreas Schwab <schwab@suse.de>
11254
11255 [BZ #23442]
11256 * locale/weightwc.h (findidx): Handle the case where usrc is a
11257 prefix of cp but one character too short.
11258
11259 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11260
11261 * NEWS: Add ISO C threads addition.
11262
11263 2018-07-24 Florian Weimer <fweimer@redhat.com>
11264
11265 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11266 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11267 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11268 4.13.
11269
11270 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11271
11272 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11273 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11274 <sys/prctl.h> and <asm/prctl.h>.
11275 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11276 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11277 and <asm/prctl.h>.
11278 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11279 ARCH_CET_LEGACY_BITMAP.
11280 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11281 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11282 * sysdeps/x86/libc-start.c: Include <startup.h>.
11283
11284 2018-07-24 Florian Weimer <fweimer@redhat.com>
11285
11286 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11287 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11288
11289 2018-07-24 Rical Jasan <rj@2c3t.io>
11290 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11291 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11292
11293 [BZ #14092]
11294 * manual/debug.texi: Update adjacent chapter name.
11295 * manual/probes.texi: Likewise.
11296 * manual/threads.texi (ISO C Threads): New section.
11297 (POSIX Threads): Convert to a section.
11298
11299 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11300 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11301
11302 [BZ# 14092]
11303 * nptl/Makefile (tests): Add new test files.
11304 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11305 * nptl/tst-cnd-basic.c: Likewise.
11306 * nptl/tst-cnd-broadcast.c: Likewise.
11307 * nptl/tst-cnd-timedwait.c: Likewise.
11308 * nptl/tst-mtx-basic.c: Likewise.
11309 * nptl/tst-mtx-recursive.c: Likewise.
11310 * nptl/tst-mtx-timedlock.c: Likewise.
11311 * nptl/tst-mtx-trylock.c: Likewise.
11312 * nptl/tst-thrd-basic.c: Likewise.
11313 * nptl/tst-thrd-detach.c: Likewise.
11314 * nptl/tst-thrd-sleep.c: Likewise.
11315 * nptl/tst-tss-basic.c: Likewise.
11316
11317 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11318
11319 [BZ #14092]
11320 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11321 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11322 symbols.
11323 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11324 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11325 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11326 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11327 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11328 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11329 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11330 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11331 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11332 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11333 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11334 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11336 Likewise.
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11338 Likewise.
11339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11340 Likewise.
11341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11342 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11343 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11344 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11345 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11346 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11347 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11348 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11349 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11350 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11351 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11352 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11353 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11354 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11355 Likewise.
11356 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11357 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11358 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11359 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11360 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11361 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11362 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11363 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11364 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11365 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11366 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11367 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11368 ikewise.
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11371 Likewise.
11372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11373 Likewise.
11374 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11375 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11376 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11377 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11378 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11379 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11380 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11381 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11382
11383 [BZ #14092]
11384 * conform/data/threads.h-data (thread_local): New macro.
11385 (TSS_DTOR_ITERATIONS): Likewise.
11386 (tss_t): New type.
11387 (tss_dtor_t): Likewise.
11388 (tss_create): New function.
11389 (tss_get): Likewise.
11390 (tss_set): Likewise.
11391 (tss_delete): Likewise.
11392 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11393 tss_get, and tss_set objects.
11394 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11395 * nptl/tss_create.c: New file.
11396 * nptl/tss_delete.c: Likewise.
11397 * nptl/tss_get.c: Likewise.
11398 * nptl/tss_set.c: Likewise.
11399 * sysdeps/nptl/threads.h (thread_local): New define.
11400 (TSS_DTOR_ITERATIONS): Likewise.
11401 (tss_t): New typedef.
11402 (tss_dtor_t): Likewise.
11403 (tss_create): New prototype.
11404 (tss_get): Likewise.
11405 (tss_set): Likewise.
11406 (tss_delete): Likewise.
11407
11408 [BZ #14092]
11409 * conform/data/threads.h-data (cnd_t): New type.
11410 (cnd_init): New function.
11411 (cnd_signal): Likewise.
11412 (cnd_broadcast): Likewise.
11413 (cnd_wait): Likewise.
11414 (cnd_timedwait): Likewise.
11415 (cnd_destroy): Likewise.
11416 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11417 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11418 object.
11419 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11420 * nptl/cnd_broadcast.c: New file.
11421 * nptl/cnd_destroy.c: Likewise.
11422 * nptl/cnd_init.c: Likewise.
11423 * nptl/cnd_signal.c: Likewise.
11424 * nptl/cnd_timedwait.c: Likewise.
11425 * nptl/cnd_wait.c: Likewise.
11426 * sysdeps/nptl/threads.h (cnd_t): New type.
11427 (cnd_init): New prototype.
11428 (cnd_signa): Likewise.
11429 (cnd_broadcast): Likewise.
11430 (cnd_wait): Likewise.
11431 (cnd_timedwait): Likewise.
11432 (cnd_destroy): Likewise.
11433
11434 [BZ #14092]
11435 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11436 (once_flag): New type.
11437 (call_once): New function.
11438 * nptl/Makefile (libpthread-routines): Add call_once object.
11439 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11440 * nptl/call_once.c: New file.
11441 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11442 (once_flag): New type.
11443 (call_once): New prototype.
11444
11445 [BZ #14092]
11446 * conform/data/threads.h-data (mtx_plain): New constant.
11447 (mtx_recursive): Likewise.
11448 (mtx_timed): Likewise.
11449 (mtx_t): New type.
11450 (mtx_init): New function.
11451 (mtx_lock): Likewise.
11452 (mtx_timedlock): Likewise.
11453 (mtx_trylock): Likewise.
11454 (mtx_unlock): Likewise.
11455 (mtx_destroy): Likewise.
11456 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11457 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11458 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11459 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11460 * nptl/mtx_destroy.c: New file.
11461 * nptl/mtx_init.c: Likewise.
11462 * nptl/mtx_lock.c: Likewise.
11463 * nptl/mtx_timedlock.c: Likewise.
11464 * nptl/mtx_trylock.c: Likewise.
11465 * nptl/mtx_unlock.c: Likewise.
11466 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11467 (mtx_recursive): Likewise.
11468 (mtx_timed): Likewise.
11469 (mtx_t): New type.
11470 (mtx_init): New prototype.
11471 (mtx_lock): Likewise.
11472 (mtx_timedlock): Likewise.
11473 (mtx_trylock): Likewise.
11474 (mtx_unlock): Likewise.
11475 (mtx_destroy): Likewise.
11476
11477 [BZ #14092]
11478 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11479 (linknamespace-libs-ISO11): Add libpthread.a.
11480 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11481 functions.
11482 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11483 * nptl/Makefile (headers): Add threads.h.
11484 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11485 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11486 thrd_yield.
11487 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11488 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11489 thrd_join, thrd_sleep, and thrd_yield symbols.
11490 * nptl/descr.h (struct pthread): Add c11 field.
11491 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11492 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11493 routine with expected function prototype.
11494 (__pthread_create_2_1): Add C11 threads check based on attribute
11495 value.
11496 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11497 * nptl/thrd_create.c: New file.
11498 * nptl/thrd_current.c: Likewise.
11499 * nptl/thrd_detach.c: Likewise.
11500 * nptl/thrd_equal.c: Likewise.
11501 * nptl/thrd_exit.c: Likewise.
11502 * nptl/thrd_join.c: Likewise.
11503 * nptl/thrd_priv.h: Likewise.
11504 * nptl/thrd_sleep.c: Likewise.
11505 * nptl/thrd_yield.c: Likewise.
11506 * include/threads.h: Likewise.
11507
11508 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11509
11510 * bits/indirect-return.h: New file.
11511 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11512 * sysdeps/x86/bits/indirect-return.h: Likewise.
11513 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11514 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11515 (swapcontext): Add __INDIRECT_RETURN.
11516 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11517 (prepare_test_buffer): Use it.
11518
11519 2018-07-24 Andreas Schwab <schwab@suse.de>
11520
11521 [BZ #23448]
11522 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11523 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11524
11525 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11526
11527 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11528 Redefine if shadow stack is enabled.
11529 (SYSCALL_ERROR_LABEL): Likewise.
11530 (__vfork): Pop shadow stack and jump back to to caller directly
11531 when shadow stack is in use.
11532 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11533 Redefine if shadow stack is enabled.
11534 (SYSCALL_ERROR_LABEL): Likewise.
11535 (__vfork): Pop shadow stack and jump back to to caller directly
11536 when shadow stack is in use.
11537
11538 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11539
11540 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11541 enabled.
11542 (foo): Likewise.
11543 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11544 (foo): Likewise.
11545
11546 2018-07-20 Joseph Myers <joseph@codesourcery.com>
11547
11548 * scripts/build-many-glibcs.py (Context.checkout): Default
11549 binutils version to 2.31 branch.
11550
11551 2018-07-20 Zong Li <zong@andestech.com>
11552
11553 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11554 URL of gcc's tarball.
11555
11556 2018-07-20 Florian Weimer <fweimer@redhat.com>
11557
11558 [BZ #23396]
11559 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11560 not compare an extra byte after the end of the weights.
11561
11562 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11563
11564 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11565 to 1.
11566 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11567 hidden prototypes.
11568 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11569 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
11570 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11571 list of libraries whose stack executability is expected.
11572 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11573 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11574 variable.
11575 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11576 libc.so libpthread.so.
11577
11578 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11579
11580 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11581 SOCK_NONBLOCK.
11582 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11583 and SOCK_NONBLOCK.
11584 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11585 implement __pipe2.
11586 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
11587
11588 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11589
11590 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11591 library to improve command line parsing.
11592 (__main__): make schema file as optional parameter (--schema),
11593 defaulting to benchtests/scripts/benchout.schema.json.
11594 (main): move out of the parsing stuff to __main_  and leave it
11595 only as caller of main comparison functions.
11596
11597 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11598
11599 * NEWS: Add a note for Intel CET status.
11600 * manual/install.texi: Likewise.
11601 * INSTALL: Regenerated.
11602
11603 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11604
11605 [BZ #23140]
11606 * localedata/locales/oc_FR (mon): Rename to...
11607 (alt_mon): This, then update October (typo fix).
11608 (mon): New content (genitive case, month names preceded by
11609 "de" or "d’").
11610
11611 [BZ #23422]
11612 * localedata/locales/oc_FR (abday): Update all items.
11613 (day): Update Wednesday and Saturday (typo fixes).
11614 (abmon): Update all items, except May.
11615 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11616 (LC_IDENTIFICATION): Bump the revision number and date.
11617 Keep the "category" entries in alphabetic order.
11618 (LC_ADDRESS): Remove no longer needed comment.
11619 (LC_COLLATE): Use “copy "ca_ES"”.
11620 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11621 "name_mrs".
11622
11623 2018-07-18 Joseph Myers <joseph@codesourcery.com>
11624
11625 * grp/tst_fgetgrent.c: Include <unistd.h>.
11626 (main): Use mkstemp instead of tmpnam.
11627 * io/test-utime.c (main): Likewise.
11628 * posix/annexc.c (macrofile): Change to modifiable array.
11629 (main): Remove macrofile here.
11630 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11631 macrofile here.
11632 (check_header): Do not remove macrofile here.
11633 * posix/bug-getopt1.c: Include <stdlib.h>.
11634 (do_test): Use mkstemp instead of tmpnam.
11635 * posix/bug-getopt2.c: Include <stdlib.h>.
11636 (do_test): Use mkstemp instead of tmpnam.
11637 * posix/bug-getopt3.c: Include <stdlib.h>.
11638 (do_test): Use mkstemp instead of tmpnam.
11639 * posix/bug-getopt4.c: Include <stdlib.h>.
11640 (do_test): Use mkstemp instead of tmpnam.
11641 * posix/bug-getopt5.c: Include <stdlib.h>.
11642 (do_test): Use mkstemp instead of tmpnam.
11643 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11644 (main): Use mkstemp instead of tmpnam.
11645 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11646 (main): Use mkstemp instead of tmpnam.
11647 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11648 (main): use mkstemp instead of tmpnam.
11649 * stdlib/isomac.c (macrofile): Change to modifiable array.
11650 (main): Remove macrofile here.
11651 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11652 macrofile here.
11653 (check_header): Do not remove macrofile here.
11654
11655 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11656
11657 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11658 glibc.tune.x86_shstk.
11659
11660 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11661
11662 * NEWS: Mention --enable-cet.
11663 * manual/install.texi: Document --enable-cet.
11664 * INSTALL: Regenerated.
11665
11666 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11667
11668 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11669 Add _CET_NOTRACK before indirect jump to jump table.
11670
11671 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11672
11673 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11674 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11675 to jump table.
11676
11677 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11678
11679 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11680 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11681 to jump table.
11682
11683 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11684
11685 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11686 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11687 to jump table.
11688
11689 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11690
11691 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11692 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11693 to jump table.
11694
11695 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11696
11697 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11698 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11699 to jump table.
11700 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11701
11702 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11703
11704 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11705 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11706 to jump table.
11707
11708 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11709
11710 * sysdeps/i386/i686/multiarch/memset-sse2.S
11711 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11712 to jump table.
11713
11714 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11715
11716 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11717 indirect jump to jump table.
11718
11719 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11720
11721 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11722 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11723 to jump table.
11724 (MEMCPY): Likewise.
11725
11726 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11727
11728 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11729 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11730 to jump table.
11731 (MEMCPY): Likewise.
11732
11733 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11734
11735 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11736 _CET_NOTRACK before indirect jump to jump table.
11737
11738 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11739
11740 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11741 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11742 to jump table.
11743
11744 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11745
11746 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11747 indirect jump to jump table.
11748
11749 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11750
11751 [BZ #22241]
11752 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11753 (LOCALES): Likewise.
11754 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11755 * localedata/locales/sah_RU: New file.
11756 * localedata/sah_RU.UTF-8.in: New file.
11757
11758 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11759
11760 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11761 "sysdep.h".
11762 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11763 _CET_ENDBR to indirect jump targets and adjust jump destination
11764 for _CET_ENDBR.
11765 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11766 "sysdep.h".
11767 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11768 _CET_ENDBR to indirect jump targets and adjust jump destination
11769 for _CET_ENDBR.
11770 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11771 "sysdep.h".
11772 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11773 _CET_ENDBR to indirect jump targets and adjust jump destination
11774 for _CET_ENDBR.
11775
11776 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11777
11778 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11779 _CET_ENDBR.
11780
11781 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11782
11783 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11784 _CET_ENDBR.
11785 (_dl_tlsdesc_undefweak): Likewise.
11786 (_dl_tlsdesc_dynamic): Likewise.
11787 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11788 (_dl_tlsdesc_resolve_rel): Likewise.
11789 (_dl_tlsdesc_resolve_rela): Likewise.
11790 (_dl_tlsdesc_resolve_hold): Likewise.
11791 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11792 (_dl_tlsdesc_undefweak): Likewise.
11793 (_dl_tlsdesc_dynamic): Likewise.
11794 (_dl_tlsdesc_resolve_rela): Likewise.
11795 (_dl_tlsdesc_resolve_hold): Likewise.
11796
11797 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11798
11799 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11800 (_fini): Likewise.
11801 * sysdeps/x86_64/crti.S (_init): Likewise.
11802 (_fini): Likewise.
11803
11804 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11805
11806 [BZ #23140]
11807 * localedata/locales/os_RU (mon): Rename to...
11808 (alt_mon): This.
11809 (mon): Import from CLDR (genitive case).
11810
11811 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11812
11813 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11814 cet-tunables.h> when CET is enabled.
11815
11816 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11817
11818 [BZ #21598]
11819 * configure.ac: Add --enable-cet.
11820 * configure: Regenerated.
11821 * elf/Makefille (all-built-dso): Add a comment.
11822 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11823 Include <dl-prop.h>.
11824 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11825 segment.
11826 * elf/dl-open.c: Include <dl-prop.h>.
11827 (dl_open_worker): Call _dl_open_check.
11828 * elf/rtld.c: Include <dl-prop.h>.
11829 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11830 _rtld_main_check.
11831 * sysdeps/generic/dl-prop.h: New file.
11832 * sysdeps/i386/dl-cet.c: Likewise.
11833 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11834 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11835 * sysdeps/x86/cet-tunables.h: Likewise.
11836 * sysdeps/x86/check-cet.awk: Likewise.
11837 * sysdeps/x86/configure: Likewise.
11838 * sysdeps/x86/configure.ac: Likewise.
11839 * sysdeps/x86/dl-cet.c: Likewise.
11840 * sysdeps/x86/dl-procruntime.c: Likewise.
11841 * sysdeps/x86/dl-prop.h: Likewise.
11842 * sysdeps/x86/libc-start.h: Likewise.
11843 * sysdeps/x86/link_map.h: Likewise.
11844 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11845 _CET_ENDBR.
11846 (_dl_runtime_profile): Likewise.
11847 (_dl_runtime_resolve_shstk): New.
11848 (_dl_runtime_profile_shstk): Likewise.
11849 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11850 if CET is enabled.
11851 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11852 (CFLAGS-.os): Likewise.
11853 (CFLAGS-.op): Likewise.
11854 (CFLAGS-.oS): Likewise.
11855 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11856 is enabled.
11857 (tests-special): Add $(objpfx)check-cet.out.
11858 (cet-built-dso): New.
11859 (+$(cet-built-dso:=.note)): Likewise.
11860 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11861 ($(objpfx)check-cet.out): New.
11862 (generated): Add check-cet.out.
11863 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11864 <cet-tunables.h>.
11865 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11866 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11867 (init_cpu_features): Call get_cet_status to check CET status
11868 and update dl_x86_feature_1 with CET status. Call
11869 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11870 (set_x86_shstk). Disable and lock CET in libc.a.
11871 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11872 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11873 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11874 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11875 (_CET_ENDBR): Define if not defined.
11876 (ENTRY): Add _CET_ENDBR.
11877 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11878 x86_shstk.
11879 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11880 _CET_ENDBR.
11881 (_dl_runtime_profile): Likewise.
11882
11883 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11884
11885 [BZ #21895]
11886 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11887 restore r2 on longjmp.
11888 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11889 test list.
11890 Added rules to build test tst-setjmp-bug21895-static.
11891 Added module setjmp-bug21895 and rules to build a shared object from it.
11892 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11893 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11894
11895 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11896
11897 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11898 * benchtests/bench-strstr.c: Likewise.
11899 * string/memmem.c (FASTSEARCH): Define.
11900 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11901 Add support for FASTSEARCH.
11902 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11903 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11904 (FASTSEARCH): Define.
11905 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11906 * string/test-strstr.c: Likewise.
11907
11908 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11909
11910 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11911 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11912
11913 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11914 H.J. Lu <hongjiu.lu@intel.com>
11915
11916 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11917 (__longjmp): Restore shadow stack pointer if shadow stack is
11918 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11919 isn't defined for __longjmp_cancel.
11920 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11921 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11922 and SHADOW_STACK_POINTER_OFFSET is defined.
11923 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11924 (setjmp): Save shadow stack pointer if shadow stack is enabled
11925 and SHADOW_STACK_POINTER_OFFSET is defined.
11926 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11927 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11928 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11929 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11930 <jmp_buf-ssp.h>.
11931 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11932 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11933 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11934 Remove jmp_buf-ssp.sym.
11935 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11936 <jmp_buf-ssp.h>.
11937 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11938 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11939 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11940 jmp_buf-ssp.sym.
11941 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11942 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11943 (__longjmp): Restore shadow stack pointer if shadow stack is
11944 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11945 isn't defined for __longjmp_cancel.
11946 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11947 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11948 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11949
11950 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11951
11952 [BZ #22563]
11953 * nptl/pthread_create.c: Include <tls-setup.h>.
11954 (__pthread_create_2_1): Call tls_setup_tcbhead.
11955 * sysdeps/generic/tls-setup.h: New file.
11956 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11957 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11958 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11959 Likewise.
11960 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11961 to feature_1.
11962 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11963 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11964 (X86_FEATURE_1_SHSTK): Likewise.
11965 (CET_ENABLED): Likewise.
11966 (IBT_ENABLED): Likewise.
11967 (SHSTK_ENABLED): Likewise.
11968
11969 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11970
11971 [BZ #23208]
11972 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11973 (LOCALES): Likewise.
11974 * localedata/dsb_DE.UTF-8.in: New file.
11975 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11976
11977 2018-07-12 Florian Weimer <fweimer@redhat.com>
11978
11979 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11980 __mprotect, not mprotect.
11981
11982 2018-07-11 Florian Weimer <fweimer@redhat.com>
11983
11984 * io/Makefile (headers): Add bits/statx.h.
11985
11986 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11987
11988 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11989 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11990 and headers.
11991 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11992 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11993 for utf8_gen.py
11994
11995 2018-07-10 Florian Weimer <fweimer@redhat.com>
11996
11997 * io/Makefile (routines): Add statx.
11998 (tests-internal): Add tst-statx.
11999 * io/Versions (GLIBC_2.28): Export statx.
12000 * io/bits/statx.h: New file.
12001 * io/sys/stat.h [__USE_GNU]: Include it.
12002 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12003 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12004 Define.
12005 * io/statx.c: New file.
12006 * io/statx_generic.: Likewise.
12007 * io/tst-statx.: Likewise.
12008 * include/bits/statx.h: Likewise.
12009 * sysdeps/unix/sysv/linux/kernel-features.h
12010 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12011 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12012 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12013 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12014 Undefine.
12015 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12016 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12017 * sysdeps/unix/sysv/linux/statx.c: New file.
12018 * manual/filesys.texi: Note that statx is undocumented.
12019 * sysdeps/**/libc*.abilist: Update.
12020
12021 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12022
12023 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12024 a kernel issue which lead to test failure in some cases.
12025
12026 2018-07-10 Florian Weimer <fweimer@redhat.com>
12027
12028 [BZ #23036]
12029 * posix/regexec.c (check_node_accept_bytes): When comparing
12030 weights, do not compare an extra byte after the end of the
12031 weights.
12032
12033 2018-07-10 Florian Weimer <fweimer@redhat.com>
12034
12035 * libio/readline.c: Fix copyright year.
12036 * libio/tst-readline.c Likewise.
12037 * nss/tst-nss-files-hosts-getent.c: Likewise.
12038
12039 2018-07-06 Florian Weimer <fweimer@redhat.com>
12040
12041 [BZ #18991]
12042 * nss/nss_files/files-XXX.c (internal_getent): Use
12043 __libc_readline_unlocked. Seek back to the start of the line if
12044 parsing failes with ERANGE.
12045 (get_contents_ret, get_contents): Remove.
12046 * nss/tst-nss-files-hosts-getent.c: New file.
12047 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12048 (tst-nss-files-hosts-getent): Link with -ldl.
12049
12050 2018-07-06 Florian Weimer <fweimer@redhat.com>
12051
12052 * include/stdio.h (__libc_readline_unlocked): Declare.
12053 (__ftello64, __fseeko64): Declare aliases.
12054 * libio/readline.c: New file.
12055 * libio/tst-readline.c: Likewise.
12056 (routines): Add readline.
12057 (tests-internal): Add tst-readlime.
12058 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12059 __libc_readline_unlocked.
12060 * libio/fseeko.c (__fseeko): Rename from fseeko.
12061 (fseeko): Add alias.
12062 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12063 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12064 (fseeko64): Add alias.
12065 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12066 * libio/ftello64.c (__ftello64): Rename from ftello64.
12067 (ftello64): Add alias.
12068
12069 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12070
12071 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12072 HWCAP_ATOMICS.
12073
12074 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12075
12076 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12077 Use dl_hwcap without masking.
12078 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12079 Remove HWCAP_CPUID.
12080
12081 2018-07-06 Florian Weimer <fweimer@redhat.com>
12082
12083 * conform/conformtest.pl (checknamespace): Escape literal braces
12084 in regular expressions.
12085
12086 2018-07-06 Amit Pawar <amit.pawar@amd.com>
12087
12088 * sysdeps/x86/cpu-features.c (get_common_indeces):
12089 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12090 * sysdeps/x86/cpu-features.c (init_cpu_features):
12091 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12092
12093 2018-07-05 Florian Weimer <fweimer@redhat.com>
12094
12095 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12096 protector.
12097 (CFLAGS-elf-init.oS): Likewise.
12098
12099 2018-07-05 Florian Weimer <fweimer@redhat.com>
12100 Carlos O'Donell <carlos@redhat.com>
12101
12102 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12103 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12104 with stack protector enabled because there is no risk of infinite
12105 recursion.
12106
12107 2018-07-05 Maciej W. Rozycki <macro@mips.com>
12108
12109 [BZ #19818]
12110 [BZ #23307]
12111 * libc-abis (ABSOLUTE): New ABI.
12112 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12113 * NEWS: Mention the new ABI.
12114
12115 2018-07-05 Florian Weimer <fweimer@redhat.com>
12116
12117 [BZ # 17662]
12118 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12119 (RENAME_WHITEOUT): Define.
12120 [__USE_GNU] (renameat2): Declare.
12121 * stdio-common/Makefile (routines): Add renameat2.
12122 (tests): Add tst-renameat2.
12123 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12124 * stdio-common/renameat2.c: New file.
12125 * stdio-common/tst-renameat2.c: Likewise.
12126 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12127 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12128 undocumented.
12129 * sysdeps/unix/sysv/linux/kernel-features.h
12130 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12131 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12132 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12133 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12134 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12135 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12136 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12137 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12138 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12139 * include/stdio.h (__renameat): Add alias for renameat.
12140 * stdio-common/renameat.c (__renameat): Rename from renameat.
12141 Add hidden definition and alias.
12142 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12143 * sysdeps/mach/hurd/renameat.c: Likewise.
12144 * sysdeps/**/libc*.abilist: Add renameat2.
12145
12146 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12147
12148 * posix/bug-regex33.c: Fix build after regex sync.
12149
12150 2018-07-04 Carlos O'Donell <carlos@redhat.com>
12151
12152 [BZ #23164]
12153 * localedata/tst-langinfo-setlocale.c: New file.
12154 * localedata/tst-langinfo-setlocale-static.c: New file.
12155 * localedata/tst-langinfo-newlocale.c: New file.
12156 * localedata/tst-langinfo-newlocale-static.c: New file.
12157 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12158 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12159 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12160 (tests-static): Remove tst-langinfo-static. Add
12161 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12162 (tests-special): Remove $(objpfx)tst-langinfo.out,
12163 $(objpfx)tst-langinfo-static.out. Add
12164 $(objpfx)tst-langinfo-setlocale.out,
12165 $(objpfx)tst-langinfo-newlocale.out,
12166 $(objpfx)tst-langinfo-setlocale-static.out,
12167 $(objpfx)tst-langinfo-newlocale-static.out.
12168 ($(objpfx)tst-langinfo.out): Remove.
12169 ($(objpfx)tst-langinfo-static.out): Remove.
12170 ($(objpfx)tst-langinfo-newlocale.out): New target.
12171 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12172 (test-xfail-tst-langinfo-newlocale-static): Add.
12173 ($(objpfx)tst-langinfo-setlocale.out): New target.
12174 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12175 * localedata/tst-langinfo.c: Call test_locale.
12176 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12177 data.
12178
12179 2018-07-04 Florian Weimer <fweimer@redhat.com>
12180
12181 testrun.sh: Implement --tool=strace, --tool=valgrind
12182 * Makefile (testrun-script): Define variable.
12183 (testrun.sh): Use variable.
12184 * manual/install.texi (Tools for Compilation): make 4.0 or later
12185 is required.
12186 * configure.ac: Check for make 4.0 or later.
12187 * INSTALL: Regenerate.
12188 * configure: Likewise.
12189
12190 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12191
12192 [BZ #23233]
12193 [BZ #21163]
12194 [BZ #18986]
12195 [BZ #13762]
12196 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12197 * posix/PCRE.tests: Remove invalid test.
12198 * posix/bug-regex28.c: Fix expected values for used syntax.
12199 * posix/bug-regex37.c: New file.
12200 * posix/bug-regex38.c: Likewise.
12201 * posix/regcomp.c: Sync with gnulib.
12202 * posix/regex.c: Likewise.
12203 * posix/regex.h: Likewise.
12204 * posix/regex_internal.c: Likewise.
12205 * posix/regex_internal.h: Likewise.
12206 * posix/regexec.c: Likewise.
12207
12208 2018-06-26 Mike FABIAN <mfabian@redhat.com>
12209
12210 [BZ #23308]
12211 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12212 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12213 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12214 * localedata/unicode-gen/PropList.txt: likewise.
12215 * localedata/unicode-gen/UnicodeData.txt: likewise.
12216 * localedata/charmaps/UTF-8: Regenerate.
12217 * localedata/locales/i18n_ctype: likewise.
12218 * localedata/locales/tr_TR: likewise.
12219 * localedata/locales/translit_circle: likewise.
12220 * localedata/locales/translit_cjk_compat: likewise.
12221 * localedata/locales/translit_combining: likewise.
12222 * localedata/locales/translit_compat: likewise.
12223 * localedata/locales/translit_font: likewise.
12224 * localedata/locales/translit_fraction: likewise.
12225
12226 2018-07-03 Florian Weimer <fweimer@redhat.com>
12227
12228 [BZ #23363]
12229 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12230 * stdio-common/tst-printf.sh: Adjust expected output.
12231 * LICENSES: Update.
12232
12233 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12234
12235 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12236 symbol.
12237
12238 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12239
12240 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12241 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12242 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12243 * stdio-common/tst-printfsz-islongdouble.c: New file.
12244 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12245 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12246 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12247 [subdir == stdio-common] (tests-internal): Add
12248 test-printf-size-ieee128, and test-printf-size-ibm128.
12249 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12250 (CFLAGS-test-printf-size-ibm128.c): New variables.
12251 [subdir == stdio-common] (tests-special): Add
12252 $(objpfx)test-printf-size-ieee128.out and
12253 $(objpfx)test-printf-size-ibm128.out.
12254 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12255 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12256 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12257 __printf_sizeieee128.
12258 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12259 New file.
12260 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12261 Likewise.
12262 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12263 Likewise.
12264
12265 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12266
12267 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12268 (exp2f_inline): Likewise.
12269 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12270 (__math_uflowf): Likewise.
12271 (__math_may_uflowf): Likewise.
12272 (__math_divzerof): Likewise.
12273 (__math_invalidf): Likewise.
12274 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12275 (__math_oflowf): Likewise.
12276 (__math_uflowf): Likewise.
12277 (__math_may_uflowf): Likewise.
12278 (__math_divzerof): Likewise.
12279 (__math_invalidf): Likewise.
12280
12281 2018-06-29 DJ Delorie <dj@redhat.com>
12282 Carlos O'Donell <carlos@redhat.com>
12283
12284 [BZ #23329]
12285 * include/libc-symbols.h: Comment the freeres framework.
12286 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12287 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12288 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12289 * dlfcn/dlerror.c: Include libc-symbols.h
12290 (__dlerror_main_freeres): New function.
12291 * dlfcn/dlfreeres.c: New file.
12292 * dlfcn/sdlfreeres.c: New file.
12293 * include/dlfcn.h: Declare __dlerror_main_freeres.
12294 * malloc/set-freeres.c: Declare __libdl_freeres, and
12295 __libpthread_freeres.
12296 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12297 the releavant libraries are loaded.
12298 * malloc/thread-freeres.c: Add comments.
12299 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12300 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12301 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12302 (__free_stacks): Rename to...
12303 (free_stacks): ...this. Mark static.
12304 (queue_stack): Call free_stacks.
12305 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12306 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12307 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12308 ptr_freeres element from struct.
12309 (pthread_functions): Remove .ptr_freeres from struct initializer.
12310 [SHARED] (nptl_freeres): Remove.
12311 * nptl/nptlfreeres.c: New file.
12312 * nptl/pthreadP.h
12313 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12314 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12315 attribute_hidden.
12316 (__free_stacks): Rename to...
12317 (__nptl_stacks_freeres): ...this.
12318 (__shm_directory_freeres): Declare.
12319 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12320 (__nptl_unwind_freeres): ...this.
12321 * resolv/res-close.c: Add comment.
12322 * resolv/resolv_conf.c: Include libc-symbols.h.
12323 * string/strerror_l.c: Include libc-symbols.h.
12324 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12325 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12326 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12327 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12328
12329 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12330
12331 * stdlib/tst-strfmon_l.c: Add tests for long double.
12332
12333 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
12334
12335 [BZ #23208]
12336 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12337 * localedata/locales/dsb_DE: New file.
12338
12339 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12340
12341 [BZ #23140]
12342 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12343 genitive case).
12344 (alt_mon): New entry, import from CLDR (nominative case).
12345
12346 2018-06-29 Sylvain Lesage <severo@rednegra.net>
12347
12348 [BZ #22996]
12349 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12350
12351 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12352
12353 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12354 Use vector registers.
12355
12356 * sysdeps/aarch64/multiarch/memmove_falkor.S
12357 (__memcpy_falkor): Use vector registers.
12358
12359 2018-06-29 Martin Sebor <msebor@redhat.com>
12360
12361 * manual/stdio.texi (Customizing Printf): Mention interaction
12362 with GCC built-ins.
12363
12364 2018-06-29 Maciej W. Rozycki <macro@mips.com>
12365
12366 [BZ #23307]
12367 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12368 `st_value' is 0 if `st_shndx' is SHN_ABS.
12369 * elf/tst-absolute-zero.c: New file.
12370 * elf/tst-absolute-zero-lib.c: New file.
12371 * elf/tst-absolute-zero-lib.lds: New file.
12372 * elf/Makefile (tests): Add `tst-absolute-zero'.
12373 (modules-names): Add `tst-absolute-zero-lib'.
12374 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12375 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12376 ($(objpfx)tst-absolute-zero: New dependency.
12377
12378 2018-06-29 Zack Weinberg <zackw@panix.com>
12379
12380 * configure.ac: New command-line option --disable-crypt.
12381 Force --disable-nss-crypt when --disable-crypt is given, with a
12382 warning if it was explicitly enabled.
12383 * configure: Regenerate.
12384 * config.make.in: New boolean substitution variable $(build-crypt).
12385 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12386 when $(build-crypt).
12387 * manual/install.texi: Document --disable-crypt.
12388 * INSTALL: Regenerate.
12389
12390 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12391 which is never set.
12392 * conform/Makefile: Only include libcrypt.a in
12393 linknamespace-libs-xsi and linknamespace-libs-XPG4
12394 when $(build-crypt).
12395 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12396 USE_CRYPT to 1 when $(build-crypt).
12397 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12398 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12399 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12400
12401 2018-06-29 Zack Weinberg <zackw@panix.com>
12402
12403 * crypt/crypt.h, posix/unistd.h: Update comments and
12404 prototypes for crypt and crypt_r.
12405
12406 * manual/crypt.texi (Cryptographic Functions): New initial
12407 exposition.
12408 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12409 (Unpredictable Bytes): Improve initial exposition. Clarify error
12410 behavior of getentropy and getrandom.
12411 * manual/examples/genpass.c: Generate a salt using getentropy
12412 instead of the current time. Use hash $5$ (SHA-2-256).
12413 * manual/examples/testpass.c: Demonstrate validation against
12414 hashes generated with three different one-way functions.
12415
12416 * manual/intro.texi: crypt.texi does not need an overview
12417 anymore.
12418
12419 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12420 * manual/terminal.texi: Consistently refer to "passphrases"
12421 * instead of "passwords", and to the "user database" instead
12422 * of the "password database".
12423 * manual/users.texi: Similarly. Add notes about how actual
12424 passphrase hashes are now stored in the shadow database.
12425 Remove 20-year-old junk todo note.
12426
12427 2018-06-29 Zack Weinberg <zackw@panix.com>
12428
12429 * manual/crypt.texi: Use a normal top-level @node declaration.
12430 Move most of the introductory text to the 'crypt' section.
12431 Move the example programs below the @deftypefun for 'crypt_r'.
12432 Move the 'getpass' section...
12433 * manual/terminal.texi: ...here.
12434
12435 2018-06-29 Zack Weinberg <zackw@panix.com>
12436 Florian Weimer <fweimer@redhat.com>
12437
12438 * posix/unistd.h: Do not declare encrypt.
12439 (_XOPEN_CRYPT): Remove macro definition.
12440 (crypt): Declare only for _USE_MISC.
12441 * stdlib/stdlib.h: Do not declare setkey.
12442 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12443 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12444
12445 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12446 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12447 into compat symbols. Don't define initial_perm if it's not
12448 going to be used.
12449 * crypt/cert.c: Link explicitly with the expected versions for
12450 setkey and encrypt. If they are not available at all, mark
12451 the test as unsupported.
12452
12453 * sunrpc/des_crypt.c: Unconditionally block linkage with
12454 cbc_crypt and ecb_crypt for new binaries.
12455 * sunrpc/des_soft.c: Unconditionally block linkage with
12456 des_setparity for new binaries.
12457
12458 * manual/crypt.texi: Remove the entire "DES Encryption"
12459 section. Also remove the paragraph talking about FIPS 140-2
12460 from the introduction.
12461 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12462 of libgcrypt for "real" encryption, not DES.
12463 * manual/conf.texi (Constants for Sysconf): Mention that
12464 _XOPEN_CRYPT is no longer impelemented.
12465
12466 * conform/data/unistd.h-data: Remove crypt function declaration.
12467
12468 2018-06-29 Florian Weimer <fweimer@redhat.com>
12469
12470 [BZ #23351]
12471 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12472 (disallow_malloc_check): Remove variable.
12473 (__malloc_check_init): Adjust.
12474 (malloc_set_state): Update comment.
12475 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12476 declarations.
12477
12478 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12479
12480 [BZ #23140]
12481 * localedata/locales/ast_ES (mon): Rename to...
12482 (alt_mon): This.
12483 (mon): Import from CLDR (genitive case).
12484
12485 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12486 Jakub Sitnicki <jkbs@redhat.com>
12487
12488 [BZ #21812]
12489 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12490 on NLM_F_DUMP_INTR.
12491
12492 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12493
12494 * manual/llio.texi: Remove spurious space.
12495
12496 2018-06-28 Florian Weimer <fweimer@redhat.com>
12497
12498 [BZ #23349]
12499 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12500 _STRUCT_TIMESPEC.
12501
12502 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12503
12504 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
12505 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
12506 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12507 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12508 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12509 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12510 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12511
12512 2018-06-27 Maciej W. Rozycki <macro@mips.com>
12513
12514 [BZ #23266]
12515 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12516 Copy and null-terminate entries that are not terminated, in
12517 addition to empty ones.
12518
12519 2018-06-27 Florian Weimer <fweimer@redhat.com>
12520
12521 [BZ #18023]
12522 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12523 (extend_alloca_account): Remove.
12524 * manual/stdio.texi (Variable Arguments Output): Update comment.
12525
12526 2018-06-27 Joseph Myers <joseph@codesourcery.com>
12527
12528 * nptl/sockperf.c: Remove file.
12529
12530 2018-06-27 Florian Weimer <fweimer@redhat.com>
12531
12532 [BZ #18023]
12533 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12534 scratch_buffer instead of extend_alloca.
12535
12536 2018-06-27 Florian Weimer <fweimer@redhat.com>
12537
12538 [BZ #18023]
12539 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12540 scratch_buffer instead of extend_alloca. Update comments.
12541
12542 2018-06-27 Florian Weimer <fweimer@redhat.com>
12543
12544 [BZ #18023]
12545 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12546 instead of extend_alloca.
12547
12548 2018-06-26 Joseph Myers <joseph@codesourcery.com>
12549
12550 [BZ #13888]
12551 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12552 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12553 /tmp.
12554 * scripts/test-installation.pl: Put temporary files in build
12555 directory, not /tmp.
12556 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12557 (CFLAGS-bug4.c): Likewise.
12558 (CFLAGS-bug5.c): Likewise.
12559 (CFLAGS-test-fseek.c): Likewise.
12560 (CFLAGS-test-popen.c): Likewise.
12561 (CFLAGS-test_rdwr.c): Likewise.
12562 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12563 /tmp.
12564 * stdio-common/bug4.c (main): Likewise.
12565 * stdio-common/bug5.c (main): Likewise.
12566 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12567 * stdio-common/test-popen.c (do_test): Likewise.
12568 * stdio-common/test_rdwr.c (main): Likewise.
12569
12570 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
12571
12572 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12573 (sem_open): Set sem.newsem.pad to zero for valgrind.
12574
12575 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12576
12577 [BZ #20251]
12578 * NEWS: Mention fcntl64 addition.
12579 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12580 * login/utmp_file.c: Likewise.
12581 * sysdeps/posix/fdopendir.c: Likewise.
12582 * sysdeps/posix/opendir.c: Likewise.
12583 * sysdeps/unix/pt-fcntl.c: Likewise.
12584 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12585 __fcntl64_nocancel_adjusted): New prototype.
12586 (__fcntl_nocancel_adjusted): Remove prototype.
12587 * io/Makefile (routines): Add fcntl64.
12588 (CFLAGS-fcntl64.c): New rule.
12589 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12590 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12591 * io/fcntl.h (fcntl64): Add prototype and redirect if
12592 __USE_FILE_OFFSET64 is defined.
12593 * io/fcntl64.c: New file.
12594 * manual/llio.text: Add a note for which commands fcntl acts a
12595 cancellation point.
12596 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12597 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12598 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12599 New symbols.
12600 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12601 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12602 non-LFS case.
12603 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12604 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12605 to __fcntl64_nocancel.
12606 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12607 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12608 to __fcntl64_nocancel.
12609 * sysdeps/generic/not-cancel.h: Likewise.
12610 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12611 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12612 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12613 (fcntl64): New symbol.
12614 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12625 fcntl64): Likewise.
12626 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12628 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12631 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12632 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12633 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12634 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12636 Likewise.
12637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12638 Likewise.
12639 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12640 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12642
12643 2018-06-26 Florian Weimer <fweimer@redhat.com>
12644
12645 Run thread shutdown functions in an explicit order.
12646 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12647 definition.
12648 (__libc_thread_freeres): Call thread shutdown functions
12649 explicitly.
12650 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12651 * include/string.h (__strerror_thread_freeres): Declare.
12652 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12653 arena_thread_freeres. No longer static. Remove thread shutdown
12654 hook registration.
12655 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12656 Declare.
12657 * resolv/res-close.c (__res_thread_freeres): Renamed from
12658 res_thread_freeres. No longer static. Remove thread shutdown
12659 hook registration.
12660 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12661 * resolv/resolv_conf.c (freeres): Remove incorrect section
12662 attribute and use libc_freeres_fn.
12663 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12664 strerror_thread_freeres. No longer static. Remove thread
12665 shutdown hook registration.
12666 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12667 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12668 shutdown hook registration.
12669 * Makerules (shlib.lds): Do not provide section boundary symbols
12670 for __libc_thread_subfreeres.
12671 * manual/memory.texi (Basic Allocation): Update comment.
12672
12673 2018-06-26 Florian Weimer <fweimer@redhat.com>
12674
12675 Remove always-defined _RPC_THREAD_SAFE_ macro.
12676 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12677 Do not define _RPC_THREAD_SAFE_.
12678 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12679 conditional.
12680 * sunrpc/clnt_perr.c: Likewise.
12681 * sunrpc/clnt_raw.c: Likewise.
12682 * sunrpc/clnt_simp.c: Likewise.
12683 * sunrpc/key_call.c: Likewise.
12684 * sunrpc/rpc_common.c: Likewise.
12685 * sunrpc/rpc_main.c: Likewise.
12686 * sunrpc/rpc_thread.c: Likewise.
12687 * sunrpc/svc.c: Likewise.
12688 * sunrpc/svc_raw.c: Likewise.
12689 * sunrpc/svc_simple.c: Likewise.
12690 * sumrpc/svcauth_des.c: Likewise.
12691
12692 2018-06-26 Florian Weimer <fweimer@redhat.com>
12693
12694 * libio/Makefile (tests-internal): Add tst-vtables,
12695 tst-vtables-interposed.
12696 * libio/tst-vtables.c: New file.
12697 * libio/tst-vtables-common.c: Likewise.
12698 * libio/tst-vtables-interposed.c: Likewise.
12699
12700 2018-06-26 Florian Weimer <fweimer@redhat.com>
12701
12702 * support/support_test_main.c (support_test_main): Only call
12703 setvbuf if not disables.
12704 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12705 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12706
12707 2018-06-26 Florian Weimer <fweimer@redhat.com>
12708
12709 [BZ #23313]
12710 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12711
12712 2018-06-25 Florian Weimer <fweimer@redhat.com>
12713
12714 [BZ #18023]
12715 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12716 Use struct scratch_buffer instead of extend_alloca.
12717
12718 2018-06-25 Florian Weimer <fweimer@redhat.com>
12719
12720 [BZ #18023]
12721 * nss/getent.c (initgroups_keys): Use dynarray instead of
12722 extend_alloca.
12723
12724 2018-06-25 Florian Weimer <fweimer@redhat.com>
12725
12726 [BZ #18023]
12727 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12728 Use struct scratch_buffer instead of extend_alloca.
12729
12730 2018-06-25 Florian Weimer <fweimer@redhat.com>
12731
12732 [BZ #18023]
12733 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12734 back to malloc directly, without stack allocations.
12735
12736 2018-06-25 Florian Weimer <fweimer@redhat.com>
12737
12738 [BZ #18023]
12739 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12740 of extend_alloca.
12741
12742 2018-06-25 Florian Weimer <fweimer@redhat.com>
12743
12744 [BZ #18023]
12745 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12746 of extend_alloca.
12747 * nscd/hstcache.c (addhstbyX): Likewise.
12748 * nscd/pwdcache.c (addpwbyX): Likewise.
12749 * nscd/servicescache.c (addservbyX): Likewise.
12750
12751 2018-06-25 Florian Weimer <fweimer@redhat.com>
12752
12753 [BZ #18023]
12754 * nscd/connections.c (read_cmdline): New function.
12755 (restart): Use it. Update comment.
12756
12757 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12758
12759 [BZ #23140]
12760 * localedata/locales/csb_PL (mon): Rename to...
12761 (alt_mon): This.
12762 (abmon): Rename to...
12763 (ab_alt_mon): This.
12764 (mon): Add with proper genitive forms, copy from Wikipedia.
12765 (abmon): Likewise.
12766
12767 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12768
12769 [BZ #19485]
12770 * localedata/locales/csb_PL (mon): Fix typos:
12771 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12772 (yesstr): Add, value is "jo".
12773 (nostr): Add, value is "nié".
12774
12775 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12776
12777 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12778 all log1p and significand functions on m680x0.
12779 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12780 of s_significand.c..
12781 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12782 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12783 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12784 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12785 s_log1p.c and include it..
12786
12787 2018-06-21 Vincent Chen <vincentc@andestech.com>
12788
12789 * elf/elf.h (R_NDS32_NONE): New define.
12790 (R_NDS32_32_RELA): Likewise.
12791 (R_NDS32_COPY): Likewise.
12792 (R_NDS32_GLOB_DAT): Likewise.
12793 (R_NDS32_JUMP_SLOT): Likewise.
12794 (R_NDS32_RELATIVE): Likewise.
12795 (R_NDS32_TLS_TPOFF): Likewise.
12796 (R_NDS32_TLS_DESC): Likewise.
12797
12798 2018-06-21 Mark Wielaard <mark@klomp.org>
12799
12800 * elf/elf.h (R_BPF_MAP_FD): Removed.
12801 (R_BPF_64_64, R_BPF_64_32): New.
12802
12803 2018-06-21 Florian Weimer <fweimer@redhat.com>
12804
12805 [BZ #23253]
12806 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12807 Renamed from libc_feholdsetround_ctx.
12808 (default_libc_feresetround_ctx): Renamed from
12809 libc_feresetround_ctx.
12810 (default_libc_feholdsetround_noex_ctx): Renamed from
12811 libc_feholdsetround_noex_ctx.
12812 (default_libc_feresetround_noex_ctx): Renamed from
12813 libc_feresetround_noex_ctx.
12814 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12815 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12816 forwardning to the old implementations under the new names.
12817 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12818 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12819 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12820 (libc_feresetround_ctx): Forward to default implements for i386
12821 and MATH_SET_BOTH_ROUNDING_MODES.
12822 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12823 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12824
12825 2018-06-20 Joseph Myers <joseph@codesourcery.com>
12826
12827 * string/tst-cmp.c: Include <libc-diag.h>.
12828 (strncmp_max): Disable -Wstringop-overflow= around call to
12829 strncmp.
12830 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12831 strncasecmp.
12832
12833 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12834 (main): Disable -Wunused-value around call to strpbrk.
12835 * string/bug-strspn1.c: Include <libc-diag.h>.
12836 (main): Disable -Wunused-value around call to strspn.
12837
12838 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12839 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12840
12841 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12842 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12843
12844 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12845
12846 * math/Makefile (libm-calls): Move s_significandF to...
12847 (gen-libm-calls): ... here.
12848 * math/s_significand_template.c: New file.
12849 * math/s_significand.c: Removed.
12850 * math/s_significandf.c: Removed.
12851 * math/s_significandl.c: Removed.
12852 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12853 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12854
12855 * math/e_exp2_template.c (declare_mgen_finite_alias,
12856 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12857 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12858 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12859
12860 2018-06-20 Florian Weimer <fweimer@redhat.com>
12861
12862 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12863
12864 2018-06-19 Joseph Myers <joseph@codesourcery.com>
12865
12866 [BZ #23280]
12867 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12868 floating-point number to strtod functions rather than possibly
12869 negating result of those functions.
12870 * stdio-common/tst-scanf-round.c: New file.
12871 * stdio-common/Makefile (tests): Add tst-scanf-round.
12872 ($(objpfx)tst-scanf-round): Depend on $(libm).
12873
12874 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12875
12876 * sysdeps/mach/hurd/localplt.data: Move to...
12877 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12878 R_386_GLOB_DAT like on Linux i386.
12879
12880 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12881
12882 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12883 (SHM_STAT_ANY): New macro.
12884 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12885 (SHM_STAT_ANY): Likewise.
12886 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12887 (SHM_STAT_ANY): Likewise.
12888 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12889 (SHM_STAT_ANY): Likewise.
12890 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12891 (SHM_STAT_ANY): Likewise.
12892 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12893 (SHM_STAT_ANY): Likewise.
12894 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12895 (SHM_STAT_ANY): Likewise.
12896 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12897 (SHM_STAT_ANY): Likewise.
12898 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12899 (SHM_STAT_ANY): Likewise.
12900 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12901 (SHM_STAT_ANY): Likewise.
12902 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12903 (SHM_STAT_ANY): Likewise.
12904 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12905 (SHM_STAT_ANY): Likewise.
12906
12907 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12908 (SEM_STAT_ANY): New macro.
12909 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12910 (SEM_STAT_ANY): Likewise.
12911 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12912 (SEM_STAT_ANY): Likewise.
12913 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12914 (SEM_STAT_ANY): Likewise.
12915 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12916 (SEM_STAT_ANY): Likewise.
12917 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12918 (SEM_STAT_ANY): Likewise.
12919 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12920 (SEM_STAT_ANY): Likewise.
12921 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12922 (SEM_STAT_ANY): Likewise.
12923 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12924 (SEM_STAT_ANY): Likewise.
12925 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12926 (SEM_STAT_ANY): Likewise.
12927
12928 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12929 (MSG_STAT_ANY): New macro.
12930 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12931 (MSG_STAT_ANY): Likewise.
12932 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12933 (MSG_STAT_ANY): Likewise.
12934 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12935 (MSG_STAT_ANY): Likewise.
12936 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12937 (MSG_STAT_ANY): Likewise.
12938 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12939 (MSG_STAT_ANY): Likewise.
12940 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12941 (MSG_STAT_ANY): Likewise.
12942 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12943 (MSG_STAT_ANY): Likewise.
12944 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12945 (MSG_STAT_ANY): Likewise.
12946 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12947 (MSG_STAT_ANY): Likewise.
12948
12949 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12950 (MAP_TYPE): Change value to 0x2b.
12951
12952 2018-06-18 Florian Weimer <fweimer@redhat.com>
12953
12954 [BZ #15722]
12955 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12956 socket with SOCK_CLOEXEC.
12957
12958 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12959
12960 [BZ #23303]
12961 * sysdeps/powerpc/powerpc64/le/Makefile
12962 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12963 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12964 (gnulib-tests): Also add $(f128-loader-link) for
12965 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12966
12967 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12968
12969 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12970 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12971 of sendfile.
12972 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12973 (sendfile64): New strong alias.
12974 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12975 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12976 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12977 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12978 attribute.
12979 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12980 ___pthread_get_cleanup_stack.
12981 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12982 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12983 * mach/shortcut.awk: Make syscall stubs include
12984 <mach-shortcuts-hidden.h> and add hidden definition.
12985 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12986 (__mach_msg): Add hidden prototype.
12987 * mach/msg.c: Include <mach.h>.
12988 (__mach_msg): Add hidden definition.
12989 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12990 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12991 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12992 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12993 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12994 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12995 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12996 prototype and definition.
12997 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12998 hidden target for _hurd_self_sigstate.
12999
13000 2018-06-15 Joseph Myers <joseph@codesourcery.com>
13001
13002 [BZ #23007]
13003 * stdlib/tst-strtod-nan-sign-main.c: New file.
13004 * stdlib/tst-strtod-nan-sign.c: Likewise.
13005 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13006 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13007 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13008 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13009 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13010
13011 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13012
13013 [BZ #23007]
13014 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13015 appropriate sign.
13016
13017 2018-06-14 Florian Weimer <fweimer@redhat.com>
13018
13019 [BZ #23290]
13020 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13021 that the result stays within the ISO-8859-1 range.
13022 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13023 characters are defined in IBM273.
13024
13025 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13026
13027 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13028 __mach_task_self): Remove attribute_hidden.
13029
13030 2018-06-14 Joseph Myers <joseph@codesourcery.com>
13031
13032 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13033 ignore -Wrestrict for one test.
13034
13035 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13036 Szabolcs Nagy <szabolcs.nagy@arm.com>
13037
13038 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13039
13040 2018-06-14 Florian Weimer <fweimer@redhat.com>
13041
13042 * scripts/update-abilist.sh: Accept empty list of files to patch.
13043
13044 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13045
13046 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13047 test-xfail-check-abi-libmachuser): Add.
13048 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13049 __libc_read and __libc_write to __read and __write.
13050 * sysdeps/hurd/include/hurd/port.h: New file.
13051 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13052 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13053 __thread_switch, __evc_wait): Move declarations to...
13054 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13055 attribute_hidden.
13056 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13057 use PLT to call _hurd_self_sigstate.
13058
13059 2018-06-13 Joseph Myers <joseph@codesourcery.com>
13060
13061 [BZ #23279]
13062 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13063 MAX_EXP as overflowing.
13064 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13065 overflow flag.
13066 (round_str): Output also whether result overflows in each rounding
13067 mode.
13068 * stdlib/tst-strtod-round-data: Add more tests.
13069 * stdlib/tst-strtod-round-data.h: Regenerated.
13070 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13071 (TEST): Handle extra arguments for overflow flags.
13072 (struct test_overflow): New type.
13073 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13074 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13075 (test_in_one_mode): Take argument with overflow information.
13076 (do_test): Update calls to test_in_one_mode.
13077
13078 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13079
13080 * elf/dl-load (_dl_dst_substitute): Correct comment.
13081 (_dl_dst_count): Likewise.
13082
13083 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13084 lll_futex_timed_wait.
13085
13086 2018-06-12 Joseph Myers <joseph@codesourcery.com>
13087
13088 [BZ #23277]
13089 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13090 attribute.
13091 * math/test-nan-const.c: New file.
13092 * math/Makefile (tests): Add test-nan-const.
13093 (CFLAGS-test-nan-const.c): New variable.
13094
13095 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13096
13097 * benchtests/scripts/compare_strings.py (process_results): Add
13098 funcs argument. Compare only functions which are selected.
13099 (main): Check if base function is among selected functions.
13100 Pass selected functions to process_results.
13101 (__main__): Add -f/--functions argument.
13102
13103 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13104 Hongbo Zhang <hongbo.zhang@linaro.org>
13105
13106 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13107 __memcpy_falkor for phecda core.
13108 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13109 __memmove_falkor for phecda core.
13110 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13111 __memset_falkor for phecda core.
13112 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13113 for phecda core.
13114 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13115 macro to identify phecda core.
13116
13117 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13118 Andreas Schwab <schwab@suse.de>
13119 Dmitry V. Levin <ldv@altlinux.org>
13120 Florian Weimer <fweimer@redhat.com>
13121
13122 [BZ #23102]
13123 [BZ #21942]
13124 [BZ #18018]
13125 [BZ #23259]
13126 CVE-2011-0536
13127 * elf/dl-dst.h: Remove DL_DST_COUNT.
13128 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13129 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13130 (is_dst): Comment. Support ELF gABI.
13131 (_dl_dst_count): Comment. Simplify and count DSTs.
13132 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13133 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13134 locals.
13135
13136 2018-06-12 Zack Weinberg <zackw@panix.com>
13137
13138 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13139 * sysdeps/unix/sysv/linux/dl-sysdep.c
13140 Include not-cancel.h. Use __close_nocancel instead of __close,
13141 __open64_nocancel instead of __open, __read_nocancel instead of
13142 __libc_read, and __write_nocancel instead of __libc_write.
13143
13144 * csu/check_fds.c (check_one_fd)
13145 * sysdeps/posix/fdopendir.c (__fdopendir)
13146 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
13147 instead of __fcntl and/or __libc_fcntl.
13148
13149 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13150 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
13151 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
13152 Use __open64_nocancel instead of __open_nocancel.
13153
13154 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13155 hidden_proto declarations to the end and issue them if either
13156 IS_IN(libc) or IS_IN(rtld).
13157 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13158 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13159 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13160 read_nocancel, waitpid_nocancel, write_nocancel.
13161
13162 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13163 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13164 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
13165
13166 * nptl/pt-fcntl.c: New file.
13167 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13168 (libpthread-routines): Add pt-fcntl.
13169 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13170 (__libc_fcntl): Remove attribute_hidden.
13171 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13172 __fcntl_nocancel_adjusted, not fcntl_common.
13173 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
13174 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13175 to fcntl_nocancel.c.
13176 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13179 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13180
13181 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13182 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13183 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13184 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13185 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13186 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13187 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13188 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13189 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13190 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13191 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13192 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13193 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13194 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13195 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13196 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13197 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13198 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13199 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13200 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13201
13202 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13203 libpthread-routines.
13204 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13205 defines nothing.
13206
13207 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13208 __libc_read, and __write instead of __libc_write. Define
13209 __open64 in addition to __open.
13210
13211 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13212
13213 [BZ #23250]
13214 [BZ #10686]
13215 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13216 to _private_tm[3] and add __glibc_reserved2.
13217 Add _Static_assert of offset of __private_ss == 0x30.
13218 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13219 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13220
13221 2018-06-12 Florian Weimer <fweimer@redhat.com>
13222
13223 x86: Make strncmp usable from rtld.
13224 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13225 __strncmp_ia32 if in libc (and not in rtld).
13226 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13227 strncmp if not in libc (and not to __strncmp_sse2).
13228
13229 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13230
13231 [BZ #23140]
13232 * localedata/locales/gd_GB (mon): Rename to...
13233 (alt_mon): This.
13234 (mon): Import from CLDR (genitive case).
13235 * localedata/locales/hsb_DE (mon): Rename to...
13236 (alt_mon): This.
13237 (mon): Import from CLDR (genitive case).
13238 * localedata/locales/wa_BE (mon): Rename to...
13239 (alt_mon): This.
13240 (mon): Add, fill with the proper genitive forms, but CLDR data
13241 is incomplete; completed according to the comments in this file.
13242 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13243
13244 * localedata/locales/wa_BE (country_name): Reword
13245 "Beljike" -> "Beldjike".
13246
13247 2018-06-11 Joseph Myers <joseph@codesourcery.com>
13248
13249 [BZ #23272]
13250 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13251 cases of non-finite arguments.
13252 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13253
13254 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
13255
13256 [BZ #23174]
13257 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13258
13259 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13260
13261 [BZ #23264]
13262 * include/unistd.h (__execvpex): New prototype.
13263 * posix/Makefile (tests): Add tst-spawn4.
13264 (tests-internal): Add tst-spawn4-compat.
13265 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13266 * posix/tst-spawn4-compat.c: New file.
13267 * posix/tst-spawn4.c: Likewise.
13268 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13269 binaries as shell scripts.
13270 * sysdeps/posix/spawni.c (__spawni): Likewise.
13271
13272 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13273
13274 [BZ #23145]
13275 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13276 ($(all-built-dso:=.dynsym): New target.
13277 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13278 ($(objpfx)check-initfini.out): New target.
13279 (generated): Add check-initfini.out.
13280 * scripts/check-initfini.awk: New file.
13281 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13282 (_fini): Likewise.
13283 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13284 (_fini): Likewise.
13285 * sysdeps/arm/crti.S (_init): Mark as hidden.
13286 (_fini): Likewise.
13287 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13288 (_fini): Likewise.
13289 * sysdeps/i386/crti.S (_init): Mark as hidden.
13290 (_fini): Likewise.
13291 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13292 (_fini): Likewise.
13293 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13294 (_fini): Likewise.
13295 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13296 (_fini): Likewise.
13297 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13298 (_fini): Likewise.
13299 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13300 (_fini): Likewise.
13301 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13302 (_fini): Likewise.
13303 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13304 (_fini): Likewise.
13305 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13306 (_fini): Likewise.
13307 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13308 (_fini): Likewise.
13309 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13310 (_fini): Likewise.
13311 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13312 (_fini): Likewise.
13313 * sysdeps/sh/crti.S (_init): Mark as hidden.
13314 (_fini): Likewise.
13315 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13316 (_fini): Likewise.
13317 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13318 (_fini): Likewise.
13319
13320 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13321
13322 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13323 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13324 and TF redirection to KFtype and KF only when the default
13325 long double type is not the IEEE 128-bit floating point type.
13326
13327 2018-06-05 Joseph Myers <joseph@codesourcery.com>
13328
13329 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13330 macro.
13331 (HWCAP_USCAT): Likewise.
13332 (HWCAP_ILRCPC): Likewise.
13333 (HWCAP_FLAGM): Likewise.
13334 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13335 Increase to 28.
13336 (_dl_aarch64_cap_flags): Add new flag names.
13337
13338 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13339 (MAP_FIXED_NOREPLACE): New macro.
13340 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13341 (MAP_FIXED_NOREPLACE): Likewise.
13342 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13343 (MAP_FIXED_NOREPLACE): Likewise.
13344 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13345 (MAP_FIXED_NOREPLACE): Likewise.
13346 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13347 (MAP_FIXED_NOREPLACE): Likewise.
13348 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13349 (MAP_FIXED_NOREPLACE): Likewise.
13350 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13351 (MAP_FIXED_NOREPLACE): Likewise.
13352 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13353 (MAP_FIXED_NOREPLACE): Likewise.
13354 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13355 (MAP_FIXED_NOREPLACE): Likewise.
13356 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13357 (MAP_FIXED_NOREPLACE): Likewise.
13358 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13359 (MAP_FIXED_NOREPLACE): Likewise.
13360 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13361 (MAP_FIXED_NOREPLACE): Likewise.
13362 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13363 (MAP_FIXED_NOREPLACE): Likewise.
13364 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13365 (MAP_FIXED_NOREPLACE): Likewise.
13366 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13367 (MAP_FIXED_NOREPLACE): Likewise.
13368
13369 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13370 version to 4.17.
13371
13372 2018-06-04 Joseph Myers <joseph@codesourcery.com>
13373
13374 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13375 version to 4.17
13376
13377 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13378
13379 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13380 int.
13381 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13382
13383 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13384
13385 * benchtests/scripts/compare_string.py: (process_results) Catch
13386 exception in non-existent base_func and catch exception in
13387 non-existent attribute.
13388 (parse_file) Catch exception if input file does not exist.
13389
13390 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13391
13392 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13393 options to avoid diff calculation and omit header, respectively.
13394 (main): process --no-diff and --no-header
13395
13396 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13397 H.J. Lu <hongjiu.lu@intel.com>
13398
13399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13400 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13401 wcsncmp-sse2.
13402 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13403 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13404 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13405 and __wcsncmp_sse2.
13406 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13407 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13408 AVX unaligned load is fast and vzeroupper is preferred.
13409 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13410 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13411 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13412 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13413 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13414 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13415 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13416 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13417 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13418 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13419 is undefined.
13420
13421 2018-06-01 Florian Weimer <fweimer@redhat.com>
13422
13423 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13424 configuring with --disable-multi-arch, building with
13425 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13426 Haswell-era CPU.
13427
13428 2018-06-01 Florian Weimer <fweimer@redhat.com>
13429
13430 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13431 results from building with “-march=x86-64 -mtune=generic
13432 -mfpmath=sse” and running on a Haswell-era CPU.
13433
13434 2018-06-01 Joseph Myers <joseph@codesourcery.com>
13435
13436 [BZ #18473]
13437 * soft-fp/sqrttf2.c: Remove file.
13438 * soft-fp/sqrtdf2.c: Move to ....
13439 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13440 <shlib-compat.h>.
13441 (__sqrtdf2): Make conditional on
13442 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13443 symbol.
13444 * soft-fp/sqrtsf2.c: Move to ....
13445 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13446 <shlib-compat.h>.
13447 (__sqrtsf2): Make conditional on
13448 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13449 symbol.
13450 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13451 (gcc-double-routines): Remove sqrtdf2.
13452 (gcc-quad-routines): Remove sqrttf2.
13453 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13454 Do not filter out sqrtsf2 and sqrtdf2.
13455 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13456 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13457
13458 2018-06-01 Florian Weimer <fweimer@redhat.com>
13459
13460 * sysdeps/generic/libcidn.abilist: Remove file.
13461
13462 2018-06-01 Florian Weimer <fweimer@redhat.com>
13463
13464 [BZ #23236]
13465 * libio/strfile.h (struct _IO_str_fields): Rename members to
13466 discourage their use and add comment.
13467 (_IO_STR_DYNAMIC): Remove unused macro.
13468 * libio/strops.c (_IO_str_init_static_internal): Do not use
13469 callback pointers. Call malloc and free.
13470 (_IO_str_overflow): Do not use callback pointers. Call malloc
13471 and free.
13472 (enlarge_userbuf): Likewise.
13473 (_IO_str_finish): Call free.
13474 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13475 _allocate_buffer_unused.
13476 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13477 and free.
13478 (enlarge_userbuf): Likewise.
13479 (_IO_wstr_finish): Call free.
13480 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13481 _allocate_buffer_unused, _free_buffer_unused.
13482 * libio/memstream.c (__open_memstream): Likewise.
13483 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13484 * libio/wmemstream.c (open_wmemstream): Likewise.
13485
13486 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13487
13488 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13489 AMD Ryzen 7 1800X.
13490
13491 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13492
13493 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13494 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13495 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13496 New file.
13497 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13498 Likewise.
13499 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13500
13501 2018-05-29 Florian Weimer <fweimer@redhat.com>
13502
13503 * support/Makefile (libsupport-routines): Add
13504 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13505 xpthread_barrierattr_setpshared.
13506 * support/xpthread_barrierattr_destroy.c: New file.
13507 * support/xpthread_barrierattr_init.c: Likewise.
13508 * support/xpthread_barrierattr_setpshared.c: Likewise.
13509
13510 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13511
13512 [BZ #23206]
13513 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13514 _r_debug and update DT_DEBUG for debugger.
13515
13516 2018-05-29 Florian Weimer <fweimer@redhat.com>
13517
13518 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13519 (tst-strtod5i.out): Likewise.
13520
13521 2018-05-25 Joseph Myers <joseph@codesourcery.com>
13522
13523 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13524 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13525 (sparc64-quad-routines): New variable. Moved from ....
13526 [$(subdir) = soft-fp] (sysdep_routines): Add
13527 $(sparc64-quad-routines). Moved from ....
13528 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13529 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13530 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13531 moved from ....
13532 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13533 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13534 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13535 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13536 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13537 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13538 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13539 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13540 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13541 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13542 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13543 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13544 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13545 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13546 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13547 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13548 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13549 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13550 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13551 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13552 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13553 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13554 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13555 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13556 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13557 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13558 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13559 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13560 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13561 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13562 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13563 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13564 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13565 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13566 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13567 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13568 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13569 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13570 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13571 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13572 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13573 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13574 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13575 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13576 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13577 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13578 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13579 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13580 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13581 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13582 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13583 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13584 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13585 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13586 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13587 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13588 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13589 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13590
13591 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13592 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13593 (sparc32-quad-routines): New variable. Moved from ....
13594 [$(subdir) = soft-fp] (sysdep_routines): Add
13595 $(sparc32-quad-routines). Moved from ....
13596 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13597 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13598 moved from ....
13599 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13600 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13601 * sysdeps/sparc/sparc32/q_add.c: ... here.
13602 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13603 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13604 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13605 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13606 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13607 * sysdeps/sparc/sparc32/q_div.c: ... here.
13608 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13609 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13610 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13611 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13612 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13613 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13614 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13615 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13616 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13617 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13618 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13619 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13620 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13621 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13622 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13623 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13624 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13625 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13626 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13627 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13628 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13629 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13630 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13631 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13632 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13633 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13634 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13635 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13636 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13637 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13638 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13639 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13640 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13641 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13642 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13643 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13644 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13645 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13646 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13647 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13648 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13649 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13650 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13651 * sysdeps/sparc/sparc32/q_util.c: ... here.
13652 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13653 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13654 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13655 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13656
13657 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13658 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13659
13660 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13661 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13662 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13663 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13664
13665 2018-05-24 Joseph Myers <joseph@codesourcery.com>
13666
13667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13668 powerpc/soft-fp.
13669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13670 Likewise.
13671 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13672 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13673
13674 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13675
13676 [BZ #23171]
13677 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13678 double version.
13679
13680 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13681
13682 * sysdeps/sh/Implies: Remove sh/soft-fp.
13683 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13684 * sysdeps/sh/sfp-machine.h: ... here.
13685
13686 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13687
13688 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13689 (__mempcpy_erms): Skip zero length.
13690 (__memmove_erms): Likewise.
13691 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13692 (__memset_erms): Likewise.
13693
13694 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13695
13696 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13697 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13698 Add functions moved from ....
13699 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13700 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13701 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13702 from ....
13703 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13704 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13705 * sysdeps/alpha/e_sqrtl.c: ... here.
13706 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13707 * sysdeps/alpha/local-soft-fp.h: ... here.
13708 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13709 * sysdeps/alpha/ots_add.c: ... here.
13710 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13711 * sysdeps/alpha/ots_cmp.c: ... here.
13712 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13713 * sysdeps/alpha/ots_cmpe.c: ... here.
13714 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13715 * sysdeps/alpha/ots_cvtqux.c: ... here.
13716 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13717 * sysdeps/alpha/ots_cvtqx.c: ... here.
13718 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13719 * sysdeps/alpha/ots_cvttx.c: ... here.
13720 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13721 * sysdeps/alpha/ots_cvtxq.c: ... here.
13722 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13723 * sysdeps/alpha/ots_cvtxt.c: ... here.
13724 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13725 * sysdeps/alpha/ots_div.c: ... here.
13726 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13727 * sysdeps/alpha/ots_mul.c: ... here.
13728 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13729 * sysdeps/alpha/ots_nintxq.c: ... here.
13730 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13731 * sysdeps/alpha/ots_sub.c: ... here.
13732 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13733 * sysdeps/alpha/sfp-machine.h: ... here.
13734
13735 2018-05-23 Florian Weimer <fweimer@redhat.com>
13736
13737 [BZ #19728]
13738 [BZ #19729]
13739 [BZ #22247]
13740 CVE-2016-6261
13741 CVE-2016-6263
13742 CVE-2017-14062
13743 Switch to extern IDNA implementation (libidn2).
13744 * libidn: Remove subdirectory.
13745 * LICENSES: Do not mention licensing conditions for the removed
13746 libidn code.
13747 * config.h.in (HAVE_LIBIDN): Remove.
13748 * include/dlfcn.h (__libc_dlopen): Update comment.
13749 * include/idna.h: Remove file.
13750 * inet/Makefile (routines): Add idna.
13751 (tests-static, tests-internal): Add tst-idna_name_classify.
13752 (LOCALES): Generate locales for tests.
13753 (tst-idna_name_classify.out): Depend on generated locales.
13754 * inet/idna_name_classify.c: New file.
13755 * inet/tst-idna_name_classify.c: Likewise.
13756 * inet/net-internal.h (__idna_to_dns_encoding)
13757 (__idna_from_dns_encoding): Declare.
13758 * inet/net-internal.h (enum idna_name_classification): Define.
13759 (__idna_name_classify): Declare.
13760 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13761 __idna_from_dns_encoding.
13762 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13763 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13764 name as a fallback in case of encoding errors.
13765 (getnameinfo): Use DEPRECATED_NI_IDN.
13766 * inet/idna.c: New file.
13767 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13768 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13769 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13770 (modules-names): Add tst-no-libidn2.
13771 (extra-test-objs): Add tst-no-libidn2.os.
13772 (LDFLAGS-tst-no-libidn2.so): Set soname.
13773 (LOCALES): Set, and generate locales.
13774 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13775 (tst-resolv-ai_idn-latin1): Likewise.
13776 (tst-resolv-ai_idn-nolibidn2): Likewise.
13777 (tst-resolv-ai_idn.out): Depend on locales.
13778 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13779 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13780 tst-no-libidn2.so.
13781 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13782 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13783 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13784 * resolv/tst-resolv-ai_idn.c: New file.
13785 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13786 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13787 * resolv/tst-no-libidn2.c: Likewise.
13788 * support/support_format_addrinfo.c (format_ai_flags): Do not
13789 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13790 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13791 (gaih_inet): Call __idna_to_dns_encoding and
13792 __idna_from_dns_encoding, and use the original (punycode) name if
13793 __idna_from_dns_encoding fails due to an encoding error.
13794 (getaddrinfo): Use DEPRECATED_AI_IDN.
13795 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13796 * sysdeps/unix/inet/configure: Remove file.
13797 * sysdeps/unix/inet/configure.ac: Likewise.
13798
13799 2018-05-23 Florian Weimer <fweimer@redhat.com>
13800
13801 Implement allocate_once.
13802 * include/allocate_once.h: New file.
13803 * misc/allocate_once.c: Likewise.
13804 * misc/tst-allocate_once.c: Likewise.
13805 * misc/Makefile (routines): Add allocate_once.
13806 (tests-internal): Add tst-allocate_once.
13807 (generated): Add tst-allocate_once.mtrace,
13808 tst-allocate_once-mem.out.
13809 (tests-special): Add tst-allocate_once-mem.out.
13810 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13811 (tst-allocate_once-mem.out): Call mtrace.
13812 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13813
13814 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13815
13816 [BZ #23196]
13817 * string/test-memcpy.c (do_test1): New function.
13818 (test_main): Call it.
13819
13820 2018-05-23 Andreas Schwab <schwab@suse.de>
13821
13822 [BZ #23196]
13823 CVE-2018-11237
13824 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13825 (L(preloop_large)): Save initial destination pointer in %r11 and
13826 use it instead of %rax after the loop.
13827 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13828
13829 2018-05-22 Joseph Myers <joseph@codesourcery.com>
13830
13831 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13832 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13833 -I../soft-fp. Moved from ....
13834 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13835 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13836 * sysdeps/aarch64/e_sqrtl.c: ... here.
13837 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13838 * sysdeps/aarch64/sfp-machine.h: ... here.
13839
13840 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13841 -Wmaybe-uninitialized around access to fq[0].
13842 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13843 Likewise.
13844
13845 [BZ #18471]
13846 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13847 aliases for non-libc case of versioned symbols.
13848 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13849 (llseek): Define as compat symbol if
13850 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13851 with link warning.
13852 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13853 Make into a compat symbol, disabled for minimum symbol version
13854 GLIBC_2.28 and later.
13855 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13856
13857 2018-05-22 Florian Weimer <fweimer@redhat.com>
13858
13859 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13860 not add -mpreferred-stack-boundary=4.
13861 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13862 (stack-align-test-flags): Likewise.
13863 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13864 Likewise.
13865 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13866 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13867 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13868 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13869 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13870 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13871 (CFLAGS-tst-align2.c): Likewise.
13872
13873 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13874
13875 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13876 (index_arch_Prefer_FSRM): Likewise.
13877 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13878 Also check Prefer_FSRM.
13879 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13880 Also return OPTIMIZE (erms) for Prefer_FSRM.
13881
13882 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13883
13884 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13885 (index_cpu_FSRM): Likewise.
13886 (reg_FSRM): Likewise.
13887
13888 2018-05-18 Joseph Myers <joseph@codesourcery.com>
13889
13890 * math/gen-tgmath-tests.py: Import sys.
13891 (Tests.__init__): Initialize macros_seen.
13892 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13893 if requested to do so for this macro.
13894 (Tests.add_all_tests): Take argument for macro for which to
13895 generate tests.
13896 (Tests.check_macro_list): New function.
13897 (main): Handle check-list argument and argument specifying macro
13898 for which to generate tests.
13899 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13900 [PYTHON] (tgmath3-macro-tests): Likewise.
13901 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13902 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13903 not test-tgmath3.c.
13904 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13905 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13906 to CFLAGS.
13907 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13908 [PYTHON] ($(foreach
13909 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13910 rule.
13911 [PYTHON] (tests-special): Add
13912 $(objpfx)test-tgmath3-macro-list.out.
13913 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13914
13915 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13916 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13917 later.
13918
13919 [BZ #22639]
13920 * time/tzset.c (SECSPERDAY): Cast to time_t.
13921 * time/tst-y2039.c: New file.
13922 * time/Makefile (tests): Add tst-y2039.
13923
13924 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13925
13926 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13927 (PREFETCH_ONE_SET): Remove duplicate line.
13928
13929 2018-05-17 Florian Weimer <fweimer@redhat.com>
13930
13931 * sysdeps/generic/math-type-macros-double.h: Include
13932 <math-nan-payload-double.h> after <libm-alias-double.h>.
13933 * sysdeps/generic/math-type-macros-float.h: Include
13934 <math-nan-payload-float.h> after <libm-alias-float.h>.
13935 * sysdeps/generic/math-type-macros-float128.h: Include
13936 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13937 * sysdeps/generic/math-type-macros-ldouble.h: Include
13938 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13939
13940 2018-05-17 Andreas Schwab <schwab@suse.de>
13941
13942 * resolv/res_send.c (__res_context_send): Don't set errno when
13943 returing error after malloc failure.
13944
13945 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13946
13947 * nptl/allocatestack.c (allocate_stack): Remove the
13948 !__ASSUME_PRIVATE_FUTEX paths.
13949 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13950 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13951 Likewise.
13952 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13953 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13954 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13955 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13956 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13957 !__ASSUME_PRIVATE_FUTEX path.
13958 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13959 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13960 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13961 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13962 !__ASSUME_PRIVATE_FUTEX macros.
13963 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13964 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13965 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13966 * sysdeps/unix/sysv/linux/kernel-features.h
13967 (__ASSUME_PRIVATE_FUTEX): Removed.
13968
13969 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13970
13971 * math/Makefile (libm-narrow-fns): Add div.
13972 (libm-test-funcs-narrow): Likewise.
13973 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13974 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13975 * math/gen-auto-libm-tests.c (test_functions): Add div.
13976 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13977 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13978 (NARROW_DIV_TRIVIAL): Likewise.
13979 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13980 macro.
13981 (__ddivl): Likewise.
13982 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13983 ddiv.
13984 (CFLAGS-nldbl-ddiv.c): New variable.
13985 (CFLAGS-nldbl-fdiv.c): Likewise.
13986 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13987 __nldbl_ddivl.
13988 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13989 prototype.
13990 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13991 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13992 * math/auto-libm-test-in: Add tests of div.
13993 * math/auto-libm-test-out-narrow-div: New generated file.
13994 * math/libm-test-narrow-div.inc: New file.
13995 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13996 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13997 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13998 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13999 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14000 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14001 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14002 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14003 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14004 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14005 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14006 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14007 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14008 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14009 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14010 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14011 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14012 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14014 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14015 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14016 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14017 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14018 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14019 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14020 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14021 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14022 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14023 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14024 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14025 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14026 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14031 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14032 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14033 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14034 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14035 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14036 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14037 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14038 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14039
14040 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14041
14042 [BZ #23178]
14043 * nscd/nscd-client.h (sendfileall): Remove prototype.
14044 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14045 (handle_request): Use writeall instead of sendfileall.
14046 * nscd/aicache.c (addhstaiX): Likewise.
14047 * nscd/grpcache.c (cache_addgr): Likewise.
14048 * nscd/hstcache.c (cache_addhst): Likewise.
14049 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14050 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14051 * nscd/pwdcache.c (cache_addpw): Likewise.
14052 * nscd/servicescache.c (cache_addserv): Likewise.
14053 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14054 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14055 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14056 Remove define.
14057
14058 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14059
14060 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14061 Include <string/strncat.c>.
14062 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14063 alias.
14064 (__GI___strncat): New hidden alias.
14065
14066 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14067
14068 * sysdeps/mips/mips32/libm-test-ulps: Update.
14069 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14070
14071 2018-05-16 Florian Weimer <fweimer@redhat.com>
14072
14073 * support/Makefile (libsupport-routines): Add support_quote_blob,
14074 support_test_compare_blob.
14075 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14076 * support/check.h (TEST_COMPARE_BLOB): Define.
14077 (support_test_compare_blob): Declare.
14078 * support/support.h (support_quote_blob): Declare.
14079 * support/support_quote_blob.c: New file.
14080 * support/support_test_compare_blob.c: Likewise.
14081 * support/tst-support_quote_blob.c: Likewise.
14082 * support/tst-test_compare_blob.c: Likewise.
14083
14084 2018-05-16 Florian Weimer <fweimer@redhat.com>
14085
14086 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14087 of <strtod_nan_double.h>.
14088 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14089 instead of SET_MANTISSA.
14090 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14091 of include <strtod_nan_float.h>.
14092 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14093 instead of <strtod_nan_ldouble.h>.
14094 * stdlib/strtod_nan_double.h: Move to ...
14095 * sysdeps/generic/math-nan-payload-double.h: ... here.
14096 (FLOAT): Remove definition.
14097 (SET_MANTISSA): Rename to ...
14098 (SET_NAN_PAYLOAD): ... this.
14099 * stdlib/strtod_nan_float.h: Move to ...
14100 * sysdeps/generic/math-nan-payload-float.h: ... here.
14101 (FLOAT): Remove definition.
14102 (SET_MANTISSA): Rename to ...
14103 (SET_NAN_PAYLOAD): ... this.
14104 * sysdeps/generic/math-type-macros-double.h: Include
14105 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14106 instead of <math-svid-compat.h>.
14107 * sysdeps/generic/math-type-macros-float.h: Include
14108 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14109 instead of <math-svid-compat.h>.
14110 * sysdeps/generic/math-type-macros-float128.h: Include
14111 <math-nan-payload-float128.h>.
14112 * sysdeps/generic/math-type-macros-ldouble.h: Include
14113 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14114 instead of <math-svid-compat.h>.
14115 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14116 check for definition.
14117 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14118 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14119 Include <ieee754_float128.h>.
14120 (FLOAT): Remove definition.
14121 (SET_MANTISSA): Rename to ...
14122 (SET_NAN_PAYLOAD): ... this.
14123 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14124 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14125 Do not include <float128_private.h>.
14126 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14127 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14128 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14129 (FLOAT): Remove definition.
14130 (SET_MANTISSA): Rename to ...
14131 (SET_NAN_PAYLOAD): ... this.
14132 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14133 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14134 (FLOAT): Remove definition.
14135 (SET_MANTISSA): Rename to ...
14136 (SET_NAN_PAYLOAD): ... this.
14137 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14138 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14139 (FLOAT): Remove definition.
14140 (SET_MANTISSA): Rename to ...
14141 (SET_NAN_PAYLOAD): ... this.
14142 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14143 of "../stdlib/strtod_nan_double.h".
14144 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14145 of "../stdlib/strtod_nan_float.h".
14146 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14147 instead of "../stdlib/strtod_nan_ldouble.h".
14148 * manual/arith.texi (Parsing of Floats): Adjust comment.
14149
14150 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14151
14152 * math/Makefile (libm-narrow-fns): Add mul.
14153 (libm-test-funcs-narrow): Likewise.
14154 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14155 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14156 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14157 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14158 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14159 (NARROW_MUL_TRIVIAL): Likewise.
14160 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14161 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14162 macro.
14163 (__dmull): Likewise.
14164 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14165 dmul.
14166 (CFLAGS-nldbl-dmul.c): New variable.
14167 (CFLAGS-nldbl-fmul.c): Likewise.
14168 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14169 __nldbl_dmull.
14170 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14171 prototype.
14172 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14173 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14174 * math/auto-libm-test-in: Add tests of mul.
14175 * math/auto-libm-test-out-narrow-mul: New generated file.
14176 * math/libm-test-narrow-mul.inc: New file.
14177 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14178 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14179 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14180 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14181 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14182 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14183 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14184 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14185 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14186 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14187 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14188 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14189 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14190 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14191 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14192 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14193 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14194 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14196 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14200 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14221
14222 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14223
14224 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14225 with *%eax in call.
14226
14227 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14228
14229 * sysdeps/i386/ldsodefs.h: Removed.
14230 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14231 * sysdeps/x86/ldsodefs.h: This.
14232 (La_i86_regs): New.
14233 (La_i86_retval): Likewise.
14234 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14235 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14236
14237 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14238
14239 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14240 unnecessary testl.
14241
14242 2018-05-13 Alan Modra <amodra@gmail.com>
14243
14244 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14245 R_PARISC_TLS_DTPOFF32 reloc addend.
14246
14247 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14248
14249 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14250 * math/math.h: Restrict the prototype definition for the functions
14251 issignaling(_Float128) and iszero(_Float128); and template
14252 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14253 __HAVE_FLOAT128_UNLIKE_LDBL.
14254 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14255 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14256 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14257 __f128() constants; define the type _Float128 as long double;
14258 and reuse long double in __CFLOAT128.
14259
14260 2018-05-11 Joseph Myers <joseph@codesourcery.com>
14261
14262 * sysdeps/generic/math_private.h: Do not include
14263 <math-barriers.h>.
14264 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14265 <math_private.h>.
14266 * math/fromfp.h: Include <math-barriers.h>.
14267 * math/math-narrow.h: Likewise.
14268 * math/s_nextafter.c: Likewise.
14269 * math/s_nexttowardf.c: Likewise.
14270 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14271 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14272 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14273 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14274 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14275 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14276 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14277 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14278 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14279 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14280 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14281 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14282 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14283 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14284 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14285 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14286 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14287 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14288 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14289 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14290 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14291 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14292 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14293 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14294 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14295 * sysdeps/ieee754/k_standardl.c: Likewise.
14296 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14297 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14298 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14299 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14300 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14301 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14302 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14303 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14304 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14305 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14306 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14307 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14308 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14309 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14310 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14311 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14312 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14313 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14314 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14315 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14316 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14317 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14318
14319 2018-05-11 Florian Weimer <fweimer@redhat.com>
14320
14321 Use 64-bit epoch values in the time zone file parser.
14322 * include/time.h (internal_time_t): Define.
14323 (__tzfile_compute): Use it.
14324 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14325 member.
14326 (transitions): Switch to internal_time_t.
14327 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14328 types.
14329 (__tzfile_compute): Use internal_time_t for timer argument. Check
14330 for truncation before calling __offtime.
14331
14332 2018-05-11 Florian Weimer <fweimer@redhat.com>
14333
14334 [BZ #23166]
14335 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14336 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14337 Likewise.
14338 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14339 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14340 export without --enable-obsolete-rpc.
14341 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14342 symbol. This should not have been exported, ever.
14343
14344 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14345
14346 [BZ #23152]
14347 * localedata/locales/gd_GB (abmon): Fix typo in May:
14348 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14349
14350 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14351
14352 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14353 Use multiple registers to copy data in loop tail.
14354
14355 * sysdeps/aarch64/multiarch/memmove_falkor.S
14356 (__memmove_falkor): Use multiple registers to move data in
14357 loop tail.
14358
14359 2018-05-10 Joseph Myers <joseph@codesourcery.com>
14360
14361 * math/math-underflow.h: New file.
14362 * sysdeps/generic/math_private.h: Do not include <float.h>.
14363 (fabs_tg): Remove macro. Moved to math-underflow.h.
14364 (min_of_type_f): Likewise.
14365 (min_of_type_): Likewise.
14366 (min_of_type_l): Likewise.
14367 (min_of_type_f128): Likewise.
14368 (min_of_type): Likewise.
14369 (math_check_force_underflow): Likewise.
14370 (math_check_force_underflow_nonneg): Likewise.
14371 (math_check_force_underflow_complex): Likewise.
14372 * math/e_exp2_template.c: Include <math-underflow.h>.
14373 * math/k_casinh_template.c: Likewise.
14374 * math/s_catan_template.c: Likewise.
14375 * math/s_catanh_template.c: Likewise.
14376 * math/s_ccosh_template.c: Likewise.
14377 * math/s_cexp_template.c: Likewise.
14378 * math/s_clog10_template.c: Likewise.
14379 * math/s_clog_template.c: Likewise.
14380 * math/s_csin_template.c: Likewise.
14381 * math/s_csinh_template.c: Likewise.
14382 * math/s_csqrt_template.c: Likewise.
14383 * math/s_ctan_template.c: Likewise.
14384 * math/s_ctanh_template.c: Likewise.
14385 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14386 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14387 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14388 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14389 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14390 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14391 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14392 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14393 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14394 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14395 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14396 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14397 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14398 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14399 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14400 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14401 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14402 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14403 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14404 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14405 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14406 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14407 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14408 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14409 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14410 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14411 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14412 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14413 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14414 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14415 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14416 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14417 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14418 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14419 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14420 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14421 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14422 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14423 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14424 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14425 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14426 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14427 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14428 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14429 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14430 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14431 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14432 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14433 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14434 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14435 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14436 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14437 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14438 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14439 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14440 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14441 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14442 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14443 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14444 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14445 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14446 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14447 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14448 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14449 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14450 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14451 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14452 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14453 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14454 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14455 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14456 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14457 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14458 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14459 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14460 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14461 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14462 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14463 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14464 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14465 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14466 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14467 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14468 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14469
14470 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14471
14472 * sysdeps/generic/math-barriers.h: New file.
14473 * sysdeps/generic/math_private.h [!math_opt_barrier]
14474 (math_opt_barrier): Move to math-barriers.h.
14475 [!math_opt_barrier] (math_force_eval): Likewise.
14476 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14477 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14478 math-barriers.h.
14479 (math_force_eval): Likewise.
14480 * sysdeps/alpha/fpu/math-barriers.h: New file.
14481 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14482 math-barriers.h.
14483 (math_force_eval): Likewise.
14484 * sysdeps/x86/fpu/math-barriers.h: New file.
14485 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14486 math-barriers.h.
14487 (math_force_eval): Likewise.
14488 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14489 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14490 multiple-include guard for rename.
14491 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14492 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14493 math-barriers.h.
14494 (math_force_eval): Likewise.
14495
14496 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14497
14498 [BZ #22786]
14499 CVE-2018-11236
14500 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14501 computation.
14502 * stdlib/Makefile (test-bz22786): New test.
14503 * stdlib/test-bz22786.c: New test.
14504
14505 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14506
14507 * include/math-narrow-eval.h: New file. Contents moved from ....
14508 * sysdeps/generic/math_private.h: ... here.
14509 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14510 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14511 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14512 * stdlib/strtod_l.c: Likewise.
14513 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14514 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14515 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14516 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14517 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14518 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14519 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14520 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14521 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14522 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14523 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14524 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14525 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14526 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14527 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14528 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14529 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14530 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14531 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14532 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14533 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14534 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14535 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14536 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14537 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14538 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14539 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14540 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14541 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14542
14543 2018-05-08 Andreas Schwab <schwab@suse.de>
14544
14545 * sysdeps/nptl/internaltypes.h: Fix comment.
14546
14547 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14548
14549 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14550 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14551 hidden.
14552
14553 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14554
14555 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14556 of I into loop header.
14557 * benchtests/bench-memmove-walk.c
14558 (test_main): Likewise.
14559
14560 2018-05-07 Alexandre Oliva <oliva@gnu.org>
14561
14562 Revert:
14563 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14564 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14565
14566 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14567
14568 [BZ #20419]
14569 * elf/dl-load.c (open_verify): Fix stack overflow.
14570 * elf/Makefile (tst-big-note): New test.
14571 * elf/tst-big-note-lib.S: New.
14572 * elf/tst-big-note.c: New.
14573
14574 2018-05-04 Joseph Myers <joseph@codesourcery.com>
14575
14576 * scripts/abilist.awk: Ignore absolute symbols.
14577 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14578 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14579 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14580 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14581 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14582 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14583 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14584 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14585 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14586 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14587 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14588 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14589 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14590 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14591 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14592 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14593 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14594 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14595 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14596 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14597 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14598 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14599 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14600 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14601 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14602 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14603 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14604 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14605 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14606 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14607 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14608 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14609 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14610 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14611 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14612 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14613 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14614 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14615 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14616 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14617 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14618 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14619 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14620 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14621 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14622 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14623 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14624 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14625 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14626 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14627 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14628 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14629 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14630 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14631 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14632 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14633 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14634 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14635 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14636 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14637 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14638 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14639 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14640 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14641 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14642 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14643 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14644 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14645 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14646 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14647 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14648 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14649 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14650 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14651 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14652 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14653 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14654 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14655 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14656 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14657 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14658 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14659 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14660 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14661 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14662 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14663 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14664 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14665 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14666 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14667 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14668 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14669 Likewise.
14670 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14671 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14672 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14673 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14674 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14675 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14676 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14677 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14678 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14679 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14680 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14681 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14682 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14683 Likewise.
14684 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14685 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14686 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14687 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14688 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14689 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14690 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14691 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14692 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14693 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14694 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14695 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14696 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14697 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14698 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14699 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14700 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14701 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14702 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14703 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14704 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14705 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14706 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14707 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14708 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14709 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14710 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14711 Likewise.
14712 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14713 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14714 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14715 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14716 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14717 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14718 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14719 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14720 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14721 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14722 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14723 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14724 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14725 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14726 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14727 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14728 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14729 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14730 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14731 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14732 Likewise.
14733 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14734 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14735 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14736 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14737 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14738 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14739 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14740 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14741 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14742 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14743 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14744 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14745 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14746 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14747 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14748 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14749 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14750 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14751 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14752 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14753 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14754 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14755 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14756 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14757 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14758 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14759 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14760 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14765 Likewise.
14766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14771 Likewise.
14772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14773 Likewise.
14774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14776 Likewise.
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14779 Likewise.
14780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14781 Likewise.
14782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14785 Likewise.
14786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14787 Likewise.
14788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14789 Likewise.
14790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14794 Likewise.
14795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14801 Likewise.
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14804 Likewise.
14805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14806 Likewise.
14807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14808 Likewise.
14809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14810 Likewise.
14811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14814 Likewise.
14815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14816 Likewise.
14817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14818 Likewise.
14819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14820 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14821 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14822 Likewise.
14823 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14824 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14825 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14826 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14827 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14828 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14829 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14830 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14831 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14832 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14833 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14834 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14835 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14836 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14837 Likewise.
14838 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14839 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14840 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14841 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14842 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14843 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14844 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14845 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14846 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14847 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14848 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14849 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14850 Likewise.
14851 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14852 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14853 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14854 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14855 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14856 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14857 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14858 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14859 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14860 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14861 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14862 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14863 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14864 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14865 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14866 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14867 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14868 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14869 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14870 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14871 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14872 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14873 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14874 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14875 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14876 Likewise.
14877 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14878 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14879 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14880 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14881 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14882 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14883 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14884 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14885 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14886 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14887 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14888 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14889 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14890 Likewise.
14891 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14892 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14893 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14894 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14895 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14896 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14897 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14898 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14899 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14900 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14901 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14902 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14903 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14904 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14905 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14906 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14907 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14908 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14909 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14910 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14911 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14912 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14913 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14914 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14915 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14916 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14917 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14918 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14919 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14920 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14921 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14922 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14923 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14924 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14925 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14926 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14927 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14928 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14929
14930 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14931
14932 [BZ #23137]
14933 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14934 Use atomic_load_acquire to load __tid.
14935
14936 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14937
14938 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14939 Restore the pointer into %rdx, after syscall and use %rdx,
14940 instead of %rsi, to restore context.
14941
14942 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14943
14944 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14945 Pop the pointer into %rdx after syscall and use %rdx, instead
14946 of %rsi, to restore context.
14947
14948 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14949
14950 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14951 handlers after setjmp.
14952 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14953 defined.
14954 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14955 <libc-pointer-arith.h>.
14956 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14957 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14958 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14959 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14960 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14961 * sysdeps/x86/__longjmp_cancel.S: New file.
14962 * sysdeps/x86/longjmp.c: Likewise.
14963 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14964
14965 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14966
14967 * NEWS: Add ustat.h deprecation entry.
14968 * bits/ustat.h: Remove file.
14969 * misc/sys/ustat.h: Likewise.
14970 * misc/ustat.h: Likewise.
14971 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14972 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14973 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14974 compatibility mode.
14975 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14976 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14977 generic Linux implementation.
14978
14979 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14980
14981 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14982 * math/w_expl_compat.c: Likewise.
14983 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14984
14985 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14986
14987 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14988
14989 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14990
14991 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14992 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14993 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14994 Remove.
14995 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14997 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14998 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14999 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15000 and SYSCALL_LL64.
15001
15002 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15003
15004 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15005
15006 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15007 * math/w_asin_template.c: Likewise.
15008 * math/w_atanh_template.c: Likewise.
15009
15010 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15011
15012 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15013 to powerpc/powerpc64/be for big-endian.
15014 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15015 little-endian.
15016
15017 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15018 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15019 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15020 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15021 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15022 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15023 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15024 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15025 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15026 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15027 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15028 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15029 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15030 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15031 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15032 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15033 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15034 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15035 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15036 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15037 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15038 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15039 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15040 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15041 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15042 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15043 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15044 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15045 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15046 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15047 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15048 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15049
15050 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15051 adjusted to imply powerpc64 and older processors on powerpc64/be.
15052 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15053 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15054 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15055 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15056 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15057 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15058 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15059 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15060 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15061 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15062 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15063 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15064 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15065 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15066 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15067 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15068 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15069 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15070 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15071 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15072 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15073 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15074 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15075 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15076 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15077 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15078 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15079 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15080 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15081 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15082 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15083
15084 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15085 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15086 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15087 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15088
15089 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15090 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15091 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15092 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15093
15094 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15095 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15096 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15097 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15098 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15099 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15100 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15101 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15102 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15103 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15104 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15105
15106 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15107 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15108 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15109 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15110 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15111 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15112 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15113 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15114 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15115 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15116 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15117
15118 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15119 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15120 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15121 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15122 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15123 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15124 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15125 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15126 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15127 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15128 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15129 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15130
15131 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15132 and adjusted to imply olders processors.
15133 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15134 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15135 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15136 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15137 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15138 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15139 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15140 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15141 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15142 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15143 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15144
15145 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15146 powerpc64/le.
15147 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15148 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15149
15150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15151 powerpc64le.
15152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15154
15155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15156 powerpc64/be.
15157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15160
15161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15162 powerpc64 and adjusted.
15163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15166 Likewise.
15167
15168 2018-04-27 Joseph Myers <joseph@codesourcery.com>
15169
15170 * sysdeps/tile: Remove.
15171 * sysdeps/unix/sysv/linux/tile: Likewise.
15172 * README (tilegx-*-linux-gnu): Remove from list of supported
15173 configurations.
15174 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15175 contribution of support for generic Linux kernel syscall
15176 interface.
15177 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15178 tilegx configurations.
15179 (Config.install_linux_headers): Do not handle tile.
15180 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15181 in comment.
15182 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15183 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15184 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15185 conditional undefine and redefine.
15186 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15187 in comment.
15188 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15189 conditional undefine and redefine.
15190
15191 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15192
15193 * signal/tst-sigaction.c: New file to test BZ #23069.
15194 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15195
15196 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15197
15198 [BZ #22766]
15199 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15200 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15201 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15202 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15203
15204 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15205
15206 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15207 _DIRENT_MATCHES_DIRENT64 is not defined.
15208 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15209 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15210 is defined.
15211 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15212 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15213
15214 2018-04-25 Joseph Myers <joseph@codesourcery.com>
15215
15216 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15217 version to GCC 8 branch.
15218
15219 2018-04-24 Joseph Myers <joseph@codesourcery.com>
15220
15221 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15222 (check_no_hidden): Use type of original function when declaring
15223 alias.
15224
15225 * sysdeps/unix/sysv/linux/sys/ptrace.h
15226 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15227 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15228 (struct __ptrace_seccomp_metadata): New type.
15229 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15230 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15231 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15232 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15233 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15234 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15235 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15236 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15237 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15238 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15239 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15240 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15241 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15242 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15243 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15244 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15245
15246 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15247
15248 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15249 defined.
15250 * dirent/versionsort.c (versionsort): Likewise.
15251 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15252 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15253 * dirent/versionsort64.c (versionsort64): Likewise.
15254 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15255 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15256 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15257 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15258 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15259 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15260 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15261 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15262 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15263 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15266 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15267 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15268
15269 2018-04-23 Joseph Myers <joseph@codesourcery.com>
15270
15271 * elf/elf.h (NT_PPC_PKEY): New macro.
15272
15273 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
15274
15275 [BZ #23094]
15276 * localedata/locales/hr_HR: fix thousands_sep and
15277 mon_thousands_sep
15278
15279 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15280
15281 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15282 (XTABS): Define to TAB3.
15283
15284 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15285
15286 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15287
15288 * dirent/scandir-tail-common.c: New file.
15289 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15290 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15291 * dirent/scandir.c: Use scandir-tail-common.c.
15292 * dirent/scandirat.c: Likewise.
15293 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15294 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15295 if _DIRENT_MATCHES_DIRENT64 is defined.
15296 * dirent/scandirat64.c (scandirat64): Likewise.
15297 * include/dirent.h (__scandir_tail): Only define iff
15298 _DIRENT_MATCHES_DIRENT64 is not defined.
15299 (__scandir64_tail): Define regardless.
15300 (__scandirat, scandirat64): Remove libc_hidden_proto.
15301 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15302 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15304 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15305 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15306 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15307 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15308
15309 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15310
15311 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15312 New macro.
15313 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15314 Increase to 24.
15315 (_dl_aarch64_cap_flags): Add asimdfhm.
15316
15317 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15318
15319 * sysdeps/nios2/libm-test-ulps: Update.
15320
15321 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15322
15323 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15324 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15325
15326 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15327 requirements.
15328 (_DIRENT_MATCHES_DIRENT64): Undef
15329 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15330 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15331 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15332 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15333 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15334 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15335 use getdents64 syscalls as base.
15336 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15337 symbol if required.
15338 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15339 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15340 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15341 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15342 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15343 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15344 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15345 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15346 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15347 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15348 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15349
15350 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15351
15352 * scripts/test_printers_common.py (init_test): Disable lock elision.
15353
15354 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15355
15356 * math/test-tgmath.c (count_double, count_float,
15357 count_ldouble, count_cdouble, count_cfloat,
15358 count_cldouble): Use volatile int.
15359
15360 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15361
15362 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15363 (conformtest-xfail-conds): Add i386-gnu.
15364 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
15365 i386-gnu.
15366 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15367 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15368 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15369 msqid_ds.msg_lrpid): Likewise.
15370 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15371 Likewise.
15372 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15373 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
15374 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15375 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15376 unsigned int.
15377 (struct statvfs64): Likewise.
15378 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15379 Likewise.
15380 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15381 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15382 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15383 instead of wait_queue.
15384 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15385 instead of vm_area_struct.
15386 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15387 struct sched_param definition to it.
15388 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15389 * bits/types/struct_sched_param.h: New file.
15390 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15391 <bits/types/struct_sched_param.h> instead of <sched.h>.
15392 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
15393 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15394 generic version but include <bits/pthreadtypes.h> to make struct
15395 sigevent's sigev_notify_attributes field a pthread_attr_t*.
15396 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15397 non-compliant.
15398 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15399 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15400 [__USE_XOPEN] (OFDEL): New macro.
15401 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
15402 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
15403 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15404 prototypes.
15405 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15406 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
15407 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15408 non-compliant.
15409 * sysdeps/i386/sys/ucontext.h: Likewise.
15410 * sysdeps/m68k/sys/ucontext.h: Likewise.
15411 * sysdeps/mips/sys/ucontext.h: Likewise.
15412 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
15413 * sysdeps/mach/hurd/i386/Makefile
15414 (test-xfail-POSIX/fcntl.h/conform): Add.
15415 (test-xfail-POSIX/signal.h/conform): Add.
15416 (test-xfail-POSIX/semaphore.h/conform): Add.
15417 (test-xfail-POSIX/regex.h/conform): Add.
15418 (test-xfail-POSIX/aio.h/conform): Add.
15419 (test-xfail-POSIX/mqueue.h/conform): Add.
15420 (test-xfail-POSIX/sys/types.h/conform): Add.
15421 (test-xfail-UNIX98/fcntl.h/conform): Add.
15422 (test-xfail-UNIX98/netdb.h/conform): Add.
15423 (test-xfail-UNIX98/signal.h/conform): Add.
15424 (test-xfail-UNIX98/semaphore.h/conform): Add.
15425 (test-xfail-UNIX98/regex.h/conform): Add.
15426 (test-xfail-UNIX98/aio.h/conform): Add.
15427 (test-xfail-UNIX98/ftw.h/conform): Add.
15428 (test-xfail-UNIX98/mqueue.h/conform): Add.
15429 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15430 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15431 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15432 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15433 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15434 (test-xfail-UNIX98/sys/types.h/conform): Add.
15435 (test-xfail-UNIX98/stdlib.h/conform): Add.
15436 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15437 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15438 (test-xfail-POSIX2008/netdb.h/conform): Add.
15439 (test-xfail-POSIX2008/signal.h/conform): Add.
15440 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15441 (test-xfail-POSIX2008/regex.h/conform): Add.
15442 (test-xfail-POSIX2008/aio.h/conform): Add.
15443 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15444 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15445 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15446 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15447 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15448 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15449 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15450 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15451 (test-xfail-XOPEN2K/signal.h/conform): Add.
15452 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15453 (test-xfail-XOPEN2K/regex.h/conform): Add.
15454 (test-xfail-XOPEN2K/aio.h/conform): Add.
15455 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15456 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15457 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15458 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15459 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15460 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15461 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15462 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15463 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15464 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15465 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15466 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15467 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15468 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15469 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15470 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15471 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15472 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15473 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15474 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15475 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15476 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15477 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15478 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15479 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15480 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
15481 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15482 i386-gnu.
15483 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15484 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
15485
15486 2018-04-18 Joseph Myers <joseph@codesourcery.com>
15487
15488 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15489 --enable-obsolete for powerpc-linux-gnuspe.
15490
15491 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15492
15493 * conform/data/sys/un.h-data: Allow sun_ prefix.
15494 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
15495 prototypes.
15496 * sysdeps/mach/include/mach.h: Likewise.
15497 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15498 * sysdeps/mach/include/mach_error.h: Likewise.
15499
15500 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15501
15502 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15503 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15504 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15505 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15506
15507 2018-04-16 Andreas Schwab <schwab@suse.de>
15508
15509 [BZ #19527]
15510 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15511
15512 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15513
15514 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15515 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15516
15517 2018-04-12 DJ Delorie <dj@redhat.com>
15518
15519 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15520 version to 4.16.
15521
15522 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15523
15524 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15525 (struct kernel_sigaction): Use the same definition on 31bit as is used
15526 on 64bit.
15527
15528 2018-04-09 Florian Weimer <fweimer@redhat.com>
15529
15530 [BZ #23037]
15531 * resolv/res_send.c (send_dg): Use designated initializers instead
15532 of assignment to zero-initialize other fields of struct mmsghdr.
15533
15534 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15535
15536 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15537 __READDIR_ALIAS): Undefine after usage.
15538 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15539 __READDIR_R_ALIAS): Likewise.
15540 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15541 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15542 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15543 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15544 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15545 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15546 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15547 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15548 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15549 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15550 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15551 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15552 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15553 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15554 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15555 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15556 * sysdeps/unix/sysv/linux/readdir.c: New file.
15557 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15558 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15559 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15560
15561 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15562
15563 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15564
15565 * manual/charset.texi (Converting a Character): Fix typo.
15566
15567 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15568
15569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15570
15571 * sysdeps/arm/libm-test-ulps: Update.
15572
15573 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15574 as base implementation.
15575 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15576 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15577 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15578 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15579 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15580 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15581 remove unrequired definitions and update comments.
15582 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15583 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15584 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15585 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15586 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15587 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15588 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15589 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15590 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15591 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15592 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15593 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15594 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15595 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15596 and RESET_SA_RESTORER hooks.
15597
15598 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15599
15600 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15601
15602 2018-04-05 Florian Weimer <fweimer@redhat.com>
15603
15604 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15605 integer overflow, memory leak on error, and indeterminate errno
15606 value. Add a null wide character to terminate the result string.
15607 * manual/charset.texi (Converting a Character): Mention embedded
15608 null bytes in the mbrtowc input string. Explain what happens in
15609 the -2 result case. Do not claim that mbrtowc is simple or
15610 obvious to use. Adjust the description of the code example. Use
15611 @code, not @var, for concrete variables.
15612
15613 2018-04-05 Florian Weimer <fweimer@redhat.com>
15614
15615 * manual/examples/mbstouwcs.c: New file.
15616 * manual/charset.texi (Converting a Character): Include it.
15617
15618 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15619
15620 * include/dirent.h (dirfd): Add hidden proto.
15621 * dirent/dirfd.c (dirfd): Add hidden def.
15622 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15623 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
15624
15625 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15626
15627 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15628 sin, cos and sincos to 1 ULP.
15629
15630 2018-04-04 Maciej W. Rozycki <macro@mips.com>
15631
15632 [BZ #19818]
15633 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15634 symbols.
15635 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15636 * elf/tst-absolute-sym.c: New file.
15637 * elf/tst-absolute-sym-lib.c: New file.
15638 * elf/tst-absolute-sym-lib.lds: New file.
15639 * elf/Makefile (tests): Add `tst-absolute-sym'.
15640 (modules-names): Add `tst-absolute-sym-lib'.
15641 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15642 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15643 ($(objpfx)tst-absolute-sym): New dependency.
15644
15645 [BZ #19818]
15646 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15647 parameter.
15648 (SYMBOL_ADDRESS): New macro.
15649 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15650 SYMBOL_ADDRESS for symbol address calculation.
15651 * elf/dl-runtime.c (_dl_fixup): Likewise.
15652 (_dl_profile_fixup): Likewise.
15653 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15654 * elf/rtld.c (dl_main): Likewise.
15655 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15656 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15657 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15658 (elf_machine_rela): Likewise.
15659 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15660 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15661 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15662 (elf_machine_rela): Likewise.
15663 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15664 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15665 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15666 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15667 Likewise.
15668 (elf_machine_reloc): Likewise.
15669 (elf_machine_got_rel): Likewise.
15670 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15671 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15672 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15673 Likewise.
15674 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15675 Likewise.
15676 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15677 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15678 Likewise.
15679 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15680 Likewise.
15681 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15682 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15683 Likewise.
15684 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15685 Likewise.
15686 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15687 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15688
15689 2018-04-04 Zack Weinberg <zackw@panix.com>
15690
15691 * sysdeps/generic/internal-signals.h: Include signal.h,
15692 sigsetops.h, and stdbool.h.
15693 (__libc_signal_block_all): Actually block all signals.
15694 (__libc_signal_block_app): Likewise.
15695 (__libc_signal_restore_set): Actually restore the signal mask.
15696
15697 2018-04-04 Florian Weimer <fweimer@redhat.com>
15698
15699 inet: Actually build and run tst-deadline.
15700 * inet/Makefile (tests-internal): Add tst-deadline and do not
15701 overwrite the variable.
15702 (tests-static-internal): Remove variable.
15703
15704 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15705
15706 [BZ #22947]
15707 * bits/uio-ext.h (RWF_APPEND): New.
15708 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15709 * manual/llio.texi: Document RWF_APPEND.
15710 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15711 (RWF_SUPPORTED): Add RWF_APPEND.
15712
15713 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15714
15715 [BZ #22391]
15716 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15717 check for internal nptl signals.
15718 * nptl/sigaction.c (__sigaction): Likewise.
15719 * signal/sigaddset.c (sigaddset): Likewise.
15720 * signal/sigdelset.c (sigdelset): Likewise.
15721 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15722 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15723 value.
15724 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15725 to filter out internal nptl signals.
15726 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15727 also check realtime signals using standard macros.
15728 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15729 __is_internal_signal, __libc_signal_block_all,
15730 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15731 * sysdeps/nptl/sigfillset.c: Remove file.
15732 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15733 Change return to bool.
15734 (__clear_internal_signals): Remove SIGTIMER clean since it is
15735 equal to SIGCANEL on Linux.
15736 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15737 signal set was constructed using standard functions.
15738
15739 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15740
15741 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15742 ifname is too long.
15743 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15744 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
15745 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15746 hidden def.
15747 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
15748 * signal/sigaddset.c: Include <sigsetopts.h>.
15749 * signal/sigdelset.c: Likewise.
15750
15751 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15752
15753 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15754 (__cos): Likewise.
15755 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15756 logic as sin and cos.
15757
15758 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15759
15760 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15761 inputs. Return correct sign.
15762 (do_sincos): Remove small input check before do_sin, let do_sin set
15763 the sign.
15764 (__sin): Likewise.
15765 (__cos): Likewise.
15766
15767 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15768
15769 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15770 (do_cos_slow): Likewise.
15771 (do_sin_slow): Likewise.
15772 (reduce_and_compute): Likewise.
15773 (slow): Likewise.
15774 (slow1): Likewise.
15775 (slow2): Likewise.
15776 (sloww): Likewise.
15777 (sloww1): Likewise.
15778 (sloww2): Likewise.
15779 (bslow): Likewise.
15780 (bslow1): Likewise.
15781 (bslow2): Likewise.
15782 (cslow2): Likewise.
15783
15784 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15785
15786 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15787 (do_cos): Remove corp parameter and calculations.
15788 (do_sin): Likewise.
15789 (do_sincos): Remove cor variable.
15790 (__sin): Use do_sincos for huge inputs.
15791 (__cos): Likewise.
15792 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15793 (reduce_and_compute_sincos): Remove unused function.
15794
15795 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15796
15797 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15798 reduce_sincos, improve accuracy to 136 bits.
15799 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15800 (__sin): Use improved reduction and simplified do_sincos calculation.
15801 (__cos): Likewise.
15802 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15803
15804 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15805
15806 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15807 (do_sincos_2): Likewise.
15808 (__sin): Remove middle range reduction case.
15809 (__cos): Likewise.
15810 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15811 reduction case.
15812
15813 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15814
15815 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15816 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15817 inputs.
15818 (__cos): Likewise.
15819 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15820
15821 2018-04-03 Joseph Myers <joseph@codesourcery.com>
15822
15823 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15824 version to 4.16
15825
15826 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15827
15828 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15829 Remove definitions.
15830 (opendir_oflags): Use O_DIRECTORY regardless.
15831 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15832 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15833
15834 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15835
15836 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15837 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15838 macros.
15839 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15840 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15841 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15842 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
15843 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15844 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
15845
15846 * htl/Makefile: Bump licence to LGPL 2.1+.
15847 * htl/alloca_cutoff.c: Likewise.
15848 * htl/cthreads-compat.c: Likewise.
15849 * htl/lockfile.c: Likewise.
15850 * htl/pt-alloc.c: Likewise.
15851 * htl/pt-cancel.c: Likewise.
15852 * htl/pt-cleanup.c: Likewise.
15853 * htl/pt-create.c: Likewise.
15854 * htl/pt-dealloc.c: Likewise.
15855 * htl/pt-detach.c: Likewise.
15856 * htl/pt-exit.c: Likewise.
15857 * htl/pt-getattr.c: Likewise.
15858 * htl/pt-initialize.c: Likewise.
15859 * htl/pt-internal.h: Likewise.
15860 * htl/pt-join.c: Likewise.
15861 * htl/pt-self.c: Likewise.
15862 * htl/pt-setcancelstate.c: Likewise.
15863 * htl/pt-setcanceltype.c: Likewise.
15864 * htl/pt-sigmask.c: Likewise.
15865 * htl/pt-spin-inlines.c: Likewise.
15866 * htl/pt-testcancel.c: Likewise.
15867 * htl/pt-yield.c: Likewise.
15868 * htl/tests/test-1.c: Likewise.
15869 * htl/tests/test-10.c: Likewise.
15870 * htl/tests/test-11.c: Likewise.
15871 * htl/tests/test-12.c: Likewise.
15872 * htl/tests/test-13.c: Likewise.
15873 * htl/tests/test-14.c: Likewise.
15874 * htl/tests/test-15.c: Likewise.
15875 * htl/tests/test-16.c: Likewise.
15876 * htl/tests/test-17.c: Likewise.
15877 * htl/tests/test-2.c: Likewise.
15878 * htl/tests/test-3.c: Likewise.
15879 * htl/tests/test-4.c: Likewise.
15880 * htl/tests/test-5.c: Likewise.
15881 * htl/tests/test-6.c: Likewise.
15882 * htl/tests/test-7.c: Likewise.
15883 * htl/tests/test-8.c: Likewise.
15884 * htl/tests/test-9.c: Likewise.
15885 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15886 * sysdeps/htl/bits/cancelation.h: Likewise.
15887 * sysdeps/htl/bits/pthread-np.h: Likewise.
15888 * sysdeps/htl/bits/pthread.h: Likewise.
15889 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15890 * sysdeps/htl/bits/semaphore.h: Likewise.
15891 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15892 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15893 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15894 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15895 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15896 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15897 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15898 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15899 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15900 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15901 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15902 * sysdeps/htl/old_pt-atfork.c: Likewise.
15903 * sysdeps/htl/pt-atfork.c: Likewise.
15904 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15905 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15906 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15907 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15908 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15909 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15910 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15911 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15912 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15913 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15914 * sysdeps/htl/pt-attr-init.c: Likewise.
15915 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15916 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15917 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15918 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15919 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15920 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15921 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15922 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15923 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15924 * sysdeps/htl/pt-attr.c: Likewise.
15925 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15926 * sysdeps/htl/pt-barrier-init.c: Likewise.
15927 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15928 * sysdeps/htl/pt-barrier.c: Likewise.
15929 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15930 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15931 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15932 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15933 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15934 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15935 * sysdeps/htl/pt-cond-init.c: Likewise.
15936 * sysdeps/htl/pt-cond-signal.c: Likewise.
15937 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15938 * sysdeps/htl/pt-cond-wait.c: Likewise.
15939 * sysdeps/htl/pt-cond.c: Likewise.
15940 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15941 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15942 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15943 * sysdeps/htl/pt-condattr-init.c: Likewise.
15944 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15945 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15946 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15947 * sysdeps/htl/pt-equal.c: Likewise.
15948 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15949 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15950 * sysdeps/htl/pt-getschedparam.c: Likewise.
15951 * sysdeps/htl/pt-getspecific.c: Likewise.
15952 * sysdeps/htl/pt-init-specific.c: Likewise.
15953 * sysdeps/htl/pt-key-create.c: Likewise.
15954 * sysdeps/htl/pt-key-delete.c: Likewise.
15955 * sysdeps/htl/pt-key.h: Likewise.
15956 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15957 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15958 * sysdeps/htl/pt-mutex-init.c: Likewise.
15959 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15960 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15961 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15962 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15963 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15964 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15965 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15966 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15967 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15968 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15969 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15970 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15971 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15972 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15973 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15974 * sysdeps/htl/pt-mutexattr.c: Likewise.
15975 * sysdeps/htl/pt-once.c: Likewise.
15976 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15977 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15978 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15979 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15980 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15981 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15982 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15983 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15984 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15985 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15986 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15987 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15988 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15989 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15990 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15991 * sysdeps/htl/pt-setschedparam.c: Likewise.
15992 * sysdeps/htl/pt-setschedprio.c: Likewise.
15993 * sysdeps/htl/pt-setspecific.c: Likewise.
15994 * sysdeps/htl/pt-spin.c: Likewise.
15995 * sysdeps/htl/pt-startup.c: Likewise.
15996 * sysdeps/htl/pthread.h: Likewise.
15997 * sysdeps/htl/sem-close.c: Likewise.
15998 * sysdeps/htl/sem-destroy.c: Likewise.
15999 * sysdeps/htl/sem-getvalue.c: Likewise.
16000 * sysdeps/htl/sem-init.c: Likewise.
16001 * sysdeps/htl/sem-open.c: Likewise.
16002 * sysdeps/htl/sem-post.c: Likewise.
16003 * sysdeps/htl/sem-timedwait.c: Likewise.
16004 * sysdeps/htl/sem-trywait.c: Likewise.
16005 * sysdeps/htl/sem-unlink.c: Likewise.
16006 * sysdeps/htl/sem-wait.c: Likewise.
16007 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16008 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16009 * sysdeps/mach/htl/pt-block.c: Likewise.
16010 * sysdeps/mach/htl/pt-spin.c: Likewise.
16011 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16012 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16013 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16014 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16015 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16016 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16017 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16018 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16019 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16020 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16021 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16022 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16023 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16024 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16025 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16026 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16027 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16028 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16029 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16030 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16031 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16032 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16033 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16034 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16035 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16036 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16037 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16038 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16039 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16040 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16041 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16042 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16043 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16044 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16045 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16046 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16047 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16048 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16049 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16050 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16051 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16052 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16053 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16054
16055 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16056 * README: Remove the mention of out-of-tree patches needed for
16057 GNU/Hurd.
16058
16059 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16060 (UTIME_NOW, UTIME_OMIT): Define macros.
16061
16062 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16063 instead of pthread_detach.
16064 (__cthread_fork): Call __pthread_create instead of pthread_create.
16065 (__cthread_keycreate): Call __pthread_key_create instead of
16066 pthread_key_create.
16067 (__cthread_getspecific): Call __pthread_getspecific instead of
16068 pthread_getspecific.
16069 (__cthread_setspecific): Call __pthread_setspecific instead of
16070 pthread_setspecific.
16071 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16072 __pthread_mutex_unlock instead of pthread_mutex_lock and
16073 pthread_mutex_unlock.
16074 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16075 ___pthread_get_cleanup_stack.
16076 (__pthread_get_cleanup_stack): New strong alias.
16077 * htl/pt-create.c: Include <pthreadP.h>.
16078 (entry_point): Call __pthread_exit instead of pthread_exit.
16079 (pthread_create): Rename to __pthread_create.
16080 (pthread_create): New strong alias.
16081 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16082 (pthread_detach): New strong alias.
16083 (__pthread_detach): Call __pthread_cond_broadcast instead of
16084 pthread_cond_broadcast.
16085 * htl/pt-exit.c: Include <pthreadP.h>.
16086 (__pthread_exit): Call __pthread_setcancelstate and
16087 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16088 __pthread_get_cleanup_stack.
16089 * htl/pt-testcancel.c: Include <pthreadP.h>.
16090 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16091 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16092 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16093 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16094 pthread_attr_getstacksize.
16095 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16096 Rename to __pthread_attr_getstackaddr.
16097 (pthread_attr_getstackaddr): New strong alias.
16098 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16099 Rename to __pthread_attr_getstacksize.
16100 (pthread_attr_getstacksize): New strong alias.
16101 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16102 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16103 (pthread_attr_setstack): New strong alias.
16104 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16105 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16106 pthread_attr_getstacksize, pthread_attr_setstacksize and
16107 pthread_attr_setstackaddr.
16108 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16109 Rename to __pthread_attr_setstackaddr.
16110 (pthread_attr_setstackaddr): New strong alias.
16111 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16112 Rename to __pthread_attr_setstacksize.
16113 (pthread_attr_setstacksize): New strong alias.
16114 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16115 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16116 pthread_exit.
16117 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16118 (__pthread_key_create): New hidden def.
16119 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16120 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16121 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16122 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16123 __pthread_setspecific, __pthread_setcancelstate,
16124 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16125 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16126 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16127 declarations.
16128 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16129 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16130 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16131 (pthread_attr_setstackaddr): New strong alias.
16132 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16133 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16134 (pthread_attr_setstacksize): New strong alias.
16135 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16136 (call_exit): Call __pthread_exit instead of pthread_exit.
16137 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16138 (_pthread_mutex_init): New hidden definition.
16139 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16140 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16141 instead of pthread_attr_init and pthread_attr_setstack.
16142
16143 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16144 __vm_deallocate instead of vm_allocate and vm_deallocate.
16145 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16146 setenv.
16147 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16148 of geteuid.
16149 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16150 strdup.
16151 * hurd/siginfo.c: Include <libioP.h>.
16152 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16153 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16154 munmap.
16155 * mach/devstream.c: Include <libioP.h>.
16156 (dealloc_ref): Call __mach_port_deallocate instead of
16157 mach_port_deallocate.
16158 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16159 Call __mach_port_deallocate instead of mach_port_deallocate.
16160 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16161 pathconf.
16162 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16163 munmap.
16164 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16165 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16166 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16167 of munmap.
16168 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16169 of close.
16170 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16171 instead of sysconf.
16172 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16173 __clock_gettime instead of clock_gettime.
16174 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16175 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16176 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16177 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16178 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16179 tcgetattr.
16180 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16181 __clock_gettime and __nanosleep instead of clock_gettime and
16182 nanosleep.
16183 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16184 __hurd_catch_signal.
16185 (hurd_catch_signal): New strong alias.
16186 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16187 __hurd_catch_signal instead of hurd_catch_signal.
16188 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16189 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16190 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16191 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16192 (_hurd_thread_sigstate): Add hidden def.
16193 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16194 mutex_unlock.
16195 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16196 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16197 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16198 __hurd_file_name_path_lookup.
16199 (hurd_file_name_path_lookup): New strong alias.
16200 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16201 hurd_file_name_path_lookup.
16202 * mach/errstring.c (mach_error_type): Add hidden def.
16203 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16204 * mach/mutex-init.c (__mutex_init): Add hidden def.
16205 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16206 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16207 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16208 * sysdeps/mach/hurd/getcwd.c
16209 (_hurd_canonicalize_directory_name_internal): Rename to
16210 __hurd_canonicalize_directory_name_internal.
16211 (_hurd_canonicalize_directory_name_internal): New strong alias.
16212 (__canonicalize_directory_name_internal, __getcwd): Call
16213 __hurd_canonicalize_directory_name_internal instead of
16214 _hurd_canonicalize_directory_name_internal.
16215 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16216 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16217 hidden defs.
16218 * sysdeps/hurd/include/hurd.h: New file.
16219 * sysdeps/hurd/include/hurd/fd.h: New file.
16220 * sysdeps/hurd/include/hurd/signal.h: New file.
16221 * sysdeps/mach/include/lock-intern.h: New file.
16222 * sysdeps/mach/include/mach.h: New file.
16223 * sysdeps/mach/include/mach/mig_support.h: New file.
16224 * sysdeps/mach/include/mach_error.h: New file.
16225 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16226 prototype.
16227 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16228 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16229 _HEADER_H_HIDDEN_DEF macro.
16230 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16231 _hurd_fd_error_signal): Add hidden prototype.
16232 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16233 hidden def.
16234 * libio/iolibio.h (_IO_puts): New hidden prototype.
16235 * libio/ioputs.c (_IO_puts): New hidden def.
16236 * sysdeps/mach/hurd/localplt.data: New file.
16237
16238 2018-04-02 Agustina Arzille <avarzille@riseup.net>
16239 Amos Jeffries <squid3@treenet.co.nz>
16240 David Michael <fedora.dm0@gmail.com>
16241 Marco Gerards <marco@gnu.org>
16242 Marcus Brinkmann <marcus@gnu.org>
16243 Neal H. Walfield <neal@gnu.org>
16244 Pino Toscano <toscano.pino@tiscali.it>
16245 Richard Braun <rbraun@sceen.net>
16246 Roland McGrath <roland@gnu.org>
16247 Samuel Thibault <samuel.thibault@ens-lyon.org>
16248 Thomas DiModica <ricinwich@yahoo.com>
16249 Thomas Schwinge <tschwinge@gnu.org>
16250
16251 * htl: New directory.
16252 * sysdeps/htl: New directory.
16253 * sysdeps/hurd/htl: New directory.
16254 * sysdeps/i386/htl: New directory.
16255 * sysdeps/mach/htl: New directory.
16256 * sysdeps/mach/hurd/htl: New directory.
16257 * sysdeps/mach/hurd/i386/htl: New directory.
16258 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16259 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16260 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16261
16262 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16263
16264 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16265 signals in thread created for runing timers.
16266
16267 2018-04-01 Florian Weimer <fweimer@redhat.com>
16268
16269 * support/support_format_addrinfo.c (support_format_addrinfo):
16270 Include unknown error number in formatted result.
16271
16272 2018-03-29 Florian Weimer <fweimer@redhat.com>
16273
16274 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16275 capture SIGBUS.
16276
16277 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16278
16279 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16280 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16281 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16282 (__ASSUME_CLONE_BACKWARDS): Define.
16283
16284 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16285
16286 [BZ #23024]
16287 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16288 early when linux sentinel value is set.
16289
16290 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16291
16292 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16293
16294 2018-03-27 Andreas Schwab <schwab@suse.de>
16295
16296 [BZ #23005]
16297 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16298 allocation of private copy of nsaddr_list fails.
16299
16300 2018-03-26 Joseph Myers <joseph@codesourcery.com>
16301
16302 [BZ #16552]
16303 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16304 * sysdeps/unix/sysv/linux/umount.c: ... here.
16305 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16306 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16307 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16308 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16310 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16311 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16312
16313 2018-03-26 Andreas Schwab <schwab@suse.de>
16314
16315 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16316 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16317 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16318 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16319 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16320 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16321 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16322 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16323 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16324 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16325 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16326 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16327 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16328 (R_RISCV_NUM): Define.
16329
16330 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16331
16332 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16333 TLS declaration of errno.
16334 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16335 __libc_setup_tls.
16336 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16337 (ARCH_SETUP_TLS): Likewise.
16338 * sysdeps/mach/hurd/libc-start.h: New file copied from
16339 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
16340 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16341 instead of __libc_setup_tls.
16342 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
16343 __libc_setup_tls before initializing libpthread and running _hurd_init
16344 which starts the signal thread.
16345 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16346 Declare function.
16347 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16348
16349 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16350
16351 [BZ #22998]
16352 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16353 after it is defined.
16354
16355 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16356 Max Horn <max@quendi.de>
16357
16358 [BZ #22644]
16359 CVE-2017-18269
16360 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16361 branch conditions.
16362 * string/test-memmove.c (do_test2): New testcase.
16363
16364 2018-03-22 Joseph Myers <joseph@codesourcery.com>
16365
16366 * sysdeps/generic/frame.h: Remove file.
16367 * sysdeps/arm/frame.h: Likewise.
16368 * sysdeps/hppa/frame.h: Likewise.
16369 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16370 macro.
16371 (GET_FRAME): Likewise.
16372 (GET_STACK): Likewise.
16373 (CALL_SIGHANDLER): Likewise.
16374 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16375 Likewise.
16376 (GET_FRAME): Likewise.
16377 (GET_STACK): Likewise.
16378 (CALL_SIGHANDLER): Likewise.
16379 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16380 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16381 (GET_FRAME): Likewise.
16382 (GET_STACK): Likewise.
16383 (CALL_SIGHANDLER): Likewise.
16384 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16385 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16386 (GET_FRAME): Likewise.
16387 (GET_STACK): Likewise.
16388 (ADVANCE_STACK_FRAME): Likewise.
16389 (CALL_SIGHANDLER): Likewise.
16390 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16391 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16392 (GET_FRAME): Likewise.
16393 (GET_STACK): Likewise.
16394 (CALL_SIGHANDLER): Likewise.
16395 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16396 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16397 (GET_FRAME): Likewise.
16398 (GET_STACK): Likewise.
16399 (CALL_SIGHANDLER): Likewise.
16400 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16401 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16402 (GET_FRAME): Likewise.
16403 (GET_STACK): Likewise.
16404 (CALL_SIGHANDLER): Likewise.
16405 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16406 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16407 (GET_FRAME): Likewise.
16408 (GET_STACK): Likewise.
16409 (CALL_SIGHANDLER): Likewise.
16410 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16411 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16412 (GET_FRAME): Likewise.
16413 (GET_STACK): Likewise.
16414 (CALL_SIGHANDLER): Likewise.
16415 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16416 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16417 (GET_FRAME): Likewise.
16418 (GET_STACK): Likewise.
16419 (CALL_SIGHANDLER): Likewise.
16420 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16421 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16422 (GET_FRAME): Likewise.
16423 (GET_STACK): Likewise.
16424 (CALL_SIGHANDLER): Likewise.
16425 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16426 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16427 (GET_FRAME): Likewise.
16428 (GET_STACK): Likewise.
16429 (CALL_SIGHANDLER): Likewise.
16430 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16431 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16432 (GET_FRAME): Likewise.
16433 (GET_STACK): Likewise.
16434 (CALL_SIGHANDLER): Likewise.
16435 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16436 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16437 (FIRST_FRAME_POINTER): Likewise.
16438 (ADVANCE_STACK_FRAME): Likewise.
16439 (GET_STACK): Likewise.
16440 (GET_FRAME): Likewise.
16441 (CALL_SIGHANDLER): Likewise.
16442 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16443 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16444 (ADVANCE_STACK_FRAME): Likewise.
16445 (GET_STACK): Likewise.
16446 (GET_FRAME): Likewise.
16447 (CALL_SIGHANDLER): Likewise.
16448 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16449 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16450 (GET_FRAME): Likewise.
16451 (GET_STACK): Likewise.
16452 (CALL_SIGHANDLER): Likewise.
16453 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16454 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16455 (GET_FRAME): Likewise.
16456 (GET_STACK): Likewise.
16457 (CALL_SIGHANDLER): Likewise.
16458
16459 2018-03-21 Joseph Myers <joseph@codesourcery.com>
16460
16461 * sysdeps/x86_64/backtrace.c: Move to ....
16462 * debug/backtrace.c: ... here.
16463 * sysdeps/aarch64/backtrace.c: Remove file.
16464 * sysdeps/alpha/backtrace.c: Likewise.
16465 * sysdeps/hppa/backtrace.c: Likewise.
16466 * sysdeps/ia64/backtrace.c: Likewise.
16467 * sysdeps/mips/backtrace.c: Likewise.
16468 * sysdeps/nios2/backtrace.c: Likewise.
16469 * sysdeps/riscv/backtrace.c: Likewise.
16470 * sysdeps/sh/backtrace.c: Likewise.
16471 * sysdeps/tile/backtrace.c: Likewise.
16472
16473 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16474
16475 [BZ #22987]
16476 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16477 function.
16478 (fdimf): Likewise.
16479 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16480
16481 [BZ #17343]
16482 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16483 possibly overflowing computations.
16484
16485 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16486
16487 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16488 values from Linux-specific section now that it is in the GNU section.
16489 * sysdeps/gnu/errlist.c: Regenerate.
16490
16491 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16492
16493 * math/Makefile (libm-narrow-fns): Add sub.
16494 (libm-test-funcs-narrow): Likewise.
16495 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16496 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16497 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16498 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16499 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16500 (NARROW_SUB_TRIVIAL): Likewise.
16501 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16502 macro.
16503 (__dsubl): Likewise.
16504 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16505 dsub.
16506 (CFLAGS-nldbl-dsub.c): New variable.
16507 (CFLAGS-nldbl-fsub.c): Likewise.
16508 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16509 __nldbl_dsubl.
16510 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16511 prototype.
16512 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16513 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16514 * math/auto-libm-test-in: Add tests of sub.
16515 * math/auto-libm-test-out-narrow-sub: New generated file.
16516 * math/libm-test-narrow-sub.inc: New file.
16517 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16518 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16519 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16520 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16521 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16522 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16523 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16524 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16525 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16526 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16527 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16528 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16529 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16530 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16531 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16532 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16533 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16534 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16536 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16537 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16538 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16539 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16540 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16541 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16542 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16543 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16544 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16545 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16546 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16547 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16548 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16553 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16554 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16555 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16556 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16557 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16558 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16559 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16560 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16561 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16562 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16563
16564 2018-03-19 Joseph Myers <joseph@codesourcery.com>
16565
16566 [BZ #20079]
16567 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16568
16569 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16570
16571 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16572
16573 2018-03-18 Richard Braun <rbraun@sceen.net>
16574
16575 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16576 thread reference.
16577
16578 2018-03-18 Agustina Arzille <avarzille@riseup.net>
16579
16580 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16581 (__libc_cleanup_fct): Define function.
16582 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16583 __libc_cleanup_end): Rewrite implementation using
16584 __attribute__ ((__cleanup__)).
16585 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
16586 * hurd/Makefile (routines): Add hurdlock.
16587 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16588 interface.
16589 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16590 * hurd/hurdpid.c: Include <lowlevellock.h>
16591 (_S_msg_proc_newids): Use lll_wait to synchronize.
16592 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16593 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16594 * mach/Makefile (lock-headers): Remove machine-lock.h.
16595 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16596 <machine-lock.h>.
16597 (__spin_lock_t): New type.
16598 (__SPIN_LOCK_INITIALIZER): New macro.
16599 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16600 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16601 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16602 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16603 (__mutex_init): Initialize with lll.
16604 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16605 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16606 needing lll.
16607 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16608 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16609 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16610 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16611 (__setpgid): Use lll for synchronization.
16612 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16613 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16614 instead of <cthreads.h>.
16615 (_IO_lock_inexpensive): New macro
16616 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16617 (__libc_lock_self0): New declaration.
16618 (__libc_lock_owner_self): New macro.
16619 (__libc_key_t): Remove type.
16620 (_LIBC_LOCK_INITIALIZER): New macro.
16621 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16622 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16623 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16624 __libc_lock_define_initialized_recursive,
16625 __rtld_lock_define_initialized_recursive,
16626 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16627 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16628 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16629 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16630 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16631 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16632 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16633 New macros.
16634 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16635 * hurd/hurdlock.c: New file.
16636 * hurd/hurdlock.h: New file.
16637 * mach/lowlevellock.h: New file
16638
16639 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16640
16641 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
16642 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16643 when opening a symlink with O_NOFOLLOW.
16644 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16645 path when flags contains O_NOFOLLOW.
16646 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16647 if flags contains O_DIRECTORY and the result is a directory.
16648 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16649 oneself when the pointer given in D is nul (as set by ext2fs).
16650 * sysdeps/mach/hurd/mlockall.c: New file.
16651 * sysdeps/mach/hurd/munlockall.c: New file.
16652
16653 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16654
16655 * hurd/hurdsig.c: Include <pthread.h>.
16656 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16657 get the signal thread stack layout.
16658 * hurd/Makefile (headers): Remove threadvar.h.
16659 (inline-headers): Remove threadvar.h.
16660 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16661 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16662 __hurd_threadvar_max, __hurd_errno_location.
16663 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16664 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16665 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16666 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16667 unless TLS is not initialized yet, in which case we do not need a
16668 critical section yet anyway.
16669 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16670 <machine-sp.h>.
16671 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16672 declarations.
16673 (__hurd_threadvar_index): Remove enum.
16674 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16675 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16676 inlines.
16677 (__hurd_reply_port0): New variable declaration.
16678 (__hurd_local_reply_port): New macro.
16679 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16680 (interrupted_reply_port_location): Add thread_t parameter. Use it
16681 with THREAD_TCB to access thread-local variables.
16682 (_hurdsig_abort_rpcs): Pass ss->thread to
16683 interrupted_reply_port_location.
16684 (_hurd_internal_post_signal): Likewise.
16685 (_hurdsig_init): Use presence of cthread_fork instead of
16686 __hurd_threadvar_stack_mask to start signal thread by hand.
16687 Remove signal thread threadvar initialization.
16688 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16689 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16690 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16691 of threadvar.
16692 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16693 __libc_lock_self0.
16694 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16695 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16696 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16697 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16698 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16699 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16700 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16701 define variables.
16702 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16703 <hurd/threadvar.h>.
16704 [IS_IN(rtld)] (rtld_errno): New variable.
16705 [IS_IN(rtld)] (__errno_location): New weak function.
16706 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16707 * sysdeps/mach/hurd/errno.c: Remove file.
16708 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16709 (__fork): Remove THREADVAR_SPACE macro and its use.
16710 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16711 variable.
16712 (init): Do not initialize threadvar.
16713 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16714 symbol.
16715 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16716 __hurd_local_reply_port instead of threadvar.
16717 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16718 _hurd_sigstate fields.
16719 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16720 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16721 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16722 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16723 instead of threadvar.
16724 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16725 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16726 (use_threadvar, global_reply_port): Remove variables.
16727 (__hurd_reply_port0): New variable.
16728 (__mig_get_reply_port): Use __hurd_local_reply_port and
16729 __hurd_reply_port0 instead of threadvar.
16730 (__mig_dealloc_reply_port): Likewise.
16731 (__mig_init): Do not initialize threadvar.
16732 * sysdeps/mach/hurd/profil.c: Fix comment.
16733 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16734 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16735 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16736 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16737 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16738 __cthread_setspecific.
16739 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16740 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16741 __cthread_t instead of cthread_fork, cthread_detach,
16742 pthread_getattr_np, pthread_attr_getstack.
16743 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16744 __cthread_keycreate.
16745 (cthread_getspecific): Rename to __cthread_getspecific.
16746 (cthread_setspecific): Rename to __cthread_setspecific.
16747 (__libc_getspecific): Use __cthread_getspecific instead of
16748 cthread_getspecific.
16749 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16750 __cthread_keycreate instead of cthread_keycreate.
16751 (__libc_setspecific): Use __cthread_setspecific instead of
16752 cthread_setspecific.
16753 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16754 Likewise.
16755 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16756 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16757 testing whether it is defined.
16758
16759 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16760
16761 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16762 Define macro.
16763 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16764 * sysdeps/mach/i386/thread_state.h
16765 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16766 i386_THREAD_STATE.
16767 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16768 i386_THREAD_STATE.
16769 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16770
16771 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16772 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16773
16774 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16775 macros.
16776 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16777 descriptor instead of creating a new one.
16778 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16779
16780 * mach/setup-thread.c: Include <ldsodefs.h>.
16781 (__mach_setup_thread): Call _dl_allocate_tls, pass
16782 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16783 MACHINE_THREAD_STATE_FLAVOR, before getting
16784 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16785 MACHINE_THREAD_STATE_FLAVOR with the result.
16786 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16787 MACHINE_THREAD_STATE_FIX_NEW.
16788 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16789 too. Add original thread parameter.
16790
16791 2018-03-16 Joseph Myers <joseph@codesourcery.com>
16792
16793 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16794 Remove inline function.
16795
16796 * sysdeps/i386/fpu/libm-test-ulps: Update.
16797 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16798
16799 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16800
16801 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16802 commit.
16803
16804 2018-03-15 Joseph Myers <joseph@codesourcery.com>
16805
16806 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16807 (__sincos_code): Remove define and undefine.
16808 [__FAST_MATH__] (__sincos): Remove inline function.
16809 [__FAST_MATH__] (__sincosf): Remove inline function.
16810 [__FAST_MATH__] (__sincosl): Remove inline function.
16811 (__atan2l): Remove inline functions.
16812 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16813 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16814 function.
16815 (floor): Remove inline function.
16816 (ceil): Likewise.
16817 [__FAST_MATH__] (__ldexp_code): Remove macro.
16818 [__FAST_MATH__] (ldexp): Remove inline function.
16819 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16820 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16821 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16822 [__USE_ISOC99] (__lrint_code): Remove macro.
16823 [__USE_ISOC99] (__llrint_code): Likewise.
16824 [__USE_ISOC99] (lrintf): Remove inline function.
16825 [__USE_ISOC99] (lrint): Likewise.
16826 [__USE_ISOC99] (lrintl): Likewise.
16827 [__USE_ISOC99] (llrint): Likewise.
16828 [__USE_ISOC99] (llrintf): Likewise.
16829 [__USE_ISOC99] (llrintl): Likewise.
16830
16831 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16832
16833 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16834 (__ieee754_sqrtf): Remove.
16835 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16836 (__ieee754_sqrtf): Remove.
16837 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16838 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16839 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16840 (__ieee754_sqrtf): Remove.
16841 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16842 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16843 (sqrtf): Remove.
16844 (sqrtl): Remove.
16845 (__ieee754_sqrt): Remove.
16846 (__ieee754_sqrtf): Remove.
16847 (__ieee754_sqrtl): Remove.
16848 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16849 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16850 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16851 (__ieee754_sqrtf): Remove.
16852 (__ieee754_sqrtl): Remove.
16853
16854 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16855
16856 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16857 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16858 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16859 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16860 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16861 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16862 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16863 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16864 Likewise.
16865 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16866 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16867 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16868 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16869 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16870 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16871 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16872 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16873 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16874 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16875 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16876 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16877 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16878 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16879 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16880 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16881 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16882 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16883 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16884 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16885 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16886 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16887 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16888 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16889 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16890 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16891 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16892 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16893 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16894 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16895 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16896 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16897 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16898 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16899 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16900 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16901 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16902 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16903 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16904 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16905
16906 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16907
16908 * include/math.h (sqrt): Declare with asm redirect.
16909 (sqrtf): Likewise.
16910 (sqrtl): Likewise.
16911 (sqrtf128): Likewise.
16912 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16913 nonlib and libnldbl with -fmath-errno.
16914 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16915 * math/w_sqrt_template.c: Likewise.
16916 * math/w_sqrtf_compat.c: Likewise.
16917 * math/w_sqrtl_compat.c: Likewise.
16918 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16919 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16920 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16921 complex.h.
16922
16923 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16924
16925 * benchtests/Makefile: Define _ISOMAC.
16926 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16927 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16928 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16929 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16930 * benchtests/bench-timing.h: Define attribute_hidden.
16931
16932 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16933
16934 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16935 mov + lsr.
16936
16937 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16938
16939 [BZ #22963]
16940 * localedata/locales/cs_CZ (mon): Rename to...
16941 (alt_mon): This.
16942 (mon): Import from CLDR (genitive case).
16943
16944 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16945
16946 [BZ #22937]
16947 * localedata/locales/el_CY (abmon): Rename to...
16948 (ab_alt_mon): This.
16949 (abmon): Import from CLDR (abbreviated genitive case).
16950 * localedata/locales/el_GR (abmon): Rename to...
16951 (ab_alt_mon): This.
16952 (abmon): Import from CLDR (abbreviated genitive case).
16953
16954 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16955
16956 [BZ #22932]
16957 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16958
16959 2018-03-15 Robert Buj <robert.buj@gmail.com>
16960
16961 [BZ #22848]
16962 * localedata/locales/ca_ES (abmon): Rename to...
16963 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16964 (mon): Rename to...
16965 (alt_mon): This.
16966 (abmon): Import from CLDR (genitive case, month names preceded by
16967 "de" or "d’").
16968 (mon): Likewise.
16969 (abday): Synchronize with CLDR.
16970 (d_t_fmt): Likewise.
16971 (d_fmt): Likewise.
16972 (am_pm): Likewise.
16973
16974 (LC_TIME): Improve indentation.
16975 (LC_TELEPHONE): Likewise.
16976 (LC_NAME): Likewise.
16977 (LC_ADDRESS): Likewise.
16978
16979 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16980
16981 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16982 (lrintf): Remove definitions used only with old GCC.
16983 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16984 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16985 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16986 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16987 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16988 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16989 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16990 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16991 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16992 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16993 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16994 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16995 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16996 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16997 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16998 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16999 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17000 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17001 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17002 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17003 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17004 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17005 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17006 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17007 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17008 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17009 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17010 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17011
17012 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17013
17014 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17015 instruction to unbreak builds with binutils 2.26 and older.
17016
17017 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17018
17019 * sysdeps/aarch64/strncmp.S (count): New macro.
17020 (strncmp): Store misaligned length in SRC1 in COUNT.
17021 (mutual_align): Adjust.
17022 (misaligned8): Load dword at a time when it is safe.
17023
17024 2018-03-12 Zack Weinberg <zackw@panix.com>
17025
17026 [BZ #1190]
17027 [BZ #19476]
17028 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17029 if the _IO_EOF_SEEN bit is already set; update commentary.
17030 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17031 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17032
17033 * support/support_openpty.c, support/tty.h: New files.
17034 * support/Makefile (libsupport-routines): Add support_openpty.
17035
17036 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17037 New test cases.
17038 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17039 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17040
17041 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17042
17043 * po/pt_BR.po: Update translations.
17044
17045 2018-03-12 David Michael <fedora.dm0@gmail.com>
17046
17047 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17048 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17049 get a port to the startup server.
17050
17051 2018-03-11 Zack Weinberg <zackw@panix.com>
17052
17053 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17054 before nldbl-compat.h.
17055
17056 2018-03-10 Zack Weinberg <zackw@panix.com>
17057
17058 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17059 math.h or math_private.h.
17060
17061 * sysdeps/alpha/fpu/s_isnan.c
17062 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17063 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17064 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17065 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17066 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17067 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17068 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17069 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17070 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17073 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17074 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17075 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17076 Include math_private.h.
17077
17078 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17079 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17080 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17081 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17082 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17083 * sysdeps/powerpc/power7/fpu/s_logb.c:
17084 Include math.h and math_private.h.
17085
17086 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17087 uses of $at in .set noat / .set at.
17088
17089 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17090
17091 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17092 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17093 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17094 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17095 Likewise.
17096
17097 2018-03-09 Florian Weimer <fweimer@redhat.com>
17098
17099 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17100 in comment.
17101
17102 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17103
17104 [BZ #22919]
17105 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17106 Add nop before __startcontext, add explaining comments.
17107
17108 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17109
17110 [BZ #22926]
17111 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17112 empty for __SPE__.
17113 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17114 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17115 Do not build hardware transactional code for __SPE__.
17116 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17117 (__lll_trylock_elision): Likewise.
17118 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17119 (__lll_unlock_elision): Likewise.
17120
17121 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
17122 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17123 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17124 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17125 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17126 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17127 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17128 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17129 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17130 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17131 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17132 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17133 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17134 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17135 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17136 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17137 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17138 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17139 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17140 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17141 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17142 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17143 (__ASSUME_CLONE_BACKWARDS): Define.
17144 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17145 __clone2 if __NR_clone2 is defined.
17146 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17147 (__ASSUME_CLONE_BACKWARDS): Likewise.
17148 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17149 (__ASSUME_CLONE_BACKWARDS): Likewise.
17150 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17151 (__ASSUME_CLONE2): Likewise.
17152 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17153 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17154 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17155 variants and the define architecture can use.
17156 (__ASSUME_CLONE_DEFAULT): Define as default.
17157 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17158 (__ASSUME_CLONE_BACKWARDS): Likewise.
17159 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17160 (__ASSUME_CLONE_BACKWARDS): Likewise.
17161 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17162 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17163
17164 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17165
17166 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17167
17168 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17169 time.
17170
17171 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17172 (do_test_limit): Likewise.
17173
17174 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17175 for every implementation.
17176 (do_test): Likewise.
17177
17178 * benchtests/bench-strncmp.c: Convert output to json.
17179
17180 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17181
17182 * io/futimens.c: Add missing start-of-file descriptive comment.
17183 * io/utime.c: Likewise.
17184 * misc/futimesat.c: Likewise.
17185 * misc/utimes.c: Likewise.
17186 * sysdeps/mach/hurd/futimesat.c: Likewise.
17187 * sysdeps/mach/hurd/utimes.c: Likewise.
17188 * sysdeps/posix/utime.c: Likewise.
17189 * sysdeps/posix/utimes.c: Likewise.
17190 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17191 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17192 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17193 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17194
17195 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17196
17197 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17198 hurd_futimes.
17199 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17200 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17201 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17202 (__futimens): Move implementation to...
17203 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17204 utime_tvalue_from_tspec): ... new helper functions.
17205 (hurd_futimens): New function.
17206 * sysdeps/mach/hurd/futimesat.c: New file.
17207 * sysdeps/mach/hurd/utimensat.c: New file.
17208
17209 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17210
17211 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17212 UTIME_OMIT): New macros.
17213 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17214 before reverting to converting time spec to time value and calling
17215 __file_utimes.
17216 * sysdeps/mach/hurd/utime-helper.c: New file.
17217 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17218 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17219 reverting to utime_tvalue_from_tval and __file_utimes.
17220 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17221 (__lutimes): Just call hurd_futimens after lookup.
17222 * sysdeps/mach/hurd/utimes.c: Likewise.
17223
17224 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17225
17226 * bits/sigaction.h: Add include guard.
17227 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17228 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17229 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17230 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17231 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17232 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17233 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17234 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17235 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17236
17237 2018-03-05 Joseph Myers <joseph@codesourcery.com>
17238
17239 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17240 -Wmaybe-uninitialized for -Os.
17241 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17242 this disabling.
17243
17244 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17245
17246 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17247 __INO_T_MATCHES_INO64_T is defined.
17248 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17249 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17250 of definition.
17251 * dirent/alphasort64.c: Likewise.
17252 * dirent/scandir.c: Likewise.
17253 * dirent/scandir64-tail.c: Likewise.
17254 * dirent/scandir64.c: Likewise.
17255 * dirent/scandirat.c: Likewise.
17256 * dirent/scandirat64.c: Likewise.
17257 * dirent/versionsort.c: Likewise.
17258 * dirent/versionsort64.c: Likewise.
17259 * include/dirent.h: Likewise.
17260
17261 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17262 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17263 for socketpair endpoint.
17264 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17265 WRITE_BUFFER_SIZE as buffer size for sending socket.
17266 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17267 issue on system where send is implemented with sendto syscall.
17268 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17269 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17270 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17271 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17272
17273 [BZ #21269]
17274 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17275 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17276 sa_restorer for vDSO case.
17277 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17278
17279 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17280
17281 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
17282 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17283 * hurd/hurd/ioctl.h: Include <mach/port.h>
17284 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
17285 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17286 <mach/mach_types.h> and <mach/message.h>.
17287 (headers): Move mach/param.h to bits/mach/param.h.
17288 * sysdeps/mach/i386/mach/param.h: Move file to ...
17289 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17290 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17291 of <mach/param.h>.
17292 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17293 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17294 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
17295 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17296 trivial, for C++ conformity.
17297 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
17298 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17299 Process mig output through $(migheadersed).
17300 * hurd/Makefile (migheadersed): Define variable.
17301 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17302 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17303 headers.
17304 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17305 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17306 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17307 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17308 <bits/types/sigset_t.h>.
17309 [!defined __USE_GNU]: Do not #error out.
17310 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17311 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17312 Include <stddef.h> and <bits/types/sigset_t.h>
17313 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17314 instead of sighandler_t.
17315 * stdlib/errno.h (error_t): Move definition to...
17316 * bits/types/error_t.h: ... new header.
17317 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17318 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17319 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17320 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17321 * hurd/hurd.h: Include <bits/types/error_t.h>
17322 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17323 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17324 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17325 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17326 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17327 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
17328 * sysdeps/mach/hurd/futimens.c: New file.
17329
17330 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17331
17332 [BZ #22918]
17333 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17334 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17335 * nscd/gai.c (__nss_hosts_database): Readd definition.
17336 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17337 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17338 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17339
17340 2018-03-02 Joseph Myers <joseph@codesourcery.com>
17341
17342 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17343 (ifunc_one): Likewise.
17344
17345 2018-03-01 DJ Delorie <dj@delorie.com>
17346
17347 [BZ #22342]
17348 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17349 key value.
17350
17351 2018-03-01 Maciej W. Rozycki <macro@mips.com>
17352
17353 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17354 `match_pid' parameter.
17355 (td_ta_thr_iter): Update accordingly.
17356
17357 2018-03-01 Florian Weimer <fweimer@redhat.com>
17358
17359 * nptl/Makefile (install-lib-ldscripts): Remove.
17360 (install): Remove rule.
17361 ($(inst_libdir)/libpthread.so): Likewise.
17362
17363 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17364
17365 [BZ #22896]
17366 * localedata/locales/an_ES: update month and day names,
17367 improve d_fmt, improve postal_fmt, add country_post,
17368 add country_isbn
17369
17370 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17371
17372 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17373 Ukrainian instead of Bulgarian.
17374
17375 2018-03-01 Florian Weimer <fweimer@redhat.com>
17376
17377 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17378 reference.
17379
17380 2018-03-01 Florian Weimer <fweimer@redhat.com>
17381
17382 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17383 * nptl/Makefile (routines): Add pthread_atfork.
17384 (static-only-routines): Set to pthread_atfork.
17385 (libpthread-routines): Remove pthread_atfork.
17386 (libpthread-static-only-routines): Remove.
17387 (install): Update comment.
17388 (libpthread.so): Do not install libpthread_nonshared.a.
17389 (tests): Do not link with libpthread_nonshared.a.
17390 (generated): Remove libpthread_nonshared.a.
17391 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17392 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17393 with libpthread_nonshared.a.
17394
17395 2018-02-28 Joseph Myers <joseph@codesourcery.com>
17396
17397 [BZ #22902]
17398 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17399 (libc_feholdexcept_setroundf128): New macro.
17400 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17401
17402 [BZ #15105]
17403 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17404 libc_hidden_def.
17405 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17406 * include/inttypes.h: New file.
17407
17408 2018-02-27 Joseph Myers <joseph@codesourcery.com>
17409
17410 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17411 -Os in two more places.
17412
17413 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17414
17415 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17416 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17417 be sorted correctly at the moment because of a bug.
17418
17419 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17420
17421 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17422 treat ñ as a primary different character, sync the collation
17423 for Spanish with CLDR.
17424 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17425 * localedata/Makefile: Add new test files.
17426 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17427 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17428 collation order.
17429 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17430 * localedata/am_ET.UTF-8.in: New test file.
17431 * localedata/az_AZ.UTF-8.in: Likewise.
17432 * localedata/be_BY.UTF-8.in: Likewise.
17433 * localedata/ber_DZ.UTF-8.in: Likewise.
17434 * localedata/ber_MA.UTF-8.in: Likewise.
17435 * localedata/bg_BG.UTF-8.in: Likewise.
17436 * localedata/br_FR.UTF-8.in: Likewise.
17437 * localedata/cmn_TW.UTF-8.in: Likewise.
17438 * localedata/crh_UA.UTF-8.in: Likewise.
17439 * localedata/csb_PL.UTF-8.in: Likewise.
17440 * localedata/cv_RU.UTF-8.in: Likewise.
17441 * localedata/cy_GB.UTF-8.in: Likewise.
17442 * localedata/dz_BT.UTF-8.in: Likewise.
17443 * localedata/eo.UTF-8.in: Likewise.
17444 * localedata/es_ES.UTF-8.in: Likewise.
17445 * localedata/fa_IR.UTF-8.in: Likewise.
17446 * localedata/fi_FI.UTF-8.in: Likewise.
17447 * localedata/fil_PH.UTF-8.in: Likewise.
17448 * localedata/fur_IT.UTF-8.in: Likewise.
17449 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17450 * localedata/ha_NG.UTF-8.in: Likewise.
17451 * localedata/ig_NG.UTF-8.in: Likewise.
17452 * localedata/ik_CA.UTF-8.in: Likewise.
17453 * localedata/kk_KZ.UTF-8.in: Likewise.
17454 * localedata/ku_TR.UTF-8.in: Likewise.
17455 * localedata/ky_KG.UTF-8.in: Likewise.
17456 * localedata/ln_CD.UTF-8.in: Likewise.
17457 * localedata/mi_NZ.UTF-8.in: Likewise.
17458 * localedata/ml_IN.UTF-8.in: Likewise.
17459 * localedata/mn_MN.UTF-8.in: Likewise.
17460 * localedata/mr_IN.UTF-8.in: Likewise.
17461 * localedata/mt_MT.UTF-8.in: Likewise.
17462 * localedata/nb_NO.UTF-8.in: Likewise.
17463 * localedata/om_KE.UTF-8.in: Likewise.
17464 * localedata/os_RU.UTF-8.in: Likewise.
17465 * localedata/ps_AF.UTF-8.in: Likewise.
17466 * localedata/ro_RO.UTF-8.in: Likewise.
17467 * localedata/ru_RU.UTF-8.in: Likewise.
17468 * localedata/sc_IT.UTF-8.in: Likewise.
17469 * localedata/se_NO.UTF-8.in: Likewise.
17470 * localedata/sq_AL.UTF-8.in: Likewise.
17471 * localedata/sv_SE.UTF-8.in: Likewise.
17472 * localedata/szl_PL.UTF-8.in: Likewise.
17473 * localedata/tg_TJ.UTF-8.in: Likewise.
17474 * localedata/tk_TM.UTF-8.in: Likewise.
17475 * localedata/tt_RU.UTF-8.in: Likewise.
17476 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17477 * localedata/ug_CN.UTF-8.in: Likewise.
17478 * localedata/uz_UZ.UTF-8.in: Likewise.
17479 * localedata/vi_VN.UTF-8.in: Likewise.
17480 * localedata/yi_US.UTF-8.in: Likewise.
17481 * localedata/yo_NG.UTF-8.in: Likewise.
17482 * localedata/zh_CN.UTF-8.in: Likewise.
17483 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17484 file and fix bugs in the collation.
17485 * localedata/locales/az_AZ: Likewise.
17486 * localedata/locales/be_BY: Likewise.
17487 * localedata/locales/ber_DZ: Likewise.
17488 * localedata/locales/ber_MA: Likewise.
17489 * localedata/locales/bg_BG: Likewise.
17490 * localedata/locales/br_FR: Likewise.
17491 * localedata/locales/br_FR@euro: Likewise.
17492 * localedata/locales/ca_ES: Likewise.
17493 * localedata/locales/cns11643_stroke: Likewise.
17494 * localedata/locales/crh_UA: Likewise.
17495 * localedata/locales/cs_CZ: Likewise.
17496 * localedata/locales/csb_PL: Likewise.
17497 * localedata/locales/cv_RU: Likewise.
17498 * localedata/locales/cy_GB: Likewise.
17499 * localedata/locales/da_DK: Likewise.
17500 * localedata/locales/dz_BT: Likewise.
17501 * localedata/locales/en_CA: Likewise.
17502 * localedata/locales/eo: Likewise.
17503 * localedata/locales/es_CU: Likewise.
17504 * localedata/locales/es_EC: Likewise.
17505 * localedata/locales/es_ES: Likewise.
17506 * localedata/locales/es_US: Likewise.
17507 * localedata/locales/et_EE: Likewise.
17508 * localedata/locales/fa_IR: Likewise.
17509 * localedata/locales/fi_FI: Likewise.
17510 * localedata/locales/fil_PH: Likewise.
17511 * localedata/locales/fur_IT: Likewise.
17512 * localedata/locales/gez_ER@abegede: Likewise.
17513 * localedata/locales/ha_NG: Likewise.
17514 * localedata/locales/hr_HR: Likewise.
17515 * localedata/locales/hsb_DE: Likewise.
17516 * localedata/locales/hu_HU: Likewise.
17517 * localedata/locales/ig_NG: Likewise.
17518 * localedata/locales/ik_CA: Likewise.
17519 * localedata/locales/is_IS: Likewise.
17520 * localedata/locales/iso14651_t1_pinyin: Likewise.
17521 * localedata/locales/kk_KZ: Likewise.
17522 * localedata/locales/ku_TR: Likewise.
17523 * localedata/locales/ky_KG: Likewise.
17524 * localedata/locales/ln_CD: Likewise.
17525 * localedata/locales/lt_LT: Likewise.
17526 * localedata/locales/lv_LV: Likewise.
17527 * localedata/locales/mi_NZ: Likewise.
17528 * localedata/locales/ml_IN: Likewise.
17529 * localedata/locales/mn_MN: Likewise.
17530 * localedata/locales/mr_IN: Likewise.
17531 * localedata/locales/mt_MT: Likewise.
17532 * localedata/locales/nb_NO: Likewise.
17533 * localedata/locales/om_KE: Likewise.
17534 * localedata/locales/os_RU: Likewise.
17535 * localedata/locales/pl_PL: Likewise.
17536 * localedata/locales/ps_AF: Likewise.
17537 * localedata/locales/ro_RO: Likewise.
17538 * localedata/locales/ru_RU: Likewise.
17539 * localedata/locales/ru_UA: Likewise.
17540 * localedata/locales/sc_IT: Likewise.
17541 * localedata/locales/se_NO: Likewise.
17542 * localedata/locales/si_LK: Likewise.
17543 * localedata/locales/sq_AL: Likewise.
17544 * localedata/locales/sv_FI: Likewise.
17545 * localedata/locales/sv_FI@euro: Likewise.
17546 * localedata/locales/sv_SE: Likewise.
17547 * localedata/locales/szl_PL: Likewise.
17548 * localedata/locales/tg_TJ: Likewise.
17549 * localedata/locales/ti_ER: Likewise.
17550 * localedata/locales/tk_TM: Likewise.
17551 * localedata/locales/tl_PH: Likewise.
17552 * localedata/locales/tr_TR: Likewise.
17553 * localedata/locales/tt_RU: Likewise.
17554 * localedata/locales/tt_RU@iqtelif: Likewise.
17555 * localedata/locales/ug_CN: Likewise.
17556 * localedata/locales/uk_UA: Likewise.
17557 * localedata/locales/uz_UZ: Likewise.
17558 * localedata/locales/uz_UZ@cyrillic: Likewise.
17559 * localedata/locales/vi_VN: Likewise.
17560 * localedata/locales/yi_US: Likewise.
17561 * localedata/locales/yo_NG: Likewise.
17562
17563 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17564
17565 * gen-locales.mk: Make test files which contain @ modifiers in their
17566 name work.
17567 * localedata/gen-locale.sh: Likewise.
17568
17569 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17570
17571 * posix/tst-fnmatch.input: Fix results for range expressions
17572 for non C locales.
17573 * posix/tst-regexloc.c: Do not use a range expression for
17574 de_DE.ISO-8859-1 locale.
17575
17576 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17577
17578 * posix/bug-regex5.c: Fix test case because with the new
17579 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17580 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17581 file.
17582
17583 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17584
17585 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17586 downloaded from ISO, the collation order of @-. and space has changed.
17587 Therefore, this test file needed to be adapted.
17588 * localedata/fr_CA.UTF-8.in: Likewise.
17589 * localedata/fr_FR.UTF-8.in: Likewise.
17590 * localedata/uk_UA.UTF-8.in: Likewise.
17591
17592 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17593
17594 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17595 order of ȥ in the new iso14651_t1_common file.
17596 * localedata/pl_PL.UTF-8.in: Likewise.
17597
17598 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17599
17600 * localedata/locales/iso14651_t1_common: Add sections for various
17601 scripts to the iso14651_t1_common file.
17602
17603 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17604
17605 * localedata/locales/iso14651_t1_common: Use the code point of a
17606 character in the fourth collation level instead of IGNORE for all
17607 entries which have IGNORE on all 4 levels.
17608
17609 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17610
17611 * localedata/locales/iso14651_t1_common: Add some convenient collation
17612 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17613 rules similar to those in CLDR.
17614
17615 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17616
17617 * localedata/locales/iso14651_t1_common: The new version of this
17618 file downloaded from ISO contained several syntax errors which
17619 are fixed by this patch.
17620
17621 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17622
17623 * localedata/locales/iso14651_t1_common: replace all <U.....>
17624 with <U000.....> because glibc understands only 4 digit or 8 digit
17625
17626 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17627
17628 * localedata/locales/iso14651_t1_common: Necessary changes
17629 to make the file downloaded from ISO usable by glibc.
17630
17631 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17632
17633 [BZ #14095]
17634 * localedata/locales/iso14651_t1_common: Update file to
17635 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17636
17637 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17638
17639 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17640 of <nptl/pthreadP.h>
17641 (thread_attr_compare): Move function to...
17642 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
17643 * sysdeps/nptl/timer_routines.h: ... new header.
17644 * sysdeps/mach/hurd/gai_misc.h: New file.
17645
17646 2018-02-26 Joseph Myers <joseph@codesourcery.com>
17647
17648 * string/strcoll_l.c: Include <libc-diag.h>.
17649 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17650 declarations of seq1 and seq2.
17651
17652 [BZ #15105]
17653 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17654 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17655
17656 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17657
17658 [BZ #22433]
17659 [BZ #22807]
17660 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17661 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17662 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17663 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17664 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17665 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17666
17667 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17668
17669 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17670 macros used in __ptrace_request.
17671
17672 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17673
17674 [BZ #22792]
17675 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17676 to $(CC).
17677 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17678 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17679 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17680 <tcb-offsets.h>.
17681
17682 2018-02-23 Joseph Myers <joseph@codesourcery.com>
17683
17684 [BZ #15105]
17685 * ctype/ctype.c (tolower): Use libc_hidden_def.
17686 (toupper): Likewise.
17687 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17688 [!_ISOMAC] (toupper): Likewise.
17689
17690 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17691
17692 * localedata/Makefile: Remove --quiet argument when
17693 installing locales
17694
17695 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17696
17697 [BZ #17438]
17698 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17699 in d_fmt.
17700 * localedata/locales/pt_PT (LC_TIME): likewise
17701
17702 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17703
17704 [BZ #22646]
17705 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17706 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17707 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17708
17709 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17710
17711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17712
17713 * nptl/Makefile (routines): Remove unregister-atfork.
17714 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17715 (fork_handler_alloc): Remove function.
17716 (fork_handlers, fork_handler_init): New variables.
17717 (__fork_lock): Rename to atfork_lock.
17718 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17719 to use a dynamic array to add/remove atfork handlers.
17720 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17721 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17722 Remove declaration.
17723 (fork_handler): Remove next, refcntr, and need_signal member.
17724 (__run_fork_handler_type): New enum.
17725 (__run_fork_handlers): New prototype.
17726 * nptl/register-atfork.c: Remove file.
17727 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17728
17729 * sysdeps/nptl/nptl-signals.h: Move to ...
17730 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17731 comments.
17732 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17733 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17734 unnecessary check for SIGTIMER.
17735 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17736 remove unnecessary removal of SIGTIMER.
17737 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17738 include-signals.h rename.
17739 * nptl/pthreadP.h: Likewise.
17740 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17741 __is_internal_signal instead of __nptl_is_internal_signal.
17742
17743 2018-02-22 Andrew Waterman <andrew@sifive.com>
17744
17745 [BZ # 22884]
17746 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17747 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17748 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17749 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17750
17751 2018-02-22 DJ Delorie <dj@delorie.com>
17752
17753 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17754
17755 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17756
17757 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17758 do_misaligned, not misaligned8.
17759
17760 2018-02-22 Steve Ellcey <sellcey@cavium.com>
17761
17762 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17763 Add memcpy_thunderx2.
17764 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17765 Increment to 4.
17766 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17767 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17768 and IS_THUNDERX2PA checks.
17769 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17770 Use macro to set name appropriately.
17771 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17772 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17773 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17774 New macro.
17775 (IS_THUNDERX2): New macro.
17776
17777 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17778
17779 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17780
17781 2018-02-21 Zack Weinberg <zackw@panix.com>
17782
17783 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17784 Define here, unconditionally.
17785 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17786 * libio/libioP.h: Remove #if 0 blocks.
17787 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17788 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17789 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17790
17791 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17792 Assume weak_alias is always defined.
17793
17794 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17795 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17796 Remove #if 0 and #ifdef TODO blocks.
17797 Assume text_set_element is always defined.
17798
17799 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17800 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17801 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17802
17803 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17804 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17805 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17806 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17807 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17808 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17809 Reformat bit flags for _flags field to make occupancy clearer.
17810 Update commentary.
17811 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17812 Keep definitions consistent with those in libio/libio.h.
17813
17814 * libio/libio.h (_IO_file_flags): Remove macro.
17815 All uses changed to _flags.
17816
17817 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17818 (__HAVE_COLUMN, _IO_BE): Don't define.
17819 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17820 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17821 * libio/libioP.h (EOF): Don't define.
17822 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17823 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17824 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17825 testing _IO_UNIFIED_JUMPTABLES.
17826
17827 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17828 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17829 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17830 (_IO_size_t): Delete; all uses changed to size_t.
17831 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17832 (_IO_off_t): Delete; all uses changed to off_t.
17833 (_IO_off64_t): Delete; all uses changed to off64_t.
17834 (_IO_pid_t): Delete; all uses changed to pid_t.
17835 (_IO_uid_t): Delete; all uses changed to uid_t.
17836 (_IO_wint_t): Delete; all uses changed to wint_t.
17837 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17838 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17839 (_IO_cookie_io_functions_t): Delete; all uses changed to
17840 cookie_io_functions_t.
17841 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17842 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17843 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17844 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17845
17846 * libio/iofopncook.c: Remove unnecessary forward declarations.
17847 * libio/iolibio.h: Correct outdated commentary.
17848 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17849 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17850 Remove unnecessary casts.
17851 * stdio-common/getline.c: Use _IO_getdelim directly.
17852 Don't redefine ssize_t.
17853 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17854 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17855 Remove outdated comments.
17856 * stdio-common/vfscanf.c: Don't redefine va_list.
17857
17858 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17859 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17860 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17861 which are always true, and __cplusplus, which is always false.
17862
17863 2018-02-21 Joseph Myers <joseph@codesourcery.com>
17864
17865 [BZ #15105]
17866 [BZ #19463]
17867 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17868 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17869 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17870 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17871 libc_hidden_proto.
17872 [!_ISOMAC] (putc_unlocked): Likewise.
17873 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17874 define inline if [__USE_EXTERN_INLINES].
17875 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17876 putc_unlocked.
17877
17878 [BZ #15105]
17879 [BZ #19463]
17880 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17881 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17882 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17883 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17884 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17885 getc_unlocked.
17886 * time/tzfile.c (__tzfile_read): Likewise.
17887
17888 2018-02-21 Mike FABIAN <mfabian@redhat.com>
17889
17890 [BZ #22517]
17891 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17892
17893 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17894
17895 * io/fcntl.h: Fix a typo in a comment.
17896
17897 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17898
17899 [BZ #22862]
17900 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17901 define _DEFAULT_SOURCE.
17902 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17903
17904 2018-02-21 Florian Weimer <fweimer@redhat.com>
17905
17906 [BZ #20890]
17907 * elf/cache.c (save_cache): Call fsync on temporary file before
17908 renaming it.
17909 (save_aux_cache): Call fdatasync on temporary file before renaming
17910 it.
17911
17912 2018-02-21 Florian Weimer <fweimer@redhat.com>
17913
17914 [BZ #22787]
17915 * include/caller.h: Remove file.
17916 * elf/dl-caller.c: Likewise.
17917 * elf/Makefile (dl-routines): Remove dl-caller.
17918 (shared-only-routines): Do not add dl-caller.
17919 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17920 __check_caller.
17921 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17922 member.
17923 (dl_open_worker): Do not call __check_caller.
17924 (_dl_open): Do not set caller_dl_open member.
17925 * elf/rtld.c (_rtld_global_ro): Do not initialize
17926 _dl_check_caller member.
17927 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17928 _dl_check_caller member.
17929 (_dl_check_caller): Remove declaration.
17930 * sysdeps/unix/sysv/linux/dl-execstack.c
17931 (_dl_make_stack_executable): Do not call __check_caller.
17932
17933 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17934
17935 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17936 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17937
17938 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17939
17940 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17941 description.
17942
17943 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17944
17945 [BZ #16335]
17946 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17947 of 199606L, 200112L, and 200809L.
17948 (_XOPEN_SOURCE): Document special values of 600 and 700.
17949 (_ISOC11_SOURCE): Document macro.
17950 (_ATFILE_SOURCE): Likewise.
17951 (_FORTIFY_SOURCE): Likewise.
17952
17953 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17954
17955 [BZ #15105]
17956 [BZ #19463]
17957 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17958 and define as weak alias of __ferror_unlocked. Use
17959 libc_hidden_weak.
17960 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17961 libc_hidden_proto.
17962 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17963 function if [__USE_EXTERN_INLINES].
17964 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17965 ferror_unlocked.
17966
17967 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17968
17969 [BZ #6889]
17970 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17971
17972 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17973
17974 [BZ #22818]
17975 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17976 the GLIBC_2.1 version.
17977
17978 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17979
17980 [BZ #21508]
17981 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17982 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17983 intl/tst-gettext-de.po from po/de.po by removing the
17984 POT-Creation-Date line.
17985 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17986 ../po/de.po.
17987 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17988 ../po/de.po.
17989
17990 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17991
17992 * mach/Makefile (headers): Add mach/param.h.
17993 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17994 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17995 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17996 (__ptsname_r): Move implementation to...
17997 (__ptsname_internal): ... new function. Add filling the STP
17998 structure.
17999
18000 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
18001
18002 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18003 idouble to 1 ULP.
18004
18005 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
18006
18007 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18008 syntax.
18009
18010 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18011
18012 * nptl/Makefile (tst-mutex8-ENV): Delete.
18013 * nptl/tst-mutex8.c (check_type):
18014 Add runtime check if mutex will be elided.
18015
18016 2018-02-15 Joseph Myers <joseph@codesourcery.com>
18017
18018 [BZ #20980]
18019 [BZ #21234]
18020 * manual/install.texi (Configuring and compiling): Describe
18021 passing CC and CFLAGS on configure command line, not as
18022 environment variables. Use @code markup on those variables.
18023 Specify what options go in CC and what go in CFLAGS. Note the
18024 requirement to compile with optimization.
18025 * INSTALL: Regenerated.
18026
18027 [BZ #18124]
18028 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18029 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18030 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18031 __sigprocmask instead of sigprocmask.
18032 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18033 Likewise.
18034 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18035 __sigsetjmp and sigprocmask.
18036
18037 [BZ #15105]
18038 * include/argz.h (argz_next): Use libc_hidden_proto.
18039 (__argz_next): Likewise.
18040 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18041 (argz_next): Use libc_hidden_weak.
18042
18043 [BZ #15105]
18044 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18045 libc_hidden_proto.
18046 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18047 libc_hidden_def.
18048
18049 [BZ #15105]
18050 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18051 libc_hidden_proto.
18052 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18053
18054 [BZ #15105]
18055 [BZ #19463]
18056 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18057 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18058 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18059 (__feof_unlocked): New declaration, and inline function if
18060 [__USE_EXTERN_INLINES].
18061 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18062 instead of feof_unlocked.
18063 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18064 * nss/nsswitch.c (nss_parse_file): Likewise.
18065 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18066 Likewise.
18067 * time/getdate.c (__getdate_r): Likewise.
18068 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18069 Define as macro to call __feof_unlocked.
18070
18071 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18072
18073 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18074
18075 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18076
18077 * math/Makefile: Remove mpexp.c and mplog.c
18078 * sysdeps/i386/fpu/mpexp.c: Delete file.
18079 * sysdeps/i386/fpu/mplog.c: Likewise.
18080 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18081 * sysdeps/ia64/fpu/mplog.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18083 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18084 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18085 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18086 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18087 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18088 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18089 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18090 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18091 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18092 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18093 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18094 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18095 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18096 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18097 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18098
18099 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18100
18101 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18102
18103 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18104
18105 * sysdeps/sh/libm-test-ulps: Update.
18106
18107 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18108
18109 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18110 idouble to 1 ULP.
18111
18112 2018-02-12 Zack Weinberg <zackw@panix.com>
18113
18114 [BZ #19239]
18115 * posix/sys/types.h: Don't include sys/sysmacros.h.
18116 * misc/sys/sysmacros.h: Remove the conditional deprecation
18117 warnings for the macros defined by this header.
18118
18119 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18120
18121 * manual/probes.texi: Remove slowexp probes.
18122 * math/Makefile: Remove slowexp.
18123 * sysdeps/generic/math_private.h (__slowexp): Remove.
18124 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18125 document error bounds.
18126 * sysdeps/i386/fpu/slowexp.c: Remove.
18127 * sysdeps/ia64/fpu/slowexp.c: Remove.
18128 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18129 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18130 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18131 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18132 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18133 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18134 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18135 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18136 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18137 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18138 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18139
18140 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18141
18142 [BZ #13932]
18143 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18144 * benchtests/pow-inputs: Update comment for slow path cases.
18145 * manual/probes.texi (slowpow_p10): Delete removed probe.
18146 (slowpow_p10): Likewise.
18147 * math/Makefile: Remove halfulp.c and slowpow.c.
18148 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18149 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18150 (__halfulp): Remove.
18151 (__slowpow): Remove.
18152 * sysdeps/i386/fpu/halfulp.c: Delete file.
18153 * sysdeps/i386/fpu/slowpow.c: Likewise.
18154 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18155 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18156 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18157 improve comments and add error analysis.
18158 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18159 (power1): Remove function:
18160 (log1): Remove error argument, add error analysis.
18161 (my_log2): Remove function.
18162 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18163 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18164 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18165 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18166 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18167 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18168 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18169 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18170 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18171 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18172 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18173 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18174 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18175 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18176
18177 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18178
18179 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18180 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18181
18182 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18183
18184 [BZ #22433]
18185 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18186 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18187 and PTRACE_SETHBPREGS.
18188
18189 2018-02-10 Zack Weinberg <zackw@panix.com>
18190
18191 [BZ #22830]
18192 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18193 correctly.
18194 * malloc/tst-malloc-stats-cancellation.c: New test case.
18195 * malloc/Makefile: Add new test case.
18196
18197 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18198
18199 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18200
18201 2018-02-10 Joseph Myers <joseph@codesourcery.com>
18202
18203 * math/Makefile (libm-narrow-fns): Add add.
18204 (libm-test-funcs-narrow): Likewise.
18205 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18206 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18207 * math/gen-auto-libm-tests.c (test_functions): Add add.
18208 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18209 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18210 (NARROW_ADD_TRIVIAL): Likewise.
18211 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18212 macro.
18213 (__daddl): Likewise.
18214 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18215 dadd.
18216 (CFLAGS-nldbl-dadd.c): New variable.
18217 (CFLAGS-nldbl-fadd.c): Likewise.
18218 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18219 __nldbl_daddl.
18220 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18221 prototype.
18222 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18223 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18224 * math/auto-libm-test-in: Add tests of add.
18225 * math/auto-libm-test-out-narrow-add: New generated file.
18226 * math/libm-test-narrow-add.inc: New file.
18227 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18228 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18229 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18230 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18231 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18232 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18241 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18242 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18243 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18244 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18246 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18247 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18248 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18249 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18250 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18251 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18252 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18253 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18254 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18255 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18256 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18257 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18258 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18263 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18264 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18265 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18266 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18267 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18268 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18269 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18270 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18271 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18272 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18273
18274 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18275 (f128-pairs): New variable.
18276 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18277 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18278 to CFLAGS.
18279 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18280 Also make tests add $(f128-loader-link) to gnulib-tests.
18281
18282 2018-02-09 DJ Delorie <dj@redhat.com>
18283
18284 [BZ #22827]
18285 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18286 64-bit ELF type for 64-bit ELF objects.
18287
18288 2018-02-09 Joseph Myers <joseph@codesourcery.com>
18289
18290 * math/libm-test-driver.c (snan_tests_arg): New variable.
18291 * math/libm-test-support.h (snan_tests_arg): New declaration.
18292 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18293
18294 * math/Makefile (test-type-pairs): New variable.
18295 (test-type-pairs-f64xf128-yes): Likewise.
18296 (tests): Add test-narrow-macros.
18297 (libm-test-funcs-narrow): New variable.
18298 (libm-test-c-narrow): Likewise.
18299 (generated): Add $(libm-test-c-narrow).
18300 (libm-tests-base-narrow): New variable.
18301 (libm-tests-narrow): Likewise.
18302 (libm-tests): Add $(libm-tests-narrow).
18303 (libm-tests-for-type): Handle $(libm-tests-narrow).
18304 (libm-test-c-narrow-obj): New variable.
18305 ($(libm-test-c-narrow-obj)): New rule.
18306 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18307 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18308 $(o-iterator) to set dependencies and CFLAGS.
18309 * math/gen-auto-libm-tests.c: Document use for narrowing
18310 functions.
18311 (output_for_one_input_case): Take argument NARROW.
18312 (generate_output): Likewise. Update call to
18313 output_for_one_input_case.
18314 (main): Take --narrow option. Update call to generate_output.
18315 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18316 (apply_lit): Update call to _apply_lit.
18317 (apply_arglit): New function.
18318 (parse_args): Handle "a" arguments.
18319 (parse_auto_input): Handle format names using ":".
18320 * math/README.libm-test: Document "a" parameter type.
18321 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18322 (ARG_TYPE_TRUE_MIN): Likewise.
18323 (ARG_TYPE_MAX): Likwise.
18324 (ARG_MIN_EXP): Likewise.
18325 (ARG_MAX_EXP): Likewise.
18326 (ARG_MANT_DIG): Likewise.
18327 (TEST_COND_arg_ibm128): Likewise.
18328 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18329 (TEST_COND_arg_fmt): New macro.
18330 (init_max_error): Update prototype.
18331 * math/libm-test-support.c (test_ibm128): New variable.
18332 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18333 instead of using [TEST_COND_ibm128] conditional.
18334 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18335 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18336 [TEST_NARROW] (TEST_MSG): New definition.
18337 (arg_plus_zero): New macro.
18338 (arg_minus_zero): Likewise.
18339 (arg_plus_infty): Likewise.
18340 (arg_minus_infty): Likewise.
18341 (arg_qnan_value_pl): Likewise.
18342 (arg_qnan_value): Likewise.
18343 (arg_snan_value_pl): Likewise.
18344 (arg_snan_value): Likewise.
18345 (arg_max_value): Likewise.
18346 (arg_min_value): Likewise.
18347 (arg_min_subnorm_value): Likewise.
18348 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18349 (RUN_TEST_LOOP_aa_f): New macro.
18350 (TEST_SUFF): New macro.
18351 (TEST_SUFF_STR): Likewise.
18352 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18353 (TEST_COND_any_ibm128): New macro.
18354 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18355 this_func. Update call to init_max_error.
18356 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18357 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18358 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18359 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18360 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18361 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18362 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18363 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18364 * math/test-math-vector.h (TEST_NARROW): Likewise.
18365 * math/test-arg-double.h: New file.
18366 * math/test-arg-float128.h: Likewise.
18367 * math/test-arg-float32x.h: Likewise.
18368 * math/test-arg-float64.h: Likewise.
18369 * math/test-arg-float64x.h: Likewise.
18370 * math/test-arg-ldouble.h: Likewise.
18371 * math/test-math-narrow.h: Likewise.
18372 * math/test-narrow-macros.c: Likewise.
18373 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18374 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18375 test-narrow-macros-ldbl-64.
18376 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18377
18378 * math/bits/mathcalls-narrow.h: New file.
18379 * include/bits/mathcalls-narrow.h: Likewise.
18380 * math/math-narrow.h: Likewise.
18381 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18382 (__MATHCALL_NARROW_ARGS_2): Likewise.
18383 (__MATHCALL_NARROW_ARGS_3): Likewise.
18384 (__MATHCALL_NARROW_NORMAL): Likewise.
18385 (__MATHCALL_NARROW_REDIR): Likewise.
18386 (__MATHCALL_NARROW): Likewise.
18387 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18388 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18389 defined.
18390 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18391 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18392 (libm-narrow-fns): New variable.
18393 (libm-narrow-types-basic): Likewise.
18394 (libm-narrow-types-ldouble-yes): Likewise.
18395 (libm-narrow-types-float128-yes): Likewise.
18396 (libm-narrow-types-float128-alias-yes): Likewise.
18397 (libm-narrow-types): Likewise.
18398 (libm-routines): Add narrowing functions.
18399 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18400 (libc_feholdexcept_setroundf128): New macro.
18401 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18402 * sysdeps/ieee754/float128/float128_private.h: Include
18403 <math/math-narrow.h>.
18404 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18405 Undefine and redefine.
18406 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18407 (libm_alias_float_ldouble): Undefine and redefine.
18408 (libm_alias_double_ldouble): Likewise.
18409
18410 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18411
18412 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18413
18414 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18415 FPCR/FPSR.
18416
18417 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
18418
18419 * manual/creature.texi: Convert references to gcc.info to gcc.
18420 * manual/stdio.texi: Likewise.
18421 * manual/string.texi: Likewise.
18422
18423 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18424
18425 [BZ #17979]
18426 * posix/bits/types.h (__int_least8_t): New typedef.
18427 (__uint_least8_t): Likewise.
18428 (__int_least16_t): Likewise.
18429 (__uint_least16_t): Likewise.
18430 (__int_least32_t): Likewise.
18431 (__uint_least32_t): Likewise.
18432 (__int_least64_t): Likewise.
18433 (__uint_least64_t): Likewise.
18434 * sysdeps/generic/stdint.h (int_least8_t): Define using
18435 __int_least8_t.
18436 (int_least16_t): Define using __int_least16_t.
18437 (int_least32_t): Define using __int_least32_t.
18438 (int_least64_t): Define using __int_least64_t.
18439 (uint_least8_t): Define using __uint_least8_t.
18440 (uint_least16_t): Define using __uint_least16_t.
18441 (uint_least32_t): Define using __uint_least32_t.
18442 (uint_least64_t): Define using __uint_least64_t.
18443 * wcsmbs/uchar.h: Include <bits/types.h>.
18444 (char16_t): Define using __uint_least16_t conditional only on
18445 [!__USE_ISOCXX11].
18446 (char32_t): Define using __uint_least32_t conditional only on
18447 [!__USE_ISOCXX11].
18448 * wcsmbs/test-char-types.c: New file.
18449 * wcsmbs/Makefile (tests): Add test-char-types.
18450
18451 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18452 version to 4.0.1.
18453
18454 2018-02-07 Zack Weinberg <zackw@panix.com>
18455
18456 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18457 Delete all contents except for definitions of _G_HAVE_MMAP and
18458 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18459 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18460 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18461 change as above.
18462
18463 * libio/libio.h: Don't include bits/_G_config.h here.
18464 Include stddef.h with __need_wchar_t defined. Include
18465 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18466 Define _IO_iconv_t here, directly.
18467 Don't define _IO_HAVE_ST_BLKSIZE.
18468 * libio/libioP.h: Include _G_config.h here. Move include of
18469 shlib-compat.h up with rest of includes. Simplify conditionals
18470 controlling definition of _IO_JUMPS_OFFSET.
18471
18472 * csu/init.c: Remove always-true #if around entire file.
18473 Don't include stdio.h. Set _IO_stdin_used to hardwired
18474 constant 0x20001, and update commentary.
18475 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18476 Replace all uses of _G_va_list with __gnuc_va_list.
18477 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18478 instead of #if _IO_HAVE_ST_BLKSIZE.
18479 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18480 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18481 not #ifdef.
18482
18483 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18484 multiple-include guard to match.
18485 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18486 into this file.
18487 Remove preprocessor conditionals that are always true and/or
18488 redundant to other preprocessor conditionals in the same nest.
18489 Include shlib-compat.h unconditionally.
18490 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18491 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18492 defined after including stdio.h.
18493 Use __BEGIN_DECLS/__END_DECLS.
18494
18495 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18496 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18497 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18498
18499 2018-02-07 Zack Weinberg <zackw@panix.com>
18500
18501 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18502 New single-type headers split from _G_config.h.
18503 * libio/bits/types/cookie_io_functions_t.h
18504 * libio/bits/types/struct_FILE.h
18505 New single-type headers split from libio.h.
18506
18507 * libio/Makefile: Install the above new headers. Don't install
18508 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18509 bits/libio-ldbl.h.
18510 * libio/_G_config.h, libio/libio.h: Delete file.
18511
18512 * libio/bits/libio.h: Remove improper-inclusion guard.
18513 Include stdio.h and don't repeat anything that it does.
18514 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18515 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18516 __io_read_fn as cookie_read_function_t,
18517 __io_write_fn as cookie_write_function_t,
18518 __io_seek_fn as cookie_seek_function_t,
18519 __io_close_fn as cookie_close_function_t,
18520 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18521 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18522 here, in the "compatibility defines" section. Remove an #if 0
18523 block. Use the "body" macros from bits/types/struct_FILE.h to
18524 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18525 and _IO_ferror_unlocked.
18526 Move prototypes of __uflow and __overflow...
18527
18528 * libio/stdio.h: ...here. Don't include bits/libio.h.
18529 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
18530 directly from stdarg.h. Include bits/types/__fpos_t.h,
18531 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18532 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18533 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18534 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18535 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18536 __ssize_t, not _IO_ssize_t. Unconditionally define
18537 BUFSIZ as 8192 and EOF as (-1).
18538
18539 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18540 macros from bits/types/struct_FILE.h instead of _IO_* macros
18541 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18542 instead of _IO_ssize_t.
18543 * libio/bits/stdio2.h: Similarly.
18544
18545 * libio/iolibio.h: Add multiple-include guard.
18546 Include bits/libio.h after stdio.h.
18547 * libio/libioP.h: Add multiple-include guard.
18548 Include stdio.h and bits/libio.h before iolibio.h.
18549
18550 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
18551 * include/bits/types/cookie_io_functions_t.h
18552 * include/bits/types/struct_FILE.h: New wrappers.
18553
18554 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
18555 Get definitions of _G_fpos_t and _G_fpos64_t from
18556 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18557 respectively. Remove improper-inclusion guards.
18558
18559 * conform/data/stdio.h-data: Update expectations of va_list.
18560 * scripts/check-installed-headers.sh: Remove special case for
18561 libio.h and _G_config.h.
18562
18563 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18564
18565 [BZ #15105]
18566 [BZ #19463]
18567 * include/sys/sysmacros.h [!_ISOMAC]
18568 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18569 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18570 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18571 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18572 libc_hidden_proto.
18573 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18574 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18575 Likewise.
18576 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18577 Undefine and redefine to add use __gnu_dev_ prefix.
18578 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18579 Likewise.
18580 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18581 and define as hidden inline function.
18582 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18583 Likewise.
18584 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18585 Likewise.
18586 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18587 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18588 (gnu_dev_minor): Likewise.
18589 (gnu_dev_makedev): Likewise.
18590 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18591 makedev.
18592 * posix/wordexp.c (exec_comm_child): Likewise.
18593 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18594 instead of minor and __gnu_dev_major instead of major.
18595 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18596 __gnu_dev_major instead of major.
18597 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18598 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18599 instead of gnu_dev_minor.
18600 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18601 (SLAVE_P): Likewise.
18602 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18603 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18604 instead of major.
18605
18606 [BZ #21313]
18607 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18608 in another place.
18609 * locale/weightwc.h (findidx): Likewise.
18610
18611 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18612
18613 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18614 (slowlog_inexact): Likewise
18615 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18616 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18617
18618 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18619
18620 [BZ #22797]
18621 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18622 missing second underscore to parameter name.
18623
18624 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18625
18626 [BZ #14508]
18627 [BZ #15512]
18628 [BZ #17082]
18629 [BZ #20530]
18630 * bits/byteswap.h: Update file comment. Do not include
18631 <bits/byteswap-16.h>.
18632 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18633 constant.
18634 (__bswap_16): Define as inline function.
18635 (__bswap_constant_32): Reformat definition.
18636 (__bswap_32): Always define as inline function, not macro, using
18637 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18638 otherwise __bswap_constant_32.
18639 (__bswap_constant_64): Reformat definition. Do not use
18640 __extension__ here.
18641 (__bswap_64): Always define as inline function, not macro. Use
18642 __extension__ on function definition. Use __builtin_bswap64 if
18643 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18644 * string/test-endian-file-scope.c: New file.
18645 * string/test-endian-sign-conversion.c: Likewise.
18646 * string/Makefile (headers): Remove bits/byteswap-16.h.
18647 (tests): Add test-endian-file-scope and
18648 test-endian-sign-conversion.
18649 (CFLAGS-test-endian-sign-conversion.c): New variable.
18650 * bits/byteswap-16.h: Remove file.
18651 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18652 * sysdeps/ia64/bits/byteswap.h: Likewise.
18653 * sysdeps/m68k/bits/byteswap.h: Likewise.
18654 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18655 * sysdeps/s390/bits/byteswap.h: Likewise.
18656 * sysdeps/tile/bits/byteswap.h: Likewise.
18657 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18658 * sysdeps/x86/bits/byteswap.h: Likewise.
18659
18660 [BZ #17721]
18661 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18662 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18663 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18664 199901L] (__restrict): Define to restrict.
18665
18666 [BZ #19667]
18667 * string/testcopy.c: Include <support/support.h>. Do not include
18668 <malloc.h>. Use <support/test-driver.c>.
18669 (main): Rename to do_test. Make static. Use xmalloc instead of
18670 malloc.
18671
18672 [BZ #13575]
18673 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18674 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18675 (SSIZE_MAX): Define to INT_MAX.
18676 * posix/test-ssize-max.c: New file.
18677 * posix/Makefile (tests): Add test-ssize-max.
18678
18679 [BZ #19668]
18680 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18681 <support/support.h>. Do not include <malloc.h>.
18682 (query_auxv): Use xmalloc instead of malloc.
18683
18684 [BZ #14553]
18685 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18686 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18687 instead of loff_t.
18688
18689 2018-02-06 Florian Weimer <fweimer@redhat.com>
18690
18691 [BZ #18023]
18692 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18693 Use scratch_buffer instead of extend_alloca.
18694
18695 2018-02-06 Zack Weinberg <zackw@panix.com>
18696
18697 * libio/stdio.h: Don't define getc or putc as macros.
18698 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18699 not _IO_getc and _IO_putc.
18700
18701 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18702 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18703
18704 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18705
18706 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18707 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18708
18709 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18710
18711 [BZ #14890]
18712 * elf/elf.h (NT_PRFPREG): New macro.
18713 (NT_S390_VXRS_LOW): Likewise.
18714 (NT_S390_VXRS_HIGH): Likewise.
18715 (NT_S390_GS_CB): Likewise.
18716 (NT_S390_GS_BC): Likewise.
18717 (NT_S390_RI_CB): Likewise.
18718
18719 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18720 (MAP_SYNC): New macro.
18721 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18722 Likewise.
18723 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18724 (MAP_SYNC): Likewise.
18725 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18726 (MAP_SYNC): Likewise.
18727 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18728 (MAP_SYNC): Likewise.
18729 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18730 (MAP_SYNC): Likewise.
18731 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18732 (MAP_SYNC): Likewise.
18733 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18734 (MAP_SYNC): Likewise.
18735 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18736 Likewise.
18737 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18738 Likewise.
18739
18740 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18741 (MAP_SHARED_VALIDATE): New macro.
18742 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18743 (MAP_SHARED_VALIDATE): Likewise.
18744
18745 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18746
18747 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18748 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18749 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18750
18751 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18752
18753 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18754 (DT_NUM): Updated to 35.
18755
18756 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18757
18758 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18759 __builtin_expect with __glibc_likely and __glibc_unlikely.
18760 (elf_machine_rela): Likewise.
18761 (elf_machine_lazy_rel): Likewise.
18762
18763 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18764
18765 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
18766 __builtin_expect with __glibc_likely and __glibc_unlikely.
18767 (elf_machine_lazy_rel): Likewise.
18768
18769 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18770
18771 [BZ #22638]
18772 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18773 SHARED.
18774 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
18775
18776 2018-02-05 Andreas Schwab <schwab@suse.de>
18777
18778 [BZ #22761]
18779 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18780 string.
18781
18782 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18783
18784 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18785 not check against PTHREAD_STACK_MIN.
18786
18787 2018-02-02 Sean McKean <smckean83@gmail.com>
18788
18789 [BZ #22735]
18790 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18791
18792 2018-02-02 Florian Weimer <fweimer@redhat.com>
18793
18794 [BZ #22753]
18795 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18796 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18797 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18798 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18799 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18800 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18801 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18802 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18803 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18804 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18805 * misc/tst-preadvwritev2.c (do_test): Call it.
18806 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18807
18808 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18809
18810 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18811
18812 * benchtests/bench-memcmp.c: Print json instead of plain text.
18813
18814 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18815 every test run.
18816
18817 2018-02-01 Joseph Myers <joseph@codesourcery.com>
18818
18819 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18820 version to 4.15.
18821 (s390_sthyi): New syscall.
18822
18823 * sysdeps/generic/ldbl-classify-compat.h: New file.
18824 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18825 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18826 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18827 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18828 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18829 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18830 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18831 <ldbl-classify-compat.h>.
18832 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18833 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18834 <ldbl-classify-compat.h>.
18835 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18836 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18837 <ldbl-classify-compat.h>.
18838 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18839 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18840 <ldbl-classify-compat.h>.
18841 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18842 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18843 <ldbl-classify-compat.h>.
18844 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18845 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18846 <ldbl-classify-compat.h>.
18847 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18848 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18849 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18850 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18851 * sysdeps/microblaze/math_private.h: Likewise.
18852 * sysdeps/nios2/math_private.h: Likewise.
18853 * sysdeps/sh/math_private.h: Likewise.
18854
18855 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18856 * sysdeps/m68k/coldfire/math_private.h: ... here.
18857 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18858 * sysdeps/tile/math_private.h: Likewise.
18859 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18860 Remove macro.
18861 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18862 Likewise.
18863
18864 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18865 Remove macro.
18866 (libc_fetestexcept): Likewise.
18867 (libc_feupdateenv_test): Likewise.
18868 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18869 (libc_fetestexcept): Likewise.
18870 (libc_feupdateenv_test): Likewise.
18871 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18872 (libc_fetestexcept): Likewise.
18873 (libc_feupdateenv_test): Likewise.
18874 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18875 (libc_fetestexcept): Likewise.
18876 (libc_feupdateenv_test): Likewise.
18877
18878 * sysdeps/generic/math_private.h
18879 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18880 New inline function.
18881 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18882 Likewise.
18883
18884 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18885 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18886 * sysdeps/generic/math_private.h
18887 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18888 inline function.
18889 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18890 Likewise.
18891 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18892 Likewise.
18893 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18894 Likewise.
18895 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18896 Likewise.
18897 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18898 Likewise.
18899 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18900 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18901 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18902 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18903 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18904 (__fegetenv): Likewise.
18905 (fesetenv): Likewise.
18906 (__fesetenv): Likewise.
18907 (feupdateenv): Likewise.
18908 (__feupdateenv): Likewise.
18909 (fegetround): Likewise.
18910 (__fegetround): Likewise.
18911 (fesetround): Likewise.
18912 (__fesetround): Likewise.
18913
18914 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18915 (feraiseexcept): New macro.
18916 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18917 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18918 Remove macro.
18919 (__feraiseexcept): Likewise.
18920 (feclearexcept): Likewise.
18921 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18922 (__feraiseexcept): Likewise.
18923 (feclearexcept): Likewise.
18924 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18925 (__feraiseexcept): Likewise.
18926 (feclearexcept): Likewise.
18927 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18928 (__feraiseexcept): Likewise.
18929 (feclearexcept): Likewise.
18930 (fetestexcept): Likewise.
18931
18932 * sysdeps/m68k/coldfire/math-tests.h: New file.
18933
18934 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18935 * sysdeps/m68k/bits/fenv.h: ... here.
18936 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18937 not define.
18938 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18939 Likewise.
18940 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18941 Likewise.
18942 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18943 Likewise.
18944 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18945 Likewise.
18946 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18947 Define to 0.
18948 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18949 (__FE_UNDEFINED): New enum constant.
18950 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18951 Do not define.
18952 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18953 Likewise.
18954 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18955 Likewise.
18956 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18957 to match generic bits/fenv.h.
18958 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18959 Do not define.
18960
18961 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18962 packed on bits.
18963 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18964 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18965 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18966 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18967
18968 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18969 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18970 Joseph Myers <joseph@codesourcery.com>
18971
18972 [BZ #21314]
18973 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18974 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18975 computation using c.
18976 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18977 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18978 computation using c.
18979
18980 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18981
18982 * version.h (RELEASE): Set to "development".
18983 (VERSION): Set to "2.27.9000".
18984 * NEWS (2.28): New section.
18985
18986 * version.h (RELEASE): Set to "stable".
18987 (VERSION): Set to "2.27".
18988 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18989
18990 * NEWS: Add the list of bugs fixed in 2.27.
18991
18992 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18993
18994 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18995 against PTHREAD_STACK_MIN.
18996
18997 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18998
18999 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19000 New entries.
19001 (Rafal Luzynski, Andreas Schwab): Update.
19002
19003 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19004
19005 [BZ #10871]
19006 * NEWS: List the languages which actually use the alternative
19007 months feature in this release. Also explain that "alt_mon" and
19008 "ab_alt_mon" are optional.
19009
19010 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19011
19012 [BZ #22765]
19013 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19014
19015 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19016
19017 * manual/install.texi (Tools for Compilation): Update the newest
19018 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19019 * INSTALL: Regenerated.
19020
19021 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19022
19023 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19024 instead of __builtin_expect.
19025
19026 2018-01-30 Florian Weimer <fweimer@redhat.com>
19027
19028 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19029 data.
19030 * nss/tst-nss-getpwent.c (do_test): Likewise.
19031
19032 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19033
19034 [BZ #10871]
19035 * localedata/locales/hr_HR (mon): Rename to...
19036 (alt_mon): This.
19037 (mon): Import from CLDR (genitive case).
19038 (d_t_fmt): Update the comment.
19039
19040 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19041
19042 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19043 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19044 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19045
19046 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19047
19048 * mach/Versions: Fix version when __mach_host_self_ was added.
19049 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19050 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19051 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19052 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19053 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19054 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19055 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19056 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19057 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19058 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19059 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19060 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
19061 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19062 || to respect codestyle.
19063 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19064 (do_test_bz20181): Rename accordingly.
19065 * malloc/malloc.c: Include <assert.h>.
19066 (assert): Do not define.
19067 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
19068 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19069 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
19070 * sysdeps/mach/hurd/hp-timing.h: New file.
19071 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
19072
19073 2018-01-29 Darius Rad <darius@bluespec.com>
19074
19075 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19076
19077 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
19078
19079 * sysdeps/init_array/crti.S (.section .init_array): Add
19080 PREINIT_FUNCTION when defined.
19081 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
19082 * config.h.in: Regenerate.
19083 * manual/platform.texi: Add RISC-V documenation for
19084 __riscv_flush_icache.
19085 * sysdeps/riscv/__longjmp.S: New file.
19086 * sysdeps/riscv/backtrace.c: Likewise.
19087 * sysdeps/riscv/bits/endian.h: Likewise.
19088 * sysdeps/riscv/bits/setjmp.h: Likewise.
19089 * sysdeps/riscv/bits/wordsize.h: Likewise.
19090 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19091 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19092 * sysdeps/riscv/dl-trampoline.S: Likewise.
19093 * sysdeps/riscv/gccframe.h: Likewise.
19094 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19095 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19096 * sysdeps/riscv/machine-gmon.h: Likewise.
19097 * sysdeps/riscv/memusage.h: Likewise.
19098 * sysdeps/riscv/setjmp.S: Likewise.
19099 * sysdeps/riscv/sys/asm.h: Likewise.
19100 * sysdeps/riscv/tls-macros.h: Likewise.
19101 * sysdeps/riscv/dl-tls.h: New file.
19102 * sysdeps/riscv/libc-tls.c: Likewise.
19103 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19104 * sysdeps/riscv/nptl/tls.h: Likewise.
19105 * sysdeps/riscv/stackinfo.h: Likewise.
19106 * sysdeps/riscv/bits/fenv.h: New file.
19107 * sysdeps/riscv/e_sqrtl.c: Likewise.
19108 * sysdeps/riscv/fpu_control.h: Likewise.
19109 * sysdeps/riscv/math-tests.h: Likewise.
19110 * sysdeps/riscv/nofpu/Implies: Likewise.
19111 * sysdeps/riscv/sfp-machine.h: Likewise.
19112 * sysdeps/riscv/tininess.h: Likewise.
19113 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19114 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19115 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19116 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19117 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19118 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19119 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19120 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19121 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19122 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19123 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19124 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19125 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19126 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19127 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19128 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19129 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19130 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19131 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19132 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19133 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19134 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19135 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19136 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19137 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19138 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19139 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19140 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19141 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19142 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19143 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19144 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19145 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19146 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19147 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19148 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19149 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19150 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19151 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19152 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19153 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19154 * sysdeps/riscv/rvf/math_private.h: Likewise.
19155 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19156 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19157 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19158 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19159 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19160 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19161 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19162 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19163 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19164 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19165 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19166 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19167 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19168 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19169 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19170 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
19171 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19172 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19173 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19174 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
19175 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19176 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19177 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19178 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19179 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19180 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19181 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19182 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19183 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
19184 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19185 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19186 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19187 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19188 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19189 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19190 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19191 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19192 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19193 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19194 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19195 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19196 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19197 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19198 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19199 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19200 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19201 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19202 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19203 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19204 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19205 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
19206 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19207 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19208 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
19209 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19210 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19211 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19212 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19213 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19214 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19215 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19216 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19217 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19218 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19219 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19220 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19221 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19222 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
19223 * sysdeps/riscv/Implies: New file.
19224 * sysdeps/riscv/Makefile: Likewise.
19225 * sysdeps/riscv/configure: Likewise.
19226 * sysdeps/riscv/configure.ac: Likewise.
19227 * sysdeps/riscv/nptl/Makefile: Likewise.
19228 * sysdeps/riscv/preconfigure: Likewise.
19229 * sysdeps/riscv/rv64/Implies-after: Likewise.
19230 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19231 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19232 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19233 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19234 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19235 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19236 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19237 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19238 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19239 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19240 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
19241 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19242 (Config): Likewise.
19243
19244 2018-01-29 Florian Weimer <fweimer@redhat.com>
19245
19246 [BZ #22701]
19247 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19248 libnsl_hidden_proto.
19249 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19250 libnsl_hidden_proto.
19251 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19252 * nis/Makefile (libnsl-routines): Add nss-default only for
19253 build-obsolete-nsl.
19254 * nis/nis_defaults.c (__nis_default_ttl): Add
19255 libnsl_hidden_nolink_def.
19256 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19257 declaration.
19258 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19259 * nis/ypclnt.c (yp_maplist): Likewise.
19260
19261 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19262
19263 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19264 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19265
19266 2018-01-29 Joseph Myers <joseph@codesourcery.com>
19267
19268 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19269 clean -dxfq for git updates when replacing sources.
19270
19271 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19272 --disable-libcilkrts unconditionally, not just for the final GCC
19273 build for Hurd.
19274
19275 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19276 version to 4.15.
19277
19278 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19279
19280 [BZ #10871]
19281 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19282 case).
19283
19284 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19285
19286 [BZ #10871]
19287 * localedata/locales/be_BY (mon): Rename to...
19288 (alt_mon): This, then synchronize with CLDR (nominative case).
19289 (abmon): Rename to...
19290 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19291 (mon): Import from CLDR (genitive case).
19292 (abmon): Likewise.
19293 * localedata/locales/be_BY@latin (mon): Rename to...
19294 (alt_mon): This.
19295 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19296
19297 * localedata/locales/be_BY@latin (lang_name): Reworded to
19298 "biełaruskaja mova".
19299
19300 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19301
19302 [BZ #10871]
19303 * localedata/locales/el_CY (mon): Renamed to...
19304 (alt_mon): This.
19305 (mon): Import from CLDR (genitive case).
19306 * localedata/locales/el_GR: Likewise.
19307
19308 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19309
19310 [BZ #10871]
19311 * localedata/locales/ru_RU (mon): Rename to...
19312 (alt_mon): This.
19313 (abmon): Rename to...
19314 (ab_alt_mon): This.
19315 (mon): Import from CLDR (genitive case).
19316 (abmon): Copy from the old content except the 5th month which is
19317 now in the genitive case, even when abbreviated.
19318 * localedata/locales/ru_UA: Likewise.
19319 * time/tst-strptime.c (day_tests): Add an actual example of
19320 a difference between %b and %Ob in Russian.
19321
19322 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19323
19324 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
19325 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19326 a `c' variable.
19327 * resolv/res-close.c: Include <stdlib.h>.
19328 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19329 <sys/wait.h>, <time.h>, <sys/uio.h>.
19330 (NOT_CANCEL_H): Add inclusion guard.
19331 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
19332 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19333 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19334 return 0.
19335 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19336 vm_address_t * to ElfW(Addr) * for dl_main parameter.
19337 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19338 instead of void *.
19339 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19340 timer_ptr2id to cast struct timer_node * to void *.
19341 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19342 --disable-libcilkrts to gcc configure.
19343 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19344 and make them the default for now.
19345 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19346 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
19347 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19348 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19349 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19350 MACH_IPC_COMPAT.
19351 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19352 __task_terminate would ever return successfully.
19353 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19354 to global scope.
19355 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19356 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
19357 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19358 critical section to make code simpler and avoid warning.
19359 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19360 critical section to make code simpler and avoid warning.
19361 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19362 const char * instead of char *.
19363 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19364 __hurd_file_name_split, hurd_file_name_split,
19365 __hurd_directory_name_split, hurd_directory_name_split,
19366 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19367 hurd_file_name_path_lookup): Make lookup function parameter take a
19368 const char *name instead of char *name.
19369 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19370 __hurd_directory_name_split): Likewise.
19371 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19372 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
19373 * sysdeps/mach/hurd/check_native.c: New file.
19374 * sysdeps/mach/hurd/check_pf.c: New file.
19375 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19376 (__freeifaddrs): Define macro to freeifaddrs.
19377 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19378 * sysdeps/mach/libmachuser.abilist: New file.
19379 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19380 (do_test_bz20181): Rename accordingly.
19381 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
19382 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19383 <sys/mount.h>.
19384 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19385 version only if __USE_EXTERN_INLINES is defined.
19386 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19387 __hurd_sockfail): Likewise.
19388 (_hurd_fd_get): Always declare functions, and provide inline versions
19389 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19390 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19391 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19392 _hurd_port_set): Always declare functions, and provide inline versions
19393 only if __USE_EXTERN_INLINES and _LIBC are defined and
19394 IS_IN(libc).
19395 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19396 _hurd_critical_section_unlock): Likewise.
19397 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19398 * __hurd_threadvar_location): Likewise.
19399 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19400 _hurd_userlink_clear): Likewise.
19401 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19402 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19403 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19404 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19405 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19406 __spin_lock_locked): Likewise.
19407 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19408 __spin_lock_locked): Likewise.
19409 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19410 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19411 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19412 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19413 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
19414 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19415 _POSIX_NO_TRUNC): Define to 0.
19416 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19417 check size against PTHREAD_STACK_MIN.
19418 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19419 IS_IN(libpthread)]: Include <sigsetops.h>.
19420 * mach/Makefile (user-interfaces): Add mach/gnumach.
19421 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19422 * sysdeps/mach/configure (mach_interface_list): Regenerate.
19423 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19424 instead of invalid -1.
19425 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19426 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19427 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19428 <net/ppp_defs.h>.
19429
19430 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
19431
19432 * hurd/fcntl-internal.h: New file.
19433
19434 2018-01-27 James Clarke <jrtc27@jrtc27.com>
19435
19436 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19437
19438 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19439
19440 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19441
19442 [BZ #22701]
19443 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19444 Build only shared objects.
19445
19446 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19447
19448 * README: Update for hppa.
19449
19450 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19451
19452 * sysdeps/sparc/fpu/libm-test-ulps: Update
19453 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
19454
19455 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19456
19457 Revert:
19458
19459 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19460
19461 [BZ #22563]
19462 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19463 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19464 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19465 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19466 to feature_1.
19467
19468 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19469
19470 [BZ #22563]
19471 * bits/types/__cancel_jmp_buf_tag.h: New file.
19472 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19473 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19474 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19475 * nptl/Makefile (headers): Add
19476 bits/types/__cancel_jmp_buf_tag.h.
19477 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19478 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19479 * sysdeps/nptl/pthread.h: Include
19480 <bits/types/__cancel_jmp_buf_tag.h>.
19481 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19482 __cancel_jmp_buf.
19483 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19484
19485 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19486
19487 [BZ #10871]
19488 * localedata/locales/uk_UA (mon): Renamed to...
19489 (alt_mon): This.
19490 (alt_digits): "0" removed and then renamed to...
19491 (mon): This.
19492 (date_fmt): Definition changed not to use the alternative
19493 digits hack.
19494
19495 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
19496
19497 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19498 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19499 * elf/elf.h (EF_RISCV_RVC): New define.
19500 (EF_RISCV_FLOAT_ABI): Likewise.
19501 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19502 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19503 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19504 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19505 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19506 define.
19507 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19508
19509 2018-01-25 Andreas Schwab <schwab@suse.de>
19510
19511 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19512 single quotes.
19513 * sysdeps/gnu/configure: Regenerate.
19514 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19515 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19517 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19518 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19519 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19520 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19521 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19522
19523 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19524
19525 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
19526 URL, and run autoconf, make it the default for now.
19527
19528 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19529
19530 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19531 soft-float ColdFire configuration.
19532
19533 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19534 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19535 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19536
19537 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19538 MicroBlaze file.
19539
19540 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19541 ....
19542 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19543 ... here.
19544 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19545 New file.
19546
19547 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19548 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19549 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19550 file.
19551
19552 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19553
19554 [BZ #22742]
19555 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19556 Rename to __reserved and add comment.
19557 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19558 Rename to __reserved.
19559
19560 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19561
19562 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19563 i686-gnu configurations.
19564 (Context.run_builds): Include mig, gnumach and hurd in components
19565 considered.
19566 (Context.checkout): Add mig, gnumach and hurd to components.
19567 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19568 hurd.
19569 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19570 (Config.build): Install gnumach headers, build mig and install
19571 hurd headers for 'gnu' OS.
19572 (Config.install_gnumach_headers): New function.
19573 (Config.install_hurd_headers): Likewise.
19574 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19575 when building for 'gnu' OS.
19576
19577 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
19578
19579 * manual/tunables.texi (Hardware Capability Tunables): Fix
19580 spelling.
19581
19582 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
19583
19584 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19585 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19586 (ALTMON_11, ALTMON_12): Improve documentation.
19587 * manual/time.texi (strftime): Likewise.
19588
19589 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19590
19591 [BZ #10871]
19592 * localedata/locales/pl_PL: Alternative month names added,
19593 primary month names are genitive now.
19594 * time/tst-strptime.c (day_tests): Actually use a genitive case
19595 of a month name in Polish language.
19596
19597 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19598
19599 [BZ #10871]
19600 * manual/locale.texi: Document ALTMON_1..12 constants for
19601 nl_langinfo. Specify when to use ALTMON instead of MON.
19602 * manual/time.texi (strftime, strptime): Document GNU extension
19603 permitting O modifier with %B and %b. Specify when to use
19604 %OB instead of %B.
19605
19606 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19607
19608 [BZ #10871]
19609 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19610 names, define them as the same as abbreviated month names explicitly.
19611 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19612 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19613 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19614 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19615 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19616 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19617 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19618 _NL_WABALTMON_12): New enum constants.
19619 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19620 wab_alt_mon, and ab_alt_mon_defined members.
19621 (time_output): Output ab_alt_mon and wab_alt_mon members.
19622 (time_read): Read them, initialize them as copies of abmon and wabmon
19623 respectively if they are missing, initialize ab_alt_mon_defined.
19624 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19625 * locale/programs/locfile-kw.h: Regenerate.
19626 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19627 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19628 and ru_RU.UTF-8.
19629 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19630 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19631 (__strftime_internal): Handle %Ob and %Oh formats.
19632 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19633 (__strptime_internal): Handle %Ob and %Oh formats.
19634 * time/tst-strptime.c (day_tests): Add more tests to parse different
19635 forms of month names including the new %Ob format specifier.
19636
19637 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19638
19639 [BZ #10871]
19640 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19641 define them as the same as primary full month names explicitly.
19642 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19643 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19644 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19645 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19646 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19647 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19648 _NL_WALTMON_12): New enum constants.
19649 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19650 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19651 macros.
19652 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19653 walt_mon, and alt_mon_defined members.
19654 (time_output): Output alt_mon and walt_mon members.
19655 (time_read): Read them, initialize them as copies of mon and wmon
19656 respectively if they are missing, initialize alt_mon_defined.
19657 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19658 * locale/programs/locfile-kw.h: Regenerate.
19659 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19660 * localedata/tst-langinfo.c (map): Add tests for the new constants
19661 ALTMON_1 .. ALTMON_12.
19662 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19663 and pl_PL.UTF-8.
19664 * time/strftime_l.c (f_altmonth): New macro.
19665 (__strftime_internal): Handle %OB format.
19666 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19667 (__strptime_internal): Handle %OB format.
19668 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19669 of month names including the new %OB format specifier.
19670
19671 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19672
19673 [BZ #22685]
19674 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19675 from ABORT_TRANSACTION.
19676 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19677 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19678 ABORT_TRANSACTION_IMPL): Likewise.
19679 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19680 Linux code, but remove the code that aborts transactions.
19681
19682 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19683
19684 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19685
19686 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19687
19688 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19689 in date: "2004-14-09" should be "2004-09-14".
19690 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19691 "2003-15-09" should be "2003-09-15".
19692
19693 2018-01-18 Arjun Shankar <arjun@redhat.com>
19694
19695 [BZ #22343]
19696 [BZ #22774]
19697 CVE-2018-6485
19698 CVE-2018-6551
19699 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19700 after padding.
19701 (_int_memalign): check for integer overflow before calling
19702 _int_malloc.
19703 * malloc/tst-malloc-too-large.c: New test.
19704 * malloc/Makefile: Add tst-malloc-too-large.
19705
19706 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19707
19708 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19709 in date: "2017-24-07" should be "2017-07-24".
19710 * localedata/locales/mai_IN: Likewise.
19711 * localedata/locales/mai_NP: Likewise.
19712
19713 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19714
19715 * po/ru.po: Update translations.
19716
19717 2018-01-17 Joseph Myers <joseph@codesourcery.com>
19718
19719 [BZ #22719]
19720 * sysdeps/hppa/backtrace.c: New file.
19721
19722 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19723
19724 [BZ #22715]
19725 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19726 align La_x86_64_retval to VEC_SIZE.
19727
19728 2018-01-16 Joseph Myers <joseph@codesourcery.com>
19729
19730 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19731 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19732
19733 2018-01-16 Florian Weimer <fweimer@redhat.com>
19734
19735 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19736 Move tst-thread-exit-clobber ...
19737 [$(CXX)] (tests-unsupported): ... to here.
19738
19739 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19740
19741 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19742 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19743 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19744 (_dl_aarch64_cap_flags): Update.
19745 (_DL_HWCAP_COUNT): Update.
19746
19747 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19748
19749 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19750 (_DL_HWCAP_LAST): Remove.
19751 (_DL_HWCAP_COUNT): Move to ...
19752 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19753 (_DL_HWCAP_COUNT): ... here.
19754
19755 2018-01-16 Florian Weimer <fweimer@redhat.com>
19756
19757 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19758 mode with GNU extensions.
19759
19760 2018-01-15 Alan Hayward <alan.hayward@arm.com>
19761
19762 * elf/elf.h (NT_ARM_SVE): Define.
19763
19764 2018-01-15 Florian Weimer <fweimer@redhat.com>
19765
19766 [BZ #22636]
19767 * nptl/tst-minstack-throw.cc: New file.
19768 * nptl/Makefile (tests): Add tst-minstack-throw.
19769 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19770 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19771
19772 2018-01-15 Joseph Myers <joseph@codesourcery.com>
19773
19774 * scripts/build-many-glibcs.py (Context.checkout): Default
19775 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19776 version to 1.1.0.
19777
19778 2018-01-13 Carlos O'Donell <carlos@redhat.com>
19779
19780 [BZ #22707]
19781 * elf/elf.h (DF_1_STUB): Define.
19782 (DF_1_PIE): Define.
19783
19784 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19785
19786 [BZ #22697]
19787 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19788 Do not add 0.5 to integer or out-of-range arguments.
19789
19790 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19791
19792 * po/bg.po: Update translations.
19793 * po/cs.po: Likewise.
19794 * po/de.po: Likewise.
19795 * po/ko.po: Likewise.
19796 * po/pl.po: Likewise.
19797 * po/sv.po: Likewise.
19798 * po/uk.po: Likewise.
19799 * po/vi.po: Likewise.
19800
19801 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19802
19803 * aarch64/start.S (_start): Use __wrap_main.
19804 (__wrap_main): New local symbol.
19805
19806 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19807
19808 [BZ #22679]
19809 CVE-2018-1000001
19810 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19811 generic_getcwd if the path returned by getcwd syscall is not absolute.
19812 * io/tst-getcwd-abspath.c: New test.
19813 * io/Makefile (tests): Add tst-getcwd-abspath.
19814
19815 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19816
19817 * malloc/malloc.c (malloc_consolidate): Add size check.
19818
19819 2018-01-12 Florian Weimer <fweimer@redhat.com>
19820
19821 * support/write_message.c (write_message): Preserve errno.
19822 * support/check.c (print_failure): Likewise.
19823 * support/support_test_verify_impl.c (support_test_verify_impl):
19824 Likewise.
19825 * support/support_test_compare_failure.c
19826 (support_test_compare_failure): Likewise.
19827
19828 2018-01-12 Florian Weimer <fweimer@redhat.com>
19829
19830 [BZ #22701]
19831 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19832 Prevent installation of libnsl.so.
19833 (libnsl-inhibit-o): Do not build (or install) static libraries.
19834
19835 2018-01-12 Egmont Koblinger <egmont@gmail.com>
19836
19837 [BZ #22657]
19838 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19839 before the day number which may produce a double space.
19840 (date_fmt): Likewise.
19841
19842 2018-01-12 Joseph Myers <joseph@codesourcery.com>
19843
19844 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19845 instead of fegetenv.
19846
19847 2018-01-11 Joseph Myers <joseph@codesourcery.com>
19848
19849 [BZ #22702]
19850 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19851 comment to say exceptions are discarded.
19852 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19853 __fegetenv.
19854 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19855 be enabled.
19856
19857 2018-01-11 Florian Weimer <fweimer@redhat.com>
19858
19859 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19860 and error message.
19861
19862 2018-01-11 Florian Weimer <fweimer@redhat.com>
19863
19864 [BZ #22636]
19865 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19866 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19867
19868 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19869
19870 [BZ #22693]
19871 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19872 negative arguments in test for NaN or infinity argument.
19873
19874 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19875
19876 * po/libc.pot: Regenerate.
19877
19878 2018-01-10 Florian Weimer <fweimer@redhat.com>
19879
19880 [BZ #22636]
19881 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19882 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19883
19884 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19885
19886 * hurd/hurd/fd.h: Include <fcntl.h>
19887 (__hurd_at_flags): New function.
19888 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19889 with call to __hurd_at_flags.
19890 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19891 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19892 __faccessat
19893 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19894 (__access_noerrno): Use __faccessat_common instead of access_common.
19895 (__access): Likewise.
19896 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19897 with a call to __faccessat.
19898 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19899 (__faccessat_common): ... this. Move implementation of __access into it when
19900 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19901 reauthenticate_cwdir_at helper to implement AT mechanism.
19902 (__faccessat_noerrno): New function, just calls __faccessat_common.
19903 (__faccessat): New function, just calls __faccessat_common.
19904 (faccessat): Define weak alias.
19905
19906 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19907
19908 [BZ #22691]
19909 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19910 (CFLAGS-s_fmaxmagl.c): New variable.
19911 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19912
19913 [BZ #22690]
19914 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19915 long int for arguments of possibly overflowing addition or
19916 subtraction.
19917 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19918
19919 2018-01-09 Joseph Myers <joseph@codesourcery.com>
19920
19921 [BZ #22688]
19922 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19923 (CFLAGS-e_remainderl.c): New variable.
19924
19925 [BZ #22687]
19926 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19927 variable.
19928 (CFLAGS-s_cacoshl.c): Likewise.
19929 (CFLAGS-s_casinhl.c): Likewise.
19930 (CFLAGS-s_catanl.c): Likewise.
19931 (CFLAGS-s_catanhl.c): Likewise.
19932 (CFLAGS-s_cexpl.c): Likewise.
19933 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19934 (CFLAGS-s_csinhl.c): Likewise.
19935 (CFLAGS-s_clogl.c): Likewise.
19936 (CFLAGS-s_clog10l.c): Likewise.
19937 (CFLAGS-s_csinl.c): Likewise.
19938 (CFLAGS-s_csqrtl.c): Likewise.
19939
19940 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19941 2017-01-09 Svante Signell <svante.signell@gmail.com>
19942
19943 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19944 (_hurd_exec_paths): New function.
19945 * hurd/hurd.h (_hurd_exec): Deprecate function.
19946 (_hurd_exec_paths): Declare function.
19947 * hurd/Versions: Export _hurd_exec_paths.
19948 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19949 (__execve): Use __getcwd to build absolute path, and use
19950 _hurd_exec_paths instead of _hurd_exec.
19951 * sysdeps/mach/hurd/spawni.c: Likewise.
19952 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19953 _hurd_exec.
19954
19955 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19956
19957 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19958 test instead of failing in case of ENOENT returned by posix_openpt.
19959
19960 2018-01-08 Florian Weimer <fweimer@redhat.com>
19961
19962 resolv: Support binary labels in test framework.
19963 * support/resolv_test.c (struct to_be_freed): Remove.
19964 (struct compressed_name): New.
19965 (allocate_compressed_name, ascii_tolower)
19966 (compare_compressed_name): New functions.
19967 (struct resolv_response_builder): Update type of
19968 compression_offsets for use with tsearch. Rempve to_be_freed.
19969 (response_push_pointer_to_free): Remove function.
19970 (resolv_response_add_name): Rewrite using struct compressed_name
19971 and tsearch instead of hsearch_r.
19972 (response_builder_allocate): Remove initialization of
19973 compression_offsets.
19974 (response_builder_free): Update for removal of to_be_freed. Use
19975 tdestroy instead of hdestroy_r.
19976 * resolv/Makefile (tests): Add tst-resolv-binary.
19977 (tst-resolv-binary): Link with -lresolv -lpthread.
19978
19979 2018-01-08 Florian Weimer <fweimer@redhat.com>
19980
19981 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19982 time. Pass positive flag instead of negative flag to
19983 support_test_compare_failure.
19984 (support_test_compare_failure): Change negative parameter to
19985 positive.
19986 * support/support_test_compare_failure.c (report)
19987 (support_test_compare_failure): Likewise.
19988 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19989 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19990
19991 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19992
19993 [BZ #22637]
19994 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19995 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19996 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19997 stacksize.
19998 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19999
20000 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20001
20002 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20003 Add s_sincosf-sse2 and s_sincosf-fma.
20004 (CFLAGS-s_sincosf-fma.c): New.
20005 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20006 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20007 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20008 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20009 __sincosf is defined.
20010
20011 2018-01-08 Florian Weimer <fweimer@redhat.com>
20012
20013 * nptl/tst-thread-exit-clobber.cc: New file.
20014 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20015 C++11 mode.
20016 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20017 (tests): Add tst-thread-exit-clobber.
20018 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20019
20020 2018-01-08 Florian Weimer <fweimer@redhat.com>
20021
20022 * support/check.h (support_static_assert): Define.
20023 (TEST_COMPARE): Use it.
20024
20025 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20026
20027 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20028 [!__RLIM_T_MATCHES_RLIM64_T]
20029 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20030 __getrlimit64. Add libc_hidden_weak.
20031
20032 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
20033
20034 * elf/elf.h (R_RISCV_NONE): New define.
20035 (R_RISCV_32): Likewise.
20036 (R_RISCV_64): Likewise.
20037 (R_RISCV_RELATIVE): Likewise.
20038 (R_RISCV_COPY): Likewise.
20039 (R_RISCV_JUMP_SLOT): Likewise.
20040 (R_RISCV_TLS_DTPMOD32): Likewise.
20041 (R_RISCV_TLS_DTPMOD64): Likewise.
20042 (R_RISCV_TLS_DTPREL32): Likewise.
20043 (R_RISCV_TLS_DTPREL64): Likewise.
20044 (R_RISCV_TLS_TPREL32): Likewise.
20045 (R_RISCV_TLS_TPREL64): Likewise.
20046 * Makerules (make-link-multidir): Make directories before linking into
20047 them.
20048 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20049 define.
20050 (VDSO_HASH_LINUX_4_15): Likewise.
20051 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20052 in subdirectories of lib.
20053 * nptl/Makefile (/librt.so): Always depend on
20054 "$(shared-thread-library)".
20055
20056 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20057
20058 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
20059 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20060 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20061 (___tls_get_addr).
20062 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
20063 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20064 "-O2 -march=i686".
20065 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
20066 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20067 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20068 * sysdeps/gnu/glob-lstat-compat.c: New file.
20069 * sysdeps/gnu/glob64-lstat-compat.c: New file.
20070 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
20071
20072 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20073
20074 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20075 Reserve 16 chars to reloc_addr before calling _itoa_word.
20076
20077 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20078
20079 [BZ #22678]
20080 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20081 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20082
20083 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20084 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20085
20086 * resource/tst-getrlimit.c: Add copyright header.
20087
20088 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20089 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20090
20091 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20092 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20093 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20094 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20095 instead.
20096 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20097 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20098 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20099 RLIM64_INFINITY): Fix values to match the kernel ones.
20100 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20101 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20102 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20103 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20104 getrlimit64@@GLIBC_2_27.
20105 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20106 and setrlimit64.
20107 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20108 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20109 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20110 setrlimit, getrlimit64 and setrlimit64.
20111
20112 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20113
20114 [BZ #22648]
20115 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20116 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20117
20118 2018-01-04 Joseph Myers <joseph@codesourcery.com>
20119
20120 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20121 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20122 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20123
20124 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20125
20126 [BZ #15479]
20127 [BZ #22666]
20128 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20129 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20130
20131 [BZ #15479]
20132 [BZ #22665]
20133 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20134 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20135 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20136 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20137
20138 2018-01-04 Florian Weimer <fweimer@redhat.com>
20139
20140 [BZ #22667]
20141 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20142 Align the stack before calling exit.
20143 * stdlib/tst-makecontext-align.c: New file.
20144 * stdlib/Makefile (tests): Add tst-makecontext-align.
20145
20146 2018-01-04 Florian Weimer <fweimer@redhat.com>
20147
20148 Add support for calling dlvsym from libc.so.
20149 * include/dlfcn.h (__libc_dlvsym): Declare.
20150 * elf/Makefile (tests-static-internal): Add
20151 tst-libc_dlvsym-static.
20152 (tests-internal): Add tst-libc_dlvsym.
20153 (modules-names): Add tst-libc_dlvsym-dso.
20154 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20155 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20156 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20157 object tst-libc_dlvsym-dso.so needs to be built before running
20158 these tests.
20159 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20160 * elf/Versions: Export __libc_dlvsym.
20161 * elf/dl-libc.c (struct do_dlvsym_args): New.
20162 (do_dlvsym, __libc_dlvsym): New functions.
20163 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20164 (_dl_open_hook2): New variable.
20165 (__libc_register_dl_open_hook): Set it.
20166 * elf/tst-libc_dlvsym-dso.c: New file.
20167 * elf/tst-libc_dlvsym-static.c: Likewise.
20168 * elf/tst-libc_dlvsym.c: Likewise.
20169 * elf/tst-libc_dlvsym.h: Likewise.
20170
20171 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20172
20173 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20174 include <sys/mount.h>.
20175
20176 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20177
20178 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20179 Add __NO_MATH_ERRNO__ check.
20180
20181 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20182
20183 * sysdeps/mips/mips32/libm-test-ulps: Update.
20184 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20185
20186 2018-01-02 Florian Weimer <fweimer@redhat.com>
20187
20188 * misc/tst-pselect.c: Add copyright header.
20189
20190 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20191
20192 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20193 comment.
20194 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20195 comment.
20196 (settrlimit): Rename into setrlimit.
20197 (__sttrlimit): Rename into __setrlimit.
20198
20199 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20200 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20201 never defined in that case.
20202
20203 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20204
20205 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20206
20207 * sysdeps/arm/libm-test-ulps: Update.
20208
20209 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20210 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20211
20212 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20213
20214 * NEWS: Add cosf and sincosf to list of optimized functions.
20215
20216 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20217
20218 [BZ #22660]
20219 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20220 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20221 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20222 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20223
20224 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20225
20226 [BZ #22433]
20227 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20228
20229 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20230 making a copy of it.
20231
20232 2018-01-01 Joseph Myers <joseph@codesourcery.com>
20233
20234 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20235 trailing whitespace removed.
20236 * scripts/config.guess: Update to version 2018-01-01.
20237 * scripts/config.sub: Update to version 2018-01-01.
20238 * scripts/move-if-change: Update from gnulib.
20239
20240 * NEWS: Update copyright dates.
20241 * catgets/gencat.c (print_version): Likewise.
20242 * csu/version.c (banner): Likewise.
20243 * debug/catchsegv.sh: Likewise.
20244 * debug/pcprofiledump.c (print_version): Likewise.
20245 * debug/xtrace.sh (do_version): Likewise.
20246 * elf/ldconfig.c (print_version): Likewise.
20247 * elf/ldd.bash.in: Likewise.
20248 * elf/pldd.c (print_version): Likewise.
20249 * elf/sotruss.sh: Likewise.
20250 * elf/sprof.c (print_version): Likewise.
20251 * iconv/iconv_prog.c (print_version): Likewise.
20252 * iconv/iconvconfig.c (print_version): Likewise.
20253 * locale/programs/locale.c (print_version): Likewise.
20254 * locale/programs/localedef.c (print_version): Likewise.
20255 * login/programs/pt_chown.c (print_version): Likewise.
20256 * malloc/memusage.sh (do_version): Likewise.
20257 * malloc/memusagestat.c (print_version): Likewise.
20258 * malloc/mtrace.pl: Likewise.
20259 * manual/libc.texinfo: Likewise.
20260 * nptl/version.c (banner): Likewise.
20261 * nscd/nscd.c (print_version): Likewise.
20262 * nss/getent.c (print_version): Likewise.
20263 * nss/makedb.c (print_version): Likewise.
20264 * posix/getconf.c (main): Likewise.
20265 * scripts/test-installation.pl: Likewise.
20266 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20267
20268 * All files with FSF copyright notices: Update copyright dates
20269 using scripts/update-copyrights.
20270 * locale/programs/charmap-kw.h: Regenerated.
20271 * locale/programs/locfile-kw.h: Likewise.
20272
20273 2017-12-31 Zack Weinberg <zackw@panix.com>
20274
20275 * libio/bits/libio-ldbl.h: Correct check for improper
20276 inclusion. Add own multiple include guard.
20277
20278 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20279 Dmitry V. Levin <ldv@altlinux.org>
20280
20281 [BZ #22625]
20282 CVE-2017-16997
20283 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20284 string token expansion. Check for NULL pointer or empty string possibly
20285 returned by expand_dynamic_string_token.
20286 (decompose_rpath): Check for empty path after dynamic string
20287 token expansion.
20288
20289 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20290
20291 [BZ #22433]
20292 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20293
20294 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20295 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20296 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20297 and PTRACE_SYSCALL.
20298 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20299 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20300 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20301 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20302 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20303 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20304
20305 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20306 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20307 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20308 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20310 bits/ptrace-shared.h.
20311 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20312 <bits/ptrace-shared.h>.
20313 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20314 __ptrace_peeksiginfo_flags, ptrace): Remove.
20315 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20316 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20317 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20318 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20319 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20320
20321 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20322
20323 [BZ #17804]
20324 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20325 end of the loop. Improve comments.
20326
20327 2017-12-29 Zack Weinberg <zackw@panix.com>
20328
20329 [BZ #22615]
20330 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20331 might be set on success.
20332
20333 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20334
20335 [BZ #22611]
20336 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20337 is unchanged on success.
20338
20339 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20340
20341 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20342 updated.
20343 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20344 expand_dynamic_string_token): Likewise.
20345 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20346 is_path argument.
20347
20348 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20349 contains ':'.
20350
20351 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20352 is set and name contains ':', and all code depending on these checks.
20353
20354 2017-12-24 Zack Weinberg <zackw@panix.com>
20355
20356 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20357 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20358 respectively.
20359 * libio/libio.h: Rename the original version of this file to
20360 libio/bits/libio.h. Error out if not included by stdio.h or the
20361 stub libio.h.
20362 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20363 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20364 if not included by bits/libio.h or the stub _G_config.h.
20365 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20366 sysdeps/unix/sysv/linux/bits. Error out if not included by
20367 bits/libio.h or the stub _G_config.h.
20368 * libio/stdio.h: Include bits/libio.h, not libio.h.
20369 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20370 well as libio.h and _G_config.h.
20371
20372 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20373 * libio/strfile.h, stdio-common/vfscanf.c
20374 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20375 Include stdio.h, not _G_config.h nor libio.h.
20376 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20377 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20378
20379 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20380
20381 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20382
20383 [BZ #22347]
20384 * stdlib/getrandom.c (getrandom): Fix comment.
20385 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20386
20387 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
20388
20389 [BZ #21161]
20390 * manual/arith.texi (strtoul): Fix a typo.
20391
20392 [BZ #22596]
20393 * manual/arith.texi (finite): Fix the description of the return
20394 value.
20395
20396 2017-12-22 Eric Blake <ebb9@byu.net>
20397
20398 Avoid gcc warnings on cygwin
20399 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20400 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20401 Avoid unused variable.
20402
20403 2017-12-22 Florian Weimer <fweimer@redhat.com>
20404
20405 * io/Makefile (routines): Add copy_file_range.
20406 (tests): Add tst-copy_file_range.
20407 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20408 * io/Versions (GLIBC_2.27): Export copy_file_range.
20409 * io/copy_file_range-compat.c: New file.
20410 * io/copy_file_range.c: Likewise.
20411 * io/tst-copy_file_range-compat.c: Likewise.
20412 * io/tst-copy_file_range.c: Likewise.
20413 * manual/llio.texi (Copying File Data): New section.
20414 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20415 * support/Makefile (libsupport-routines): Add support-xfstat,
20416 xftruncate, xlseek.
20417 * support/support-xfstat.c: New file.
20418 * support/xftruncate.c: Likewise.
20419 * support/xlseek.c: Likewise.
20420 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20421 * sysdeps/unix/sysv/linux/**.abilist: Update.
20422 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20423
20424 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20425
20426 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20427 disable-multi-arch variant to aarch64-linux-gnu.
20428
20429 2017-12-20 Joseph Myers <joseph@codesourcery.com>
20430
20431 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20432 trailing whitespace removed.
20433 * scripts/config.guess: Update to version 2017-12-17.
20434 * scripts/config.sub: Update to version 2017-11-23.
20435 * scripts/install-sh: Update to version 2017-09-23.17.
20436 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20437
20438 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20439
20440 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20441 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20442 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20443 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20444 * sysdeps/tile/crtn.S: Likewise.
20445 * sysdeps/tile/dl-start.S (_start): Likewise.
20446 * sysdeps/tile/dl-trampoline.S: Likewise.
20447 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20448 * sysdeps/tile/start.S (_start): Likewise.
20449 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20450 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20451 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20452 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20453 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20454 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20455 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20456
20457 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20458 comment.
20459 * sysdeps/tile/preconfigure: Remove tilegx folder.
20460 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20461 * sysdeps/tile/Implies: ... here.
20462 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20463 * sysdeps/tile/Makefile: ... here.
20464 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20465 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20466 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20467 * sysdeps/tile/bits/wordsize.h: ... here.
20468 * sysdeps/tile/tilegx/*: Move to ...
20469 * sysdeps/tile/*: ... here.
20470 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20471 * sysdeps/tile/tilegx32/Implies: ... here.
20472 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20473 * sysdeps/tile/tilegx64/Implies: ... here.
20474 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20475 to ...
20476 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20477 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20478 * sysdeps/unix/sysv/linux/tile/*: ... here.
20479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20480 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20482 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20483
20484 * README: Remove tilepro-*-linux-gnu from supported architecture.
20485 * scripts/build-many-glibcs.py: Likewise.
20486 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20487 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20488 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20489 elf_machine_matches_host, elf_machine_dynamic,
20490 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20491 howto, elf_machine_rela): Likewise.
20492 * sysdeps/tile/dl-start.S (_start): Likewise.
20493 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20494 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20495 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20496 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20497 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20498 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20499 Likewise.
20500 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20501 * sysdeps/tile/preconfigure: Likewise.
20502 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20503 POINTER_CHK_GUARD): Likewise.
20504 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20505 * sysdeps/tile/start.S (_start): Likewise.
20506 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20507 Likewise.
20508 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20509 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20510 CMOVNEZ): Remove.
20511 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20512 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20513 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20514 Likewise.
20515 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20516 * sysdeps/tile/tilepro/Implies: Remove file.
20517 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20518 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20519 * sysdeps/tile/tilepro/memchr.c: Likewise.
20520 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20521 * sysdeps/tile/tilepro/memset.c: Likewise.
20522 * sysdeps/tile/tilepro/memusage.h: Likewise.
20523 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20524 * sysdeps/tile/tilepro/strchr.c: Likewise.
20525 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20526 * sysdeps/tile/tilepro/strlen.c: Likewise.
20527 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20528 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20529 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20530 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20531 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20532 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20533 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20534 Likewise.
20535 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20536 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20537 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20538 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20539 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20540 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20541 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20542 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20543 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20544 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20545 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20546 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20547 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20548 tilepro mention in comment.
20549
20550 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20551 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20552 * nptl/pthread_join_common.c: New file: common function used on
20553 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20554 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20555 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20556 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20557 (cleanup): Move definition to pthread_join_common.c.
20558 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20559 Remove superflous checks.
20560 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20561 Likewise.
20562
20563 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20564
20565 * sysdeps/aarch64/libm-test-ulps: Update.
20566
20567 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20568
20569 * sysdeps/aarch64/memset.S (MEMSET): Define.
20570
20571 2017-12-20 Florian Weimer <fweimer@redhat.com>
20572
20573 [BZ #22635]
20574 nptl: Provide full implementation of pthread_self in libc.so.
20575 * nptl/Makefile (routines): Add pthread_self.
20576 (libpthread-routines): Replace pthread_self with
20577 compat-pthread_self.
20578 * nptl/forward.c (pthread_self): Remove.
20579 * nptl/nptl-init.c (pthread_functions): Do not initialize
20580 ptr_pthread_self.
20581 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20582 * nptl/compat-pthread_self.c: New file.
20583 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20584 Remove ptr_pthread_self.
20585
20586 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20587
20588 * posix/regcomp.c: Fix spelling in comments.
20589 * posix/regex.h: Likewise.
20590 * posix/regex_internal.c: Likewise.
20591 * posix/regexec.c: Likewise.
20592
20593 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20594
20595 [BZ #22377]
20596 * math/Makefile [C++] (tests): Add test for iseqsig.
20597 * math/math.h [C++] (iseqsig): New implementation, which does
20598 not rely on __MATH_TG/__builtin_types_compatible_p.
20599 * math/test-math-iseqsig.cc: New file.
20600 * sysdeps/powerpc/powerpc64le/Makefile
20601 (CFLAGS-test-math-iseqsig.cc): New variable.
20602
20603 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20604
20605 * elf/dl-load.c (is_trusted_path): Remove.
20606 (fillin_rpath): Remove check_trusted argument and its use,
20607 all callers changed.
20608
20609 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20610
20611 [BZ #22630]
20612 * Makeconfig (link-pie-before-libc): Replace -pie with
20613 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20614 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20615 (tst-dlopen-aout-no-pie): New.
20616 (LDFLAGS-tst-prelink): Removed.
20617 (tst-prelink-no-pie): New.
20618 (LDFLAGS-tst-main1): Removed.
20619 (tst-main1-no-pie): New.
20620 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20621 (tst-gmon-no-pie): New.
20622
20623 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20624
20625 * manual/install.texi: Document that --enable-static-pie
20626 implies PIE.
20627 * INSTALL: Regenerated.
20628
20629 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20630
20631 [BZ #21309]
20632 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20633 unsigned.
20634
20635 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20636
20637 Revert:
20638
20639 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20640
20641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20642
20643 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20644
20645 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20646 <errno.h>. Include "eexp.tbl".
20647 (half): New constant.
20648 (one): Likewise.
20649 (__ieee754_exp): Rewrite.
20650 (__slowexp): Remove prototype.
20651 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20652 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20653 * sysdeps/i386/fpu/slowexp.c: Likewise.
20654 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20655 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20656 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20657 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20658 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20659 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20660 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20661 comment.
20662 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20663 (CPPFLAGS-slowexp.c): Remove variable.
20664 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20665 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20666 (CFLAGS-slowexp-fma.c): Remove variable.
20667 (CFLAGS-slowexp-fma4.c): Likewise.
20668 (CFLAGS-slowexp-avx.c): Likewise.
20669 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20670 define as macro.
20671 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20672 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20673 * math/Makefile (type-double-routines): Remove slowexp.
20674 * manual/probes.texi (slowexp_p6): Remove.
20675 (slowexp_p32): Likewise.
20676
20677 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20678
20679 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20680 arithmetic.
20681
20682 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20683
20684 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20685
20686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20687
20688 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20689
20690 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20691 <errno.h>. Include "eexp.tbl".
20692 (half): New constant.
20693 (one): Likewise.
20694 (__ieee754_exp): Rewrite.
20695 (__slowexp): Remove prototype.
20696 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20697 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20698 * sysdeps/i386/fpu/slowexp.c: Likewise.
20699 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20700 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20701 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20702 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20703 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20704 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20705 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20706 comment.
20707 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20708 (CPPFLAGS-slowexp.c): Remove variable.
20709 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20710 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20711 (CFLAGS-slowexp-fma.c): Remove variable.
20712 (CFLAGS-slowexp-fma4.c): Likewise.
20713 (CFLAGS-slowexp-avx.c): Likewise.
20714 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20715 define as macro.
20716 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20717 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20718 * math/Makefile (type-double-routines): Remove slowexp.
20719 * manual/probes.texi (slowexp_p6): Remove.
20720 (slowexp_p32): Likewise.
20721
20722 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20723 James Clarke <jrtc27@jrtc27.com>
20724
20725 [BZ #22603]
20726 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20727 addition.
20728
20729 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20730
20731 [BZ #22605]
20732 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20733 code.
20734
20735 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20736
20737 [BZ #22563]
20738 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20739 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20740 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20741 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20742 to feature_1.
20743
20744 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20745
20746 [BZ #22563]
20747 * bits/types/__cancel_jmp_buf_tag.h: New file.
20748 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20749 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20750 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20751 * nptl/Makefile (headers): Add
20752 bits/types/__cancel_jmp_buf_tag.h.
20753 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20754 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20755 * sysdeps/nptl/pthread.h: Include
20756 <bits/types/__cancel_jmp_buf_tag.h>.
20757 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20758 __cancel_jmp_buf.
20759 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20760
20761 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20762
20763 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20764 --enable-static-pie variants to x86_64, x32 and i686.
20765
20766 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20767
20768 [BZ #22631]
20769 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20770 argument for attrubutes. All callers changed.
20771 (__inline_mathop1): Likewise. All callers changed.
20772 (__inline_mathop): Likewise. All callers changed.
20773 [__USE_MISC] (scalbn): Use __inline_forward instead of
20774 __inline_forward_c.
20775 [__USE_ISOC99] (scalbln): Likewise.
20776 [__USE_ISOC99] (nearbyint): Likewise.
20777 [__USE_ISOC99] (lrint): Likewise.
20778 [__USE_MISC] (scalbnf): Likewise.
20779 [__USE_ISOC99] (scalblnf): Likewise.
20780 [__USE_ISOC99] (nearbyintf): Likewise.
20781 [__USE_ISOC99] (lrintf): Likewise.
20782 [__USE_MISC] (scalbnl): Likewise.
20783 [__USE_ISOC99] (scalblnl): Likewise.
20784 [__USE_ISOC99] (nearbyintl): Likewise.
20785 [__USE_ISOC99] (lrintl): Likewise.
20786 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20787 __inline_mathop and __m81_defun changed.
20788
20789 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20790 CPU or FPU for ARM hard-float configurations.
20791
20792 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20793
20794 * nptl/tst-attr3.c: Include <libc-diag.h>.
20795 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20796
20797 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20798
20799 * string/tester.c (test_strncat): Also disable -Warray-bounds
20800 warnings for two tests.
20801
20802 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20803
20804 [BZ #22614]
20805 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20806 $(cc-pie-default) == yes.
20807 * config.make.in (cc-pie-default): New.
20808 * configure.ac (libc_cv_pie_default): Renamed to ...
20809 (libc_cv_cc_pie_default): This.
20810 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20811 * configure: Regenerated.
20812
20813 2017-12-18 Florian Weimer <fweimer@redhat.com>
20814
20815 [BZ #20204]
20816 ld.so: Harden dl-libc/libdl hooks.
20817 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20818 (rtld_active): New function.
20819 * dlfcn/dladdr.c (__dladdr): Call it.
20820 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20821 * dlfcn/dlclose.c (__dlcose): Likewise.
20822 * dlfcn/dlerror.c (__dlerror): Likewise.
20823 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20824 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20825 * dlfcn/dlopen.c (__dlopen): Likewise.
20826 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20827 * dlfcn/dlsym.c (__dlsym): Likewise.
20828 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20829 * libio/vtables.c (_IO_vtable_check): Likewise.
20830 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20831 (__libc_dlclose): Likewise.
20832 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20833 assignment.
20834
20835 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20836
20837 [BZ #22446]
20838 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20839 buffers for readlink input and output.
20840
20841 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20842
20843 [BZ #22624]
20844 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20845 inhibit_stack_protector.
20846
20847 [BZ #22624]
20848 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20849 inhibit_stack_protector.
20850
20851 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20852
20853 [BZ #22627]
20854 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20855 code and invocation.
20856
20857 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20858
20859 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20860
20861 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20862
20863 [BZ #22505]
20864 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20865
20866 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20867
20868 * sysdeps/s390/fpu/libm-test-ulps: Update.
20869
20870 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20871
20872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20873
20874 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20875
20876 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20877 constants to s_sincosf.h file.
20878 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20879 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20880 implementation.
20881 * sysdeps/ieee754/flt-32/s_sincosf.h:
20882 New file.
20883
20884 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20885
20886 [BZ #14681]
20887 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20888 before mtrace.
20889
20890 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20891
20892 [BZ #19574]
20893 * INSTALL: Regenerated.
20894 * Makeconfig (real-static-start-installed-name): New.
20895 (pic-default): Updated for --enable-static-pie.
20896 (pie-default): New for --enable-static-pie.
20897 (default-pie-ldflag): Likewise.
20898 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20899 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20900 Replace $(static-start-installed-name) with
20901 $(real-static-start-installed-name).
20902 (+prectorT): Updated for --enable-static-pie.
20903 (+postctorT): Likewise.
20904 (CFLAGS-.o): Add $(pie-default).
20905 (CFLAGS-.op): Likewise.
20906 * NEWS: Mention --enable-static-pie.
20907 * config.h.in (ENABLE_STATIC_PIE): New.
20908 * configure.ac (--enable-static-pie): New configure option.
20909 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20910 (have-static-pie): Likewise.
20911 Enable static PIE if linker supports --no-dynamic-linker.
20912 (ENABLE_STATIC_PIE): New AC_DEFINE.
20913 (enable-static-pie): New LIBC_CONFIG_VAR.
20914 * configure: Regenerated.
20915 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20916 gr$(start-installed-name) for --enable-static-pie.
20917 (extra-objs): Likewise.
20918 (install-lib): Likewise.
20919 (extra-objs): Add static-reloc.o and static-reloc.os
20920 ($(objpfx)$(start-installed-name)): Also depend on
20921 $(objpfx)static-reloc.o.
20922 ($(objpfx)r$(start-installed-name)): New.
20923 ($(objpfx)g$(start-installed-name)): Also depend on
20924 $(objpfx)static-reloc.os.
20925 ($(objpfx)gr$(start-installed-name)): New.
20926 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20927 in libc.a.
20928 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20929 initimage.
20930 * csu/static-reloc.c: New file.
20931 * elf/Makefile (routines): Add dl-reloc-static-pie.
20932 (elide-routines.os): Likewise.
20933 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20934 (tst-tls1-static-non-pie-no-pie): New.
20935 * elf/dl-reloc-static-pie.c: New file.
20936 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20937 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20938 STATIC_PIE_BOOTSTRAP.
20939 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20940 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20941 (tests-static): Likewise.
20942 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20943 (tst-gmon-static-no-pie): New.
20944 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20945 (CRT-tst-gmon-static-pie): Likewise.
20946 (tst-gmon-static-pie-ENV): Likewise.
20947 (tests-special): Likewise.
20948 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20949 (clean-tst-gmon-static-pie-data): Likewise.
20950 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20951 * gmon/tst-gmon-static-pie.c: New file.
20952 * manual/install.texi: Document --enable-static-pie.
20953 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20954 (_dl_get_dl_main_map): Likewise.
20955 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20956 * sysdeps/x86_64/configure.ac: Likewise.
20957 * sysdeps/i386/configure: Regenerated.
20958 * sysdeps/x86_64/configure: Likewise.
20959 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20960 (ASFLAGS-.op): Likewise.
20961
20962 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20963
20964 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20965 * posix/tst-mmap-offset.c (fname): Use /tmp.
20966 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20967
20968 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20969
20970 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20971
20972 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20973
20974 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20975 errno.
20976
20977 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20978
20979 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20980 --with-float=hard for arm-linux-gnueabihf configurations.
20981
20982 [BZ #14121]
20983 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20984 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20985 ($(mo-installed)): Use $(objpfx)%.mo.
20986 (realclean): Remove rule.
20987
20988 * po/Makefile (linguas): Remove rule and dependencies.
20989 (linguas.mo): Likewise.
20990 (.PHONY): Do not depend on linguas and linguas.mo.
20991 (podir): Remove variable.
20992 (pofiles): Likewise.
20993 [$(pofiles)] (%.po): Remove rule.
20994
20995 * sysdeps/sparc/sparc32/Makefile
20996 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20997 start-of-line whitespace in argument of echo.
20998 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20999 with whitespace. Generate __wrap_.udiv alias.
21000 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21001 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21002 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21003 * sysdeps/sparc/sparc32/urem.S: Likewise.
21004
21005 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21006
21007 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21008 for aligned inputs.
21009
21010 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21011
21012 * benchtests/bench-strcmp.c: Print output in JSON format.
21013
21014 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21015
21016 2017-12-14 Florian Weimer <fweimer@redhat.com>
21017
21018 [BZ #22607]
21019 CVE-2017-1000409
21020 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21021 the expanded path string.
21022
21023 2017-12-14 Florian Weimer <fweimer@redhat.com>
21024
21025 [BZ #22606]
21026 CVE-2017-1000408
21027 * elf/dl-load.c (system_dirs): Update comment.
21028 (nsystem_dirs_len): Use array_length.
21029 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21030
21031 2017-12-14 Florian Weimer <fweimer@redhat.com>
21032
21033 Simplify compiling most of support/ outside of glibc.
21034 * support/check_addrinfo.c: Include <string.h>.
21035 * support/check_dns_packet.c: Likewise.
21036 * support/check_hostent.c: Likewise.
21037 * support/support_can_chroot.c: Include <support/xunistd.h>.
21038 * support/support_format_addrinfo.c: Include <stdlib.h>
21039 * support/support_format_dns_packet.c: Include <stdbool.h>.
21040 * support/support_format_hostent.c: Include <stdlib.h>.
21041 * support/support_format_netent.c: Likewise.
21042 * support/support_write_string.c: Include <support/xunistd.h>.
21043 * support/xdlfcn.c: Include <stddef.h>.
21044
21045 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21046
21047 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21048
21049 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21050 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21051
21052 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21053 (sysdeps_routines): Add memset-niagara7.
21054 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21055 Likewise.
21056 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21057 file.
21058 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21059 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21060 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21061 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21062 Add niagara7 option.
21063 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21064 memset.
21065
21066 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21067 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21068 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21069 Likewise.
21070 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21071 New file.
21072 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21073 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21074 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21075 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21076 and __memmove_niagara7.
21077 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21078 Add niagara7 option.
21079 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21080 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21081 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21082 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21083 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21084
21085 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21086
21087 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21088 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21089 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21090 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21091
21092 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21093 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21094 _dl_sparc_cap_flags array.
21095 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21096
21097 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21098
21099 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21100 time whenever possible.
21101
21102 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21103
21104 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21105 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21106
21107 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21108
21109 * soft-fp/fmadf4.c: Move to ....
21110 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21111 * soft-fp/fmasf4.c: Move to ....
21112 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21113 * soft-fp/fmatf4.c: Move to ....
21114 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21115 * sysdeps/ieee754/soft-fp/Makefile: New file.
21116 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21117 * sysdeps/arm/preconfigure: Regenerated.
21118 * sysdeps/arm/nofpu/Implies: New file.
21119 * sysdeps/arm/s_fma.c: Remove file.
21120 * sysdeps/arm/s_fmaf.c: Likewise.
21121 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21122 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21123 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21124 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21125 * sysdeps/microblaze/s_fma.c: Remove file.
21126 * sysdeps/microblaze/s_fmaf.c: Likewise.
21127 * sysdeps/mips/mips32/nofpu/Implies: New file.
21128 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21129 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21130 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21131 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21132 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21133 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21134 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21135 implementation.
21136 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21137 * sysdeps/nios2/s_fma.c: Remove file.
21138 * sysdeps/nios2/s_fmaf.c: Likewise.
21139 * sysdeps/sh/nofpu/Implies: New file.
21140 * sysdeps/sh/s_fma.c: Remove file.
21141 * sysdeps/sh/s_fmaf.c: Likewise.
21142 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21143 * sysdeps/tile/s_fma.c: Remove file.
21144 * sysdeps/tile/s_fmaf.c: Likewise.
21145
21146 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21147
21148 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21149 Add s_cosf-sse2 and s_cosf-fma.
21150 (CFLAGS-s_cosf-fma.c): New.
21151 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21152 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21153 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21154
21155 2017-12-12 Steve Ellcey <sellcey@cavium.com>
21156
21157 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21158
21159 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21160
21161 * libio/Makefile (tests): Add tst-bz22415.
21162 (tst-bz22415-ENV): New rule.
21163 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21164 (tests-special): Add tst-bz22415-mem.out.
21165 ($(objpfx)tst-bz22415-mem.out): New rule.
21166 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21167 in case of a successful seek operation.
21168 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21169 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21170 buffer is required.
21171 * libio/tst-bz22415.c: New test.
21172
21173 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21174
21175 2017-12-12 James Clarke <jrtc27@jrtc27.com>
21176
21177 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21178 __IPC_64 to 0 to avoid IPC_64 being set.
21179
21180 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21181
21182 [BZ #22593]
21183 * math/bits/mathcalls.h (nextafter): Remove const.
21184 (nexttoward): Likewise.
21185
21186 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21187
21188 * configure.ac (--with-fp): Remove configure option.
21189 (with_fp_cond): New variable.
21190 (libc_cv_with_fp): New configure test. Use this variable instead
21191 of with_fp.
21192 * configure: Regenerated.
21193 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21194 * manual/install.texi (Configuring and compiling): Remove
21195 --without-fp.
21196 * INSTALL: Regenerated.
21197 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21198 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21199 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21200 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21201 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21202 use --without-fp to configure glibc.
21203
21204 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
21205
21206 * manual/locale.texi (nl_langinfo): Fix a typo.
21207
21208 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
21209
21210 [BZ #22588]
21211 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21212
21213 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21214
21215 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21216 (CFLAGS-argp-parse.c): Likewise.
21217 (CFLAGS-argp-fmtstream.c): Likewise.
21218 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21219 (CPPFLAGS-sha512-crypt.c): Likewise.
21220 (CPPFLAGS-md5-crypt.c): Likewise.
21221 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21222 (CFLAGS-stack_chk_fail_local.c): Likewise.
21223 (CFLAGS-backtrace.c): Likewise.
21224 (CFLAGS-sprintf_chk.c): Likewise.
21225 (CFLAGS-snprintf_chk.c): Likewise.
21226 (CFLAGS-vsprintf_chk.c): Likewise.
21227 (CFLAGS-vsnprintf_chk.c): Likewise.
21228 (CFLAGS-asprintf_chk.c): Likewise.
21229 (CFLAGS-vasprintf_chk.c): Likewise.
21230 (CFLAGS-obprintf_chk.c): Likewise.
21231 (CFLAGS-dprintf_chk.c): Likewise.
21232 (CFLAGS-vdprintf_chk.c): Likewise.
21233 (CFLAGS-printf_chk.c): Likewise.
21234 (CFLAGS-fprintf_chk.c): Likewise.
21235 (CFLAGS-vprintf_chk.c): Likewise.
21236 (CFLAGS-vfprintf_chk.c): Likewise.
21237 (CFLAGS-gets_chk.c): Likewise.
21238 (CFLAGS-fgets_chk.c): Likewise.
21239 (CFLAGS-fgets_u_chk.c): Likewise.
21240 (CFLAGS-fread_chk.c): Likewise.
21241 (CFLAGS-fread_u_chk.c): Likewise.
21242 (CFLAGS-swprintf_chk.c): Likewise.
21243 (CFLAGS-vswprintf_chk.c): Likewise.
21244 (CFLAGS-wprintf_chk.c): Likewise.
21245 (CFLAGS-fwprintf_chk.c): Likewise.
21246 (CFLAGS-vwprintf_chk.c): Likewise.
21247 (CFLAGS-vfwprintf_chk.c): Likewise.
21248 (CFLAGS-fgetws_chk.c): Likewise.
21249 (CFLAGS-fgetws_u_chk.c): Likewise.
21250 (CFLAGS-read_chk.c): Likewise.
21251 (CFLAGS-pread_chk.c): Likewise.
21252 (CFLAGS-pread64_chk.c): Likewise.
21253 (CFLAGS-recv_chk.c): Likewise.
21254 (CFLAGS-recvfrom_chk.c): Likewise.
21255 (CFLAGS-tst-longjmp_chk.c): Likewise.
21256 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21257 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21258 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21259 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21260 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21261 (CFLAGS-tst-chk1.c): Likewise.
21262 (CFLAGS-tst-chk2.c): Likewise.
21263 (CFLAGS-tst-chk3.c): Likewise.
21264 (CFLAGS-tst-chk4.cc): Likewise.
21265 (CFLAGS-tst-chk5.cc): Likewise.
21266 (CFLAGS-tst-chk6.cc): Likewise.
21267 (CFLAGS-tst-lfschk1.c): Likewise.
21268 (CFLAGS-tst-lfschk2.c): Likewise.
21269 (CFLAGS-tst-lfschk3.c): Likewise.
21270 (CFLAGS-tst-lfschk4.cc): Likewise.
21271 (CFLAGS-tst-lfschk5.cc): Likewise.
21272 (CFLAGS-tst-lfschk6.cc): Likewise.
21273 (CFLAGS-tst-ssp-1.c): Likewise.
21274 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21275 (CFLAGS-scandir64.c): Likewise.
21276 (CFLAGS-scandir-tail.c): Likewise.
21277 (CFLAGS-scandir64-tail.c): Likewise.
21278 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21279 (CFLAGS-dl-tunables.c): Likewise.
21280 (CFLAGS-dl-runtime.c): Likewise.
21281 (CFLAGS-dl-lookup.c): Likewise.
21282 (CFLAGS-dl-iterate-phdr.c): Likewise.
21283 (CFLAGS-vismain.c): Likewise.
21284 (CFLAGS-tst-linkall-static.c): Likewise.
21285 (CFLAGS-tst-linkall-static.c): Likewise.
21286 (CPPFLAGS-dl-load.c): Likewise.
21287 (CFLAGS-ldconfig.c): Likewise.
21288 (CFLAGS-dl-cache.c): Likewise.
21289 (CFLAGS-cache.c): Likewise.
21290 (CFLAGS-rtld.c): Likewise.
21291 (CFLAGS-multiload.c): Likewise.
21292 (CFLAGS-filtmod1.c): Likewise.
21293 (CFLAGS-tst-align.c): Likewise.
21294 (CFLAGS-tst-align2.c): Likewise.
21295 (CFLAGS-tst-alignmod.c): Likewise.
21296 (CFLAGS-tst-alignmod2.c): Likewise.
21297 (CPPFLAGS-tst-execstack.c): Likewise.
21298 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21299 (CFLAGS-tst-latepthreadmod.c): Likewise.
21300 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21301 (CFLAGS-getgrnam_r.c): Likewise.
21302 (CFLAGS-getgrent_r.c): Likewise.
21303 (CFLAGS-getgrent.c): Likewise.
21304 (CFLAGS-fgetgrent.c): Likewise.
21305 (CFLAGS-fgetgrent_r.c): Likewise.
21306 (CFLAGS-putgrent.c): Likewise.
21307 (CFLAGS-initgroups.c): Likewise.
21308 (CFLAGS-getgrgid.c): Likewise.
21309 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21310 (CFLAGS-getsgent.c): Likewise.
21311 (CFLAGS-fgetsgent.c): Likewise.
21312 (CFLAGS-fgetsgent_r.c): Likewise.
21313 (CFLAGS-putsgent.c): Likewise.
21314 (CFLAGS-getsgnam.c): Likewise.
21315 (CFLAGS-getsgnam_r.c): Likewise.
21316 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21317 (CFLAGS-iconv_charmap.c): Likewise.
21318 (CFLAGS-dummy-repertoire.c): Likewise.
21319 (CFLAGS-charmap.c): Likewise.
21320 (CFLAGS-linereader.c): Likewise.
21321 (CFLAGS-simple-hash.c): Likewise.
21322 (CFLAGS-gconv_conf.c): Likewise.
21323 (CFLAGS-iconvconfig.c): Likewise.
21324 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21325 (CFLAGS-gethstbyad.c): Likewise.
21326 (CFLAGS-gethstbynm_r.c): Likewise.
21327 (CFLAGS-gethstbynm.c): Likewise.
21328 (CFLAGS-gethstbynm2_r.c): Likewise.
21329 (CFLAGS-gethstbynm2.c): Likewise.
21330 (CFLAGS-gethstent_r.c): Likewise.
21331 (CFLAGS-gethstent.c): Likewise.
21332 (CFLAGS-rcmd.c): Likewise.
21333 (CFLAGS-getnetbynm_r.c): Likewise.
21334 (CFLAGS-getnetbynm.c): Likewise.
21335 (CFLAGS-getnetbyad_r.c): Likewise.
21336 (CFLAGS-getnetbyad.c): Likewise.
21337 (CFLAGS-getnetent_r.c): Likewise.
21338 (CFLAGS-getnetent.c): Likewise.
21339 (CFLAGS-getaliasent_r.c): Likewise.
21340 (CFLAGS-getaliasent.c): Likewise.
21341 (CFLAGS-getrpcent_r.c): Likewise.
21342 (CFLAGS-getrpcent.c): Likewise.
21343 (CFLAGS-getservent_r.c): Likewise.
21344 (CFLAGS-getservent.c): Likewise.
21345 (CFLAGS-getprtent_r.c): Likewise.
21346 (CFLAGS-getprtent.c): Likewise.
21347 (CFLAGS-either_ntoh.c): Likewise.
21348 (CFLAGS-either_hton.c): Likewise.
21349 (CFLAGS-getnetgrent.c): Likewise.
21350 (CFLAGS-getnetgrent_r.c): Likewise.
21351 (CFLAGS-tst-checks-posix.c): Likewise.
21352 (CFLAGS-tst-sockaddr.c): Likewise.
21353 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21354 (CFLAGS-tst-translit.c): Likewise.
21355 (CFLAGS-tst-gettext2.c): Likewise.
21356 (CFLAGS-tst-codeset.c): Likewise.
21357 (CFLAGS-tst-gettext3.c): Likewise.
21358 (CFLAGS-tst-gettext4.c): Likewise.
21359 (CFLAGS-tst-gettext5.c): Likewise.
21360 (CFLAGS-tst-gettext6.c): Likewise.
21361 * io/Makefile (CFLAGS-open.c): Likewise.
21362 (CFLAGS-open64.c): Likewise.
21363 (CFLAGS-creat.c): Likewise.
21364 (CFLAGS-creat64.c): Likewise.
21365 (CFLAGS-fcntl.c): Likewise.
21366 (CFLAGS-poll.c): Likewise.
21367 (CFLAGS-ppoll.c): Likewise.
21368 (CFLAGS-lockf.c): Likewise.
21369 (CFLAGS-statfs.c): Likewise.
21370 (CFLAGS-fstatfs.c): Likewise.
21371 (CFLAGS-statvfs.c): Likewise.
21372 (CFLAGS-fstatvfs.c): Likewise.
21373 (CFLAGS-fts.c): Likewise.
21374 (CFLAGS-fts64.c): Likewise.
21375 (CFLAGS-ftw.c): Likewise.
21376 (CFLAGS-ftw64.c): Likewise.
21377 (CFLAGS-lockf.c): Likewise.
21378 (CFLAGS-posix_fallocate.c): Likewise.
21379 (CFLAGS-posix_fallocate64.c): Likewise.
21380 (CFLAGS-fallocate.c): Likewise.
21381 (CFLAGS-fallocate64.c): Likewise.
21382 (CFLAGS-read.c): Likewise.
21383 (CFLAGS-write.c): Likewise.
21384 (CFLAGS-test-stat.c): Likewise.
21385 (CFLAGS-test-lfs.c): Likewise.
21386 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21387 (CFLAGS-fputc.c): Likewise.
21388 (CFLAGS-fputwc.c): Likewise.
21389 (CFLAGS-freopen64.c): Likewise.
21390 (CFLAGS-freopen.c): Likewise.
21391 (CFLAGS-fseek.c): Likewise.
21392 (CFLAGS-fseeko64.c): Likewise.
21393 (CFLAGS-fseeko.c): Likewise.
21394 (CFLAGS-ftello64.c): Likewise.
21395 (CFLAGS-ftello.c): Likewise.
21396 (CFLAGS-fwide.c): Likewise.
21397 (CFLAGS-genops.c): Likewise.
21398 (CFLAGS-getc.c): Likewise.
21399 (CFLAGS-getchar.c): Likewise.
21400 (CFLAGS-getwc.c): Likewise.
21401 (CFLAGS-getwchar.c): Likewise.
21402 (CFLAGS-iofclose.c): Likewise.
21403 (CFLAGS-iofflush.c): Likewise.
21404 (CFLAGS-iofgetpos64.c): Likewise.
21405 (CFLAGS-iofgetpos.c): Likewise.
21406 (CFLAGS-iofgets.c): Likewise.
21407 (CFLAGS-iofgetws.c): Likewise.
21408 (CFLAGS-iofputs.c): Likewise.
21409 (CFLAGS-iofputws.c): Likewise.
21410 (CFLAGS-iofread.c): Likewise.
21411 (CFLAGS-iofsetpos64.c): Likewise.
21412 (CFLAGS-iofsetpos.c): Likewise.
21413 (CFLAGS-ioftell.c): Likewise.
21414 (CFLAGS-iofwrite.c): Likewise.
21415 (CFLAGS-iogetdelim.c): Likewise.
21416 (CFLAGS-iogetline.c): Likewise.
21417 (CFLAGS-iogets.c): Likewise.
21418 (CFLAGS-iogetwline.c): Likewise.
21419 (CFLAGS-ioputs.c): Likewise.
21420 (CFLAGS-ioseekoff.c): Likewise.
21421 (CFLAGS-ioseekpos.c): Likewise.
21422 (CFLAGS-iosetbuffer.c): Likewise.
21423 (CFLAGS-iosetvbuf.c): Likewise.
21424 (CFLAGS-ioungetc.c): Likewise.
21425 (CFLAGS-ioungetwc.c): Likewise.
21426 (CFLAGS-oldfileops.c): Likewise.
21427 (CFLAGS-oldiofclose.c): Likewise.
21428 (CFLAGS-oldiofgetpos64.c): Likewise.
21429 (CFLAGS-oldiofgetpos.c): Likewise.
21430 (CFLAGS-oldiofsetpos64.c): Likewise.
21431 (CFLAGS-oldiofsetpos.c): Likewise.
21432 (CFLAGS-peekc.c): Likewise.
21433 (CFLAGS-putc.c): Likewise.
21434 (CFLAGS-putchar.c): Likewise.
21435 (CFLAGS-putwc.c): Likewise.
21436 (CFLAGS-putwchar.c): Likewise.
21437 (CFLAGS-rewind.c): Likewise.
21438 (CFLAGS-wfileops.c): Likewise.
21439 (CFLAGS-wgenops.c): Likewise.
21440 (CFLAGS-oldiofopen.c): Likewise.
21441 (CFLAGS-iofopen.c): Likewise.
21442 (CFLAGS-iofopen64.c): Likewise.
21443 (CFLAGS-oldtmpfile.c): Likewise.
21444 (CFLAGS-tst_putwc.c): Likewise.
21445 * locale/Makefile (CFLAGS-md5.c): Likewise.
21446 (CFLAGS-charmap.c): Likewise.
21447 (CFLAGS-locfile.c): Likewise.
21448 (CFLAGS-charmap-dir.c): Likewise.
21449 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21450 (CFLAGS-getpt.c): Likewise.
21451 (CFLAGS-pt_chown.c): Likewise.
21452 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21453 (CFLAGS-obstack.c): Likewise.
21454 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21455 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21456 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21457 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21458 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21459 (CFLAGS-test-tgmath.c): Likewise.
21460 (CFLAGS-test-tgmath2.c): Likewise.
21461 (CFLAGS-test-tgmath-ret.c): Likewise.
21462 (CFLAGS-test-powl.c): Likewise.
21463 (CFLAGS-test-snan.c): Likewise.
21464 (CFLAGS-test-signgam-finite.c): Likewise.
21465 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21466 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21467 (CFLAGS-test-signgam-uchar.c): Likewise.
21468 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21469 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21470 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21471 (CFLAGS-test-signgam-uint.c): Likewise.
21472 (CFLAGS-test-signgam-uint-init.c): Likewise.
21473 (CFLAGS-test-signgam-uint-static.c): Likewise.
21474 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21475 (CFLAGS-test-signgam-ullong.c): Likewise.
21476 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21477 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21478 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21479 (CFLAGS-test-math-cxx11.cc): Likewise.
21480 (CFLAGS-test-math-isinff.cc): Likewise.
21481 (CFLAGS-test-math-iszero.cc): Likewise.
21482 (CFLAGS-test-math-issignaling.cc): Likewise.
21483 (CFLAGS-test-math-iscanonical.cc): Likewise.
21484 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21485 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21486 (CFLAGS-test-flt-eval-method.c): Likewise.
21487 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21488 (CFLAGS-test-finite-macros.c): Likewise.
21489 * misc/Makefile (CFLAGS-select.c): Likewise.
21490 (CFLAGS-tsearch.c): Likewise.
21491 (CFLAGS-lsearch.c): Likewise.
21492 (CFLAGS-pselect.c): Likewise.
21493 (CFLAGS-readv.c): Likewise.
21494 (CFLAGS-writev.c): Likewise.
21495 (CFLAGS-preadv.c): Likewise.
21496 (CFLAGS-preadv64.c): Likewise.
21497 (CFLAGS-pwritev.c): Likewise.
21498 (CFLAGS-pwritev64.c): Likewise.
21499 (CFLAGS-preadv2.c): Likewise.
21500 (CFLAGS-preadv64v2.c): Likewise.
21501 (CFLAGS-pwritev2.c): Likewise.
21502 (CFLAGS-pwritev64v2.c): Likewise.
21503 (CFLAGS-usleep.c): Likewise.
21504 (CFLAGS-syslog.c): Likewise.
21505 (CFLAGS-error.c): Likewise.
21506 (CFLAGS-getpass.c): Likewise.
21507 (CFLAGS-mkstemp.c): Likewise.
21508 (CFLAGS-mkstemp64.c): Likewise.
21509 (CFLAGS-getsysstats.c): Likewise.
21510 (CFLAGS-getusershell.c): Likewise.
21511 (CFLAGS-err.c): Likewise.
21512 (CFLAGS-tst-tsearch.c): Likewise.
21513 (CFLAGS-msync.c): Likewise.
21514 (CFLAGS-fdatasync.c): Likewise.
21515 (CFLAGS-fsync.c): Likewise.
21516 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21517 (CFLAGS-unwind.c): Likewise.
21518 (CFLAGS-unwind-forcedunwind.c): Likewise.
21519 (CFLAGS-pthread_cancel.c): Likewise.
21520 (CFLAGS-pthread_setcancelstate.c): Likewise.
21521 (CFLAGS-pthread_setcanceltype.c): Likewise.
21522 (CFLAGS-cancellation.c): Likewise.
21523 (CFLAGS-libc-cancellation.c): Likewise.
21524 (CFLAGS-pthread_exit.c): Likewise.
21525 (CFLAGS-forward.c): Likewise.
21526 (CFLAGS-pthread_testcancel.c): Likewise.
21527 (CFLAGS-pthread_join.c): Likewise.
21528 (CFLAGS-pthread_timedjoin.c): Likewise.
21529 (CFLAGS-pthread_once.c): Likewise.
21530 (CFLAGS-pthread_cond_wait.c): Likewise.
21531 (CFLAGS-sem_wait.c): Likewise.
21532 (CFLAGS-sem_timedwait.c): Likewise.
21533 (CFLAGS-fcntl.c): Likewise.
21534 (CFLAGS-lockf.c): Likewise.
21535 (CFLAGS-pread.c): Likewise.
21536 (CFLAGS-pread64.c): Likewise.
21537 (CFLAGS-pwrite.c): Likewise.
21538 (CFLAGS-pwrite64.c): Likewise.
21539 (CFLAGS-wait.c): Likewise.
21540 (CFLAGS-waitpid.c): Likewise.
21541 (CFLAGS-sigwait.c): Likewise.
21542 (CFLAGS-msgrcv.c): Likewise.
21543 (CFLAGS-msgsnd.c): Likewise.
21544 (CFLAGS-tcdrain.c): Likewise.
21545 (CFLAGS-open.c): Likewise.
21546 (CFLAGS-open64.c): Likewise.
21547 (CFLAGS-pause.c): Likewise.
21548 (CFLAGS-recv.c): Likewise.
21549 (CFLAGS-send.c): Likewise.
21550 (CFLAGS-accept.c): Likewise.
21551 (CFLAGS-sendto.c): Likewise.
21552 (CFLAGS-connect.c): Likewise.
21553 (CFLAGS-recvfrom.c): Likewise.
21554 (CFLAGS-recvmsg.c): Likewise.
21555 (CFLAGS-sendmsg.c): Likewise.
21556 (CFLAGS-close.c): Likewise.
21557 (CFLAGS-read.c): Likewise.
21558 (CFLAGS-write.c): Likewise.
21559 (CFLAGS-nanosleep.c): Likewise.
21560 (CFLAGS-sigsuspend.c): Likewise.
21561 (CFLAGS-msync.c): Likewise.
21562 (CFLAGS-fdatasync.c): Likewise.
21563 (CFLAGS-fsync.c): Likewise.
21564 (CFLAGS-pt-system.c): Likewise.
21565 (CFLAGS-tst-cleanup2.c): Likewise.
21566 (CFLAGS-tst-cleanupx2.c): Likewise.
21567 (CFLAGS-flockfile.c): Likewise.
21568 (CFLAGS-ftrylockfile.c): Likewise.
21569 (CFLAGS-funlockfile.c): Likewise.
21570 (CFLAGS-tst-initializers1.c): Likewise.
21571 (CFLAGS-tst-initializers1-c89.c): Likewise.
21572 (CFLAGS-tst-initializers1-c99.c): Likewise.
21573 (CFLAGS-tst-initializers1-c11.c): Likewise.
21574 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21575 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21576 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21577 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21578 (CFLAGS-nscd_getgr_r.c): Likewise.
21579 (CFLAGS-nscd_gethst_r.c): Likewise.
21580 (CFLAGS-nscd_getai.c): Likewise.
21581 (CFLAGS-nscd_initgroups.c): Likewise.
21582 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21583 (CFLAGS-pause.c): Likewise.
21584 (CFLAGS-pread.c): Likewise.
21585 (CFLAGS-pread64.c): Likewise.
21586 (CFLAGS-pwrite.c): Likewise.
21587 (CFLAGS-pwrite64.c): Likewise.
21588 (CFLAGS-sleep.c): Likewise.
21589 (CFLAGS-wait.c): Likewise.
21590 (CFLAGS-waitid.c): Likewise.
21591 (CFLAGS-waitpid.c): Likewise.
21592 (CFLAGS-getopt.c): Likewise.
21593 (CFLAGS-wordexp.c): Likewise.
21594 (CFLAGS-sysconf.c): Likewise.
21595 (CFLAGS-pathconf.c): Likewise.
21596 (CFLAGS-fpathconf.c): Likewise.
21597 (CFLAGS-spawn.c): Likewise.
21598 (CFLAGS-spawnp.c): Likewise.
21599 (CFLAGS-spawni.c): Likewise.
21600 (CFLAGS-glob.c): Likewise.
21601 (CFLAGS-glob64.c): Likewise.
21602 (CFLAGS-getconf.c): Likewise.
21603 (CFLAGS-nanosleep.c): Likewise.
21604 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21605 (CFLAGS-getpwent.c): Likewise.
21606 (CFLAGS-getpw.c): Likewise.
21607 (CFLAGS-fgetpwent_r.c): Likewise.
21608 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21609 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21610 (CFLAGS-mq_timedreceive.c): Likewise.
21611 (CFLAGS-mq_timedsend.c): Likewise.
21612 (CFLAGS-clock_nanosleep.c): Likewise.
21613 (CFLAGS-librt-cancellation.c): Likewise.
21614 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21615 (CFLAGS-getspent.c): Likewise.
21616 (CFLAGS-fgetspent.c): Likewise.
21617 (CFLAGS-fgetspent_r.c): Likewise.
21618 (CFLAGS-putspent.c): Likewise.
21619 (CFLAGS-getspnam.c): Likewise.
21620 (CFLAGS-getspnam_r.c): Likewise.
21621 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21622 (CFLAGS-sigsuspend.c): Likewise.
21623 (CFLAGS-sigtimedwait.c): Likewise.
21624 (CFLAGS-sigwait.c): Likewise.
21625 (CFLAGS-sigwaitinfo.c): Likewise.
21626 (CFLAGS-sigreturn.c): Likewise.
21627 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21628 (CFLAGS-vfwprintf.c): Likewise.
21629 (CFLAGS-tmpfile.c): Likewise.
21630 (CFLAGS-tmpfile64.c): Likewise.
21631 (CFLAGS-tempname.c): Likewise.
21632 (CFLAGS-psignal.c): Likewise.
21633 (CFLAGS-vprintf.c): Likewise.
21634 (CFLAGS-cuserid.c): Likewise.
21635 (CFLAGS-errlist.c): Likewise.
21636 (CFLAGS-siglist.c): Likewise.
21637 (CFLAGS-scanf15.c): Likewise.
21638 (CFLAGS-scanf17.c): Likewise.
21639 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21640 (CFLAGS-msort.c): Likewise.
21641 (CFLAGS-qsort.c): Likewise.
21642 (CFLAGS-system.c): Likewise.
21643 (CFLAGS-fmtmsg.c): Likewise.
21644 (CFLAGS-strfmon.c): Likewise.
21645 (CFLAGS-strfmon_l.c): Likewise.
21646 (CFLAGS-strfromd.c): Likewise.
21647 (CFLAGS-strfromf.c): Likewise.
21648 (CFLAGS-strfroml.c): Likewise.
21649 (CFLAGS-tst-bsearch.c): Likewise.
21650 (CFLAGS-tst-qsort.c): Likewise.
21651 (CFLAGS-tst-makecontext2.c): Likewise.
21652 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21653 (CFLAGS-xnlm_prot.c): Likewise.
21654 (CFLAGS-xrstat.c): Likewise.
21655 (CFLAGS-xyppasswd.c): Likewise.
21656 (CFLAGS-xklm_prot.c): Likewise.
21657 (CFLAGS-xrex.c): Likewise.
21658 (CFLAGS-xsm_inter.c): Likewise.
21659 (CFLAGS-xmount.c): Likewise.
21660 (CFLAGS-xrusers.c): Likewise.
21661 (CFLAGS-xspray.c): Likewise.
21662 (CFLAGS-xnfs_prot.c): Likewise.
21663 (CFLAGS-xrquota.c): Likewise.
21664 (CFLAGS-xkey_prot.c): Likewise.
21665 (CFLAGS-auth_unix.c): Likewise.
21666 (CFLAGS-key_call.c): Likewise.
21667 (CFLAGS-pmap_rmt.c): Likewise.
21668 (CFLAGS-clnt_perr.c): Likewise.
21669 (CFLAGS-openchild.c): Likewise.
21670 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21671 (CFLAGS-msgsnd.c): Likewise.
21672 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21673 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21674 (CFLAGS-tzset.c): Likewise.
21675 (CFLAGS-getdate.c): Likewise.
21676 (CFLAGS-test_time.c): Likewise.
21677 (CPPFLAGS-tst-tzname.c): Likewise.
21678 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21679 (CFLAGS-zic.c): Likewise.
21680 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21681 (CFLAGS-wcswidth.c): Likewise.
21682 (CFLAGS-wcstol.c): Likewise.
21683 (CFLAGS-wcstoul.c): Likewise.
21684 (CFLAGS-wcstoll.c): Likewise.
21685 (CFLAGS-wcstoull.c): Likewise.
21686 (CFLAGS-wcstod.c): Likewise.
21687 (CFLAGS-wcstold.c): Likewise.
21688 (CFLAGS-wcstof128.c): Likewise.
21689 (CFLAGS-wcstof.c): Likewise.
21690 (CFLAGS-wcstol_l.c): Likewise.
21691 (CFLAGS-wcstoul_l.c): Likewise.
21692 (CFLAGS-wcstoll_l.c): Likewise.
21693 (CFLAGS-wcstoull_l.c): Likewise.
21694 (CFLAGS-wcstod_l.c): Likewise.
21695 (CFLAGS-wcstold_l.c): Likewise.
21696 (CFLAGS-wcstof128_l.c): Likewise.
21697 (CFLAGS-wcstof_l.c): Likewise.
21698 (CPPFLAGS-tst-wchar-h.c): Likewise.
21699 (CPPFLAGS-wcstold_l.c): Likewise.
21700
21701 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
21702
21703 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21704
21705 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21706 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21707
21708 * manual/tunables.texi (Hardware Capability Tunables): Document
21709 glibc.tune.cached_memopt.
21710 * sysdeps/powerpc/cpu-features.c: New file.
21711 * sysdeps/powerpc/cpu-features.h: New file.
21712 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21713 _dl_powerpc_cpu_features.
21714 * sysdeps/powerpc/dl-tunables.list: New file.
21715 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21716 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21717 (INIT_ARCH): Initialize use_aligned_memopt.
21718 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21719 IS_IN(rtld))]: Restrict dl_platform_init availability and
21720 initialize CPU features used by tunables.
21721 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21722 Add memcpy-power8-cached.
21723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21724 __memcpy_power8_cached.
21725 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21726 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21727 New file.
21728
21729 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21730
21731 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21732 (CFLAGS-noinl-tester.c): Likewise.
21733 (CFLAGS-tst-strlen.c): Likewise.
21734 (CFLAGS-stratcliff.c): Likewise.
21735 (CFLAGS-test-ffs.c): Likewise.
21736 (CFLAGS-tst-inlcall.c): Likewise.
21737 (CFLAGS-tst-xbzero-opt.c): Likewise.
21738 (CFLAGS-memcpy.c): Likewise.
21739 (CFLAGS-wordcopy.c): Likewise.
21740
21741 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21742
21743 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21744 Store r15 on stack and add cfi rule.
21745 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21746 Likewise.
21747
21748 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
21749
21750 [BZ #22577]
21751 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21752 call.
21753
21754 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21755
21756 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21757 Add s_sinf-sse2 and s_sinf-fma.
21758 (CFLAGS-s_sinf-fma.c): New.
21759 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21760 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21761 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21762
21763 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21764
21765 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21766
21767 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21768
21769 [BZ #22568]
21770 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21771 part of result to imaginary part of argument if it is zero and the
21772 real part of the argument is not finite.
21773 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21774 of result to real part of argument if it is zero and the imaginary
21775 part of the argument is not finite.
21776
21777 2017-12-07 Mike FABIAN <mfabian@redhat.com>
21778
21779 [BZ #22524]
21780 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21781 and to the list of locales to be built for testing.
21782 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21783 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21784 and build the collation rules upon that.
21785
21786 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21787
21788 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21789 * manual/math.texi (Mathematics): Document support for _Float32.
21790 * math/Makefile (test-types): Add float32.
21791 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21792 * stdlib/Versions (GLIBC_2.27): Likewise.
21793 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21794 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21795 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21796 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21797 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21798 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21799 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21800 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21801 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21802 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21803 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21804 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21805 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21806 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21807 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21808 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21809 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21810 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21811 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21812 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21813 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21814 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21815 Likewise.
21816 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21817 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21818 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21819 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21820 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21822 Likewise.
21823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21824 Likewise.
21825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21826 Likewise.
21827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21828 Likewise.
21829
21830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21831 Likewise.
21832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21833 Likewise.
21834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21835 Likewise.
21836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21837 Likewise.
21838 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21839 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21840 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21841 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21842 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21843 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21844 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21845 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21846 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21847 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21849 Likewise.
21850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21851 Likewise.
21852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21853 Likewise.
21854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21855 Likewise.
21856 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21857 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21858 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21859 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21860 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21861 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21862 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21863 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21864
21865 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21866
21867 * stdlib/strtof.c: Include <bits/floatn.h>
21868 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21869 and later undefine as macro. Define as weak alias if
21870 [!USE_WIDE_CHAR].
21871 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21872 and later undefine as macro. Define as weak alias if
21873 [USE_WIDE_CHAR].
21874 * stdlib/strtof_l.c: Include <bits/floatn.h>
21875 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21876 and later undefine as macro. Define as weak alias if
21877 [!USE_WIDE_CHAR].
21878 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21879 and later undefine as macro. Define as weak alias if
21880 [USE_WIDE_CHAR].
21881
21882 * stdlib/strfromf.c: Include <bits/floatn.h>.
21883 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21884 and later undefine as macro and define as weak alias.
21885
21886 * math/test-float32.h: New file.
21887
21888 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21889 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21890 (libm_alias_float_other_r): Create f32 alias.
21891 (libm_alias_float_r): Use semicolon before call to
21892 libm_alias_float_other_r.
21893
21894 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21895 second argument to libm_alias_float_other.
21896 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21897 second argument to libm_alias_float_other.
21898 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21899 argument to libm_alias_float_other.
21900
21901 [BZ #22561]
21902 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21903 real part of result for argument 0 + i * NaN.
21904 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21905 results for tests of 0 + i * NaN.
21906
21907 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21908
21909 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21910
21911 2017-12-06 David S. Miller <davem@davemloft.net>
21912
21913 * sysdeps/sparc/fpu/libm-test-ulps: Update
21914 exp_{downward,towardzero,upward} ulps.
21915
21916 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21917
21918 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21919 variables static.
21920
21921 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21922 (Y0_2D): Likewise.
21923 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21924 (Y0_2D): Likewise.
21925 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21926 (Y0_2D): Likewise.
21927 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21928 (Y0_2D): Likewise.
21929
21930 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21931
21932 [BZ #22515]
21933 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21934 and to the list of locales to be built for testing.
21935 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21936 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21937 and build the collation rules upon that.
21938
21939 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21940
21941 * NEWS: Add sinf to list of optimized functions.
21942
21943 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21944
21945 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21946 (__HAVE_FLOAT32X): Likewise.
21947 * manual/math.texi (Mathematics): Document support for _Float64
21948 and _Float32x.
21949 * math/Makefile (test-types): Add float64 and float32x.
21950 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21951 functions.
21952 * stdlib/Versions (GLIBC_2.27): Likewise.
21953 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21954 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21955 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21956 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21957 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21958 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21959 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21960 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21961 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21962 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21963 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21964 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21965 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21966 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21967 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21968 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21969 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21970 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21971 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21972 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21973 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21974 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21975 Likewise.
21976 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21977 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21978 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21979 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21980 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21982 Likewise.
21983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21984 Likewise.
21985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21986 Likewise.
21987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21988 Likewise.
21989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21990 Likewise.
21991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21992 Likewise.
21993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21994 Likewise.
21995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21996 Likewise.
21997 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21998 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21999 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22000 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22001 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22002 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22003 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22004 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22005 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22006 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22008 Likewise.
22009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22010 Likewise.
22011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22012 Likewise.
22013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22014 Likewise.
22015 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22016 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22017 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22018 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22019 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22020 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22021 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22022 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22023
22024 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22025
22026 * bits/floatn-common.h: Include <bits/long-double.h>.
22027 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22028 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22029 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22030 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22031 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22032 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22033 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22034 (__builtin_huge_valf64): Use __builtin_huge_vall.
22035 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22036 (__builtin_inff64): Use __builtin_infl.
22037 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22038 (__builtin_nanf64): Use __builtin_nanl.
22039 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22040 (__builtin_nansf64): Use __builtin_nansl.
22041
22042 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22043 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22044 Carlos O'Donnell <carlos@redhat.com>
22045
22046 * elf/dl-tunables.list: Add elision parameters.
22047 * manual/tunables.texi: Add entries about elision tunable.
22048 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22049 Add callback functions to dynamically enable/disable elision.
22050 Add multiple callbacks functions to set elision parameters.
22051 Deleted __libc_enable_secure check.
22052 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22053 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22054 * configure: Regenerated.
22055 * configure.ac: Option enable_lock_elision was deleted.
22056 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22057 * config.make.in: Remove references to enable_lock_elision.
22058 * manual/install.texi: Elision configure option was removed.
22059 * INSTALL: Regenerated to remove enable_lock_elision.
22060 * nptl/Makefile:
22061 Disable elision so it can verify error case for destroying a mutex.
22062 * sysdeps/powerpc/nptl/elide.h:
22063 Cleanup ENABLE_LOCK_ELISION check.
22064 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22065 * sysdeps/s390/configure: Regenerated.
22066 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22067 * nptl/tst-mutex8.c:
22068 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22069 * sysdeps/powerpc/powerpc32/sysdep.h:
22070 Deleted all ENABLE_LOCK_ELISION checks.
22071 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22072 * sysdeps/powerpc/sysdep.h: Likewise.
22073 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22074 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22075 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22076 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22077 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22078 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22079 enable-lock-elision.
22080
22081 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22082
22083 * stdlib/strtod.c: Include <bits/floatn.h>.
22084 (BUILD_DOUBLE): New macro.
22085 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22086 (strtof64): Define and later undefine as macro. Define as weak
22087 alias if [!USE_WIDE_CHAR].
22088 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22089 (wcstof64): Define and later undefine as macro. Define as weak
22090 alias if [USE_WIDE_CHAR].
22091 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22092 (strtof32x): Define and later undefine as macro. Define as weak
22093 alias if [!USE_WIDE_CHAR].
22094 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22095 (wcstof32x): Define and later undefine as macro. Define as weak
22096 alias if [USE_WIDE_CHAR].
22097 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22098 (BUILD_DOUBLE): New macro.
22099 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22100 (strtof64_l): Define and later undefine as macro. Define as weak
22101 alias if [!USE_WIDE_CHAR].
22102 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22103 (wcstof64_l): Define and later undefine as macro. Define as weak
22104 alias if [USE_WIDE_CHAR].
22105 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22106 (strtof32x_l): Define and later undefine as macro. Define as weak
22107 alias if [!USE_WIDE_CHAR].
22108 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22109 (wcstof32x_l): Define and later undefine as macro. Define as weak
22110 alias if [USE_WIDE_CHAR].
22111
22112 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22113
22114 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22115 (reduced): Use ones as double instead of integer.
22116
22117 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22118
22119 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22120
22121 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22122
22123 * stdlib/strfromd.c: Include <bits/floatn.h>.
22124 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22125 and later undefine as macro and define as weak alias.
22126 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22127 Likewise.
22128
22129 * math/test-float32x.h: New file.
22130 * math/test-float64.h: Likewise.
22131
22132 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22133 (libm_alias_double_other_r_f64): New macro.
22134 (libm_alias_double_other_r_f32x): Likewise.
22135 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22136 libm_alias_double_other_r_f32x.
22137 (libm_alias_double_r): Use semicolon before call to
22138 libm_alias_double_other_r.
22139 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22140 <bits/floatn.h>.
22141 (libm_alias_double_other_r_f64): New macro.
22142 (libm_alias_double_other_r_f32x): Likewise.
22143 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22144 libm_alias_double_other_r_f32x.
22145
22146 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22147
22148 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22149 int.
22150 (SINF_FUNC): Likewise. Replace floor with simple casts.
22151
22152 2017-12-05 Mike FABIAN <mfabian@redhat.com>
22153
22154 [BZ #22517]
22155 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22156 and to the list of locales to be built for testing.
22157 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22158 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22159 and build the collation rules upon that.
22160
22161 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22162
22163 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22164 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22165 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22166 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22167 instead of __insn__xxx.
22168 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22169 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22170 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22171 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22172 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22173 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22174
22175 2017-12-05 Florian Weimer <fweimer@redhat.com>
22176
22177 Linux: Implement interfaces for memory protection keys
22178 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22179 xsignal, xsysconf.
22180 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22181 * support/xunistd.h (xsysconf): Declare.
22182 * support/xraise.c: New file.
22183 * support/xsigaction.c: Likewise.
22184 * support/xsignal.c: Likewise.
22185 * support/xsysconf.c: Likewise.
22186 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22187 pkey_set, pkey_get, pkey_mprotect.
22188 [misc] (tests): Add tst-pkey.
22189 (tst-pkey): Link with -lpthread.
22190 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22191 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22192 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22193 (PKEY_DISABLE_WRITE): Define.
22194 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22195 Declare.
22196 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22197 (SEGV_PKUERR): Add.
22198 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22199 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22200 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22201 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22202 Add.
22203 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22204 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22205 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22206 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22207 * sysdeps/unix/sysv/linux/**.abilist: Update.
22208
22209 2017-12-05 Florian Weimer <fweimer@redhat.com>
22210
22211 * support/tst-test_compare.c (subprocess): Use long long instead
22212 of long argument for consistent type width across 32-bit and
22213 64-bit architectures.
22214 (do_test): Adjust expected output.
22215
22216 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22217
22218 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22219 (cosf): Define using libm_alias_float.
22220 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22221 (fabsf): Define using libm_alias_float.
22222 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22223 (fmaf): Define using libm_alias_float.
22224 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22225 (rintf): Define using libm_alias_float.
22226 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22227 (sinf): Define using libm_alias_float.
22228 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22229 <libm-alias-float.h>.
22230 (modff): Define using libm_alias_float.
22231 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22232 <libm-alias-float.h>.
22233 (logbf): Define using libm_alias_float.
22234 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22235 <libm-alias-float.h>.
22236 (ceilf): Define using libm_alias_float.
22237 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22238 <libm-alias-float.h>.
22239 (copysignf): Define using libm_alias_float.
22240 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22241 <libm-alias-float.h>.
22242 (floorf): Define using libm_alias_float.
22243 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22244 <libm-alias-float.h>.
22245 (llrintf): Define using libm_alias_float.
22246 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22247 <libm-alias-float.h>.
22248 (llroundf): Define using libm_alias_float.
22249 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22250 <libm-alias-float.h>.
22251 (lrintf): Define using libm_alias_float.
22252 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22253 <libm-alias-float.h>.
22254 (lroundf): Define using libm_alias_float.
22255 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22256 <libm-alias-float.h>.
22257 (nearbyintf): Define using libm_alias_float.
22258 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22259 <libm-alias-float.h>.
22260 (rintf): Define using libm_alias_float.
22261 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22262 <libm-alias-float.h>.
22263 (roundf): Define using libm_alias_float.
22264 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22265 <libm-alias-float.h>.
22266 (truncf): Define using libm_alias_float.
22267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22268 Include <libm-alias-float.h>.
22269 (ceilf): Define using libm_alias_float.
22270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22271 Include <libm-alias-float.h>.
22272 (copysignf): Define using libm_alias_float.
22273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22274 Include <libm-alias-float.h>.
22275 (floorf): Define using libm_alias_float.
22276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22277 Include <libm-alias-float.h>.
22278 (llrintf): Define using libm_alias_float.
22279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22280 Include <libm-alias-float.h>.
22281 (llroundf): Define using libm_alias_float.
22282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22283 Include <libm-alias-float.h>.
22284 (logbf): Define using libm_alias_float.
22285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22286 Include <libm-alias-float.h>.
22287 (lrintf): Define using libm_alias_float.
22288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22289 Include <libm-alias-float.h>.
22290 (lroundf): Define using libm_alias_float.
22291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22292 Include <libm-alias-float.h>.
22293 (modff): Define using libm_alias_float.
22294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22295 Include <libm-alias-float.h>.
22296 (roundf): Define using libm_alias_float.
22297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22298 Include <libm-alias-float.h>.
22299 (truncf): Define using libm_alias_float.
22300 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22301 <libm-alias-float.h>.
22302 (llrintf): Define using libm_alias_float.
22303 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22304 <libm-alias-float.h>.
22305 (llroundf): Define using libm_alias_float.
22306 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22307 <libm-alias-float.h>.
22308 (ceilf): Define using libm_alias_float.
22309 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22310 <libm-alias-float.h>.
22311 (floorf): Define using libm_alias_float.
22312 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22313 <libm-alias-float.h>.
22314 (llroundf): Define using libm_alias_float.
22315 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22316 <libm-alias-float.h>.
22317 (lroundf): Define using libm_alias_float.
22318 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22319 <libm-alias-float.h>.
22320 (roundf): Define using libm_alias_float.
22321 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22322 <libm-alias-float.h>.
22323 (truncf): Define using libm_alias_float.
22324 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22325 <libm-alias-float.h>.
22326 (copysignf): Define using libm_alias_float.
22327 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22328 <libm-alias-float.h>.
22329 (llrintf): Define using libm_alias_float.
22330 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22331 <libm-alias-float.h>.
22332 (llroundf): Define using libm_alias_float.
22333 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22334 <libm-alias-float.h>.
22335 (lrintf): Define using libm_alias_float.
22336 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22337 <libm-alias-float.h>.
22338 (lroundf): Define using libm_alias_float.
22339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22340 <libm-alias-float.h>.
22341 (ceilf): Define using libm_alias_float.
22342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22343 <libm-alias-float.h>.
22344 (copysignf): Define using libm_alias_float.
22345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22346 <libm-alias-float.h>.
22347 (cosf): Define using libm_alias_float.
22348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22349 <libm-alias-float.h>.
22350 (floorf): Define using libm_alias_float.
22351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22352 <libm-alias-float.h>.
22353 (llrintf): Define using libm_alias_float.
22354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22355 <libm-alias-float.h>.
22356 (llroundf): Define using libm_alias_float.
22357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22358 <libm-alias-float.h>.
22359 (logbf): Define using libm_alias_float.
22360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22361 <libm-alias-float.h>.
22362 (modff): Define using libm_alias_float.
22363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22364 <libm-alias-float.h>.
22365 (roundf): Define using libm_alias_float.
22366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22367 <libm-alias-float.h>.
22368 (sinf): Define using libm_alias_float.
22369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22370 <libm-alias-float.h>.
22371 (truncf): Define using libm_alias_float.
22372 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22373 <libm-alias-float.h>.
22374 (ceilf): Define using libm_alias_float.
22375 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22376 <libm-alias-float.h>.
22377 (copysignf): Define using libm_alias_float.
22378 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22379 <libm-alias-float.h>.
22380 (floorf): Define using libm_alias_float.
22381 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22382 <libm-alias-float.h>.
22383 (llrintf): Define using libm_alias_float.
22384 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22385 <libm-alias-float.h>.
22386 (llroundf): Define using libm_alias_float.
22387 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22388 <libm-alias-float.h>.
22389 (nearbyintf): Define using libm_alias_float.
22390 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22391 <libm-alias-float.h>.
22392 (rintf): Define using libm_alias_float.
22393 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22394 <libm-alias-float.h>.
22395 (roundf): Define using libm_alias_float.
22396 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22397 <libm-alias-float.h>.
22398 (truncf): Define using libm_alias_float.
22399 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22400 <libm-alias-float.h>.
22401 (ceilf): Define using libm_alias_float.
22402 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22403 <libm-alias-float.h>.
22404 (floorf): Define using libm_alias_float.
22405 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22406 <libm-alias-float.h>.
22407 (llroundf): Define using libm_alias_float.
22408 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22409 <libm-alias-float.h>.
22410 (roundf): Define using libm_alias_float.
22411 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22412 <libm-alias-float.h>.
22413 (truncf): Define using libm_alias_float.
22414 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22415 <libm-alias-float.h>.
22416 (copysignf): Define using libm_alias_float.
22417 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22418 <libm-alias-float.h>.
22419 (llrintf): Define using libm_alias_float.
22420 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22421 <libm-alias-float.h>.
22422 (llroundf): Define using libm_alias_float.
22423 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22424 <libm-alias-float.h>.
22425 (cosf): Define using libm_alias_float.
22426 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22427 <libm-alias-float.h>.
22428 (llrintf): Define using libm_alias_float.
22429 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22430 <libm-alias-float.h>.
22431 (llroundf): Define using libm_alias_float.
22432 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22433 <libm-alias-float.h>.
22434 (sinf): Define using libm_alias_float.
22435
22436 2017-12-04 Florian Weimer <fweimer@redhat.com>
22437
22438 * support/check.h (TEST_COMPARE): Define.
22439 (support_test_compare_failure): Declare.
22440 * support/Makefile (libsupport-routines): Add
22441 support_test_compare_failure.
22442 (tests): Add tst-test_compare.
22443 * support /support_test_compare_failure.c: New file.
22444 * support/tst-test_compare.c: Likewise.
22445
22446 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22447
22448 [BZ #22527]
22449 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22450 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22451 available, this rewrite of the collation rules does reproduce
22452 the test file in the same order.
22453
22454 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22455
22456 [BZ #10580]
22457 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22458 digraphs in the month and day names. Using single code points for
22459 digraphs is deprecated. While there are dedicated Unicode
22460 codepoints, for the digraphs, these are included for backwards
22461 compatibility and modern texts use a sequence of Basic Latin
22462 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22463 This makes the month and day names agree exactly with CLDR now,
22464 CLDR does not use the single code points for the digraphs either.
22465
22466 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22467
22468 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22469
22470 2017-12-04 Joseph Myers <joseph@codesourcery.com>
22471
22472 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22473 of floor.
22474
22475 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22476
22477 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22478 Define only for libc.so.
22479
22480 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22481
22482 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22483 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
22484 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
22485 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22486 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22487
22488 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22489
22490 [BZ #5997]
22491 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22492
22493 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
22494
22495 [BZ libc/19170]
22496 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22497 PREINIT_FUNCTION_WEAK is nonzero.
22498 (gmon_initializer): New function. Put procedure label for it in
22499 .init_array section.
22500 (_init): Don't call PREINIT_FUNCTION.
22501 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22502 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22503 value when map argument is null.
22504
22505 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22506 depi instruction from PIC pc-relative sequence.
22507 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22508 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22509 (elf_machine_load_address): Likewise.
22510 (elf_machine_runtime_setup): Likewise.
22511
22512 2017-12-02 Joseph Myers <joseph@codesourcery.com>
22513
22514 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22515 <libm-alias-double.h>.
22516 (logb): Define using libm_alias_double.
22517 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22518 <libm-alias-double.h>.
22519 (copysign): Define using libm_alias_double.
22520 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22521 <libm-alias-double.h>.
22522 (llrint): Define using libm_alias_double.
22523 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22524 <libm-alias-double.h>.
22525 (llround): Define using libm_alias_double.
22526 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22527 <libm-alias-double.h>.
22528 (lrint): Define using libm_alias_double.
22529 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22530 <libm-alias-double.h>.
22531 (lround): Define using libm_alias_double.
22532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22533 Include <libm-alias-double.h>.
22534 (copysign): Define using libm_alias_double.
22535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22536 Include <libm-alias-double.h>.
22537 (llrint): Define using libm_alias_double.
22538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22539 Include <libm-alias-double.h>.
22540 (llround): Define using libm_alias_double.
22541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22542 <libm-alias-double.h>.
22543 (logb): Define using libm_alias_double.
22544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22545 Include <libm-alias-double.h>.
22546 (lrint): Define using libm_alias_double.
22547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22548 Include <libm-alias-double.h>.
22549 (lround): Define using libm_alias_double.
22550 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22551 <libm-alias-double.h>.
22552 (llrint): Define using libm_alias_double.
22553 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22554 <libm-alias-double.h>.
22555 (llround): Define using libm_alias_double.
22556 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22557 <libm-alias-double.h>.
22558 (llround): Define using libm_alias_double.
22559 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22560 <libm-alias-double.h>.
22561 (lround): Define using libm_alias_double.
22562 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22563 <libm-alias-double.h>.
22564 (copysign): Define using libm_alias_double.
22565 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22566 <libm-alias-double.h>.
22567 (llrint): Define using libm_alias_double.
22568 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22569 <libm-alias-double.h>.
22570 (llround): Define using libm_alias_double.
22571 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22572 <libm-alias-double.h>.
22573 (lrint): Define using libm_alias_double.
22574 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22575 <libm-alias-double.h>.
22576 (lround): Define using libm_alias_double.
22577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22578 <libm-alias-double.h>.
22579 (copysign): Define using libm_alias_double.
22580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22581 <libm-alias-double.h>.
22582 (llrint): Define using libm_alias_double.
22583 (lrint): Likewise.
22584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22585 <libm-alias-double.h>.
22586 (llround): Define using libm_alias_double.
22587 (lround): Likewise.
22588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22589 <libm-alias-double.h>.
22590 (logb): Define using libm_alias_double.
22591 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22592 <libm-alias-double.h>.
22593 (copysign): Define using libm_alias_double.
22594 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22595 <libm-alias-double.h>.
22596 (llrint): Define using libm_alias_double.
22597 (lrint): Likewise.
22598 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22599 <libm-alias-double.h>.
22600 (llround): Define using libm_alias_double.
22601 (lround): Likewise.
22602 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22603 <libm-alias-double.h>.
22604 (llround): Define using libm_alias_double.
22605 (lround): Likewise.
22606 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22607 <libm-alias-double.h>.
22608 (copysign): Define using libm_alias_double.
22609 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22610 <libm-alias-double.h>.
22611 (llrint): Define using libm_alias_double.
22612 (lrint): Likewise.
22613 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22614 <libm-alias-double.h>.
22615 (llround): Define using libm_alias_double.
22616 (lround): Likewise.
22617 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22618 <libm-alias-double.h>.
22619 (llrint): Define using libm_alias_double.
22620 (lrint): Likewise.
22621 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22622 <libm-alias-double.h>.
22623 (llround): Define using libm_alias_double.
22624 (lround): Likewise.
22625
22626 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22627
22628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22629 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22630 compat symbol based on llround.
22631
22632 * sysdeps/powerpc/power7/fpu/s_logb.c
22633 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22634 symbol based on __logb, not on logb.
22635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22636 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22638 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22639
22640 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22641 (rint): Define using libm_alias_double.
22642 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22643 <libm-alias-double.h>.
22644 (modf): Define using libm_alias_double.
22645 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22646 <libm-alias-double.h>.
22647 (ceil): Define using libm_alias_double.
22648 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22649 <libm-alias-double.h>.
22650 (floor): Define using libm_alias_double.
22651 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22652 <libm-alias-double.h>.
22653 (nearbyint): Define using libm_alias_double.
22654 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22655 <libm-alias-double.h>.
22656 (rint): Define using libm_alias_double.
22657 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22658 <libm-alias-double.h>.
22659 (round): Define using libm_alias_double.
22660 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22661 <libm-alias-double.h>.
22662 (trunc): Define using libm_alias_double.
22663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22664 <libm-alias-double.h>.
22665 (ceil): Define using libm_alias_double.
22666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22667 Include <libm-alias-double.h>.
22668 (floor): Define using libm_alias_double.
22669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22670 <libm-alias-double.h>.
22671 (modf): Define using libm_alias_double.
22672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22673 Include <libm-alias-double.h>.
22674 (round): Define using libm_alias_double.
22675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22676 Include <libm-alias-double.h>.
22677 (trunc): Define using libm_alias_double.
22678 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22679 <libm-alias-double.h>.
22680 (ceil): Define using libm_alias_double.
22681 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22682 <libm-alias-double.h>.
22683 (floor): Define using libm_alias_double.
22684 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22685 <libm-alias-double.h>.
22686 (round): Define using libm_alias_double.
22687 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22688 <libm-alias-double.h>.
22689 (trunc): Define using libm_alias_double.
22690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22691 <libm-alias-double.h>.
22692 (ceil): Define using libm_alias_double.
22693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22694 <libm-alias-double.h>.
22695 (floor): Define using libm_alias_double.
22696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22697 <libm-alias-double.h>.
22698 (modf): Define using libm_alias_double.
22699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22700 <libm-alias-double.h>.
22701 (round): Define using libm_alias_double.
22702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22703 <libm-alias-double.h>.
22704 (trunc): Define using libm_alias_double.
22705 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22706 <libm-alias-double.h>.
22707 (ceil): Define using libm_alias_double.
22708 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22709 <libm-alias-double.h>.
22710 (floor): Define using libm_alias_double.
22711 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22712 <libm-alias-double.h>.
22713 (nearbyint): Define using libm_alias_double.
22714 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22715 <libm-alias-double.h>.
22716 (rint): Define using libm_alias_double.
22717 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22718 <libm-alias-double.h>.
22719 (round): Define using libm_alias_double.
22720 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22721 <libm-alias-double.h>.
22722 (trunc): Define using libm_alias_double.
22723 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22724 <libm-alias-double.h>.
22725 (ceil): Define using libm_alias_double.
22726 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22727 <libm-alias-double.h>.
22728 (floor): Define using libm_alias_double.
22729 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22730 <libm-alias-double.h>.
22731 (round): Define using libm_alias_double.
22732 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22733 <libm-alias-double.h>.
22734 (trunc): Define using libm_alias_double.
22735
22736 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22737 (fabs): Define using libm_alias_double.
22738 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22739 (fma): Define using libm_alias_double.
22740 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22741 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22742 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22743 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22744
22745 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22746
22747 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22748
22749 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22750 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22751 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22752
22753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22754 due redirect macro.
22755
22756 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22757
22758 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22759
22760 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22761
22762 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22763 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22764 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22765 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22766
22767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22768 (libm-sysdep_routines): Add s_nearbyintf-generic and
22769 s_nearbyint-generic.
22770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22771 New file.
22772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22774 Likewise.
22775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22776 Likewise.
22777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22778 file.
22779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22780 Likewise.
22781
22782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22783 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22785 file.
22786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22788 Likewise.
22789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22792
22793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22794 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22796 file.
22797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22799 Likewise.
22800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22803
22804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22805 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22807 file.
22808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22810 Likewise.
22811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22814
22815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22816 (sysdep_calls): New rule.
22817 (sysdep_routines): Use sysdep_calls as base.
22818 (libm-sysdep_routines): Add generic rule for symbols shared with
22819 libc. Add s_copysign-generic and s_copysign-generic objects.
22820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22821 New file.
22822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22824 Likewise.
22825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22828
22829 2017-12-01 Mike FABIAN <mfabian@redhat.com>
22830
22831 [BZ #22519]
22832 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22833 the list of locales to be built for testing.
22834 * localedata/is_IS.UTF-8.in: New file.
22835 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22836 on iso14651_t1.
22837
22838 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22839
22840 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22841 <libm-alias-float.h>.
22842 (fabsf): Define using libm_alias_float.
22843
22844 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22845
22846 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22847
22848 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22849
22850 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22851 <libm-alias-float.h>.
22852 (fabsf): Define using libm_alias_float.
22853 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22854 <libm-alias-float.h>.
22855 (lrintf): Define using libm_alias_float.
22856 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22857 <libm-alias-float.h>.
22858 (rintf): Define using libm_alias_float.
22859
22860 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22861 <libm-alias-double.h>.
22862 (fabs): Define using libm_alias_double.
22863 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22864 <libm-alias-double.h>.
22865 (lrint): Define using libm_alias_double.
22866 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22867 <libm-alias-double.h>.
22868 (rint): Define using libm_alias_double.
22869
22870 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22871 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22872 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22873 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22874 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22875 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22876 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22877 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22878 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22879 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22880 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22881 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22882 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22883 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22884 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22885 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22886 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22887 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22888 s_atan_template.c.
22889 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22890 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22891 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22892 s_ceil_template.c.
22893 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22894 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22895 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22896 s_cos_template.c.
22897 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22898 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22899 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22900 s_expm1_template.c.
22901 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22902 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22903 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22904 s_fabs_template.c.
22905 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22906 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22907 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22908 s_floor_template.c.
22909 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22910 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22911 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22912 s_frexp_template.c.
22913 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22914 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22915 s_lrint_template.c.
22916 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22917 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22918 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22919 s_modf_template.c.
22920 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22921 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22922 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22923 s_nearbyint_template.c.
22924 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22925 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22926 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22927 s_remquo_template.c.
22928 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22929 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22930 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22931 s_rint_template.c.
22932 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22933 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22934 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22935 s_sin_template.c.
22936 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22937 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22938 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22939 s_sincos_template.c.
22940 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22941 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22942 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22943 s_tan_template.c.
22944 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22945 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22946 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22947 s_tanh_template.c.
22948 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22949 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22950 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22951 s_trunc_template.c.
22952 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22953 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22954 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22955 s_atan.c instead of including s_atan.c.
22956 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22957 s_atanf.c instead of including s_atanf.c.
22958 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22959 s_atanl.c instead of including s_atanl.c.
22960 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22961 instead of s_atan.c.
22962 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22963 instead of s_atanf.c.
22964 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22965 instead of s_atanl.c.
22966
22967 * scripts/update-copyrights: Do not handle intl/plural.c
22968 specially.
22969
22970 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22971
22972 [BZ #22432]
22973 * configure.ac (BISON): Require to be present.
22974 * configure: Regenerated.
22975 * intl/Makefile (generated): Add plural.c.
22976 [$(BISON) != no]: Make code unconditional.
22977 (plural.c): Change rule to $(objpfx)plural.c.
22978 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22979 * intl/plural.c: Remove.
22980 * manual/install.texi (Tools for Compilation): Document bison as
22981 required.
22982 * INSTALL: Regenerated.
22983
22984 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22985
22986 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22987 <libm-alias-double.h>.
22988 (llrint): Define using libm_alias_double.
22989 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22990 <libm-alias-float.h>.
22991 (llrintf): Define using libm_alias_float.
22992 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22993 <libm-alias-ldouble.h>.
22994 (llrintl): Define using libm_alias_ldouble.
22995
22996 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22997 declare_mgen_alias instead of weak_alias.
22998 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22999 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23000 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23001
23002 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23003
23004 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23005 Add add_n-generic.
23006 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23007 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23008 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23009
23010 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23011 Add submul_1-generic.
23012 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23013 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23014 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23015
23016 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23017 Add addmul_1-generic.
23018 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23019 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23020 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23021
23022 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23023 Add sub_n-generic.
23024 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23025 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23026 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23027
23028 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23029 Add mul_1-generic.
23030 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23031 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23032 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23033
23034 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23035
23036 According to CLDR, collation rules for Serbian and Bosnian
23037 should be the same as for Croatian.
23038
23039 [BZ #22534]
23040 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23041 and to the list of locales to be built for testing.
23042 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23043 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23044 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23045 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23046
23047 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23048
23049 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23050 to make test case pass.
23051 * localedata/hr_HR.UTF-8.in: Add more test strings.
23052
23053 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23054
23055 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23056
23057 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23058
23059 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23060 the list of locales to built for testing.
23061 * localedata/hr_HR.UTF-8.in: New file.
23062
23063 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23064
23065 [BZ #10580]
23066 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23067 iso14651_t1.
23068 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23069 CLDR (except use ligatures for the digraphs, CLDR does not use
23070 the ligatures), add first_workday, some fixes in the date and time
23071 formats.
23072 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23073 for Đ and đ.
23074 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23075 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23076 Add int_p_cs_precedes and int_n_cs_precedes.
23077 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23078 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23079 LC_MONETARY now).
23080 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23081 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23082 name_miss.
23083 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23084 and lang_lib. Change postal_fmt.
23085
23086 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23087
23088 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23089 <setjmp.h>.
23090 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23091 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23092 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23093 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23094 * sysdeps/generic/setjmpP.h: New file.
23095 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23096 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23097 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23098 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23099 Add jmp_buf-ssp.sym.
23100 (tests): Add tst-saved_mask-1.
23101
23102 2017-11-30 Arjun Shankar <arjun@redhat.com>
23103
23104 [BZ #22375]
23105 CVE-2017-17426
23106 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23107 instead of request2size.
23108
23109 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23110
23111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23112 (__lllrint): Remove alias.
23113 (lllrint): Likewise.
23114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23115 (__lllrintf): Likewise.
23116 (lllrintf): Likewise.
23117
23118 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23119 <libm-alias-float.h>.
23120 (copysignf): Define using libm_alias_float.
23121 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23122 <libm-alias-float.h>.
23123 (fabsf): Define using libm_alias_float.
23124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23125 Include <libm-alias-float.h>.
23126 (copysignf): Define using libm_alias_float.
23127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23128 <libm-alias-float.h>.
23129 (fabsf): Define using libm_alias_float.
23130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23131 <libm-alias-float.h>.
23132 (fdimf): Define using libm_alias_float.
23133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23134 <libm-alias-float.h>.
23135 (fmaf): Define using libm_alias_float.
23136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23137 <libm-alias-float.h>.
23138 (llrintf): Define using libm_alias_float.
23139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23140 Include <libm-alias-float.h>.
23141 (nearbyintf): Define using libm_alias_float.
23142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23143 <libm-alias-float.h>.
23144 (rintf): Define using libm_alias_float.
23145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23146 <libm-alias-float.h>.
23147 (llrintf): Define using libm_alias_float.
23148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23149 <libm-alias-float.h>.
23150 (lrintf): Define using libm_alias_float.
23151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23152 <libm-alias-float.h>.
23153 (nearbyintf): Define using libm_alias_float.
23154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23155 <libm-alias-float.h>.
23156 (rintf): Define using libm_alias_float.
23157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23158 <libm-alias-float.h>.
23159 (ceilf): Define using libm_alias_float.
23160 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23161 <libm-alias-float.h>.
23162 (floorf): Define using libm_alias_float.
23163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23164 <libm-alias-float.h>.
23165 (fmaf): Define using libm_alias_float.
23166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23167 <libm-alias-float.h>.
23168 (lrintf): Define using libm_alias_float.
23169 (llrintf): Likewise.
23170 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23171 <libm-alias-float.h>.
23172 (nearbyintf): Define using libm_alias_float.
23173 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23174 <libm-alias-float.h>.
23175 (rintf): Define using libm_alias_float.
23176 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23177 <libm-alias-float.h>.
23178 (truncf): Define using libm_alias_float.
23179 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23180 <libm-alias-float.h>.
23181 (copysignf): Define using libm_alias_float.
23182 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23183 <libm-alias-float.h>.
23184 (fabsf): Define using libm_alias_float.
23185 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23186 <libm-alias-float.h>.
23187 (lrintf): Define using libm_alias_float.
23188 (llrintf): Likewise.
23189 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23190 <libm-alias-float.h>.
23191 (nearbyintf): Define using libm_alias_float.
23192 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23193 <libm-alias-float.h>.
23194 (rintf): Define using libm_alias_float.
23195
23196 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23197
23198 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23199 <libm-alias-double.h>.
23200 (copysign): Define using libm_alias_double.
23201 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23202 <libm-alias-double.h>.
23203 (fabs): Define using libm_alias_double.
23204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23205 Include <libm-alias-double.h>.
23206 (copysign): Define using libm_alias_double.
23207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23208 <libm-alias-double.h>.
23209 (fabs): Define using libm_alias_double.
23210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23211 <libm-alias-double.h>.
23212 (fdim): Define using libm_alias_double.
23213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23214 <libm-alias-double.h>.
23215 (fma): Define using libm_alias_double.
23216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23217 <libm-alias-double.h>.
23218 (llrint): Define using libm_alias_double.
23219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23220 Include <libm-alias-double.h>.
23221 (nearbyint): Define using libm_alias_double.
23222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23223 <libm-alias-double.h>.
23224 (rint): Define using libm_alias_double.
23225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23226 <libm-alias-double.h>.
23227 (fabs): Define using libm_alias_double.
23228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23229 <libm-alias-double.h>.
23230 (llrint): Define using libm_alias_double.
23231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23232 <libm-alias-double.h>.
23233 (nearbyint): Define using libm_alias_double.
23234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23235 <libm-alias-double.h>.
23236 (rint): Define using libm_alias_double.
23237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23238 <libm-alias-double.h>.
23239 (ceil): Define using libm_alias_double.
23240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23241 <libm-alias-double.h>.
23242 (floor): Define using libm_alias_double.
23243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23244 <libm-alias-double.h>.
23245 (fma): Define using libm_alias_double.
23246 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23247 <libm-alias-double.h>.
23248 (lrint): Define using libm_alias_double.
23249 (llrint): Likewise.
23250 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23251 <libm-alias-double.h>.
23252 (nearbyint): Define using libm_alias_double.
23253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23254 <libm-alias-double.h>.
23255 (rint): Define using libm_alias_double.
23256 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23257 <libm-alias-double.h>.
23258 (trunc): Define using libm_alias_double.
23259 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23260 <libm-alias-double.h>.
23261 (copysign): Define using libm_alias_double.
23262 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23263 <libm-alias-double.h>.
23264 (fabs): Define using libm_alias_double.
23265 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23266 <libm-alias-double.h>.
23267 (lrint): Define using libm_alias_double.
23268 (llrint): Likewise.
23269 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23270 <libm-alias-double.h>.
23271 (nearbyint): Define using libm_alias_double.
23272 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23273 <libm-alias-double.h>.
23274 (rint): Define using libm_alias_double.
23275
23276 [BZ #22229]
23277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23278 <math_ldbl_opt.h>.
23279 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23280
23281 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23282 SPARC --disable-multi-arch glibc variants.
23283
23284 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23285 <libm-alias-float.h>.
23286 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23287 if [SHARED].
23288 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23289 <libm-alias-float.h>.
23290 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23291 if [SHARED].
23292 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23293 <libm-alias-float.h>.
23294 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23295 if [SHARED].
23296 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23297 <libm-alias-float.h>.
23298 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23299 if [SHARED].
23300 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23301 <libm-alias-float.h>.
23302 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23303 if [SHARED].
23304 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23305 <libm-alias-float.h>.
23306 (ceilf): Define using libm_alias_float.
23307 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23308 <libm-alias-float.h>.
23309 (floorf): Define using libm_alias_float.
23310 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23311 <libm-alias-float.h>.
23312 (fmaf): Define using libm_alias_float.
23313 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23314 <libm-alias-float.h>.
23315 (nearbyintf): Define using libm_alias_float.
23316 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23317 <libm-alias-float.h>.
23318 (rintf): Define using libm_alias_float.
23319 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23320 <libm-alias-float.h>.
23321 (truncf): Define using libm_alias_float.
23322 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23323 (copysignf): Define using libm_alias_float.
23324 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23325 (cosf): Define using libm_alias_float.
23326 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23327 (fabsf): Define using libm_alias_float.
23328 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23329 (fmaxf): Define using libm_alias_float.
23330 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23331 (fminf): Define using libm_alias_float.
23332 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23333 (llrintf): Define using libm_alias_float.
23334 [!__ILP32__] (lrintf): Likewise.
23335 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23336 (sincosf): Define using libm_alias_float.
23337 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23338 (sinf): Define using libm_alias_float.
23339 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23340 (lrintf): Define using libm_alias_float.
23341
23342 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23343 <libm-alias-double.h>.
23344 (atan): Define using libm_alias_double.
23345 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23346 <libm-alias-double.h>.
23347 (ceil): Define using libm_alias_double.
23348 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23349 <libm-alias-double.h>.
23350 (floor): Define using libm_alias_double.
23351 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23352 <libm-alias-double.h>.
23353 (fma): Define using libm_alias_double.
23354 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23355 <libm-alias-double.h>.
23356 (nearbyint): Define using libm_alias_double.
23357 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23358 <libm-alias-double.h>.
23359 (rint): Define using libm_alias_double.
23360 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23361 <libm-alias-double.h>.
23362 (sin): Define using libm_alias_double.
23363 (cos): Likewise.
23364 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23365 <libm-alias-double.h>.
23366 (tan): Define using libm_alias_double.
23367 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23368 <libm-alias-double.h>.
23369 (trunc): Define using libm_alias_double.
23370 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23371 (copysign): Define using libm_alias_double.
23372 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23373 (fabs): Define using libm_alias_double.
23374 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23375 (fmax): Define using libm_alias_double.
23376 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23377 (fmin): Define using libm_alias_double.
23378 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23379 (llrint): Define using libm_alias_double.
23380 [!__ILP32__] (lrint): Likewise.
23381 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23382 (lrint): Define using libm_alias_double.
23383
23384 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23385
23386 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23387 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23388 objects.
23389 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23390 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23391 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23392 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23393 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23394 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23395
23396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23397 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23398 objects.
23399 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23400 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23401 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23402 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23403 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23404 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23405
23406 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23407 (libm-sysdep_routines): Add s_nearbyint-generic and
23408 s_nearbyintf-generic objects.
23409 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23410 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23411 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23412 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23413 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23414 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23415
23416 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23417 Add s_finitef-generic and s_finite-generic objects.
23418 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23419 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23420 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23421 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23422 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23423 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23424
23425 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23426 Add s_isinff-generic and s_isinf-generic objects.
23427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23433
23434 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23435 Add s_isnanf-generic and s_isnan-generic objects.
23436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23442
23443 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23444 macro.
23445 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23446 rule.
23447 (sysdep_routines): Use sysdep_calls as base.
23448 (libm-sysdep_routines): Add generic rule for symbols shared with
23449 libc. Add s_signbit-generic and s_signbitf-generic objects.
23450 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23451 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23456
23457 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23458
23459 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23460 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23461 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23462 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23463 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23464 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23465 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23466 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23467 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23468 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23469 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23470 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23471 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23472 libm_alias_float_r.
23473 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23474 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23475 (logf): Likewise.
23476 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23477 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23478 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23479 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23480 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23481 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23482 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23483 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23484 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23485 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23486 libm_alias_float.
23487 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23488 (cosf): Likewise.
23489 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23490 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23491 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23492 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23493 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23494 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23495 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23496 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23497 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23498 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23499 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23500 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23501 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23502 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23503 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23504 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23505 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23506 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23507 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23508 libm_alias_float.
23509 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23510 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23511 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23512 * sysdeps/ia64/fpu/w_lgammaf_main.c
23513 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23514 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23515
23516 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23517 Alexandre Oliva <aoliva@redhat.com>
23518
23519 [BZ #17750]
23520 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23521 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23522 accents sorting.
23523 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23524 sorting.
23525 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23526 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23527 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23528 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23529 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23530 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23531 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23532 instead of “ifdef DIACRIT_BACKWARD”.
23533
23534 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23535
23536 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23537 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23538 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23539 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23540 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23541 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23548 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23549 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23550 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23551 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23552 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23553 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23555 ($(have-as-vis3) == yes): Remove conditional.
23556 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23557 Likewise.
23558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23559 file.
23560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23561 file.
23562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23563 file.
23564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23565 file.
23566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23572 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23573 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23574
23575 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23576
23577 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23578 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23579 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23580 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23581 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23582 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23583 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23584 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23585 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23586 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23587 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23588 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23589 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23590 libm_alias_double_r.
23591 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23592 (log): Likewise.
23593 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23594 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23595 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23596 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23597 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23598 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23599 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23600 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23601 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23602 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23603 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23604 libm_alias_double.
23605 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23606 (cos): Likewise.
23607 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23608 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23609 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23610 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23611 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23612 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23613 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23614 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23615 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23616 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23617 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23618 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23619 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23620 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23621 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23622 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23623 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23624 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23625 libm_alias_double.
23626 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23627 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23628 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23629 * sysdeps/ia64/fpu/w_lgamma_main.c
23630 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23631 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23632
23633 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
23634
23635 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23636 address of $global$ into %dp register earlier. Use pc-relative
23637 instruction sequence for PIC case.
23638
23639 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23640
23641 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23642 (asinhf): Define using libm_alias_float.
23643 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23644 (atanf): Define using libm_alias_float.
23645 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23646 (cbrtf): Define using libm_alias_float.
23647 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23648 (ceilf): Define using libm_alias_float.
23649 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23650 (copysignf): Define using libm_alias_float.
23651 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23652 (expm1f): Define using libm_alias_float.
23653 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23654 (fabsf): Define using libm_alias_float.
23655 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23656 (floorf): Define using libm_alias_float.
23657 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23658 (fmaxf): Define using libm_alias_float.
23659 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23660 (fminf): Define using libm_alias_float.
23661 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23662 (frexpf): Define using libm_alias_float.
23663 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23664 (llrintf): Define using libm_alias_float.
23665 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23666 (logbf): Define using libm_alias_float.
23667 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23668 (lrintf): Define using libm_alias_float.
23669 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23670 (nearbyintf): Define using libm_alias_float.
23671 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23672 (remquof): Define using libm_alias_float.
23673 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23674 (rintf): Define using libm_alias_float.
23675 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23676 (truncf): Define using libm_alias_float.
23677 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23678 <libm-alias-float.h>.
23679 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23680 if [SHARED].
23681 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23682 <libm-alias-float.h>.
23683 (expf): Define using libm_alias_float, or libm_alias_float_other
23684 if [SHARED].
23685 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23686 <libm-alias-float.h>.
23687 (log2f): Define using libm_alias_float, or libm_alias_float_other
23688 if [SHARED].
23689 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23690 <libm-alias-float.h>.
23691 (logf): Define using libm_alias_float, or libm_alias_float_other
23692 if [SHARED].
23693 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23694 <libm-alias-float.h>.
23695 (powf): Define using libm_alias_float, or libm_alias_float_other
23696 if [SHARED].
23697 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23698 <libm-alias-float.h>.
23699 (cosf): Define using libm_alias_float.
23700 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23701 <libm-alias-float.h>.
23702 (sincosf): Define using libm_alias_float.
23703 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23704 <libm-alias-float.h>.
23705 (sinf): Define using libm_alias_float.
23706 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23707 (fmaxf): Define using libm_alias_float.
23708 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23709 (fminf): Define using libm_alias_float.
23710 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23711 <libm-alias-float.h>.
23712 (fmaf): Define using libm_alias_float.
23713
23714 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23715 (asinh): Define using libm_alias_double.
23716 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23717 (atan): Define using libm_alias_double.
23718 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23719 (cbrt): Define using libm_alias_double.
23720 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23721 (ceil): Define using libm_alias_double.
23722 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23723 (copysign): Define using libm_alias_double.
23724 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23725 (expm1): Define using libm_alias_double.
23726 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23727 (fabs): Define using libm_alias_double.
23728 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23729 (fdim): Define using libm_alias_double.
23730 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23731 (floor): Define using libm_alias_double.
23732 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23733 (fmax): Define using libm_alias_double.
23734 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23735 (fmin): Define using libm_alias_double.
23736 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23737 (frexp): Define using libm_alias_double.
23738 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23739 (llrint): Define using libm_alias_double.
23740 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23741 (logb): Define using libm_alias_double.
23742 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23743 (lrint): Define using libm_alias_double.
23744 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23745 (nearbyint): Define using libm_alias_double.
23746 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23747 (remquo): Define using libm_alias_double.
23748 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23749 (rint): Define using libm_alias_double.
23750 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23751 (trunc): Define using libm_alias_double.
23752 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23753 (fmax): Define using libm_alias_double.
23754 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23755 (fmin): Define using libm_alias_double.
23756 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23757 (fma): Define using libm_alias_double.
23758
23759 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23760
23761 [BZ #22370]
23762 * elf/dl-hwcaps.c (ROUND): Removed.
23763 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23764 and ELF_NOTE_NEXT_OFFSET.
23765 * elf/dl-load.c (ROUND): Removed.
23766 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23767 * elf/readelflib.c (ROUND): Removed.
23768 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23769 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23770 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23771 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23772
23773 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23774
23775 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23776 [!__fmaf] (fmaf): Define using libm_alias_float.
23777
23778 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23779 [!__fma] (fma): Define using libm_alias_double.
23780 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23781
23782 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23783
23784 [BZ #22336]
23785 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23786 and implement the collation rules for cs from CLDR on top of that.
23787 * Makefile: Add cs_CZ.UTF-8 to test-input.
23788 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23789
23790 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23791
23792 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23793
23794 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23795 Icarus Sparry <icarus.w.sparry@intel.com>
23796
23797 * benchtests/Makefile:Add BENCHSET to allow subsets of
23798 benchmarks to be run.
23799 * benchtests/README: Add documentation for: Running subsets of
23800 benchmarks.
23801
23802 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23803
23804 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23805 range of tests names.
23806
23807 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23808 result from property and remove "max", min" and "mean" from
23809 required properties based on benchtests/bench-skeleton.c.
23810
23811 2017-11-28 Florian Weimer <fweimer@redhat.com>
23812
23813 [BZ #20826]
23814 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23815 due to Internet requirement.
23816 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23817 tst-getaddrinfo5.
23818 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23819
23820 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23821
23822 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23823 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23824 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23825 (sysdep_routines): Add memset-ultra1.
23826 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23827 file.
23828 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23829 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23830 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23831 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23832 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23833 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23834 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23835 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23836
23837 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23838 file.
23839 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23840 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23841 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23842 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23843 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23844 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23845 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23846 macro.
23847 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23848 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23849 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23850 (sysdep_routines): Add memcpy-ultra1.
23851 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23852 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23853
23854 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23855
23856 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23857 (cfloat_versions): Take function argument without trailing 'f'.
23858 Call libm_alias_float_other.
23859 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23860 * sysdeps/alpha/fpu/cargf.c: Likewise.
23861 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23862 * sysdeps/alpha/fpu/conjf.c: Likewise.
23863 * sysdeps/alpha/fpu/crealf.c: Likewise.
23864 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23865 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23866 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23867 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23868 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23869 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23870 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23871 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23872 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23873 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23874 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23875 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23876 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23877 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23878 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23879 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23880 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23881 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23882 (clog10f): Use libm_alias_float_other.
23883 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23884 (ceilf): Define using libm_alias_float.
23885 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23886 (copysignf): Define using libm_alias_float.
23887 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23888 (fabsf): Define using libm_alias_float.
23889 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23890 (floorf): Define using libm_alias_float.
23891 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23892 (fmaxf): Define using libm_alias_float.
23893 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23894 (fminf): Define using libm_alias_float.
23895 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23896 (lrintf): Define using libm_alias_float.
23897 (llrintf): Likewise.
23898 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23899 (lroundf): Define using libm_alias_float.
23900 (llroundf): Likewise.
23901 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23902 (rintf): Define using libm_alias_float.
23903 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23904 (truncf): Define using libm_alias_float.
23905
23906 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23907 (ceilf): Define using libm_alias_float.
23908 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23909 (floorf): Define using libm_alias_float.
23910 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23911 (fmaf): Define using libm_alias_float.
23912 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23913 (fmaxf): Define using libm_alias_float.
23914 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23915 (fminf): Define using libm_alias_float.
23916 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23917 (llrintf): Define using libm_alias_float.
23918 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23919 (llroundf): Define using libm_alias_float.
23920 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23921 (lrintf): Define using libm_alias_float.
23922 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23923 (lroundf): Define using libm_alias_float.
23924 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23925 <libm-alias-float.h>.
23926 (nearbyintf): Define using libm_alias_float.
23927 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23928 (rintf): Define using libm_alias_float.
23929 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23930 (roundf): Define using libm_alias_float.
23931 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23932 (truncf): Define using libm_alias_float.
23933
23934 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23935 (ceil): Define using libm_alias_double.
23936 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23937 (copysign): Define using libm_alias_double.
23938 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23939 (fabs): Define using libm_alias_double.
23940 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23941 (floor): Define using libm_alias_double.
23942 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23943 (fmax): Define using libm_alias_double.
23944 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23945 (fmin): Define using libm_alias_double.
23946 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23947 (lrint): Define using libm_alias_double.
23948 (llrint): Likewise.
23949 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23950 (lround): Define using libm_alias_double.
23951 (llround): Likewise.
23952 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23953 (rint): Define using libm_alias_double.
23954 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23955 (trunc): Define using libm_alias_double.
23956
23957 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23958 (libm_alias_double_r): Add semicolon after weak_alias call.
23959
23960 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23961
23962 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23963 (ceil): Define using libm_alias_double.
23964 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23965 (floor): Define using libm_alias_double.
23966 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23967 (fma): Define using libm_alias_double.
23968 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23969 (fmax): Define using libm_alias_double.
23970 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23971 (fmin): Define using libm_alias_double.
23972 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23973 (llrint): Define using libm_alias_double.
23974 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23975 (llround): Define using libm_alias_double.
23976 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23977 (lrint): Define using libm_alias_double.
23978 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23979 (lround): Define using libm_alias_double.
23980 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23981 (nearbyint): Define using libm_alias_double.
23982 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23983 (rint): Define using libm_alias_double.
23984 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23985 (round): Define using libm_alias_double.
23986 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23987 (trunc): Define using libm_alias_double.
23988
23989 2017-11-27 Florian Weimer <fweimer@redhat.com>
23990
23991 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23992 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23993 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23994 (tests): Add tst-mlock2.
23995 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23996 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23997 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23998 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23999 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24000 for mlock. Document mlock2.
24001
24002 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24003
24004 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24005 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24006 Likewise.
24007 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24008 Likewise.
24009 * sysdeps/x86/Makeconfig: New file.
24010 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24011 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24012 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24013 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24014 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24015 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24016 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24017 Likewise.
24018 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24019 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24020 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24021 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24022 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24023 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24024 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24025 * manual/math.texi (Mathematics): Document support for _Float64x.
24026 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24027 * stdlib/Versions (GLIBC_2.27): Likewise.
24028 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24029 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24030 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24031 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24032 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24033 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24034 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24035 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24036 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24037 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24038 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24039 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24041 Likewise.
24042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24043 Likewise.
24044 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24045 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24046 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24047 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24048 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24049 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24050 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24051 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24052 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24053 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24054 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24055 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24056 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24057 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24058
24059 2017-11-27 Andreas Schwab <schwab@suse.de>
24060
24061 * elf/Makefile (dl-routines): Add dl-sort-maps.
24062 * elf/dl-sort-maps.c: New file.
24063 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24064 (_dl_sort_maps): Declare.
24065 * elf/dl-fini.c (_dl_sort_fini): Remove.
24066 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24067 * elf/dl-close.c (_dl_close_worker): Likewise.
24068 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24069 open-coding it.
24070 * elf/dl-open.c (dl_open_worker): Likewise.
24071
24072 2017-11-24 Joseph Myers <joseph@codesourcery.com>
24073
24074 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24075 using libm_alias_float128.
24076 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24077 Likewise.
24078 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24079 Likewise.
24080 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24081 (setpayloadsigf128): Likewise.
24082 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24083 Likewise.
24084 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24085 Likewise.
24086
24087 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24088 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24089 -mfloat128 to CFLAGS.
24090 ($(foreach
24091 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24092 Likewise.
24093 (CFLAGS-libm-test-support-float64x.c): New variable.
24094 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24095 $(f128-loader-link) to gnulib-tests.
24096
24097 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24098 (libm_alias_float128_other_r): If
24099 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24100 alias.
24101 (libm_alias_float128_r): Add semicolon after weak_alias call.
24102 * sysdeps/generic/libm-alias-ldouble.h
24103 (libm_alias_ldouble_other_r_f128): New macro.
24104 (libm_alias_ldouble_other_r_f64x): Likewise.
24105 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24106 and libm_alias_ldouble_other_r_f64x.
24107 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24108 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24109 (libm_alias_ldouble_other_r_f128): New macro.
24110 (libm_alias_ldouble_other_r_f64x): Likewise.
24111 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24112 and libm_alias_ldouble_other_r_f64x.
24113
24114 * stdlib/strfroml.c: Always include <stdlib.h>.
24115 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24116 undefine as macro and define as weak alias.
24117 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24118 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24119 <stdlib.h>.
24120 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24121 Define and later undefine as macro and define as weak alias.
24122
24123 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24124 Define and later undefine as macro. Define as weak alias if
24125 [!USE_WIDE_CHAR].
24126 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24127 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24128 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24129 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24130 Define and later undefine as macro. Define as weak alias if
24131 [!USE_WIDE_CHAR].
24132 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24133 Define and later undefine as macro. Define as weak alias if
24134 [USE_WIDE_CHAR].
24135 * sysdeps/ieee754/float128/strtof128_l.c
24136 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24137 Define and later undefine as macro. Define as weak alias if
24138 [!USE_WIDE_CHAR].
24139 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24140 Define and later undefine as macro. Define as weak alias if
24141 [USE_WIDE_CHAR].
24142 * sysdeps/ieee754/ldbl-128/strtold_l.c
24143 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24144 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24145 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24146 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24147 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24148 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24149 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24150 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24151 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24152 * sysdeps/ieee754/ldbl-96/strtold_l.c
24153 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24154 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24155 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24156 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24157
24158 * math/test-float64x.h: New file.
24159 * math/Makefile (type-float64x-yes): New variable.
24160 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24161
24162 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24163 function-like macro.
24164 (min_of_type_): Likewise.
24165 (min_of_type_l): Likewise.
24166 (min_of_type_f128): Likewise.
24167 (min_of_type): Pass () as last argument of __MATH_TG.
24168
24169 * stdlib/tst-strtod-round-skeleton.c
24170 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24171 headers.
24172
24173 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24174 for combinations of long double with _Float64 and _Float64x.
24175
24176 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24177 (__DECL_SIMD_cosf32): Likewise.
24178 (__DECL_SIMD_cosf64): Likewise.
24179 (__DECL_SIMD_cosf32x): Likewise.
24180 (__DECL_SIMD_cosf64x): Likewise.
24181 (__DECL_SIMD_cosf128x): Likewise.
24182 (__DECL_SIMD_sinf16): Likewise.
24183 (__DECL_SIMD_sinf32): Likewise.
24184 (__DECL_SIMD_sinf64): Likewise.
24185 (__DECL_SIMD_sinf32x): Likewise.
24186 (__DECL_SIMD_sinf64x): Likewise.
24187 (__DECL_SIMD_sinf128x): Likewise.
24188 (__DECL_SIMD_sincosf16): Likewise.
24189 (__DECL_SIMD_sincosf32): Likewise.
24190 (__DECL_SIMD_sincosf64): Likewise.
24191 (__DECL_SIMD_sincosf32x): Likewise.
24192 (__DECL_SIMD_sincosf64x): Likewise.
24193 (__DECL_SIMD_sincosf128x): Likewise.
24194 (__DECL_SIMD_logf16): Likewise.
24195 (__DECL_SIMD_logf32): Likewise.
24196 (__DECL_SIMD_logf64): Likewise.
24197 (__DECL_SIMD_logf32x): Likewise.
24198 (__DECL_SIMD_logf64x): Likewise.
24199 (__DECL_SIMD_logf128x): Likewise.
24200 (__DECL_SIMD_expf16): Likewise.
24201 (__DECL_SIMD_expf32): Likewise.
24202 (__DECL_SIMD_expf64): Likewise.
24203 (__DECL_SIMD_expf32x): Likewise.
24204 (__DECL_SIMD_expf64x): Likewise.
24205 (__DECL_SIMD_expf128x): Likewise.
24206 (__DECL_SIMD_powf16): Likewise.
24207 (__DECL_SIMD_powf32): Likewise.
24208 (__DECL_SIMD_powf64): Likewise.
24209 (__DECL_SIMD_powf32x): Likewise.
24210 (__DECL_SIMD_powf64x): Likewise.
24211 (__DECL_SIMD_powf128x): Likewise.
24212
24213 * stdlib/Versions (libc): Move entries for wcstof128 and
24214 wcstof128_l to ....
24215 * wcsmbs/Versions (libc): ... here.
24216 Include <float128-abi.h>.
24217
24218 2017-11-24 Florian Weimer <fweimer@redhat.com>
24219
24220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24221 bits/mman-shared.h.
24222 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24223 <bits/mman-shared.h>.
24224 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24225 to ...
24226 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24227 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24228 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24229 <bits/mman-shared.h>.
24230
24231 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24232
24233 [BZ #22457]
24234 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24235 posix_memalign/free.
24236 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24237
24238 2017-11-22 Mike FABIAN <mfabian@redhat.com>
24239
24240 [BZ #22469]
24241 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24242 and implement the collation rules for pl from CLDR on top of that.
24243 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24244 of locales to be built for testing.
24245 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24246
24247 2017-11-23 Joseph Myers <joseph@codesourcery.com>
24248
24249 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24250 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24251 libm_alias_ldouble_other.
24252 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24253 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24254 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24255 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24256 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24257 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24258 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24259 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24260 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24261 libm_alias_ldouble_r.
24262 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24263 libm_alias_ldouble_other.
24264 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24265 (log10l): Likewise.
24266 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24267 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24268 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24269 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24270 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24271 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24272 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24273 (atan2l): Likewise.
24274 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24275 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24276 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24277 libm_alias_ldouble.
24278 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24279 (cosl): Likewise.
24280 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24281 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24282 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24283 (expl): Likewise.
24284 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24285 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24286 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24287 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24288 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24289 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24290 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24291 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24292 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24293 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24294 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24295 libm_alias_ldouble.
24296 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24297 libm_alias_ldouble_other.
24298 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24299 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24300 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24301 libm_alias_ldouble.
24302 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24303 libm_alias_ldouble_other.
24304 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24305 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24306 * sysdeps/ia64/fpu/w_lgammal_main.c
24307 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24308 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24309
24310 2017-11-23 Florian Weimer <fweimer@redhat.com>
24311
24312 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24313 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24314 alike. Remove freeres marker.
24315 * malloc/arena.c (arena_thread_freeres): Call
24316 tcache_thread_shutdown.
24317
24318 2017-11-23 Florian Weimer <fweimer@redhat.com>
24319
24320 [BZ #22459]
24321 Export nscd hash function as __nss_hash.
24322 * include/nss.h (__nss_hash): Declare.
24323 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24324 symbol.
24325 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24326 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24327 of __nscd_hash.
24328 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24329 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24330 * nss/Makefiles (routines): Add nss_hash.
24331 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24332 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24333 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24334 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24335
24336 2017-11-23 Florian Weimer <fweimer@redhat.com>
24337
24338 [BZ #22478]
24339 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24340 Return error code, not -1.
24341 * signal/tst-sigwait-eintr.c: New file.
24342 * signal/Makefile (tests): Add tst-sigwait-eintr.
24343
24344 2017-11-23 Florian Weimer <fweimer@redhat.com>
24345
24346 Linux: Add memfd_create system call wrapper
24347 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24348 tst-memfd_create.
24349 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24350 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24351 [__USE_GNU] (memfd_create): Declare.
24352 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24353 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24354 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24355 * sysdeps/unix/sysv/linux/**.abilist: Update.
24356 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24357
24358 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24359
24360 * localedata/gen-locale.sh: Fix typo in variable name.
24361
24362 * resolv/res_debug.c (p_secstodate): Condition definition on
24363 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24364 directly as __p_secstodate, and as a compat symbol. Do not use
24365 libresolv_hidden_def.
24366 * resolv/resolv.h (p_secstodate): Remove macro and function
24367 declaration.
24368 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24369 using p_secstodate.
24370 * include/resolv.h (__p_secstodate): Do not use
24371 libresolv_hidden_proto.
24372 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24373 (tests-internal): ... here.
24374 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24375 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24376 and declare and use __p_secstodate and use compat_symbol_reference
24377 in that case.
24378 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24379 implementation returning 77.
24380
24381 [BZ #22463]
24382 * resolv/res_debug.c: Include <libc-diag.h>.
24383 (p_secstodate): Assert time_t at least as wide as u_long. On
24384 overflow, use integer seconds since the epoch as output, or use
24385 "<overflow>" as output and set errno to EOVERFLOW if integer
24386 seconds since the epoch would be 14 or more characters.
24387 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24388 for sprintf call.
24389 * resolv/tst-p_secstodate.c: New file.
24390 * resolv/Makefile (tests): Add tst-p_secstodate.
24391 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24392
24393 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24394 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24395 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24396
24397 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24398
24399 * posix/regcomp.c (init_word_char): Add comments.
24400
24401 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24402
24403 [BZ #22447]
24404 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24405 strlen to compute length of ut_user and set trailing NUL byte of
24406 result explicitly.
24407
24408 2017-11-21 Mike FABIAN <mfabian@redhat.com>
24409
24410 [BZ #15537]
24411 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24412 using “copy "iso14651_t1"” and then implementing the
24413 collation rules for lv from CLDR on top of that.
24414 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24415 of locales to be built for testing.
24416 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24417 sorting.
24418
24419 2017-11-21 Joseph Myers <joseph@codesourcery.com>
24420
24421 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24422 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24423 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24424 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24425 [__USE_MISC] (MADV_HWPOISON): New macro.
24426 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24427
24428 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24429
24430 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24431 -Wmissing-braces on GCC 4.9.
24432
24433 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24434
24435 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24436 * sysdeps/s390/s390-32/start.S (_start): Likewise
24437 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24438 (thread_start): Likewise.
24439 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24440 (thread_start): Likewise.
24441 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24442 (__makecontext_ret): Likewise.
24443 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24444 (__makecontext_ret): Likewise.
24445
24446 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24447
24448 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24449 __wcschrnul): Remove attribute_hidden.
24450
24451 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24452
24453 regex: don't assume uint64_t or uint32_t
24454 This avoids -Werror=overflow errors for 32-bit systems in
24455 the 64-bit case. Problem reported by Joseph Myers in:
24456 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24457 Also, when this code is used in Gnulib it ports to platforms
24458 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24459 them, and on some 32-bit compilers there is no uint64_t.
24460 Problem reported by Gianluigi Tiesi in:
24461 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24462 * posix/regcomp.c (init_word_char): Don't assume that the types
24463 uint64_t and uint32_t exist. Adapted from Gnulib patch
24464 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24465 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24466
24467 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24468
24469 * sysdeps/aarch64/memset-reg.h: New file.
24470 * sysdeps/aarch64/memset.S: Use it.
24471 (__memset): Rename to MEMSET macro.
24472 [ZVA_MACRO]: Use zva_macro.
24473 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24474 Add memset_generic and memset_falkor.
24475 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24476 (__libc_ifunc_impl_list): Add memset ifuncs.
24477 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24478 local variable zva_size.
24479 * sysdeps/aarch64/multiarch/memset.c: New file.
24480 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24481 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24482 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24483 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24484 (DCZID_DZP_MASK): New macro.
24485 (DCZID_BS_MASK): Likewise.
24486 (init_cpu_features): Read and set zva_size.
24487 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24488 (struct cpu_features): New member zva_size.
24489
24490 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24491 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24492 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24493
24494 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24495 backwards. Fix timing computation.
24496 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24497 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24498 on memset by N at a time. Fix timing computation.
24499
24500 2017-11-20 Florian Weimer <fweimer@redhat.com>
24501
24502 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24503 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24504
24505 2017-11-19 Florian Weimer <fweimer@redhat.com>
24506
24507 manual: Document mprotect
24508 * manual/memory.texi (Memory Protection): New section.
24509 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24510 documentation of PROT_* flags and reference the Memory Protection
24511 section instead.
24512
24513 2017-11-19 Florian Weimer <fweimer@redhat.com>
24514
24515 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24516 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24517 (Scatter-Gather): ... to here. Remove misleading comment.
24518
24519 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
24520
24521 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24522 style.
24523
24524 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24525 when /proc/<pid>/setgroups does not exist.
24526
24527 2017-11-18 Florian Weimer <fweimer@redhat.com>
24528
24529 * sysdeps/unix/sysv/linux/tst-ttyname.c
24530 (become_root_in_mount_ns): Remove.
24531 (do_in_chroot_1): Call support_enter_mount_namespace.
24532 (do_in_chroot_2): Likewise.
24533 (do_test): Call support_become_root early.
24534
24535 2017-11-18 Florian Weimer <fweimer@redhat.com>
24536
24537 * support/namespace.h (support_enter_mount_namespace): Declare.
24538 * support/support_enter_mount_namespace.c: New file.
24539 * support/Makefile (libsupport-routines): Add
24540 support_enter_mount_namespace.
24541
24542 2017-11-18 Florian Weimer <fweimer@redhat.com>
24543
24544 * support/temp_file.c (support_create_temp_directory): Use
24545 test_dir and do not rely on the presence of the XXXXXX suffix.
24546 * support/temp_file.h (support_create_temp_directory): Update
24547 comment.
24548 * support/tst-xreadlink.c (do_test): Adjust.
24549 * support/support_chroot.c (support_chroot_create): Likewise.
24550
24551 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24552
24553 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24554 macro.
24555 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24556 htm-no-suspend.
24557
24558 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24559
24560 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24561 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24562 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24563 (ceill): Define using libm_alias_ldouble.
24564 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24565 <libm-alias-ldouble.h>.
24566 (copysignl): Define using libm_alias_ldouble.
24567 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24568 (fabsl): Define using libm_alias_ldouble.
24569 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24570 (floorl): Define using libm_alias_ldouble.
24571 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24572 (fmaxl): Define using libm_alias_ldouble.
24573 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24574 (fminl): Define using libm_alias_ldouble.
24575 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24576 (llrintl): Define using libm_alias_ldouble.
24577 (lrintl): Likewise.
24578 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24579 <libm-alias-ldouble.h>.
24580 (nearbyintl): Define using libm_alias_ldouble.
24581 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24582 (truncl): Define using libm_alias_ldouble.
24583 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24584 <libm-alias-ldouble.h>.
24585 (lrintl): Define using libm_alias_ldouble.
24586
24587 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24588 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24589 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24590 (asinhl): Define using libm_alias_ldouble.
24591 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24592 (atanl): Define using libm_alias_ldouble.
24593 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24594 (cbrtl): Define using libm_alias_ldouble.
24595 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24596 (ceill): Define using libm_alias_ldouble.
24597 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24598 (copysignl): Define using libm_alias_ldouble.
24599 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24600 (fabsl): Define using libm_alias_ldouble.
24601 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24602 (floorl): Define using libm_alias_ldouble.
24603 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24604 (fmaxl): Define using libm_alias_ldouble.
24605 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24606 (fminl): Define using libm_alias_ldouble.
24607 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24608 (frexpl): Define using libm_alias_ldouble.
24609 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24610 (llrintl): Define using libm_alias_ldouble.
24611 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24612 (logbl): Define using libm_alias_ldouble.
24613 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24614 (lrintl): Define using libm_alias_ldouble.
24615 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24616 (nearbyintl): Define using libm_alias_ldouble.
24617 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24618 (nextafterl): Define using libm_alias_ldouble.
24619 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24620 (remquol): Define using libm_alias_ldouble.
24621 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24622 (rintl): Define using libm_alias_ldouble.
24623 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24624 (truncl): Define using libm_alias_ldouble.
24625 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24626 (fmaxl): Define using libm_alias_ldouble.
24627 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24628 (fminl): Define using libm_alias_ldouble.
24629
24630 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24631 to C syntax instead of availability and properties of types.
24632 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24633 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24634 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24635 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24636 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24637 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24638
24639 2017-11-17 Florian Weimer <fweimer@redhat.com>
24640
24641 support_become_root: Enable file creation in namespaces.
24642 * support/support_become_root.c (setup_mapping): New function.
24643 (support_become_root): Call it.
24644
24645 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24646
24647 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24648 macro.
24649
24650 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24651
24652 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24653 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24654
24655 2017-11-16 Joseph Myers <joseph@codesourcery.com>
24656
24657 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24658
24659 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24660 version to 4.14.
24661
24662 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24663
24664 * INSTALL: Fix botched up regeneration.
24665
24666 * NEWS: Update sourceare link to https.
24667 * configure.ac: Likewise.
24668 * crypt/md5test-giant.c: Likewise.
24669 * dlfcn/bug-atexit1.c: Likewise.
24670 * dlfcn/bug-atexit2.c: Likewise.
24671 * localedata/README: Likewise.
24672 * malloc/tst-mallocfork.c: Likewise.
24673 * manual/install.texi: Likewise.
24674 * nptl/tst-pthread-getattr.c: Likewise.
24675 * stdio-common/tst-fgets.c: Likewise.
24676 * stdio-common/tst-fwrite.c: Likewise.
24677 * sunrpc/Makefile: Likewise.
24678 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24679 * wcsmbs/tst-mbrtowc2.c: Likewise.
24680 * configure: Regenerate.
24681 * INSTALL: Regenerate.
24682
24683 2017-11-15 Martin Sebor <msebor@redhat.com>
24684
24685 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24686 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24687 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24688
24689 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24690
24691 [BZ #22145]
24692 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24693 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24694
24695 [BZ #22145]
24696 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24697 Defer is_pty check until end of the function.
24698 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24699
24700 [BZ #22145]
24701 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24702 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24703 (ttyname): Likewise.
24704 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24705 (__ttyname_r): Likewise.
24706
24707 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24708 int to bool.
24709
24710 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24711
24712 * manual/terminal.texi (Is It a Terminal):
24713 Mention ENODEV for ttyname and ttyname_r.
24714
24715 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24716
24717 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24718 constant and macro.
24719
24720 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24721 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24722 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24723 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24724 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24725 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24726
24727 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24728
24729 * signal/sigrelse.c (sigrelse): Optimize implementation.
24730
24731 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24732 (__sigpause): Rely on __sigsuspend to implement single thread
24733 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24734
24735 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24736
24737 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24738 kernel version to 4.14.
24739
24740 2017-11-15 Steve Ellcey <sellcey@cavium.com>
24741
24742 [BZ #22442]
24743 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24744 Check if ifname is too long.
24745
24746 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24747
24748 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24749
24750 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24751
24752 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24753 was accidentally lost.
24754
24755 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24756
24757 * localedata/locales/az_IR: Add standard copyright header.
24758
24759 2017-11-15 Florian Weimer <fweimer@redhat.com>
24760
24761 [BZ #22439]
24762 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24763 not just the top one. Output a new "subheaps" statistic.
24764
24765 2017-11-15 Florian Weimer <fweimer@redhat.com>
24766
24767 [BZ #22408]
24768 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24769 under the per-arena lock.
24770 * malloc/Makefile (tests): Add tst-malloc_info.
24771 (tst-malloc_info): Link with libpthread.
24772 * malloc/tst-malloc_info.c: New file.
24773
24774 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24775
24776 [BZ #21660]
24777 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24778 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24779 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24780 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24781 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24782 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24783 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24784 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24785 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24786 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24787 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24788 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24789 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24790 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24791 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24792 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24793 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24794 (__floating_type): Likewise.
24795 (__real_integer_type): Likewise.
24796 (__complex_integer_type): Likewise.
24797 (__expr_is_real): Likewise.
24798 (__tgmath_real_type_sub): Likewise.
24799 (__tgmath_real_type): Likewise.
24800 (__tgmath_complex_type_sub): Likewise.
24801 (__tgmath_complex_type): Likewise.
24802 (__TGMATH_F128): Likewise.
24803 (__TGMATH_CF128): Likewise.
24804 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24805 new macros.
24806 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24807 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24808 Likewise.
24809 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24810 Likewise.
24811 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24812 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24813 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24814 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24815 Likewise.
24816 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24817 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24818 Likewise.
24819 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24820 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24821 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24822 Likewise.
24823 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24824 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24825 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24826 (cimag): Likewise.
24827 (creal): Likewise.
24828
24829 2017-11-14 Joseph Myers <joseph@codesourcery.com>
24830
24831 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24832 for stpncpy calls for GCC 8.
24833 (test_strncat): Disable -Wstringop-truncation warning for strncat
24834 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24835 strncat call for GCC 7.
24836 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24837 calls for GCC 8.
24838 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24839 trailing NUL.
24840
24841 * string/bug-strncat1.c: Include <libc-diag.h>.
24842 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24843
24844 2017-11-13 Claude Paroz <claude@2xlibre.net>
24845
24846 [BZ #22387]
24847 * localedata/locales/aa_DJ: Improved readibility by replacing
24848 <Uxxxx> sequences in the ASCII printable range by their ASCII
24849 character equivalents.
24850 * localedata/locales/aa_ER: Likewise.
24851 * localedata/locales/aa_ER@saaho: Likewise.
24852 * localedata/locales/aa_ET: Likewise.
24853 * localedata/locales/af_ZA: Likewise.
24854 * localedata/locales/agr_PE: Likewise.
24855 * localedata/locales/ak_GH: Likewise.
24856 * localedata/locales/am_ET: Likewise.
24857 * localedata/locales/anp_IN: Likewise.
24858 * localedata/locales/ar_AE: Likewise.
24859 * localedata/locales/ar_BH: Likewise.
24860 * localedata/locales/ar_DZ: Likewise.
24861 * localedata/locales/ar_EG: Likewise.
24862 * localedata/locales/ar_IN: Likewise.
24863 * localedata/locales/ar_IQ: Likewise.
24864 * localedata/locales/ar_JO: Likewise.
24865 * localedata/locales/ar_KW: Likewise.
24866 * localedata/locales/ar_LB: Likewise.
24867 * localedata/locales/ar_LY: Likewise.
24868 * localedata/locales/ar_MA: Likewise.
24869 * localedata/locales/ar_OM: Likewise.
24870 * localedata/locales/ar_QA: Likewise.
24871 * localedata/locales/ar_SA: Likewise.
24872 * localedata/locales/ar_SD: Likewise.
24873 * localedata/locales/ar_SS: Likewise.
24874 * localedata/locales/ar_SY: Likewise.
24875 * localedata/locales/ar_TN: Likewise.
24876 * localedata/locales/ar_YE: Likewise.
24877 * localedata/locales/as_IN: Likewise.
24878 * localedata/locales/ast_ES: Likewise.
24879 * localedata/locales/ayc_PE: Likewise.
24880 * localedata/locales/az_AZ: Likewise.
24881 * localedata/locales/az_IR: Likewise.
24882 * localedata/locales/be_BY: Likewise.
24883 * localedata/locales/be_BY@latin: Likewise.
24884 * localedata/locales/bem_ZM: Likewise.
24885 * localedata/locales/ber_DZ: Likewise.
24886 * localedata/locales/ber_MA: Likewise.
24887 * localedata/locales/bg_BG: Likewise.
24888 * localedata/locales/bhb_IN: Likewise.
24889 * localedata/locales/bho_IN: Likewise.
24890 * localedata/locales/bi_VU: Likewise.
24891 * localedata/locales/bn_BD: Likewise.
24892 * localedata/locales/bn_IN: Likewise.
24893 * localedata/locales/bo_CN: Likewise.
24894 * localedata/locales/bo_IN: Likewise.
24895 * localedata/locales/br_FR: Likewise.
24896 * localedata/locales/brx_IN: Likewise.
24897 * localedata/locales/bs_BA: Likewise.
24898 * localedata/locales/byn_ER: Likewise.
24899 * localedata/locales/ca_AD: Likewise.
24900 * localedata/locales/ca_ES: Likewise.
24901 * localedata/locales/ca_FR: Likewise.
24902 * localedata/locales/ca_IT: Likewise.
24903 * localedata/locales/ce_RU: Likewise.
24904 * localedata/locales/chr_US: Likewise.
24905 * localedata/locales/cmn_TW: Likewise.
24906 * localedata/locales/crh_UA: Likewise.
24907 * localedata/locales/cs_CZ: Likewise.
24908 * localedata/locales/csb_PL: Likewise.
24909 * localedata/locales/cv_RU: Likewise.
24910 * localedata/locales/cy_GB: Likewise.
24911 * localedata/locales/da_DK: Likewise.
24912 * localedata/locales/de_AT: Likewise.
24913 * localedata/locales/de_BE: Likewise.
24914 * localedata/locales/de_CH: Likewise.
24915 * localedata/locales/de_DE: Likewise.
24916 * localedata/locales/de_IT: Likewise.
24917 * localedata/locales/de_LI: Likewise.
24918 * localedata/locales/de_LU: Likewise.
24919 * localedata/locales/doi_IN: Likewise.
24920 * localedata/locales/dv_MV: Likewise.
24921 * localedata/locales/dz_BT: Likewise.
24922 * localedata/locales/el_CY: Likewise.
24923 * localedata/locales/el_GR: Likewise.
24924 * localedata/locales/en_AG: Likewise.
24925 * localedata/locales/en_AU: Likewise.
24926 * localedata/locales/en_BW: Likewise.
24927 * localedata/locales/en_CA: Likewise.
24928 * localedata/locales/en_DK: Likewise.
24929 * localedata/locales/en_GB: Likewise.
24930 * localedata/locales/en_HK: Likewise.
24931 * localedata/locales/en_IE: Likewise.
24932 * localedata/locales/en_IL: Likewise.
24933 * localedata/locales/en_IN: Likewise.
24934 * localedata/locales/en_NG: Likewise.
24935 * localedata/locales/en_NZ: Likewise.
24936 * localedata/locales/en_PH: Likewise.
24937 * localedata/locales/en_SG: Likewise.
24938 * localedata/locales/en_US: Likewise.
24939 * localedata/locales/en_ZA: Likewise.
24940 * localedata/locales/en_ZM: Likewise.
24941 * localedata/locales/en_ZW: Likewise.
24942 * localedata/locales/eo: Likewise.
24943 * localedata/locales/es_AR: Likewise.
24944 * localedata/locales/es_BO: Likewise.
24945 * localedata/locales/es_CL: Likewise.
24946 * localedata/locales/es_CO: Likewise.
24947 * localedata/locales/es_CR: Likewise.
24948 * localedata/locales/es_CU: Likewise.
24949 * localedata/locales/es_DO: Likewise.
24950 * localedata/locales/es_EC: Likewise.
24951 * localedata/locales/es_ES: Likewise.
24952 * localedata/locales/es_GT: Likewise.
24953 * localedata/locales/es_HN: Likewise.
24954 * localedata/locales/es_MX: Likewise.
24955 * localedata/locales/es_NI: Likewise.
24956 * localedata/locales/es_PA: Likewise.
24957 * localedata/locales/es_PE: Likewise.
24958 * localedata/locales/es_PR: Likewise.
24959 * localedata/locales/es_PY: Likewise.
24960 * localedata/locales/es_SV: Likewise.
24961 * localedata/locales/es_US: Likewise.
24962 * localedata/locales/es_UY: Likewise.
24963 * localedata/locales/es_VE: Likewise.
24964 * localedata/locales/et_EE: Likewise.
24965 * localedata/locales/eu_ES: Likewise.
24966 * localedata/locales/eu_ES@euro: Likewise.
24967 * localedata/locales/fa_IR: Likewise.
24968 * localedata/locales/ff_SN: Likewise.
24969 * localedata/locales/fi_FI: Likewise.
24970 * localedata/locales/fil_PH: Likewise.
24971 * localedata/locales/fo_FO: Likewise.
24972 * localedata/locales/fr_BE: Likewise.
24973 * localedata/locales/fr_CA: Likewise.
24974 * localedata/locales/fr_CH: Likewise.
24975 * localedata/locales/fr_FR: Likewise.
24976 * localedata/locales/fr_LU: Likewise.
24977 * localedata/locales/fur_IT: Likewise.
24978 * localedata/locales/fy_DE: Likewise.
24979 * localedata/locales/fy_NL: Likewise.
24980 * localedata/locales/ga_IE: Likewise.
24981 * localedata/locales/gd_GB: Likewise.
24982 * localedata/locales/gez_ER: Likewise.
24983 * localedata/locales/gez_ET: Likewise.
24984 * localedata/locales/gl_ES: Likewise.
24985 * localedata/locales/gu_IN: Likewise.
24986 * localedata/locales/gv_GB: Likewise.
24987 * localedata/locales/ha_NG: Likewise.
24988 * localedata/locales/hak_TW: Likewise.
24989 * localedata/locales/he_IL: Likewise.
24990 * localedata/locales/hi_IN: Likewise.
24991 * localedata/locales/hif_FJ: Likewise.
24992 * localedata/locales/hne_IN: Likewise.
24993 * localedata/locales/hr_HR: Likewise.
24994 * localedata/locales/hsb_DE: Likewise.
24995 * localedata/locales/ht_HT: Likewise.
24996 * localedata/locales/hu_HU: Likewise.
24997 * localedata/locales/hy_AM: Likewise.
24998 * localedata/locales/i18n: Likewise.
24999 * localedata/locales/ia_FR: Likewise.
25000 * localedata/locales/id_ID: Likewise.
25001 * localedata/locales/ig_NG: Likewise.
25002 * localedata/locales/ik_CA: Likewise.
25003 * localedata/locales/is_IS: Likewise.
25004 * localedata/locales/it_CH: Likewise.
25005 * localedata/locales/it_IT: Likewise.
25006 * localedata/locales/iu_CA: Likewise.
25007 * localedata/locales/ja_JP: Likewise.
25008 * localedata/locales/ka_GE: Likewise.
25009 * localedata/locales/kk_KZ: Likewise.
25010 * localedata/locales/kl_GL: Likewise.
25011 * localedata/locales/kn_IN: Likewise.
25012 * localedata/locales/ko_KR: Likewise.
25013 * localedata/locales/kok_IN: Likewise.
25014 * localedata/locales/ks_IN: Likewise.
25015 * localedata/locales/ks_IN@devanagari: Likewise.
25016 * localedata/locales/ku_TR: Likewise.
25017 * localedata/locales/kw_GB: Likewise.
25018 * localedata/locales/ky_KG: Likewise.
25019 * localedata/locales/lb_LU: Likewise.
25020 * localedata/locales/lg_UG: Likewise.
25021 * localedata/locales/li_BE: Likewise.
25022 * localedata/locales/li_NL: Likewise.
25023 * localedata/locales/lij_IT: Likewise.
25024 * localedata/locales/ln_CD: Likewise.
25025 * localedata/locales/lo_LA: Likewise.
25026 * localedata/locales/lt_LT: Likewise.
25027 * localedata/locales/lv_LV: Likewise.
25028 * localedata/locales/lzh_TW: Likewise.
25029 * localedata/locales/mag_IN: Likewise.
25030 * localedata/locales/mai_IN: Likewise.
25031 * localedata/locales/mg_MG: Likewise.
25032 * localedata/locales/mhr_RU: Likewise.
25033 * localedata/locales/mi_NZ: Likewise.
25034 * localedata/locales/mk_MK: Likewise.
25035 * localedata/locales/ml_IN: Likewise.
25036 * localedata/locales/mn_MN: Likewise.
25037 * localedata/locales/mni_IN: Likewise.
25038 * localedata/locales/mr_IN: Likewise.
25039 * localedata/locales/ms_MY: Likewise.
25040 * localedata/locales/mt_MT: Likewise.
25041 * localedata/locales/my_MM: Likewise.
25042 * localedata/locales/nan_TW: Likewise.
25043 * localedata/locales/nan_TW@latin: Likewise.
25044 * localedata/locales/nb_NO: Likewise.
25045 * localedata/locales/nds_DE: Likewise.
25046 * localedata/locales/nds_NL: Likewise.
25047 * localedata/locales/ne_NP: Likewise.
25048 * localedata/locales/nhn_MX: Likewise.
25049 * localedata/locales/niu_NU: Likewise.
25050 * localedata/locales/niu_NZ: Likewise.
25051 * localedata/locales/nl_AW: Likewise.
25052 * localedata/locales/nl_BE: Likewise.
25053 * localedata/locales/nl_NL: Likewise.
25054 * localedata/locales/nn_NO: Likewise.
25055 * localedata/locales/nr_ZA: Likewise.
25056 * localedata/locales/nso_ZA: Likewise.
25057 * localedata/locales/oc_FR: Likewise.
25058 * localedata/locales/om_ET: Likewise.
25059 * localedata/locales/om_KE: Likewise.
25060 * localedata/locales/or_IN: Likewise.
25061 * localedata/locales/os_RU: Likewise.
25062 * localedata/locales/pa_IN: Likewise.
25063 * localedata/locales/pa_PK: Likewise.
25064 * localedata/locales/pap_AW: Likewise.
25065 * localedata/locales/pap_CW: Likewise.
25066 * localedata/locales/pl_PL: Likewise.
25067 * localedata/locales/ps_AF: Likewise.
25068 * localedata/locales/pt_BR: Likewise.
25069 * localedata/locales/pt_PT: Likewise.
25070 * localedata/locales/quz_PE: Likewise.
25071 * localedata/locales/raj_IN: Likewise.
25072 * localedata/locales/ro_RO: Likewise.
25073 * localedata/locales/ru_RU: Likewise.
25074 * localedata/locales/ru_UA: Likewise.
25075 * localedata/locales/rw_RW: Likewise.
25076 * localedata/locales/sa_IN: Likewise.
25077 * localedata/locales/sat_IN: Likewise.
25078 * localedata/locales/sc_IT: Likewise.
25079 * localedata/locales/sd_IN: Likewise.
25080 * localedata/locales/sd_IN@devanagari: Likewise.
25081 * localedata/locales/se_NO: Likewise.
25082 * localedata/locales/sgs_LT: Likewise.
25083 * localedata/locales/shs_CA: Likewise.
25084 * localedata/locales/si_LK: Likewise.
25085 * localedata/locales/sid_ET: Likewise.
25086 * localedata/locales/sk_SK: Likewise.
25087 * localedata/locales/sl_SI: Likewise.
25088 * localedata/locales/sm_WS: Likewise.
25089 * localedata/locales/so_DJ: Likewise.
25090 * localedata/locales/so_ET: Likewise.
25091 * localedata/locales/so_KE: Likewise.
25092 * localedata/locales/so_SO: Likewise.
25093 * localedata/locales/sq_AL: Likewise.
25094 * localedata/locales/sq_MK: Likewise.
25095 * localedata/locales/sr_ME: Likewise.
25096 * localedata/locales/sr_RS: Likewise.
25097 * localedata/locales/sr_RS@latin: Likewise.
25098 * localedata/locales/ss_ZA: Likewise.
25099 * localedata/locales/st_ZA: Likewise.
25100 * localedata/locales/sv_FI: Likewise.
25101 * localedata/locales/sv_SE: Likewise.
25102 * localedata/locales/sw_KE: Likewise.
25103 * localedata/locales/sw_TZ: Likewise.
25104 * localedata/locales/szl_PL: Likewise.
25105 * localedata/locales/ta_IN: Likewise.
25106 * localedata/locales/ta_LK: Likewise.
25107 * localedata/locales/tcy_IN: Likewise.
25108 * localedata/locales/te_IN: Likewise.
25109 * localedata/locales/tg_TJ: Likewise.
25110 * localedata/locales/th_TH: Likewise.
25111 * localedata/locales/the_NP: Likewise.
25112 * localedata/locales/ti_ER: Likewise.
25113 * localedata/locales/ti_ET: Likewise.
25114 * localedata/locales/tig_ER: Likewise.
25115 * localedata/locales/tk_TM: Likewise.
25116 * localedata/locales/tl_PH: Likewise.
25117 * localedata/locales/tn_ZA: Likewise.
25118 * localedata/locales/to_TO: Likewise.
25119 * localedata/locales/tpi_PG: Likewise.
25120 * localedata/locales/tr_CY: Likewise.
25121 * localedata/locales/tr_TR: Likewise.
25122 * localedata/locales/ts_ZA: Likewise.
25123 * localedata/locales/tt_RU: Likewise.
25124 * localedata/locales/tt_RU@iqtelif: Likewise.
25125 * localedata/locales/ug_CN: Likewise.
25126 * localedata/locales/uk_UA: Likewise.
25127 * localedata/locales/unm_US: Likewise.
25128 * localedata/locales/ur_IN: Likewise.
25129 * localedata/locales/ur_PK: Likewise.
25130 * localedata/locales/uz_UZ: Likewise.
25131 * localedata/locales/uz_UZ@cyrillic: Likewise.
25132 * localedata/locales/ve_ZA: Likewise.
25133 * localedata/locales/vi_VN: Likewise.
25134 * localedata/locales/wa_BE: Likewise.
25135 * localedata/locales/wae_CH: Likewise.
25136 * localedata/locales/wal_ET: Likewise.
25137 * localedata/locales/wo_SN: Likewise.
25138 * localedata/locales/xh_ZA: Likewise.
25139 * localedata/locales/yi_US: Likewise.
25140 * localedata/locales/yo_NG: Likewise.
25141 * localedata/locales/yue_HK: Likewise.
25142 * localedata/locales/yuw_PG: Likewise.
25143 * localedata/locales/zh_CN: Likewise.
25144 * localedata/locales/zh_HK: Likewise.
25145 * localedata/locales/zh_SG: Likewise.
25146 * localedata/locales/zh_TW: Likewise.
25147 * localedata/locales/zu_ZA: Likewise.
25148
25149 2017-11-13 Florian Weimer <fweimer@redhat.com>
25150
25151 * support/next_to_fault.h, support/next_to_fault.c: New files.
25152 * support/Makefile (libsupport-routines): Add next_to_fault.
25153 * resolv/tst-inet_pton.c (struct next_to_fault)
25154 (next_to_fault_allocate, next_to_fault_free): Remove.
25155 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25156
25157 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25158
25159 * elf/dl-support.c: Include <dl-procruntime.c>.
25160 * include/link.h: Include <link_map.h>.
25161 * sysdeps/generic/dl-procruntime.c: New file.
25162 * sysdeps/generic/link_map.h: Likewise.
25163 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25164 the writable ld.so namespace.
25165
25166 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25167
25168 timezone: pacify GCC -Wstringop-truncation
25169 Problem reported by Martin Sebor in:
25170 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25171 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25172
25173 2017-11-12 Florian Weimer <fweimer@redhat.com>
25174
25175 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25176 tst-xreadlink.
25177 (tests): Add tst-xreadlink.
25178 * support/support.h (xstrndup): Declare.
25179 * support/xunistd.h (xunlink, xreadlink): Declare.
25180 * support/temp_file.h (support_create_temp_directory): Declare.
25181 * support/temp_file.c (support_create_temp_directory): New function.
25182 * support/support_chroot.c (support_chroot_create): Use it.
25183 * support/xreadlink.c: New file.
25184 * support/xstrndup.c: Likewise.
25185 * support/xunlink.c: Likewise.
25186 * support/tst-xreadlink.c: Likewise.
25187
25188 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
25189
25190 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25191
25192 2017-11-11 Florian Weimer <fweimer@redhat.com>
25193
25194 [BZ #22409]
25195 [BZ #22412]
25196 * resolv/res_comp.c (printable_string, binary_hnok)
25197 (binary_leading_dash): New functions.
25198 (res_hnok): Reimplement using these functions and ns_name_pton.
25199 (res_ownok): Likewise.
25200 (res_mailok): Reimplement using printable_string, ns_name_pton and
25201 binary_hnok.
25202 (res_dnok): Reimplement using printable_string and ns_name_pton.
25203 * resolv/tst-res_hnok.c (tests): Add additional tests.
25204 (LETTERDIGITS, PRINTABLE): Define.
25205 (do_test): Adjust one_char results.
25206
25207 2017-11-11 Florian Weimer <fweimer@redhat.com>
25208
25209 [BZ #22413]
25210 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25211 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25212
25213 2017-11-11 Florian Weimer <fweimer@redhat.com>
25214
25215 * resolv/tst-ns_name_pton.c: New file.
25216 * resolv/Makefile (tests): Add tst-ns_name_pton.
25217 (tst-ns_name_pton): Link against libresolv.
25218
25219 2017-11-11 Florian Weimer <fweimer@redhat.com>
25220
25221 * resolv/tst-res_hnok.c: New file.
25222 * resolv/Makefile (tests): Add tst-res_hnok.
25223 (tst-res_hnok): Link against libresolv.
25224
25225 2017-11-11 Florian Weimer <fweimer@redhat.com>
25226
25227 * resolv/tst-resolv-network.c: Use test framework instead explicit
25228 main function.
25229
25230 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25231
25232 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25233 <jmp_buf-macros.h>.
25234 [!_ISOMAC] (STR_HELPER): New.
25235 [!_ISOMAC] (STR): Likewise.
25236 [!_ISOMAC] (TEST_SIZE): Likewise.
25237 [!_ISOMAC] (TEST_ALIGN): Likewise.
25238 [!_ISOMAC] (TEST_OFFSET): Likewise.
25239 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25240 field offsets of jmp_buf as well as sigjmp_buf.
25241 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25242 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25243 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25244 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25245 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25246 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25247 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25248 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25249 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25250 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25251 Likewise.
25252 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25253 Likewise.
25254 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25256 Likewise.
25257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25258 Likewise.
25259 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25260 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25261 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25262 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25263 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25265 Likewise.
25266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25267 Likewise.
25268 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25269 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25270 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25271
25272 2017-11-07 Joseph Myers <joseph@codesourcery.com>
25273
25274 * include/float.h
25275 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25276 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25277 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25278 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25279 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25280 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25281 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25282 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25283 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25284 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25285 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25286 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25287 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25288 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25289 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25290 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25291 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25292 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25293 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25294 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25295 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25296 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25297 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25298 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25299 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25300 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25301 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25302 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25303 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25304 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25305 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25306 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25307 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25308 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25309 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25310 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25311 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25312 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25313 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25314 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25315 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25316 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25317 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25318 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25319 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25320 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25321 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25322 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25323 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25324 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25325 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25326 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25327 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25328 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25329 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25330 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25331 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25332 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25333 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25334 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25335 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25336 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25337 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25338 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25339 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25340 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25341 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25342 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25343 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25344 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25345 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25346 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25347 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25348 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25349 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25350 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25351 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25352 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25353 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25354 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25355 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25356 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25357 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25358 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25359 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25360 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25361 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25362 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25363
25364 * stdlib/tst-strtod.h (F16): New macro.
25365 (F32): Likewise.
25366 (F64): Likewise.
25367 (F32X): Likewise.
25368 (F64X): Likewise.
25369 (F128X): Likewise.
25370 (IF_FLOAT16): Likewise.
25371 (IF_FLOAT32): Likewise.
25372 (IF_FLOAT64): Likewise.
25373 (IF_FLOAT32X): Likewise.
25374 (IF_FLOAT64X): Likewise.
25375 (IF_FLOAT128X): Likewise.
25376 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25377 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25378 (STRTOD_TEST_FOREACH): Likewise.
25379 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25380 (CHOOSE_f64): Likewise.
25381 (CHOOSE_f32x): Likewise.
25382 (CHOOSE_f64x): Likewise.
25383
25384 2017-11-07 Andreas Schwab <schwab@suse.de>
25385
25386 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25387
25388 2017-11-07 Mike FABIAN <mfabian@redhat.com>
25389
25390 [BZ #22403]
25391 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25392 to be escaped.
25393 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25394 to be escaped.
25395
25396 2017-11-07 Claude Paroz <claude@2xlibre.net>
25397
25398 [BZ #22403]
25399 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25400 to be escaped.
25401 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25402 to be escaped.
25403 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25404 to be escaped.
25405
25406 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25407
25408 [BZ #22298]
25409 * nptl/allocatestack.c (allocate_stack): Check if
25410 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25411 __PTHREAD_MUTEX_HAVE_PREV is defined.
25412 * nptl/descr.h (pthread): Likewise.
25413 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25414 Likewise.
25415 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25416 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25417 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25418 * sysdeps/nptl/bits/thread-shared-types.h
25419 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25420 defines.
25421 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25422 of __WORDSIZE for internal layout.
25423 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25424 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25425 instead of __WORDSIZE whether to use an union for __spins and __list
25426 fields.
25427 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25428 case.
25429 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25430 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25431 defines.
25432 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25433 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25434 Likewise.
25435 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25436 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25437 Likewise.
25438 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25439 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25440 Likewise.
25441 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25442 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25443 Likewise.
25444 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25445 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25446 Likewise.
25447 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25448 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25449 Likewise.
25450 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25451 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25452 Likewise.
25453 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25454 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25455 Likewise.
25456 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25457 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25458 Likewise.
25459 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25460 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25461 Likewise.
25462 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25463 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25464 Likewise.
25465 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25466 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25467 Likewise.
25468 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25469 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25470 Likewise.
25471 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25472 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25473 Likewise.
25474
25475 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25476 New macros.
25477 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25478 checks for expected input type size.
25479 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25480 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25481 Likewise.
25482 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25483 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25484 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25485 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25486 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25487 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25488 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25489 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25490 superflous runtime assert check.
25491 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25492 Likewise.
25493 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25494 Likewise.
25495 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25496 Likewise.
25497 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25498 Likewise.
25499 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25500 Likewise.
25501 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25502 Likewise.
25503 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25504 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25505 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25506 Likewise.
25507 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25508 Likewise.
25509 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25510 Likewise.
25511 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25512 Likewise.
25513 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25514 Likewise.
25515 * nptl/pthread_attr_setinheritsched.c
25516 (__pthread_attr_setinheritsched): Likewise.
25517 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25518 Likewise.
25519 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25520 Likewise.
25521 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25522 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25523 __old_pthread_attr_setstack): Likewise.
25524 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25525 Likewise.
25526 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25527 Likewise.
25528 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25529 Likewise.
25530 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25531 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25532 Likewise.
25533 * nptl/tst-typesizes.c: Remove file.
25534
25535 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25536 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25537 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25538 checks for internal pthread_mutex_t offsets.
25539 * sysdeps/aarch64/nptl/pthread-offsets.h
25540 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25541 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25542 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25543 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25544 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25545 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25546 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25547 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25548 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25549 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25550 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25551 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25552 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25553 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25554 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25555 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25556 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25557 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25558
25559 2017-11-07 Florian Weimer <fweimer@redhat.com>
25560
25561 * bits/mman-linux.h: Move ...
25562 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25563 comment.
25564 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25565 outdated comment.
25566
25567 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25568
25569 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25570 Redefine STRNLEN as __strnlen_power8.
25571
25572 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25573
25574 * signal/sighold.c (sighold): Optimize implementation.
25575
25576 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25577 __NR_rt_sigqueueinfo.
25578
25579 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25580 __sigtimedwait.
25581 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25582 assume __NR_rt_sigtimedwait.
25583 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25584 and add LIBC_CANCEL_HANDLED for cancellation marking.
25585 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25586
25587 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25588 (sysdeps_routines): Add memchr_noneon.
25589 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25590 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25591 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25592 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25593 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25594 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25595 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25596
25597 * sysdeps/arm/arm-ifunc.h: New file.
25598 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25599 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25600 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25601 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25602 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25603 (__memcpy_neon): Avoid create hidden alias.
25604 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25605 (__memcpy_vfp): Likewise.
25606 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25607 (sysdep_routines): Add memcpy_arm.
25608 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25609
25610 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25611
25612 [BZ #22362]
25613 * Makerules (make-link-multidir): New.
25614 * config.make.in (multidir): New.
25615 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25616 * configure: Regenerated.
25617 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25618 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25619 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25620 New target.
25621
25622 2017-11-06 Joseph Myers <joseph@codesourcery.com>
25623
25624 [BZ #22402]
25625 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25626 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25627
25628 2017-11-04 Mike FABIAN <mfabian@redhat.com>
25629
25630 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25631 to be escaped.
25632
25633 2017-11-04 Florian Weimer <fweimer@redhat.com>
25634
25635 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25636
25637 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25638
25639 * math/math.h [__HAVE_DISTINCT_FLOAT16
25640 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25641 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25642 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25643 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25644 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25645 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25646 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25647 (__MATH_TG_F32): New macro.
25648 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25649 (__MATH_TG_F64X): Likewise.
25650 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25651 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25652
25653 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25654
25655 * po/de.po: Update translations.
25656 * po/ru.po: Likewise.
25657
25658 2017-11-03 Florian Weimer <fweimer@redhat.com>
25659
25660 * manual/filesys.texi (Hard Links): Document linkat.
25661
25662 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25663
25664 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25665 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25666 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25667 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25668 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25669 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25670 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25671 the same as _Float128.
25672 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25673 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25674 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25675
25676 * stdlib/stdlib.h
25677 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25678 Declare.
25679 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25680 Likewise.
25681 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25682 Likewise.
25683 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25684 (strtof32x): Likewise.
25685 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25686 (strtof64x): Likewise.
25687 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25688 (strtof128x): Likewise.
25689 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25690 (strfromf16): Likewise.
25691 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25692 (strfromf32): Likewise.
25693 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25694 (strfromf64): Likewise.
25695 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25696 (strfromf32x): Likewise.
25697 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25698 (strfromf64x): Likewise.
25699 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25700 (strfromf128x): Likewise.
25701 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25702 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25703 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25704 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25705 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25706 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25707
25708 2017-11-03 Richard Henderson <rth@twiddle.net>
25709
25710 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25711
25712 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25713
25714 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25715
25716 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25717
25718 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25719 DT_TLSDESC_GOT initialization.
25720 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25721 (_dl_tlsdesc_resolve_hold): Likewise.
25722 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25723 (_dl_tlsdesc_resolve_hold): Likewise.
25724 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25725 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25726
25727 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25728
25729 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25730
25731 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25732
25733 [BZ #18572]
25734 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25735 non-lazily for R_ARM_TLS_DESC.
25736
25737 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25738
25739 [BZ #17078]
25740 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25741 R_ARM_TLS_DESC case.
25742 (elf_machine_lazy_rel): Remove the prelink check.
25743
25744 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25745
25746 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25747 DT_TLSDESC_GOT initialization.
25748 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25749 (_dl_tlsdesc_resolve_rela): Likewise.
25750 (_dl_tlsdesc_resolve_hold): Likewise.
25751 (_dl_tlsdesc_undefweak): Remove ldar.
25752 (_dl_tlsdesc_dynamic): Likewise.
25753 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25754 (_dl_tlsdesc_resolve_rela): Likewise.
25755 (_dl_tlsdesc_resolve_hold): Likewise.
25756 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25757 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25758 (_dl_tlsdesc_resolve_rela): Likewise.
25759 (_dl_tlsdesc_resolve_hold): Likewise.
25760
25761 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25762
25763 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25764 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25765
25766 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25767
25768 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25769 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25770
25771 2017-11-02 Joseph Myers <joseph@codesourcery.com>
25772
25773 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25774 Declare.
25775 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25776 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25777 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25778 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25779 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25780 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25781 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25782 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25783 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25784 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25785 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25786
25787 2017-11-02 Mike FABIAN <mfabian@redhat.com>
25788
25789 [BZ #22382]
25790 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25791 * localedata/locales/tpi_PG: Add standard header.
25792
25793 2017-11-02 Florian Weimer <fweimer@redhat.com>
25794
25795 test-errno-linux: quotactl can fail with EPERM in containers.
25796 * sysdeps/unix/sysv/linux/test-errno-linux.c
25797 (LIST, LIST_FORWARD): New macros.
25798 (check_error_in_list): New function.
25799 (test_wrp_rv): Accept list of permitted error codes.
25800 (test_wrp_rv2): Remove.
25801 (test_wrp): Call test_wrp_rv with list of error codes.
25802 (test_wrp2): Accept list of error codes.
25803 (do_test): Adjust. Allow EPERM for quotactl.
25804
25805 2017-11-02 Florian Weimer <fweimer@redhat.com>
25806
25807 * stdio-common/bug16.c (do_test): Use array_length.
25808 * stdio-common/errlist.c (_sys_nerr): Likewise.
25809 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25810 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25811 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25812 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25813 (do_test): Use array_length.
25814 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25815 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25816 * stdio-common/tst-printf-round.c (do_test): Likewise.
25817 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25818 (CHECK): Use array_length.
25819 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25820 * stdio-common/tstscanf.c (main): Likewise.
25821 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25822
25823 2017-11-02 Florian Weimer <fweimer@redhat.com>
25824
25825 Add array_length and array_end macros.
25826 * include/array_length.h: New file.
25827
25828 2017-11-02 Florian Weimer <fweimer@redhat.com>
25829
25830 [BZ #22332]
25831 * posix/tst-glob-tilde.c (do_noescape): New variable.
25832 (one_test): Process it.
25833 (do_test): Set do_noescape. Add unescaping test case.
25834
25835 2017-11-01 Joseph Myers <joseph@codesourcery.com>
25836
25837 * math/complex.h
25838 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25839 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25840 with appropriate macros defined and undefined.
25841 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25842 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25843 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25844 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25845 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25846 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25847 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25848 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25849 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25850 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25851
25852 * math/complex.h
25853 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25854 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25855 that for long double. Do not condition define and undefine of
25856 _Mdouble_complex_ on [__CFLOAT128].
25857
25858 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25859
25860 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25861 of <sysdeps/generic/sysdep.h>.
25862 (ALIGNARG): Removed.
25863 (ASM_SIZE_DIRECTIVE): Likewise.
25864 (ENTRY): Likewise.
25865 (END): Likewise.
25866 (ENTRY_CHK): Likewise.
25867 (END_CHK): Likewise.
25868 (syscall_error): Likewise.
25869 (mcount): Likewise.
25870 (PSEUDO_END): Likewise.
25871 (L): Likewise.
25872 (atom_text_section): Likewise.
25873 * sysdeps/x86/sysdep.h: New file.
25874 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25875 of <sysdeps/generic/sysdep.h>.
25876 (ALIGNARG): Removed.
25877 (ASM_SIZE_DIRECTIVE): Likewise.
25878 (ENTRY): Likewise.
25879 (END): Likewise.
25880 (ENTRY_CHK): Likewise.
25881 (END_CHK): Likewise.
25882 (syscall_error): Likewise.
25883 (mcount): Likewise.
25884 (PSEUDO_END): Likewise.
25885 (L): Likewise.
25886 (atom_text_section): Likewise.
25887
25888 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25889
25890 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25891 category of LC_CTYPE set to "i18n:2012".
25892 * localedata/locales/i18n_ctype: Regenerate.
25893
25894 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
25895
25896 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25897 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25898 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25899 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25900
25901 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25902 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25903 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25904 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25905
25906 2017-10-31 Joseph Myers <joseph@codesourcery.com>
25907
25908 * math/complex.h
25909 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25910 New macro.
25911 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25912 Likewise.
25913 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25914 Likewise.
25915 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25916 (CMPLXF32X): Likewise.
25917 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25918 (CMPLXF64X): Likewise.
25919 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25920 (CMPLXF128X): Likewise.
25921
25922 * math/math.h
25923 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25924 (__MATH_EVAL_FMT2): Define to add 0.0f.
25925
25926 2017-10-31 Alan Modra <amodra@gmail.com>
25927
25928 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25929 include sysdep.h.
25930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25944 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25945 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25946 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25947 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25948 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25949 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25950 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25951 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25952 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25953 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25954 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25955 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25956 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25957 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25958 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25959 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25960 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25961 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25962 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25963 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25964 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25965 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25966 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25967 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25968 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25969 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25970 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25971 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25972 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25973 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25974 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25975 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25976 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25977 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25978 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25979 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25980 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25981 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25982 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25983 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25984 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25985 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25986 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25987 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25988 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25989 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25990 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25991 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25992 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25993 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25994 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25995 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25996 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25997 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25998 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25999
26000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26001 include sysdep.h and math_ldbl_opt.h.
26002
26003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26004 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26029
26030 2017-10-31 Alan Modra <amodra@gmail.com>
26031
26032 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26033 string/strncase_l.c, not string/strncase.c.
26034 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26035 (libc_hidden_def): Redefine.
26036
26037 2017-10-31 Alan Modra <amodra@gmail.com>
26038
26039 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26040 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26041 (__strcasecmp): Don't define.
26042
26043 2017-10-31 Alan Modra <amodra@gmail.com>
26044
26045 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26046 IS_IN (libc).
26047 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26048 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26049 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26050
26051 2017-10-31 Alan Modra <amodra@gmail.com>
26052
26053 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26054 USE_AS_STPNCPY.
26055
26056 2017-10-31 Alan Modra <amodra@gmail.com>
26057
26058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26059 Redefine only when SHARED.
26060
26061 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26062
26063 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26064 Include <bits/math-finite.h> with appropriate macros defined and
26065 undefined.
26066 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26067 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26068 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26069 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26070 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26071
26072 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26073 [!_Mlong_double_] (_Mlong_double_): Likewise.
26074 [!_Mfloat16_] (_Mfloat16_): Likewise.
26075 [!_Mfloat32_] (_Mfloat32_): Likewise.
26076 [!_Mfloat64_] (_Mfloat64_): Likewise.
26077 [!_Mfloat128_] (_Mfloat128_): Likewise.
26078 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26079 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26080 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26081 (_Mdouble_): Define without indirection through those macros.
26082 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26083 [!_Mfloat128_] (_Mfloat128_): Likewise.
26084 [_Mlong_double_] (_Mlong_double_): Likewise.
26085 (_Mdouble_): Define without indirection through those macros.
26086 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26087 not add -D_Mlong_double_=double.
26088 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26089 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26090
26091 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26092
26093 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26094
26095 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26096
26097 * sysdeps/x86/libc-start.c: Reformat.
26098
26099 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26100
26101 [BZ #22353]
26102 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26103 (1): Renamed to ...
26104 (L(Src0)): This.
26105 (L(Src1)): New.
26106 (L(Src2)): Likewise.
26107 (L(1)): Renamed to ...
26108 (L(Src3)): This.
26109
26110 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26111
26112 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26113 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26114 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26115 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26116 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26117 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26118 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26119 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26120 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26121 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26122 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26123 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26124 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26125 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26126 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26127 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26128 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26129 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26130 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26131 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26132 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26133 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26134 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26135 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26136 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26137 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26138 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26139 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26140 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26141 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26142 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26143 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26144 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26145 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26146 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26147 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26148 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26149 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26150 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26151 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26152 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26153 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26154 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26155 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26156 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26157 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26158 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26159 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26160 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26161 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26162 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26163 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26164 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26165 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26166 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26167 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26168 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26169 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26170 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26171 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26172 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26173 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26174 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26175 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26176 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26177 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26178
26179 2017-10-30 Florian Weimer <fweimer@redhat.com>
26180
26181 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26182 always defined.
26183 * io/tst-mkdirat.c (do_test): Likewise.
26184 * io/tst-mkfifoat.c (do_test): Likewise.
26185 * io/tst-mknodat.c (do_test): Likewise.
26186 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26187 * locale/programs/locale.c (select_dirs): Likewise.
26188 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26189 * posix/bug-glob2.c (my_readdir): Likewise.
26190 * posix/tst-dir.c (main): Likewise.
26191 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26192 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26193
26194 2017-10-30 Florian Weimer <fweimer@redhat.com>
26195
26196 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26197 just __USE_GNU.
26198
26199 2017-10-30 Florian Weimer <fweimer@redhat.com>
26200
26201 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26202 Convert to support/test-driver.c.
26203 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26204 New macro parameters.
26205 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26206 * posix/tst-gnuglob.c: New file.
26207 * posix/tst-gnuglob64.c: Likewise.
26208 * posix/Makefile (tests): Add tst-gnuglob64.
26209
26210 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
26211
26212 [BZ #19485]
26213 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26214 and use a better translation for March in “mon”.
26215 * localedata/locales/csb_PL: Use more ASCII to improve the
26216 readability of the source.
26217
26218 2017-10-30 Mike FABIAN <mfabian@redhat.com>
26219
26220 [BZ #13953]
26221 * localedata/locales/km_KH: Use ASCII as much
26222 as possible for better readability of the source and
26223 remove useless comments.
26224 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26225 was commented out and apparently wrong anyway because it was
26226 using Lao characters. If Buddhist era should be used
26227 for km_KH, a native speaker should write the correct formaat
26228 for Khmer.
26229 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26230 (According to CLDR, the first weekday for Cambodia is Sunday).
26231 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26232 (These were using Lao characters which must be wrong. If we get
26233 the correct data from a native speaker, we could add it back, until
26234 then it is better not to have name_mr and name_mrs at all than
26235 having it wrong).
26236
26237 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26238
26239 * locale/loadlocale.c: Correct size of
26240 _nl_value_type_LC_<category> arrays.
26241
26242 2017-10-27 Joseph Myers <joseph@codesourcery.com>
26243
26244 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26245 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26246 with appropriate macros defined and undefined.
26247 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26248 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26249 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26250 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26251 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26252
26253 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26254
26255 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26256 "-O2 -march=i586".
26257
26258 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26259
26260 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26261 with lowercase letters to make it agree with CLDR.
26262
26263 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26264
26265 [BZ #15260]
26266 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26267 first letters of yesstr and nostr in yesexpr and noexpr,
26268 not for the full words.
26269 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26270 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26271 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26272 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26273 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26274 first letters of yesstr and nostr in yesexpr and noexpr,
26275 until now only English was matched in yesexpr and noexpr.
26276 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26277 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26278 fil but not for tl. As tl and fil are very similar, using fil
26279 is probably better than using English.
26280
26281 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
26282
26283 [BZ #21706]
26284 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26285 in yesstr and nostr.
26286
26287 2017-10-26 Joseph Myers <joseph@codesourcery.com>
26288
26289 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26290 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26291 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26292 Likewise.
26293 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26294 Likewise.
26295 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26296 Likewise.
26297 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26298 Likewise.
26299 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26300 (SNANF128X): Likewise.
26301
26302 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26303 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26304 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26305 (HUGE_VAL_F32): Likewise.
26306 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26307 (HUGE_VAL_F64): Likewise.
26308 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26309 (HUGE_VAL_F32X): Likewise.
26310 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26311 (HUGE_VAL_F64X): Likewise.
26312 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26313 (HUGE_VAL_F128X): Likewise.
26314
26315 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26316
26317 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26318 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26319 for the br_FR locale.
26320
26321 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26322
26323 [BZ #21706]
26324 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26325
26326 2017-10-25 Carlos O'Donell <carlos@redhat.com>
26327
26328 * locale/programs/record-status.h: Define globals, and function
26329 prototypes. Move function bodies...
26330 * locale/programs/record-status.c: ... to here. New file.
26331 * iconv/Makefile (iconv_prog-modules): Add record-status.
26332 * locale/Makefile (lib-modules): Likewise.
26333 * iconv/iconv_prog.c: Remove verbose.
26334 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26335 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26336 record a warning about ASCII compatibility.
26337 * locale/programs/ld-monetary.c (monetary_finish): If
26338 warn_int_curr_symbol is true then record a warning about the symbol
26339 not being in our ISO 4217 list.
26340 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26341 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26342 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26343 (OPT_NO_WARN): Define.
26344 (OPT_WARN): Define.
26345 (options): Add entry for --no-warnings, and --warnings.
26346 (set_warnings): New function to enable/disable warnings.
26347 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26348 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26349 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26350 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26351 Pass flags to generate_locale.
26352 (generate_locale): Accept new flag argument and pass it to localedef
26353 invocation.
26354 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26355 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26356
26357 * localedata/Makefile (test-input-data): Use full file name.
26358 * localedata/da_DK.in: Rename to...
26359 * localedata/da_DK.ISO-8859-1.in: ...this.
26360 * localedata/de_DE.in: Rename to...
26361 * localedata/de_DE.ISO-8859-1.in: ...this.
26362 * localedata/en_US.in: Rename to...
26363 * localedata/en_US.ISO-8859-1.in: ...this.
26364 * localedata/fr_FR.in: Rename to...
26365 * localedata/fr_FR.UTF-8.in: ... this.
26366 * localedata/hr_HR.in: Rename to...
26367 * localedata/hr_HR.ISO-8859-2.in: ...this.
26368 * localedata/hu_HU.in: Rename to...
26369 * localedata/hu_HU.UTF-8.in: ...this.
26370 * localedata/si_LK.in: Rename to...
26371 * localedata/si_LK.UTF-8.in: ...this.
26372 * localedata/sv_SE.in: Rename to...
26373 * localedata/sv_SE.ISO-8859-1.in: ...this.
26374 * localedata/tr_TR.in: Rename to...
26375 * localedata/tr_TR.UTF-8.in: ...this.
26376 * localedata/uk_UA.in: Rename to...
26377 * localedata/uk_UA.UTF-8.in: ...this.
26378 * localedata/sort-test.sh: Test file is locale name with the
26379 suffix.
26380
26381 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26382 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26383 file.
26384 * localedata/locales/i18n_ctype: Regenerate.
26385 * localedata/locales/tr_TR: Likewise.
26386 * localedata/locales/translit_circle: Likewise.
26387 * localedata/locales/translit_cjk_compat: Likewise.
26388 * localedata/locales/translit_combining: Likewise.
26389 * localedata/locales/translit_compat: Likewise.
26390 * localedata/locales/translit_font: Likewise.
26391 * localedata/locales/translit_fraction: Likewise.
26392
26393 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26394
26395 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26396 lxvd2x/stxvd2x with lvx/stvx.
26397 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26398
26399 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26400
26401 * include/alloc_buffer.h: Replace "if if " with "if " in
26402 comments.
26403 * sysdeps/mips/memcpy.S: Likkewise.
26404 * sysdeps/mips/memset.S: Likewise.
26405 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26406 Likewise.
26407 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26408 Likewise.
26409 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26410 Likewise.
26411
26412 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26413
26414 [BZ #15261]
26415 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26416 yesexpr and noexpr.
26417 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26418 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26419 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26420 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26421 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26422 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26423 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26424
26425 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26426
26427 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26428 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26429 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26430 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26431 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26432 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26433 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26434 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26435 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26436 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26437 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26438 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26439
26440 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26441
26442 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26443 as possible for better readability of the source.
26444 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26445 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26446 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26447 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26448 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26449 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26450 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26451 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26452 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26453 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26454 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26455 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26456 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26457 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26458 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26459 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26460 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26461 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26462 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26463 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26464 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26465 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26466 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26467 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26468 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26469 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26470 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26471 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26472 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26473 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26474 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26475 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26476 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26477 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26478 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26479 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26480 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26481 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26482 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26483 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26484 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26485 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26486 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26487 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26488 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26489 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26490 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26491 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26492 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26493 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26494 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26495 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26496 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26497 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26498 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26499 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26500 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26501 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26502 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26503 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26504 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26505 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26506 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26507 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26508 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26509 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26510 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26511 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26512 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26513 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26514 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26515 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26516 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26517 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26518 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26519 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26520 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26521 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26522 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26523 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26524 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26525 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26526 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26527 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26528 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26529 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26530 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26531 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26532 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26533 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26534 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26535 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26536 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26537 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26538 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26539 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26540 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26541 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26542 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26543 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26544 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26545 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26546 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26547 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26548 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26549 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26550 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26551 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26552 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26553 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26554 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26555 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26556 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26557 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26558 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26559 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26560 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26561 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26562 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26563 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26564 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26565 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26566 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26567 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26568 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26569 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26570 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26571 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26572 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26573 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26574 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26575 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26576 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26577 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26578 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26579 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26580 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26581 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26582 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26583 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26584 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26585 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26586 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26587 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26588 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26589 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26590 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26591 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26592 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26593 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26594 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26595 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26596 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26597 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26598 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26599 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26600 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26601 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26602 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26603 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26604 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26605 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26606 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26607 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26608 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26609 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26610 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26611 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26612 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26613 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26614 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26615 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26616 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26617 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26618
26619 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26620
26621 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26622 (Use first letters of yesstr and nostr correctly instead of using
26623 full words).
26624
26625 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26626
26627 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26628 (Use first letters of yesstr and nostr correctly).
26629
26630 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26631
26632 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26633 also check for the first characters of yesstr and nostr.
26634 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26635 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26636
26637 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26638
26639 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26640 also check for Chinese characters.
26641
26642 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26643
26644 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26645 match also for the contents of yesstr and nostr. As the first letter
26646 of yesstr and nostr is equal, checking only for the first letter
26647 is not enough.
26648
26649 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26650
26651 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26652 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26653
26654 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26655
26656 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26657 of main contributor.
26658
26659 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26660
26661 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26662 instead of using English.
26663
26664 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26665
26666 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26667 by including the first letters of nostr and yesexpr in the regexp.
26668 Also make it more readable by using ASCII where possible.
26669
26670 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26671
26672 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26673 the first letter of nostr in the regexp. It agrees with CLDR now.
26674 Also make it more readable by using ASCII where possible.
26675
26676 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26677
26678 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26679 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26680 these strings contain a U+17D6 (which somewhat looks like a colon)
26681 instead of a real colon to separate the full words for “yes”
26682 and “no” from the single letter responses.
26683
26684 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26685
26686 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26687 it agree with CLDR (include the first letter of yesstr).
26688 Also make it more readable by using ASCII where possible.
26689
26690 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26691
26692 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26693 and improve yesexpr and noexpr. The yesstr and nostr apparently
26694 came from CLDR. And CLDR has a bug there: these strings contain
26695 a U+0903 (which looks like a colon) instead of a real colon
26696 to separate the full words for “yes” and “no” from the single
26697 letter responses.
26698
26699 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26700
26701 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26702 letters of the full yesstr and nostr in yesexpr and noexpr.
26703
26704 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26705
26706 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26707 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26708 * localedata/locales/an_ES: Make source more readable by using ASCII
26709 where possible.
26710
26711 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26712
26713 [BZ #20952]
26714 * localedata/locales/yuw_PG: New file.
26715 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26716 * locale/iso-639.def: Add Yau (Uruwa).
26717
26718 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26719
26720 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26721
26722 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26723
26724 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26725 (__libc_realloc): Likewise.
26726 (_mid_memalign): Likewise.
26727 (__libc_calloc): Likewise.
26728
26729 2017-10-23 Mike FABIAN <mfabian@redhat.com>
26730
26731 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26732 by adding the generic +1 and -0 as in all other locales.
26733 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26734 day names and make it more readable by using ASCII where possible.
26735
26736 2017-10-24 Joseph Myers <joseph@codesourcery.com>
26737
26738 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26739 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26740
26741 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26742
26743 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26744 WNOHANG in waitpid call.
26745
26746 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26747
26748 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26749 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26750
26751 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26752 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26753 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26754 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26755 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26756 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26757 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26758 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26759 variables.
26760
26761 2017-10-23 Michael Collison <michael.collison@arm.com>
26762
26763 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26764 with __builtin_sqrt.
26765 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26766 with __builtin_sqrtf.
26767 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26768 with __builtin_ceil.
26769 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26770 with __builtin_ceilf.
26771 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26772 with __builtin_floor.
26773 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26774 with __builtin_floorf.
26775 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26776 with __builtin_fma.
26777 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26778 with __builtin_fmaf.
26779 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26780 with __builtin_fmax.
26781 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26782 with __builtin_fmaxf.
26783 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26784 with __builtin_fmin.
26785 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26786 with __builtin_fminf.
26787 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26788 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26789 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26790 with builtin_rint and conversion to int.
26791 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26792 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26793 with builtin_llround.
26794 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26795 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26796 with builtin_rint and conversion to long int.
26797 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26798 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26799 with builtin_lround.
26800 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26801 with builtin_lroundf.
26802 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26803 statements with __builtin_nearbyint.
26804 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26805 statements with __builtin_nearbyintf.
26806 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26807 with __builtin_rint.
26808 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26809 with __builtin_rintf.
26810 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26811 with __builtin_round.
26812 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26813 with __builtin_roundf.
26814 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26815 with __builtin_trunc.
26816 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26817 with __builtin_truncf.
26818 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26819 and s_l[l]round[f].c too.
26820
26821 2017-10-23 Alan Modra <amodra@gmail.com>
26822
26823 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26824 Adjust stack after restoring regs. Add missing LR cfi_restore.
26825
26826 2017-10-23 Alan Modra <amodra@gmail.com>
26827
26828 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26829 Move LR save and frame setup/teardown and LR restore to
26830 immediately around memset call. Provide cfi.
26831
26832 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26833
26834 * sysdeps/i386/fpu/e_powf.S: Removed.
26835 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26836 * sysdeps/i386/fpu/w_powf.c: Likewise.
26837 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26838 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26839 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26840 Add e_powf-sse2.
26841 (CFLAGS-e_powf-sse2.c): New.
26842 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26843 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26844
26845 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26846
26847 * sysdeps/i386/fpu/e_log2f.S: Removed.
26848 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26849 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26850 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26851 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26852 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26853 Add e_log2f-sse2.
26854 (CFLAGS-e_log2f-sse2.c): New.
26855 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26856 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26857
26858 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26859
26860 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26861 Add e_powf-fma.
26862 (CFLAGS-e_powf-fma.c): New.
26863 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26864 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26865
26866 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26867
26868 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26869 Add e_log2f-fma.
26870 (CFLAGS-e_log2f-fma.c): New.
26871 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26872 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26873
26874 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26875
26876 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26877 Add e_logf-fma.
26878 (CFLAGS-e_logf-fma.c): New.
26879 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26880 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26881
26882 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26883
26884 * sysdeps/i386/fpu/e_logf.S: Removed.
26885 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26886 * sysdeps/i386/fpu/w_logf.c: Likewise.
26887 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26888 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26889 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26890 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26891 Add e_logf-sse2.
26892 (CFLAGS-e_logf-sse2.c): New.
26893 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26894 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26895
26896 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26897
26898 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26899 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26900 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26901 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26902 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26903 Add e_exp2f-sse2.
26904 (CFLAGS-e_exp2f-sse2.c): New.
26905 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26906 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26907
26908 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26909
26910 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26911 Add e_exp2f-fma.
26912 (CFLAGS-e_exp2f-fma.c): New.
26913 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26914 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26915
26916 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26917
26918 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26919 * sysdeps/i386/fpu/e_expf.S: Likewise.
26920 * sysdeps/i386/fpu/math_errf.c: Likewise.
26921 * sysdeps/i386/fpu/w_expf.c: Likewise.
26922 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26923 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26924 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26925 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26926 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26927 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26928 Remove e_expf-ia32.
26929 (CFLAGS-e_expf-sse2.c): New.
26930 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26931 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26932
26933 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26934
26935 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26936 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26937 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26938 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26939 e_expf.c.
26940 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26941 New.
26942 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26943 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26944 Renamed to ...
26945 (__redirect_expf): This.
26946 (SYMBOL_NAME): Changed to expf.
26947 (__ieee754_expf): Renamed to ...
26948 (__expf): This.
26949 (__GI___expf): This.
26950 (__ieee754_expf): Add strong_alias.
26951 (__expf_finite): Likewise.
26952 (__expf): New.
26953 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26954
26955 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26956
26957 [BZ #22332]
26958 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26959 unescaping.
26960
26961 2017-10-21 Florian Weimer <fweimer@redhat.com>
26962
26963 * posix/Makefile (tests): Add tst-glob-tilde.
26964 (tests-special): Add tst-glob-tilde-mem.out
26965 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26966 (tst-glob-tilde-mem.out): Add mtrace check.
26967 * posix/tst-glob-tilde.c: New file.
26968
26969 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26970
26971 * bits/floatn-common.h: New file.
26972 * math/Makefile (headers): Add bits/floatn-common.h.
26973 * bits/floatn.h: Include <bits/floatn-common.h>.
26974 * sysdeps/ia64/bits/floatn.h: Likewise.
26975 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26976 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26977 * sysdeps/powerpc/bits/floatn.h: Likewise.
26978 * sysdeps/x86/bits/floatn.h: Likewise.
26979
26980 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26981
26982 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26983 indicates whether compiler emits an warning for alias for
26984 functions with incompatible types.
26985
26986 [BZ #22273]
26987 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26988 the auxiliary process is terminated by a signal before calling _exit
26989 or execve.
26990
26991 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26992
26993 [BZ #21265]
26994 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26995 New.
26996 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26997 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26998 and bit_arch_XSAVEC_Usable if needed.
26999 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27000 and bit_arch_Use_dl_runtime_resolve_opt.
27001 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27002 Removed.
27003 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27004 (bit_arch_Prefer_No_AVX512): Updated.
27005 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27006 (bit_arch_XSAVEC_Usable): New.
27007 (STATE_SAVE_OFFSET): Likewise.
27008 (STATE_SAVE_MASK): Likewise.
27009 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27010 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27011 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27012 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27013 (index_arch_XSAVEC_Usable): New.
27014 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27015 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27016 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27017 is enabled.
27018 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27019 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27020 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27021 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27022 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27023 _dl_runtime_resolve_xsavec.
27024 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27025 Removed.
27026 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27027 instead of VEC_SIZE.
27028 (REGISTER_SAVE_BND0): Removed.
27029 (REGISTER_SAVE_BND1): Likewise.
27030 (REGISTER_SAVE_BND3): Likewise.
27031 (REGISTER_SAVE_RAX): Always defined to 0.
27032 (VMOV): Removed.
27033 (_dl_runtime_resolve_avx): Likewise.
27034 (_dl_runtime_resolve_avx_slow): Likewise.
27035 (_dl_runtime_resolve_avx_opt): Likewise.
27036 (_dl_runtime_resolve_avx512): Likewise.
27037 (_dl_runtime_resolve_avx512_opt): Likewise.
27038 (_dl_runtime_resolve_sse): Likewise.
27039 (_dl_runtime_resolve_sse_vex): Likewise.
27040 (USE_FXSAVE): New.
27041 (_dl_runtime_resolve_fxsave): Likewise.
27042 (USE_XSAVE): Likewise.
27043 (_dl_runtime_resolve_xsave): Likewise.
27044 (USE_XSAVEC): Likewise.
27045 (_dl_runtime_resolve_xsavec): Likewise.
27046 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27047 Removed.
27048 (_dl_runtime_resolve_avx512_opt): Likewise.
27049 (_dl_runtime_resolve_avx): Likewise.
27050 (_dl_runtime_resolve_avx_opt): Likewise.
27051 (_dl_runtime_resolve_sse): Likewise.
27052 (_dl_runtime_resolve_sse_vex): Likewise.
27053 (_dl_runtime_resolve_fxsave): New.
27054 (_dl_runtime_resolve_xsave): Likewise.
27055 (_dl_runtime_resolve_xsavec): Likewise.
27056
27057 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
27058
27059 [BZ #22320]
27060 CVE-2017-15670
27061 * posix/glob.c (__glob): Fix one-byte overflow.
27062
27063 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27064
27065 * malloc/malloc.c (sysdep-cancel.h): Add include.
27066
27067 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27068
27069 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27070
27071 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27072
27073 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27074 (tests): Remove $(objpfx)ga_test depdendency.
27075 * resolv/ga_test.c: Remove file.
27076
27077 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27078
27079 [BZ #18812]
27080 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27081 * localedata/locales/kab_DZ: New file.
27082
27083 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27084
27085 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27086 _dl_relocate_static_pie instead of _dl_start to compute load
27087 address in static PIE.
27088
27089 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27090
27091 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27092
27093 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27094
27095 [BZ #13605]
27096 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27097 * localedata/locales/shn_MM: New file.
27098
27099 2017-10-20 Florian Weimer <fweimer@redhat.com>
27100
27101 [BZ #22321]
27102 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27103 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27104 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27105 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27106 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27107 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27108
27109 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27110
27111 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27112
27113 2017-10-19 Joseph Myers <joseph@codesourcery.com>
27114
27115 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27116
27117 [BZ #22322]
27118 * sysdeps/mips/bits/long-double.h: Move to ....
27119 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27120
27121 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27122
27123 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27124
27125 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
27126 H.J. Lu <hongjiu.lu@intel.com>
27127
27128 [BZ #22299]
27129 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27130 GLRO(dl_platform) to NULL.
27131 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27132 (modules-names): Add tst-platformmod-1 and
27133 x86_64/tst-platformmod-2.
27134 (CFLAGS-tst-platform-1.c): New.
27135 (CFLAGS-tst-platformmod-1.c): Likewise.
27136 (CFLAGS-tst-platformmod-2.c): Likewise.
27137 (LDFLAGS-tst-platformmod-2.so): Likewise.
27138 ($(objpfx)tst-platform-1): Likewise.
27139 ($(objpfx)tst-platform-1.out): Likewise.
27140 (tst-platform-1-ENV): Likewise.
27141 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27142 * sysdeps/x86_64/tst-platform-1.c: New file.
27143 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27144 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27145
27146 2017-10-19 Mike FABIAN <mfabian@redhat.com>
27147
27148 [BZ #13994]
27149 * locale/iso-639.def: Add Karbi.
27150 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27151 * localedata/locales/mjw_IN: New file.
27152
27153 2017-10-18 Joseph Myers <joseph@codesourcery.com>
27154
27155 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27156 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27157 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27158 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27159 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27160 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27161 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27162 <bits/floatn.h>.
27163 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27164 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27165 * manual/math.texi (Mathematics): Document additional architecture
27166 support for _Float128.
27167 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27168 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27169 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27170 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27171 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27172 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27173 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27174 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27175 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27176 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27177 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27178 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27179 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27180 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27181 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27182
27183 2017-10-18 Renlin Li <renlin.li@arm.com>
27184
27185 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27186 _DYNAMIC symbol to calculate load address.
27187
27188 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
27189
27190 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27191 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27192 summary bits.
27193 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27194 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27195
27196 2017-10-18 Mike FABIAN <mfabian@redhat.com>
27197
27198 [BZ #16777]
27199 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27200 and improve readability by using more ASCII.
27201 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27202 and improve readability by using more ASCII.
27203
27204 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27205
27206 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27207 not all targets support atomics on bool.
27208
27209 2017-10-17 Joseph Myers <joseph@codesourcery.com>
27210
27211 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27212 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27213 __f128.
27214 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27215 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27216 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27217 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27218 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27219 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27220
27221 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27222
27223 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27224 defines.
27225
27226 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27227
27228 [BZ #22159]
27229 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27230 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27231 (do_check_remalloced_chunk): Fix build bug.
27232 (do_check_malloc_state): Add assert that checks arena->top.
27233 (malloc_consolidate): Remove initialization.
27234 (int_mallinfo): Remove call to malloc_consolidate.
27235 (__libc_mallopt): Clarify why malloc_consolidate is needed.
27236
27237 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27238
27239 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27240 (have_fastchunks): Remove.
27241 (clear_fastchunks): Remove.
27242 (set_fastchunks): Remove.
27243 (malloc_state): Add have_fastchunks.
27244 (malloc_init_state): Use have_fastchunks.
27245 (do_check_malloc_state): Remove incorrect invariant checks.
27246 (_int_malloc): Use have_fastchunks.
27247 (_int_free): Likewise.
27248 (malloc_consolidate): Likewise.
27249
27250 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27251
27252 * malloc/malloc.c (tcache_put): Inline.
27253 (tcache_get): Inline.
27254
27255 2017-10-17 Jordi Mallach <jordi@gnu.org>
27256
27257 Aurelien Jarno <aurelien@aurel32.net>
27258 [BZ #2522]
27259 * localedata/locales/ca_ES@valencia: New file.
27260 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27261
27262 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27263
27264 [BZ #22296]
27265 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27266 < 6.x
27267
27268 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27269
27270 * scripts/build-many-glibcs.py (Context.add_all_configs):
27271 Add arm-linux-gnueabihf multiarch extra_glibcs.
27272
27273 * sysdeps/generic/ifunc-init.h: New file.
27274 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27275
27276 2017-10-17 Mike FABIAN <mfabian@redhat.com>
27277
27278 [BZ #22019]
27279 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27280 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27281 * stdlib/tst-strfmon_l.c: adapt test case.
27282
27283 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27284
27285 * sysdeps/generic/float128-abi.h: New file.
27286 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27287 non-__prefixed symbols to ....
27288 * math/Versions: ... here. Include <float128-abi.h>.
27289 * stdlib/Versions ... and here. Include <float128-abi.h>
27290
27291 2017-10-16 Florian Weimer <fweimer@redhat.com>
27292
27293 * version.h (VERSION): Switch to ".9000" as the development
27294 version suffix.
27295
27296 2017-10-16 Florian Weimer <fweimer@redhat.com>
27297
27298 [BZ #22050]
27299 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27300 compat_symbol_reference to access non-default version.
27301
27302 2017-10-16 Florian Weimer <fweimer@redhat.com>
27303
27304 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27305
27306 2017-10-16 Carlos O'Donell <carlos@redhat.com>
27307
27308 * include/shlib-compat.h (compat_symbol_reference): Update
27309 comment.
27310
27311 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27312
27313 * math/Makefile (test-types): Add
27314 $(type-float128-$(float128-alias-fcts)).
27315 * math/test-float128.h (TYPE_STR): Define conditional on
27316 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27317 (ULP_IDX): Likewise.
27318 (ULP_I_IDX): Likewise.
27319
27320 * stdlib/strtold.c: Include <bits/floatn.h>
27321 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27322 and later undefine as macro. Define as weak alias if
27323 [!USE_WIDE_CHAR].
27324 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27325 and later undefine as macro. Define as weak alias if
27326 [USE_WIDE_CHAR].
27327 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27328 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27329 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27330 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27331 Define and later undefine as macro. Define as weak alias if
27332 [USE_WIDE_CHAR].
27333 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27334 <bits/floatn.h>.
27335 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27336 Define and later undefine as macro. Define as weak alias if
27337 [!USE_WIDE_CHAR].
27338 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27339 Define and later undefine as macro. Define as weak alias if
27340 [USE_WIDE_CHAR].
27341
27342 2017-10-15 Carlos O'Donell <carlos@redhat.com>
27343
27344 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27345 record_verbose messages.
27346
27347 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27348
27349 [BZ #22052]
27350 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27351 to silence -O3 -Wall warning with GCC 7.
27352
27353 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27354
27355 * Makeconfig (+link-static-before-libc): Use the first of
27356 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27357 * gmon/Makefile (tests): Add tst-gmon-static.
27358 (tests-static): Likewise.
27359 (CFLAGS-tst-gmon-static.c): New.
27360 (CRT-tst-gmon-static): Likewise.
27361 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27362 (tst-gmon-static-ENV): Likewise.
27363 (tests-special): Likewise.
27364 ($(objpfx)tst-gmon-static.out): Likewise.
27365 (clean-tst-gmon-static-data): Likewise.
27366 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27367 * gmon/tst-gmon-static-gprof.sh: New file.
27368 * gmon/tst-gmon-static.c: Likewise.
27369
27370 2017-10-13 Carlos O'Donell <carlos@redhat.com>
27371
27372 [BZ #22295]
27373 * locale/programs/linereader.c (get_string): Don't warn on
27374 non-symbolic character.
27375
27376 [BZ #22294]
27377 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27378 int_curr_symbol.
27379
27380 [BZ #22292]
27381 * locale/programs/record-status.h: New file
27382 * locale/programs/locale.c: Add comment.
27383 * locale/programs/charmap-dir.c: Don't include error.h.
27384 (charmap_opendir): Use record_error.
27385 * locale/programs/charmap.c: Don't include error.h.
27386 (charmap_read): Use record_error, and record_warning.
27387 (parse_charmap): Likewise.
27388 * locale/programs/ld-address.c: Don't include error.h.
27389 (address_finish): Use record_error, and record_warning.
27390 * locale/programs/ld-collate.c: Don't include error.h.
27391 (collate_finish): Use record_error, and record_error_at_line.
27392 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27393 (ctype_class_new): Likewise.
27394 (ctype_map_new): Likewise.
27395 (set_one_default): Likewise.
27396 (set_class_defaults): Likewise.
27397 (translit_flatten): Likewise.
27398 (allocate_arrays): Use record_error, and record_verbose.
27399 * locale/programs/ld-identification.c: Don't include error.h.
27400 (indentation_finish): Use record_error and record_warning.
27401 * locale/programs/ld-measurement.c: Don't include error.h.
27402 (measurement_finish): Use record_error.
27403 * locale/programs/ld-messages.c
27404 (message_finish): Likewise.
27405 * locale/programs/ld-monetary.c
27406 (monetary_finish): Likewise.
27407 * locale/programs/ld-name.c (name_finish): Use record_error
27408 and record_warning.
27409 * locale/programs/ld-numeric.c
27410 (numeric_finish): Use record_error.
27411 * locale/programs/ld-paper.c: Don't include error.h.
27412 (paper_finish): Use record_error.
27413 * locale/programs/ld-telephone.c: Don't include error.h.
27414 (telephone_finish): Use record_error.
27415 * locale/programs/ld-time.c (time_finish): Likewise.
27416 * locale/programs/linereader.h (lr_error): Make inline func.
27417 * locale/programs/localedef.c: Define recorded_warning_count,
27418 and recorded_error_count.
27419 (main): Use record_error. Use recorded_error_count and
27420 recorded_warning_count to issue correct error returns.
27421 (add_to_readlist): Use record_error.
27422 (find_locale): Likewise.
27423 (load_locale): Likewise.
27424 * locale/programs/localedef.h: Remove be_quiet
27425 and WITH_CUR_LOCALE.
27426 * locale/programs/locarchive.c (compare_from_file): Use
27427 record_error.
27428 * locale/programs/locfile.c (write_locale_data): Use
27429 record_error.
27430 * locale/programs/repertoire.c: Dont include error.h.
27431 (repertoire_complain): Use record_error.
27432 * localedata/tst-fmon.sh: Expect failures from localedef.
27433 * localedata/tst-locale.sh: Likewise.
27434 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27435
27436 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27437 (REPORTS): Likewise.
27438 (check): Likewise.
27439 (i18n): Rename to...
27440 (i18n_ctype): ...this.
27441 (i18n-report): Rename to...
27442 (i18n_ctype-report): ...this.
27443 * localedata/locales/i18n_ctype: Regenerate.
27444 * localedata/locales/i18n: copy i18n_ctype.
27445
27446 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27447
27448 * stdlib/strfroml.c: Include <bits/floatn.h>.
27449 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27450 Define before include of <stdlib.h> and undefine afterwards, then
27451 define as weak alias.
27452
27453 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27454 Undefine and restore default definition. Use
27455 libm_alias_ldouble_other.
27456
27457 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27458
27459 [BZ #22153]
27460 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27461 in coredumps.
27462
27463 2017-10-13 James Clarke <jrtc27@jrtc27.com>
27464
27465 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27466 Assign sym_map to be map for local symbols, as TLS relocations
27467 use sym_map to determine whether the symbol is defined and to
27468 extract the TLS information.
27469 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27470 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27471
27472 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27473
27474 [BZ #22189]
27475 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27476 (math_force_eval): Add powerpc version.
27477
27478 [BZ #22142]
27479 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27480 -DBL_MAX.
27481 (do_test): Likewise.
27482 * stdio-common/tst-printf.sh: Likewise.
27483 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27484 ifdef clause in order to set the carry bit right. Replace r0 by
27485 0 without changing the behavior.
27486
27487 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27488
27489 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27490 <libm-alias-ldouble.h>.
27491 (fabsl): Define using libm_alias_ldouble.
27492 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27493 <libm-alias-ldouble.h>.
27494 (fabsl): Define using libm_alias_ldouble.
27495
27496 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27497 Remove conditional code.
27498
27499 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27500 Rename to __clog10_internal_l.
27501 (__clog10_internal_l): Define aliases using
27502 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27503 with __clog10.
27504
27505 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27506
27507 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27508 * benchtests/sincosf-inputs: New file.
27509 * benchtests/cosf-inputs: New file.
27510 * benchtests/sinf-inputs: New file.
27511
27512 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27513
27514 * posix/tst-spawn.c (do_test): Wait for both children.
27515
27516 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27517
27518 [BZ #22284]
27519 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27520 tests-pie): Add tst-gmon-pie.
27521 (CFLAGS-tst-gmon-pie.c): New.
27522 (CRT-tst-gmon-pie): Likewise.
27523 (tst-gmon-pie-ENV): Likewise.
27524 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27525 ($(objpfx)tst-gmon-pie.out): Likewise.
27526 (clean-tst-gmon-pie-data): Likewise.
27527 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27528 * gmon/gmon.c [PIC]: Include <link.h>.
27529 [PIC] (callback): New function.
27530 (write_hist): Add an argument for load address. Subtract load
27531 address from PCs.
27532 (write_call_graph): Likewise.
27533 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27534 it to write_hist and write_call_graph.
27535 * gmon/tst-gmon-pie.c: New file.
27536
27537 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27538
27539 * math/Makefile (test-types-basic): New variable.
27540 (test-types): Likewise.
27541 (libm-test-support): Use $(test-types) instead of $(types).
27542 (libm-tests-base-normal): Likewise.
27543 (libm-tests-base-finite): Likewise.
27544 (libm-tests-base-inline): Likewise.
27545 (generated): Likewise.
27546 ($(objpfx)libm-test-support-$(t).c): Likewise.
27547 (libm-tests-for-type iterator): Likewise.
27548 (libm-test-support iterator): Likewise.
27549 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27550 (ulp_idx): Use ULP_IDX.
27551 * math/test-ldouble.h: Include <float.h>.
27552 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27553 (ULP_IDX): New macro.
27554 (ULP_I_IDX): Likewise.
27555 * math/test-double.h (ULP_IDX): Likewise.
27556 (ULP_I_IDX): Likewise.
27557 * math/test-float.h (ULP_IDX): Likewise.
27558 (ULP_I_IDX): Likewise.
27559 * math/test-float128.h (ULP_IDX): Likewise.
27560 (ULP_I_IDX): Likewise.
27561
27562 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27563
27564 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27565 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27566 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27567 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27568 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27569 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27570 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27571 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27572 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27573 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27574 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27575 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27576 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27577 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27578 (SINGLE_THREAD_BY_GLOBAL): Define.
27579 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27580 Likewise.
27581 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27582 Likewise.
27583 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27584 Likewise.
27585 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27586 Likewise.
27587 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27588 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27590 Likewise.
27591
27592 2017-10-11 Andreas Schwab <schwab@suse.de>
27593
27594 * nis/Makefile (aux): Remove.
27595 * nscd/Makefile (aux): Add nscd_hash.
27596 (nscd-modules): Likewise.
27597 ($(objpfx)nscd): Don't depend on libnsl.
27598 * nscd/nscd_hash.c: New file.
27599 * nscd/nscd_hash.h: Likewise.
27600 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27601 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27602 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27603 instead of <nis/rpcsvc/nis.h>.
27604 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27605
27606 2017-10-11 Florian Weimer <fweimer@redhat.com>
27607
27608 [BZ #22078]
27609 Avoid large NSS buffers with many addresses, aliases.
27610 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27611 using dynarrays and struct alloc_buffer.
27612 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27613 (tst-nss-files-hosts-multi): Link with -ldl.
27614 * nss/tst-nss-files-hosts-multi.c: New file.
27615
27616 2017-10-11 Florian Weimer <fweimer@redhat.com>
27617
27618 [BZ #18023]
27619 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27620 scratch_buffer. Eliminate gotos.
27621
27622 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27623
27624 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27625 libm_alias_ldouble_other.
27626 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27627 undefine and redefine.
27628 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27629 (exp10l): Do not define here.
27630 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27631 (weak_alias): Undefine and redefine.
27632 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27633 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27634 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27635 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27636
27637 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27638 [!__fma] (fma): Define using libm_alias_double.
27639 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27640 [!__fmaf] (fmaf): Define using libm_alias_float.
27641 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27642 (fmal): Define using libm_alias_ldouble.
27643
27644 2017-10-10 Joseph Myers <joseph@codesourcery.com>
27645
27646 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27647 New macro.
27648 (libm_alias_double_other): Likewise.
27649 (libm_alias_double_r): Use libm_alias_double_other_r.
27650 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27651 New macro.
27652 (libm_alias_float_other): Likewise.
27653 (libm_alias_float_r): Use libm_alias_float_other_r.
27654 * sysdeps/generic/libm-alias-float128.h
27655 (libm_alias_float128_other_r): New macro.
27656 (libm_alias_float128_other): Likewise.
27657 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27658 * sysdeps/generic/libm-alias-ldouble.h
27659 (libm_alias_ldouble_other_r): New macro.
27660 (libm_alias_ldouble_other): Likewise.
27661 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27662 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27663 (libm_alias_double_other_r): New macro.
27664 (libm_alias_double_other): Likewise.
27665 (libm_alias_double_r): Use libm_alias_double_other_r.
27666 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27667 (libm_alias_ldouble_other_r): New macro.
27668 (libm_alias_ldouble_other): Likewise.
27669 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27670 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27671 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27672 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27673 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27674 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27675 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27676 * math/w_exp2f.c: Use libm_alias_float_other.
27677 * math/w_expf.c: Likewise.
27678 * math/w_log2f.c: Likewise.
27679 * math/w_logf.c: Likewise.
27680 * math/w_powf.c: Likewise.
27681 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27682 [!__exp2f]: Use libm_alias_float_other.
27683 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27684 [!__expf]: Use libm_alias_float_other.
27685 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27686 [!__log2f]: Use libm_alias_float_other.
27687 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27688 [!__logf]: Use libm_alias_float_other.
27689 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27690 [!__powf]: Use libm_alias_float_other.
27691
27692 2017-10-10 Florian Weimer <fweimer@redhat.com>
27693
27694 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27695 function.
27696 (_nss_files_gethostbyname3_r): Call it.
27697
27698 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27699
27700 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27701 error. Remove default definition of declare_mgen_alias.
27702 [!declare_mgen_alias_r]: Likewise.
27703 * sysdeps/generic/math-type-macros-double.h
27704 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27705 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27706 (declare_mgen_alias_r): Likewise.
27707 * sysdeps/generic/math-type-macros-float128.h
27708 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27709 * sysdeps/generic/math-type-macros-ldouble.h
27710 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27711 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27712 macro.
27713 (declare_mgen_alias_r_s): Likewise.
27714 (declare_mgen_alias_r): Likewise.
27715 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27716 (lgamma_r): Define using libm_alias_double_r.
27717 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27718 (lgammaf_r): Define using libm_alias_float_r.
27719 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27720 (lgammal_r): Define using libm_alias_ldouble_r.
27721 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27722 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27723
27724 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27725
27726 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27727 extern declaration.
27728
27729 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27730
27731 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27732
27733 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
27734
27735 [BZ #21326]
27736 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27737 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27738 * math/Makefile (test-math-cxx11): New test.
27739 * math/test-math-cxx11.cc: New file.
27740
27741 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27742
27743 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27744
27745 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27746 call to allocate the slave pty file descriptor.
27747
27748 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27749
27750 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27751 [!__fma] (fma): Define using libm_alias_double.
27752 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27753 [!__fma] (fma): Define using libm_alias_double.
27754
27755 * sysdeps/ieee754/float128/float128_private.h: Include
27756 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27757 (libm_alias_ldouble_r): Undefine and redefine.
27758 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27759 <libm-alias-ldouble.h>.
27760 (asinhl): Define using libm_alias_ldouble.
27761 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27762 <libm-alias-ldouble.h>.
27763 (atanl): Define using libm_alias_ldouble.
27764 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27765 <libm-alias-ldouble.h>.
27766 (cbrtl): Define using libm_alias_ldouble.
27767 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27768 <libm-alias-ldouble.h>.
27769 (ceill): Define using libm_alias_ldouble.
27770 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27771 <libm-alias-ldouble.h>.
27772 (copysignl): Define using libm_alias_ldouble.
27773 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27774 <libm-alias-ldouble.h>.
27775 (cosl): Define using libm_alias_ldouble.
27776 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27777 <libm-alias-ldouble.h>.
27778 (erfl): Define using libm_alias_ldouble.
27779 (erfcl): Likewise.
27780 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27781 <libm-alias-ldouble.h>.
27782 (expm1l): Define using libm_alias_ldouble.
27783 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27784 <libm-alias-ldouble.h>.
27785 (fabsl): Define using libm_alias_ldouble.
27786 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27787 <libm-alias-ldouble.h>.
27788 (floorl): Define using libm_alias_ldouble.
27789 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27790 <libm-alias-ldouble.h>.
27791 (fmal): Define using libm_alias_ldouble.
27792 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27793 <libm-alias-ldouble.h>.
27794 (frexpl): Define using libm_alias_ldouble.
27795 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27796 libm_alias_ldouble.
27797 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27798 <libm-alias-ldouble.h>.
27799 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27800 libm_alias_ldouble.
27801 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27802 <libm-alias-ldouble.h>.
27803 (getpayloadl): Define using libm_alias_ldouble.
27804 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27805 <libm-alias-ldouble.h>.
27806 (llrintl): Define using libm_alias_ldouble.
27807 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27808 <libm-alias-ldouble.h>.
27809 (llroundl): Define using libm_alias_ldouble.
27810 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27811 <libm-alias-ldouble.h>.
27812 (logbl): Define using libm_alias_ldouble.
27813 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27814 <libm-alias-ldouble.h>.
27815 (lrintl): Define using libm_alias_ldouble.
27816 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27817 <libm-alias-ldouble.h>.
27818 (lroundl): Define using libm_alias_ldouble.
27819 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27820 <libm-alias-ldouble.h>.
27821 (modfl): Define using libm_alias_ldouble.
27822 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27823 <libm-alias-ldouble.h>.
27824 (nearbyintl): Define using libm_alias_ldouble.
27825 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27826 <libm-alias-ldouble.h>.
27827 (nextafterl): Define using libm_alias_ldouble.
27828 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27829 <libm-alias-ldouble.h>.
27830 (nextupl): Define using libm_alias_ldouble.
27831 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27832 <libm-alias-ldouble.h>.
27833 (remquol): Define using libm_alias_ldouble.
27834 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27835 <libm-alias-ldouble.h>.
27836 (rintl): Define using libm_alias_ldouble.
27837 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27838 <libm-alias-ldouble.h>.
27839 (roundevenl): Define using libm_alias_ldouble.
27840 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27841 <libm-alias-ldouble.h>.
27842 (roundl): Define using libm_alias_ldouble.
27843 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27844 using libm_alias_ldouble.
27845 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27846 <libm-alias-ldouble.h>.
27847 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27848 Define using libm_alias_ldouble.
27849 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27850 <libm-alias-ldouble.h>.
27851 (sincosl): Define using libm_alias_ldouble.
27852 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27853 <libm-alias-ldouble.h>.
27854 (sinl): Define using libm_alias_ldouble.
27855 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27856 <libm-alias-ldouble.h>.
27857 (tanhl): Define using libm_alias_ldouble.
27858 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27859 <libm-alias-ldouble.h>.
27860 (tanl): Define using libm_alias_ldouble.
27861 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27862 <libm-alias-ldouble.h>.
27863 (totalorderl): Define using libm_alias_ldouble.
27864 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27865 <libm-alias-ldouble.h>.
27866 (totalordermagl): Define using libm_alias_ldouble.
27867 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27868 <libm-alias-ldouble.h>.
27869 (truncl): Define using libm_alias_ldouble.
27870 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27871 libm_alias_ldouble.
27872 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27873 libm_alias_ldouble.
27874 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27875 <libm-alias-ldouble.h>.
27876 (weak_alias): Do not undefine and redefine.
27877 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27878 (copysignl): Define with long_double_symbol only if [IS_IN
27879 (libc)].
27880 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27881 <libm-alias-ldouble.h>.
27882 (weak_alias): Do not undefine and redefine.
27883 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27884 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27885 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27886 <libm-alias-ldouble.h>.
27887 (weak_alias): Do not undefine and redefine.
27888 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27889 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27890 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27891 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27892 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27893 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27894 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27895 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27896 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27897 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27898 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27899 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27900 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27901 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27902 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27903 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27904 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27905 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27906 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27907 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27908 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27909 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27910 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27911 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27912 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27913 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27914
27915 2017-10-06 Carlos O'Donell <carlos@redhat.com>
27916
27917 [BZ #22111]
27918 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27919 (tcache_thread_freeres): Set tcache_shutting_down before
27920 freeing the tcache.
27921 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27922 * malloc/tst-malloc-tcache-leak.c: New file.
27923
27924 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27925
27926 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27927 back to powerpc32 file.
27928 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27929 (memrchr): Add __memrchr_power8 to ifunc list.
27930 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27931 extra bytes for unaligned inputs.
27932
27933 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27934
27935 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27936 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27937 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27938 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27939 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27940
27941 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27942
27943 * sysdeps/arm/libm-test-ulps: Update.
27944
27945 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27946 <libm-alias-ldouble.h>.
27947 (asinhl): Define using libm_alias_ldouble.
27948 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27949 <libm-alias-ldouble.h>.
27950 (cbrtl): Define using libm_alias_ldouble.
27951 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27952 <libm-alias-ldouble.h>.
27953 (copysignl): Define using libm_alias_ldouble.
27954 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27955 <libm-alias-ldouble.h>.
27956 (cosl): Define using libm_alias_ldouble.
27957 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27958 <libm-alias-ldouble.h>.
27959 (erfl): Define using libm_alias_ldouble.
27960 (erfcl): Likewise.
27961 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27962 <libm-alias-ldouble.h>.
27963 (fmal): Define using libm_alias_ldouble.
27964 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27965 <libm-alias-ldouble.h>.
27966 (frexpl): Define using libm_alias_ldouble.
27967 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27968 libm_alias_ldouble.
27969 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27970 <libm-alias-ldouble.h>.
27971 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27972 libm_alias_ldouble.
27973 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27974 <libm-alias-ldouble.h>.
27975 (getpayloadl): Define using libm_alias_ldouble.
27976 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27977 <libm-alias-ldouble.h>.
27978 (llrintl): Define using libm_alias_ldouble.
27979 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27980 <libm-alias-ldouble.h>.
27981 (llroundl): Define using libm_alias_ldouble.
27982 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27983 <libm-alias-ldouble.h>.
27984 (lrintl): Define using libm_alias_ldouble.
27985 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27986 <libm-alias-ldouble.h>.
27987 (lroundl): Define using libm_alias_ldouble.
27988 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27989 <libm-alias-ldouble.h>.
27990 (modfl): Define using libm_alias_ldouble.
27991 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27992 <libm-alias-ldouble.h>.
27993 (nextupl): Define using libm_alias_ldouble.
27994 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27995 <libm-alias-ldouble.h>.
27996 (remquol): Define using libm_alias_ldouble.
27997 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27998 <libm-alias-ldouble.h>.
27999 (roundevenl): Define using libm_alias_ldouble.
28000 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28001 <libm-alias-ldouble.h>.
28002 (roundl): Define using libm_alias_ldouble.
28003 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28004 using libm_alias_ldouble.
28005 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28006 <libm-alias-ldouble.h>.
28007 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28008 <libm-alias-ldouble.h>.
28009 (setpayloadsigl): Define using libm_alias_ldouble.
28010 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28011 <libm-alias-ldouble.h>.
28012 (sincosl): Define using libm_alias_ldouble.
28013 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28014 <libm-alias-ldouble.h>.
28015 (sinl): Define using libm_alias_ldouble.
28016 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28017 <libm-alias-ldouble.h>.
28018 (tanhl): Define using libm_alias_ldouble.
28019 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28020 <libm-alias-ldouble.h>.
28021 (tanl): Define using libm_alias_ldouble.
28022 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28023 <libm-alias-ldouble.h>.
28024 (totalorderl): Define using libm_alias_ldouble.
28025 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28026 <libm-alias-ldouble.h>.
28027 (totalordermagl): Define using libm_alias_ldouble.
28028 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28029 libm_alias_ldouble.
28030 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28031 libm_alias_ldouble.
28032
28033 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28034
28035 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28036 memmove_falkor.
28037 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28038 (__libc_ifunc_impl_list): Likewise.
28039 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28040 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28041
28042 * benchtests/bench-memmove-walk.c: New file.
28043 * benchtests/Makefile (string-benchset): Add it.
28044
28045 * benchtests/bench-memset-walk.c: New file.
28046 * benchtests/Makefile (string-benchset): Add it.
28047
28048 * benchtests/bench-memcpy-walk.c: New file.
28049 * benchtests/Makefile (string-benchset): Add it.
28050
28051 2017-10-05 Florian Weimer <fweimer@redhat.com>
28052
28053 nscd: Eliminate compilation time dependency in the build output.
28054 * nscd/nscd_stat.c (STATDATA_VERSION)
28055 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28056 (STATDATA_VERSION_FULL): New macro definitions.
28057 (compilation): Remove.
28058 (struct statdata): Adjust version member.
28059 (send_stats): Set version from STATDATA_VERSION_FULL.
28060 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28061
28062 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28063
28064 * configure.ac (--enable-add-ons): Remove option.
28065 (machine): Do not mention add-ons in comment.
28066 (LIBC_PRECONFIGURE): Likewise.
28067 (add_ons): Remove variable and sanity checks and logic to locate
28068 add-ons.
28069 (add_ons_automatic): Remove variable.
28070 (configured_add_ons): Likewise.
28071 (add_ons_sfx): Likewise.
28072 (add_ons_pfx): Likewise.
28073 (add_on_subdirs): Likewise.
28074 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28075 consideration of add-ons in Implies handling.
28076 (sysdeps_add_ons): Likewise.
28077 * configure: Regenerated.
28078 * libidn/configure.ac: Remove.
28079 * libidn/configure: Likewise.
28080 * sysdeps/unix/inet/configure.ac: New file.
28081 * sysdeps/unix/inet/configure: New generated file.
28082 * sysdeps/unix/inet/Subdirs: Add libidn.
28083 * Makeconfig (sysdeps-srcdirs): Remove variable.
28084 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28085 ($(common-objpfx)config.status): Do not depend on add-on files.
28086 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28087 comment.
28088 (all-subdirs): Do not include $(add-on-subdirs).
28089 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28090 * config.make.in (add-ons): Remove variable.
28091 (add-on-subdirs): Likewise.
28092 (sysdeps-add-ons): Likewise.
28093 * manual/Makefile (add-chapters): Remove.
28094 ($(objpfx)texis): Do not depend on $(add-chapters).
28095 (nonexamples): Do not handle $(add-chapters).
28096 (examples): Do not handle $(add-ons).
28097 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28098 libc-texinfo.sh.
28099 * manual/install.texi (Installation): Do not mention add-ons.
28100 (--enable-add-ons): Do not document configure option.
28101 * INSTALL: Regenerated.
28102 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28103 * manual/maint.texi (Hierarchy Conventions): Do not mention
28104 add-ons.
28105 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28106 --enable-add-ons.
28107 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28108 add-ons.
28109 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28110 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28111
28112 2017-10-05 Andreas Schwab <schwab@suse.de>
28113
28114 [BZ #15142]
28115 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28116 (_IO_flush_all_lockp): Always lock list_all_lock.
28117 (_IO_flush_all_linebuffered): Likewise.
28118 (_IO_unbuffer_all): Likewise.
28119
28120 2017-10-05 Florian Weimer <fweimer@redhat.com>
28121
28122 [BZ #15436]
28123 Do not flush stdio streams on abort.
28124 * stdlib/abort.c (fflush): Remove macro definition.
28125 (abort): Remove stages related to stdio flushing.
28126
28127 2017-10-05 Florian Weimer <fweimer@redhat.com>
28128
28129 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28130
28131 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28132
28133 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28134
28135 2017-10-05 Florian Weimer <fweimer@redhat.com>
28136
28137 * support/support_format_hostent.c (support_format_hostent): Add
28138 more error information for NETDB_INTERNAL.
28139
28140 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28141
28142 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28143 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28144 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28145 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28146 AC_DEFINE if multi-arch is enabled.
28147 * sysdeps/i386/configure: Regenerated.
28148
28149 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28150
28151 * Makeconfig (+link-static-before-libc): Use
28152 $(DEFAULT-LDFLAGS-$(@F)).
28153 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28154 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28155 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28156
28157 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28158
28159 * elf/Makefile (tests): Add tst-main1.
28160 (modules-names): Add tst-main1mod.
28161 ($(objpfx)tst-main1): New.
28162 (CRT-tst-main1): Likewise.
28163 (LDFLAGS-tst-main1): Likewise.
28164 (LDLIBS-tst-main1): Likewise.
28165 (tst-main1mod.so-no-z-defs): Likewise.
28166 * elf/tst-main1.c: New file.
28167 * elf/tst-main1mod.c: Likewise.
28168
28169 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28170
28171 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28172
28173 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28174
28175 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28176 (fma): Define using libm_alias_double.
28177 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28178 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28179 <math_ldbl_opt.h>.
28180 (fmal): Do not define as compat symbol here.
28181 * sysdeps/alpha/fpu/s_fma.c: New file.
28182
28183 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28184
28185 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28186
28187 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28188
28189 [BZ #22229]
28190 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28191 <math_ldbl_opt.h>
28192 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28193 and libc.
28194 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28195 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28196 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28197 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28199 Include <math_ldbl_opt.h>
28200 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28201 and libc.
28202 (compat_symbol): Undefine and redefine.
28203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28204 <math_ldbl_opt.h>
28205 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28206 (compat_symbol): Undefine and redefine.
28207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28208 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28209 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28210 GLIBC_2_1 for libm.
28211 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28212 GLIBC_2.0 copysignl symbol.
28213 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28214 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28215
28216 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28217
28218 2017-10-04 Florian Weimer <fweimer@redhat.com>
28219
28220 * scripts/check-local-headers.sh: Ignore nspr4 header file
28221 directory in addition to nspr.
28222
28223 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
28224
28225 [BZ #17956]
28226 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28227 * configure: Regenerate.
28228 * crypt/Makefile (nss-cpp-flags): New variable.
28229 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28230 (CPPFLAGS-md5-crypt.c): Use it.
28231 * scripts/check-local-headers.sh: Ignore nspr header file
28232 directory.
28233
28234 2017-10-04 Andreas Schwab <schwab@suse.de>
28235
28236 * nis/Makefile (services): Remove compat.
28237 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28238 ($(objpfx)libnss_compat.so): Remove rule.
28239 * nis/Versions (libnss_compat): Remove.
28240 * nss/Makefile (services): Add compat.
28241 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28242 * nss/Versions (libnss_compat): Define.
28243 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28244 Don't include <rpc/types.h>. Replace bool_t by bool.
28245 * nss/nss_compat/compat-initgroups.c: Likewise.
28246 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28247 instead of <rpcsrv/ypclnt.h>.
28248 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28249 yp_get_default_domain.
28250 * nss/nss_compat/compat-pwd.c: Likewise.
28251 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28252 yp_get_default_domain.
28253 * nss/nss_compat/nisdomain.c: New file.
28254 * nss/nss_compat/nisdomain.h: Likewise.
28255
28256 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28257
28258 [BZ #22244]
28259 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28260 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28261
28262 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28263
28264 [BZ #22243]
28265 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28266 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28267
28268 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28269
28270 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28271 "movl main@GOTOFF(%ebx), %eax".
28272
28273 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28274
28275 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28276 allow undefined _DYNAMIC in PIE libc.a.
28277 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28278 Likewse.
28279
28280 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28281
28282 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28283 check _DYNAMIC.
28284
28285 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28286
28287 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28288 check _DYNAMIC.
28289
28290 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28291
28292 * math/test-math-iscanonical.cc (error): Replace bool with int.
28293
28294 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28295
28296 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28297 (modf): Define using libm_alias_double, only if [!__modf].
28298 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28299 <libm-alias-double.h>.
28300 (modf): Define using libm_alias_double, only if [!__modf].
28301 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28302 compat symbol here.
28303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28304 (weak_alias): Do not undefine and redefine.
28305 (strong_alias): Likewise.
28306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28307 (weak_alias): Likewise.
28308 (strong_alias): Likewise.
28309
28310 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28311 (logb): Define using libm_alias_double, only if [!__logb].
28312 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28313 <libm-alias-double.h>.
28314 (logb): Define using libm_alias_double, only if [!__logb].
28315 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28317 (weak_alias): Do not undefine and redefine.
28318 (strong_alias): Likewise.
28319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28320 (weak_alias): Likewise.
28321 (strong_alias): Likewise.
28322
28323 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28324
28325 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28326 Check SHARED instead PIC.
28327
28328 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28329
28330 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28331 [!__fmaf] (fmaf): Define using libm_alias_float.
28332
28333 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28334 (frexp): Define using libm_alias_double.
28335 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28336 <libm-alias-double.h>.
28337 (frexp): Define using libm_alias_double.
28338 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28339 compat symbol here.
28340
28341 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28342
28343 [BZ #22235]
28344 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28345 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28346 (CFLAGS-test-math-iscanonical.cc): New variable.
28347 * math/test-math-iscanonical.cc: New file.
28348 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28349 Provide a C++ implementation based on function overloading,
28350 rather than using __MATH_TG, which uses C-only builtins.
28351 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28352 Likewise.
28353 * sysdeps/powerpc/powerpc64le/Makefile
28354 (CFLAGS-test-math-iscanonical.cc): New variable.
28355
28356 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28357
28358 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28359 (ceil): Define using libm_alias_double.
28360 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28361 (floor): Define using libm_alias_double.
28362 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28363 <libm-alias-double.h>.
28364 (llround): Define using libm_alias_double.
28365 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28366 <libm-alias-double.h>.
28367 (lround): Define using libm_alias_double.
28368 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28369 <libm-alias-double.h>.
28370 (nearbyint): Define using libm_alias_double.
28371 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28372 <libm-alias-double.h>.
28373 (remquo): Define using libm_alias_double.
28374 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28375 (rint): Define using libm_alias_double.
28376 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28377 (round): Define using libm_alias_double.
28378 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28379 (trunc): Define using libm_alias_double.
28380 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28381 <libm-alias-double.h>.
28382 (ceil): Define using libm_alias_double.
28383 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28384 <libm-alias-double.h>.
28385 (floor): Define using libm_alias_double.
28386 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28387 <libm-alias-double.h>.
28388 (llround): Define using libm_alias_double.
28389 [_LP64] (lround): Likewise.
28390 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28391 <libm-alias-double.h>.
28392 [!_LP64] (lround): Define using libm_alias_double.
28393 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28394 <libm-alias-double.h>.
28395 (nearbyint): Define using libm_alias_double.
28396 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28397 <libm-alias-double.h>.
28398 (remquo): Define using libm_alias_double.
28399 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28400 <libm-alias-double.h>.
28401 (rint): Define using libm_alias_double.
28402 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28403 <libm-alias-double.h>.
28404 (round): Define using libm_alias_double.
28405 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28406 <libm-alias-double.h>.
28407 (trunc): Define using libm_alias_double.
28408 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28409 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28410 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28411 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28412 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28413 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28414 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28415 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28416 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28417
28418 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28419
28420 * math/w_remainder.c: New file.
28421 * math/w_remainderf.c: New file.
28422 * math/w_remainderl.c: New file.
28423
28424 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28425
28426 * elf/rtld.c (BOOTSTRAP_MAP): New.
28427 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28428 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28429 Likewise.
28430 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28431 Likewise.
28432 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28433 Likewise.
28434
28435 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28436
28437 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28438 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28439 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28440 rtld_hidden_data_ver): Define to empty.
28441 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28442 __assert_perror_fail): Likewise.
28443 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28444 (__rewinddir): Likewise.
28445 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28446 (__profile_frequency): Likewise.
28447 * include/setjmp.h (__sigsetjmp): Likewise.
28448 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28449 __libc_sigaction): Likewise.
28450 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28451 not set hidden attribute.
28452 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28453 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28454 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28455 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28456 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28457 __fxstatat64): Likewise.
28458 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28459 (__uname): Likewise.
28460 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28461 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28462 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28463 (NO_RTLD_HIDDEN): Set.
28464 * sysdeps/mach/hurd/configure: Refresh.
28465 * config.h.in: Refresh.
28466
28467 2017-10-02 Joseph Myers <joseph@codesourcery.com>
28468
28469 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28470 (atan): Define using libm_alias_double.
28471 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28472 (tan): Define using libm_alias_double.
28473 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28474 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28475
28476 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28477 define as weak alias of __atan. Do not define any aliases if
28478 [__atan].
28479 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28480 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28481 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28482 as weak alias of __tan. Do not define any aliases if [__tan].
28483 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28484 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28485 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28486 __atan.
28487 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28488 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28489 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28490 and define as weak alias of __atan.
28491 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28492 __atan.
28493 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28494 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28495 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28496 define as weak alias of __tan.
28497
28498 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28499
28500 * math/w_lgamma.c: New file.
28501 * math/w_lgammaf.c: New file.
28502 * math/w_lgammal.c: New file.
28503
28504 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28505
28506 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28507 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28508 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28509 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28510 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28511 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28512 * sysdeps/i386/fpu/w_log2f.c: New file.
28513 * sysdeps/i386/fpu/w_logf.c: New file.
28514 * sysdeps/i386/fpu/w_powf.c: New file.
28515 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28516 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28517 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28518
28519 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28520 H.J. Lu <hongjiu.lu@intel.com>
28521
28522 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28523 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28524 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28525 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28526 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28527 the new expf code.
28528 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28529 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28530 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28531 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28532 * sysdeps/i386/fpu/w_exp2f.c: New file.
28533 * sysdeps/i386/fpu/w_expf.c: New file.
28534 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28535 * sysdeps/x86_64/fpu/w_expf.c: New file.
28536
28537 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28538
28539 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28540 (log2f): Likewise.
28541 (powf): Likewise.
28542 * math/w_log2f.c: New file.
28543 * math/w_logf.c: New file.
28544 * math/w_powf.c: New file.
28545 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28546 * math/w_logf_compat.c (__logf_compat): Likewise.
28547 * math/w_powf_compat.c (__powf_compat): Likewise.
28548 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28549 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28550 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28551 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28552 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28553 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28554 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28555 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28556 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28557 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28558 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28559 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28560 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28561 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28562 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28564 Likewise.
28565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28566 Likewise.
28567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28568 Likewise.
28569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28570 Likewise.
28571 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28572 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28573 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28574 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28575 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28577 Likewise.
28578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28579 Likewise.
28580 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28581 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28582 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28583
28584 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28585
28586 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28587 (sysdep_routines): Add memrchr_power8.
28588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28589 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28590 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28591 New file.
28592 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28593 (memrchr): Add __memrchr_power8 to ifunc list.
28594 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28595
28596 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28597
28598 [BZ #18822]
28599 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28600 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28601 libc_hidden_def.
28602 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28603 (__posix_fallocate64_l64): Likewise.
28604
28605 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28606
28607 [BZ #18822]
28608 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28609 (__sched_setaffinity_new): Add libc_hidden_proto and
28610 libc_hidden_def.
28611
28612 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28613
28614 [BZ #18822]
28615 * include/glob.h (__glob64): Add libc_hidden_proto.
28616 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28617 libc_hidden_def.
28618
28619 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28620
28621 [BZ #18822]
28622 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28623 attribute_hidden.
28624
28625 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28626
28627 [BZ #18822]
28628 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28629
28630 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28631
28632 [BZ #18822]
28633 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28634 libc_hidden_def.
28635
28636 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28637
28638 [BZ #18822]
28639 * csu/version.c (__libc_print_version): Add attribute_hidden.
28640
28641 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28642
28643 [BZ #18822]
28644 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28645
28646 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28647
28648 [BZ #18822]
28649 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28650
28651 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28652
28653 [BZ #18822]
28654 * nscd/nscd_helper.c (__nis_hash): New prototype.
28655
28656 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28657
28658 [BZ #18822]
28659 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28660 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28661 libc_hidden_def.
28662 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28663 * termios/tcgetattr.c (__tcgetattr): Likewise.
28664
28665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28666
28667 [BZ #18822]
28668 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28669 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28670 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28671 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28672 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28673
28674 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28675
28676 [BZ #18822]
28677 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28678
28679 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28680
28681 [BZ #18822]
28682 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28683 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28684
28685 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28686
28687 [BZ #18822]
28688 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28689
28690 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28691
28692 [BZ #18822]
28693 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28694 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28695
28696 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28697
28698 [BZ #18822]
28699 * include/ifreq.h: New file.
28700 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28701 (__ifreq): Likewise.
28702 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28703 (__ifreq): Likewise.
28704
28705 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28706
28707 [BZ #18822]
28708 * include/idna.h: New file.
28709 * inet/getnameinfo.c: Include <idna.h> instead of
28710 <libidn/idna.h>.
28711 (__idna_to_unicode_lzlz): Removed.
28712 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28713 <libidn/idna.h>.
28714 (__idna_to_ascii_lz): Removed.
28715 (__idna_to_unicode_lzlz): Likewise.
28716
28717 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28718
28719 [BZ #18822]
28720 * include/plural-exp.h: New file.
28721 * intl/plural-exp.c: Include <plural-exp.h> instead of
28722 "plural-exp.h".
28723
28724 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28725
28726 [BZ #18822]
28727 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28728 "getsourcefilter.h".
28729 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28730 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28731 "getsourcefilter.h".
28732 (__get_sol): Removed.
28733
28734 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28735
28736 [BZ #18822]
28737 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28738 to ...
28739 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28740
28741 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28742
28743 [BZ #18822]
28744 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28745 attribute_hidden.
28746
28747 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28748
28749 [BZ #18822]
28750 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28751
28752 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28753
28754 [BZ #18822]
28755 * include/search.h (__tdestroy): Add libc_hidden_proto.
28756 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28757
28758 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28759
28760 [BZ #18822]
28761 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28762
28763 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28764
28765 [BZ #18822]
28766 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28767 attribute_hidden.
28768
28769 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28770
28771 [BZ #18822]
28772 * include/signal.h (__kill): Add libc_hidden_proto.
28773 (__sigblock): Likewise.
28774 (__sigprocmask): Likewise.
28775 (__sigaltstack): Likewise.
28776 * signal/kill.c (__kill): Add libc_hidden_def.
28777 * signal/sigblock.c (__sigblock): Likewise.
28778 * signal/sigprocmask.c (__sigprocmask): Likewise.
28779 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28780 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28781 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28782 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28783 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28784 Likewise.
28785 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28786 Likewise.
28787 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28788 (__sigprocmask): Likewise.
28789 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28790 Likewise.
28791 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28792 (__sigprocmask): Likewise.
28793 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28794 Likewise.
28795
28796 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28797
28798 [BZ #18822]
28799 * include/string.h (__strsep): Add libc_hidden_proto.
28800 * string/strsep.c (__strsep): Add libc_hidden_def.
28801
28802 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28803
28804 [BZ #18822]
28805 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28806 attribute_hidden.
28807 (__spawni): Likewise.
28808
28809 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28810
28811 [BZ #18822]
28812 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28813 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28814 libc_hidden_def.
28815
28816 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28817
28818 [BZ #18822]
28819 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28820
28821 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28822
28823 [BZ #18822]
28824 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28825 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28826 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28827 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28828 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28829 Likewise.
28830 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28831 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28832
28833 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28834
28835 [BZ #18822]
28836 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28837 (__dcigettext): Likewise.
28838
28839 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28840
28841 [BZ #18822]
28842 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28843 libc_hidden_proto.
28844 (__get_nprocs): Likewise.
28845 (__get_phys_pages): Likewise.
28846 (__get_avphys_pages): Likewise.
28847 (__get_child_max): Add attribute_hidden.
28848 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28849 (__get_nprocs): Likewise.
28850 (__get_phys_pages): Likewise.
28851 (__get_avphys_pages): Likewise.
28852 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28853 libc_hidden_def.
28854 (__get_nprocs): Likewise.
28855 (__get_phys_pages): Likewise.
28856 (__get_avphys_pages): Likewise.
28857 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28858 libc_hidden_def.
28859 (__get_nprocs_conf): Likewise.
28860 (__get_phys_pages): Likewise.
28861 (__get_avphys_pages): Likewise.
28862
28863 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28864
28865 [BZ #18822]
28866 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28867 attribute_hidden.
28868 (__netlink_close): Likewise.
28869 (__netlink_free_handle): Likewise.
28870 (__netlink_request): Likewise.
28871
28872 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28873
28874 [BZ #18822]
28875 * include/rpc/rpc.h (__rpc_thread_variables): Add
28876 attribute_hidden.
28877 (__rpc_thread_svc_cleanup): Likewise.
28878 (__rpc_thread_clnt_cleanup): Likewise.
28879 (__rpc_thread_key_cleanup): Likewise.
28880
28881 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28882
28883 [BZ #18822]
28884 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28885 (__writev): Likewise.
28886 * misc/readv.c (__readv): Add libc_hidden_def.
28887 * misc/writev.c (__writev): Likewise.
28888 * sysdeps/posix/readv.c (__readv): Likewise.
28889 * sysdeps/posix/writev.c (__writev): Likewise.
28890 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28891 (__readv): Likewise.
28892 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28893 (__writev): Likewise.
28894
28895 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28896
28897 [BZ #18822]
28898 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28899 (__regcomp): Add libc_hidden_proto.
28900 (__regexec): Likewise.
28901 (__regfree): Likewise.
28902 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28903 (__regfree): Likewise.
28904 * posix/regexec.c (__regexec): Likewise.
28905
28906 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28907
28908 [BZ #18822]
28909 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28910 (__getutent): Likewise.
28911 (__getutid): Likewise.
28912 (__getutline): Likewise.
28913 (__pututline): Likewise.
28914 (__getutent_r): Likewise.
28915 (__getutid_r): Likewise.
28916 (__getutline_r): Likewise.
28917 (__utmpname): Add attribute_hidden.
28918 (__setutent): Likewise.
28919 (__endutent): Likewise.
28920 * login/getutent.c (__getutent): Add libc_hidden_def.
28921 * login/getutent_r.c (__getutent_r): Likewise.
28922 (__pututline): Likewise.
28923 * login/getutid.c (__getutid): Likewise.
28924 * login/getutid_r.c (__getutid_r): Likewise.
28925 * login/getutline.c (__getutline): Likewise.
28926 * login/getutline_r.c (__getutline_r): Likewise.
28927 * login/updwtmp.c (__updwtmp): Likewise.
28928
28929 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28930
28931 [BZ #18822]
28932 * include/dirent.h (__opendir): Always add attribute_hidden.
28933 (__fdopendir): Likewise.
28934 (__closedir): Likewise.
28935 (__readdir): Likewise.
28936 (__readdir64): Add libc_hidden_proto.
28937 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28938 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28939 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28940 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28941 New alias.
28942
28943 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28944
28945 [BZ #18822]
28946 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28947 * include/netdb.h (__gethostbyaddr_r): Likewise.
28948 (__gethostbyname_r): Likewise.
28949 (__gethostbyname2_r): Likewise.
28950 (__getnetbyaddr_r): Likewise.
28951 (__getnetbyname_r): Likewise.
28952 (__getservbyname_r): Likewise.
28953 (__getservbyport_r): Likewise.
28954 (__getprotobyname_r): Likewise.
28955 (__getprotobynumber_r): Likewise.
28956 (__getnetgrent_r): Likewise.
28957 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28958 (__getrpcbynumber_r): Likewise.
28959 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28960
28961 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28962
28963 [BZ #18822]
28964 * include/stdio.h (__fcloseall): Add attribute_hidden.
28965 (__getline): Likewise.
28966 (__path_search): Likewise.
28967 (__gen_tempname): Likewise.
28968 (__libc_message): Likewise.
28969 (__flockfile): Likewise.
28970 (__funlockfile): Likewise.
28971 (__fxprintf): Likewise.
28972 (__fxprintf_nocancel): Likewise.
28973
28974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28975
28976 [BZ #18822]
28977 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28978 (__sgetsgent_r): Likewise.
28979
28980 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28981
28982 [BZ #18822]
28983 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28984 (__statfs64): Likewise.
28985 (__fstatfs64): Likewise.
28986 * include/sys/statvfs.h (__statvfs64): Likewise.
28987 (__fstatvfs64): Likewise.
28988 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28989 (__statfs_filesize_max): Likewise.
28990 (__statfs_symlinks): Likewise.
28991 (__statfs_chown_restricted): Likewise.
28992
28993 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28994
28995 [BZ #18822]
28996 * include/time.h (__tzstring): Add attribute_hidden.
28997 (__tzfile_read): Likewise.
28998 (__tzfile_compute): Likewise.
28999 (__tzfile_default): Likewise.
29000 (__tzset_parse_tz): Likewise.
29001 (__offtime): Likewise.
29002 (__asctime_r): Likewise.
29003 (__tzset): Likewise.
29004 (__tz_convert): Likewise.
29005 (__getdate_r): Likewise.
29006 (__getclktck): Likewise.
29007
29008 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29009
29010 [BZ #18822]
29011 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29012 (__nscd_unmap): Likewise.
29013 (__nscd_cache_search): Likewise.
29014 (__nscd_get_nl_timestamp): Likewise.
29015 (__nscd_getpwnam_r): Likewise.
29016 (__nscd_getpwuid_r): Likewise.
29017 (__nscd_getgrnam_r): Likewise.
29018 (__nscd_getgrgid_r): Likewise.
29019 (__nscd_gethostbyname_r): Likewise.
29020 (__nscd_gethostbyname2_r): Likewise.
29021 (__nscd_gethostbyaddr_r): Likewise.
29022 (__nscd_getai): Likewise.
29023 (__nscd_getgrouplist): Likewise.
29024 (__nscd_getservbyname_r): Likewise.
29025 (__nscd_getservbyport_r): Likewise.
29026 (__nscd_innetgr): Likewise.
29027 (__nscd_setnetgrent): Likewise.
29028
29029 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29030
29031 [BZ #18822]
29032 * include/gmp.h: Declare internal functions only if _ISOMAC is
29033 undefined.
29034 (__mpn_extract_double): Add attribute_hidden.
29035 (__mpn_extract_long_double): Likewise.
29036 (__mpn_extract_float128): Likewise.
29037 (__mpn_construct_float): Likewise.
29038 (__mpn_construct_double): Likewise.
29039 (__mpn_construct_long_double): Likewise.
29040 (__mpn_construct_float128): Likewise.
29041 (mpn_add_1): Likewise.
29042 (mpn_addmul_1): Likewise.
29043 (mpn_add_n): Likewise.
29044 (mpn_cmp): Likewise.
29045 (mpn_divrem): Likewise.
29046 (mpn_lshift): Likewise.
29047 (mpn_mul): Likewise.
29048 (mpn_mul_1): Likewise.
29049 (mpn_rshift): Likewise.
29050 (mpn_sub_1): Likewise.
29051 (mpn_submul_1): Likewise.
29052 (mpn_sub_n): Likewise.
29053
29054 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29055
29056 [BZ #18822]
29057 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29058 (__wcscat): Likewise.
29059 (__btowc): Likewise.
29060 (__wcrtomb): Likewise.
29061 (__mbsrtowcs): Likewise.
29062 (__wcsrtombs): Likewise.
29063 (__mbsnrtowcs): Likewise.
29064 (__wcsnrtombs): Likewise.
29065 (__wcsncpy): Likewise.
29066 (__wcpncpy): Likewise.
29067 (__wmemcpy): Likewise.
29068 (__wmempcpy): Likewise.
29069 (__wmemmove): Likewise.
29070 (__wcschrnul): Likewise.
29071 (__vfwscanf): Likewise.
29072 (__vswprintf): Likewise.
29073 (__fwprintf): Likewise.
29074 (__vfwprintf): Likewise.
29075
29076 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29077
29078 [BZ #18822]
29079 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29080 (__getgrgid_r): Likewise.
29081 (__getgrnam_r): Likewise.
29082 * include/pwd.h (__getpwuid_r): Likewise.
29083 (__getpwnam_r): Likewise.
29084 (__fgetpwent_r): Likewise.
29085 * include/shadow.h (__getspnam_r): Likewise.
29086 (__sgetspent_r): Likewise.
29087 (__fgetspent_r): Likewise.
29088
29089 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29090
29091 [BZ #18822]
29092 * include/unistd.h (__access): Add attribute_hidden.
29093 (__lseek64): Likewise.
29094 (__libc_pread64): Likewise.
29095 (__pipe2): Likewise.
29096 (__sleep): Likewise.
29097 (__chdir): Likewise.
29098 (__fchdir): Likewise.
29099 (__getcwd): Likewise.
29100 (__rmdir): Likewise.
29101 (__execvpe): Likewise.
29102 (__execve): Likewise.
29103 (__setsid): Likewise.
29104 (__getuid): Likewise.
29105 (__geteuid): Likewise.
29106 (__getgid): Likewise.
29107 (__getegid): Likewise.
29108 (__getgroups): Likewise.
29109 (__group_member): Likewise.
29110 (__ttyname_r): Likewise.
29111 (__isatty): Likewise.
29112 (__readlink): Likewise.
29113 (__unlink): Likewise.
29114 (__gethostname): Likewise.
29115 (__profil): Likewise.
29116 (__getdtablesize): Likewise.
29117 (__brk): Likewise.
29118 (__ftruncate): Likewise.
29119 (__ftruncate64): Likewise.
29120
29121 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29122
29123 [BZ #18822]
29124 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29125 * argp/argp-fs-xinl.c: Likewise.
29126 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29127 * argp/argp-parse.c: Include <argp.h>.
29128 * argp/argp-xinl.c: Likewise.
29129 * include/argp-fmtstream.h: New file.
29130 * include/argp.h (__argp_error): Add attribute_hidden.
29131 (__argp_failure): Likewise.
29132 (__argp_input): Likewise.
29133 (__argp_state_help): Likewise.
29134
29135 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29136
29137 [BZ #18822]
29138 * include/wchar.h (____wcstof_l_internal): New prototype.
29139 (____wcstod_l_internal): Likewise.
29140 (____wcstold_l_internal): Likewise.
29141 (____wcstol_l_internal): Likewise.
29142 (____wcstoul_l_internal): Likewise.
29143 (____wcstoll_l_internal): Likewise.
29144 (____wcstoull_l_internal): Likewise.
29145 (____wcstof128_l_internal): Likewise.
29146 * sysdeps/ieee754/float128/wcstof128.c
29147 (____wcstof128_l_internal): Removed.
29148 * sysdeps/ieee754/float128/wcstof128_l.c
29149 (____wcstof128_l_internal): Likewise.
29150 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29151 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29152 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29153 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29154 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29155 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29156 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29157 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29158 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29159 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29160
29161 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29162
29163 [BZ #18822]
29164 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29165 instead of <sys/statvfs.h>.
29166 (__internal_statvfs): Removed.
29167 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29168 instead of <sys/statvfs.h>.
29169 (__internal_statvfs64): Removed.
29170 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29171 "internal_statvfs.h" instead of <sys/statvfs.h>.
29172 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29173 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29174 instead of <sys/statvfs.h>.
29175 (__internal_statvfs): Removed.
29176 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29177 instead of <sys/statvfs.h>.
29178 (__internal_statvfs64): Removed.
29179
29180 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29181
29182 [BZ #18822]
29183 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29184 (__gconv_close): Likewise.
29185 (__gconv): Likewise.
29186 (__gconv_find_transform): Likewise.
29187 (__gconv_lookup_cache): Likewise.
29188 (__gconv_compare_alias_cache): Likewise.
29189 (__gconv_load_cache): Likewise.
29190 (__gconv_get_path): Likewise.
29191 (__gconv_close_transform): Likewise.
29192 (__gconv_release_cache): Likewise.
29193 (__gconv_find_shlib): Likewise.
29194 (__gconv_release_shlib): Likewise.
29195 (__gconv_get_builtin_trans): Likewise.
29196 (__gconv_compare_alias): Likewise.
29197 * include/dlfcn.h (_dlerror_run): Likewise.
29198 * include/stdio.h (__fortify_fail_abort): Likewise.
29199 * include/time.h (__tz_compute): Likewise.
29200 (__strptime_internal): Likewise.
29201 * intl/gettextP.h (_nl_find_domain): Likewise.
29202 (_nl_load_domain): Likewise.
29203 (_nl_find_msg): Likewise.
29204 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29205 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29206 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29207 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29208 (__gai_find_request): Likewise.
29209 (__gai_remove_request): Likewise.
29210 (__gai_notify): Likewise.
29211 (__gai_notify_only): Likewise.
29212 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29213 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29214 (_dl_non_dynamic_init): Likewise.
29215 (_dl_aux_init): Likewise.
29216 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29217 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29218 Likewise.
29219 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29220 (__wcsmbs_clone_conv): Likewise.
29221 (__wcsmbs_named_conv): Likewise.
29222
29223 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29224
29225 [BZ #18822]
29226 * include/stdlib.h (__random): Add attribute_hidden.
29227 (__random_r): Likewise.
29228 (__srandom_r): Likewise.
29229 (__initstate_r): Likewise.
29230 (__setstate_r): Likewise.
29231 (__erand48_r): Likewise.
29232 (__nrand48_r): Likewise.
29233 (__jrand48_r): Likewise.
29234 (__srand48_r): Likewise.
29235 (__seed48_r): Likewise.
29236 (__lcong48_r): Likewise.
29237 (__drand48_iterate): Likewise.
29238 (__setenv): Likewise.
29239 (__unsetenv): Likewise.
29240 (__clearenv): Likewise.
29241 (__ptsname_r): Likewise.
29242 (__posix_openpt): Likewise.
29243 (__add_to_environ): Likewise.
29244 (__realpath): Add libc_hidden_proto.
29245 (__ecvt_r): Likewise.
29246 (__fcvt_r): Likewise.
29247 (__qecvt_r): Likewise.
29248 (__qfcvt_r): Likewise.
29249 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29250 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29251
29252 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29253
29254 [BZ #18822]
29255 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29256 * include/time.h (__mktime_internal): Likewise.
29257 * libio/iolibio.h (__fopen_internal): Likewise.
29258
29259 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
29260
29261 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29262 pointer in frame.
29263 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29264 Correct offset used to restore PIC register.
29265
29266 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
29267
29268 [BZ libc/22165]
29269 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29270 code to load address of __getcontext_ret when generating PIC code.
29271
29272 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29273
29274 * elf/Makefile (tests-static-internal): Add
29275 tst-tls1-static-non-pie.
29276 (LDFLAGS-tst-tls1-static-non-pie): New.
29277 * elf/tst-tls1-static-non-pie.c: New file.
29278
29279 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29280
29281 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29282 (asinh): Define using libm_alias_double.
29283 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29284 (cbrt): Define using libm_alias_double.
29285 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29286 <libm-alias-double.h>.
29287 (copysign): Define using libm_alias_double.
29288 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29289 (erf): Define using libm_alias_double.
29290 (erfc): Likewise.
29291 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29292 (expm1): Define using libm_alias_double.
29293 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29294 (fabs): Define using libm_alias_double.
29295 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29296 libm_alias_double.
29297 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29298 <libm-alias-double.h>.
29299 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29300 libm_alias_double.
29301 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29302 <libm-alias-double.h>.
29303 (getpayload): Define using libm_alias_double.
29304 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29305 <libm-alias-double.h>.
29306 (llrint): Define using libm_alias_double.
29307 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29308 (lrint): Define using libm_alias_double.
29309 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29310 <libm-alias-double.h>.
29311 (nextup): Define using libm_alias_double.
29312 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29313 <libm-alias-double.h>.
29314 (roundeven): Define using libm_alias_double.
29315 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29316 libm_alias_double.
29317 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29318 <libm-alias-double.h>.
29319 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29320 using libm_alias_double.
29321 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29322 (cos): Define using libm_alias_double.
29323 (sin): Likewise.
29324 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29325 <libm-alias-double.h>.
29326 (sincos): Define using libm_alias_double.
29327 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29328 (tanh): Define using libm_alias_double.
29329 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29330 <libm-alias-double.h>.
29331 (totalorder): Define using libm_alias_double.
29332 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29333 <libm-alias-double.h>.
29334 (totalordermag): Define using libm_alias_double.
29335 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29336 libm_alias_double.
29337 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29338 libm_alias_double.
29339 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29340 <libm-alias-double.h>.
29341 (getpayload): Define using libm_alias_double.
29342 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29343 <libm-alias-double.h>.
29344 (roundeven): Define using libm_alias_double.
29345 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29346 <libm-alias-double.h>.
29347 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29348 <libm-alias-double.h>.
29349 (totalorder): Define using libm_alias_double.
29350 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29351 <libm-alias-double.h>.
29352 (totalordermag): Define using libm_alias_double.
29353 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29354 libc compat symbol here.
29355 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29356 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29357 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29358 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29359 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29360 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29361 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29362 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29363 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29364 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29365
29366 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29367
29368 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29369 _dl_relocate_static_pie instead of _dl_start to compute load
29370 address in static PIE. Return 0 if _DYNAMIC is undefined for
29371 static executable.
29372
29373 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29374
29375 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29376 _DYNAMIC is undefined for static executable.
29377
29378 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29379
29380 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29381
29382 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29383
29384 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29385
29386 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29387
29388 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29389 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29390 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29391 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29392 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29393 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29394 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29395 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29396 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29397 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29398 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29399 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29400 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29401 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29402 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29403 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29404 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29405
29406 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29407
29408 * math/bits/cmathcalls.h (cimag): Remove inline.
29409 (creal): Remove inline.
29410 (conj): Remove inline.
29411
29412 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29413
29414 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29415 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29416 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29417 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29418 (issignalingf_inline): Likewise.
29419 (POWF_LOG2_TABLE_BITS): Likewise.
29420 (POWF_LOG2_POLY_ORDER): Likewise.
29421 (POWF_SCALE_BITS): Likewise.
29422 (POWF_SCALE): Likewise.
29423 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29424 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29425 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29426
29427 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29428
29429 * math/Makefile (type-float-routines): Add e_log2f_data.
29430 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29431 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29432 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29433 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29434 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29435 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29436 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29437
29438 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29439
29440 * math/Makefile (type-float-routines): Add e_logf_data.
29441 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29442 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29443 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29444 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29445 * sysdeps/i386/fpu/e_logf_data.c: New file.
29446 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29447 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29448
29449 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29450
29451 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29452 undefined _DYNAMIC in PIE libc.a.
29453 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29454 Likewse.
29455
29456 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29457
29458 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29459 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29460 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29461 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29462 (__signbit): Remove.
29463 (__signbitl): Remove.
29464 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29465 (__signbit): Remove.
29466 (__signbitl): Remove.
29467 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29468 (__signbit): Remove.
29469 (__signbitl): Remove.
29470 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29471 (__signbit): Remove.
29472 (__signbitl): Remove.
29473 * sysdeps/tile/bits/mathinline.h: Delete file.
29474 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29475 (__signbit): Remove.
29476 (__signbitl): Remove.
29477
29478 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29479
29480 * math/math.h: Improve handling of C99 isgreater macros.
29481 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29482 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29483 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29484 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29485 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29486
29487 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29488
29489 * sysdeps/aarch64/libm-test-ulps: Update.
29490
29491 2017-09-28 Joseph Myers <joseph@codesourcery.com>
29492
29493 [BZ #22225]
29494 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29495 math_opt_barrier on argument when doing arithmetic on it.
29496 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29497 Likewise. Use math_force_eval not math_opt_barrier after
29498 arithmetic.
29499 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29500 math_opt_barrier on argument when doing arithmetic on it.
29501 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29502 Likewise.
29503
29504 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29505
29506 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29507 libc_hidden_def.
29508 (__freeifaddrs): Likewise.
29509
29510 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29511
29512 * include/dirent.h (__dirfd): New declaration.
29513 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29514 alias.
29515 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29516 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29517 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
29518 * include/unistd.h (__revoke): New declaration.
29519 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29520 alias.
29521 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29522 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29523 revoke.
29524 * include/dirent.h (__seekdir): New declaration.
29525 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29526 redefine as weak alias.
29527 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29528 of seekdir.
29529 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29530 and use libc_hidden_def on them.
29531 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29532 them.
29533 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29534 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29535 instead of getifaddrs and freeifaddrs.
29536
29537 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29538
29539 [BZ #18822]
29540 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29541 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29542 (__dso_handle): Remove declaration.
29543 * dlfcn/tstatexit.c (__dso_handle): Removed.
29544 (main): Don't check __dso_handle.
29545 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29546 (main): Don't check __dso_handle.
29547 * include/dso_handle.h: New file.
29548 * malloc/mtrace.c: Include <dso_handle.h>.
29549 (mtrace): Pass __dso_handle directly.
29550 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29551 (__dso_handle): Remove declaration.
29552 (__pthread_atfork): Pass __dso_handle directly.
29553 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29554 (__dso_handle): Removed.
29555 * posix/wordexp-test.c: Include <dso_handle.h>.
29556 (__dso_handle): Remove declaration.
29557 (__app_register_atfork): Pass __dso_handle directly.
29558 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29559 (__dso_handle): Remove declaration.
29560 (at_quick_exit): Pass __dso_handle directly.
29561 * stdlib/atexit.c: Include <dso_handle.h>.
29562 (__dso_handle): Remove declaration.
29563 (atexit): Pass __dso_handle directly.
29564 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29565 (__dso_handle): Removed.
29566
29567 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29568
29569 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29570 using VDSO.
29571
29572 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29573
29574 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29575 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29576 values to correct default value for given type.
29577
29578 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29579
29580 [BZ #22101]
29581 * elf/Makefile (tests): Add tst-debug1.
29582 ($(objpfx)tst-debug1): New.
29583 ($(objpfx)tst-debug1.out): Likewise.
29584 ($(objpfx)tst-debug1mod1.so): Likewise.
29585 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29586 with p_filesz == 0.
29587 * elf/tst-debug1.c: New file.
29588
29589 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29590
29591 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29592 Define using __ifunc.
29593
29594 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29595
29596 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29597 exp2f() values.
29598
29599 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29600
29601 [BZ #22156]
29602 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29603
29604 2017-09-26 Florian Weimer <fweimer@redhat.com>
29605
29606 * resolv/Makefile (tests-internal): Fix typo in comment.
29607
29608 2017-09-26 Florian Weimer <fweimer@redhat.com>
29609
29610 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29611
29612 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29613
29614 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29615 Use an union instead of a max_align_t array for __space,
29616 so that __space is the same size on all platforms.
29617 * malloc/scratch_buffer_grow_preserve.c
29618 (__libc_scratch_buffer_grow_preserve): Likewise.
29619
29620 [BZ #22183]
29621 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29622 version to 2.
29623 * posix/Makefile (routines): Add glob-lstat-compat and
29624 glob64-lstat-compat.
29625 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29626 * posix/glob-lstat-compat.c: New file.
29627 * posix/glob64-lstat-compat.c: Likewise.
29628 * posix/tst-glob_lstat_compat.c: Likewise.
29629 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29630 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29631 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29632 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29633 Likewise.
29634 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29635 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29636 * posix/glob.c (glob_lstat): New function.
29637 (glob): Rename to __glob and add versioned symbol to 2.27.
29638 (glob_in_dir): Use glob_lstat.
29639 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29640 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29641 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29642 2.27.
29643 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29644 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29645 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29646 gl_lstat on glob call.
29647 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29648 and glob64 symbols.
29649 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29650 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29651 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29652 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29653 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29654 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29655 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29656 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29657 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29658 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29659 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29660 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29662 Likewise.
29663 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29665 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29666 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29667 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29668 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29669 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29672 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29673 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29674 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29675
29676 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29677
29678 * configure.ac (AS): Require binutils 2.25 or later.
29679 * configure: Regenerated.
29680
29681 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29682
29683 [BZ #22207]
29684 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29685 VM size.
29686
29687 2017-09-25 DJ Delorie <dj@redhat.com>
29688
29689 [BZ #22161]
29690 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29691 resetting timeout.
29692
29693 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29694
29695 * sysdeps/ieee754/dbl-64/sincos32.h
29696 [SINCCOS32_H]: Remove define.
29697 [SINCOS32_H]: Define.
29698
29699 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29700
29701 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29702 (exp2f): Likewise.
29703 * math/w_exp2f.c: New file.
29704 * math/w_expf.c: New file.
29705 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29706 * math/w_expf_compat.c (__expf_compat): Likewise.
29707 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29708 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29709 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29710 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29711 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29712 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29713 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29714 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29715 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29716 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29717 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29718 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29719 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29720 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29722 Likewise.
29723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29724 Likewise.
29725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29726 Likewise.
29727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29728 Likewise.
29729 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29730 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29731 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29732 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29733 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29735 Likewise.
29736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29737 Likewise.
29738 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29739 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29740 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29741
29742 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29743
29744 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29745 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29746 (roundtoint, converttoint): Likewise.
29747 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29748 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29749 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29750 * sysdeps/ieee754/flt-32/math_config.h: New file.
29751 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29752 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29753 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29754 * sysdeps/i386/fpu/math_errf.c: New file.
29755 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29756 * sysdeps/ia64/fpu/math_errf.c: New file.
29757 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29758 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29759
29760 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29761
29762 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29763 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29764 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29765 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29766 to make sure that these symbols are defined.
29767 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29768 of <limits.h>
29769 (__need_NULL): Do not define.
29770 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29771 alignment.
29772 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29773 CMGROUP_MAX, cmsgcred): Do not define.
29774 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29775 NULL.
29776 * bits/socket.h: Likewise.
29777 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29778 __gettimeofday instead of gettimeofday.
29779 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29780 instead of settimeofday.
29781
29782 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29783
29784 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29785 (asinhf): Define using libm_alias_float.
29786 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29787 (atanf): Define using libm_alias_float.
29788 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29789 (cbrtf): Define using libm_alias_float.
29790 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29791 (ceilf): Define using libm_alias_float.
29792 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29793 <libm-alias-float.h>.
29794 (copysignf): Define using libm_alias_float.
29795 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29796 (cosf): Define using libm_alias_float.
29797 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29798 (erff): Define using libm_alias_float.
29799 (erfcf): Likewise.
29800 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29801 (expm1f): Define using libm_alias_float.
29802 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29803 (fabsf): Define using libm_alias_float.
29804 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29805 (floorf): Define using libm_alias_float.
29806 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29807 (frexpf): Define using libm_alias_float.
29808 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29809 libm_alias_float.
29810 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29811 <libm-alias-float.h>.
29812 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29813 libm_alias_float.
29814 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29815 <libm-alias-float.h>.
29816 (getpayloadf): Define using libm_alias_float.
29817 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29818 <libm-alias-float.h>.
29819 (llrintf): Define using libm_alias_float.
29820 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29821 <libm-alias-float.h>.
29822 (llroundf): Define using libm_alias_float.
29823 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29824 (logbf): Define using libm_alias_float.
29825 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29826 (lrintf): Define using libm_alias_float.
29827 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29828 (lroundf): Define using libm_alias_float.
29829 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29830 (modff): Define using libm_alias_float.
29831 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29832 <libm-alias-float.h>.
29833 (nearbyintf): Define using libm_alias_float.
29834 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29835 <libm-alias-float.h>.
29836 (nextafterf): Define using libm_alias_float.
29837 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29838 <libm-alias-float.h>.
29839 (nextupf): Define using libm_alias_float.
29840 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29841 <libm-alias-float.h>.
29842 (remquof): Define using libm_alias_float.
29843 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29844 (rintf): Define using libm_alias_float.
29845 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29846 <libm-alias-float.h>.
29847 (roundevenf): Define using libm_alias_float.
29848 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29849 (roundf): Define using libm_alias_float.
29850 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29851 using libm_alias_float.
29852 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29853 <libm-alias-float.h>.
29854 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29855 Define using libm_alias_float.
29856 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29857 <libm-alias-float.h>.
29858 (sincosf): Define using libm_alias_float.
29859 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29860 (sinf): Define using libm_alias_float.
29861 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29862 (tanf): Define using libm_alias_float.
29863 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29864 (tanhf): Define using libm_alias_float.
29865 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29866 <libm-alias-float.h>.
29867 (totalorderf): Define using libm_alias_float.
29868 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29869 <libm-alias-float.h>.
29870 (totalordermagf): Define using libm_alias_float.
29871 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29872 (truncf): Define using libm_alias_float.
29873 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29874 libm_alias_float.
29875 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29876 libm_alias_float.
29877
29878 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29879
29880 [BZ #22146]
29881 math/math.h: Let fpclassify use the builtin in C++ mode, even
29882 when optimazing for size.
29883
29884 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29885
29886 * csu/Makefile (generated): Do not add version-info.h.
29887 (before-compile): Likewise.
29888 (all-Banner-files): Remove variable.
29889 ($(objpfx)version-info.h): Remove rule.
29890 * csu/version.c (banner): Do not include "version-info.h".
29891 * libidn/Banner: Remove.
29892 * manual/contrib.texi (Simon Josefsson): New entry.
29893
29894 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29895
29896 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29897 Remove conditionals on LDBL_MANT_DIG.
29898 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29899 (__ieee754_lgammal_r): Likewise.
29900
29901 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29902
29903 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29904 _Float128 and L().
29905 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29906 _Float128 and L(). Replace _Float128 with long double and L(x)
29907 with xL, throughout the file.
29908 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29909 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29910 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29911 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29912
29913 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29914
29915 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29916 sysdeps/ieee754/ldbl-128ibm.
29917 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29918 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29919 of including it. Keep _Float128 and L() intact. These will be
29920 reviewed by a separate patch.
29921 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29922 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29923 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29924 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29925
29926 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29927
29928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29929 (__finitef128): Define to __redirect___finitef128.
29930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29931 (__isinff128): Define to __redirect___isinff128.
29932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29933 (__isnanf128): Define to __redirect___isnanf128.
29934
29935 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29936
29937 * sysdeps/powerpc/powerpc64le/Makefile
29938 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29939 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29940
29941 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29942 Carlos O'Donell <carlos@redhat.com>
29943
29944 [BZ #22180]
29945 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29946 * stdlib/test-dlclose-exit-race.c: New file.
29947 * stdlib/test-dlclose-exit-race-helper.c: New file.
29948 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29949
29950 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29951
29952 * crypt/Banner: Remove file.
29953 * nptl/Banner: Likewise.
29954 * resolv/Banner: Likewise.
29955 * soft-fp/Banner: Likewise.
29956 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29957 ($(objpfx)version.d): Remove dependency on banner.h.
29958 ($(objpfx)version.os): Likewise.
29959 * nptl/version.c (banner): Do not include banner.h.
29960 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29961 Jelinek and BIND code.
29962
29963 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29964 Carlos O'Donell <carlos@redhat.com>
29965
29966 * support/xdlfcn.h: New file.
29967 * support/xdlfcn.c: New file.
29968 * support/Makefile (libsupport-routines): Add xdlfcn.
29969 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29970
29971 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29972
29973 [BZ #20142]
29974 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29975 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29976 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29977 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29978 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29979 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29980 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29981 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29982
29983 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29984 Ricky Zhou <rickyz@google.com>
29985 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29986
29987 [BZ #14333]
29988 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29989 Remove atomics.
29990 (__new_exitfn): Fail registration when we finished at_exit processing.
29991 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29992 * stdlib/on_exit.c (__on_exit): Likewise.
29993 * stdlib/exit.c (__exit_funcs_done): New variable.
29994 (__run_exit_handlers): Use __exit_funcs_lock.
29995 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29996 declarations.
29997 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29998 (test-cxa_atexit-race, test-on_exit-race): New tests.
29999 * stdlib/test-atexit-race-common.c: New file.
30000 * stdlib/test-atexit-race.c: New file.
30001 * stdlib/test-at_quick_exit-race.c: New file.
30002 * stdlib/test-cxa_atexit-race.c: New file.
30003 * stdlib/test-on_exit-race.c: New file.
30004
30005 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30006
30007 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30008 * benchtests/exp2f-inputs: Copy of expf-inputs.
30009 * benchtests/log2f-inputs: Copy of logf-inputs.
30010
30011 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30012
30013 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30014 Explicitly take address of first element of array arguments in
30015 call to INLINE_SYSCALL.
30016
30017 2017-09-19 Andreas Schwab <schwab@suse.de>
30018
30019 [BZ #22134]
30020 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30021 execveat first.
30022 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30023 unimplemented.
30024 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30025 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30026 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30027 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30028 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30029 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30030 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30031 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30032 * posix/Makefile (tests): Add tst-fexecve.
30033 * posix/tst-fexecve.c: New file.
30034
30035 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30036
30037 * benchtests/Makefile: Add logf benchmark.
30038 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30039
30040 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30041
30042 * benchtests/Makefile: Add expf benchmark.
30043 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30044
30045 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30046
30047 * csu/Makefile: Add -funwind-tables to libc-start.c.
30048 * debug/Makefile: Add -funwind-tables to backtrace.c.
30049 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30050 * sysdeps/arm/Makefile: Likewise.
30051 * sysdeps/i386/Makefile: Likewise.
30052 * sysdeps/m68k/Makefile: Likewise.
30053 * sysdeps/mips/Makefile: Likewise.
30054 * sysdeps/nios2/Makefile: Likewise.
30055 * sysdeps/sh/Makefile: Likewise.
30056 * sysdeps/sparc/Makefile: Likewise.
30057
30058 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30059
30060 * benchtests/Makefile (bench-math): Add trunc and truncf.
30061 (CFLAGS-bench-trunc.c): New variable.
30062 (CFLAGS-bench-truncf.c): Likewise.
30063 * benchtests/trunc-inputs: New file.
30064 * benchtests/truncf-inputs: Likewise.
30065
30066 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30067
30068 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30069
30070 2017-09-18 Joseph Myers <joseph@codesourcery.com>
30071
30072 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30073 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30074 redefine.
30075 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30076 (exp10l): Define as weak alias.
30077 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30078 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30079 and redefine.
30080 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30081 (remainderl): Define as weak alias.
30082
30083 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30084 (fmal): Define using libm_alias_ldouble.
30085 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30086 (acoshl): Define using libm_alias_ldouble.
30087 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30088 (acosl): Define using libm_alias_ldouble.
30089 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30090 (asinl): Define using libm_alias_ldouble.
30091 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30092 (atan2l): Define using libm_alias_ldouble.
30093 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30094 (atanhl): Define using libm_alias_ldouble.
30095 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30096 (coshl): Define using libm_alias_ldouble.
30097 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30098 (exp10l): Define using libm_alias_ldouble.
30099 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30100 (exp2l): Define using libm_alias_ldouble.
30101 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30102 (expl): Define using libm_alias_ldouble.
30103 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30104 (fmodl): Define using libm_alias_ldouble.
30105 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30106 (hypotl): Define using libm_alias_ldouble.
30107 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30108 (j0l): Define using libm_alias_ldouble.
30109 (y0l): Likewise.
30110 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30111 (j1l): Define using libm_alias_ldouble.
30112 (y1l): Likewise.
30113 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30114 (jnl): Define using libm_alias_ldouble.
30115 (ynl): Likewise.
30116 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30117 (log10l): Define using libm_alias_ldouble.
30118 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30119 (log2l): Define using libm_alias_ldouble.
30120 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30121 (logl): Define using libm_alias_ldouble.
30122 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30123 (powl): Define using libm_alias_ldouble.
30124 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30125 (remainderl): Define using libm_alias_ldouble.
30126 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30127 (sinhl): Define using libm_alias_ldouble.
30128 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30129 (sqrtl): Define using libm_alias_ldouble.
30130 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30131 (tgammal): Define using libm_alias_ldouble.
30132 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30133 (exp10l): Do not use long_double_symbol here.
30134 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30135 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30136 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30137 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30138 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30139 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30140 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30141 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30142 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30143 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30144 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30145 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30146 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30147 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30148 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30149 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30150 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30151 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30152 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30153 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30154 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30155 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30156
30157 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30158
30159 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30160 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30161
30162 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30163
30164 * io/read.c (read): Add libc_hidden_weak.
30165 * sysdeps/mach/hurd/read.c (read): Likewise.
30166 * io/write.c (write): Likewise.
30167 * sysdeps/mach/hurd/write.c (write): Likewise.
30168 * io/pread64.c (__pread64): Likewise.
30169 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30170 * posix/pread64.c (__pread64): Add libc_hidden_def.
30171
30172 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30173
30174 * benchtests/scripts/compare_strings.py: New option -g.
30175 (draw_graph): Print a message that a graph is being generated.
30176 (process_results): Generate graph only if -g is passed.
30177 (main): Process option -g.
30178
30179 * benchtests/scripts/compare_strings.py (process_results):
30180 Better spacing for output.
30181
30182 * benchtests/scripts/compare_strings.py: Use argparse.
30183 * benchtests/README: Document existence of compare_strings.py.
30184
30185 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30186
30187 * math/s_fma.c: Include <libm-alias-double.h>.
30188 (fma): Define using libm_alias_double.
30189 * math/s_nextafter.c: Include <libm-alias-double.h>.
30190 (nextafter): Define using libm_alias_double.
30191 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30192 (acos): Define using libm_alias_double.
30193 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30194 (aocsh): Define using libm_alias_double.
30195 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30196 (asin): Define using libm_alias_double.
30197 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30198 (atan2): Define using libm_alias_double.
30199 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30200 (atanh): Define using libm_alias_double.
30201 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30202 (cosh): Define using libm_alias_double.
30203 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30204 (exp10): Define using libm_alias_double.
30205 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30206 (exp2): Define using libm_alias_double.
30207 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30208 (exp): Define using libm_alias_double.
30209 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30210 (fmod): Define using libm_alias_double.
30211 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30212 (hypot): Define using libm_alias_double.
30213 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30214 (j0): Define using libm_alias_double.
30215 (y0): Likewise.
30216 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30217 (j1): Define using libm_alias_double.
30218 (y1): Likewise.
30219 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30220 (jn): Define using libm_alias_double.
30221 (yn): Likewise.
30222 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30223 (log10): Define using libm_alias_double.
30224 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30225 (log2): Define using libm_alias_double.
30226 * math/w_log_compat.c: Include <libm-alias-double.h>.
30227 (log): Define using libm_alias_double.
30228 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30229 (pow): Define using libm_alias_double.
30230 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30231 (remainder): Define using libm_alias_double.
30232 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30233 (sinh): Define using libm_alias_double.
30234 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30235 (sqrt): Define using libm_alias_double.
30236 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30237 (tgamma): Define using libm_alias_double.
30238 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30239 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30240 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30241 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30242 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30243 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30244 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30245 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30246 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30247 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30248 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30249 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30250 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30251 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30252 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30253 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30254 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30255 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30256 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30257 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30258 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30259 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30260 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30261 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30262 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30263
30264 * math/e_acoshl.c: Remove.
30265 * math/e_acosl.c: Likewise.
30266 * math/e_asinl.c: Likewise.
30267 * math/e_atan2l.c: Likewise.
30268 * math/e_atanhl.c: Likewise.
30269 * math/e_coshl.c: Likewise.
30270 * math/e_expl.c: Likewise.
30271 * math/e_fmodl.c: Likewise.
30272 * math/e_gammal_r.c: Likewise.
30273 * math/e_hypotl.c: Likewise.
30274 * math/e_j0l.c: Likewise.
30275 * math/e_j1l.c: Likewise.
30276 * math/e_jnl.c: Likewise.
30277 * math/e_lgammal_r.c: Likewise.
30278 * math/e_log10l.c: Likewise.
30279 * math/e_log2l.c: Likewise.
30280 * math/e_logl.c: Likewise.
30281 * math/e_powl.c: Likewise.
30282 * math/e_rem_pio2l.c: Likewise.
30283 * math/e_sinhl.c: Likewise.
30284 * math/e_sqrtf128.c: Likewise.
30285 * math/e_sqrtl.c: Likewise.
30286 * math/k_cosl.c: Likewise.
30287 * math/k_sinl.c: Likewise.
30288 * math/k_tanl.c: Likewise.
30289 * math/s_asinhl.c: Likewise.
30290 * math/s_atanl.c: Likewise.
30291 * math/s_cbrtl.c: Likewise.
30292 * math/s_erfl.c: Likewise.
30293 * math/s_expm1l.c: Likewise.
30294 * math/s_log1pl.c: Likewise.
30295 * math/s_tanhl.c: Likewise.
30296
30297 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30298
30299 [BZ #21745]
30300 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30301 [$(subdir) = math] (sysdep_calls): New variable. Has the
30302 previous contents of sysdep_routines, but re-sorted..
30303 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30304 sysdep_calls.
30305 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30306 defined in sysdep_calls and replace by the respective m_* names.
30307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30308 (compat_symbol): Undefine to avoid duplicated compat symbols in
30309 libc.
30310
30311 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30312
30313 * math/s_fmaf.c: Include <libm-alias-float.h>.
30314 (fmaf): Define using libm_alias_float.
30315 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30316 (acosf): Define using libm_alias_float.
30317 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30318 (acoshf): Define using libm_alias_float.
30319 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30320 (asinf): Define using libm_alias_float.
30321 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30322 (atan2f): Define using libm_alias_float.
30323 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30324 (atanhf): Define using libm_alias_float.
30325 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30326 (coshf): Define using libm_alias_float.
30327 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30328 (exp10f): Define using libm_alias_float.
30329 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30330 (fmodf): Define using libm_alias_float.
30331 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30332 (hypotf): Define using libm_alias_float.
30333 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30334 (j0f): Define using libm_alias_float.
30335 (y0f): Likewise.
30336 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30337 (j1f): Define using libm_alias_float.
30338 (y1f): Likewise.
30339 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30340 (jnf): Define using libm_alias_float.
30341 (ynf): Likewise.
30342 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30343 (log10f): Define using libm_alias_float.
30344 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30345 (log2f): Define using libm_alias_float.
30346 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30347 (logf): Define using libm_alias_float.
30348 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30349 (powf): Define using libm_alias_float.
30350 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30351 (remainderf): Define using libm_alias_float.
30352 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30353 (sinhf): Define using libm_alias_float.
30354 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30355 (sqrtf): Define using libm_alias_float.
30356 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30357 (tgammaf): Define using libm_alias_float.
30358
30359 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30360
30361 * include/math.h (roundeven): Change hidden_proto call to
30362 __roundeven.
30363 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30364 alias.
30365 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30366 (y0): Rename to __y0 and define as weak alias.
30367 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30368 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30369 alias.
30370 (y0f): Rename to __y0f and define as weak alias.
30371 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30372 alias.
30373 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30374 (y1): Rename to __y1 and define as weak alias.
30375 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30376 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30377 alias.
30378 (y1f): Rename to __y1f and define as weak alias.
30379 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30380 alias.
30381 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30382 (yn): Rename to __yn and define as weak alias.
30383 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30384 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30385 alias.
30386 (ynf): Rename to __ynf and define as weak alias.
30387 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30388 (fromfp): Define as weak alias.
30389 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30390 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30391 (fromfpx): Define as weak alias.
30392 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30393 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30394 __getpayload and define as weak alias.
30395 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30396 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30397 __roundeven and define as weak alias.
30398 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30399 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30400 __setpayload.
30401 (setpayload): Define as weak alias.
30402 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30403 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30404 __setpayloadsig.
30405 (setpayloadsig): Define as weak alias.
30406 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30407 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30408 __totalorder and define as weak alias.
30409 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30410 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30411 to __totalordermag and define as weak alias.
30412 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30413 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30414 (ufromfp): Define as weak alias.
30415 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30416 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30417 __ufromfpx.
30418 (ufromfpx): Define as weak alias.
30419 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30420 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30421 Rename to __getpayload and define as weak alias.
30422 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30423 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30424 Rename to __roundeven and define as weak alias.
30425 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30426 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30427 Rename to __totalorder and define as weak alias.
30428 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30429 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30430 (totalordermag): Rename to __totalordermag and define as weak
30431 alias.
30432 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30433 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30434 macro.
30435 (__roundevenl): Likewise.
30436 (__totalorderl): Likewise.
30437 (__totalordermagl): Likewise
30438 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30439 __fromfpf128.
30440 (fromfpf128): Define as weak alias.
30441 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30442 __fromfpxf128.
30443 (fromfpxf128): Define as weak alias.
30444 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30445 __setpayloadf128.
30446 (setpayloadf128): Define as weak alias.
30447 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30448 __setpayloadsigf128.
30449 (setpayloadsigf128): Define as weak alias.
30450 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30451 __ufromfpf128.
30452 (ufromfpf128): Define as weak alias.
30453 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30454 __ufromfpxf128.
30455 (ufromfpxf128): Define as weak alias.
30456 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30457 (fromfpf): Define as weak alias.
30458 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30459 __fromfpxf.
30460 (fromfpxf): Define as weak alias.
30461 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30462 __getpayloadf and define as weak alias.
30463 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30464 __roundevenf and define as weak alias.
30465 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30466 __setpayloadf.
30467 (setpayloadf): Define as weak alias.
30468 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30469 __setpayloadsigf.
30470 (setpayloadsigf): Define as weak alias.
30471 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30472 __totalorderf and define as weak alias.
30473 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30474 Rename to __totalordermagf and define as weak alias.
30475 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30476 __ufromfpf.
30477 (ufromfpf): Define as weak alias.
30478 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30479 __ufromfpxf.
30480 (ufromfpxf): Define as weak alias.
30481 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30482 __fromfpl.
30483 (fromfpl): Define as weak alias.
30484 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30485 __fromfpxl.
30486 (fromfpxl): Define as weak alias.
30487 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30488 to __getpayloadl and define as weak alias.
30489 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30490 __roundevenl and define as weak alias.
30491 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30492 __setpayloadl.
30493 (setpayloadl): Define as weak alias.
30494 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30495 __setpayloadsigl.
30496 (setpayloadsigl): Define as weak alias.
30497 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30498 to __totalorderl and define as weak alias.
30499 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30500 Rename to __totalordermagl and define as weak alias.
30501 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30502 __ufromfpl.
30503 (ufromfpl): Define as weak alias.
30504 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30505 __ufromfpxl.
30506 (ufromfpxl): Define as weak alias.
30507 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30508 __fromfpl.
30509 (fromfpl): Define as weak alias.
30510 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30511 __fromfpxl.
30512 (fromfpxl): Define as weak alias.
30513 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30514 Rename to __getpayloadl and define as weak alias.
30515 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30516 to __roundevenl and define as weak alias. Call __roundeven
30517 instead of roundeven.
30518 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30519 __setpayloadl.
30520 (setpayloadl): Define as weak alias.
30521 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30522 __setpayloadsigl.
30523 (setpayloadsigl): Define as weak alias.
30524 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30525 Rename to __totalorderl and define as weak alias.
30526 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30527 Rename to __totalordermagl and define as weak alias.
30528 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30529 __ufromfpl.
30530 (ufromfpl): Define as weak alias.
30531 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30532 __ufromfpxl.
30533 (ufromfpxl): Define as weak alias.
30534 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30535 __fromfpl.
30536 (fromfpl): Define as weak alias.
30537 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30538 __fromfpxl.
30539 (fromfpxl): Define as weak alias.
30540 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30541 __getpayloadl and define as weak alias.
30542 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30543 __roundevenl and define as weak alias.
30544 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30545 __setpayloadl.
30546 (setpayloadl): Define as weak alias.
30547 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30548 __setpayloadsigl.
30549 (setpayloadsigl): Define as weak alias.
30550 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30551 __totalorderl and define as weak alias.
30552 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30553 Rename to __totalordermagl and define as weak alias.
30554 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30555 __ufromfpl.
30556 (ufromfpl): Define as weak alias.
30557 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30558 __ufromfpxl.
30559 (ufromfpxl): Define as weak alias.
30560
30561 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30562
30563 * benchtests/bench-string.h (realloc_bufs): New function.
30564 (test_init): Call it.
30565 * benchtests/bench-memset-large.c (do_test): Likewise.
30566 * benchtests/bench-memset.c (do_test): Likewise.
30567
30568 * benchtests/bench-memset-large.c: Print output in JSON
30569 format.
30570 * benchtests/bench-memset.c: Likewise.
30571
30572 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30573
30574 [BZ #21084]
30575 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30576 * iconvdata/Makefile: Add IBM858.
30577 * iconvdata/gconv-modules: Likewise.
30578 * iconvdata/tst-tables.sh: Likewise.
30579 * iconvdata/ibm858.c: New file.
30580 * localedata/charmaps/IBM858: Likewise.
30581
30582 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
30583
30584 [BZ #22023]
30585 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30586 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30587
30588 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30589
30590 [BZ #22112]
30591 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30592 and add tel_int_fmt.
30593
30594 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30595
30596 * sysdeps/generic/libm-alias-float128.h: New file.
30597 * sysdeps/generic/math-type-macros-float128.h: Include
30598 <libm-alias-float128.h>.
30599 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30600
30601 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30602
30603 * sysdeps/generic/libm-alias-ldouble.h: New file.
30604 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30605 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30606 * sysdeps/generic/math-type-macros-ldouble.h: Include
30607 <libm-alias-ldouble.h>.
30608 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30609 libm_alias_ldouble.
30610
30611 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30612
30613 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30614 * math/w_exp_compat.c: ... here.
30615 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30616 * math/w_expf_compat.c: ... here.
30617 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30618 * math/w_expl_compat.c: ... here.
30619 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30620 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30621 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30622 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30623
30624 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30625
30626 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30627 redefine.
30628 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30629 macro.
30630 (ldexpl): Only define as compat symbol for libc, not libm.
30631 (scalbnl): Define as compat symbol for libc here.
30632 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30633 define for [IS_IN (libc)].
30634 (__ldexpl_2): Remove alias.
30635 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30636 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30637 name in long_double_symbol call.
30638 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30639 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30640 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30641 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30642 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30643 Remove macro.
30644 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30645 Define as compat symbol.
30646
30647 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30648
30649 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30650 * sysdeps/unix/sysv/linux/alpha/Makefile
30651 [$(subdir) = csu] (sysdep_routines): Remove rule.
30652
30653 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30654
30655 * sysdeps/generic/libm-alias-double.h: New file.
30656 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30657 * sysdeps/generic/math-type-macros-double.h: Include
30658 <libm-alias-double.h>.
30659 [declare_mgen_alias] (declare_mgen_alias): Define to use
30660 libm_alias_double.
30661 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30662 (M_LIBM_NEED_COMPAT): Remove macro.
30663 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30664 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30665 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30666 code.
30667 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30668 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30669 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30670 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30671 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30672 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30673 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30674 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30675 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30676 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30677 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30678 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30679 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30680 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30681 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30682 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30683 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30684 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30685 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30686 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30687 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30688 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30689 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30690 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30691 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30692 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30693 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30694 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30695 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30696 macro.
30697 (declare_mgen_alias): New macro.
30698 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30699 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30701 (M_LIBM_NEED_COMPAT): Remove macro.
30702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30703 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30704 <first-versions.h>.
30705 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30706 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30707
30708 2017-09-12 Joseph Myers <joseph@codesourcery.com>
30709
30710 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30711 (declare_mgen_alias_2): Remove.
30712 * sysdeps/generic/math-type-macros-double.h
30713 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30714 Likewise.
30715 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30716 alias.
30717 (ldexp): Define with declare_mgen_alias.
30718 (scalbn): Likewise.
30719
30720 2017-09-12 Steve Ellcey <sellcey@cavium.com>
30721
30722 * grp/initgroups.c: Include config.h.
30723 (DEFAULT_CONFIG): New macro.
30724 (internal_getgrouplist): Use DEFAULT_CONFIG.
30725 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30726 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30727 (DEFAULT_DEFCONFIG): New macro.
30728 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30729 * nss/grp-lookup.c: Include config.h
30730 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30731 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30732 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30733 * manual/nss.texi: Update default values section.
30734
30735 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30736
30737 [BZ #21967]
30738 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30739 New.
30740 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30741 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30742 Handle MathVec_Prefer_No_AVX512.
30743 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30744 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30745 is set.
30746
30747 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30748
30749 * posix/sched_primax.c (__sched_get_priority_max): Add
30750 libc_hidden_def.
30751 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30752 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30753 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30754 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30755 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30756 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30757 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30758 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30759 Add aliases.
30760
30761 2017-09-11 Joseph Myers <joseph@codesourcery.com>
30762
30763 * sysdeps/generic/libm-alias-float.h: New file.
30764 * sysdeps/generic/math-type-macros-float.h: Include
30765 <libm-alias-float.h>.
30766 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30767
30768 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30769
30770 [BZ #22093]
30771 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30772 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30773 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30774 (HWCAP_IMPORTANT): Likewise.
30775 (HWCAP_X86_64): New enum.
30776 (HWCAP_X86_AVX512_1): Updated.
30777 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30778 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30779 (modules-names): Add x86_64/tst-x86_64mod-1.
30780 (LDFLAGS-tst-x86_64mod-1.so): New.
30781 ($(objpfx)tst-x86_64-1): Likewise.
30782 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30783 (tst-x86_64-1-clean): Likewise.
30784 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30785 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30786
30787 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30788
30789 * po/sv.po: Update translations.
30790 * po/fr.po: Likewise.
30791
30792 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30793
30794 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30795 seconds.
30796 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30797 seconds.
30798 * elf/rtld-Rules: Fix $(error) use.
30799
30800 2017-09-09 Mike FABIAN <mfabian@redhat.com>
30801
30802 [BZ #14925]
30803 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30804 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30805 * localedata/locales/bn_BD: “Bengali” was still used in some
30806 comments. Change it to “Bangla”.
30807
30808 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30809
30810 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30811
30812 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30813
30814 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30815 thunderx2t99p1 to list of cpu names.
30816 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30817 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30818
30819 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30820
30821 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30822 Use strcmp instead of tunable_is_name.
30823
30824 2017-09-08 Joseph Myers <joseph@codesourcery.com>
30825
30826 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30827 (F_GET_RW_HINT): New macro.
30828 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30829 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30830 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30831 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30832 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30833 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30834 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30835 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30836 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30837
30838 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30839 (F_ADD_SEALS): New macro.
30840 [__USE_GNU] (F_GET_SEALS): Likewise.
30841 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30842 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30843 [__USE_GNU] (F_SEAL_GROW): Likewise.
30844 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30845
30846 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30847
30848 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30849 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30850 * posix/glob_internal.h (__glob_pattern_type):
30851 * posix/glob.c (glob):
30852 * posix/glob_pattern_p.c (__glob_pattern_p):
30853 Use them.
30854
30855 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30856 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30857 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30858 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30859 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30861 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30862 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30863 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30864 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30865 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30866 * sysdeps/wordsize-64/glob.c: Likewise.
30867 * sysdeps/wordsize-64/glob64.c: Likewise.
30868 * sysdeps/wordsize-64/globfree.c: Likewise.
30869 * sysdeps/wordsize-64/globfree64.c: Likewise.
30870 * sysdeps/unix/sysv/linux/glob.c: New file.
30871 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30872 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30873 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30874 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30875 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30876 adds !GLOB_NO_OLD_VERSION as an extra condition.
30877 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30878 using relative path instead of absolute one.
30879 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30880 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30881 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30882 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30883 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30884 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30885
30886 [BZ #1062]
30887 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30888 (glob): Use the same scratch buffer for both getlogin_r and
30889 getpwnam_r. Don’t require preallocation of the login name. This
30890 simplifies storage allocation, and corrects the handling of
30891 long login names.
30892
30893 [BZ #1062]
30894 * posix/glob.c (glob): Port recent patches to platforms
30895 lacking getpwnam_r.
30896 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30897 returns an error number rather than setting errno.
30898
30899 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30900 instead of GCC extension.
30901 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30902 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30903 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30904
30905 [BZ #866]
30906 [BZ #1062]
30907 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30908 * posix/bug-glob1.c: Remove file.
30909 * posix/tst-glob_symlinks.c: New file.
30910 * posix/glob.c (__lstat64): New macro.
30911 (is_dir): New function.
30912 (glob, glob_in_dir): Match symlinks even if they are dangling.
30913 (link_stat, link_exists_p): Remove. All uses removed.
30914
30915 [BZ #1062]
30916 [BZ #19971]
30917 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30918 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30919 All uses removed.
30920
30921 [BZ #1062]
30922 CVE-2017-15671
30923 * posix/Makefile (routines): Add globfree, globfree64, and
30924 glob_pattern_p.
30925 * posix/flexmember.h: New file.
30926 * posix/glob_internal.h: Likewise.
30927 * posix/glob_pattern_p.c: Likewise.
30928 * posix/globfree.c: Likewise.
30929 * posix/globfree64.c: Likewise.
30930 * sysdeps/gnu/globfree64.c: Likewise.
30931 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30932 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30933 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30934 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30935 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30936 * sysdeps/wordsize-64/globfree.c: Likewise.
30937 * sysdeps/wordsize-64/globfree64.c: Likewise.
30938 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30939 [NDEBUG): Remove comments.
30940 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30941 (dirent_type): New type. Use uint_fast8_t not
30942 uint8_t, as C99 does not require uint8_t.
30943 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30944 (struct readdir_result): Use dirent_type. Do not define skip_entry
30945 unless it is needed; this saves a byte on platforms lacking d_ino.
30946 (readdir_result_type, readdir_result_skip_entry):
30947 New functions, replacing ...
30948 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30949 these functions, which were removed. This makes the callers
30950 easier to read. All callers changed.
30951 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30952 (size_add_wrapv, glob_use_alloca): New static functions.
30953 (glob, glob_in_dir): Check for size_t overflow in several places,
30954 and fix some size_t checks that were not quite right.
30955 Remove old code using SHELL since Bash no longer
30956 uses this.
30957 (glob, prefix_array): Separate MS code better.
30958 (glob_in_dir): Remove old Amiga and VMS code.
30959 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30960 separate files.
30961 (glob_in_dir): Do not rely on undefined behavior in accessing
30962 struct members beyond their bounds. Use a flexible array member
30963 instead
30964 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30965 0/1. Caller changed.
30966 (glob): Fix memory leaks.
30967 * posix/glob64 (globfree64): Move to separate file.
30968 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30969 (globfree64): Remove hidden alias.
30970 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30971 oldglob.
30972 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30973 separate file.
30974 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30975 define.
30976 Move compat code to separate file.
30977 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30978 separate file.
30979
30980 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30981
30982 * resolv/tst-resolv-qtypes.c (domain): Changed to
30983 "const char domain[] =".
30984
30985 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30986
30987 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30988 version to 3.1.6.
30989
30990 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30991 (TCP_MD5SIG_EXT): Likewise.
30992 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30993 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30994 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30995
30996 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30997
30998 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30999
31000 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31001
31002 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
31003
31004 [BZ #22100]
31005 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31006
31007 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31008
31009 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31010 before assuming that the file is empty. Avoid testing buffer content
31011 when nread == 0.
31012
31013 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31014
31015 [BZ #18858]
31016 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31017 Remove define.
31018 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31019 Likewise.
31020 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31021 Likewise.
31022 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31023 Likewise.
31024 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31025 Likewise.
31026 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31027 Likewise.
31028 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31029 Likewise.
31030
31031 2017-09-06 Florian Weimer <fweimer@redhat.com>
31032
31033 * malloc/dynarray_emplace_enlarge.c
31034 (__libc_dynarray_emplace_enlarge): Add missing else.
31035
31036 2017-09-06 Florian Weimer <fweimer@redhat.com>
31037
31038 [BZ #22096]
31039 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31040 case of failure to obtain the global conf object.
31041
31042 2017-09-06 Florian Weimer <fweimer@redhat.com>
31043
31044 [BZ #22095]
31045 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31046 dynarray allocation failure.
31047
31048 2017-09-06 Florian Weimer <fweimer@redhat.com>
31049
31050 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31051 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31052 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31053 New functions.
31054 (response): Call them. Add 'p', '6' flag processing.
31055 (test_reverse): New function.
31056 (test_get2_any): Call it.
31057 (test_no_inet6): Add 'p' test.
31058 (test_inet6): Likewise.
31059
31060 2017-09-06 Florian Weimer <fweimer@redhat.com>
31061
31062 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31063 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31064 the QNAME.
31065 (test_gai): Adjust query names. Add additional tests.
31066 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31067 test_get2. Adjust query names. Add additional tests.
31068 (test_no_inet6): New function, extracted from threadfunc.
31069 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31070 Add additional tests.
31071
31072 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31073
31074 [BZ #22070]
31075 * localedata/unicode-gen/utf8_gen.py: Set the width for
31076 characters with Prepended_Concatenation_Mark property to 1
31077 * localedata/charmaps/UTF-8: Updated using the improved script.
31078
31079 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31080
31081 [BZ #21750]
31082 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31083 use the range notation for all ranges of neighbouring characters
31084 with the same width.
31085
31086 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31087
31088 * sysdeps/generic/math-type-macros-double.h: Include
31089 <math-svid-compat.h>.
31090 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31091 * sysdeps/generic/math-type-macros-float.h: Include
31092 <math-svid-compat.h>.
31093 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31094 * sysdeps/generic/math-type-macros-ldouble.h: Include
31095 <math-svid-compat.h>.
31096 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31097 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31098 condition.
31099 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31100 * math/w_acosf_compat.c: Likewise.
31101 * math/w_acosh_compat.c: Likewise.
31102 * math/w_acoshf_compat.c: Likewise.
31103 * math/w_acoshl_compat.c: Likewise.
31104 * math/w_acosl_compat.c: Likewise.
31105 * math/w_asin_compat.c: Likewise.
31106 * math/w_asinf_compat.c: Likewise.
31107 * math/w_asinl_compat.c: Likewise.
31108 * math/w_atan2_compat.c: Likewise.
31109 * math/w_atan2f_compat.c: Likewise.
31110 * math/w_atan2l_compat.c: Likewise.
31111 * math/w_atanh_compat.c: Likewise.
31112 * math/w_atanhf_compat.c: Likewise.
31113 * math/w_atanhl_compat.c: Likewise.
31114 * math/w_cosh_compat.c: Likewise.
31115 * math/w_coshf_compat.c: Likewise.
31116 * math/w_coshl_compat.c: Likewise.
31117 * math/w_exp10_compat.c: Likewise.
31118 * math/w_exp10f_compat.c: Likewise.
31119 * math/w_exp10l_compat.c: Likewise.
31120 * math/w_exp2_compat.c: Likewise.
31121 * math/w_exp2f_compat.c: Likewise.
31122 * math/w_exp2l_compat.c: Likewise.
31123 * math/w_fmod_compat.c: Likewise.
31124 * math/w_fmodf_compat.c: Likewise.
31125 * math/w_fmodl_compat.c: Likewise.
31126 * math/w_hypot_compat.c: Likewise.
31127 * math/w_hypotf_compat.c: Likewise.
31128 * math/w_hypotl_compat.c: Likewise.
31129 * math/w_j0_compat.c: Likewise.
31130 * math/w_j0f_compat.c: Likewise.
31131 * math/w_j0l_compat.c: Likewise.
31132 * math/w_j1_compat.c: Likewise.
31133 * math/w_j1f_compat.c: Likewise.
31134 * math/w_j1l_compat.c: Likewise.
31135 * math/w_jn_compat.c: Likewise.
31136 * math/w_jnf_compat.c: Likewise.
31137 * math/w_jnl_compat.c: Likewise.
31138 * math/w_lgamma_r_compat.c: Likewise.
31139 * math/w_lgammaf_r_compat.c: Likewise.
31140 * math/w_lgammal_r_compat.c: Likewise.
31141 * math/w_log10_compat.c: Likewise.
31142 * math/w_log10f_compat.c: Likewise.
31143 * math/w_log10l_compat.c: Likewise.
31144 * math/w_log2_compat.c: Likewise.
31145 * math/w_log2f_compat.c: Likewise.
31146 * math/w_log2l_compat.c: Likewise.
31147 * math/w_log_compat.c: Likewise.
31148 * math/w_logf_compat.c: Likewise.
31149 * math/w_logl_compat.c: Likewise.
31150 * math/w_pow_compat.c: Likewise.
31151 * math/w_powf_compat.c: Likewise.
31152 * math/w_powl_compat.c: Likewise.
31153 * math/w_remainder_compat.c: Likewise.
31154 * math/w_remainderf_compat.c: Likewise.
31155 * math/w_remainderl_compat.c: Likewise.
31156 * math/w_sinh_compat.c: Likewise.
31157 * math/w_sinhf_compat.c: Likewise.
31158 * math/w_sinhl_compat.c: Likewise.
31159 * math/w_sqrt_compat.c: Likewise.
31160 * math/w_sqrtf_compat.c: Likewise.
31161 * math/w_sqrtl_compat.c: Likewise.
31162 * math/w_tgamma_compat.c: Likewise.
31163 * math/w_tgammaf_compat.c: Likewise.
31164 * math/w_tgammal_compat.c: Likewise.
31165 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31166 [LIBM_SVID_COMPAT].
31167 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31168 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31169 [LIBM_SVID_COMPAT].
31170 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31171 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31172 [LIBM_SVID_COMPAT].
31173 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31174 * sysdeps/i386/fpu/w_sqrt.c: New file.
31175 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31176 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31177 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31178 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31179 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31180 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31181 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31182 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31183 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31184 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31185 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31186 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31187 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31188 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31189 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31190 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31191 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31192 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31193 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31194 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31195 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31196 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31197 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31198 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31199 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31200 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31201 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31202 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31203 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31204 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31205 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31206 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31207 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31208 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31209 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31210 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31211 * sysdeps/ia64/fpu/w_log.c: Likewise.
31212 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31213 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31214 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31215 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31216 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31217 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31218 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31219 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31220 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31221 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31222 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31223 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31224 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31225 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31226 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31227 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31228 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31229 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31230 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31231 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31232 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31233 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31234 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31235 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31236 [LIBM_SVID_COMPAT].
31237 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31238 * sysdeps/ieee754/k_standard.c: Likewise.
31239 * sysdeps/ieee754/k_standardf.c: Likewise.
31240 * sysdeps/ieee754/k_standardl.c: Likewise.
31241 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31242 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31243 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31244 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31245 long_double_symbol call on [LIBM_SVID_COMPAT].
31246 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31247 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31248 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31249 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31250 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31251 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31252 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31253 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31254 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31255 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31256 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31257 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31258 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31259 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31260 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31261 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31262 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31263 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31264 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31265 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31266 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31267 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31268
31269 2017-09-05 Steve Ellcey <sellcey@cavium.com>
31270
31271 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31272 * malloc/tst-mallocstate.c: Convert from test-skeleton
31273 to test-driver. Ifdef code using TEST_COMPAT macro.
31274 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31275 * math/test-matherr.c: Likewise.
31276
31277 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31278
31279 [BZ #22086]
31280 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31281 comparing word with byte-swapped constant.
31282
31283 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
31284
31285 [BZ #20498]
31286 * locale/iso-639.def: add Miskito.
31287 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31288 * localedata/locales/miq_NI: New file.
31289
31290 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31291
31292 [BZ #18822]
31293 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31294 (__mkdir): Likewise.
31295 * io/chmod.c (__chmod): Add libc_hidden_def.
31296 * io/mkdir.c (__mkdir): Likewise.
31297 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31298 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31299 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31300 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31301
31302 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31303
31304 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31305 version to 4.13.
31306
31307 [BZ #22082]
31308 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31309 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31310
31311 2017-09-04 Florian Weimer <fweimer@redhat.com>
31312
31313 * math/math.h: Issue warning if log is defined.
31314
31315 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31316
31317 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31318 kernel version to 4.13.
31319
31320 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31321
31322 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
31323 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31324 parameter.
31325 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31326 just <bits/types.h>.
31327 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
31328 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
31329 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
31330 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
31331 * misc/preadv2.c: Include <errno.h>.
31332 * misc/preadv64v2.c: Include <errno.h>.
31333 * misc/pwritev2.c: Include <errno.h>.
31334 * misc/pwritev64v2.c: Include <errno.h>.
31335 * sysdeps/posix/preadv2.c: Include <errno.h>.
31336 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31337 Fix <unistd.h> inclusion.
31338 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31339 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
31340 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31341 __strtoul_internal): New functions.
31342 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31343 * sysdeps/posix/system.c: Include <sigsetops.h>.
31344 * sysdeps/mach/hurd/i386/Makefile
31345 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31346 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31347 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
31348 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31349 __feraiseexcept_renamed to feraiseexcept instead of
31350 __GI_feraiseexcept.
31351 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
31352 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
31353 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31354 RWF_NOWAIT): Define to 0 if undefined already.
31355 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31356 boils down to 0.
31357 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31358 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
31359
31360 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31361
31362 * manual/math.texi (pow10): Do not document.
31363 (pow10f): Likewise.
31364 (pow10l): Likewise.
31365 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31366 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31367 * math/libm-test-exp10.inc (pow10_test): Remove.
31368 (do_test): Do not call pow10.
31369 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31370 [NO_LONG_DOUBLE] (pow10l): Likewise.
31371 * math/w_exp10f_compat.c (pow10f): Likewise.
31372 * math/w_exp10l_compat.c (pow10l): Likewise.
31373 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31374 (pow10): Make into compat symbol.
31375 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31376 (pow10f): Make into compat symbol.
31377 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31378 (pow10l): Make into compat symbol.
31379 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31380 pow10.
31381 (CFLAGS-nldbl-pow10.c): Remove variable..
31382 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31383 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31384 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31385 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31386 Undefine and redefine.
31387 (pow10l): Make into compat symbol.
31388 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31389 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31390 * sysdeps/arm/libm-test-ulps: Likewise.
31391 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31392 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31393 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31394 * sysdeps/microblaze/libm-test-ulps: Likewise.
31395 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31396 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31397 * sysdeps/nios2/libm-test-ulps: Likewise.
31398 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31399 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31400 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31401 * sysdeps/sh/libm-test-ulps: Likewise.
31402 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31403 * sysdeps/tile/libm-test-ulps: Likewise.
31404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31405
31406 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31407
31408 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31409
31410 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31411
31412 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31413 "../ChangeLog.old/ChangeLog.8".
31414 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31415 "../ChangeLog.old/ChangeLog.14".
31416
31417 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31418
31419 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31420 Threads Library.
31421
31422 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31423
31424 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31425
31426 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31427
31428 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31429 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31430
31431 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31432
31433 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31434 32 atexit handlers.
31435
31436 2017-09-01 Zack Weinberg <zackw@panix.com>
31437
31438 * math/math.h (HUGE_VAL): Improve commentary.
31439
31440 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31441 Andreas Schwab <schwab@suse.de>
31442
31443 [BZ #21530]
31444 * include/stdio.h (__gen_tempfd): New function.
31445 * stdio-common/Makefile (routines): Add gentempfd.
31446 * stdio-common/gentempfd.c: New file.
31447 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31448 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31449 unnamed file first.
31450
31451 2017-09-01 Florian Weimer <fweimer@redhat.com>
31452
31453 [BZ #21915]
31454 [BZ #21922]
31455 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31456 result to determine success or failure, not the errno value.
31457 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31458 (tst-nss-files-hosts-erange): Link with -ldl.
31459 * nss/tst-nss-files-hosts-erange.c: New file.
31460 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31461 (do_test): Add NO_DATA tests.
31462 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31463 (do_test): Call it.
31464
31465 2017-09-01 Florian Weimer <fweimer@redhat.com>
31466
31467 [BZ #21922]
31468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31469 coming from gethostbyname2_r.
31470
31471 2017-09-01 Florian Weimer <fweimer@redhat.com>
31472
31473 * support/namespace.h (struct support_chroot_configuration): Add
31474 hosts, host_conf.
31475 (struct support_chroot): Add path_hosts, path_host_conf.
31476 * support/support_chroot.c (write_file): New function.
31477 (support_chroot_create): Call it to process /etc/resolv.conf,
31478 /etc/hosts, /etc/host.conf.
31479 (support_chroot_free): Update.
31480
31481 2017-09-01 Florian Weimer <fweimer@redhat.com>
31482
31483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31484 status indicates it is set.
31485
31486 2017-09-01 Florian Weimer <fweimer@redhat.com>
31487
31488 [BZ #20532]
31489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31490 function lookup failures more reliable.
31491
31492 2017-09-01 Florian Weimer <fweimer@redhat.com>
31493
31494 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31495 (getcanonname): Likewise.
31496 (gaih_inet): Likewise.
31497
31498 2017-09-01 Florian Weimer <fweimer@redhat.com>
31499
31500 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31501 (getcanonname): Likewise.
31502 (gaih_inet): Likewise.
31503
31504 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31505 Richard Henderson <rth@twiddle.net>
31506
31507 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31508 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31509 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31510 (IREG_SIZE, OREG_SIZE): New macros.
31511 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31512 (IREG_SIZE, OREG_SIZE): New macros.
31513 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31514 (IREG_SIZE): New macro.
31515 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31516 (IREG_SIZE): New macro.
31517 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31518 New includes.
31519 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31520 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31521 (__CONCATX): Handle exceptions correctly on large values that may
31522 set FE_INVALID.
31523 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31524 Initialize if not already set.
31525 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31526
31527 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31528
31529 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31530 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31531 Likewise.
31532 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31533 Likewise.
31534 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31535 Likewise.
31536 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31537 Likewise.
31538 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31539 Likewise.
31540 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31541 Likewise.
31542 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31543 Likewise.
31544 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31545 (NO_CANCELLATION): Likewise.
31546 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31547 Likewise.
31548 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31549 Likewise.
31550 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31551 Likewise.
31552 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31553 (NO_CANCELLATION): Likewise.
31554 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31555 (NO_CANCELLATION): Likewise.
31556 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31557 Likewise
31558 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31559 Likewise.
31560 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31561 Likewise.
31562 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31563 Likewise.
31564 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31565 hidden prototype.
31566 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31567 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31568
31569 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31570
31571 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31572 in resolver call.
31573
31574 2017-08-31 Florian Weimer <fweimer@redhat.com>
31575
31576 * include/libc-symbols.h (internal_function): Remove.
31577
31578 2017-08-31 Florian Weimer <fweimer@redhat.com>
31579
31580 * stdlib/fmtmsg.c (internal_addseverity): Remove
31581 internal_function.
31582
31583 2017-08-31 Florian Weimer <fweimer@redhat.com>
31584
31585 * stdio-common/printf_fp.c (group_number): Remove
31586 internal_function.
31587 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31588
31589 2017-08-31 Florian Weimer <fweimer@redhat.com>
31590
31591 * posix/fnmatch.c (internal_function): Remove definition.
31592 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31593 * posix/regcomp.c (peek_token, init_word_char)
31594 (duplicate_node_closure, fetch_token, peek_token)
31595 (peek_token_bracket, build_range_exp, build_collating_symbol):
31596 Likewise.
31597 * posix/regex_internal.c (re_string_construct_common)
31598 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31599 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31600 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31601 (re_string_translate_buffer, re_string_reconstruct)
31602 (re_string_peek_byte_case, re_string_fetch_byte_case)
31603 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31604 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31605 (re_node_set_add_intersect, re_node_set_init_union)
31606 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31607 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31608 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31609 (re_acquire_state_context): Likewise.
31610 * posix/regex_internal.h (internal_function): Remove definition.
31611 (re_string_realloc_buffers, build_wcs_buffer)
31612 (build_wcs_upper_buffer, build_upper_buffer)
31613 (re_string_translate_buffer, re_string_context_at)
31614 (re_string_char_size_at, re_string_wchar_at)
31615 (re_string_elem_size_at): Likewise.
31616 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31617 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31618 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31619 (re_search_internal, re_search_2_stub, re_search_stub)
31620 (re_copy_regs, prune_impossible_nodes, check_matching)
31621 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31622 (free_fail_stack_return, sift_states_iter_mb)
31623 (sift_states_backward, build_sifted_states)
31624 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31625 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31626 (check_subexp_limits, sift_states_bkref, merge_state_array)
31627 (find_recover_state, transit_state, merge_state_with_log)
31628 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31629 (transit_state_mb, transit_state_bkref, get_subexp)
31630 (get_subexp_sub, find_subexp_node, check_arrival)
31631 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31632 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31633 (check_node_accept_bytes, find_collation_sequence_value)
31634 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31635 (acquire_init_state_context, check_halt_node_context)
31636 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31637 (sub_epsilon_src_nodes): Likewise.
31638 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31639 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31640 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31641 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31642 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31643 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31644 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31645 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31646 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31647 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31648 (PREADV): Likewise.
31649 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31650 (PREADV): Likewise.
31651 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31652 (PWRITEV): Likewise.
31653 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31654 (PWRITEV): Likewise.
31655 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31656 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31657
31658 2017-08-31 Florian Weimer <fweimer@redhat.com>
31659
31660 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31661 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31662 Remove internal_function.
31663 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31664 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31665 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31666 (__deallocate_stack, __libc_pthread_init)
31667 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31668 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31669 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31670 Likewise.
31671 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31672 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31673 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31674 Likewise.
31675 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31676 (__pthread_mutex_unlock_usercnt): Likewise.
31677
31678 2017-08-31 Florian Weimer <fweimer@redhat.com>
31679
31680 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31681 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31682 (fts_safe_changedir): Remove internal_function.
31683 * io/ftw.c (internal_function): Remove definition.
31684 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31685
31686 2017-08-31 Florian Weimer <fweimer@redhat.com>
31687
31688 * inet/deadline.c (__deadline_current_time)
31689 (__deadline_from_timeval, __deadline_to_ms): Remove
31690 internal_function.
31691 * inet/getnameinfo.c (nrl_domainname): Likewise.
31692 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31693 * inet/inet6_option.c (add_pad): Likewise.
31694 * inet/net-internal.h (__deadline_current_time)
31695 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31696 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31697 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31698 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31699
31700 2017-08-31 Joseph Myers <joseph@codesourcery.com>
31701
31702 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31703 include <bits/nan.h>.
31704 * math/Makefile (headers): Remove bits/nan.h.
31705 * bits/nan.h: Remove.
31706 * sysdeps/ieee754/bits/nan.h: Likewise.
31707 * sysdeps/mips/bits/nan.h: Likewise.
31708
31709 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31710 not include <bits/inf.h>.
31711 * math/Makefile (headers): Remove bits/inf.h.
31712 * bits/inf.h: Remove.
31713 * sysdeps/ieee754/bits/inf.h: Likewise.
31714
31715 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31716 bits/huge_vall.h or bits/huge_val_flt128.h.
31717 (HUGE_VAL): Define directly here.
31718 [__USE_ISOC99] (HUGE_VALF): Likewise.
31719 [__USE_ISOC99] (HUGE_VALL): Likewise.
31720 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31721 (HUGE_VAL_F128): Likewise.
31722 * math/Makefile (headers): Remove bits/huge_val.h,
31723 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31724 * bits/huge_val.h: Remove.
31725 * bits/huge_val_flt128.h: Likewise.
31726 * bits/huge_valf.h: Likewise.
31727 * bits/huge_vall.h: Likewise.
31728 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31729 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31730 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31731 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31732 * sysdeps/sh/bits/huge_val.h: Likewise.
31733 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31734 * sysdeps/x86/bits/huge_vall.h: Likewise.
31735
31736 2017-08-31 Florian Weimer <fweimer@redhat.com>
31737
31738 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31739 internal_function.
31740 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31741 Likewise.
31742 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31743 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31744 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31745 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31746 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31747 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31748 * elf/dl-libc.c (dlerror_run): Likewise.
31749 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31750 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31751 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31752 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31753 Likewise.
31754 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31755 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31756 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31757 * elf/dl-profile.c (_dl_start_profile): Likewise.
31758 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31759 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31760 Likewise.
31761 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31762 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31763 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31764 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31765 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31766 (_dl_allocate_tls_storage): Likewise.
31767 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31768 (_dl_check_all_versions): Likewise.
31769 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31770 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31771 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31772 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31773 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31774 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31775 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31776 internal_function from __dl_start.
31777 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31778 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31779 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31780 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31781 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31782 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31783 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31784 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31785 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31786 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31787 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31788 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31789 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31790 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31791 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31792 Likewise.
31793 (struct rtld_global_ro): Remove internal_function from the
31794 _dl_lookup_symbol_x member.
31795 (_dl_symbol_value): Remove. No longer defined anywhere.
31796 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31797 internal_function.
31798 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31799 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31800 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31801 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31802 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31803 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31804 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31805 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31806 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31807 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31808 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31809 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31810
31811 2017-08-31 Florian Weimer <fweimer@redhat.com>
31812
31813 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31814 Remove internal_function.
31815 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31816 Likewise.
31817 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31818 Likewise.
31819
31820 2017-08-31 Florian Weimer <fweimer@redhat.com>
31821
31822 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31823 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31824 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31825
31826 2017-08-31 Florian Weimer <fweimer@redhat.com>
31827
31828 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31829 (__gai_enqueue_request): Remove internal_function.
31830 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31831 (__gai_remove_request, __gai_notify, __gai_notify_only)
31832 (__gai_sigqueue): Likewise.
31833 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31834 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31835 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31836 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31837 Likewise.
31838
31839 2017-08-31 Florian Weimer <fweimer@redhat.com>
31840
31841 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31842 * include/dirent.h (__opendirat, __getdents, __getdents64)
31843 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31844 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31845 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31846 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31847 Likewise.
31848 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31849
31850 2017-08-31 Florian Weimer <fweimer@redhat.com>
31851
31852 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31853 internal_function.
31854 (GETCWD_RETURN_TYPE): Likewise.
31855
31856 2017-08-31 Florian Weimer <fweimer@redhat.com>
31857
31858 * include/time.h (__tz_compute, __strptime_internal): Remove
31859 internal_function.
31860 * time/strptime_l.c (__strptime_internal): Likewise.
31861 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31862
31863 2017-08-31 Florian Weimer <fweimer@redhat.com>
31864
31865 * iconv/gconv.c (__gconv): Remove internal_function.
31866 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31867 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31868 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31869 (__gconv_release_cache): Likewise.
31870 * iconv/gconv_close.c (__gconv_close): Likewise.
31871 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31872 (read_conf_file, __gconv_get_path): Likewise.
31873 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31874 (__gconv_release_step, gen_steps, increment_counter)
31875 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31876 (__gconv_close_transform, free_modules_db): Likewise.
31877 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31878 Likewise.
31879 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31880 (__gconv_find_transform, __gconv_lookup_cache)
31881 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31882 (__gconv_close_transform, __gconv_release_cache)
31883 (__gconv_loaded_object, __gconv_release_shlib)
31884 (__gconv_compare_alias): Likewise.
31885 * iconv/gconv_open.c (__gconv_open): Likewise.
31886 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31887 * iconv/iconvconfig.c (add_module): Likewise.
31888 * intl/dcigettext.c (plural_lookup, guess_category_value)
31889 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31890 * intl/eval-plural.h (plural_eval): Likewise.
31891 * intl/finddomain.c (_nl_find_domain): Likewise.
31892 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31893 (_nl_load_domain, _nl_find_msg): Likewise.
31894 (internal_function): Remove definition.
31895 * intl/loadinfo.h (internal_function): Likewise.
31896 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31897 internal_function.
31898 * intl/localealias.c (internal_function): Remove definition.
31899 (read_alias_file): Remove internal_function.
31900 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31901 * intl/plural-exp.h (internal_function): Remove definition.
31902 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31903 internal_function.
31904 * intl/plural.c: Regenerate.
31905 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31906 * locale/coll-lookup.c (__collidx_table_lookup)
31907 (__collseq_table_lookup): Likewise.
31908 * locale/coll-lookup.h (__collidx_table_lookup)
31909 (__collseq_table_lookup): Likewise.
31910 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31911 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31912 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31913 (_nl_unload_locale): Likewise.
31914 * locale/localeinfo.h (struct __locale_data): Remove
31915 internal_function from cleanup member.
31916 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31917 (_nl_remove_locale, _nl_load_locale_from_archive)
31918 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31919 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31920 (_nl_cleanup_time): Remove internal_function.
31921 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31922 (_nl_parse_alt_digit): Likewise.
31923 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31924 (_nl_select_era_entry): Likewise.
31925 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31926 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31927 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31928 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31929 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31930
31931 2017-08-31 Florian Weimer <fweimer@redhat.com>
31932
31933 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31934 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31935 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31936 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31937 Likewise.
31938 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31939 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31940 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31941 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31942 Likewise.
31943 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31944
31945 2017-08-31 Florian Weimer <fweimer@redhat.com>
31946
31947 * misc/getttyent.c (skip, value): Remove internal_function.
31948 * misc/syslog.c (openlog_internal): Likewise.
31949 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31950
31951 2017-08-31 Florian Weimer <fweimer@redhat.com>
31952
31953 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31954 (__nss_rewrite_field): Remove internal_function.
31955 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31956 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31957 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31958 * nss/nsswitch.c (nss_parse_file, nss_getline)
31959 (nss_parse_service_list, nss_new_service): Likewise.
31960 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31961 * nss/valid_field.c (__nss_valid_field): Likewise.
31962 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31963
31964 2017-08-31 Florian Weimer <fweimer@redhat.com>
31965
31966 * malloc/arena.c (__malloc_fork_lock_parent)
31967 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31968 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31969 internal_function from defintions.
31970 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31971 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31972 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31973 internal_function from declarations.
31974 * malloc/malloc.c (internal_function): Do not define.
31975 (mem2mem_check): Remove internal_function from declaration.
31976 (munmap_chunk, mremap_chunk): Remove internal_function.
31977 * malloc/mtrace.c (tr_where): Likewise.
31978
31979 2017-08-31 Florian Weimer <fweimer@redhat.com>
31980
31981 * include/rpc/pmap_clnt.h (__get_socket): Remove
31982 internal_function.
31983 * sunrpc/auth_des.c (synchronize): Likewise.
31984 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31985 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31986 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31987 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31988 (key_call): Likewise.
31989 * sunrpc/pm_getport.c (__get_socket): Likewise.
31990 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31991 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31992 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31993 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31994 (invalidate): Likewise.
31995 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31996 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31997 (set_input_fragment, get_input_bytes): Likewise.
31998
31999 2017-08-31 Florian Weimer <fweimer@redhat.com>
32000
32001 * malloc/malloc.c (_int_free): Remove locked variable and related
32002 asserts.
32003
32004 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32005
32006 [BZ #22051]
32007 * Makerules (build-module-helper-objlist): Filter out
32008 $(elf-objpfx)sofini.os.
32009 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32010 needed.
32011
32012 2017-08-31 Florian Weimer <fweimer@redhat.com>
32013
32014 * libio/fcloseall.c: Assume weak_alias is defined.
32015 * libio/feof.c: Likewise.
32016 * libio/fileno.c: Likewise.
32017 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32018 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32019 definitions.
32020 (_IO_file_open): Call __open directly.
32021 (_IO_new_file_sync): Assume ESPIPE is defined.
32022 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32023 (_IO_new_file_write): Call __write directly.
32024 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32025 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32026 * libio/genops.c: Assume _LIBC is defined.
32027 (save_for_backup): Remove internal_function.
32028 * libio/getc.c: Assume weak_alias is defined.
32029 * libio/getwc.c: Likewise.
32030 * libio/iofclose.c: Assume _LIBC is defined.
32031 * libio/iofdopen.c: Likewise.
32032 (_IO_fcntl): Remove macro definition.
32033 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32034 Call __fcntl directly.
32035 * libio/iofflush.c: Assume weak_alias is defined.
32036 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32037 defined.
32038 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32039 * libio/iofgets.c: Likewise.
32040 * libio/iofopen.c: Assume _LIBC is defined.
32041 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32042 * libio/iofputs.c: Assume weak_alias is defined.
32043 * libio/iofread.c: Likewise.
32044 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32045 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32046 * libio/ioftell.c: Assume weak_alias is defined.
32047 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32048 * libio/iofwide.c: Assume _LIBC is defined.
32049 (_IO_fwide): Drop SHARED conditional because it is implied by
32050 SHLIB_COMPAT.
32051 * libio/iofwrite.c: Assume weak_alias is defined.
32052 * libio/iogetdelim.c: Likewise.
32053 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32054 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32055 (_IO_getwline): Call __wmemcpy directly.
32056 * libio/iopopen.c: Assume _LIBC is defined.
32057 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32058 (_IO_close): Remove macro definitions.
32059 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32060 _exit directly.
32061 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32062 directly.
32063 * libio/ioputs.c: Assume weak_alias is defined.
32064 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32065 * libio/iosetbuffer.c: Assume weak_alias is defined.
32066 * libio/iosetvbuf.c: Likewise.
32067 * libio/ioungetc.c: Likewise.
32068 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32069 libc_hidden_def, libc_hidden_weak, NULL are defined.
32070 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32071 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32072 defined.
32073 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32074 definitions.
32075 (_IO_old_file_init_internal): Drop SHARED conditional because it
32076 is implied by SHLIB_COMPAT.
32077 (_IO_old_file_fopen): Call __open directly.
32078 (_IO_old_file_sync): Assume ESPIPE is defined.
32079 (_IO_old_file_write): Call __write directly.
32080 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32081 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32082 Call __fcntl directly.
32083 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32084 (_IO_old_fgetpos): Assume EIO is defined.
32085 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32086 (_IO_old_fgetpos64): Assume EIO is defined.
32087 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32088 (_IO_old_fsetpos): Assume EIO is defined.
32089 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32090 (_IO_old_fsetpos64): Assume EIO is defined.
32091 * libio/oldiopopen.c: Assume _LIBC is defined.
32092 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32093 (_IO_close): Remove macro definitions.
32094 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32095 directly.
32096 (_IO_old_proc_close): Call __close, __waitpid directly.
32097 * libio/put.c: Assume weak_alias is defined.
32098 * libio/stdfiles.c: Assume _LIBC is defined.
32099 * libio/stdio.c: Likewise.
32100 * libio/wfileops.c: Likewise.
32101 (_IO_wfile_sync): Assume ESPIPE is defined.
32102 * libio/wgenops.c: Assume _LIBC is defined.
32103 (save_for_wbackup): Remove internal_function.
32104
32105 2017-08-31 Florian Weimer <fweimer@redhat.com>
32106
32107 * malloc/malloc.c (top_check): Change return type to void. Remove
32108 internal_function.
32109 * malloc/hooks.c (top_check): Likewise.
32110 (malloc_check, realloc_check, memalign_check): Adjust.
32111
32112 2017-08-30 Joseph Myers <joseph@codesourcery.com>
32113
32114 [BZ #21457]
32115 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32116 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32117 sigcontext and namespace requirements.
32118 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32119 * sysdeps/m68k/sys/ucontext.h: Likewise.
32120 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32121 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32122 <bits/sigcontext.h>.
32123 (__ctx): Define earlier.
32124 (mcontext_t): Define structure contents rather than using struct
32125 sigcontext.
32126 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32127 __glibc_reserved1 instead of __reserved.
32128 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32129 <bits/sigcontext.h>.
32130 (__ctx): Define earlier.
32131 (mcontext_t): Define structure contents rather than using struct
32132 sigcontext.
32133 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32134 mcontext_t instead of struct sigcontext.
32135 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32136 <bits/sigcontext.h>.
32137 (__ctx): Define earlier.
32138 (mcontext_t): Define structure contents rather than using struct
32139 sigcontext.
32140 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32141 <bits/sigcontext.h>.
32142 (__ctx): Define earlier.
32143 (mcontext_t): Define structure contents rather than using struct
32144 sigcontext.
32145 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32146 mcontext_t instead of struct sigcontext.
32147 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32148 mcontext_t instead of struct sigcontext.
32149 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32150 <bits/sigcontext.h>.
32151 (__ctx): New macro.
32152 (struct __ia64_fpreg_mcontext): New type.
32153 (mcontext_t): Define structure contents rather than using struct
32154 sigcontext.
32155 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32156 (uc_sigmask): Define using __ctx.
32157 (uc_stack): Likewise.
32158 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32159 <bits/sigcontext.h>.
32160 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32161 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32162 <bits/sigcontext.h>.
32163 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32164 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32165 <bits/sigcontext.h>.
32166 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32167 <bits/sigcontext.h>.
32168 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32169 <bits/sigcontext.h>.
32170 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32171 <bits/sigcontext.h>.
32172 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32173 <bits/sigcontext.h>.
32174 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32175 <bits/sigcontext.h>.
32176 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32177 <bits/sigcontext.h>.
32178 (__ctx): Define earlier.
32179 (mcontext_t): Define structure contents rather than using struct
32180 sigcontext.
32181 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32182 <bits/sigcontext.h>. Include <bits/types.h>.
32183 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32184 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32185 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32186 (test-xfail-UNIX98/signal.h/conform): Likewise.
32187 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32188 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32189 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32190 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32191 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32192 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32193 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32194 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32195 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32196
32197 2017-08-30 Florian Weimer <fweimer@redhat.com>
32198
32199 * malloc/dynarray_emplace_enlarge.c
32200 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32201 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32202 * malloc/tst-dynarray.c (test_long_overflow): New function.
32203 (do_test): Call it.
32204
32205 2017-08-30 Florian Weimer <fweimer@redhat.com>
32206
32207 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32208 (set_arena_corrupt): Remove definitions.
32209 (mtrim): Do not check for corrupt arena.
32210 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32211 Likewise.
32212
32213 2017-08-30 Florian Weimer <fweimer@redhat.com>
32214
32215 [BZ #21754]
32216 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32217 check_action.
32218 (ptmalloc_init): Do not set or use check_action.
32219 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32220 call to malloc_printerr. Remove return statement.
32221 (free_check): Likewise. Remove arena unlock.
32222 (top_check): Update comment. Adjust call to malloc_printerr.
32223 Remove heap repair code.
32224 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32225 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32226 (sysmalloc): Adjust call to malloc_printerr.
32227 (munmap_chunk, __libc_realloc): Likewise. Remove return
32228 statement.
32229 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32230 Remove errout label and corresponding gotos.
32231 (_int_free): Likewise. Remove arena unlock.
32232 (do_set_mallopt_check): Do not set check_action.
32233 (malloc_printerr): Adjust parameter list. Do not mark arena as
32234 corrupt.
32235 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32236 comment.
32237 * manual/probes.texi (Memory Allocation Probes): Remove
32238 memory_mallopt_check_action.
32239
32240 2017-08-30 Steve Ellcey <sellcey@cavium.com>
32241
32242 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32243 Use pointer to uint64_t instead of long int for sp.
32244
32245 2017-08-30 Florian Weimer <fweimer@redhat.com>
32246
32247 [BZ #21754]
32248 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32249 without printing a backtrace. Do not leak any information in the
32250 error message.
32251 * manual/memory.texi (Heap Consistency Checking): Update.
32252 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32253
32254 2017-08-30 Florian Weimer <fweimer@redhat.com>
32255
32256 Do not scale NPTL tests with available number of CPUs.
32257 * nptl/tst-cond16.c (count): Set to constant value of 8.
32258 * nptl/tst-cond18.c (count): Likewise.
32259
32260 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32261
32262 [BZ #22035]
32263 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32264 Define to take a second argument that is a macro that
32265 concatentates a suffix, not the suffix itself.
32266 (__CONCAT_d): New macro.
32267 (__CONCAT_f): Likewise.
32268 (__CONCAT_l): Likewise.
32269
32270 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32271
32272 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32273 by child.
32274
32275 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32276 Aurelien Jarno <aurelien@aurel32.net>
32277 Maciej W. Rozycki <macro@imgtec.com>
32278
32279 [BZ #21956]
32280 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32281 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32282 `mips16-syscall6' and `mips16-syscall7'.
32283 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32284 (CFLAGS-mips16-syscall7.c): Remove.
32285 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32286 Remove `__mips16_syscall5', `__mips16_syscall6' and
32287 `__mips16_syscall7'.
32288 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32289 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32290 `__mips_syscall_return'.
32291 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32292 (__mips16_syscall1): Likewise.
32293 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32294 (__mips16_syscall2): Likewise.
32295 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32296 (__mips16_syscall3): Likewise.
32297 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32298 (__mips16_syscall4): Likewise.
32299 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32300 Remove.
32301 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32302 Remove.
32303 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32304 Remove.
32305 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32306 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32307 `__mips16_syscall5'. Remove prototype.
32308 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32309 `__mips16_syscall6'. Remove prototype.
32310 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32311 `__mips16_syscall7'. Remove prototype.
32312 (__nomips16, __mips16_syscall_return): Move to...
32313 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32314 (__nomips16, __mips_syscall_return): ... here.
32315 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32316 `__mips16_syscall_return' to `__mips_syscall_return'.
32317 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32318 `internal_syscall##nr'.
32319 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32320 `internal_syscall##nr'.
32321 (FORCE_FRAME_POINTER): Remove.
32322 (__mips_syscall5): New prototype.
32323 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32324 (__mips_syscall6): New prototype.
32325 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32326 (__mips_syscall7): New prototype.
32327 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32328 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32329 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32330 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32331 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32332 (sysdep_routines): Add libc-do-syscall.
32333 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32334 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32335
32336 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32337
32338 [BZ #21672]
32339 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32340 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32341 (advise_stack_range): New function.
32342 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32343 stack non required to advise_stack_range at allocatestack.c
32344
32345 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32346
32347 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32348
32349 2017-08-29 Florian Weimer <fweimer@redhat.com>
32350
32351 [BZ #22026]
32352 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32353 __end_fct. Mangle __end_fct after setting it to NULL.
32354 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32355 (modules-names, modules-names-tests): Add
32356 tst-gconv-init-failure-mod.
32357 (gconv-modules): New target.
32358 (tst-gconv-init-failure-mod.so): Link against libsupport.
32359 (tst-gconv-init-failure): Depend on gconv-modules,
32360 tst-gconv-init-failure-mod.so.
32361 * iconv/tst-gconv-init-failure-mod.c: New file.
32362 * iconv/tst-gconv-init-failure.c: Likewise.
32363 * iconv/test-gconv-modules: Likewise.
32364
32365 2017-08-29 Florian Weimer <fweimer@redhat.com>
32366
32367 [BZ #22025]
32368 * iconv/gconv_db.c (free_derivation): Remove redundant
32369 parentheses.
32370 (gen_steps): Unconditionally mangle __btowc_fct after
32371 initialization.
32372 (increment_counter): Likewise. Do not call init_fct for internal
32373 modules.
32374
32375 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32376
32377 [BZ #22028]
32378 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32379 (_MSUF_): Remove macro.
32380 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32381 Likewise.
32382 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32383 (__REDIRFROM_X): New macro.
32384 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32385 Likewise.
32386 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32387 (__REDIRTO_X): Likewise.
32388 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32389 arguments.
32390 (__MATH_REDIRCALL_2): Likewise.
32391 (__MATH_REDIRCALL_INTERNAL): Likewise.
32392 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32393 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32394 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32395 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32396 * math/test-finite-macros.c: New file.
32397 * math/Makefile (tests): Add test-finite-macros.
32398 (CFLAGS-test-finite-macros.c): New variable.
32399
32400 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
32401 Jeff Law <law@redhat.com>
32402
32403 [BZ #22025]
32404 Mangle NULL pointers in iconv/gconv.
32405 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32406 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32407 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32408 is non-NULL before demangling the end_fct. Check for NULL
32409 end_fct after demangling.
32410 (__gconv_release_step): Demangle the end_fct before checking
32411 it for NULL. Remove assert on __shlibc_handle != NULL.
32412 (gen_steps): Don't check btowc_fct for NULL before mangling.
32413 Demangle init_fct before checking for NULL.
32414 (increment_counter): Likewise.
32415 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32416 end_fct for NULL before mangling.
32417 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32418 for NULL.
32419
32420 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
32421
32422 [BZ #21971]
32423 * locale/iso-639.def: add Morisyen.
32424
32425 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32426
32427 [BZ #21930]
32428 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32429 (iszero): New C++ implementation that does not use
32430 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32431 signaling nans are enabled, since __builtin_types_compatible_p
32432 is a C-only feature.
32433 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32434 defined, include ieee754_float128.h for access to the union and
32435 member ieee854_float128.ieee.
32436 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32437 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32438 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32439 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32440 options of test-math-zero on powerpc64le.
32441
32442 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32443
32444 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32445 Change double to float.
32446
32447 2017-08-28 Joseph Myers <joseph@codesourcery.com>
32448
32449 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32450 unconditional.
32451 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32452 conditional code; define contents only for [LIBM_SVID_COMPAT].
32453
32454 2017-08-28 Florian Weimer <fweimer@redhat.com>
32455
32456 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32457 (abi-lp64_be-options): Remove.
32458 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32459 (abi-hard-options): Likewise.
32460 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32461 (abi-o32_hard-options, abi-o32_soft_2008-options)
32462 (abi-o32_hard_2008-options, abi-n32_soft-options)
32463 (abi-n32_hard-options, abi-n32_soft_2008-options)
32464 (abi-n32_hard_2008-options, abi-n64_soft-options)
32465 (abi-n64_hard-options, abi-n64_soft_2008-options)
32466 (abi-n64_hard_2008-options): Likewise.
32467 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32468 (abi-64-v1-options, abi-64-v2-options): Likewise.
32469 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32470 (abi-64-options): Likewise.
32471 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32472 (abi-64-options): Likewise.
32473 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32474 (abi-64-options): Likewise.
32475 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32476 (abi-64-options, abi-x32-options): Likewise.
32477
32478 2017-08-28 Florian Weimer <fweimer@redhat.com>
32479
32480 Store supported list of SYS_* system calls in the source tree.
32481 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32482 (bits/syscall.h): Generate from list file.
32483 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32484 [$(subdir) = misc] (tests): Add tst-syscall-list.
32485 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32486 [$(subdir) = misc] (tst-syscall-list-macros.list)
32487 [$(subdir) = misc] (tst-syscall-list-nr.list)
32488 (tst-syscall-list-sys.list): Helper targets for new
32489 tst-syscall-list test.
32490 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32491 tst-syscall-list.sh.
32492 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32493 target. Do not include bits/syscall.d.
32494 [$(subdir) = misc] (generated): Do not update.
32495 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32496 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32497 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32498 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32499
32500 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32501
32502 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32503 (tst-cxa_atexit, tst-on_exit): Likewise.
32504 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32505 tst-cxa_atexit, and tst-on_exit.
32506 * stdlib/tst-atexit-common.c: New file.
32507 * stdlib/tst-atexit.c: New file.
32508 * stdlib/tst-at_quick_exit.c: New file.
32509 * stdlib/tst-cxa_atexit.c: New file.
32510 * stdlib/tst-on_exit.c: New file.
32511
32512 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32513
32514 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
32515 * mach/stack_chk_fail_local.c: New file.
32516 * hurd/stack_chk_fail_local.c: New file.
32517 * mach/Machrules ($(interface-library)-routines): Add
32518 stack_chk_fail_local.
32519 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32520 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32521 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32522 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32523 * hurd/Makefile (CFLAGS-hurdstartup.o,
32524 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
32525
32526 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32527
32528 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32529 (index_cpu_*, index_arch_*): Removed.
32530
32531 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32532
32533 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32534 Use uint64_t instead of unsigned long.
32535
32536 2017-08-25 Joseph Myers <joseph@codesourcery.com>
32537
32538 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32539 [__HAVE_DISTINCT_FLOAT128].
32540
32541 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32542 of <bits/math-finite.h>.
32543 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32544 inclusion of <bits/math-finite.h>.
32545 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32546 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32547 __NO_LONG_DOUBLE_MATH].
32548 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32549 (__MATH_REDIRCALL_2): Likewise.
32550 (__MATH_REDIRCALL_INTERNAL): Likewise.
32551 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32552 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32553 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32554
32555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32556 Remove file.
32557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32558 Likewise.
32559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32560 Likewise.
32561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32562 Likewise.
32563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32564 Likewise.
32565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32566 Likewise.
32567 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32568 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32569 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32570 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32572 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32573 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32574 w_sqrtf_compat-ppc32.
32575
32576 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32577
32578 * math/math.h [defined __cplusplus] (issignaling): In the long
32579 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32580 is not defined. Call __issignaling, otherwise.
32581
32582 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32583
32584 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32585 syscall definitions and replace __builtin_expect with __glibc_likely.
32586 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32587 syscall.
32588 (SYSCALL_CANCELLABLE): Removedefinition
32589 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32590 definition.
32591 (PSEUDO_END): Likewise.
32592 [IS_IN (libpthread)] (CENABLE): Likewise.
32593 [IS_IN (libpthread)] (CDISABLE): Likewise.
32594 [IS_IN (libc)] (CENABLE): Likewise.
32595 [IS_IN (libc)] (CENABLE): Likewise.
32596 [IS_IN (librt)] (CDISABLE): Likewise.
32597 [IS_IN (librt)] (CDISABLE): Likewise.
32598 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32599 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32600 definition.
32601 (PSEUDO_END): Likewise.
32602 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32603 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32604 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32605 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32606 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32607 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32608 (CENABLE): Likewise.
32609 (CDISABLE): Likewise.
32610 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32611 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32612 defintion.
32613 (PSEUDO_END): Likewise.
32614 [IS_IN (libpthread)] (CENABLE): Likewise.
32615 [IS_IN (libpthread)] (CDISABLE): Likewise.
32616 [IS_IN (libc)] (CENABLE): Likewise.
32617 [IS_IN (libc)] (CENABLE): Likewise.
32618 [IS_IN (librt)] (CDISABLE): Likewise.
32619 [IS_IN (librt)] (CDISABLE): Likewise.
32620 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32621 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32622 definition.
32623 (PSEUDO_END): Likewise.
32624 [IS_IN (libpthread)] (CENABLE): Likewise.
32625 [IS_IN (libpthread)] (CDISABLE): Likewise.
32626 [IS_IN (libc)] (CENABLE): Likewise.
32627 [IS_IN (libc)] (CENABLE): Likewise.
32628 [IS_IN (librt)] (CDISABLE): Likewise.
32629 [IS_IN (librt)] (CDISABLE): Likewise.
32630 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32631 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32632 definition.
32633 (PSEUDO_END): Likewise.
32634 [IS_IN (libpthread)] (CENABLE): Likewise.
32635 [IS_IN (libpthread)] (CDISABLE): Likewise.
32636 [IS_IN (libc)] (CENABLE): Likewise.
32637 [IS_IN (libc)] (CENABLE): Likewise.
32638 [IS_IN (librt)] (CDISABLE): Likewise.
32639 [IS_IN (librt)] (CDISABLE): Likewise.
32640 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32641 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32642 definition.
32643 (PSEUDO_END): Likewise.
32644 [IS_IN (libpthread)] (CENABLE): Likewise.
32645 [IS_IN (libpthread)] (CDISABLE): Likewise.
32646 [IS_IN (libc)] (CENABLE): Likewise.
32647 [IS_IN (libc)] (CENABLE): Likewise.
32648 [IS_IN (librt)] (CDISABLE): Likewise.
32649 [IS_IN (librt)] (CDISABLE): Likewise.
32650 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32651 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32652 definition.
32653 (PSEUDO_END): Likewise.
32654 [IS_IN (libpthread)] (CENABLE): Likewise.
32655 [IS_IN (libpthread)] (CDISABLE): Likewise.
32656 [IS_IN (libc)] (CENABLE): Likewise.
32657 [IS_IN (libc)] (CENABLE): Likewise.
32658 [IS_IN (librt)] (CDISABLE): Likewise.
32659 [IS_IN (librt)] (CDISABLE): Likewise.
32660 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32661 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32662 definition.
32663 (PSEUDO_END): Likewise.
32664 [IS_IN (libpthread)] (CENABLE): Likewise.
32665 [IS_IN (libpthread)] (CDISABLE): Likewise.
32666 [IS_IN (libc)] (CENABLE): Likewise.
32667 [IS_IN (libc)] (CENABLE): Likewise.
32668 [IS_IN (librt)] (CDISABLE): Likewise.
32669 [IS_IN (librt)] (CDISABLE): Likewise.
32670 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32671 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32672 Remove definition.
32673 (PSEUDO_END): Likewise.
32674 [IS_IN (libpthread)] (CENABLE): Likewise.
32675 [IS_IN (libpthread)] (CDISABLE): Likewise.
32676 [IS_IN (libc)] (CENABLE): Likewise.
32677 [IS_IN (libc)] (CENABLE): Likewise.
32678 [IS_IN (librt)] (CDISABLE): Likewise.
32679 [IS_IN (librt)] (CDISABLE): Likewise.
32680 (SINGLE_THREAD_P): Likewise.
32681 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32682 definition.
32683 (PSEUDO_END): Likewise.
32684 [IS_IN (libpthread)] (CENABLE): Likewise.
32685 [IS_IN (libpthread)] (CDISABLE): Likewise.
32686 [IS_IN (libc)] (CENABLE): Likewise.
32687 [IS_IN (libc)] (CENABLE): Likewise.
32688 [IS_IN (librt)] (CDISABLE): Likewise.
32689 [IS_IN (librt)] (CDISABLE): Likewise.
32690 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32691 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32692 definition.
32693 (PSEUDO_END): Likewise.
32694 [IS_IN (libpthread)] (CENABLE): Likewise.
32695 [IS_IN (libpthread)] (CDISABLE): Likewise.
32696 [IS_IN (libc)] (CENABLE): Likewise.
32697 [IS_IN (libc)] (CENABLE): Likewise.
32698 [IS_IN (librt)] (CDISABLE): Likewise.
32699 [IS_IN (librt)] (CDISABLE): Likewise.
32700 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32701 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32702 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32703 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32704 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32705 definition.
32706 (PSEUDO_END): Likewise.
32707 [IS_IN (libpthread)] (CENABLE): Likewise.
32708 [IS_IN (libpthread)] (CDISABLE): Likewise.
32709 [IS_IN (libc)] (CENABLE): Likewise.
32710 [IS_IN (libc)] (CENABLE): Likewise.
32711 [IS_IN (librt)] (CDISABLE): Likewise.
32712 [IS_IN (librt)] (CDISABLE): Likewise.
32713 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32714 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32715 definition.
32716 (PSEUDO_END): Likewise.
32717 [IS_IN (libpthread)] (CENABLE): Likewise.
32718 [IS_IN (libpthread)] (CDISABLE): Likewise.
32719 [IS_IN (libc)] (CENABLE): Likewise.
32720 [IS_IN (libc)] (CENABLE): Likewise.
32721 [IS_IN (librt)] (CDISABLE): Likewise.
32722 [IS_IN (librt)] (CDISABLE): Likewise.
32723 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32724 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32725 definition.
32726 (PSEUDO_END): Likewise.
32727 [IS_IN (libpthread)] (CENABLE): Likewise.
32728 [IS_IN (libpthread)] (CDISABLE): Likewise.
32729 [IS_IN (libc)] (CENABLE): Likewise.
32730 [IS_IN (libc)] (CENABLE): Likewise.
32731 [IS_IN (librt)] (CDISABLE): Likewise.
32732 [IS_IN (librt)] (CDISABLE): Likewise.
32733 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32734 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32735 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32736 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32737 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32738 definition.
32739 (PSEUDO_END): Likewise.
32740 [IS_IN (libpthread)] (CENABLE): Likewise.
32741 [IS_IN (libpthread)] (CDISABLE): Likewise.
32742 [IS_IN (libc)] (CENABLE): Likewise.
32743 [IS_IN (libc)] (CENABLE): Likewise.
32744 [IS_IN (librt)] (CDISABLE): Likewise.
32745 [IS_IN (librt)] (CDISABLE): Likewise.
32746 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32747 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32748 definition.
32749 (PSEUDO_END): Likewise.
32750 [IS_IN (libpthread)] (CENABLE): Likewise.
32751 [IS_IN (libpthread)] (CDISABLE): Likewise.
32752 [IS_IN (libc)] (CENABLE): Likewise.
32753 [IS_IN (libc)] (CENABLE): Likewise.
32754 [IS_IN (librt)] (CDISABLE): Likewise.
32755 [IS_IN (librt)] (CDISABLE): Likewise.
32756 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32757
32758 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32759
32760 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32761
32762 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32763
32764 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32765
32766 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32767
32768 [BZ #21982]
32769 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32770 middle and outer with size_t instead of int. Repleace %d and
32771 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32772 "MAX (outer, nchars - 64)" to support unsigned outer and
32773 nchars. Also exit loop when outer == 0.
32774
32775 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32776
32777 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32778 * include/signal.h (__sigsuspend_nocancel): Likewise.
32779 * include/time.h (__nanosleep_nocancel): Likewise.
32780 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32781 * login/utmp_file.c: Include non cancellable syscall header.
32782 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32783 prototype.
32784
32785 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32786
32787 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32788 .byte sequences with AVX512F instructions.
32789 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32790 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32791 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32792 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32793 Likewise.
32794 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32795 Likewise.
32796
32797 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32798 Steve Ellcey <sellcey@cavium.com>
32799
32800 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32801 Use PTR_REG macro in cmp instruction.
32802
32803 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32804
32805 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32806 Change the return type of the ifunc resolver to match the return
32807 type of the target function.
32808
32809 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32810
32811 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32812 (preadv64): Likewise.
32813 (pwrite64(: Likewise.
32814 (pwritev64): Likewise.
32815
32816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32817 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32818 (LOAD_ARGS_0): Likewise.
32819 (LOAD_ARGS_1): Likewise.
32820 (LOAD_ARGS_2): Likewise.
32821 (LOAD_ARGS_3): Likewise.
32822 (LOAD_ARGS_4): Likewise.
32823 (LOAD_ARGS_5): Likewise.
32824 (LOAD_ARGS_6): Likewise.
32825 (LOAD_REGS_0): Likewise.
32826 (LOAD_REGS_1): Likewise.
32827 (LOAD_REGS_2): Likewise.
32828 (LOAD_REGS_3): Likewise.
32829 (LOAD_REGS_4): Likewise.
32830 (LOAD_REGS_5): Likewise.
32831 (LOAD_REGS_6): Likewise.
32832 (ASM_ARGS_0): Likewise.
32833 (ASM_ARGS_1): Likewise.
32834 (ASM_ARGS_2): Likewise.
32835 (ASM_ARGS_3): Likewise.
32836 (ASM_ARGS_4): Likewise.
32837 (ASM_ARGS_5): Likewise.
32838 (ASM_ARGS_6): Likewise.
32839 (LOAD_ARGS_TYPES_1): Likewise.
32840 (LOAD_ARGS_TYPES_2): Likewise.
32841 (LOAD_ARGS_TYPES_3): Likewise.
32842 (LOAD_ARGS_TYPES_4): Likewise.
32843 (LOAD_ARGS_TYPES_5): Likewise.
32844 (LOAD_ARGS_TYPES_6): Likewise.
32845 (LOAD_REGS_TYPES_1): Likewise.
32846 (LOAD_REGS_TYPES_2): Likewise.
32847 (LOAD_REGS_TYPES_3): Likewise.
32848 (LOAD_REGS_TYPES_4): Likewise.
32849 (LOAD_REGS_TYPES_5): Likewise.
32850 (LOAD_REGS_TYPES_6): Likewise.
32851 (TYPEFY): New define.
32852 (ARGIFY): Likewise.
32853 (internal_syscall0): Likewise.
32854 (internal_syscall1): Likewise.
32855 (internal_syscall2): Likewise.
32856 (internal_syscall3): Likewise.
32857 (internal_syscall4): Likewise.
32858 (internal_syscall5): Likewise.
32859 (internal_syscall6): Likewise.
32860 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32861 (INTERNAL_SYSCALL_NCS): Remove define.
32862 (internal_syscall1): Add define.
32863
32864 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32865
32866 * math/w_remainder_compat.c: Remove duplicate inclusion of
32867 math-svid-compat.h.
32868 * math/w_remainderf_compat.c: Likewise.
32869 * math/w_remainderl_compat.c: Likewise.
32870
32871 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32872
32873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32874
32875 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32876
32877 [BZ #21684]
32878 * math/tgmath.h (__floating_type): Simplify definitions.
32879 (__real_integer_type): New macro.
32880 (__complex_integer_type): Likewise.
32881 (__expr_is_real): Likewise.
32882 (__tgmath_real_type_sub): Update comment to describe handling of
32883 complex types.
32884 (__tgmath_complex_type_sub): New macro.
32885 (__tgmath_complex_type): Likewise.
32886 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32887 (__TGMATH_CF128): Use __expr_is_real.
32888 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32889 __expr_is_real.
32890 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32891 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32892 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32893 integer types.
32894
32895 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32896
32897 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32898 macro.
32899 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32900 alias.
32901 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32902 Likewise.
32903
32904 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32905 nanosleep_not_cancel with __nanosleep_nocancel.
32906 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32907 (__nanosleep_nocancel): New macro.
32908 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32909 function.
32910 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32911 macro.
32912 (__nanosleep_nocancel): New prototype.
32913
32914 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32915 pause_not_cancel with __pause_nocancel.
32916 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32917 (__pause_nocancel): New macro.
32918 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32919 macro.
32920 (__pause_nocancel): New prototype.
32921 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32922
32923 2017-08-22 Martin Sebor <msebor@redhat.com>
32924
32925 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32926 to return a pointer to the same type as the target function.
32927
32928 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32929
32930 [BZ #18822]
32931 [BZ #21986]
32932 * include/printf.h (__printf_fphex): Add attribute_hidden.
32933 (__guess_grouping): New prototype.
32934 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32935 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32936 libc_hidden_proto and libc_hidden_def.
32937 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32938 (__vstrfmon_l): Remove the third argument passed to
32939 __guess_grouping.
32940
32941 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32942
32943 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32944 definition for issignaling that does not rely on __MATH_TG,
32945 since __MATH_TG uses __builtin_types_compatible_p, which is only
32946 available in C mode.
32947 (CFLAGS-test-math-issignaling.cc): New variable.
32948 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32949 * math/test-math-issignaling.cc: New test for C++ implementation
32950 of type-generic issignaling.
32951 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32952 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32953 options of test-math-issignaling on powerpc64le.
32954
32955 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32956
32957 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32958 building libc.a.
32959 (hidden_proto): Likewise.
32960 (hidden_tls_proto): Likewise.
32961 (__hidden_proto): Likewise.
32962
32963 2017-08-22 Florian Weimer <fweimer@redhat.com>
32964
32965 math: Statically link tests of internal functionality.
32966 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32967 atest-exp2.
32968 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32969 (gmp-objs): Remove assignment.
32970 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32971
32972 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32973
32974 [BZ #21987]
32975 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32976 and copy to ...
32977 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32978 ... here.
32979 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32980 ... and here.
32981
32982 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32983 variable definitions above inclusion of ../Rules.
32984
32985 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32986
32987 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32988 case calling __builtin_unreachable.
32989
32990 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32991
32992 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32993 __waitpid_nocancel.
32994 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32995 (__waitpid_nocancel): New macro.
32996 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32997 macro.
32998 (__waitpid_nocancel): Replace macro with a function.
32999 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33000 function.
33001
33002 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33003 __fcntl_nocancel.
33004 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33005 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33006
33007 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33008 __writev_nocancel_nostatus.
33009 (write_call_graph): Likewise.
33010 (write_bb_counts): Likewise.
33011 * resolv/herror.c (herror): Likewise.
33012 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33013 macro.
33014 (__writev_nocancel_nostatus): New macro.
33015 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33016 Remove macro.
33017 (__writev_nocancel_nostatus): New function.
33018
33019 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33020
33021 Revert:
33022 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33023
33024 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33025 building libc.a.
33026 (hidden_proto): Likewise.
33027 (hidden_tls_proto): Likewise.
33028 (__hidden_proto): Likewise.
33029
33030 [BZ #21973]
33031 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33032 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33034 Likewise.
33035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33036 Likewise.
33037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33038 Likewise.
33039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33040 Likewise.
33041 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33042 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33043 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33044 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33045 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33046 GLIBC_2.0 sqrtl symbol.
33047
33048 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33049 [__USE_MISC] (_LIB_VERSION): Likewise.
33050 [__USE_MISC] (struct exception): Likewise.
33051 [__USE_MISC] (matherr): Likewise.
33052 [__USE_MISC] (DOMAIN): Likewise.
33053 [__USE_MISC] (SING): Likewise.
33054 [__USE_MISC] (OVERFLOW): Likewise.
33055 [__USE_MISC] (UNDERFLOW): Likewise.
33056 [__USE_MISC] (TLOSS): Likewise.
33057 [__USE_MISC] (PLOSS): Likewise.
33058 [__USE_MISC] (HUGE): Likewise.
33059 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33060 * math/math-svid-compat.h: New file.
33061 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33062 and matherrl.
33063 * include/math.h [!_ISOMAC] (__matherr): Remove.
33064 * manual/arith.texi (FP Exceptions): Do not document matherr.
33065 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33066 (tests-internal): New variable.
33067 (install-lib): Do not add libieee.a.
33068 (non-lib.a): Likewise.
33069 (extra-objs): Do not add libieee.a and ieee-math.o.
33070 (CPPFLAGS-s_lib_version.c): Remove variable.
33071 ($(objpfx)libieee.a): Remove rule.
33072 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33073 * math/ieee-math.c: Remove.
33074 * math/libm-test-support.c (matherr): Remove.
33075 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33076 and license notices. Include <math-svid-compat.h> and
33077 <shlib-compat.h>.
33078 (matherr): Undefine as macro. Use compat_symbol_reference.
33079 (_LIB_VERSION): Likewise.
33080 * math/test-matherr-2.c: New file.
33081 * math/test-matherr-3.c: Likewise.
33082 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33083 declaration.
33084 (__kernel_standard_f): Likewise.
33085 (__kernel_standard_l): Likewise.
33086 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33087 <math_private.h>. Include <math-svid-compat.h>.
33088 (_LIB_VERSION): Undefine as macro.
33089 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33090 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33091 [LIBM_SVID_COMPAT], use compat_symbol.
33092 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33093 <math_private.h>. Include <math-svid-compat.h>.
33094 (matherr): Undefine as macro.
33095 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33096 compat_symbol.
33097 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33098 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33099 compat_symbol_reference.
33100 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33101 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33102 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33103 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33104 (MATHERR_D): Remove declaration.
33105 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33106 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33107 [LIBM_BUILD] (pmatherrf): Likewise.
33108 [LIBM_BUILD] (pmatherr): Likewise.
33109 [LIBM_BUILD] (pmatherrl): Likewise.
33110 (DOMAIN): Likewise.
33111 (SING): Likewise.
33112 (OVERFLOW): Likewise.
33113 (UNDERFLOW): Likewise.
33114 (TLOSS): Likewise.
33115 (PLOSS): Likewise.
33116 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33117 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33118 compat_symbol.
33119 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33120 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33121 compat_symbol.
33122 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33123 * math/w_acos_compat.c: Likewise.
33124 * math/w_acosf_compat.c: Likewise.
33125 * math/w_acosh_compat.c: Likewise.
33126 * math/w_acoshf_compat.c: Likewise.
33127 * math/w_acoshl_compat.c: Likewise.
33128 * math/w_acosl_compat.c: Likewise.
33129 * math/w_asin_compat.c: Likewise.
33130 * math/w_asinf_compat.c: Likewise.
33131 * math/w_asinl_compat.c: Likewise.
33132 * math/w_atan2_compat.c: Likewise.
33133 * math/w_atan2f_compat.c: Likewise.
33134 * math/w_atan2l_compat.c: Likewise.
33135 * math/w_atanh_compat.c: Likewise.
33136 * math/w_atanhf_compat.c: Likewise.
33137 * math/w_atanhl_compat.c: Likewise.
33138 * math/w_cosh_compat.c: Likewise.
33139 * math/w_coshf_compat.c: Likewise.
33140 * math/w_coshl_compat.c: Likewise.
33141 * math/w_exp10_compat.c: Likewise.
33142 * math/w_exp10f_compat.c: Likewise.
33143 * math/w_exp10l_compat.c: Likewise.
33144 * math/w_exp2_compat.c: Likewise.
33145 * math/w_exp2f_compat.c: Likewise.
33146 * math/w_exp2l_compat.c: Likewise.
33147 * math/w_fmod_compat.c: Likewise.
33148 * math/w_fmodf_compat.c: Likewise.
33149 * math/w_fmodl_compat.c: Likewise.
33150 * math/w_hypot_compat.c: Likewise.
33151 * math/w_hypotf_compat.c: Likewise.
33152 * math/w_hypotl_compat.c: Likewise.
33153 * math/w_j0_compat.c: Likewise.
33154 * math/w_j0f_compat.c: Likewise.
33155 * math/w_j0l_compat.c: Likewise.
33156 * math/w_j1_compat.c: Likewise.
33157 * math/w_j1f_compat.c: Likewise.
33158 * math/w_j1l_compat.c: Likewise.
33159 * math/w_jn_compat.c: Likewise.
33160 * math/w_jnf_compat.c: Likewise.
33161 * math/w_jnl_compat.c: Likewise.
33162 * math/w_lgamma_main.c: Likewise.
33163 * math/w_lgamma_r_compat.c: Likewise.
33164 * math/w_lgammaf_main.c: Likewise.
33165 * math/w_lgammaf_r_compat.c: Likewise.
33166 * math/w_lgammal_main.c: Likewise.
33167 * math/w_lgammal_r_compat.c: Likewise.
33168 * math/w_log10_compat.c: Likewise.
33169 * math/w_log10f_compat.c: Likewise.
33170 * math/w_log10l_compat.c: Likewise.
33171 * math/w_log2_compat.c: Likewise.
33172 * math/w_log2f_compat.c: Likewise.
33173 * math/w_log2l_compat.c: Likewise.
33174 * math/w_log_compat.c: Likewise.
33175 * math/w_logf_compat.c: Likewise.
33176 * math/w_logl_compat.c: Likewise.
33177 * math/w_pow_compat.c: Likewise.
33178 * math/w_powf_compat.c: Likewise.
33179 * math/w_powl_compat.c: Likewise.
33180 * math/w_remainder_compat.c: Likewise.
33181 * math/w_remainderf_compat.c: Likewise.
33182 * math/w_remainderl_compat.c: Likewise.
33183 * math/w_scalb_compat.c: Likewise.
33184 * math/w_scalbf_compat.c: Likewise.
33185 * math/w_scalbl_compat.c: Likewise.
33186 * math/w_sinh_compat.c: Likewise.
33187 * math/w_sinhf_compat.c: Likewise.
33188 * math/w_sinhl_compat.c: Likewise.
33189 * math/w_sqrt_compat.c: Likewise.
33190 * math/w_sqrtf_compat.c: Likewise.
33191 * math/w_sqrtl_compat.c: Likewise.
33192 * math/w_tgamma_compat.c: Likewise.
33193 * math/w_tgammaf_compat.c: Likewise.
33194 * math/w_tgammal_compat.c: Likewise.
33195 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33196 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33197 * sysdeps/ieee754/k_standard.c: Likewise.
33198 * sysdeps/ieee754/k_standardf.c: Likewise.
33199 * sysdeps/ieee754/k_standardl.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33202 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33203 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33204 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33205 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33206 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33207 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33208 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33210 Likewise.
33211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33212 Likewise.
33213 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33214 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33215 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33216 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33217
33218 2017-08-21 Florian Weimer <fweimer@redhat.com>
33219
33220 [BZ #21864]
33221 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33222 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33223 Move before inclusion of ../Rules.
33224
33225 2017-08-21 Florian Weimer <fweimer@redhat.com>
33226
33227 [BZ #21972]
33228 * assert/assert.h (assert): Use static_cast (bool) for C++.
33229 Use the ternary operator in the warning branch for GNU C.
33230 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33231 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33232 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33233 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33234 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33235
33236 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33237
33238 [BZ #18822]
33239 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33240 (__syscall_clock_gettime): Add attribute_hidden.
33241 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33242 (__start_context): Likewise.
33243
33244 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33245
33246 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33247 building libc.a.
33248 (hidden_proto): Likewise.
33249 (hidden_tls_proto): Likewise.
33250 (__hidden_proto): Likewise.
33251
33252 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33253
33254 * include/libc-symbols.h (attribute_hidden): Enable hidden
33255 visibility in libc.a compiled with PIE.
33256
33257 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33258
33259 [BZ #18822]
33260 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33261 Add attribute_hidden.
33262
33263 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33264
33265 [BZ #21864]
33266 * Makerules (all-nonlib): Add $(others-extras).
33267 * catgets/Makefile (others-extras): New.
33268 * elf/Makefile (others-extras): Likewise.
33269 * nss/Makefile (others-extras): Likewise.
33270
33271 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33272
33273 [BZ #18822]
33274 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33275 * elf/dl-open.c: Include <libc-internal.h>.
33276 (__libc_multiple_libcs): Removed.
33277 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33278 <hp-timing.h>.
33279 * include/libc-internal.h (__libc_multiple_libcs): New.
33280 * misc/sbrk.c: Include <libc-internal.h>.
33281 (__libc_multiple_libcs): Removed.
33282
33283 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33284
33285 [BZ #18822]
33286 * grp/initgroups.c (__nss_group_database): Removed.
33287 (__nss_initgroups_database): Likewise.
33288 * nscd/gai.c (__nss_hosts_database): Likewise.
33289 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33290 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33291 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33292 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33293 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33294 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33295 attribute_hidden.
33296 * nss/nsswitch.c (__nss_database_custom): Define only if
33297 USE_NSCD is defined.
33298 (__nss_configure_lookup): Use __nss_database_custom only if
33299 USE_NSCD is defined.
33300 * nss/nsswitch.h (__nss_database_custom): Declare only if
33301 USE_NSCD is defined. Add attribute_hidden.
33302 (__nss_setent): Add attribute_hidden.
33303 (__nss_endent): Likewise.
33304 (__nss_getent_r): Likewise.
33305 (__nss_getent): Likewise.
33306 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33307
33308 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33309
33310 [BZ #18822]
33311 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33312 libc_hidden_proto and libc_hidden_def.
33313
33314 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33315
33316 [BZ #18822]
33317 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33318 Add libc_hidden_proto.
33319 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33320 Add libc_hidden_def.
33321
33322 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33323
33324 [BZ #21974]
33325 * gmon/Makefile (routines): Remove bb_init_func and
33326 bb_exit_func.
33327 (elide-routines.os): Removed.
33328 * gmon/bb_exit_func.c: Likewise.
33329 * gmon/bb_init_func.c: Likewise.
33330 * include/sys/gmon.h (__bb): Likewise.
33331 (__bb_init_func): Likewise.
33332 (__bb_exit_func): Likewise.
33333 * sysdeps/alpha/bb_init_func.S: Likewise.
33334
33335 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33336
33337 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33338 * include/setjmp.h (____longjmp_chk): Here. Add
33339 attribute_hidden.
33340
33341 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33342
33343 [BZ #18822]
33344 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33345 attribute_hidden.
33346 (__strspn_sse2): Likewise.
33347
33348 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33349
33350 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33351 (close_not_cancel_no_status): Likewise.
33352 (__close_nocancel): New macro.
33353 (__close_nocancel_nostatus): Likewise.
33354 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33355 macro.
33356 (close_not_cancel): Likewise.
33357 (close_not_cancel_no_status): Likewise.
33358 (__close_nocancel): New prototype.
33359 (__close_nocancel_nostatus): New function.
33360 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33361 * catgets/open_catalog.c (__open_catalog): Replace
33362 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33363 * gmon/gmon.c (write_gmon): Likewise.
33364 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33365 * intl/loadmsgcat.c (close): Likewise.
33366 * io/ftw.c (open_dir_stream): Likewise.
33367 (ftw_startup): Likewise.
33368 * libio/fileops.c (_IO_file_open): Likewise.
33369 (_IO_file_close_mmap): Likewise.
33370 (_IO_file_close): Likewise.
33371 * libio/iopopen.c (_IO_dup2): Likewise.
33372 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33373 * locale/loadlocale.c (_nl_load_locale): Likewise.
33374 * login/utmp_file.c (pututline_file): Likewise.
33375 (endutent_file): Likewise.
33376 * misc/daemon.c (daemon): Likewise.
33377 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33378 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33379 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33380 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33381 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33382 * nscd/nscd_helper.c (open_socket): Likewise.
33383 (__nscd_open_socket): Likewise.
33384 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33385 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33386 (__nscd_innetgr): Likewise.
33387 * nss/nss_db/db-open.c (internal_setent): Likewise.
33388 * resolv/res-close.c (__res_iclose): Likewise.
33389 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33390 * sysdeps/posix/closedir.c (__closedir): Likewise.
33391 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33392 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33393 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33394 (opendir_tail): Likewise.
33395 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33396 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33397 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33398 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33399 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33400 (gethostid): Likewise.
33401 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33402 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33403 Likewise.
33404 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33405 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33406 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33407 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33408 Likewise.
33409 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33410 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33411 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33412 Likewise.
33413 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33414 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33415 Likewise.
33416 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33417 Likewise.
33418 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33419 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33420 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33421 __close_nocancel.
33422
33423 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33424 (openat_not_cancel_3): Likewise.
33425 (openat64_not_cancel_3): Likewise).
33426 (openat_not_cancel_3): Likewise).
33427 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33428 macro.
33429 (openat_not_cancel_3): Likewise.
33430 (openat64_not_cancel): Likewise.
33431 (openat64_not_cancel_3): Likewise.
33432 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33433 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33434 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33435 __open{64}_nocancel.
33436 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33437 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33438 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33439
33440 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33441
33442 [BZ #18822]
33443 * include/argz.h (__argz_create_sep): New function prototype.
33444 (__argz_append): Likewise.
33445 (__argz_add): Likewise.
33446 (__argz_add_sep): Likewise.
33447 (__argz_delete): Likewise.
33448 (__argz_insert): Likewise.
33449 (__argz_replace): Likewise.
33450 * string/argz.h (__argz_create_sep): Removed.
33451 (__argz_append): Likewise.
33452 (__argz_add): Likewise.
33453 (__argz_add_sep): Likewise.
33454 (__argz_delete): Likewise.
33455 (__argz_insert): Likewise.
33456 (__argz_replace): Likewise.
33457
33458 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33459
33460 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33461 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33462 (GNU_PROPERTY_STACK_SIZE): Likewie.
33463 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33464 (GNU_PROPERTY_LOPROC): Likewise.
33465 (GNU_PROPERTY_HIPROC): Likewise.
33466 (GNU_PROPERTY_LOUSER): Likewise.
33467 (GNU_PROPERTY_HIUSER): Likewise.
33468 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33469 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33470 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33471 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33472 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33473 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33474 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33475 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33476 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33477 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33478 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33479 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33480 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33481 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33482 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33483 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33484 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33485 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33486 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33487 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33488 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33489 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33490 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33491
33492 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33493
33494 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33495 in C++ mode.
33496
33497 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33498
33499 [BZ #21930]
33500 * math/math.h (isinf): Check if in C or C++ mode before using
33501 __builtin_types_compatible_p, since this is a C mode feature.
33502
33503 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33504
33505 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33506 (__write_nocancel): New macro.
33507 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33508 Rewrite as a function prototype.
33509 (write_not_cancel): Remove macro.
33510 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33511 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33512 (write_gmon): Likewise.
33513 * libio/fileops.c (_IO_new_file_write): Likewise.
33514 * login/utmp_file.c (pututline_file): Likewise.
33515 (updwtmp_file): Likewise.
33516 * stdio-common/psiginfo.c (psiginfo): Likewise.
33517 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33518 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33519 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33520 Likewise.
33521 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33522 Likewise.
33523
33524 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33525 (__read_nocancel): New macro.
33526 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33527 __read_nocancel.
33528 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33529 macro.
33530 (__read_nocancel): New prototype.
33531 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33532 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33533 with __read_nocancel.
33534 * intl/loadmsgcat.c (read): Likewise.
33535 * libio/fileops.c (_IO_file_read): Likewise.
33536 * locale/loadlocale.c (_nl_load_locale): Likewise.
33537 * login/utmp_file.c (getutent_r_file): Likewise.
33538 (internal_getut_r): Likewise.
33539 (getutline_r_file): Likewise.
33540 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33541 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33542 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33543 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33544 Likewise.
33545 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33546 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33547 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33548 Likewise.
33549 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33550 Likewise.
33551 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33552 Likewise.
33553 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33554 Likewise.
33555 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33556
33557 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33558
33559 [BZ #21966]
33560 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33561 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33562 usable.
33563
33564 2017-08-17 DJ Delorie <dj@redhat.com>
33565
33566 * bug17079.c: Update to new test harness.
33567 * test-digits-dots.c: Likewise.
33568 * test-netdb.c: Likewise.
33569 * tst-field.c: Likewise.
33570 * tst-nss-getpwent.c: Likewise.
33571 * tst-nss-static.c: Likewise.
33572 * tst-nss-test1.c: Likewise.
33573 * tst-nss-test2.c: Likewise.
33574 * tst-nss-test3.c: Likewise.
33575 * tst-nss-test4.c: Likewise.
33576 * tst-nss-test5.c: Likewise.
33577
33578 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33579
33580 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33581 (open_not_cancel_2): Likewise.
33582 (open_nocancel): New macro.
33583 (open64_nocancel): Likewise.
33584 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33585 (open_not_cancel_2): Likewise.
33586 (__open_nocancel): New prototype.
33587 (__open64_nocancel): Likewise.
33588 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33589 __open_nocancel.
33590 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33591 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33592 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33593 with __open_nocancel.
33594 * csu/check_fds.c (check_one_fd): Likewise.
33595 * gmon/gmon.c (write_gmon): Likewise.
33596 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33597 * intl/loadmsgcat.c (open): Likewise.
33598 * libio/fileops.c (_IO_file_open): Likewise.
33599 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33600 * locale/loadlocale.c (_nl_load_locale): Likewise.
33601 * login/utmp_file.c (setutent_file): Likewise.
33602 * misc/daemon.c (daemon): Likewise.
33603 * nss/nss_db/db-open.c (internal_setent): Likewise.
33604 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33605 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33606 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33607 (__opendir): Likewise.
33608 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33609 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33610 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33611 (gethostid): Likewise.
33612 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33613 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33614 Likewise.
33615 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33616 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33617 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33618 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33619 Likewise.
33620 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33621 Likewise.
33622 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33623 Likewise.
33624 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33625 Likewise.
33626 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33627 Likewise.
33628 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33629 Likewise.
33630 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33631 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33632
33633 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33634
33635 * benchtests/bench-skeleton.c (main): Add support for
33636 latency benchmarking.
33637 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33638
33639 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33640
33641 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33642 the startup object.
33643
33644 2017-08-17 Florian Weimer <fweimer@redhat.com>
33645
33646 * include/sys/socket.h (__opensock): Remove internal_function.
33647 * socket/opensock.c (__opensock): Likewise.
33648 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33649
33650 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33651
33652 [BZ #21944]
33653 * signal/bits/types/__sigval_t.h: New file.
33654 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33655 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33656 and define sigval_t using __sigval_t.
33657 * include/bits/types/__sigval_t.h: New file.
33658 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33659 instead of <bits/types/__sigval_t.h>.
33660 (struct sigevent): Use __sigval_t instead of sigval_t.
33661 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33662 instead of <bits/types/__sigval_t.h>.
33663 (siginfo_t): Use __sigval_t instead of sigval_t.
33664 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33665 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33666 (struct sigevent): Use __sigval_t instead of sigval_t.
33667 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33668 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33669 (siginfo_t): Use __sigval_t instead of sigval_t.
33670 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33671
33672 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33673
33674 * NEWS: Remove "[Add new features here]" for 2.27.
33675
33676 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33677
33678 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33679 libc.so.
33680
33681 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33682
33683 * NEWS: Mention x86-64 FMA optimization.
33684
33685 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33686
33687 [BZ #21912]
33688 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33689 Add e_expf-fma.
33690 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33691 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33692 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33693
33694 2017-08-16 Andreas Schwab <schwab@suse.de>
33695
33696 [BZ #16750]
33697 CVE-2009-5064
33698 * elf/ldd.bash.in: Never run file directly.
33699
33700 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33701
33702 [BZ #21955]
33703 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33704 (L(SP_INF_0)): Likewise.
33705
33706 2017-08-15 Florian Weimer <fweimer@redhat.com>
33707
33708 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33709 run-built-tests.
33710
33711 2017-08-15 Florian Weimer <fweimer@redhat.com>
33712
33713 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33714 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33715 BROKEN_THREAD_SIGNALS code.
33716 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33717 request_list): Remove caller_pid member used for
33718 BROKEN_THREAD_SIGNALS.
33719 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33720 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33721 Remove BROKEN_THREAD_SIGNALS support.
33722 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33723 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33724
33725 2017-08-15 Florian Weimer <fweimer@redhat.com>
33726
33727 * gmon/Makefile (tests): Add tst-gmon.
33728 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33729 Set.
33730 (tests-special): Add tst-gmon-prof.out.
33731 (tst-gmon.out): Depend on clean-tst-gmon-data.
33732 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33733 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33734 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33735 startup object.
33736 * aclocal.m4 (GPROF): Set and substitute.
33737 * config.amke.in (GPROF): Set.
33738 * configure: Regenerate.
33739
33740 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33741
33742 * elf/elf.h A (NT_PPC_TAR): New macro.
33743 (NT_PPC_PPR): Likewise.
33744 (NT_PPC_DSCR): Likewise.
33745 (NT_PPC_EBB): Likewise.
33746 (NT_PPC_PMU): Likewise.
33747 (NT_PPC_TM_CGPR): Likewise.
33748 (NT_PPC_TM_CFPR): Likewise.
33749 (NT_PPC_TM_CVMX): Likewise.
33750 (NT_PPC_TM_CVSX): Likewise.
33751 (NT_PPC_TM_SPR): Likewise.
33752 (NT_PPC_TM_CTAR): Likewise.
33753 (NT_PPC_TM_CPPR): Likewise.
33754 (NT_PPC_TM_CDSCR): Likewise.
33755
33756 2017-08-15 Florian Weimer <fweimer@redhat.com>
33757
33758 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33759 regparm (2) instead of internal_function.
33760 (_MCOUNT_DECL): Adjust.
33761
33762 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33763
33764 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33765 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33766
33767 2017-08-14 Joseph Myers <joseph@codesourcery.com>
33768
33769 * conform/data/sys/wait.h-data (si_value): Do not expect for
33770 XPG42.
33771
33772 2017-08-14 Florian Weimer <fweimer@redhat.com>
33773
33774 [BZ #21962]
33775 NSS: Create stubs for accidentally exported lookup functions.
33776 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33777 Remove declaration.
33778 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33779 (ether_hostton): Call __nss_ethers_lookup2 instead.
33780 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33781 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33782 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33783 (setup): Call __nss_netgroup_lookup2 instead.
33784 * nss/Makefile (routines): Add compat-lookup.
33785 * nss/Versions (GLIBC_2.27): Add symbol version.
33786 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33787 (DB_COMPAT_FCT): Remove.
33788 * nss/compat-lookup.c: New file.
33789 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33790 from databases.def.
33791 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33792 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33793 (netname2user): Call __nss_publickey_lookup2 instead.
33794 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33795 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33796 instead.
33797
33798 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33799 Sergei Trofimovich <slyfox@inbox.ru>
33800
33801 [BZ #21908]
33802 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33803 Rename to MMAP2_PAGE_UNIT.
33804 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33805 __OFF_T_MATCHES_OFF64_T is not defined.
33806 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33807 uint64_t.
33808 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33809 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33810
33811 2017-08-14 Florian Weimer <fweimer@redhat.com>
33812
33813 i386: Do not set internal_function.
33814 * config.h.in (USE_REGPARMS, internal_function): Remove.
33815 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33816 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33817
33818 2017-08-14 Florian Weimer <fweimer@redhat.com>
33819
33820 * elf/dl-init.c (_dl_init): Remove internal_function.
33821 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33822 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33823
33824 2017-08-14 Florian Weimer <fweimer@redhat.com>
33825
33826 * elf/rtld.c (_dl_start): Remove internal_function.
33827 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33828 _dl_start.
33829
33830 2017-08-14 Florian Weimer <fweimer@redhat.com>
33831
33832 * elf/dl-fini.c (_dl_fini): Remove internal_function
33833 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33834
33835 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33836
33837 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
33838 (bit_cpu_SHSTK): Likewise.
33839 (index_cpu_IBT): Likewise.
33840 (index_cpu_SHSTK): Likewise.
33841 (reg_IBT): Likewise.
33842 (reg_SHSTK): Likewise.
33843 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33844 Handle index_cpu_IBT and index_cpu_SHSTK.
33845
33846 2017-08-14 Mike FABIAN <mfabian@redhat.com>
33847
33848 [BZ #19982]
33849 * po/fr.po: Fix spelling mistake.
33850
33851 2017-08-13 Florian Weimer <fweimer@redhat.com>
33852
33853 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33854 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33855 (_dl_catch_error, _dl_receive_error): Likewise.
33856 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33857 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33858 (_dl_deallocate_tls): Likewise.
33859 * include/dlfcn.h (_dl_addr): Likewise.
33860 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33861 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33862 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33863 Likewise.
33864
33865 2017-08-13 Florian Weimer <fweimer@redhat.com>
33866
33867 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33868 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33869 internal_function.
33870 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33871
33872 2017-08-13 Florian Weimer <fweimer@redhat.com>
33873
33874 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33875 internal_function.
33876 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33877 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33878 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33879 internal_function from _dl_make_stack_executable_hook member.
33880 (_dl_make_stack_executable): Remove internal_function.
33881 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33882 Likewise.
33883 * sysdeps/unix/sysv/linux/dl-execstack.c
33884 (_dl_make_stack_executable): Likewise.
33885
33886 2017-08-13 Florian Weimer <fweimer@redhat.com>
33887
33888 * sysdeps/unix/sysv/linux/netlinkaccess.h
33889 (__netlink_assert_response): Remove internal_function.
33890 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33891 (__netlink_assert_response): Likewise.
33892
33893 2017-08-13 Florian Weimer <fweimer@redhat.com>
33894
33895 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33896 internal_function.
33897 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33898
33899 2017-08-13 Florian Weimer <fweimer@redhat.com>
33900
33901 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33902 internal_function.
33903 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33904 * inet/netgroup.h (__internal_setnetgrent)
33905 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33906 * inet/getnetgrent_r.c (__internal_setnetgrent)
33907 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33908 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33909 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33910 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33911 * nss/nsswitch.h (db_lookup_function): Likewise.
33912
33913 2017-08-13 Florian Weimer <fweimer@redhat.com>
33914
33915 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33916 Remove internal_function.
33917 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33918 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33919 message argument on the stack.
33920 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33921 Likeweise.
33922
33923 2017-08-12 Mike FABIAN <mfabian@redhat.com>
33924
33925 Adapt test case data to the changes in the thousands
33926 separators.
33927
33928 [BZ #20756]
33929 * localedata/tst-langinfo.sh: Adapt test case data.
33930 * stdlib/tst-strfmon_l.c: Likewise.
33931 * stdlib/tst-strtod4.c: Likewise.
33932 * stdlib/tst-strtod5i.c: Likewise.
33933
33934 2017-08-11 Florian Weimer <fweimer@redhat.com>
33935
33936 [BZ #21242]
33937 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33938 Suppress pedantic warning resulting from statement expression.
33939 (__ASSERT_FUNCTION): Add missing __extension__.
33940
33941 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33942
33943 * benchtests/bench-memmove-large.c: Print output in JSON
33944 format.
33945 * benchtests/bench-memmove.c: Likewise.
33946
33947 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33948 * benchtests/bench-memchr.c (do_one_test): Likewise.
33949 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33950 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33951 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33952 * benchtests/bench-memmove.c (do_one_test): Likewise.
33953 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33954 * benchtests/bench-memset.c (do_one_test): Likewise.
33955 * benchtests/bench-string.h (test_init): Remove memsets.
33956
33957 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33958
33959 * manual/lang.texi
33960 (Computing the Width of an Integer Data Type): Rename section to
33961 "Width of an Integer Type". Remove inaccurate statement regarding
33962 lack of C language facilities for determining width of integer
33963 types, and reorder content to improve flow and context of
33964 discussion.
33965
33966 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33967
33968 * lang.texi (va_copy): Change standard from ISO to C99.
33969 (__va_copy): Add standard and header annotation.
33970 Update description for clarity of origins and current use.
33971
33972 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33973
33974 [BZ #21941]
33975 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33976 xssqrtqp requires operands to be in Vector Registers
33977 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33978 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33979 (__ieee754_sqrtf128): Likewise.
33980
33981 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33982
33983 * sysdeps/aarch64/memcmp.S (memcmp):
33984 Rewrite of optimized memcmp.
33985
33986 2017-08-10 Florian Weimer <fweimer@redhat.com>
33987
33988 Introduce ld.so exceptions.
33989 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33990 (_dl_exception_create, _dl_exception_create_format)
33991 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33992 (_dl_catch_exception): Declare.
33993 (_dl_catch_error): Update comment.
33994 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33995 errstring, malloced members with exception member.
33996 (_dl_out_of_memory): Remove.
33997 (fatal_error): New function, extracted from _dl_signal_error.
33998 (_dl_signal_exception, _dl_signal_cexception): New functions.
33999 (_dl_signal_error): Call _dl_exception_create to allocate an
34000 exception object.
34001 (_dl_catch_exception): New function, based on _dl_catch_error.
34002 (_dl_catch_error): Implement using _dl_catch_exception.
34003 * elf/dl-exception.c: New file.
34004 * elf/Makefile (dl-routines): Add dl-exception.
34005 (elide-routines.os): Likewise.
34006 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34007 _dl_exception_create_format, _dl_exception_free.
34008 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34009 _dl_signal_exception.
34010 * elf/dl-lookup.c (make_string): Remove.
34011 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34012 _dl_signal_cexception, _dl_exception_free.
34013 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34014 _dl_signal_exception.
34015 * elf/dl-sym.c (do_sym): Likewise.
34016 * elf/dl-version.c (make_string): Remove.
34017 (match_symbol): Use _dl_exception_create_format,
34018 _dl_signal_cexception, _dl_exception_free.
34019 (_dl_check_map_versions): Likewise.
34020 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34021 _dl_catch_exception.
34022 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34023 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34024 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34025 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34026 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34027 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34028 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34029 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34030 Likewise.
34031 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34033 (ld.so): Likewise.
34034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34035 (ld.so): Likewise.
34036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34037 Likewise.
34038 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34039 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34040 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34041 Likewise.
34042 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34043 Likewise.
34044 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34045
34046 2017-08-10 Florian Weimer <fweimer@redhat.com>
34047
34048 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34049 attribute_hidden, internal_function.
34050 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34051 internal_function.
34052
34053 2017-08-10 Florian Weimer <fweimer@redhat.com>
34054
34055 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34056 function which calls __builtin_unreachable.
34057
34058 2017-08-10 Mike FABIAN <mfabian@redhat.com>
34059
34060 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34061 Indian monetary formatting
34062 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34063 test cases.
34064
34065 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34066
34067 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34068 Fix typo in comment.
34069
34070 [BZ #21928]
34071 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34072 PTRACE_SEIZE_DEVEL): Remove.
34073 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34074 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34075 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34076 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34077 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34078
34079 2017-08-09 Joseph Myers <joseph@codesourcery.com>
34080
34081 * posix/bits/types.h (__qaddr_t): Remove.
34082
34083 [BZ #21457]
34084 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34085 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34086 __glibc_reserved1.
34087 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34088 (ucontext_t): Use __ctx with uc_flags.
34089 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34090 (__ctxt): Likewise.
34091 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34092 __glibc_reserved1.
34093 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34094 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34095 __glibc_reserved1.
34096 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34097 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34098 __glibc_reserved1.
34099 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34100 macro.
34101 (ucontext_t): Use __ctx with uc_flags.
34102 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34103 (ucontext_t): Use __ctx with uc_flags.
34104 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34105 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34106 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34107 (ucontext_t): Use __ctx with uc_flags.
34108 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34109 undefine further down.
34110 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34111 __glibc_reserved1.
34112 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34113 undefine further down.
34114 (ucontext_t): Use __ctx with uc_flags.
34115 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34116 undefine further down.
34117 (ucontext_t): Use __ctx with uc_flags.
34118 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34119 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34120 Rename uc_pad to __glibc_reserved1.
34121 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34122 undefine further down.
34123 (ucontext_t): Use __ctx with uc_flags.
34124 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34125 further down.
34126 (ucontext_t): Use __ctx with uc_flags.
34127 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34128 __ctx with uc_flags.
34129 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34130 (ucontext_t): Use __ctx with uc_flags.
34131 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34132 __ctx with uc_flags.
34133
34134 2017-08-09 Florian Weimer <fweimer@redhat.com>
34135
34136 [BZ #21932]
34137 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34138 before early return.
34139
34140 2017-08-09 Andreas Schwab <schwab@suse.de>
34141
34142 [BZ #21041]
34143 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34144 renamed alias.
34145
34146 [BZ #21041]
34147 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34148 tst-compat-forwarder.
34149 (modules-names): Add tst-compat-forwarder-mod.
34150 ($(objpfx)tst-compat-forwarder): Depend on
34151 $(objpfx)tst-compat-forwarder-mod.so.
34152 * nptl/tst-compat-forwarder.c: New file.
34153 * nptl/tst-compat-forwarder-mod.c: New file.
34154
34155 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34156
34157 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34158 comments.
34159
34160 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34161 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34162 memcpy_falkor.
34163 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34164 Bump.
34165 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34166 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34167 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34168 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34169 Add falkor.
34170 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34171 New macro.
34172
34173 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34174
34175 [BZ #759]
34176 * manual/setjmp.texi (getcontex): Document uc_stack value
34177 compatibility differences.
34178
34179 2017-08-08 Joseph Myers <joseph@codesourcery.com>
34180
34181 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34182 (old_malloc_hook): Likewise.
34183 (old_memalign_hook): Likewise.
34184 (old_realloc_hook): Likewise.
34185 (struct hdr): Likewise.
34186 (flood): Likewise.
34187 (freehook): Likewise.
34188 (mallochook): Likewise.
34189 (memalignhook): Likewise.
34190 (reallochook): Likewise.
34191 (mprobe): Likewise.
34192 * malloc/mtrace.c (mallwatch): Likewise.
34193 (tr_old_free_hook): Likewise.
34194 (tr_old_malloc_hook): Likewise.
34195 (tr_old_realloc_hook): Likewise.
34196 (tr_old_memalign_hook): Likewise.
34197 (tr_where): Likewise.
34198 (lock_and_info): Likewise.
34199 (tr_freehook): Likewise.
34200 (tr_mallochook): Likewise.
34201 (tr_reallochook): Likewise.
34202 (tr_memalignhook): Likewise.
34203 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34204 * misc/mmap.c (__mmap): Likewise.
34205 * misc/mmap64.c (__mmap64): Likewise.
34206 * misc/mprotect.c (__mprotect): Likewise.
34207 * misc/msync.c (msync): Likewise.
34208 * misc/munmap.c (__munmap): Likewise.
34209 * posix/posix_madvise.c (posix_madvise): Likewise.
34210 * socket/send.c (__send): Likewise.
34211 * socket/sendto.c (__sendto): Likewise.
34212 * socket/setsockopt.c (__setsockopt): Likewise.
34213 * string/memcmp.c (__ptr_t): Remove macro.
34214 (MEMCMP): Use void * instead of ptr_t.
34215 * string/memrchr.c (__ptr_t): Remove macro.
34216 (__memrchr): Use void * instead of ptr_t.
34217 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34218 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34219 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34220 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34221 * sysdeps/mach/msync.c (msync): Likewise.
34222 * sysdeps/mach/munmap.c (__munmap): Likewise.
34223 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34224 Likewise.
34225 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34226 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34227 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34228 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34229 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34230 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34231 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34232 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34233 Likewise.
34234 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34235 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34236 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34237 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34238 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34239 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34240 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34241 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34242 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34243 Likewise.
34244 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34245 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34246 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34247 (MEMCMP): Use void * instead of ptr_t.
34248 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34249 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34250
34251 2017-08-08 Florian Weimer <fweimer@redhat.com>
34252
34253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34254 return statement.
34255
34256 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34257
34258 [BZ #21913]
34259 * csu/libc-tls.c: Include <startup.h> first.
34260 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34261 * elf/dl-tunables.c: Include <startup.h> first.
34262 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34263 * sysdeps/generic/startup.h: New file.
34264 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34265 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34266 (I386_USE_SYSENTER): New. Defined to 0.
34267
34268 2017-08-08 Andreas Schwab <schwab@suse.de>
34269
34270 [BZ #21041]
34271 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34272 * nptl/pt-system.c (system): Likewise.
34273
34274 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34275
34276 [BZ #21780]
34277 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34278 EOPNOTSUPP.
34279 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34280 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34281 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34282 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34283 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34284 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34285 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34286
34287 2017-08-07 Joseph Myers <joseph@codesourcery.com>
34288
34289 [BZ #21899]
34290 * bits/sigaction.h (struct sigaction): Define sa_handler and
34291 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34292 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34293 [__USE_XOPEN_EXTENDED].
34294 (SA_RESTART): Likewise.
34295 (SA_NODEFER): Likewise.
34296 (SA_RESETHAND): Likewise.
34297 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34298 (struct sigaction): Define sa_handler and sa_sigaction using union
34299 also for [__USE_XOPEN_EXTENDED].
34300 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34301 [__USE_XOPEN_EXTENDED].
34302 (SA_RESTART): Likewise.
34303 (SA_NODEFER): Likewise.
34304 (SA_RESETHAND): Likewise.
34305 * sysdeps/unix/sysv/linux/bits/sigaction.h
34306 (struct sigaction): Define sa_handler and sa_sigaction using union
34307 also for [__USE_XOPEN_EXTENDED].
34308 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34309 [__USE_XOPEN_EXTENDED].
34310 (SA_RESTART): Likewise.
34311 (SA_NODEFER): Likewise.
34312 (SA_RESETHAND): Likewise.
34313 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34314 (struct sigaction): Define sa_handler and sa_sigaction using union
34315 also for [__USE_XOPEN_EXTENDED].
34316 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34317 [__USE_XOPEN_EXTENDED].
34318 (SA_RESTART): Likewise.
34319 (SA_NODEFER): Likewise.
34320 (SA_RESETHAND): Likewise.
34321 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34322 (struct sigaction): Define sa_handler and sa_sigaction using union
34323 also for [__USE_XOPEN_EXTENDED].
34324 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34325 [__USE_XOPEN_EXTENDED].
34326 (SA_RESTART): Likewise.
34327 (SA_NODEFER): Likewise.
34328 (SA_RESETHAND): Likewise.
34329 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34330 (struct sigaction): Define sa_handler and sa_sigaction using union
34331 also for [__USE_XOPEN_EXTENDED].
34332 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34333 [__USE_XOPEN_EXTENDED].
34334 (SA_RESTART): Likewise.
34335 (SA_NODEFER): Likewise.
34336 (SA_RESETHAND): Likewise.
34337 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34338 (struct sigaction): Define sa_handler and sa_sigaction using union
34339 also for [__USE_XOPEN_EXTENDED].
34340 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34341 [__USE_XOPEN_EXTENDED].
34342 (SA_RESTART): Likewise.
34343 (SA_NODEFER): Likewise.
34344 (SA_RESETHAND): Likewise.
34345 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34346 (struct sigaction): Define sa_handler and sa_sigaction using union
34347 also for [__USE_XOPEN_EXTENDED].
34348 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34349 [__USE_XOPEN_EXTENDED].
34350 (SA_RESTART): Likewise.
34351 (SA_NODEFER): Likewise. Define directly rather than as alias.
34352 (SA_RESETHAND): Likewise.
34353 (SA_INTERRUPT): Define only for [__USE_MISC].
34354 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34355 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34356 [__USE_MISC].
34357 (SA_STACK): Define only for [__USE_MISC].
34358 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34359 (struct sigaction): Define sa_handler and sa_sigaction using union
34360 also for [__USE_XOPEN_EXTENDED].
34361 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34362 [__USE_XOPEN_EXTENDED].
34363 (SA_RESTART): Likewise.
34364 (SA_NODEFER): Likewise.
34365 (SA_RESETHAND): Likewise.
34366 (SA_NOPTRACE): Define only for [__USE_MISC].
34367
34368 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34369 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34370 (struct catalog_info): Likewise.
34371 * inet/htontest.c (lo): Likewise.
34372 (foo): Likewise.
34373 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34374 * inet/inet_net.c (inet_network): Likewise.
34375 * inet/inet_netof.c (inet_netof): Likewise.
34376 * inet/rcmd.c (__ivaliduser): Likewise.
34377 (iruserok): Likewise.
34378 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34379 * locale/programs/locale-spec.c (locale_special): Likewise.
34380 * nis/nis_findserv.c (struct findserv_req): Likewise.
34381 (__nis_findfastest_with_timeout): Likewise.
34382 * nss/test-netdb.c (test_network): Likewise.
34383 * resolv/inet_neta.c (inet_neta): Likewise.
34384 * resolv/ns_date.c (ns_datetosecs): Likewise.
34385 (SECS_PER_DAY): Likewise.
34386 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34387 Likewise.
34388 * resolv/res_comp.c (__putlong): Likewise.
34389 (__putshort): Likewise.
34390 (_getlong): Likewise.
34391 (_getshort): Likewise.
34392 * resolv/res_debug.c (p_time): Likewise.
34393 (precsize_ntoa): Likewise.
34394 (precsize_aton): Likewise.
34395 (latlon2ul): Likewise.
34396 (loc_aton): Likewise.
34397 (loc_ntoa): Likewise.
34398 * resolv/res_hconf.c (struct netaddr): Likewise.
34399 (_res_hconf_reorder_addrs): Likewise.
34400 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34401 (clnttcp_control): Likewise.
34402 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34403 (clntudp_control): Likewise.
34404 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34405 (clntunix_control): Likewise.
34406 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34407 * sunrpc/rpc/auth.h (union des_block): Likewise.
34408 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34409 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34410 (xdrrec_create): Likewise.
34411 (xdrrec_endofrecord): Likewise.
34412 (flush_out): Likewise.
34413 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34414 (xdrstdio_putlong): Likewise.
34415 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34416 Likewise.
34417
34418 * misc/sys/cdefs.h (__long_double_t): Remove.
34419 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34420 instead of __long_double_t,
34421 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34422
34423 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34424
34425 * benchtests/scripts/compare_strings.py: Avoid display error when
34426 running on a text terminal.
34427
34428 * benchtests/scripts/compare_strings.py (main): Add an
34429 optional -base option.
34430 (process_results): New argument base_func.
34431
34432 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34433 hardcoding memcpy.
34434 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34435 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34436
34437 2017-08-07 Andreas Schwab <schwab@suse.de>
34438
34439 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34440 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34441 * intl/Makefile ($(objpfx)tst-gettext.out)
34442 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34443 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34444 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34445 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34446 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34447 * posix/Makefile ($(objpfx)globtest.out)
34448 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34449 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34450 ($(objpfx)tst-printf.out): Likewise.
34451 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34452 ($(objpfx)tst-setcontext3.out): Likewise.
34453
34454 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34455
34456 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34457 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34458 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34459 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34460 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34461 and mptan-fma.
34462 (CFLAGS-doasin-fma.c): New.
34463 (CFLAGS-dosincos-fma.c): Likewise.
34464 (CFLAGS-e_asin-fma.c): Likewise.
34465 (CFLAGS-e_atan2-fma.c): Likewise.
34466 (CFLAGS-e_exp-fma.c): Likewise.
34467 (CFLAGS-e_log-fma.c): Likewise.
34468 (CFLAGS-e_pow-fma.c): Likewise.
34469 (CFLAGS-halfulp-fma.c): Likewise.
34470 (CFLAGS-mpa-fma.c): Likewise.
34471 (CFLAGS-mpatan-fma.c): Likewise.
34472 (CFLAGS-mpatan2-fma.c): Likewise.
34473 (CFLAGS-mpexp-fma.c): Likewise.
34474 (CFLAGS-mplog-fma.c): Likewise.
34475 (CFLAGS-mpsqrt-fma.c): Likewise.
34476 (CFLAGS-mptan-fma.c): Likewise.
34477 (CFLAGS-s_atan-fma.c): Likewise.
34478 (CFLAGS-sincos32-fma.c): Likewise.
34479 (CFLAGS-slowexp-fma.c): Likewise.
34480 (CFLAGS-slowpow-fma.c): Likewise.
34481 (CFLAGS-s_sin-fma.c): Likewise.
34482 (CFLAGS-s_tan-fma.c): Likewise.
34483 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34484 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34485 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34486 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34487 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34488 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34489 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34490 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34491 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34492 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34493 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34494 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34495 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34496 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34497 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34498 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34499 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34500 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34501 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34502 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34503 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34504 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34505 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34506 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34507 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34508 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34509 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34510 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34511 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34512 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34513 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34514
34515 2017-08-04 Joseph Myers <joseph@codesourcery.com>
34516
34517 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34518 (min_of_type_f): New macro.
34519 (min_of_type_): Likewise.
34520 (min_of_type_l): Likewise.
34521 (min_of_type_f128): Likewise.
34522 (min_of_type): Define using __MATH_TG and taking an expression
34523 argument.
34524 (math_check_force_underflow): Pass expression instead of type to
34525 min_of_type.
34526 (math_check_force_underflow_nonneg): Likewise.
34527
34528 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34529
34530 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34531 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34532 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34533
34534 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34535
34536 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34537 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34538 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34539 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34540 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34541 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34542 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34543 memmove_chk-nonshared and memset_chk-nonshared
34544 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34545 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34546 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34547 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34548 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34549 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34550 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34551 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34552 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34553 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34554 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34555 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34556 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34557 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34558 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34559 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34560 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34561 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34562 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34563 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34564 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34565 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34566 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34567 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34568 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34569 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34570 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34571 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34572 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34573 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34574 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34575 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34576 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34577 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34578 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34579 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34580 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34581 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34582 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34583 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34584 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34585 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34586 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34587 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34588 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34589 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34590 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34591 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34592 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34593 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34594 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34595 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34596 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34597 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34598 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34599 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34600 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34601 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34602 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34603 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34604 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34605 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34606 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34607 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34608 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34609 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34610 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34611 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34612 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34613 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34614 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34615 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34616 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34617 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34618 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34619 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34620 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34621 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34622 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34623 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34624 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34625 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34626 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34627 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34628 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34629 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34630 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34631 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34632 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34633 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34634 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34635 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34636 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34637 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34638 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34639 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34640 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34641 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34642 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34643 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34644 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34645 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34646 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34647 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34648 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34649 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34650 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34651 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34652
34653 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34654
34655 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34656 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34657 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34658 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34659 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34660 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34661 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34662 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34663 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34664 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34665 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34666 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34667 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34668 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34669 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34670 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34671 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34672 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34673 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34674 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34675 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34676 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34677 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34678 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34679 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34680 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34681 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34682 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34683 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34684 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34685 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34686 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34687 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34688 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34689 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34690 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34691 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34692 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34693 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34694 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34695 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34696 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34697 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34698 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34699 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34700 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34701 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34702 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34703 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34704 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34705 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34706 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34707 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34708 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34709 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34710 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34711 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34712 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34713 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34714 ...
34715 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34716 Don't include <sysdep.h> nor <init-arch.h>.
34717 (_ZGVbN2v_cos): Removed.
34718 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34719 ...
34720 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34721 Don't include <sysdep.h> nor <init-arch.h>.
34722 (_ZGVdN4v_cos): Removed.
34723 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34724 ...
34725 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34726 Don't include <sysdep.h> nor <init-arch.h>.
34727 (_ZGVeN8v_cos): Removed.
34728 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34729 ...
34730 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34731 Don't include <sysdep.h> nor <init-arch.h>.
34732 (_ZGVbN2v_exp): Removed.
34733 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34734 ...
34735 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34736 Don't include <sysdep.h> nor <init-arch.h>.
34737 (_ZGVdN4v_exp): Removed.
34738 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34739 ...
34740 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34741 Don't include <sysdep.h> nor <init-arch.h>.
34742 (_ZGVeN8v_exp): Removed.
34743 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34744 ...
34745 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34746 Don't include <sysdep.h> nor <init-arch.h>.
34747 (_ZGVbN2v_log): Removed.
34748 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34749 ...
34750 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34751 Don't include <sysdep.h> nor <init-arch.h>.
34752 (_ZGVdN4v_log): Removed.
34753 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34754 ...
34755 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34756 Don't include <sysdep.h> nor <init-arch.h>.
34757 (_ZGVeN8v_log): Removed.
34758 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34759 ...
34760 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34761 Don't include <sysdep.h> nor <init-arch.h>.
34762 (_ZGVbN2vv_pow): Removed.
34763 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34764 ...
34765 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34766 Don't include <sysdep.h> nor <init-arch.h>.
34767 (_ZGVdN4vv_pow): Removed.
34768 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34769 ...
34770 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34771 Don't include <sysdep.h> nor <init-arch.h>.
34772 (_ZGVeN8vv_pow): Removed.
34773 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34774 ...
34775 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34776 Don't include <sysdep.h> nor <init-arch.h>.
34777 (_ZGVbN2v_sin): Removed.
34778 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34779 ...
34780 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34781 Don't include <sysdep.h> nor <init-arch.h>.
34782 (_ZGVbN4v_sin): Removed.
34783 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34784 ...
34785 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34786 Don't include <sysdep.h> nor <init-arch.h>.
34787 (_ZGVbN8v_sin): Removed.
34788 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34789 ...
34790 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34791 Don't include <sysdep.h> nor <init-arch.h>.
34792 (_ZGVbN2vvv_sincos): Removed.
34793 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34794 ...
34795 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34796 Don't include <sysdep.h> nor <init-arch.h>.
34797 (_ZGVdN4vvv_sincos): Removed.
34798 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34799 ...
34800 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34801 Don't include <sysdep.h> nor <init-arch.h>.
34802 (_ZGVeN8vvv_sincos): Removed.
34803 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34804 ...
34805 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34806 Don't include <sysdep.h> nor <init-arch.h>.
34807 (_ZGVeN16v_cosf): Removed.
34808 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34809 ...
34810 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34811 Don't include <sysdep.h> nor <init-arch.h>.
34812 (_ZGVbN4v_cosf): Removed.
34813 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34814 ...
34815 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34816 Don't include <sysdep.h> nor <init-arch.h>.
34817 (_ZGVdN8v_cosf): Removed.
34818 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34819 ...
34820 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34821 Don't include <sysdep.h> nor <init-arch.h>.
34822 (_ZGVeN16v_expf): Removed.
34823 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34824 ...
34825 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34826 Don't include <sysdep.h> nor <init-arch.h>.
34827 (_ZGVbN4v_expf): Removed.
34828 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34829 ...
34830 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34831 Don't include <sysdep.h> nor <init-arch.h>.
34832 (_ZGVdN8v_expf): Removed.
34833 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34834 ...
34835 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34836 Don't include <sysdep.h> nor <init-arch.h>.
34837 (_ZGVeN16v_logf): Removed.
34838 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34839 ...
34840 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34841 Don't include <sysdep.h> nor <init-arch.h>.
34842 (_ZGVbN4v_logf): Removed.
34843 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34844 ...
34845 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34846 Don't include <sysdep.h> nor <init-arch.h>.
34847 (_ZGVdN8v_logf): Removed.
34848 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34849 ...
34850 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34851 Don't include <sysdep.h> nor <init-arch.h>.
34852 (_ZGVeN16vv_powf): Removed.
34853 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34854 ...
34855 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34856 Don't include <sysdep.h> nor <init-arch.h>.
34857 (_ZGVbN4vv_powf): Removed.
34858 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34859 ...
34860 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34861 Don't include <sysdep.h> nor <init-arch.h>.
34862 (_ZGVdN8vv_powf): Removed.
34863 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34864 ...
34865 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34866 Don't include <sysdep.h> nor <init-arch.h>.
34867 (_ZGVeN16vvv_sincosf): Removed.
34868 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34869 ...
34870 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34871 Don't include <sysdep.h> nor <init-arch.h>.
34872 (_ZGVbN4vvv_sincosf): Removed.
34873 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34874 ...
34875 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34876 Don't include <sysdep.h> nor <init-arch.h>.
34877 (_ZGVdN8vvv_sincosf): Removed.
34878 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34879 ...
34880 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34881 Don't include <sysdep.h> nor <init-arch.h>.
34882 (_ZGVeN16v_sinf): Removed.
34883 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34884 ...
34885 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34886 Don't include <sysdep.h> nor <init-arch.h>.
34887 (_ZGVbN4v_sinf): Removed.
34888 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34889 ...
34890 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34891 Don't include <sysdep.h> nor <init-arch.h>.
34892 (_ZGVdN8v_sinf): Removed.
34893
34894 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34895
34896 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34897 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34898 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34899 s_rint-sse4_1 and s_rintf-sse4_1.
34900 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34901 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34902 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34903 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34904 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34905 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34906 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34907 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34908 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34909 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34910 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34911 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34912 (__ceil): Removed.
34913 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34914 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34915 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34916 (__ceilf): Removed.
34917 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34918 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34919 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34920 (__floor): Removed.
34921 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34922 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34923 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34924 (__floorf): Removed.
34925 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34926 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34927 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34928 (__nearbyint): Removed.
34929 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34930 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34931 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34932 (__nearbyintf): Removed.
34933 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34934 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34935 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34936 (__rint): Removed.
34937 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34938 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34939 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34940 (__rintf): Removed.
34941
34942 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34943
34944 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34945 SHARED. Avoid dynamic relocation against main in static PIE.
34946
34947 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34948
34949 [BZ #21815]
34950 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34951 (LDFLAGS-tst-prelink): Likewise.
34952
34953 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34954
34955 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34956 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34957 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34958 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34959 (INTERNAL_SYSCALL_NCS): Likewise.
34960 (LOADARGS_1): Likewise.
34961 (LOADARGS_5): Likewise.
34962 (RESTOREARGS_1): Likewise.
34963 (RESTOREARGS_5): Likewise.
34964
34965 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34966
34967 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34968 (MEMPCPY_SYMBOL): Likewise.
34969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34970 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34971 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34972 in libc.a.
34973 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34974 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34975 Likewise.
34976 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34977 (__hidden_ver1): Don't use in libc.a.
34978 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34979 (__mempcpy): Don't create a weak alias in libc.a.
34980 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34981 libc.a.
34982 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34983 (__hidden_ver1): Don't use in libc.a.
34984
34985 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34986
34987 * config.make.in (have-insert): New.
34988 * configure.ac (libc_cv_insert): New. Set to yes if linker
34989 supports INSERT in linker script.
34990 (AC_SUBST(libc_cv_insert): New.
34991 * configure: Regenerated.
34992 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34993 if $(have-insert) == yes.
34994
34995 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34996
34997 * elf/Makefile (tests): Add vismain only if
34998 $(have-protected-data) == yes.
34999 (tests-pie): Likewise.
35000
35001 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35002
35003 [BZ #21871]
35004 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35005 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35006
35007 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35008
35009 [BZ #21790]
35010 * sysdeps/i386/i586/memset.S
35011 (__memset_zero_constant_len_parameter): Removed.
35012 * sysdeps/i386/i686/memset.S
35013 (__memset_zero_constant_len_parameter): Likewise.
35014 * sysdeps/i386/i686/multiarch/memset_chk.S
35015 (__memset_zero_constant_len_parameter): Likewise.
35016 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35017 Likewise.
35018
35019 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35020
35021 * stdlib/getentropy.c (getentropy): Change return type to int.
35022
35023 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35024
35025 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35026
35027 2017-08-03 Joseph Myers <joseph@codesourcery.com>
35028
35029 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35030 u_intN_t.
35031 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35032 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35033 Likewise.
35034 (ieee_float_shape_type): Likewise.
35035 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35036 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35037 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35038 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35039 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35040 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35041 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35042 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35043 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35044 Likewise.
35045 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35046 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35047 (__ieee754_yn): Likewise.
35048 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35049 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35050 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35051 Likewise.
35052 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35053 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35054 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35055 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35056 (__erfc): Likewise.
35057 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35058 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35059 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35060 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35061 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35062 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35063 Likewise.
35064 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35065 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35066 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35067 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35068 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35069 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35070 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35071 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35072 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35073 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35074 (__issignaling): Likewise.
35075 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35076 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35077 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35078 Likewise.
35079 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35080 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35081 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35082 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35083 Likewise.
35084 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35085 Likewise.
35086 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35087 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35088 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35089 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35090 (__erfcf): Likewise.
35091 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35092 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35093 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35094 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35095 Likewise.
35096 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35097 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35098 Likewise.
35099 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35100 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35101 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35102 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35103 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35104 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35105 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35106 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35107 Likewise.
35108 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35109 Likewise.
35110 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35111 Likewise.
35112 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35113 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35114 Likewise.
35115 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35116 Likewise.
35117 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35118 (__ieee754_ynl): Likewise.
35119 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35120 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35121 Likewise.
35122 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35123 Likewise.
35124 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35125 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35126 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35127 Likewise.
35128 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35129 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35130 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35131 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35132 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35133 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35134 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35135 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35136 Likewise.
35137 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35138 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35139 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35140 Likewise.
35141 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35142 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35143 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35144 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35145 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35146 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35147 Likewise.
35148 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35149 Likewise.
35150 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35151 Likewise.
35152 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35153 Likewise.
35154 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35155 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35156 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35157 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35158 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35159 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35160 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35161 Likewise.
35162 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35163 Likewise.
35164 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35165 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35166 Likewise.
35167 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35168 (__ieee754_remainderl): Likewise.
35169 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35170 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35171 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35172 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35173 Likewise.
35174 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35175 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35176 Likewise.
35177 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35178 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35179 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35180 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35181 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35182 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35183 Likewise.
35184 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35185 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35186 (__ieee754_y0l): Likewise.
35187 (pzero): Likewise.
35188 (qzero): Likewise.
35189 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35190 (__ieee754_y1l): Likewise.
35191 (pone): Likewise.
35192 (qone): Likewise.
35193 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35194 (__ieee754_ynl): Likewise.
35195 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35196 (__ieee754_lgammal_r): Likewise.
35197 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35198 Likewise.
35199 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35200 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35201 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35202 (__erfcl): Likewise.
35203 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35204 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35205 Likewise.
35206 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35207 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35208 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35209 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35210 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35211 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35212 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35213 Likewise.
35214 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35215 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35216 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35217 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35218 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35219 Likewise.
35220 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35221 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35222 Likewise.
35223 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35224 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35225 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35226 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35227 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35228
35229 2017-08-03 Florian Weimer <fweimer@redhat.com>
35230
35231 [BZ #21885]
35232 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35233 on memory allocation failure.
35234
35235 2017-08-03 Alan Modra <amodra@gmail.com>
35236
35237 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35238 tst-tlsopt-powerpc.c with function name change and no test harness.
35239 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35240 Call tls_get_addr_opt_test.
35241 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35242 (modules-names): Add mod-tlsopt-powerpc.
35243 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35244 (tst-tlsopt-powerpc): Depend on .so.
35245 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35246 define. Expand use in TLS_GD and TLS_LD.
35247
35248 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35249
35250 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35251 function.
35252 * sysdeps/posix/shm_open.c: Include <pthread.h>.
35253
35254 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35255
35256 [BZ #21686]
35257 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35258 comparing size with that of double.
35259 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35260 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35261 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35262 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35263 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35264 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35265 unsigned __int128 types.
35266
35267 2017-08-02 Steve Ellcey <sellcey@cavium.com>
35268
35269 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35270 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35271 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35272 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35273 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35274
35275 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35276
35277 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35278
35279 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35280
35281 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35282 of SHARED.
35283 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35284 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35285 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35286 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35287 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35288 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35289 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35290
35291 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35292
35293 [BZ #21685]
35294 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35295 bit-field expressions passed to sizeof or typeof.
35296 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35297 (__TGMATH_F128): Likewise.
35298 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35299 (__TGMATH_CF128): Likewise.
35300 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35301 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35302 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35303 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35304 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35305 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35306 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35307 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35308 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35309 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35310 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35311 (__TGMATH_UNARY_IMAG): Likewise.
35312 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35313 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35314 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35315 type.
35316 (define_vars_for_type): Handle bit_field type specially.
35317 (Tests.__init__): Declare structure with bit-field element.
35318
35319 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35320
35321 [BZ #21791]
35322 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35323 (MEMCPY_CHK): Define only if SHARED is defined.
35324 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35325 Likewise.
35326 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35327 Likewise.
35328
35329 See ChangeLog.18 for earlier changes.