]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
math: Use wordsize-64 version for finite
[thirdparty/glibc.git] / ChangeLog
1 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2
3 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
4 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
5
6 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
8 objects.
9 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
10 Remove file.
11 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
12 Likewise.
13 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
14 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15 Likewise.
16 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
17 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
19 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
20 Remove s_isinf* and s_isinf* objects.
21 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
24 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
26 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
27 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
29 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
30 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
31
32 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
33 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
34
35 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
36 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
37 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
38 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
39 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
40 s_isnanf-* objects.
41 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
42 Remove file
43 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
44 Likewise.
45 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
46 Likewise.
47 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
48 Likewise.
49 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
50 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
51 Likewise.
52 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
53 Likewise.
54 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
55 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
56 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
57 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
58 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
59 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
60 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
61 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
62 Remove s_isnan-* and s_isnanf-* objects.
63 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
64 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
65 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
66 Likewise.
67 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
68 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
69 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
70 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
71 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
72 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
73 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
74 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
75 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
76 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
77 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
78 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
79 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
80
81 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
82 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
83
84 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
85 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
86 CFLAGS-bench-isfinite.c): New rule.
87 * benchtests/isnan-input: New file.
88 * benchtests/isinf-input: New file.
89 * benchtests/isfinite-input: New file.
90
91 * sysdeps/powerpc/fpu/s_copysign.c: New file.
92 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
93 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
94 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
95 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
96 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
97 s_copysign-ppc32.
98 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
99 Remove file.
100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
101 Likewise.
102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
103 Likewise.
104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
105 Likewise.
106 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
107 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
108 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
109 Remove s_copysign-power6 s_copysign-ppc64.
110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
111 Remove file.
112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
113 Likewise.
114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
116 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
117 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
118 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
119 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
120
121 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
122 round_to_integer_float, round_mode): Add RINT handling.
123 (reset_fenv_mode): New symbol.
124 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
125 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
126 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
127 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
128 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
129 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
130
131 2019-06-12 Florian Weimer <fweimer@redhat.com>
132
133 [BZ #24632]
134 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
135 * libio/freopen.c (freopen): Use it.
136
137 2019-06-12 Florian Weimer <fweimer@redhat.com>
138
139 Linux: Deprecate sysctl.
140 * include/sysctl.h (__sysctl): Remove declaration.
141 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
142 check.
143 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
144 (sysctl): Add deprecation attribute.
145 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
146 directly, to avoid the deprecation warning. Do not include
147 <string.h>.
148 (__sysctl): Remove hidden alias.
149
150 2019-06-12 Florian Weimer <fweimer@redhat.com>
151
152 Linux: Use kernel headers for statx definitions if available.
153 * include/bits/statx-generic.h: New file.
154 * include/bits/types/struct_statx.h: Likewise.
155 * include/bits/types/struct_statx_timestamp.h: Likewise.
156 * io/Makefile (headers): Add bits/statx-generic.h.
157 * io/bits/statx-generic.h: New file. Partly copied from
158 io/bits/statx.h.
159 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
160 define original_statx.
161 * io/bits/types/struct_statx.h: Likewise.
162 * io/bits/types/struct_statx_timestamp.h: Likewise.
163 (statx_generic): Use original_statx.
164 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
165 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
166
167 2019-06-12 Florian Weimer <fweimer@redhat.com>
168
169 * misc/sys/cdefs.h (__glibc_has_include): Define.
170
171 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
172
173 * string/memmem.c (__memmem): Rewrite to improve performance.
174
175 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
176
177 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
178 warning.
179 (two_way_long_needle): Block inlining.
180 * string/strstr.c (strstr2): Add new function.
181 (strstr3): Likewise.
182 (STRSTR): Completely rewrite strstr to improve performance.
183
184 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
185
186 * benchtests/bench-strstr.c (test_hard_needle): New function.
187
188 2019-06-10 Joseph Myers <joseph@codesourcery.com>
189
190 * malloc/tst-calloc.c: Include <libc-diag.h>.
191 (null_test): Ignore -Wunused-result around calls to calloc.
192 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
193 (do_test): Ignore -Wunused-result around call to malloc.
194
195 2019-06-07 Florian Weimer <fweimer@redhat.com>
196
197 Linux: Add getdents64 system call.
198 * include/dirnent.h (getdents): Add comment and change buffer
199 argument type to void *.
200 (getdents64): Likewise. Add hidden prototype.
201 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
202 getdents64.
203 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
204 Add tst-getdents64.
205 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
206 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
207 argument type to void *.
208 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
209 Add hidden definition and getdents64 alias.
210 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
211 Likewise.
212 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
213 * manual/filesys.texi (Accessing Directories): Add Low-level
214 Directory Access node reference.
215 (Opening a Directory): Cross-reference it.
216 (Low-level Directory Access): New node.
217 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
218 getdents64.
219 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
220 Likewise.
221 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
222 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
223 Likewise.
224 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
225 Likewise.
226 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
227 Likewise.
228 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
229 Likewise.
230 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
231 Likewise.
232 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
233 Likewise.
234 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
235 Likewise.
236 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
237 (GLIBC_2.30): Likewise.
238 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
239 (GLIBC_2.30): Likewise.
240 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
241 (GLIBC_2.30): Likewise.
242 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
243 (GLIBC_2.30): Likewise.
244 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
245 Likewise.
246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
247 (GLIBC_2.30): Likewise.
248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
249 (GLIBC_2.30): Likewise.
250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
251 (GLIBC_2.30): Likewise.
252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
253 (GLIBC_2.30): Likewise.
254 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
255 Likewise.
256 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
257 Likewise.
258 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
259 Likewise.
260 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
261 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
262 Likewise.
263 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
264 Likewise.
265 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
266 Likewise.
267 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
268 Likewise.
269
270 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
271
272 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
273 (__FPU_MFFS): New.
274 (__FPU_MFFSL): New.
275 (_FPU_GET_RC): New.
276 (_FPU_GETCW): Use __FPU_MFFS().
277 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
278
279 2019-06-06 Florian Weimer <fweimer@redhat.com>
280
281 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
282 internal GCC preprocessor identifier __has_include__.
283
284 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
285
286 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
287 with call to equivalent function.
288
289 2019-06-04 Florian Weimer <fweimer@redhat.com>
290
291 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
292 (do_release_shlib): Adjust for __twalk_r.
293 (__gconv_release_shlib): Call __twalk_r.
294
295 2019-06-04 Andreas Schwab <schwab@suse.de>
296
297 [BZ #18830]
298 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
299 no irreversible characters occurred.
300 * iconv/gconv_simple.c (internal_ucs4_loop)
301 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
302 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
303 (ucs4_internal_loop_single, internal_ucs4le_loop)
304 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
305 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
306 (ucs4le_internal_loop_single): Add const to outend.
307 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
308 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
309 * iconv/Makefile (tests): Add tst-iconv7.
310 * iconv/tst-iconv7.c: New file.
311
312 2019-06-03 Joseph Myers <joseph@codesourcery.com>
313
314 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
315
316 2019-06-01 Florian Weimer <fweimer@redhat.com>
317
318 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
319 * sysdeps/unix/sysv/linux/arm/Makefile
320 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
321 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
322 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
323 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
324 compatibility symbols.
325
326 2019-05-31 Florian Weimer <fweimer@redhat.com>
327
328 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
329 system calls for the arm architecture: breakpoint, get_tls,
330 set_tls, usr26, usr32.
331
332 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
333
334 * sysdeps/powerpc/Makefile
335 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
336 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
337 Declare '.machine power7' to get support for ldbrx.
338 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
339 directive based on the directory of the file.
340 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
341 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
342 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
343 '.machine' directive.
344 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
345 (VADDUQM_V7_V8): Remove.
346 (__STRCASECMP): Replace macros with actual instructions.
347 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
348 '.machine' directive.
349 (VCLZD_V8_v7): Remove.
350 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
351
352 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
353
354 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
355 Remove file.
356 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
357
358 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
359
360 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
361 NEARBYINT handling.
362 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
363 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
364 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
365 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
366 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
367 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
368
369 2019-05-28 mansayk <6688000@gmail.com>
370
371 [BZ #24370]
372 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
373
374 2019-05-28 mansayk <6688000@gmail.com>
375
376 [BZ #24369]
377 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
378 (abmon): Likewise, but remove the trailing dots.
379
380 2019-05-28 Joseph Myers <joseph@codesourcery.com>
381
382 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
383
384 2019-05-27 Florian Weimer <fweimer@redhat.com>
385
386 * nptl/nptl-init.c: Add comment.
387
388 2019-05-24 Florian Weimer <fweimer@redhat.com>
389
390 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
391 struct in_addr/struct in6_addr alignment.
392
393 2019-05-23 Joseph Myers <joseph@codesourcery.com>
394
395 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
396 (F_SEAL_FUTURE_WRITE): New macro.
397
398 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
399
400 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
401 * elf/tst-ldconfig-bad-aux-cache.c: New file.
402 * elf/tst-ldconfig_aux-cache.root: New directory.
403 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
404 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
405 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
406
407 2019-05-22 Zack Weinberg <zackw@panix.com>
408
409 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
410 host type.
411 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
412 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
413
414 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
417 Delete.
418
419 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
420 Issue an #error if used with a compiler in SPE-float mode.
421 * sysdeps/powerpc/powerpc32/__longjmp_common.S
422 * sysdeps/powerpc/powerpc32/setjmp_common.S
423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
429 Remove code to preserve SPE register state.
430
431 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
432 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
433 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
434 Remove __SPE__ ifndefs.
435
436 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
437
438 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
439 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
440 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
441 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
442 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
443 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
444 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
445 (INNER_LOOP_ITERS_MEDIUM): New define.
446 (INNER_LOOP_ITERS_SMALL): New define.
447 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
448 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
449 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
450 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
451 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
452
453 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
454
455 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
456 New define.
457 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
458 (SEMTIMEDOP_IPC_ARGS): Likewise.
459
460 2019-05-21 Florian Weimer <fweimer@redhat.com>
461
462 [BZ #24584]
463 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
464 before updating __counter field and release it afterwards. Add
465 overflow check.
466 * iconv/gconv.h (struct __gconv_step): Mention synchronization
467 requirement for __counter member.
468
469 2019-05-21 Florian Weimer <fweimer@redhat.com>
470
471 [BZ #24583]
472 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
473 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
474 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
475 instead of __gconv_release_step.
476 * libio/Makefile (tests): Add tst-wfile-gconv.
477 (tests-container): Add tst-wfile-ascii.
478 (tst-wfile-gconv-ENV): Enable mtrace.
479 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
480 (tests-special): Add tst-wfile-gconv-mem.out.
481 (tst-wfile-gconv.out): Depend on locales.
482 (tst-wfile-gconv-mem.out): Add mtrace rule.
483 * libio/tst-wfile-ascii.c: New file.
484 * libio/tst-wfile-gconv.c: Likewise.
485
486 2019-05-20 Florian Weimer <fweimer@redhat.com>
487
488 [BZ #24588]
489 libio: Remove codecvt vtable.
490 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
491 __libio_codecvt.
492 * libio/iofgetpos.c (_IO_new_fgetpos): Call
493 __libio_codecvt_encoding.
494 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
495 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
496 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
497 * libio/iofwide.c (__libio_codecvt): Remove variable.
498 (_IO_fwide): Do not copy __libio_codecvt.
499 (__libio_codecvt_out): Rename from do_out and export.
500 (do_unshift): Remove function.
501 (__libio_codecvt_in): Rename from do_in and export.
502 (__libio_codecvt_encoding): Rename from do_encoding and export.
503 (do_always_noconv): Remove function.
504 (__libio_codecvt_length): Rename from do_length and export.
505 (do_max_length): Remove function.
506 * libio/libio.h (enum __codecvt_result): Remove definition; moved
507 to libioP.h.
508 (struct _IO_codecvt): Remove fields __codecvt_destr,
509 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
510 __codecvt_do_encoding, __codecvt_do_always_noconv,
511 __codecvt_do_length, __codecvt_do_max_length.
512 * libio/libioP.h (enum __codecvt_result): Define; moved from
513 libio.h.
514 (__libio_codecvt_out, __libio_codecvt_in)
515 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
516 functions.
517 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
518 (_IO_wfile_underflow): Call __libio_codecvt_in.
519 (_IO_wfile_underflow): Likewise.
520 (_IO_wfile_underflow_mmap): Likewise.
521 (_IO_wfile_sync): Call __libio_codecvt_encoding,
522 __libio_codecvt_length.
523 (adjust_wide_data): Call __libio_codecvt_encoding,
524 __libio_codecvt_in.
525 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
526 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
527 __libio_codecvt_length.
528
529 2019-05-20 Florian Weimer <fweimer@redhat.com>
530
531 * support/support.h (support_sbindir_prefix): Declare.
532 (support_install_rootsbindir): Update comment.
533 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
534 * support/support_paths.c (support_sbindir_prefix): Define.
535
536 2019-05-20 Mike Crowe <mac@mcrowe.com>
537
538 * support/timespec.c: Add backslash to correct newline in failure
539 message.
540
541 * support/timespec.h: Correct confusing comment.
542
543 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
544
545 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
546 define.
547 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
548 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
549 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
550 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
551
552 [BZ #24570]
553 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
554 usage.
555
556 2019-05-20 Joseph Myers <joseph@codesourcery.com>
557
558 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
559 (NT_ARM_PACG_KEYS): Likewise.
560
561 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
562
563 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
564 (tcache_put): Remove redundant assert.
565 (tcache_get): Remove redundant asserts.
566 (__libc_malloc): Check tcache count is not zero.
567 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
568
569 2019-05-17 Florian Weimer <fweimer@redhat.com>
570
571 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
572
573 2019-05-16 Joseph Myers <joseph@codesourcery.com>
574
575 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
576 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
577 0x050100].
578 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
579 Likewise.
580 * sysdeps/unix/sysv/linux/sh/kernel-features.h
581 (__ASSUME_STATX): Likewise.
582
583 2019-05-16 Florian Weimer <fweimer@redhat.com>
584
585 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
586 flags argument.
587 (LINE_PARSER): Do not map IPv4 addresses.
588 (internal_nis_gethostent_r): Remove flags argument. Adjust call
589 to parse_line.
590 (_nss_nis_gethostent_r): Always pass AF_INET to
591 internal_nis_gethostent_r.
592 (internal_gethostbyname2_r): Remove flags argument. Adjust call
593 to parse_line.
594 (_nss_nis_gethostbyname2_r): Adjust call to
595 internal_nis_gethostent_r.
596 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
597 call to internal_nis_gethostent_r.
598 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
599 from parse_line.
600 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
601 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
602 Remove flags argument. Do not map IPv4 addresses.
603 (internal_nisplus_gethostent_r): Adjust call to
604 _nss_nisplus_parse_hostent.
605 (internal_gethostbyname2_r): Remove flags argument. Adjust call
606 to _nss_nisplus_parse_hostent.
607 (_nss_nisplus_gethostbyname2_r): Adjust call to
608 internal_gethostbyname2_r.
609 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
610 Adjust call to internal_gethostbyname2_r.
611 (_nss_nisplus_gethostbyaddr_r): Adjust call to
612 _nss_nisplus_parse_hostent.
613 (_nss_nisplus_gethostbyname4_r): Adjust call to
614 internal_gethostbyname2_r.
615
616 2019-05-16 Florian Weimer <fweimer@redhat.com>
617
618 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
619 Remove flags.
620 (LINE_PARSER): Remove address mapping.
621 (EXTRA_ARGS_VALUE): Remove flags argument.
622 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
623 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
624 gethostbyname3_multi.
625 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
626 _nss_files_gethostbyname3_r.
627 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
628
629 2019-05-16 Florian Weimer <fweimer@redhat.com>
630
631 * support/support_test_compare_blob.c (report_blob): Report
632 incorrect NULL blobs.
633
634 2019-05-15 Mark Wielaard <mark@klomp.org>
635
636 [BZ# 24476]
637 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
638 __libc_once_get (once) and static_buf == NULL.
639 (__dlerror): Check we have a valid key, set result to static_buf
640 otherwise.
641
642 2019-05-15 Andreas Schwab <schwab@suse.de>
643
644 [BZ #20568]
645 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
646 __codecvt_do_length.
647 * libio/Makefile (tests): Add tst-wfile-sync.
648 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
649 * libio/tst-wfile-sync.c: New file.
650 * libio/tst-wfile-sync.input: New file.
651
652 2019-05-15 Florian Weimer <fweimer@redhat.com>
653
654 nss: Turn __nss_database_lookup into a compatibility symbol.
655 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
656 __nss_database_lookup.
657 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
658 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
659 __nss_database_lookup.
660 (__nss_next): Move to …
661 * nss/compat-lookup.c (nss_next): … here. Change it to fail
662 unconditionally.
663 (__nss_database_lookup): New function.
664 * nss/Versions (GLIBC_2.0): Update comment.
665 (GLIBC_PRIVATE): Export __nss_database_lookup2.
666 * grp/initgroups.c (internal_getgrouplist): Call
667 __nss_database_lookup2 instead of __nss_database_lookup.
668 * nscd/aicache.c (addhstaiX): Likewise.
669 * nscd/initgrcache.c (addinitgroupsX): Likewise.
670 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
671 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
672 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
673 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
674 Likewise.
675 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
676 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
678
679 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
680
681 * support/support.h (support_install_rootsbindir): New variable.
682 * support/support_paths.c: Likewise.
683 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
684
685 2019-05-15 Florian Weimer <fweimer@redhat.com>
686
687 * iconv/gconv.h (__gconv_transliterate): Move declaration …
688 * iconv/gconv_int.h (__gconv_transliterate): … here.
689 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
690 * iconv/skeleton.c: Likewise.
691
692 2019-05-14 Florian Weimer <fweimer@redhat.com>
693
694 Linux: Add the tgkill function.
695 * bits/signal_ext.h: New file.
696 * manual/signal.texi (Signaling Another Process): Document tgkill.
697 * signal/Makefile (headers): Add bits/signal_ext.h.
698 * signal/signal.h: Include <bits/signal_ext.h>.
699 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
700 (tst-tgkill): Link with libpthread.
701 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
702 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
703 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
704 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
705 tgkill.
706 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
707 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
708 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
709 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
710 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
711 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
712 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
713 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
714 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
715 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
716 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
717 Likewise.
718 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
719 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
720 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
722 Likewise.
723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
724 Likewise.
725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
726 Likewise.
727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
728 Likewise.
729 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
730 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
731 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
732 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
733 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
734 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
735 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
736 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
737
738 2019-05-14 Carlos O'Donell <carlos@redhat.com>
739
740 * manual/search.texi (Tree Search Function): Adjust twalk_r
741 documentation.
742
743 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
744
745 [BZ #24544]
746 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
747 pre-defined value.
748
749 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
750 * support/support.h (support_bindir_prefix): New variable.
751 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
752
753 * config.make.in (bindir): New variable.
754
755 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
756 (lll_trylock): Call __lll_trylock.
757 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
758 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
759 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
760 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
761 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
762 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
763 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
764 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
765 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
766 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
767 lowlevellock-futex.h.
768
769 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
770 initialization for LLL_LOCK_INITIALIZER different than 0.
771 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
772 Assume LLL_LOCK_INITIALIZER being 0.
773 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
774 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
775 Likewise.
776 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
777 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
778
779 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
780 Optimize futex call and add systemtap probe.
781
782 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
783 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
784 __libc_disable_asynccancel, __librt_enable_asynccancel,
785 __libc_disable_asynccancel, __librt_enable_asynccancel,
786 __librt_disable_asynccancel): Move to ...
787 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
788 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
789 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
790 * sysdeps/generic/single-thread.h: New file.
791 * sysdeps/unix/sysdep.h: Include single-thread.h.
792 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
793 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
794
795 2019-05-08 Mike FABIAN <mfabian@redhat.com>
796
797 [BZ #24535]
798 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
799 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
800 Unicode 12.1.0.
801 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
802 * localedata/unicode-gen/PropList.txt: Likewise.
803 * localedata/unicode-gen/UnicodeData.txt: Likewise.
804 * localedata/charmaps/UTF-8: Regenerate.
805 * localedata/locales/i18n_ctype: Likewise.
806 * localedata/locales/tr_TR: Likewise.
807 * localedata/locales/translit_circle: Likewise.
808 * localedata/locales/translit_cjk_compat: Likewise.
809 * localedata/locales/translit_combining: Likewise.
810 * localedata/locales/translit_compat: Likewise.
811 * localedata/locales/translit_font: Likewise.
812 * localedata/locales/translit_fraction: Likewise.
813
814 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
815
816 [BZ #24531]
817 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
818 (do_set_tcache_count): Only update if count is small enough.
819 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
820
821 2019-05-10 Florian Weimer <fweimer@redhat.com>
822
823 * nptl/sem_close.c (struct walk_closure): Define.
824 (walker): Adjust for __twalk_r.
825 (sem_close): Call __twalk_r.
826
827 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
828
829 * support/timespec.c (test_timespec_before_impl,
830 test_timespec_equal_or_after_impl): print timespec member as intmax_t
831 insted of long int.
832
833 2019-05-09 Mike Crowe <mac@mcrowe.com>
834
835 * nptl/tst-abstime.c: Use libsupport.
836
837 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
838 small bug where only tv.tv_usec was checked which could cause an
839 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
840 than a second.
841
842 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
843 libsupport.
844
845 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
846 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
847
848 * nptl/tst-cond11.c: Use libsupport.
849
850 * support/timespec.h: New file. Provide timespec helper functions
851 along with macros in the style of those in check.h.
852 * support/timespec.c: New file. Implement check functions declared
853 in support/timespec.h.
854 * support/timespec-add.c: New file from gnulib containing
855 timespec_add implementation that handles overflow.
856 * support/timespec-sub.c: New file from gnulib containing
857 timespec_sub implementation that handles overflow.
858 * support/README: Mention timespec.h.
859
860 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
861
862 [BZ #24537]
863 * nptl/Makefile: Move tst-eintr1 to xtests.
864
865 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
866
867 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
868 TRUNC handling.
869 (round_mode): Add definition for TRUNC.
870 * sysdeps/powerpc/fpu/s_trunc.c: New file.
871 * sysdeps/powerpc/fpu/s_truncf.c: New file.
872 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
873 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
874 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
875 Likewise.
876 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
877 Likewise.
878 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
879 Likewise.
880 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
881 Likewise.
882 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
883 file.
884 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
885 Likewise.
886 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
887 Likewise.
888 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
889 Likewise.
890 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
891 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
892 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
893 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
894 s_truncf-power5+, and s_truncf-ppc64.
895 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
896 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
897 file.
898 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
900 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
901 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
902 file.
903 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
904 Likewise.
905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
906 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
907 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
908 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
909 s_truncf-power5+, and s_truncf-ppc64.
910 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
911 file.
912 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
913 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
914 Likewise.
915 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
916 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
917 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
918 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
919 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
920
921 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
922 ROUND handling.
923 (round_mode): Add definition for ROUND.
924 (round_to_integer_float): Likewise.
925 * sysdeps/powerpc/fpu/s_round.c: New file.
926 * sysdeps/powerpc/fpu/s_roundf.c: New file.
927 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
928 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
929 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
930 Likewise.
931 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
932 Likewise.
933 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
934 Likewise.
935 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
936 Likewise.
937 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
938 file.
939 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
940 Likewise.
941 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
942 Likewise.
943 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
944 Likewise.
945 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
946 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
947 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
948 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
949 s_roundf-power5+, and s_roundf-ppc64.
950 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
951 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
952 file.
953 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
955 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
956 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
957 file.
958 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
959 Likewise.
960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
961 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
963 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
964 s_roundf-power5+, and s_roundf-ppc64.
965 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
966 file.
967 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
968 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
969 Likewise.
970 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
971 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
972 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
973 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
974 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
975
976 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
977 Add FLOOR option.
978 (round_mode): Add definition for FLOOR.
979 * sysdeps/powerpc/fpu/s_floor.c: New file.
980 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
981 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
982 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
984 Remove file.
985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
986 Likewise
987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
988 Likewise.
989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
990 Likewise.
991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
992 New file.
993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
994 Likewise.
995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
996 Likewise.
997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
998 Likewise.
999 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1000 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1001 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1002 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1003 s_floorf-power5+, and s_floorf-ppc64.
1004 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1005 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1006 file.
1007 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1009 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1010 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1011 file.
1012 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1013 Likewise.
1014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1015 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1016 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1017 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1018 s_floorf-power5+, and s_floorf-ppc64.
1019 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1020 file.
1021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1022 file.
1023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1024 Likewise.
1025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1026 Likewise.
1027 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1028 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1029 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1030 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1031
1032 2019-05-08 Mike Crowe <mac@mcrowe.com>
1033
1034 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1035 clock_gettime wrapper for use in tests that fails the test rather
1036 than returning failure.
1037
1038 * support/xtime.h: New file to declare xclock_gettime.
1039
1040 * support/Makefile: Add xclock_gettime.c.
1041
1042 * support/README: Mention xtime.h.
1043
1044 2019-05-08 Florian Weimer <fweimer@redhat.com>
1045
1046 malloc/tst-mallocfork2: Use process-shared barriers.
1047 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1048 (signal_count, sigusr1_sender_pid): Remove.
1049 (iterations): Define constant.
1050 (shared): New variable.
1051 (sigusr1_received): Update comment.
1052 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1053 (signal_sender): Optional use barriers to avoid sending signals
1054 during irrelevant times.
1055 (do_it): Initialize variable shared. Use xfork for error
1056 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1057 the iteration count, independent of signal delivery. Check for
1058 deadlocks in fork. Introduce barriers for reducing signal
1059 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1060 replaced by the barriers. Count signals during fork/free/malloc
1061 and report them.
1062 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1063
1064 2019-05-07 Joseph Myers <joseph@codesourcery.com>
1065
1066 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1067 version to 5.1.
1068 (clock_adjtime64) New syscall.
1069 (clock_getres_time64) Likewise.
1070 (clock_gettime64) Likewise.
1071 (clock_nanosleep_time64) Likewise.
1072 (clock_settime64) Likewise.
1073 (futex_time64) Likewise.
1074 (io_pgetevents_time64) Likewise.
1075 (io_uring_enter) Likewise.
1076 (io_uring_register) Likewise.
1077 (io_uring_setup) Likewise.
1078 (mq_timedreceive_time64) Likewise.
1079 (mq_timedsend_time64) Likewise.
1080 (pidfd_send_signal) Likewise.
1081 (ppoll_time64) Likewise.
1082 (pselect6_time64) Likewise.
1083 (recvmmsg_time64) Likewise.
1084 (rt_sigtimedwait_time64) Likewise.
1085 (sched_rr_get_interval_time64) Likewise.
1086 (semtimedop_time64) Likewise.
1087 (timer_gettime64) Likewise.
1088 (timer_settime64) Likewise.
1089 (timerfd_gettime64) Likewise.
1090 (timerfd_settime64) Likewise.
1091 (utimensat_time64) Likewise.
1092
1093 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1094 version to 9 branch.
1095
1096 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1097
1098 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1099 __memmove_thunderx2 to the list of implementations
1100 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1101 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1102 (__memmove_thunderx2): Rewritten using SIMD ld/st
1103 (__memcpy_thunderx2): Fixed handling overlapping cases.
1104 Used ldp/stp instead of ldr/str if possible. Made loops
1105 tails branchless.
1106
1107 2019-05-03 Florian Weimer <fweimer@redhat.com>
1108
1109 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1110
1111 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1112
1113 [BZ #24506]
1114 * elf/tst-pldd.c (in_str_list): New function.
1115 (do_test): Add default names for ld and libc as one option.
1116
1117 2019-05-02 Florian Weimer <fweimer@redhat.com>
1118
1119 misc: Add twalk_r function.
1120 * include/search.h (__twalk_r): Declare.
1121 * manual/examples/twalk.c: New file.
1122 * manual/search.texi (Tree Search Function): Document twalk_r.
1123 * misc/Versions (2.30): Export twalk_r.
1124 (GLIBC_PRIVATE): Export __twalk_r.
1125 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1126 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1127 (twalk_r): Add weak alias.
1128 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1129 (walk_trace): New variable.
1130 (struct twalk_with_twalk_r_closure): Define.
1131 (twalk_with_twalk_r_action): New function.
1132 (twalk_with_twalk_r): Likewise.
1133 (walk_action): Call walk_trace_add.
1134 (walk_tree_with): Rename from walk_tree. Add walk argument.
1135 (walk_tree): New function.
1136 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1137 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1138 Likewise.
1139 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1140 Likewise.
1141 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1142 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1143 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1144 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1145 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1146 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1147 Likewise.
1148 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1149 Likewise.
1150 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1151 Likewise.
1152 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1153 (GLIBC_2.30): Likewise.
1154 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1155 (GLIBC_2.30): Likewise.
1156 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1157 (GLIBC_2.30): Likewise.
1158 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1159 (GLIBC_2.30): Likewise.
1160 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1161 Likewise.
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1163 (GLIBC_2.30): Likewise.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1165 (GLIBC_2.30): Likewise.
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1167 (GLIBC_2.30): Likewise.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1169 (GLIBC_2.30): Likewise.
1170 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1171 Likewise.
1172 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1173 Likewise.
1174 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1175 Likewise.
1176 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1177 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1178 Likewise.
1179 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1180 Likewise.
1181 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1182 Likewise.
1183 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1184 Likewise.
1185
1186 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1187
1188 Make mktime etc. compatible with __time64_t
1189 Keep these functions compatible with Gnulib while adding
1190 __time64_t support. The basic idea is to move private API
1191 declarations from include/time.h to time/mktime-internal.h, since
1192 the former file cannot easily be shared with Gnulib whereas the
1193 latter can.
1194 Also, do some other minor cleanup while in the neighborhood.
1195 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1196 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1197 since Gnulib needs it.
1198 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1199 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1200 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1201 (in_time_t_range): New static function.
1202 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1203 so that glibc users are not tempted to use __time64_t.
1204 * time/mktime-internal.h: Rewrite so that it does both glibc
1205 and Gnulib work. Include time.h if not _LIBC.
1206 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1207 (__time64_t): New type or macro, moved here from
1208 posix/bits/types.h.
1209 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1210 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1211 from include/time.h.
1212 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1213 New macros, taken from GNulib.
1214 (__mktime_internal): New prototype, moved here from include/time.h.
1215 * time/mktime.c (mktime_min, mktime_max, convert_time)
1216 (ranged_convert, __mktime_internal, __mktime64):
1217 * time/timegm.c (__timegm64):
1218 Use __time64_t, not time_t.
1219 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1220 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1221 Rename from mktime.
1222 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1223 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1224 for libc_hidden_def.
1225 Include errno.h.
1226 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1227 Rename from timegm.
1228 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1229
1230 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
1231
1232 [BZ #19444]
1233 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1234 from `-Wmaybe-uninitialized'.
1235 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1236
1237 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1238
1239 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1240 function.
1241 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1242 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1243 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1244 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1245 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1247 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1249 Remove file.
1250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1251 Likewise.
1252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1253 Likewise.
1254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1255 Likewise.
1256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1257 New file.
1258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1259 Likewise.
1260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1261 Likewise.
1262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1263 Likewise.
1264 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1265 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1266 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1267 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1268 Likewise.
1269 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1270 Likewise.
1271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1272 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1273 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1274 file.
1275 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1276 Likewise.
1277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1278 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1279 * here.
1280 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1281 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1282 s_ceilf-power5+, and s_ceilf-ppc64.
1283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1284 file.
1285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1288 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1289 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1290 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1291 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1292
1293 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1294 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1295 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1296
1297 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1298
1299 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1300 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1301 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1302 (sem_getvalue): Likewise.
1303
1304 2019-04-26 Florian Weimer <fweimer@redhat.com>
1305
1306 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1307 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1308
1309 2019-04-26 Florian Weimer <fweimer@redhat.com>
1310
1311 Makeconfig: Move -Wl,-rpath-link options before library references.
1312 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1313 (link-libc): Remove $(link-libc-rpath-link).
1314
1315 2019-04-25 Florian Weimer <fweimer@redhat.com>
1316
1317 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1318 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1319 (+link-static-before-libc): Remove $(CC).
1320 (+link-static, +link-static-tests): Add $(CC).
1321 (+link-before-libc): Remove $(CC).
1322 (+link, +link-pie, +link-pie-printers): Add $(CC).
1323
1324 2019-04-26 Florian Weimer <fweimer@redhat.com>
1325
1326 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1327 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1328 (+link-static-before-libc): Remove $(CC).
1329 (+link-static, +link-static-tests): Add $(CC).
1330 (+link-before-libc): Remove $(CC).
1331 (+link, +link-pie, +link-pie-printers): Add $(CC).
1332
1333 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1334
1335 [BZ#24484]
1336 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1337
1338 2019-04-25 Florian Weimer <fweimer@redhat.com>
1339
1340 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1341 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1342 (bench-link-targets): New variable.
1343 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1344
1345 2019-04-25 Florian Weimer <fweimer@redhat.com>
1346
1347 Also enable BIND_NOW for programs if --enable-bind-now.
1348 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1349 (+link-pie): Use $(link-extra-flags).
1350 (+link-static): Likewise.
1351 [! $(build-pie-default)] (+link): Likewise.
1352 * manual/install.texi (Configuring and compiling): Update
1353 --enable-bind-now description.
1354 * INSTALL: Regenerated.
1355
1356 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1357
1358 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1359 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1360
1361 2019-04-24 Mike Frysinger <vapier@gentoo.org>
1362
1363 [BZ #18465]
1364 * malloc/Makefile (others): Add memusagestat.
1365 ($(objpfx)memusagestat): Delete rule.
1366 (LDLIBS-memusagestat): New variable.
1367
1368 2019-04-24 Florian Weimer <fweimer@redhat.com>
1369
1370 * locale/Makefile (tests-special): Guard setting by
1371 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1372 to run while cross-compiling.
1373
1374 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1375
1376 [BZ #18035]
1377 * elf/Makefile (tests-container): Add tst-pldd.
1378 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1379 (E(find_maps)): Avoid use alloca, use default read file operations
1380 instead of explicit LFS names, and fix infinite loop.
1381 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1382 (get_process_info): Use _Static_assert instead of assert, use default
1383 directory operations instead of explicit LFS names, and free some
1384 leadek pointers.
1385 * elf/tst-pldd.c: New file.
1386
1387 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1388
1389 * malloc/arena.c (do_set_mallopt_check): Removed.
1390
1391 2019-04-23 Florian Weimer <fweimer@redhat.com>
1392
1393 locale: Add LOCPATH diagnostics to the locale program.
1394 * locale/programs/locale.c (setlocale_failed): New variable.
1395 (try_setlocale): New function.
1396 (quote_string): Likewise.
1397 (setlocale_diagnostics): Likewise.
1398 (main): Call try_setlocale instead of setlocale. Call
1399 setlocale_diagnostics.
1400 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1401 (tst-locale-locpath.out): New target.
1402 * locale/tst-locale-locpath.sh: New file.
1403
1404 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1405
1406 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1407 to 2.30 notes.
1408
1409 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1410
1411 [BZ #23741]
1412 * malloc/hooks.c (malloc_check, realloc_check): Use
1413 __builtin_add_overflow on overflow check and adapt to
1414 checked_request2size change.
1415 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1416 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1417 allocation size to PTRDIFF_MAX.
1418 (REQUEST_OUT_OF_RANGE): Remove macro.
1419 (checked_request2size): Change to inline function and limit maximum
1420 requested size to PTRDIFF_MAX.
1421 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1422 maximum allocation size to PTRDIFF_MAX.
1423 (_mid_memalign): Use _int_memalign call for overflow check.
1424 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1425 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1426 limit maximum requested size to PTRDIFF_MAX.
1427 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1428 valloc, pvalloc): Add __attribute_alloc_size__.
1429 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1430 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1431 larger than PTRDIFF_MAX.
1432 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1433 around tests of malloc with negative sizes.
1434 * malloc/tst-posix_memalign.c (do_test): Likewise.
1435 * malloc/tst-pvalloc.c (do_test): Likewise.
1436 * malloc/tst-valloc.c (do_test): Likewise.
1437 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1438 with resulting size allocation larger than PTRDIFF_MAX with
1439 reallocarray_nowarn.
1440 (reallocarray_nowarn): New function.
1441 * NEWS: Mention the malloc function semantic change.
1442
1443 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1444
1445 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1446 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1447
1448 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1449 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1450 * sysdeps/powerpc/fpu/s_fma.c: New file.
1451 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1452
1453 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1454 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1455
1456 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1457 the magic flag store.
1458 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1459 Likewise.
1460 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1461 Likewise.
1462 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1463 Remove rt_sigreturn call.
1464
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1466 Remove rt_sigreturn call.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1468 Likewise.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1471
1472 * support/Makefile (libsupport-routines): Add support_subprocess,
1473 xposix_spawn, xposix_spawn_file_actions_addclose, and
1474 xposix_spawn_file_actions_adddup2.
1475 (tst-support_capture_subprocess-ARGS): New rule.
1476 * support/capture_subprocess.h (support_capture_subprogram): New
1477 prototype.
1478 * support/support_capture_subprocess.c (support_capture_subprocess):
1479 Refactor to use support_subprocess and support_capture_poll.
1480 (support_capture_subprogram): New function.
1481 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1482 str_to_write_mode, test_common, parse_int, handle_restart,
1483 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1484 (do_test): Add support_capture_subprogram tests.
1485 * support/subprocess.h: New file.
1486 * support/support_subprocess.c: Likewise.
1487 * support/xposix_spawn.c: Likewise.
1488 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1489 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1490 * support/xspawn.h: Likewise.
1491
1492 2019-04-17 Mike Gerow <gerow@google.com>
1493
1494 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1495 groups limit.
1496
1497 2019-04-11 Florian Weimer <fweimer@redhat.com>
1498
1499 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1500 domain with empty string.
1501 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1502
1503 2019-04-11 Florian Weimer <fweimer@redhat.com>
1504
1505 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1506 comment.
1507 (alloc_buffer_next): Change return type to non-const. Update
1508 comment.
1509
1510 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1511
1512 * manual/time.texi (Formatting Calendar Time): Add missing percent
1513 sign to conversion specifier.
1514
1515 2019-04-09 Carlos O'Donell <carlos@redhat.com>
1516 Kwok Cheung Yeung <kcy@codesourcery.com>
1517
1518 [BZ #16573]
1519 * malloc/mtrace.c: Define prototypes for all hooks.
1520 (set_default_hooks): New function.
1521 (set_trace_hooks): Likewise.
1522 (save_default_hooks): Likewise.
1523 (tr_freehook): Use new s*_hooks functions.
1524 (tr_mallochook): Likewise.
1525 (tr_reallochook): Likewise.
1526 (tr_memalignhook): Likewise.
1527 (mtrace): Likewise.
1528 (muntrace): Likewise.
1529
1530 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1531
1532 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1533 (generic_stpcpy): New function.
1534 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1535 (generic_stpncpy): New function.
1536 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1537 (generic_strcat): New function.
1538 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1539 (generic_strcpy): New function.
1540 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1541 (STUPID_STRNCAT): Remove function.
1542 (generic_strncat): New function.
1543 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1544 (STUPID_STRNCPY): Remove function.
1545 (generic_strncpy): New function.
1546 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1547 (generic_strnlen): New function.
1548 (memchr_strnlen): New function.
1549 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1550 (memchr_strlen): Likewise.
1551
1552 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1553
1554 * benchtests/bench-strstr.c (input): Add realistic input text.
1555 (stupid_strstr): Remove function.
1556 (basic_strstr): Add function.
1557 (twoway_strstr): Add function.
1558 (do_one_test): Add result checking.
1559 (do_test): Use new input text. Remove accidental early matches.
1560 (test_main): Improve range of tests, reduce unaligned cases.
1561
1562 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1563
1564 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1565 (basic_memmem): Add function.
1566 (twoway_memmem): Add function.
1567
1568 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1569
1570 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1571 * benchtests/bench-malloc-thread.c: Likewise.
1572 * benchtests/bench-skeleton.c: Likewise.
1573 * benchtests/bench-strtod.c: Likewise.
1574 * benchtests/bench-timing.h: Likewise.
1575
1576 2019-04-08 Florian Weimer <fweimer@redhat.com>
1577
1578 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1579 definitions.
1580 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1581 RES_INSECURE2 security checks.
1582 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1583 RES_INSECURE2 handling.
1584
1585 2019-04-08 Florian Weimer <fweimer@redhat.com>
1586
1587 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1588 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1589 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1590 GETHOSTBYNAME.
1591 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1592 (tests-internal): Update justification for tst-resolv-res_init,
1593 tst-resolv-res_init-thread.
1594 (tst-res_use_inet6): Remove target.
1595 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1596 * resolv/res_debug.c (p_option): Remove "inet6" support.
1597 * resolv/res_init.c (res_setoptions): Likewise.
1598 * resolv/res_use_inet6.h: Remove file.
1599 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1600 definition.
1601 (res_use_inet6): Always return false.
1602 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1603 * resolv/resolv_context.h: Adjust file comment.
1604 (struct resolv_context): Update comment on __next field.
1605 (__resolv_context_put): Update comment.
1606 * resolv/tst-res_use_inet6.c: Remove file.
1607 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1608 "inet6" support.
1609 (test_cases): Adjust test case.
1610 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1611 (thread_byname2_af_inet6): Use old byname_inet6 code.
1612 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1613 (gai): Remove do_inet6 argument.
1614 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1615 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1616 (thread_gai_unspec_inet6): Remove functions.
1617 (do_test): Adjust thread_funcs.
1618 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1619 RES_USE_INET6 flag.
1620 (gaih_inet): Do not disable RES_USE_INET6 flag.
1621
1622 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1623
1624 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1625 and remove redundant code.
1626
1627 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1628
1629 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1630 New rule.
1631 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1632 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1633 Likewise.
1634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1635 Likewise.
1636 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1637 Likewise.
1638 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1639 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1640 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1641 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1642 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1643 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1645 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1646 wcsrchr-power7.
1647 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1649 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1650 Remove wcsrchr optimizations.
1651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1652
1653 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1654 the loop unroll.
1655
1656 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1657 New rule.
1658 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1659 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1660 Likewise.
1661 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1662 Likewise.
1663 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1664 Likewise.
1665 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1666 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1667 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1668 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1669 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1670 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1672 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1673 wcschr-power7.
1674 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1676 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1677 Remove wcschr optimizations.
1678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1679
1680 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1681 the loop unroll.
1682
1683 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1684 New rule.
1685 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1686 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1687 Likewise.
1688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1689 Likewise.
1690 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1691 Likewise.
1692 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1693 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1694 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1695 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1696 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1697 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1698 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1699 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1700 wcscpy-power7.
1701 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1704 Remove wcscpy optimizations.
1705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1706
1707 * include/loop_unroll.h: New file.
1708 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1709 besides generic implementation.
1710
1711 2019-04-03 DJ Delorie <dj@redhat.com>
1712
1713 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1714 snprintf truncating output.
1715
1716 2019-04-02 DJ Delorie <dj@redhat.com>
1717
1718 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1719 warning.
1720
1721 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1722
1723 [BZ #22964]
1724 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1725 era.
1726 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1727 (mkreftable): Add rules for the new Japanese era and the new dates.
1728
1729 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1730 Rafal Luzynski <digitalfreak@lingonborough.com>
1731
1732 * time/tst-strftime2.c (date_t): Explicitly define the type.
1733 (dates): Use natural month and year numbers to express a date.
1734 (is_before): New function to compare dates.
1735 (mkreftable): Minor improvements to simplify maintenance.
1736 (do_test): Reflect the changes in dates array.
1737
1738 [BZ #24293]
1739 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1740 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1741 * time/tst-strftime2.c (locales): Likewise.
1742 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1743 2010-04-01, and 2011-04-01.
1744 (mkreftable): Add rules for the new locales and the new dates.
1745
1746 2019-04-01 Carlos O'Donell <carlos@redhat.com>
1747
1748 * localedata/locales/ja_JP: Add comments to era entries.
1749
1750 2019-04-01 DJ Delorie <dj@redhat.com>
1751
1752 [BZ #24394]
1753 * time/strptime_l.c (%Ey): Fix fencepost error.
1754 * time/tst-strftime3.c: New.
1755 * time/Makefile (tests): Add tst-strftime3.
1756
1757 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
1758
1759 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1760 conditional branch to DIVBYZERO. Fix unwind info.
1761 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1762 excb after conditional branch to $powerof2. Add missing unop
1763 instructions and .align directives and reorder instructions to
1764 match __divqu.
1765
1766 2019-04-01 Richard Henderson <rth@twiddle.net>
1767
1768 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1769 Do not redefine.
1770 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1771 Do not redefine.
1772
1773 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
1774
1775 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1776 $libc_cv_riscv_float_abi in `test' invocation.
1777 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1778
1779 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
1780
1781 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1782 asm with builtin.
1783 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1784 Likewise.
1785 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1786 (_GET_SI_FPSCR): Likewise.
1787 (_SET_SI_FPSCR): Likewise.
1788
1789 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1790
1791 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1792 clang 2.8.
1793 (signbit): Use builtin for clang 3.3.
1794 (isinf): Use builtin for clang 3.7.
1795
1796 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1797
1798 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1799
1800 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1801
1802 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1803 quote in printf.
1804
1805 2019-03-25 Mike Crowe <mac@mcrowe.com>
1806
1807 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1808 pthread_rwlock_timedrdlock with calls to
1809 pthread_rwlock_timedwrlock to ensure that the latter is tested
1810 too. Use new function name in diagnostic messages too.
1811
1812 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1813 (do_test) Use libsupport test macros rather than hand-coded
1814 conditionals and error messages. Ensure that sem_init returns zero
1815 rather than not -1. Use <support/test-driver.c> rather than
1816 test-skeleton.c.
1817
1818 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1819 test macros rather than hand-coded conditionals and error messages.
1820 Use <support/test-driver.c> rather than test-skeleton.c.
1821
1822 2019-03-25 Joseph Myers <joseph@codesourcery.com>
1823
1824 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1825
1826 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1827 (NT_MIPS_MSA): Likewise.
1828
1829 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1830
1831 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1832 * benchtests/README: Update description.
1833 * benchtests/bench-timing.h: Default to hp-timing.
1834 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1835 HP_TIMING_PRINT): Remove.
1836 (HP_TIMING_NOW): Add generic implementation.
1837 (hp_timing_t): Change to uint64_t.
1838
1839 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1840 HP_TIMING_INLINE.
1841 * nptl/descr.h: Likewise.
1842 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1843 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1844 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1845 Abstract hp-timing usage with RTLD_* macros.
1846 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1847 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1848 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1849 HP_TIMING_NONAVAIL): Likewise.
1850 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1851 Likewise.
1852 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1853 HP_SMALL_TIMING_AVAIL): Likewise.
1854 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1855 HP_SMALL_TIMING_AVAIL): Likewise.
1856 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1857 HP_SMALL_TIMING_AVAIL): Likewise.
1858 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1859 HP_SMALL_TIMING_AVAIL): Likewise.
1860 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1861 Likewise.
1862 * sysdeps/generic/hp-timing-common.h: Update comment with
1863 HP_TIMING_AVAIL removal.
1864
1865 * include/random-bits.h: New file.
1866 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1867 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1868 random_bits.
1869 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1870 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1871 Likewise.
1872
1873 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1874 * rt/Makefile (clock-routines): Remove get_clockfreq.
1875 * rt/get_clockfreq.c: Remove file.
1876 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1877 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1878 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1879 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1880 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1881
1882 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1883 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1884 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1885 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1886 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1887
1888 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1889 pthread_clock_settime.
1890 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1891 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1892 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1893 * elf/rtld.c (_dl_start_final): Likewise.
1894 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1895 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1896 Remove.
1897 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1898 (_dl_cpuclock_offset): Remove.
1899 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1900 cpuclock_offset_ununsed.
1901 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1902 cpuclock_offset set.
1903 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1904 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1905 * nptl/pthread_clock_gettime.c: Remove file.
1906 * nptl/pthread_clock_settime.c: Likewise.
1907 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1908 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1909 and CLOCK_PROCESS_CPUTIME_ID support.
1910 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1911 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1912 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1913 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1914 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1915 Likewise.
1916 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1917
1918 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1919
1920 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1921 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1922 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1923 New defines.
1924 * sysdeps/s390/memmem-arch13.S: New file.
1925 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1926 if it is only used as fallback.
1927 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1928 * sysdeps/s390/multiarch/ifunc-impl-list.c
1929 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1930
1931 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1932
1933 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1934 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1935 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1936 New defines.
1937 * sysdeps/s390/multiarch/ifunc-impl-list.c
1938 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1939 * sysdeps/s390/strstr-arch13.S: New file.
1940 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1941 if it is only used as fallback.
1942 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1943
1944 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1945
1946 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1947 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1948 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1949 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1950 ifunc selector.
1951 * sysdeps/s390/multiarch/ifunc-impl-list.c
1952 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1953 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1954 S390_IS_ARCH13_MIE3): New defines.
1955
1956 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1957
1958 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1959 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1960 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1961 * sysdeps/s390/configure: Regenerated.
1962
1963 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1964
1965 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1966 Add vxe2, vxp, dflt, sort flags.
1967 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1968 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1969 capabilities.
1970 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1971 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1972 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1973 HWCAP_S390_DFLT): Define.
1974
1975 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1976
1977 [BZ #24372]
1978 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1979 of compiler warning.
1980 * locale/programs/ld-collate.c (collate_output): Likewise.
1981
1982 2019-03-21 DJ Delorie <dj@redhat.com>
1983
1984 [BZ #24372]
1985 * iconv/iconvconfig.c (write_output): Replace floating point math
1986 with integer math to avoid imprecise results.
1987 * locale/programs/ld-collate.c (collate_output): Likewise.
1988
1989 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
1990
1991 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1992 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1993
1994 2019-03-20 mansayk <6688000@gmail.com>
1995
1996 [BZ #24296]
1997 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1998 (abday): Likewise, but remove the trailing dots.
1999
2000 2019-03-19 Joseph Myers <joseph@codesourcery.com>
2001
2002 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2003 macro.
2004 (HWCAP_PACA): Likewise.
2005 (HWCAP_PACG): Likewise.
2006 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2007 Increase to 32.
2008 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2009
2010 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2011
2012 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2013 should be handled.
2014
2015 2019-03-15 Joseph Myers <joseph@codesourcery.com>
2016
2017 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2018 version to 5.0.
2019 (old_getpagesize): New syscall.
2020
2021 2019-03-15 Felix Yan <felixonmars@archlinux.org>
2022
2023 [BZ #24293]
2024 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2025 * localedata/locales/cmn_TW (era): Likewise.
2026 * localedata/locales/hak_TW (era): Likewise.
2027 * localedata/locales/lzh_TW (era): Likewise.
2028 * localedata/locales/nan_TW (era): Likewise.
2029
2030 2019-03-14 Adam Maris <amaris@redhat.com>
2031
2032 * malloc/malloc.c (_int_malloc): Check for large bin list
2033 corruption when inserting unsorted chunk.
2034
2035 2019-03-14 Florian Weimer <fweimer@redhat.com>
2036
2037 Remove obsolete, never-implemented XSI STREAMS declarations.
2038 * manual/terminal.texi (Allocation): Remove portability note and
2039 adjust example.
2040 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2041 _SC_STREAMS.
2042 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2043 * sysdeps/unix/inet/Subdirs (streams): Remove.
2044 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2045 (conformtest-headers-UNIX98): Likewise.
2046 (conformtest-headers-XOPEN2K): Likewise.
2047 (conformtest-headers-POSIX2008): Likewise.
2048 * posix/compat-streams.c: New file.
2049 * posix/Makefile (routines): Add it.
2050 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2051 getpmsg, isastream, putmsg, putpmsg.
2052 (GLIBC_2.30): New section.
2053 * bits/stropts.h: Remove file.
2054 * bits/xtitypes.h: Likewise.
2055 * conform/data/stropts.h-data: Likewise.
2056 * include/stropts.h: Likewise.
2057 * include/sys/stropts.h: Likewise.
2058 * include/xtitypes.h: Likewise.
2059 * streams/Makefile: Likewise.
2060 * streams/fattach.c: Likewise.
2061 * streams/fdetach.c: Likewise.
2062 * streams/getmsg.c: Likewise.
2063 * streams/getpmsg.c: Likewise.
2064 * streams/isastream.c: Likewise.
2065 * streams/putmsg.c: Likewise.
2066 * streams/putpmsg.c: Likewise.
2067 * streams/stropts.h: Likewise.
2068 * streams/sys/stropts.h: Likewise.
2069 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2070 * sysdeps/s390/bits/xtitypes.h: Likewise.
2071 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2072 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2073 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2074 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2075 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2076 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2077 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2078 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2079 * sysdeps/x86/bits/xtitypes.h: Likewise.
2080
2081 2019-03-14 Florian Weimer <fweimer@redhat.com>
2082
2083 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2084 libnss_files.
2085 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2086 but not with libnss_files.
2087 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2088
2089 2019-03-14 Zack Weinberg <zackw@panix.com>
2090
2091 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2092 Specify encoding="utf-8" when opening headers to check.
2093
2094 2019-03-13 Joseph Myers <joseph@codesourcery.com>
2095
2096 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2097 version to 5.0.
2098 (Context.checkout_tar): Handle variable major version for Linux
2099 kernel.
2100
2101 2019-03-13 Florian Weimer <fweimer@redhat.com>
2102
2103 [BZ #24047]
2104 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2105
2106 2019-03-13 Zack Weinberg <zackw@panix.com>
2107
2108 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2109 Move to stdlib.
2110 * include/inttypes.h: Adjust to match.
2111 * include/stdint.h: New wrapper.
2112
2113 2019-03-13 Zack Weinberg <zackw@panix.com>
2114
2115 * scripts/check-obsolete-constructs.py: New test script.
2116 * scripts/check-installed-headers.sh: Remove tests for
2117 obsolete typedefs, superseded by check-obsolete-constructs.py.
2118 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2119 as a special test. Update commentary.
2120 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2121 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2122 Update commentary.
2123 * posix/sys/types.h (__u_intN_t): Remove.
2124 (u_int8_t): Typedef using __uint8_t.
2125 (u_int16_t): Typedef using __uint16_t.
2126 (u_int32_t): Typedef using __uint32_t.
2127 (u_int64_t): Typedef using __uint64_t.
2128
2129 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
2130
2131 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2132 call _dl_procinfo.
2133 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2134 Ignore types other than AT_HWCAP.
2135 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2136 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2137 Likewise.
2138 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2139 in the case of falling back to generic output mechanism.
2140 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2141 Likewise.
2142
2143 2019-03-12 Florian Weimer <fweimer@redhat.com>
2144
2145 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2146
2147 2019-03-12 Florian Weimer <fweimer@redhat.com>
2148
2149 [BZ #24047]
2150 resolv: Enable full ICMP errors for UDP DNS sockets
2151 * resolv/res_enable_icmp.c: New file.
2152 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2153 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2154 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2155 socket.
2156
2157 2019-03-11 Mao Han <han_mao@c-sky.com>
2158
2159 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2160 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2161
2162 2019-03-11 Mao Han <han_mao@c-sky.com>
2163
2164 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2165 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2166 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2167
2168 2019-03-11 Mao Han <han_mao@c-sky.com>
2169
2170 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2171 directly.
2172 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2173 definition.
2174
2175 2019-03-11 Mao Han <han_mao@c-sky.com>
2176
2177 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2178 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2179 in mcontext_t
2180
2181 2019-03-08 Mike FABIAN <mfabian@redhat.com>
2182
2183 [BZ #24307]
2184 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2185 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2186 Unicode 12.0.0.
2187 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2188 * localedata/unicode-gen/PropList.txt: Likewise.
2189 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2190 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2191 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2192 * localedata/charmaps/UTF-8: Regenerate.
2193 * localedata/locales/i18n_ctype: Likewise.
2194 * localedata/locales/tr_TR: Likewise.
2195 * localedata/locales/translit_circle: Likewise.
2196 * localedata/locales/translit_cjk_compat: Likewise.
2197 * localedata/locales/translit_combining: Likewise.
2198 * localedata/locales/translit_compat: Likewise.
2199 * localedata/locales/translit_font: Likewise.
2200 * localedata/locales/translit_fraction: Likewise.
2201
2202 2019-03-07 Joseph Myers <joseph@codesourcery.com>
2203
2204 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2205 than after operators.
2206 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2207 (setitimer_locked): Likewise.
2208 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2209 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2210 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2211 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2212 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2213 (PPC_CPU_SUPPORTED): Likewise.
2214 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2215 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2216 (stat_overflow): Likewise.
2217 (statfs_overflow): Likewise.
2218 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2219 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2220 (eq_ttyname_r): Likewise.
2221 (run_chroot_tests): Likewise.
2222
2223 2019-03-07 Florian Weimer <fweimer@redhat.com>
2224
2225 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2226 header check.
2227
2228 2019-03-07 Martin Liska <mliska@suse.cz>
2229
2230 * math/Makefile: Change location where math-vector-fortran.h is
2231 installed.
2232 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2233 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2234 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2235 * scripts/check-installed-headers.sh: Skip Fortran header files.
2236 * scripts/check-wrapper-headers.py: Likewise.
2237
2238 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2239
2240 * nptl/nptl-init.c (__have_futex_clock_realtime,
2241 __have_futex_clock_realtime): Remove definition.
2242 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2243 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2244 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2245 __ASSUME_FUTEX_CLOCK_REALTIME support.
2246 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2247 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2248 * sysdeps/unix/sysv/linux/kernel-features.h
2249 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2250 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2251 Adjust comment.
2252
2253 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2254
2255 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2256 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2257 __GI___wcscpy and wcscpy.
2258
2259 2019-03-04 Florian Weimer <fweimer@redhat.com>
2260
2261 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2262 declaration.
2263 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2264 defined.
2265
2266 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
2267
2268 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2269 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2270
2271 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2272
2273 [BZ #24162]
2274 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2275 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2276
2277 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2278
2279 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2280 tests.
2281 (do_test): Likewise.
2282 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2283 (do_test_call_varg): Likewise.
2284 (do_test_call_rarg): Likewise.
2285 * sysdeps/ieee754/ldbl-opt/Makefile
2286 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2287 tst-nldbl-error.
2288 ($(objpfx)tst-nldbl-warn.c): New rule.
2289 ($(objpfx)tst-nldbl-error.c): Likewise.
2290 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2291 New variables.
2292
2293 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2294
2295 [BZ #23984]
2296 * include/bits/error-ldbl.h: New file.
2297 * include/error.h: Include stdarg.h. Declare internal functions
2298 __error_internal and __error_at_line_internal.
2299 * misc/Makefile (headers): Add bits/error-ldbl.h.
2300 * misc/bits/error-ldbl.h: New file.
2301 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2302 avoid the inclusion of bits/error.h.
2303 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2304 and __nldbl_error_at_line.
2305 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2306 (__nldbl_error, __ndlbl_error_at_line): New functions.
2307 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2308 Redirect error and error_at_line.
2309 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2311 Likewise.
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2313 Likewise.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2315 Likewise.
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2317 Likewise.
2318 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2319 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2320 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2321
2322 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2323
2324 [BZ #23984]
2325 * include/bits/err-ldbl.h: New file.
2326 * include/err.h: Add prototypes for the internal functions:
2327 __vwarnx_internal and __vwarn_internal.
2328 * misc/Makefile (headers): Add bits/err-ldbl.h.
2329 * misc/bits/err-ldbl.h: New file.
2330 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2331 defined, i.e.: when -mlong-double-64 is in use.
2332 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2333 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2334 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2335 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2336 (VA_CALL): New macro.
2337 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2338 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2339 functions.
2340 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2341 declare prototypes for the new functions.
2342 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2344 Likewise.
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2346 Likewise.
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2348 Likewise.
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2350 Likewise.
2351 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2352 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2353 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2354
2355 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2356
2357 * sysdeps/ieee754/ldbl-opt/Makefile
2358 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2359 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2360 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2361
2362 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2363
2364 [BZ #23983]
2365 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2366 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2367 * argp/bits/argp-ldbl.h: New file.
2368 * include/argp.h: Include stdarg.h. Add prototypes for internal
2369 functions: __argp_error_internal and __argp_failure_internal.
2370 * include/bits/argp-ldbl.h: New file.
2371 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2372 __nldbl_argp_error and __nldbl_argp_failure.
2373 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2374 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2375 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2376 Redirect argp_error and argp_failure calls.
2377 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2379 Likewise.
2380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2381 Likewise.
2382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2383 Likewise.
2384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2385 Likewise.
2386 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2387 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2388 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2389
2390 2019-03-01 Florian Weimer <fweimer@redhat.com>
2391
2392 [BZ #20419]
2393 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2394 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2395 code, to avoid creating an ABI tag note.
2396 (modules-names-nobuild): Add tst-big-note-lib.
2397
2398 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
2399
2400 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2401 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2402
2403 2019-03-01 Florian Weimer <fweimer@redhat.com>
2404
2405 [BZ #20271]
2406 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2407 (__netlink_assert_response): Add additional missing newlines.
2408
2409 2019-02-28 Joseph Myers <joseph@codesourcery.com>
2410
2411 * sysdeps/powerpc/powerpc32/dl-machine.c
2412 (__elf_machine_fixup_plt): Use space before '('.
2413 (__process_machine_rela): Likewise.
2414 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2415 Likewise.
2416 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2417 Likewise.
2418 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2419 Likewise.
2420 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2421 (pattern): Likewise.
2422 (delta): Likewise.
2423 (check_result): Likewise.
2424 (check_excepts): Likewise.
2425 (check_op): Likewise.
2426 (fail_xr): Likewise.
2427 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2428 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2429 (SCNHSZ): Likewise.
2430 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2431 Likewise.
2432 (ARGS): Likewise.
2433 (__makecontext): Likewise.
2434 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2435 Likewise.
2436
2437 2019-02-28 Florian Weimer <fweimer@redhat.com>
2438
2439 [BZ #23937]
2440 elf: Add test with a local IFUNC resolver.
2441 * elf/ifuncmain9.c: New file.
2442 * elf/ifuncmain9pic.c: Likewise.
2443 * elf/ifuncmain9picstatic.c: Likewise.
2444 * elf/ifuncmain9pie.c: Likewise.
2445 * elf/ifuncmain9static.c: Likewise.
2446 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2447 ifuncmain9static, ifuncmain9picstatic.
2448 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2449 Add ifuncmain9, ifuncmain9pic.
2450 * elf/Makefile [multi-arch && build-shared && have-fpie]
2451 (ifunc-pie-tests): Add ifuncmain9pie.
2452 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2453 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2454 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2455
2456 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2457
2458 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2459 * configure: Regenerated.
2460 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2461
2462 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2463
2464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2465 symbol as __wcspcy instead of wcscpy.
2466
2467 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2468
2469 * include/stdio.h (__renameat2): New hidden prototype.
2470 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2471 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2472 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2473 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2474
2475 2019-02-27 Joseph Myers <joseph@codesourcery.com>
2476
2477 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2478 if statement.
2479
2480 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2481 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2482 * benchtests/bench-strlen.c (do_test): Likewise.
2483 (test_main): Likewise.
2484 * catgets/gencat.c (read_old): Likewise.
2485 * elf/cache.c (load_aux_cache): Likewise.
2486 * iconvdata/bug-iconv8.c (do_test): Likewise.
2487 * math/test-tgmath-ret.c (do_test): Likewise.
2488 * nis/nis_call.c (rec_dirsearch): Likewise.
2489 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2490 * nptl/tst-audit-threads.c (do_test): Likewise.
2491 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2492 * nss/nss_test1.c (init): Likewise.
2493 * nss/test-netdb.c (test_hosts): Likewise.
2494 * posix/execvpe.c (maybe_script_execute): Likewise.
2495 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2496 * stdio-common/tst-printf.c (do_test): Likewise.
2497 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2498 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2499 * stdlib/qsort.c (STACK_SIZE): Likewise.
2500 * stdlib/test-canon.c (do_test): Likewise.
2501 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2502 * string/memcmp.c (OPSIZ): Likewise.
2503 * string/test-strcpy.c (do_test): Likewise.
2504 (do_random_tests): Likewise.
2505 * string/test-strlen.c (do_test): Likewise.
2506 (test_main): Likewise.
2507 * string/test-strrchr.c (do_test): Likewise.
2508 (do_random_tests): Likewise.
2509 * string/tester.c (test_memrchr): Likewise.
2510 (test_memchr): Likewise.
2511 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2512 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2513 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2514 (read_encoded_value_with_base): Likewise.
2515 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2516 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2517 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2518 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2519 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2520 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2521 Likewise.
2522 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2523 Likewise.
2524 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2525 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2526 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2527 Likewise.
2528 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2529 Likewise.
2530 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2531 Likewise.
2532 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2533 Likewise.
2534 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2535 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2536 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2537 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2538 * time/test_time.c (main): Likewise.
2539
2540 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2541
2542 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2543
2544 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2545 wmemcpy.
2546
2547 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2548 wmemcpy.
2549
2550 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2551
2552 * include/wchar.h (__wcscpy): New prototype.
2553 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2554 (__wcscpy): Route internal symbol to generic implementation.
2555 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2556 Add internal __wcscpy alias.
2557 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2558 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2559 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2560 * wcsmbs/wcscpy.c (wcscpy): Add
2561 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2562 use generic implementation.
2563 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2564
2565 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2566 wmemset.
2567
2568 * sysdeps/m68k/wcpcpy.c: Remove file.
2569 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2570
2571 2019-02-26 Joseph Myers <joseph@codesourcery.com>
2572
2573 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2574 than after operators.
2575 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2576 * sysdeps/mach/hurd/getcwd.c
2577 (__hurd_canonicalize_directory_name_internal): Likewise.
2578 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2579 (pthread_mutex_consistent): Likewise.
2580 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2581 Likewise.
2582 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2583 (__pthread_mutex_transfer_np): Likewise.
2584 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2585 (__pthread_mutex_unlock): Likewise.
2586 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2587 (mtx_owned_p): Likewise.
2588 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2589 (pthread_mutexattr_getrobust): Likewise.
2590 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2591 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2592 Likewise.
2593 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2594 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2595 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2596 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2597 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2598 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2599 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2600 Likewise.
2601 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2602 Likewise.
2603 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2604 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2605 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2606 (____longjmp_chk): Likewise.
2607 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2608 Likewise.
2609 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2610 (INTERNAL_SYSCALL): Likewise.
2611 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2612 (INTERNAL_SYSCALL): Likewise.
2613 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2614 (__get_clockfreq_via_cpuinfo): Likewise.
2615
2616 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2617 comments.
2618 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2619 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2620 (WORD_COPY_BWD): Likewise.
2621 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2622 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2623 Likewise.
2624 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2625 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2626 comment.
2627 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2628
2629 2019-02-25 Joseph Myers <joseph@codesourcery.com>
2630
2631 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2632 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2633 rather than after operators.
2634 * elf/cache.c (print_cache): Likewise.
2635 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2636 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2637 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2638 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2639 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2640 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2641 (reauth_proc): Likewise.
2642 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2643 (__file_name_split_at): Likewise.
2644 (__directory_name_split_at): Likewise.
2645 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2646 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2647 * iconv/gconv_dl.c (do_print): Likewise.
2648 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2649 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2650 * locale/setlocale.c (new_composite_name): Likewise.
2651 * malloc/memusagestat.c (main): Likewise.
2652 * misc/fstab.c (fstab_convert): Likewise.
2653 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2654 Likewise.
2655 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2656 (getgrent_next_file): Likewise.
2657 (internal_getgrnam_r): Likewise.
2658 (internal_getgrgid_r): Likewise.
2659 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2660 Likewise.
2661 (internal_getgrent_r): Likewise.
2662 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2663 (getpwent_next_nss): Likewise.
2664 (getpwent_next_file): Likewise.
2665 (internal_getpwnam_r): Likewise.
2666 (internal_getpwuid_r): Likewise.
2667 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2668 Likewise.
2669 (getspent_next_nss): Likewise.
2670 (internal_getspnam_r): Likewise.
2671 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2672 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2673 * string/strchr.c (STRCHR): Likewise.
2674 * string/strchrnul.c (STRCHRNUL): Likewise.
2675 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2676 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2677 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2678 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2679 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2680 Likewise.
2681 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2682 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2683 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2684 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2685 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2686 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2687 (open_file): Likewise.
2688 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2689 (pthread_mutexattr_setprotocol): Likewise.
2690 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2691 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2692 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2693 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2694 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2695 Likewise.
2696 (elf_machine_rela): Likewise.
2697 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2698 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2699 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2700 * sysdeps/posix/rename.c (rename): Likewise.
2701 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2702 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2703 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2704 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2705 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2706 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2707 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2708 Likewise.
2709 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2710 Likewise.
2711 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2712 * time/tzfile.c (__tzfile_compute): Likewise.
2713
2714 2019-02-22 Joseph Myers <joseph@codesourcery.com>
2715
2716 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2717 rather than after operators.
2718 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2719 * crypt/md5.c (md5_finish_ctx): Likewise.
2720 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2721 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2722 * elf/cache.c (load_aux_cache): Likewise.
2723 * elf/dl-load.c (open_verify): Likewise.
2724 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2725 * elf/readelflib.c (process_elf_file): Likewise.
2726 * elf/rtld.c (dl_main): Likewise.
2727 * elf/sprof.c (generate_call_graph): Likewise.
2728 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2729 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2730 * hurd/dtable.c (reauth_dtable): Likewise.
2731 * hurd/getdport.c (__getdport): Likewise.
2732 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2733 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2734 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2735 Likewise.
2736 * hurd/hurdioctl.c (fioctl): Likewise.
2737 * hurd/hurdselect.c (_hurd_select): Likewise.
2738 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2739 (STOPSIGS): Likewise.
2740 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2741 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2742 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2743 * hurd/msgportdemux.c (msgport_server): Likewise.
2744 * hurd/setauth.c (_hurd_setauth): Likewise.
2745 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2746 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2747 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2748 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2749 * login/tst-utmp.c (do_check): Likewise.
2750 (simulate_login): Likewise.
2751 * mach/lowlevellock.h (lll_lock): Likewise.
2752 (lll_trylock): Likewise.
2753 * math/test-fenv.c (ALL_EXC): Likewise.
2754 * math/test-fenvinline.c (ALL_EXC): Likewise.
2755 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2756 * nis/nis_call.c (__do_niscall3): Likewise.
2757 * nis/nis_callback.c (cb_prog_1): Likewise.
2758 * nis/nis_defaults.c (searchaccess): Likewise.
2759 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2760 * nis/nis_ismember.c (internal_ismember): Likewise.
2761 * nis/nis_local_names.c (nis_local_principal): Likewise.
2762 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2763 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2764 Likewise.
2765 * nis/ypclnt.c (yp_match): Likewise.
2766 (yp_first): Likewise.
2767 (yp_next): Likewise.
2768 (yp_master): Likewise.
2769 (yp_order): Likewise.
2770 * nscd/hstcache.c (cache_addhst): Likewise.
2771 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2772 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2773 (internal_getpwuid_r): Likewise.
2774 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2775 * posix/glob.h (__GLOB_FLAGS): Likewise.
2776 * posix/regcomp.c (peek_token): Likewise.
2777 (peek_token_bracket): Likewise.
2778 (parse_expression): Likewise.
2779 * posix/regexec.c (sift_states_iter_mb): Likewise.
2780 (check_node_accept_bytes): Likewise.
2781 * posix/tst-spawn3.c (do_test): Likewise.
2782 * posix/wordexp-test.c (testit): Likewise.
2783 * posix/wordexp.c (parse_tilde): Likewise.
2784 (exec_comm): Likewise.
2785 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2786 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2787 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2788 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2789 * stdio-common/tst-fileno.c (do_test): Likewise.
2790 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2791 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2792 * stdlib/strtod_l.c (round_and_return): Likewise.
2793 (____STRTOF_INTERNAL): Likewise.
2794 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2795 * string/strcspn.c (STRCSPN): Likewise.
2796 * string/test-memmem.c (simple_memmem): Likewise.
2797 * termios/tcsetattr.c (tcsetattr): Likewise.
2798 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2799 * time/asctime.c (asctime_internal): Likewise.
2800 * time/strptime_l.c (__strptime_internal): Likewise.
2801 * time/sys/time.h (timercmp): Likewise.
2802 * time/tzfile.c (__tzfile_compute): Likewise.
2803
2804 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2805
2806 [BZ #21915]
2807 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
2808
2809 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2810
2811 * argp/argp-help.c (__argp_error_internal): New function,
2812 renamed from __argp_error, but that takes a 'mode_flags'
2813 parameter to control the format of long double parameters.
2814 (__argp_error): Converted into a call __argp_error_internal.
2815 (__argp_failure_internal): New function, renamed from
2816 __argp_failure, but that takes a 'mode_flags' parameter.
2817 (__argp_failure): Converted into a call __argp_failure_internal.
2818 * misc/err.c (__vwarnx_internal): New function, renamed from
2819 vwarnx, but that takes a 'mode_flags' parameter.
2820 (vwarnx): Converted into a call to __vwarnx_internal.
2821 (__vwarn_internal): New function, renamed from vwarn, but that
2822 takes a 'mode_flags' parameter.
2823 (vwarn): Converted into a call to __vwarn_internal.
2824 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2825 call to __vfxprintf with 'mode_flags'.
2826 (__error_internal): New function, renamed from error, but that
2827 takes a 'mode_flags' parameter.
2828 (error): Converted into a call to __error_internal.
2829 (__error_at_line_internal): New function, renamed from
2830 error_at_line, but that takes a 'mode_flags' parameter.
2831 (error_at_line): Converted into a call to
2832 __error_at_line_internal.
2833 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2834 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2835 Likewise.
2836
2837 2019-02-20 Martin Liska <mliska@suse.cz>
2838
2839 * math/Makefile: Install math-vector-fortran.h.
2840 * bits/math-vector-fortran.h: New file.
2841 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2842
2843 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2844
2845 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2846 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2847
2848 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2849
2850 * nptl/pthread_mutex_trylock.c: Fix comment.
2851
2852 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2853
2854 * nptl/pthread_tryjoin.c: Fix comment.
2855
2856 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2857
2858 [BZ #24231]
2859 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2860 after R_SPARC_H34 case.
2861
2862 2019-02-18 Florian Weimer <fweimer@redhat.com>
2863
2864 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2865 (getanswer): Do not call Dprintf.
2866 (res_gethostbyname2_context): Likewise.
2867 (res_gethostbyaddr_context): Likewise.
2868
2869 2019-02-18 Florian Weimer <fweimer@redhat.com>
2870
2871 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2872 declaration.
2873 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2874 Remove definitions.
2875 * libio/stdfiles.c: Update comment.
2876 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2877 set _IO_stdin, _IO_stdout, _IO_stderr.
2878 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2879 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2880 inline function.
2881 (_IO_deallocate_file): New inline function.
2882 * libio/iolibio.h (_IO_vprintf): Remove definition.
2883 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2884 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2885 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2886 _IO_legacy_file.
2887 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2888 __builtin_expect. Use _IO_legacy_file.
2889
2890 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2891
2892 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2893 Initialize ctid with a known value and remove update of ctid
2894 after clone.
2895 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2896 as assumed current value of ctid_ptr.
2897
2898 2019-02-16 Florian Weimer <fweimer@redhat.com>
2899
2900 Check that non-sysdeps headers have wrapper headers.
2901 * scripts/check-wrapper-headers.py: New file.
2902 * Makefile (tests-special): Add check-wrapper-headers.out.
2903 (check-wrapper-headers.out): New target.
2904 * Rules (tests-special): Add check-wrapper-headers.out.
2905 (check-wrapper-headers.out): New target.
2906
2907 2019-02-16 Florian Weimer <fweimer@redhat.com>
2908
2909 Add missing header wrappers under include/.
2910 * include/ar.h: New file.
2911 * include/bits/mqueue2.h: Likewise.
2912 * include/bits/stdio.h: Likewise.
2913 * include/bits/stdio2.h: Likewise.
2914 * include/fstab.h: Likewise.
2915 * include/fts.h: Likewise.
2916 * include/lastlog.h: Likewise.
2917 * include/netinet/icmp6.h: Likewise.
2918 * include/netinet/igmp.h: Likewise.
2919 * include/netinet/ip6.h: Likewise.
2920 * include/re_comp.h: Likewise.
2921 * include/regexp.h: Likewise.
2922 * include/rpcsvc/bootparam.h: Likewise.
2923 * include/rpcsvc/yp_prot.h: Likewise.
2924 * include/sys/random.h: Likewise.
2925 * include/sys/stropts.h: Likewise.
2926 * include/sys/ttychars.h: Likewise.
2927 * include/sys/vfs.h: Likewise.
2928 * include/wait.h: Likewise.
2929
2930 2019-02-16 Florian Weimer <fweimer@redhat.com>
2931
2932 * nptl_db/proc_service.h: Move to ...
2933 * sysdeps/nptl/proc_service.h: ... here.
2934 * nptl_db/thread_db.h: Move to ...
2935 * sysdeps/nptl/thread_db.h: ... here.
2936 * nptl/descr.h: Include <thread_db.h>.
2937
2938 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2939
2940 * io/Makefile (tests): Add tst-lockf.
2941 * io/lockf.c (lockf): Use __fcntl and only define for
2942 !__OFF_T_MATCHES_OFF64_T.
2943 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2944 __OFF_T_MATCHES_OFF64_T case.
2945 * io/tst-lockf.c: New file.
2946 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2947 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2948 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2949 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2950 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2952 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2953 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2954 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2955
2956 2019-02-15 Florian Weimer <fweimer@redhat.com>
2957
2958 [BZ #24211]
2959 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2960 pd->result after the thread descriptor has been freed.
2961
2962 2019-02-15 Joseph Myers <joseph@codesourcery.com>
2963
2964 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2965 from function return type.
2966
2967 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2968
2969 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2970
2971 * scripts/test_printers_common.py: Set TERM to a known harmless
2972 value.
2973
2974 2019-02-14 Joseph Myers <joseph@codesourcery.com>
2975
2976 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2977 (xdr_u_int): Likewise.
2978 (xdr_enum): Likewise.
2979 (xdr_bytes): Reword fall-through comment.
2980 (xdr_string): Likewise.
2981
2982 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2983
2984 [BZ #2421]
2985 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2986 (tests): Add tst-join8 tst-join9.
2987 * nptl/lll_timedwait_tid.c: Remove file.
2988 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2989 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2990 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2991 * nptl/pthread_join_common.c (timedwait_tid): New function.
2992 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2993 is set.
2994 * nptl/tst-join5.c (thread_join): New function.
2995 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2996 check.
2997 * nptl/tst-join8.c: New file.
2998 * nptl/tst-join9.c: Likewise.
2999 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3000 lll_futex_timed_wait_cancel): Add generic macros.
3001 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3002 Remove definitions.
3003 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3004 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3005 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3006 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3007 Remove function.
3008 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3009 Likewise.
3010 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3011 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3012 (lll_futex_timed_wait_cancel): New macro.
3013
3014 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3015
3016 * benchtests/Makefile: Add malloc-simple benchmark.
3017 * benchtests/bench-malloc-simple.c: New benchmark.
3018
3019 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3020
3021 * benchtests/bench-memmove.c (do_one_test): Remove unused
3022 ORIG_SRC.
3023 (do_test): Adjust.
3024 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3025 ORIG_SRC.
3026 (do_test): Adjust.
3027
3028 2019-01-13 Jim Wilson <jimw@sifive.com>
3029
3030 [BZ #24040]
3031 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3032 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3033 (func): New.
3034 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3035 call func directly.
3036 * nptl/Makefile (tests): Add tst-unwind-thread.
3037 (CFLAGS-tst-unwind-thread.c): Define.
3038 * nptl/tst-unwind-thread.c: New file.
3039 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3040 as undefined.
3041
3042 2019-02-13 Joseph Myers <joseph@codesourcery.com>
3043
3044 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3045 comment wording.
3046 * nis/nis_call.c (__do_niscall3): Likewise.
3047
3048 * catgets/gencat.c (normalize_line): Use braces around empty
3049 'else' body.
3050 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3051 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3052 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3053 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3054 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3055 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3056 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3057 definition.
3058
3059 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3060 execlp returns.
3061
3062 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3063
3064 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3065 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3066 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3067 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3068 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3069 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3070 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3071 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3072 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3073 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3074 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3075 * benchtests/bench-bcopy.c: Delete file.
3076 * benchtests/bench-bzero.c: Likewise.
3077 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3078 (simple_memccpy): Remove.
3079 (generic_memccpy): Add function.
3080 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3081 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3082 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3083 (generic_mempcpy): Add new function.
3084 * benchtests/bench-memset.c (simple_bzero): Remove.
3085 (builtin_bzero): Remove.
3086 (builtin_memset): Remove.
3087 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3088 (generic_rawmemchr): Add new function.
3089
3090 2019-02-12 Florian Weimer <fweimer@redhat.com>
3091
3092 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3093
3094 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3095
3096 [BZ #24122]
3097 * elf/Makefile (tests): Add tst-audit13.
3098 (modules-names): Add tst-audit13mod1.
3099 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3100 rule.
3101 * elf/tst-audit13.c: New file.
3102 * elf/tst-audit13mod1.c: Likewise.
3103
3104 2019-02-12 Florian Weimer <fweimer@redhat.com>
3105
3106 [BZ #24122]
3107 * elf/rtld.c (unload_audit_module): New function.
3108 (report_audit_module_load_error): Likewise.
3109 (load_audit_module): Likewise. Extracted from dl_main. Call
3110 _dl_close if the laversion symbol cannot be found. Use early
3111 returns for error handling. Add malloc error check. Check for a
3112 zero return value from la_version. Remove spurious comment about
3113 static TLS initialization. Remove useless casts.
3114 (notify_audit_modules_of_loaded_object): New function. Extracted
3115 from dl_main.
3116 (load_audit_module): Likewise.
3117 (dl_main): Call load_audit_modules.
3118
3119 2019-02-12 Joseph Myers <joseph@codesourcery.com>
3120
3121 * elf/dl-exception.c (_dl_exception_create_format): Add
3122 fall-through comments.
3123 * elf/ldconfig.c (parse_conf_include): Likewise.
3124 * elf/rtld.c (print_statistics): Likewise.
3125 * locale/programs/charmap.c (parse_charmap): Likewise.
3126 * misc/mntent_r.c (__getmntent_r): Likewise.
3127 * posix/wordexp.c (parse_arith): Likewise.
3128 (parse_backtick): Likewise.
3129 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3130 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3131 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3132
3133 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
3134
3135 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3136 Use float instead of double.
3137
3138 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3139
3140 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3141
3142 2019-02-08 Joseph Myers <joseph@codesourcery.com>
3143
3144 * sysdeps/powerpc/bits/mathinline.h: Remove.
3145
3146 2019-02-08 Florian Weimer <fweimer@redhat.com>
3147
3148 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3149 * math/bits/math-finite.h: Move to ...
3150 * bits/math-finite.h: ... here.
3151
3152 2019-02-08 Florian Weimer <fweimer@redhat.com>
3153
3154 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3155 * bits/unistd_ext.h: here.
3156
3157 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3158
3159 [BZ #21915]
3160 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3161 * nss/tst-nss-files-hosts-long.c: New file.
3162 * nss/tst-nss-files-hosts-long.root: New directory.
3163 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3164 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3165
3166 2019-02-08 Florian Weimer <fweimer@redhat.com>
3167
3168 * include/bits/unistd_ext.h: Remove file.
3169 * posix/bits/unistd_ext.h: Move to ...
3170 * sysdeps/generic/bits/unistd_ext.h: ... here.
3171
3172 2019-02-08 Florian Weimer <fweimer@redhat.com>
3173
3174 * include/bits/unistd_ext.h: New file.
3175
3176 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3177
3178 * time/tst-strftime2.c: Use array_length macros instead of magic
3179 numbers.
3180
3181 2019-02-08 Florian Weimer <fweimer@redhat.com>
3182
3183 [BZ #24161]
3184 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3185 argument.
3186 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3187 locking if the new do_locking argument is true.
3188 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3189 __run_fork_handlers.
3190
3191 2019-02-08 Florian Weimer <fweimer@redhat.com>
3192
3193 [BZ #6399]
3194 Linux: Add gettid system call wrapper.
3195 * posix/Makefile (headers): Add bits/unistd_ext.h.
3196 * posix/bits/unistd_ext.h: New file.
3197 * posix/unistd.h: Include it.
3198 * manual/process.texi (Process Identification): Document gettid.
3199 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3200 tst-gettid, tst-gettid-kill.
3201 (tst-gettid): Link with $(shared-thread-library).
3202 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3203 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3204 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3205 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3206 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3207 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3208 Add gettid.
3209 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3210 Likewise.
3211 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3212 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3213 Likewise.
3214 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3215 Likewise.
3216 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3217 Likewise.
3218 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3219 Likewise.
3220 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3221 Likewise.
3222 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3223 Likewise.
3224 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3225 Likewise.
3226 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3227 (GLIBC_2.30): Likewise.
3228 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3229 (GLIBC_2.30): Likewise.
3230 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3231 (GLIBC_2.30): Likewise.
3232 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3233 (GLIBC_2.30): Likewise.
3234 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3235 Likewise.
3236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3237 (GLIBC_2.30): Likewise.
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3239 (GLIBC_2.30): Likewise.
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3241 (GLIBC_2.30): Likewise.
3242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3243 (GLIBC_2.30): Likewise.
3244 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3245 Likewise.
3246 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3247 Likewise.
3248 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3249 Likewise.
3250 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3251 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3252 Likewise.
3253 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3254 Likewise.
3255 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3256 Likewise.
3257 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3258 Likewise.
3259 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3260
3261 2019-02-08 Florian Weimer <fweimer@redhat.com>
3262
3263 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3264 compatibility symbols.
3265
3266 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
3267
3268 [BZ #24180]
3269 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3270 Add compiler barriers and comments.
3271
3272 2019-02-07 Florian Weimer <fweimer@redhat.com>
3273
3274 * include/array_length.h (array_length): Do not use a statement
3275 expression and _Static_assert, so that array_length can be used at
3276 file scope and as a constant expression.
3277
3278 2019-02-07 Florian Weimer <fweimer@redhat.com>
3279
3280 * support/xdlfcn.h (xdlmopen): Declare.
3281 * support/xdlmopen.c: New file.
3282 * support/Makefile (libsupport-routines): Add xdlmopen.
3283
3284 2019-02-06 Joseph Myers <joseph@codesourcery.com>
3285
3286 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3287 before return type, without separate inline.
3288 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3289 * elf/dl-tunables.h (tunable_is_name): Likewise.
3290 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3291 (do_set_top_pad): Likewise.
3292 (do_set_mmap_threshold): Likewise.
3293 (do_set_mmaps_max): Likewise.
3294 (do_set_mallopt_check): Likewise.
3295 (do_set_perturb_byte): Likewise.
3296 (do_set_arena_test): Likewise.
3297 (do_set_arena_max): Likewise.
3298 (do_set_tcache_max): Likewise.
3299 (do_set_tcache_count): Likewise.
3300 (do_set_tcache_unsorted_limit): Likewise.
3301 * nis/nis_subr.c (count_dots): Likewise.
3302 * nptl/allocatestack.c (advise_stack_range): Likewise.
3303 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3304 (do_sin): Likewise.
3305 (reduce_sincos): Likewise.
3306 (do_sincos): Likewise.
3307 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3308 (do_set_elision_enable): Likewise.
3309 (TUNABLE_CALLBACK_FNDECL): Likewise.
3310
3311 2019-02-06 Florian Weimer <fweimer@redhat.com>
3312
3313 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3314 (xdlsym): Use dlerror to detect a NULL symbol.
3315
3316 2019-02-06 Florian Weimer <fweimer@redhat.com>
3317
3318 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3319 <stap-probe.h>.
3320 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3321
3322 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3323
3324 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3325
3326 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3327
3328 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3329 __wmemcmp and weak alias to wmemcmp.
3330
3331 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3332
3333 [BZ #23403]
3334 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3335 TLS_TCB_AT_TP tls variant.
3336 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3337 Add alignment checks.
3338 * support/Makefile (libsupport-routines): Add xposix_memalign and
3339 xpthread_setstack.
3340 * support/support.h: Add xposix_memalign.
3341 * support/xthread.h: Add xpthread_attr_setstack.
3342 * support/xposix_memalign.c: New File.
3343 * support/xpthread_attr_setstack.c: Likewise.
3344
3345 2019-02-05 Florian Weimer <fweimer@redhat.com>
3346
3347 [BZ #24164]
3348 arm: Use "nr" constraint for Systemtap probes, to avoid the
3349 compiler using memory operands for constants, due to the "o"
3350 alternative in the default "nor" constraint.
3351 * include/stap-probe.h [USE_STAP_PROBE]: Include
3352 <stap-probe-machine.h>
3353 * sysdeps/generic/stap-probe-machine.h: New file.
3354 * sysdeps/arm/stap-probe-machine.h: Likewise.
3355
3356 2019-02-04 Joseph Myers <joseph@codesourcery.com>
3357
3358 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3359 with 0, not tcache->entries[tc_idx].
3360
3361 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3362 once.
3363
3364 2019-02-04 Andreas Schwab <schwab@suse.de>
3365
3366 [BZ #16976]
3367 [BZ #17396]
3368 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3369 looking up collating elements match against (wide) character
3370 sequence instead of name. Correct alignment adjustment.
3371 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3372 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3373 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3374 (LOCALES): Add cs_CZ.ISO-8859-2.
3375 * posix/tst-fnmatch4.c: New file.
3376 * posix/tst-fnmatch5.c: New file.
3377 * include/wchar.h (__wmemcmp): Declare.
3378 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3379 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3380 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3381 * sysdeps/s390/wmemcmp.c: Likewise.
3382
3383 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3384
3385 [BZ #24155]
3386 CVE-2019-7309
3387 * NEWS: Updated for CVE-2019-7309.
3388 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3389 upper 32 bits of RDX register for x32. Use unsigned Jcc
3390 instructions, instead of signed.
3391 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3392 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3393
3394 2019-02-04 Florian Weimer <fweimer@redhat.com>
3395
3396 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3397 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3398 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3399 Likewise.
3400 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3401 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3402 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3403 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3404 Likewise.
3405 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3406 Likewise.
3407 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3408 Likewise.
3409 (posix_spawn_file_actions_addopen): Likewise.
3410 (posix_spawn_file_actions_addclose): Likewise.
3411 (posix_spawn_file_actions_adddup2): Likewise.
3412 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3413 qualifiers.
3414 (posix_spawn_file_actions_addfchdir_np): Likewise.
3415
3416 2019-02-04 David Newall <glibc@davidnewall.com>
3417
3418 elf: Implement --preload option for the dynamic linker.
3419 * elf/rtld.c (preloadarg): New variable.
3420 (handle_preload_list): Pass through “where” argument to
3421 do_preload.
3422 (dl_main): Handle "--preload" and add second call to
3423 handle_preload_list.
3424 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3425 (tst-rtld-preload-OBJS): Set variable.
3426 (tst-rtld-preload.out): New target.
3427 * elf/tst-rtld-preload.sh: New file.
3428
3429 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3430
3431 * Makefile (testrun.sh): Exit in case of incorrect argument.
3432
3433 2019-02-04 Florian Weimer <fweimer@redhat.com>
3434
3435 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3436 alignment gaps.
3437
3438 2019-02-03 Florian Weimer <fweimer@redhat.com>
3439
3440 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3441 implicit overflow checks.
3442
3443 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3444
3445 * stdlib/isomac.c: Include <unistd.h>.
3446
3447 2019-02-03 Florian Weimer <fweimer@redhat.com>
3448
3449 * include/time.h (__tzfile_default): Use int, not long int, for
3450 the GMT offsets.
3451 * time/tzfile.c (struct ttinfo): Change type of the offset member
3452 to int.
3453 (__tzfile_read): Remove useless cast.
3454 (__tzfile_default): Adjust prototype.
3455 * time/tzset.c (tz_rule): Change type of the offset member to int.
3456 (parse_offset): Change the type of the sign variable to int.
3457
3458 2019-02-03 Florian Weimer <fweimer@redhat.com>
3459
3460 [BZ #24153]
3461 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3462 * libio/getchar.c (getchar): Likewise.
3463 * libio/getchar_u.c (getchar_unlocked): Likewise.
3464 * libio/getwchar.c (getwchar): Likewise.
3465 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3466 * libio/iogets.c (_IO_gets): Likewise.
3467 * libio/vscanf.c (_IO_vscanf): Likewise.
3468 * libio/vwscanf.c (__vwscanf): Likewise.
3469 * libio/tst-bz24153.c: New file.
3470 * libio/Makefile (tests): Add it.
3471
3472 2019-02-02 Florian Weimer <fweimer@redhat.com>
3473
3474 [BZ #14829]
3475 * manual/resource.texi (Basic Scheduling Functions): Add
3476 portability note. Change process to task throughout the section.
3477 Remove incorrect comment about sched_yield as it affects
3478 tasks/threads, not entire processes.
3479 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3480 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3481
3482 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3483
3484 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3485 * configure: Regenerated.
3486 * manual/install.texi (Tools for Compilation): Update minimum GCC
3487 version.
3488 * INSTALL: Regenerated.
3489
3490 2019-02-01 Florian Weimer <fweimer@redhat.com>
3491
3492 * support/support_test_compare_string.c
3493 (support_test_compare_string): Use "string" in error message.
3494 * support/tst-test_compare_string.c (do_test): Adjust.
3495
3496 2019-02-01 Florian Weimer <fweimer@redhat.com>
3497
3498 * support/support_format_address_family.c
3499 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3500
3501 2019-02-01 Florian Weimer <fweimer@redhat.com>
3502
3503 * manual/socket.texi (Internet Address Formats): Clarify the byte
3504 order of struct sockaddr_in, struct sockaddr_in6. Document
3505 sin6_flowinfo and sin6_scope_id.
3506
3507 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3508
3509 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3510 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3511 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3512 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3513 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3514 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3515
3516 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3517
3518 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3519 [!MEMCHR](MEMCHR): Set to __memchr.
3520 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3521 Add memchr_generic and memchr_nosimd.
3522 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3523 (__libc_ifunc_impl_list): Add memchr ifuncs.
3524 * sysdeps/aarch64/multiarch/memchr.c: New file.
3525 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3526 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3527
3528 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3529
3530 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3531 Add memset_emag.
3532 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3533 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3534 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3535 Add IS_EMAG check for ifunc dispatch.
3536 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3537 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3538
3539 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3540
3541 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3542 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3543 Add emag.
3544 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3545 New macro.
3546
3547 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
3548
3549 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3550
3551 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
3552
3553 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3554 syscall-template file.
3555
3556 2019-01-31 Carlos O'Donell <carlos@redhat.com>
3557 Torvald Riegel <triegel@redhat.com>
3558 Rik Prohaska <prohaska7@gmail.com>
3559
3560 [BZ# 23844]
3561 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3562 tst-rwlock-trywrlock-stall.
3563 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3564 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3565 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3566 Set __wrphase_fute to 1 only if we started the write phase.
3567 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3568 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3569 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3570 * support/xpthread_rwlock_destroy.c: New file.
3571 * support/xthread.h: Declare xpthread_rwlock_destroy.
3572
3573 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3574
3575 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3576 version to 4.0.2.
3577
3578 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3579
3580 [BZ #24051]
3581 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3582 * libio/fileops.c (_IO_new_file_underflow): Likewise
3583 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3584 * libio/putchar.c (putchar): Likewise.
3585 * libio/putchar_u.c (putchar_unlocked): Likewise.
3586 * libio/putwchar.c (putchar): Likewise.
3587 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3588 * libio/tst-bz24051.c: New test.
3589 * libio/Makefile (tests): Add tst-bz24051
3590
3591 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3592
3593 CVE-2019-9169
3594 regex: fix read overrun [BZ #24114]
3595 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3596 https://debbugs.gnu.org/34140
3597 * posix/regexec.c (proceed_next_node):
3598 Do not read past end of input buffer.
3599
3600 2019-01-31 Florian Weimer <fweimer@redhat.com>
3601
3602 [BZ #24059]
3603 * nss/nss_files/files-alias.c (get_next_alias): Handle
3604 continuation line without newline at the end.
3605 * nss/tst-nss-files-alias-truncated.c: New file.
3606 * nss/Makefile [$(build-shared)] (tests): Add
3607 tst-nss-files-alias-truncated.
3608 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3609 * support/namespace.h (struct support_chroot_configuration): Add
3610 aliases member.
3611 (struct support_chroot): Add path_aliases member.
3612 * support/support_chroot.c (support_chroot_create): Handle
3613 aliases.
3614 (support_chroot_free): Free path_aliases.
3615
3616 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3617
3618 * version.h (RELEASE): Set to "development".
3619 (VERSION): Set to "2.29.9000".
3620 * NEWS: Add section for 2.30.
3621
3622 * version.h (RELEASE): Set to "stable".
3623 (VERSION): Set to "2.29".
3624 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3625
3626 * NEWS: Add the list of bugs fixed in 2.29.
3627 * manual/contrib.texi: Update contributors list with some more
3628 names.
3629 * manual/install.texi: Update latest versions of packages
3630 tested.
3631 * INSTALL: Regenerated.
3632
3633 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3634
3635 * po/be.po: Update translations.
3636 * po/bg.po: Likewise.
3637 * po/ca.po: Likewise.
3638 * po/cs.po: Likewise.
3639 * po/da.po: Likewise.
3640 * po/de.po: Likewise.
3641 * po/el.po: Likewise.
3642 * po/eo.po: Likewise.
3643 * po/es.po: Likewise.
3644 * po/fi.po: Likewise.
3645 * po/fr.po: Likewise.
3646 * po/gl.po: Likewise.
3647 * po/hr.po: Likewise.
3648 * po/hu.po: Likewise.
3649 * po/ia.po: Likewise.
3650 * po/id.po: Likewise.
3651 * po/it.po: Likewise.
3652 * po/ja.po: Likewise.
3653 * po/ko.po: Likewise.
3654 * po/lt.po: Likewise.
3655 * po/nb.po: Likewise.
3656 * po/nl.po: Likewise.
3657 * po/pl.po: Likewise.
3658 * po/pt_BR.po: Likewise.
3659 * po/ru.po: Likewise.
3660 * po/rw.po: Likewise.
3661 * po/sk.po: Likewise.
3662 * po/sl.po: Likewise.
3663 * po/sv.po: Likewise.
3664 * po/tr.po: Likewise.
3665 * po/uk.po: Likewise.
3666 * po/vi.po: Likewise.
3667 * po/zh_CN.po: Likewise.
3668 * po/zh_TW.po: Likewise.
3669
3670 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3671
3672 [BZ #24130]
3673 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3674 of $f3 register on $y_is_neg path.
3675
3676 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3677
3678 [BZ #24110]
3679 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3680 sigaltstack.ss_flags.
3681
3682 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3683
3684 [BZ #23758]
3685 * manual/time.texi (strftime): Document "%Ey".
3686 * time/strftime_l.c (__strftime_internal): Set the default width
3687 padding with zero of "%Ey" to 2.
3688
3689 [BZ #24096]
3690 * manual/time.texi (strftime): Document "%EC" and "%EY".
3691 * time/Makefile (tests): Add tst-strftime2.
3692 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3693 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3694 override padding for "%Ey".
3695 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3696 "%Ey" in the subformat as if decorated with that flag.
3697 * time/tst-strftime2.c: New file.
3698
3699 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3700
3701 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3702 are not defined.
3703
3704 [BZ #24122]
3705 * elf/Makefile (tests): Add tst-audit13.
3706 (modules-names): Add tst-audit13mod1.
3707 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3708 rule.
3709 * elf/rtld.c (dl_main): Handle invalid audit module version.
3710 * elf/tst-audit13.c: New file.
3711 * elf/tst-audit13mod1.c: Likewise.
3712
3713 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3714
3715 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3716 returned by __hurd_at_flags.
3717 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3718 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3719 directly instead of __hurd_file_name_lookup.
3720
3721 2019-01-21 Joseph Myers <joseph@codesourcery.com>
3722
3723 * scripts/build-many-glibcs.py (Context.checkout): Default
3724 binutils version to 2.32 branch.
3725
3726 2019-01-21 Florian Weimer <fweimer@redhat.com>
3727
3728 [BZ #20018]
3729 CVE-2016-10739
3730 resolv: Reject trailing characters in host names
3731 * include/arpa/inet.h (__inet_aton_exact): Declare.
3732 (inet_aton): Remove hidden prototype. No longer used internally.
3733 * nscd/gai.c (__inet_aton): Do not define.
3734 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3735 * nss/digits_dots.c (__inet_aton): Likewise.
3736 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3737 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3738 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3739 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3740 (tst-resolv-trailing): Likewise.
3741 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3742 libc.
3743 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3744 Make static. Add endp parameter.
3745 (__inet_aton_exact): New function.
3746 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3747 (__inet_addr): Call inet_aton_end.
3748 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3749 not just IPv6. Call __inet_aton_exact.
3750 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3751 (tests): Make const. Add additional test cases with trailing
3752 characters.
3753 (do_test): Use array_length.
3754 * resolv/tst-inet_aton_exact.c: New file.
3755 * resolv/tst-resolv-trailing.c: Likewise.
3756 * resolv/tst-resolv-nondecimal.c: Likewise.
3757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3758
3759 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3760
3761 [BZ# 24097]
3762 CVE-2019-6488
3763 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3764 Clear the upper 32 bits of RSI register.
3765 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3766 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3767 and tst-size_t-wcsnlen.
3768 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3769 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3770
3771 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3772
3773 [BZ# 24097]
3774 CVE-2019-6488
3775 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3776 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3777 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3778 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3779 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3780
3781 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3782
3783 [BZ# 24097]
3784 CVE-2019-6488
3785 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3786 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3787 * sysdeps/x86_64/strcmp.S: Likewise.
3788 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3789 tst-size_t-strncmp and tst-size_t-wcsncmp.
3790 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3791 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3792 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3793
3794 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3795
3796 [BZ# 24097]
3797 CVE-2019-6488
3798 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3799 RDX_LP for length. Clear the upper 32 bits of RDX register.
3800 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3801 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3802 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3803 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3804
3805 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3806
3807 [BZ# 24097]
3808 CVE-2019-6488
3809 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3810 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3811 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3812 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3813
3814 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3815
3816 [BZ# 24097]
3817 CVE-2019-6488
3818 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3819 length. Clear the upper 32 bits of RDX register.
3820 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3821 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3822 Likewise.
3823 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3824 Likewise.
3825 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3826 tst-size_t-wmemchr.
3827 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3828
3829 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3830
3831 [BZ# 24097]
3832 CVE-2019-6488
3833 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3834 length. Clear the upper 32 bits of RDX register.
3835 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3836 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3837 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3838 tst-size_t-wmemcmp.
3839 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3840 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3841
3842 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3843
3844 [BZ# 24097]
3845 CVE-2019-6488
3846 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3847 upper 32 bits of RDX register.
3848 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3849 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3850 tst-size_t-wmemchr.
3851 * sysdeps/x86_64/x32/test-size_t.h: New file.
3852 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3853 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3854
3855 2019-01-18 Florian Weimer <fweimer@redhat.com>
3856
3857 [BZ #24112]
3858 resolv: Do not send queries for non-host-names in nss_dns.
3859 * resolv/nss_dns/dns-host.c (check_name): New function.
3860 (_nss_dns_gethostbyname2_r): Use it.
3861 (_nss_dns_gethostbyname_r): Likewise.
3862 (_nss_dns_gethostbyname4_r): Likewise.
3863
3864 2019-01-21 Florian Weimer <fweimer@redhat.com>
3865
3866 * resolv/inet_addr.c: Reformat to GNU style.
3867 (__inet_addr, __inet_aton): Update comment.
3868
3869 2019-01-18 Florian Weimer <fweimer@redhat.com>
3870
3871 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3872 ("malloc: Use current (C11-style) atomics for fastbin access").
3873 This commit introduces a substantial performance regression on
3874 POWER and Aarch64.
3875 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3876 (REMOVE_FB): Define.
3877 (_int_malloc): Use it and reindent.
3878 (_int_free): Use CAS loop with
3879 catomic_compare_and_exchange_val_rel.
3880 (malloc_consolidate): Use atomic_exchange_acq.
3881
3882
3883 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3884
3885 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3886 -Wl,-z,now.
3887 (LDFLAGS-tst-minsigstksz-2): Likewise.
3888 (LDFLAGS-tst-minsigstksz-3): Likewise.
3889 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3890 (LDFLAGS-tst-minsigstksz-4): Likewise.
3891
3892 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3893
3894 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3895 than "alternate".
3896
3897 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3898
3899 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3900
3901 2019-01-16 Zack Weinberg <zackw@panix.com>
3902
3903 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3904 (xget_sigstack_location): New test support functions.
3905 * support/xsigstack.c: New file, implementing them.
3906 * support/tst-xsigstack.c: New test for them.
3907 * support/Makefile: Update.
3908
3909 * signal/tst-minsigstksz-1.c
3910 * signal/tst-minsigstksz-2.c
3911 * signal/tst-minsigstksz-3.c
3912 * signal/tst-minsigstksz-3a.c
3913 * signal/tst-minsigstksz-4.c: New tests.
3914 * signal/Makefile: Run them.
3915
3916 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3917
3918 * po/libc.pot: Regenerate.
3919
3920 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3921
3922 * math/libm-test-fma.inc (fma_test_data): Set
3923 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3924
3925 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3926
3927 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3928 (do_test): Changed __vector __int128_t to __vector unsigned int.
3929
3930 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3931
3932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3933 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3934 stpcpy-avx2 and stpncpy-avx2.
3935 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3936 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3937 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3938 and __stpncpy_avx2.
3939 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3940 ifunc-strcpy.h}: rename header for a more generic name.
3941 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3942 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3943 AVX unaligned load is fast and vzeroupper is preferred.
3944 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3945 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3946 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3947 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3948 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3949 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3950
3951 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3952
3953 * argp/argp-help.c: Fix typo in comment.
3954 * misc/sys/cdefs.h: Likewise.
3955 * posix/regexec.c (sift_states_iter_mb): Likewise.
3956 * socket/sockatmark.c: Likewise.
3957 * socket/sys/socket.h: Likewise.
3958 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3959 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3960 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3961 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3962 * sysdeps/unix/sockatmark.c: Likewise.
3963 * time/strptime_l.c: Likewise.
3964
3965 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3966
3967 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3968 missing space after the cast of "_NL_CURRENT".
3969
3970 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3971
3972 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3973 ifdef to fix read of VSCR.
3974 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3975 tst-ucontext-ppc64-vscr.c to test list.
3976 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3977
3978 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3979
3980 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3981 fall-through.
3982
3983 2019-01-09 Jim Wilson <jimw@sifive.com>
3984
3985 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3986
3987 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3988
3989 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3990 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3991 __memcpy_falkor for ares.
3992 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3993 Add new define.
3994 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3995 Add ares cpu.
3996
3997 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3998
3999 [BZ #24066]
4000 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4001 4_FP_W_TYPEs are used for IEEE quad precision.
4002 * soft-fp/extendhftf2.c: Likewise.
4003 * soft-fp/extendsftf2.c: Likewise.
4004 * soft-fp/extendxftf2.c: Likewise.
4005 * soft-fp/trunctfdf2.c: Likewise.
4006 * soft-fp/trunctfhf2.c: Likewise.
4007 * soft-fp/trunctfsf2.c: Likewise.
4008 * soft-fp/trunctfxf2.c: Likewise.
4009 * sysdeps/alpha/ots_cvttx.c: Likewise.
4010 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4011 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4012 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4013 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4014 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4015 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4016 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4017 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4018 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4019 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4020 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4021 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4022 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4023 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4024 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4025 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4026 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4027
4028 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4029
4030 [BZ #24024]
4031 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4032 code with -fmath-errno.
4033 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4034 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4035 * string/test-strerror-errno.c: New file.
4036
4037 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4038
4039 [BZ #24046]
4040 * localedata/locales/en_US (date_fmt): Add, set to
4041 "%a %d %b %Y %r %Z".
4042
4043 2019-01-07 Florian Weimer <fweimer@redhat.com>
4044
4045 [BZ #24063]
4046 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4047 instead of @var{errno}.
4048 (Parsing of Integers): Likewise.
4049 (Parsing of Floats): Likewise.
4050 * manual/filesys.texi (Working with Directory Trees): Likewise.
4051 (Temporary Files): Likewise.
4052 * manual/job.texi (Terminal Access Functions): Likewise.
4053 * manual/llio.texi (Synchronizing I/O): Likewise.
4054 * manual/math.texi (SVID Random): Likewise.
4055 * manual/message.texi (The catgets Functions): Likewise.
4056 (Translation with gettext): Likewise.
4057 (Locating gettext catalog): Likewise.
4058 (Charset conversion in gettext): Likewise.
4059 * manual/nss.texi (NSS Module Function Internals): Likewise.
4060 * manual/search.texi (Hash Search Function): Likewise.
4061 * manual/setjmp.texi (System V contexts): Likewise.
4062 * manual/time.texi (Sleeping): Likewise.
4063 * manual/users.texi (Lookup User): Likewise.
4064 (Lookup Group): Likewise.
4065
4066 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4067
4068 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4069 fix typo.
4070
4071 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
4072
4073 [BZ #19444]
4074 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4075 __builtin_unreachable for default case in switch.
4076 (__ieee754_yn): Likewise.
4077 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4078 (__ieee754_ynl): Likewise.
4079 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4080 (__ieee754_ynl): Likewise.
4081 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4082 (__ieee754_ynl): Likewise.
4083
4084 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4085
4086 * manual/maint.texi: Use @{ and @}.
4087
4088 2019-01-04 Florian Weimer <fweimer@redhat.com>
4089
4090 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4091 function.
4092 (do_in_chroot_1): Call it.
4093 (run_chroot_tests):
4094 Improve error reporting in case it is not possible to create a
4095 collision for the PTY name required by the test.
4096
4097 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4098
4099 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4100 lll_wait_tid with timeout.
4101 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4102 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4103 futex_reltimed_wait_cancelable for cancelabla mode.
4104 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4105 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4106 macros.
4107 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4108 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4109 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4110 SYSCALL_CANCEL_NCS): New macro.
4111 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4112 (lll_timedwait_tid): Remove macro.
4113 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4114 Likewise.
4115 (lll_timedwait_tid): Likewise.
4116 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4117 Likewise.
4118 (lll_timedwait_tid): Likewise.
4119 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4120 Likewise.
4121 (lll_timedwait_tid): Likewise.
4122 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4123 Use INTERNAL_SYSCALL_CANCEL.
4124 * sysdeps/unix/sysv/linux/futex-internal.h
4125 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4126 instead of __pthread_{enable,disable}_asynccancel.
4127 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4128 (lll_futex_wait_cancel): New macro.
4129
4130 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4131 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4132
4133 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4134 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4135
4136 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4137 in backtrace analysis.
4138 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4139 side-effects.
4140 (tf_send): Likewise.
4141
4142 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4143 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4144 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4145 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4146 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4147 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4148 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4149 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4150 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4151 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4152 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4153 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4154 Likewise.
4155 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4156 tst-cancel-wrappers.sh.
4157 (generated): Remove tst-cancel-wrappers.out.
4158 (tst-cancel-wrappers.out): Remove rule.
4159 * nptl/tst-cancel-wrappers.sh: Remove file.
4160
4161 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4162
4163 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4164 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4165 Update.
4166
4167 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4168
4169 [BZ #23640]
4170 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4171 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4172 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4173 close-on-exec reset for adddup2 file action.
4174 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4175
4176 2019-01-03 Zack Weinberg <zackw@panix.com>
4177
4178 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4179 parameter. Only use deprecated scanf when __USE_GNU is defined
4180 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4181 than 201103L, whichever is relevant for the language being compiled.
4182
4183 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4184 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4185 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4186 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4187 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4188
4189 * libio/iovsscanf.c
4190 * libio/fwscanf.c
4191 * libio/iovswscanf.c
4192 * libio/swscanf.c
4193 * libio/vscanf.c
4194 * libio/vwscanf.c
4195 * libio/wscanf.c
4196 * stdio-common/fscanf.c
4197 * stdio-common/scanf.c
4198 * stdio-common/vfscanf.c
4199 * stdio-common/vfwscanf.c
4200 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4201 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4202 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4203 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4204 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4205 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4206 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4207 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4208 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4209 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4210 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4211 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4212 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4213 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4214 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4215
4216 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4217 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4218 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4219 not sscanf.
4220 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4221 with a preprocessor macro.
4222
4223 * stdio-common/bug21.c, stdio-common/scanf14.c:
4224 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4225 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4226 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4227 to xscanf, xfscanf, xsscanf.
4228
4229 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4230 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4231 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4232 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4233 xfscanf, xsscanf.
4234 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4235 override feature selection macros or provide definitions of u_char etc.
4236 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4237 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4238 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4239 with -std=gnu89.
4240
4241 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4242
4243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4244 bits/termios-misc.h.
4245 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4246 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4247 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4248 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4249 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4250 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4251
4252 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4253 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4254 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4255 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4256 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4257 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4258 termios-misc.h.
4259 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4260 (sysdep_headers): Add termios-misc.h.
4261
4262 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4263 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4264 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4265
4266 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4267 termios-tcflow.h.
4268 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4269 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4270 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4271 TCSAFLUSH): Move to termios-tcflow.h.
4272 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4273 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4274 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4275 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4276
4277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4278 termios-c_lflag.h.
4279 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4280 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4281 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4282 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4283 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4284 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4285 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4286 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4287 Likewise.
4288 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4289 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4290 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4291 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4292
4293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4294 termios-c_cflag.h.
4295 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4296 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4297 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4298 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4299 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4300 termios-c_cflag.h.
4301 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4302 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4303 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4304 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4305
4306 [BZ #23783]
4307 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4308 termios-baud.h.
4309 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4310 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4311 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4312 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4313 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4314 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4315 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4316 __MAX_BAUD): Move to termios-baud.h.
4317 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4318 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4319 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4320 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4321 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4322
4323 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4324 termios-c_oflag.h.
4325 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4326 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4327 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4328 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4329 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4330 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4331 termios-c_oflag.h.
4332 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4333 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4334 FFR1): Likewise.
4335 [USE_MISC] (XTABS): Likewise.
4336 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4337 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4338 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4339 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4340
4341 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4342 termios-c_iflag.h.
4343 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4344 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4345 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4346 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4347 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4348 IUTF8): Move to termios-c_iflag.h.
4349 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4350 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4351 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4352 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4353
4354 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4355 termios-cc.h.
4356 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4357 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4358 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4359 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4360 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4361 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4362 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4363 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4364 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4365 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4366 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4367 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4368
4369 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4370 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4371 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4372 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4374 termios-struct.h.
4375 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4376 termios-struct.h.
4377 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4378 Likewise.
4379 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4380 Likewise.
4381 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4382 Likewise.
4383 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4384 Likewise.
4385 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4386 _HAVE_C_OSPEED): Define.
4387 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4388 _HAVE_C_OSPEED): Likewise.
4389 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4390 _HAVE_C_OSPEED): Likewise.
4391 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4392 (cfsetospeed): Check for define value instead of existence.
4393 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4394 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4395 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4396 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4397 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4398
4399 [BZ #17783]
4400 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4401 Define.
4402 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4403 (TIOCSER_TEMT): Likewise.
4404 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4405 (TEOCSER_TEMT): Likewise.
4406
4407 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
4408
4409 [BZ #24011]
4410 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4411
4412 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4413
4414 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4415
4416 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4417
4418 * sysdeps/htl/pt-barrierattr-setpshared.c
4419 (pthread_barrierattr_setpshared): Add stub warning.
4420 * sysdeps/htl/pt-condattr-setpshared.c
4421 (pthread_condattr_setpshared): Likewise.
4422 * sysdeps/htl/pt-mutexattr-setpshared.c
4423 (pthread_mutexattr_setpshared): Likewise.
4424 * sysdeps/htl/pt-rwlockattr-setpshared.c
4425 (pthread_rwlockattr_setpshared): Likewise.
4426 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4427 (pthread_mutexattr_setpshared): Likewise.
4428
4429 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4430
4431 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4432 constants to match with Linux 4.20.
4433
4434 * sysdeps/mips/mips32/libm-test-ulps: Update.
4435 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4436
4437 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4438
4439 [BZ #24034]
4440 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4441 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4442 than __typeof (...) for the a_ptr variable.
4443
4444 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4445
4446 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4447 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4448 * libio/Makefile (tests): Add tst-sprintf-ub and
4449 tst-sprintf-chk-ub.
4450 (CFLAGS-tst-sprintf-ub.c): New variable.
4451 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4452 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4453 destination buffer and check for overflows in fortified mode.
4454 * libio/libioP.h (PRINTF_CHK): New macro.
4455 * libio/tst-sprintf-chk-ub.c: New file.
4456 * libio/tst-sprintf-ub.c: Likewise.
4457
4458 2019-01-02 Florian Weimer <fweimer@redhat.com>
4459
4460 [BZ #24018]
4461 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4462 failure.
4463
4464 2019-01-02 Florian Weimer <fweimer@redhat.com>
4465
4466 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4467
4468 2019-01-01 Joseph Myers <joseph@codesourcery.com>
4469
4470 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4471 macro.
4472
4473 * sysdeps/unix/sysv/linux/netpacket/packet.h
4474 (PACKET_IGNORE_OUTGOING): New macro.
4475
4476 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4477 macro.
4478
4479 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4480 version to 4.20.
4481 (riscv_flush_icache): New syscall.
4482
4483 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4484 trailing whitespace removed.
4485 * scripts/config.guess: Update to version 2019-01-01.
4486 * scripts/config.sub: Update to version 2019-01-01.
4487 * scripts/move-if-change: Update from gnulib.
4488
4489 * NEWS: Update copyright dates.
4490 * catgets/gencat.c (print_version): Likewise.
4491 * csu/version.c (banner): Likewise.
4492 * debug/catchsegv.sh: Likewise.
4493 * debug/pcprofiledump.c (print_version): Likewise.
4494 * debug/xtrace.sh (do_version): Likewise.
4495 * elf/ldconfig.c (print_version): Likewise.
4496 * elf/ldd.bash.in: Likewise.
4497 * elf/pldd.c (print_version): Likewise.
4498 * elf/sotruss.sh: Likewise.
4499 * elf/sprof.c (print_version): Likewise.
4500 * iconv/iconv_prog.c (print_version): Likewise.
4501 * iconv/iconvconfig.c (print_version): Likewise.
4502 * locale/programs/locale.c (print_version): Likewise.
4503 * locale/programs/localedef.c (print_version): Likewise.
4504 * login/programs/pt_chown.c (print_version): Likewise.
4505 * malloc/memusage.sh (do_version): Likewise.
4506 * malloc/memusagestat.c (print_version): Likewise.
4507 * malloc/mtrace.pl: Likewise.
4508 * manual/libc.texinfo: Likewise.
4509 * nptl/version.c (banner): Likewise.
4510 * nscd/nscd.c (print_version): Likewise.
4511 * nss/getent.c (print_version): Likewise.
4512 * nss/makedb.c (print_version): Likewise.
4513 * posix/getconf.c (main): Likewise.
4514 * scripts/test-installation.pl: Likewise.
4515 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4516
4517 * All files with FSF copyright notices: Update copyright dates
4518 using scripts/update-copyrights.
4519 * locale/programs/charmap-kw.h: Regenerated.
4520 * locale/programs/locfile-kw.h: Likewise.
4521
4522 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4523
4524 * timezone/zdump.c: Update from tzcode 2018i.
4525 * timezone/zic.c: Likewise.
4526
4527 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4528
4529 regex: improve Gnulib port to AIX
4530 From the glibc point of view, this removes duplicate macro
4531 definitions and is obviously safe.
4532 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4533 * posix/regex_internal.h:
4534 (__attribute__, __attribute_warn_unused_result__):
4535 Remove; already defined elsewhere.
4536
4537 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
4538
4539 [BZ #24027]
4540 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4541 copying operation. (ncopies had the wrong type, resulting in an
4542 integer wraparound and too few elements being copied.)
4543
4544 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4545
4546 [BZ #24022]
4547 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4548 <asm/syscalls.h> exists with __has_include__ before including it.
4549
4550 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4551
4552 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4553 version to 4.20.
4554
4555 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
4556
4557 * hurd/lookup-retry: Include <unistd.h>.
4558 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4559 Release it on return. Handle "pid" magical lookup retry.
4560
4561 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4562
4563 [BZ #10496]
4564 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4565 (t_fmt_ampm): Likewise.
4566 * localedata/locales/aa_ER (t_fmt): Likewise.
4567 (t_fmt_ampm): Likewise.
4568 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4569 (t_fmt_ampm): Likewise.
4570 * localedata/locales/aa_ET (t_fmt): Likewise.
4571 (t_fmt_ampm): Likewise.
4572 * localedata/locales/am_ET (t_fmt): Likewise.
4573 (t_fmt_ampm): Likewise.
4574 * localedata/locales/byn_ER (t_fmt): Likewise.
4575 (t_fmt_ampm): Likewise.
4576 * localedata/locales/om_ET (t_fmt): Likewise.
4577 (t_fmt_ampm): Likewise.
4578 * localedata/locales/sid_ET (t_fmt): Likewise.
4579 (t_fmt_ampm): Likewise.
4580 * localedata/locales/so_DJ (t_fmt): Likewise.
4581 (t_fmt_ampm): Likewise.
4582 * localedata/locales/so_ET (t_fmt): Likewise.
4583 (t_fmt_ampm): Likewise.
4584 * localedata/locales/so_SO (t_fmt): Likewise.
4585 (t_fmt_ampm): Likewise.
4586 * localedata/locales/ti_ER (t_fmt): Likewise.
4587 (t_fmt_ampm): Likewise.
4588 * localedata/locales/ti_ET (t_fmt): Likewise.
4589 (t_fmt_ampm): Likewise.
4590 * localedata/locales/tig_ER (t_fmt): Likewise.
4591 (t_fmt_ampm): Likewise.
4592 * localedata/locales/wal_ET (t_fmt): Likewise.
4593 (t_fmt_ampm): Likewise.
4594
4595 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4596 * localedata/locales/ar_IN (t_fmt): Likewise.
4597 * localedata/locales/bhb_IN (t_fmt): Likewise.
4598 * localedata/locales/bho_IN (t_fmt): Likewise.
4599 * localedata/locales/bi_VU (t_fmt): Likewise.
4600 * localedata/locales/bn_BD (t_fmt): Likewise.
4601 * localedata/locales/bn_IN (t_fmt): Likewise.
4602 * localedata/locales/brx_IN (t_fmt): Likewise.
4603 * localedata/locales/doi_IN (t_fmt): Likewise.
4604 * localedata/locales/en_HK (t_fmt): Likewise.
4605 (t_fmt_ampm): Likewise.
4606 * localedata/locales/en_IN (t_fmt): Likewise.
4607 * localedata/locales/en_PH (t_fmt): Likewise.
4608 * localedata/locales/gu_IN (t_fmt): Likewise.
4609 * localedata/locales/hi_IN (t_fmt): Likewise.
4610 * localedata/locales/hif_FJ (t_fmt): Likewise.
4611 * localedata/locales/hne_IN (t_fmt): Likewise.
4612 * localedata/locales/kn_IN (t_fmt): Likewise.
4613 * localedata/locales/kok_IN (t_fmt): Likewise.
4614 * localedata/locales/ks_IN (t_fmt): Likewise.
4615 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4616 * localedata/locales/mag_IN (t_fmt): Likewise.
4617 * localedata/locales/mai_IN (t_fmt): Likewise.
4618 * localedata/locales/mjw_IN (t_fmt): Likewise.
4619 * localedata/locales/ml_IN (t_fmt): Likewise.
4620 * localedata/locales/mni_IN (t_fmt): Likewise.
4621 * localedata/locales/mr_IN (t_fmt): Likewise.
4622 * localedata/locales/ms_MY (t_fmt): Likewise.
4623 * localedata/locales/pa_IN (t_fmt): Likewise.
4624 * localedata/locales/raj_IN (t_fmt): Likewise.
4625 * localedata/locales/sa_IN (t_fmt): Likewise.
4626 * localedata/locales/sat_IN (t_fmt): Likewise.
4627 * localedata/locales/sd_IN (t_fmt): Likewise.
4628 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4629 * localedata/locales/tcy_IN (t_fmt): Likewise.
4630 * localedata/locales/the_NP (t_fmt): Likewise.
4631 * localedata/locales/to_TO (t_fmt): Likewise.
4632 * localedata/locales/ur_IN (t_fmt): Likewise.
4633
4634 * localedata/locales/hif_FJ (d_t_fmt): Set to
4635 "%A %d %b %Y %I:%M:%S %p".
4636 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4637
4638 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4639 * localedata/locales/ar_BH (t_fmt): Likewise.
4640 * localedata/locales/ar_DZ (t_fmt): Likewise.
4641 * localedata/locales/ar_EG (t_fmt): Likewise.
4642 * localedata/locales/ar_IQ (t_fmt): Likewise.
4643 * localedata/locales/ar_JO (t_fmt): Likewise.
4644 * localedata/locales/ar_KW (t_fmt): Likewise.
4645 * localedata/locales/ar_LB (t_fmt): Likewise.
4646 * localedata/locales/ar_LY (t_fmt): Likewise.
4647 * localedata/locales/ar_OM (t_fmt): Likewise.
4648 * localedata/locales/ar_QA (t_fmt): Likewise.
4649 * localedata/locales/ar_SD (t_fmt): Likewise.
4650 * localedata/locales/ar_SS (t_fmt): Likewise.
4651 * localedata/locales/ar_SY (t_fmt): Likewise.
4652 * localedata/locales/ar_TN (t_fmt): Likewise.
4653 * localedata/locales/ar_YE (t_fmt): Likewise.
4654
4655 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4656 (t_fmt_ampm): Likewise.
4657 * localedata/locales/gez_ET (t_fmt): Likewise.
4658 (t_fmt_ampm): Likewise.
4659
4660 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4661 (t_fmt_ampm): Likewise.
4662 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4663
4664 * localedata/locales/zh_HK (t_fmt):
4665 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4666
4667 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4668 because this locale does not use the 12-hour clock.
4669 (t_fmt): Set to "%Z %H:%M:%S".
4670 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4671
4672 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4673 because this locale does not use the 12-hour clock.
4674 (t_fmt): Set to "%H:%M:%S %Z".
4675 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4676
4677 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4678 because this locale does not use the 12-hour clock.
4679 (t_fmt): Set to "%T".
4680 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4681 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4682
4683 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4684 because this locale does not use the 12-hour clock.
4685 (t_fmt): Set to "%H:%M:%S %Z".
4686 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4687
4688 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4689 because this locale does not use the 12-hour clock.
4690 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4691 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4692
4693 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4694
4695 [BZ #10496]
4696 [BZ #23724]
4697 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4698 (t_fmt_ampm): Likewise.
4699 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4700 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4701 (d_fmt): Set to "%-d.%-m.%y".
4702
4703 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4704
4705 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4706 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4707 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4708 Likewise.
4709 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4710 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4711 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4712 function.
4713 * support/blob_repeat.c (check_mul_overflow_size_t,
4714 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4715
4716 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4717
4718 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4719
4720 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4721
4722 regex: simplify Gnulib port
4723 This simplifies the code, by removing stuff intended for porting
4724 to Gnulib but no longer needed there.
4725 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4726 uses of libc_hidden_def, weak_alias.
4727 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4728 _Restrict_ except for public-facing headers.
4729 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4730 Remove; already defined elsewhere.
4731 * posix/regex.c, posix/regex_internal.h:
4732 Use __GNUC_PREREQ instead of rolling our own.
4733 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4734
4735 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4736
4737 * benchtests/bench-strlen.c (generic_strlen): New function.
4738 (memchr_strlen): New function.
4739
4740 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4741
4742 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4743 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4744 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4745
4746 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4747
4748 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4749
4750 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4751
4752 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4753 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4754 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4755 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4756 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4757 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4758 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4759
4760 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4761
4762 [BZ #24023]
4763 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4764 PLT reference in libc.so.
4765 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4766 _Q_lltoq and _Q_qtod PLT references in libc.so.
4767
4768 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4769
4770 * benchtests/bench-memchr.c: Cleanup defines.
4771 * benchtests/bench-memcmp.c: Likewise.
4772 * benchtests/bench-memset.c: Likewise.
4773 * benchtests/bench-memset-large.c: Likewise.
4774 * benchtests/bench-memset-walk.c: Likewise.
4775 * benchtests/bench-stpcpy.c: Likewise.
4776 * benchtests/bench-stpncpy.c: Likewise.
4777 * benchtests/bench-strcat.c: Likewise.
4778 * benchtests/bench-strchr.c: Likewise.
4779 * benchtests/bench-strcmp.c: Likewise.
4780 * benchtests/bench-strcpy.c: Likewise.
4781 * benchtests/bench-strcspn.c: Likewise.
4782 * benchtests/bench-string.h: Likewise.
4783 * benchtests/bench-strlen.c: Likewise.
4784 * benchtests/bench-strncat.c: Likewise.
4785 * benchtests/bench-strncmp.c: Likewise.
4786 * benchtests/bench-strncpy.c: Likewise.
4787 * benchtests/bench-strnlen.c: Likewise.
4788 * benchtests/bench-strpbrk.c: Likewise.
4789 * benchtests/bench-strrchr.c: Likewise.
4790 * benchtests/bench-strspn.c: Likewise.
4791
4792 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4793
4794 * stdlib/longlong.h: Update from GCC.
4795
4796 [BZ #23993]
4797 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4798 * configure: Regenerated.
4799 * manual/install.texi (Tools for Compilation): Update minimum GCC
4800 version.
4801 * INSTALL: Regenerated.
4802
4803 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
4804
4805 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4806
4807 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
4808
4809 * malloc/malloc.c (mremap_chunk): Additional checks.
4810
4811 2018-12-21 Mao Han <han_mao@c-sky.com>
4812
4813 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4814 * scripts/build-many-glibcs.py: Add C-SKY targets.
4815 * sysdeps/csky/Implies: New file.
4816 * sysdeps/csky/Makefile: Likewise.
4817 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4818 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4819 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4820 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4821 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4822 * sysdeps/csky/abiv2/memmove.S: Likewise.
4823 * sysdeps/csky/abiv2/memset.S: Likewise.
4824 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4825 * sysdeps/csky/abiv2/start.S: Likewise.
4826 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4827 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4828 * sysdeps/csky/abiv2/strlen.S: Likewise.
4829 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4830 * sysdeps/csky/abort-instr.h: Likewise.
4831 * sysdeps/csky/atomic-machine.h: Likewise.
4832 * sysdeps/csky/bits/endian.h: Likewise.
4833 * sysdeps/csky/bits/fenv.h: Likewise.
4834 * sysdeps/csky/bits/link.h: Likewise.
4835 * sysdeps/csky/bits/setjmp.h: Likewise.
4836 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4837 * sysdeps/csky/bsd-setjmp.S: Likewise.
4838 * sysdeps/csky/configure: Likewise.
4839 * sysdeps/csky/configure.ac: Likewise.
4840 * sysdeps/csky/dl-machine.h: Likewise.
4841 * sysdeps/csky/dl-procinfo.c: Likewise.
4842 * sysdeps/csky/dl-procinfo.h: Likewise.
4843 * sysdeps/csky/dl-sysdep.h: Likewise.
4844 * sysdeps/csky/dl-tls.h: Likewise.
4845 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4846 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4847 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4848 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4849 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4850 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4851 * sysdeps/csky/fpu/fegetround.c: Likewise.
4852 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4853 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4854 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4855 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4856 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4857 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4858 * sysdeps/csky/fpu/fesetround.c: Likewise.
4859 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4860 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4861 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4862 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4863 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4864 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4865 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4866 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4867 * sysdeps/csky/fpu_control.h: Likewise.
4868 * sysdeps/csky/gccframe.h: Likewise.
4869 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4870 * sysdeps/csky/ldsodefs.h: Likewise.
4871 * sysdeps/csky/libc-tls.c: Likewise.
4872 * sysdeps/csky/linkmap.h: Likewise.
4873 * sysdeps/csky/machine-gmon.h: Likewise.
4874 * sysdeps/csky/memusage.h: Likewise.
4875 * sysdeps/csky/nofpu/Implies: Likewise.
4876 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4877 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4878 * sysdeps/csky/nptl/Makefile: Likewise.
4879 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4880 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4881 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4882 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4883 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4884 * sysdeps/csky/nptl/tls.h: Likewise.
4885 * sysdeps/csky/preconfigure: Likewise.
4886 * sysdeps/csky/sfp-machine.h: Likewise.
4887 * sysdeps/csky/sotruss-lib.c: Likewise.
4888 * sysdeps/csky/stackinfo.h: Likewise.
4889 * sysdeps/csky/sysdep.h: Likewise.
4890 * sysdeps/csky/tininess.h: Likewise.
4891 * sysdeps/csky/tst-audit.h: Likewise.
4892 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4893 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4894 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4895 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4896 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4897 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4898 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4899 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4900 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4901 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4902 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4903 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4904 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4905 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4906 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4907 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4908 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4909 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4910 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4911 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4912 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4913 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4914 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4915 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4916 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4917 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4918 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4919 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4920 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4921 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4922 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4923 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4924 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4925 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4926 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4927 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4928 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4929 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4930 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4931 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4932 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4933 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4934 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4935 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4936
4937 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4938
4939 * include/time.h (__difftime64): Add.
4940 * time/difftime.c (subtract): convert to 64-bit time.
4941 * time/difftime.c (__difftime64): Add.
4942 * time/difftime.c (__difftime): Wrap around __difftime64.
4943
4944 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4945
4946 * manual/examples/add.c: Remove redundant "if not".
4947 * manual/examples/argp-ex1.c: Likewise.
4948 * manual/examples/argp-ex2.c: Likewise.
4949 * manual/examples/argp-ex3.c: Likewise.
4950 * manual/examples/argp-ex4.c: Likewise.
4951 * manual/examples/atexit.c: Likewise.
4952 * manual/examples/db.c: Likewise.
4953 * manual/examples/dir.c: Likewise.
4954 * manual/examples/dir2.c: Likewise.
4955 * manual/examples/execinfo.c: Likewise.
4956 * manual/examples/filecli.c: Likewise.
4957 * manual/examples/filesrv.c: Likewise.
4958 * manual/examples/fmtmsgexpl.c: Likewise.
4959 * manual/examples/genpass.c: Likewise.
4960 * manual/examples/inetcli.c: Likewise.
4961 * manual/examples/inetsrv.c: Likewise.
4962 * manual/examples/isockad.c: Likewise.
4963 * manual/examples/longopt.c: Likewise.
4964 * manual/examples/memopen.c: Likewise.
4965 * manual/examples/memstrm.c: Likewise.
4966 * manual/examples/mkdirent.c: Likewise.
4967 * manual/examples/mkfsock.c: Likewise.
4968 * manual/examples/mkisock.c: Likewise.
4969 * manual/examples/mygetpass.c: Likewise.
4970 * manual/examples/pipe.c: Likewise.
4971 * manual/examples/popen.c: Likewise.
4972 * manual/examples/rprintf.c: Likewise.
4973 * manual/examples/search.c: Likewise.
4974 * manual/examples/select.c: Likewise.
4975 * manual/examples/setjmp.c: Likewise.
4976 * manual/examples/sigh1.c: Likewise.
4977 * manual/examples/sigusr.c: Likewise.
4978 * manual/examples/stpcpy.c: Likewise.
4979 * manual/examples/strdupa.c: Likewise.
4980 * manual/examples/strftim.c: Likewise.
4981 * manual/examples/subopt.c: Likewise.
4982 * manual/examples/swapcontext.c: Likewise.
4983 * manual/examples/termios.c: Likewise.
4984 * manual/examples/testopt.c: Likewise.
4985 * manual/examples/testpass.c: Likewise.
4986 * manual/examples/timeval_subtract.c: Likewise.
4987
4988 2018-12-19 Joseph Myers <joseph@codesourcery.com>
4989
4990 * sysdeps/x86/fpu/math_private.h: New file.
4991 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4992
4993 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4994 definition.
4995 (cosh): Likewise.
4996 (tanh): Likewise.
4997
4998 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4999
5000 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5001 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5002 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5003 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5004 fields.
5005 (_dl_show_auxv): Give a special treatment to
5006 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5007 and AT_L3_CACHEGEOMETRY.
5008 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5009 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5010 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5011 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5012
5013 2018-12-19 Andreas Schwab <schwab@suse.de>
5014
5015 * nscd/connections.c (check_use): Don't abort on invalid len.
5016
5017 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5018
5019 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5020 values in the 64bit value cases.
5021
5022 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5023
5024 * include/time.h
5025 (__ctime64_r): Add.
5026 * time/ctime_r.c
5027 (__ctime64_r): Add.
5028 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5029
5030 * include/time.h
5031 (__ctime64): Add.
5032 * time/gmtime.c
5033 (__ctime64): Add.
5034 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5035
5036 * include/time.h
5037 (__gmtime64_r): Add.
5038 * time/gmtime.c
5039 (__gmtime64_r): Add.
5040 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5041
5042 * include/time.h
5043 (__gmtime64): Add.
5044 * time/gmtime.c
5045 (__gmtime64): Add.
5046 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5047
5048 * include/time.h
5049 (__localtime64_r): Add.
5050 * time/localtime.c
5051 (__localtime64_r): Add.
5052 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5053
5054 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5055
5056 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5057 kernel_sigction definition.
5058
5059 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5060
5061 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5062
5063 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5064 __syscall_rt_sigaction.
5065 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5066 (kernel_sigaction): Use Linux generic defintion.
5067 (STUB): Define.
5068 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5069 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5070 (__syscall_rt_sigaction): Remove implementation.
5071 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5072 hidden.
5073 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5074 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5075 INTERNAL_SYSCALL): Remove definitions.
5076 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5077 action and signal set size.
5078 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5079 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5080
5081 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5082 James Clarke <jrtc27@jrtc27.com>
5083
5084 [BZ #23967]
5085 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5086 Define if SA_RESTORER is defined.
5087 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5088 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5089 already defined.
5090 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5091 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5092 definitions.
5093 (HAS_SA_RESTORER): Define.
5094 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5095 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5096 (HAS_SA_RESTORER): Define.
5097 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5098 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5099 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5100 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5101 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5102
5103 2018-12-18 Joseph Myers <joseph@codesourcery.com>
5104
5105 * sysdeps/unix/sysv/linux/kernel-features.h
5106 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5107 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5108 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5109 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5110 (__ASSUME_ST_INO_64_BIT): Likewise.
5111 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5112 <kernel-features.h>.
5113 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5114 Remove conditional code.
5115 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5116 <kernel-features.h>.
5117 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5118 Remove conditional code.
5119 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5120 <kernel-features.h>.
5121 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5122 Remove conditional code.
5123 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5124 <kernel-features.h>.
5125 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5126 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5127
5128 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5129
5130 * sysdeps/s390/multiarch/ifunc-resolve.h
5131 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5132 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5133 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5134 Delete macro definition.
5135 (s390_libc_ifunc_init): Rename to
5136 s390_libc_ifunc_expr_stfle_init.
5137 * sysdeps/s390/bzero: Use
5138 s390_libc_ifunc_expr_stfle_init instead of
5139 s390_libc_ifunc_init.
5140 * sysdeps/s390/memcmp.c: Likewise.
5141 * sysdeps/s390/memcpy.c: Likewise.
5142 * sysdeps/s390/mempcpy.c: Likewise.
5143 * sysdeps/s390/memset.c: Likewise.
5144
5145 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5146
5147 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5148 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5149
5150 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5151
5152 * sysdeps/s390/multiarch/Makefile
5153 (sysdep_routines): Remove wmemcmp variants.
5154 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5155 * sysdeps/s390/multiarch/ifunc-impl-list.c
5156 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5157 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5158 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5159 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5160 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5161 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5162 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5163 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5164
5165 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5166
5167 * sysdeps/s390/multiarch/Makefile
5168 (sysdep_routines): Remove wmemset variants.
5169 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5170 * sysdeps/s390/multiarch/ifunc-impl-list.c
5171 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5172 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5173 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5174 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5175 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5176 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5177 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5178 * sysdeps/s390/ifunc-wmemset.h: New file.
5179
5180 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5181
5182 * sysdeps/s390/multiarch/Makefile
5183 (sysdep_routines): Remove wmemchr variants.
5184 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5185 * sysdeps/s390/multiarch/ifunc-impl-list.c
5186 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5187 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5188 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5189 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5190 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5191 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5192 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5193 * sysdeps/s390/ifunc-wmemchr.h: New file.
5194
5195 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5196
5197 * sysdeps/s390/multiarch/Makefile
5198 (sysdep_routines): Remove wcscspn variants.
5199 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5200 * sysdeps/s390/multiarch/ifunc-impl-list.c
5201 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5202 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5203 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5204 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5205 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5206 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5207 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5208 * sysdeps/s390/ifunc-wcscspn.h: New file.
5209
5210 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5211
5212 * sysdeps/s390/multiarch/Makefile
5213 (sysdep_routines): Remove wcspbrk variants.
5214 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5215 * sysdeps/s390/multiarch/ifunc-impl-list.c
5216 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5217 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5218 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5219 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5220 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5221 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5222 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5223 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5224
5225 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5226
5227 * sysdeps/s390/multiarch/Makefile
5228 (sysdep_routines): Remove wcsspn variants.
5229 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5230 * sysdeps/s390/multiarch/ifunc-impl-list.c
5231 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5232 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5233 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5234 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5235 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5236 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5237 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5238 * sysdeps/s390/ifunc-wcsspn.h: New file.
5239
5240 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5241
5242 * sysdeps/s390/multiarch/Makefile
5243 (sysdep_routines): Remove wcsrchr variants.
5244 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5245 * sysdeps/s390/multiarch/ifunc-impl-list.c
5246 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5247 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5248 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5249 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5250 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5251 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5252 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5253 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5254
5255 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5256
5257 * sysdeps/s390/multiarch/Makefile
5258 (sysdep_routines): Remove wcschrnul variants.
5259 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5260 * sysdeps/s390/multiarch/ifunc-impl-list.c
5261 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5262 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5263 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5264 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5265 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5266 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5267 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5268 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5269
5270 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5271
5272 * sysdeps/s390/multiarch/Makefile
5273 (sysdep_routines): Remove wcschr variants.
5274 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5275 * sysdeps/s390/multiarch/ifunc-impl-list.c
5276 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5277 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5278 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5279 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5280 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5281 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5282 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5283 * sysdeps/s390/ifunc-wcschr.h: New file.
5284
5285 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5286
5287 * sysdeps/s390/multiarch/Makefile
5288 (sysdep_routines): Remove wcsncmp variants.
5289 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5290 * sysdeps/s390/multiarch/ifunc-impl-list.c
5291 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5292 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5293 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5294 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5295 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5296 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5297 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5298 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5299
5300 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5301
5302 * sysdeps/s390/multiarch/Makefile
5303 (sysdep_routines): Remove wcscmp variants.
5304 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5305 * sysdeps/s390/multiarch/ifunc-impl-list.c
5306 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5307 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5308 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5309 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5310 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5311 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5312 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5313 * sysdeps/s390/ifunc-wcscmp.h: New file.
5314
5315 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5316
5317 * sysdeps/s390/multiarch/Makefile
5318 (sysdep_routines): Remove wcsncat variants.
5319 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5320 * sysdeps/s390/multiarch/ifunc-impl-list.c
5321 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5322 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5323 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5324 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5325 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5326 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5327 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5328 * sysdeps/s390/ifunc-wcsncat.h: New file.
5329
5330 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5331
5332 * sysdeps/s390/multiarch/Makefile
5333 (sysdep_routines): Remove wcscat variants.
5334 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5335 * sysdeps/s390/multiarch/ifunc-impl-list.c
5336 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5337 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5338 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5339 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5340 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5341 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5342 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5343 * sysdeps/s390/ifunc-wcscat.h: New file.
5344
5345 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5346
5347 * sysdeps/s390/multiarch/Makefile
5348 (sysdep_routines): Remove wcpncpy variants.
5349 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5350 * sysdeps/s390/multiarch/ifunc-impl-list.c
5351 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5352 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5353 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5354 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5355 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5356 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5357 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5358 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5359
5360 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5361
5362 * sysdeps/s390/multiarch/Makefile
5363 (sysdep_routines): Remove wcsncpy variants.
5364 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5365 * sysdeps/s390/multiarch/ifunc-impl-list.c
5366 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5367 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5368 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5369 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5370 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5371 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5372 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5373 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5374
5375 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5376
5377 * sysdeps/s390/multiarch/Makefile
5378 (sysdep_routines): Remove wcpcpy variants.
5379 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5380 * sysdeps/s390/multiarch/ifunc-impl-list.c
5381 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5382 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5383 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5384 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5385 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5386 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5387 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5388 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5389
5390 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5391
5392 * sysdeps/s390/multiarch/Makefile
5393 (sysdep_routines): Remove wcscpy variants.
5394 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5395 * sysdeps/s390/multiarch/ifunc-impl-list.c
5396 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5397 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5398 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5399 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5400 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5401 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5402 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5403 * sysdeps/s390/ifunc-wcscpy.h: New file.
5404
5405 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5406
5407 * sysdeps/s390/multiarch/Makefile
5408 (sysdep_routines): Remove wcsnlen variants.
5409 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5410 * sysdeps/s390/multiarch/ifunc-impl-list.c
5411 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5412 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5413 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5414 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5415 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5416 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5417 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5418 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5419
5420 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5421
5422 * sysdeps/s390/multiarch/Makefile
5423 (sysdep_routines): Remove wcslen variants.
5424 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5425 * sysdeps/s390/multiarch/ifunc-impl-list.c
5426 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5427 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5428 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5429 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5430 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5431 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5432 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5433 * sysdeps/s390/ifunc-wcslen.h: New file.
5434
5435 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5436
5437 * sysdeps/s390/multiarch/Makefile
5438 (sysdep_routines): Remove memrchr variants.
5439 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5440 * sysdeps/s390/multiarch/ifunc-impl-list.c
5441 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5442 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5443 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5444 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5445 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5446 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5447 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5448 * sysdeps/s390/ifunc-memrchr.h: New file.
5449
5450 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5451
5452 * sysdeps/s390/multiarch/Makefile
5453 (sysdep_routines): Remove memccpy variants.
5454 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5455 * sysdeps/s390/multiarch/ifunc-impl-list.c
5456 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5457 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5458 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5459 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5460 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5461 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5462 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5463 * sysdeps/s390/ifunc-memccpy.h: New file.
5464
5465 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5466
5467 * sysdeps/s390/multiarch/Makefile
5468 (sysdep_routines): Remove rawmemchr variants.
5469 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5470 * sysdeps/s390/multiarch/ifunc-impl-list.c
5471 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5472 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5473 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5474 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5475 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5476 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5477 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5478 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5479
5480 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5481
5482 * sysdeps/s390/multiarch/Makefile
5483 (sysdep_routines): Remove memchr variants.
5484 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5485 * sysdeps/s390/multiarch/ifunc-impl-list.c
5486 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5487 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5488 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5489 * sysdeps/s390/multiarch/memchr.c: Move to ...
5490 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5491 * sysdeps/s390/ifunc-memchr.h: New file.
5492 * sysdeps/s390/s390-64/memchr.S: Move to ...
5493 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5494 for 31/64bit and ifunc handling.
5495 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5496 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5497 * sysdeps/s390/s390-32/memchr.S: Likewise.
5498
5499 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5500
5501 * sysdeps/s390/multiarch/Makefile
5502 (sysdep_routines): Remove strcspn variants.
5503 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5504 * sysdeps/s390/multiarch/ifunc-impl-list.c
5505 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5506 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5507 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5508 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5509 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5510 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5511 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5512 * sysdeps/s390/ifunc-strcspn.h: New file.
5513
5514 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5515
5516 * sysdeps/s390/multiarch/Makefile
5517 (sysdep_routines): Remove strpbrk variants.
5518 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5519 * sysdeps/s390/multiarch/ifunc-impl-list.c
5520 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5521 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5522 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5523 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5524 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5525 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5526 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5527 * sysdeps/s390/ifunc-strpbrk.h: New file.
5528
5529 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5530
5531 * sysdeps/s390/multiarch/Makefile
5532 (sysdep_routines): Remove strspn variants.
5533 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5534 * sysdeps/s390/multiarch/ifunc-impl-list.c
5535 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5536 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5537 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5538 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5539 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5540 * sysdeps/s390/multiarch/strspn.c: Move to ...
5541 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5542 * sysdeps/s390/ifunc-strspn.h: New file.
5543
5544 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5545
5546 * sysdeps/s390/multiarch/Makefile
5547 (sysdep_routines): Remove strrchr variants.
5548 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5549 * sysdeps/s390/multiarch/ifunc-impl-list.c
5550 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5551 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5552 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5553 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5554 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5555 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5556 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5557 * sysdeps/s390/ifunc-strrchr.h: New file.
5558
5559 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5560
5561 * sysdeps/s390/multiarch/Makefile
5562 (sysdep_routines): Remove strchrnul variants.
5563 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5564 * sysdeps/s390/multiarch/ifunc-impl-list.c
5565 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5566 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5567 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5568 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5569 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5570 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5571 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5572 * sysdeps/s390/ifunc-strchrnul.h: New file.
5573
5574 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5575
5576 * sysdeps/s390/multiarch/Makefile
5577 (sysdep_routines): Remove strchr variants.
5578 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5579 * sysdeps/s390/multiarch/ifunc-impl-list.c
5580 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5581 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5582 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5583 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5584 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5585 * sysdeps/s390/multiarch/strchr.c: Move to ...
5586 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5587 * sysdeps/s390/ifunc-strchr.h: New file.
5588
5589 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5590
5591 * sysdeps/s390/multiarch/Makefile
5592 (sysdep_routines): Remove strncmp variants.
5593 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5594 * sysdeps/s390/multiarch/ifunc-impl-list.c
5595 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5596 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5597 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5598 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5599 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5600 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5601 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5602 * sysdeps/s390/ifunc-strncmp.h: New file.
5603
5604 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5605
5606 * sysdeps/s390/multiarch/Makefile
5607 (sysdep_routines): Remove strcmp variants.
5608 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5609 * sysdeps/s390/multiarch/ifunc-impl-list.c
5610 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5611 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5612 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5613 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5614 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5615 * sysdeps/s390/ifunc-strcmp.h: New file.
5616 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5617 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5618 for 31/64bit and ifunc handling.
5619 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5620 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5621 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5622
5623 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5624
5625 * sysdeps/s390/multiarch/Makefile
5626 (sysdep_routines): Remove strncat variants.
5627 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5628 * sysdeps/s390/multiarch/ifunc-impl-list.c
5629 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5630 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5631 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5632 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5633 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5634 * sysdeps/s390/multiarch/strncat.c: Move to ...
5635 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5636 * sysdeps/s390/ifunc-strncat.h: New file.
5637
5638 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5639
5640 * sysdeps/s390/multiarch/Makefile
5641 (sysdep_routines): Remove strcat variants.
5642 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5643 * sysdeps/s390/multiarch/ifunc-impl-list.c
5644 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5645 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5646 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5647 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5648 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5649 * sysdeps/s390/multiarch/strcat.c: Move to ...
5650 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5651 * sysdeps/s390/ifunc-strcat.h: New file.
5652
5653 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5654
5655 * sysdeps/s390/multiarch/Makefile
5656 (sysdep_routines): Remove stpncpy variants.
5657 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5658 * sysdeps/s390/multiarch/ifunc-impl-list.c
5659 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5660 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5661 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5662 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5663 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5664 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5665 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5666 * sysdeps/s390/ifunc-stpncpy.h: New file.
5667
5668 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5669
5670 * sysdeps/s390/multiarch/Makefile
5671 (sysdep_routines): Remove strncpy variants.
5672 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5673 * sysdeps/s390/multiarch/ifunc-impl-list.c
5674 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5675 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5676 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5677 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5678 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5679 * sysdeps/s390/ifunc-strncpy.h: New file.
5680 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5681 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5682 and adjust ifunc handling.
5683 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5684 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5685 and adjust ifunc handling.
5686 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5687 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5688
5689 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5690
5691 * sysdeps/s390/multiarch/Makefile
5692 (sysdep_routines): Remove stpcpy variants.
5693 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5694 * sysdeps/s390/multiarch/ifunc-impl-list.c
5695 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5696 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5697 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5698 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5699 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5700 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5701 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5702 * sysdeps/s390/ifunc-stpcpy.h: New file.
5703
5704 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5705
5706 * sysdeps/s390/multiarch/Makefile
5707 (sysdep_routines): Remove strcpy variants.
5708 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5709 * sysdeps/s390/multiarch/ifunc-impl-list.c
5710 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5711 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5712 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5713 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5714 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5715 * sysdeps/s390/ifunc-strcpy.h: New file.
5716 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5717 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5718 for 31/64bit and ifunc handling.
5719 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5720 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5721 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5722
5723 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5724
5725 * sysdeps/s390/multiarch/Makefile
5726 (sysdep_routines): Remove strnlen variants.
5727 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5728 * sysdeps/s390/multiarch/ifunc-impl-list.c
5729 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5730 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5731 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5732 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5733 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5734 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5735 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5736 * sysdeps/s390/ifunc-strnlen.h: New file.
5737
5738 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5739
5740 * sysdeps/s390/multiarch/Makefile
5741 (sysdep_routines): Remove strlen variants.
5742 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5743 * sysdeps/s390/multiarch/ifunc-impl-list.c
5744 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5745 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5746 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5747 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5748 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5749 * sysdeps/s390/multiarch/strlen.c: Move to ...
5750 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5751 * sysdeps/s390/ifunc-strlen.h: New file.
5752
5753 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5754
5755 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5756 * sysdeps/s390/multiarch/ifunc-impl-list.c
5757 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5758 * sysdeps/s390/ifunc-memmem.h: New file.
5759 * sysdeps/s390/memmem.c: Likewise.
5760 * sysdeps/s390/memmem-c.c: Likewise.
5761 * sysdeps/s390/memmem-vx.c: Likewise.
5762
5763 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5764
5765 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5766 * sysdeps/s390/multiarch/ifunc-impl-list.c
5767 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5768 * sysdeps/s390/ifunc-strstr.h: New file.
5769 * sysdeps/s390/strstr.c: Likewise.
5770 * sysdeps/s390/strstr-c.c: Likewise.
5771 * sysdeps/s390/strstr-vx.c: Likewise.
5772
5773 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5774
5775 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5776 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5777 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5778 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5779 New defines.
5780 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5781 * sysdeps/s390/memmove-c.c: New file.
5782 * sysdeps/s390/memmove.c: Likewise.
5783 * sysdeps/s390/multiarch/ifunc-impl-list.c
5784 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5785
5786 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5787
5788 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5789 * sysdeps/s390/configure.ac: Add check for z13 support.
5790 * sysdeps/s390/configure: Regenerated.
5791
5792 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5793
5794 * sysdeps/s390/memcopy.h: New file.
5795
5796 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5797
5798 * sysdeps/s390/s390-32/bcopy.S: Remove.
5799 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5800
5801 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5802
5803 * sysdeps/s390/ifunc-memcpy.h: New File.
5804 * sysdeps/s390/memcpy.S: Move to ...
5805 * sysdeps/s390/memcpy-z900.S ... here.
5806 Move implementations from memcpy-s390x.s to here.
5807 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5808 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5809 Remove memcpy/mempcpy variants.
5810 * sysdeps/s390/Makefile (sysdep_routines):
5811 Add memcpy/mempcpy variants.
5812 * sysdeps/s390/multiarch/ifunc-impl-list.c
5813 (__libc_ifunc_impl_list): Adjust ifunc variants for
5814 memcpy and mempcpy.
5815 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5816 to ...
5817 * sysdeps/s390/memcpy.c: ... here.
5818 Adjust ifunc variants for memcpy.
5819 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5820 * sysdeps/s390/mempcpy.c: ... here.
5821 Adjust ifunc variants for mempcpy.
5822 * sysdeps/s390/mempcpy.S: Delete file.
5823
5824 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5825
5826 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5827 * sysdeps/s390/memcpy.S: ... here.
5828 Adjust to be usable for 31/64bit.
5829 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5830 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5831 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5832 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5833 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5834 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5835 Adjust to be usable for 31/64bit.
5836 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5837 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5838 * sysdeps/s390/multiarch/memcpy.c: ... here.
5839 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5840
5841 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5842
5843 * sysdeps/s390/ifunc-memcmp.h: New File.
5844 * sysdeps/s390/memcmp.S: Move to ...
5845 * sysdeps/s390/memcmp-z900.S ... here.
5846 Move implementations from memcmp-s390x.s to here.
5847 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5848 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5849 Remove memcmp variants.
5850 * sysdeps/s390/Makefile (sysdep_routines):
5851 Add memcmp variants.
5852 * sysdeps/s390/multiarch/ifunc-impl-list.c
5853 (__libc_ifunc_impl_list): Adjust ifunc variants for
5854 memcmp.
5855 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5856 to ...
5857 * sysdeps/s390/memcmp.c: ... here.
5858 Adjust ifunc variants for memcmp.
5859
5860 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5861
5862 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5863 * sysdeps/s390/memcmp.S: ... here.
5864 Adjust to be usable for 31/64bit.
5865 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5866 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5867 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5868 Remove memcmp.
5869 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5870 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5871 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5872 Adjust to be usable for 31/64bit.
5873 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5874 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5875 * sysdeps/s390/multiarch/memcmp.c: ... here.
5876 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5877
5878 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5879
5880 * sysdeps/s390/s390-32/bzero.S: Delete file.
5881 * sysdeps/s390/s390-64/bzero.S: Likewise.
5882 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5883 * sysdeps/s390/bzero.c: New file.
5884 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5885 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5886 * sysdeps/s390/multiarch/ifunc-impl-list.c
5887 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5888
5889 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5890
5891 * sysdeps/s390/ifunc-memset.h: New File.
5892 * sysdeps/s390/memset.S: Move to ...
5893 * sysdeps/s390/memset-z900.S ... here.
5894 Move implementations from memset-s390x.s to here.
5895 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5896 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5897 Remove memset variants.
5898 * sysdeps/s390/Makefile (sysdep_routines):
5899 Add memset variants.
5900 * sysdeps/s390/multiarch/ifunc-impl-list.c
5901 (__libc_ifunc_impl_list): Adjust ifunc variants for
5902 memset.
5903 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5904 to ...
5905 * sysdeps/s390/memset.c: ... here.
5906 Adjust ifunc variants for memset.
5907
5908 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5909
5910 * sysdeps/s390/s390-64/memset.S: Move to ...
5911 * sysdeps/s390/memset.S: ... here.
5912 Adjust to be usable for 31/64bit.
5913 * sysdeps/s390/s390-32/memset.S: Delete File.
5914 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5915 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5916 Remove memset.
5917 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5918 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5919 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5920 Adjust to be usable for 31/64bit.
5921 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5922 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5923 * sysdeps/s390/multiarch/memset.c: ... here.
5924 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5925
5926 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5927
5928 * sysdeps/s390/multiarch/ifunc-resolve.h
5929 (s390_libc_ifunc_init, s390_libc_ifunc,
5930 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5931
5932 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5933
5934 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5935 * sysdeps/s390/configure.ac: Add check for z10 support.
5936 * sysdeps/s390/configure: Regenerated.
5937
5938 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5939
5940 * sysdeps/i386/atomic-machine.h: Merged with ...
5941 * sysdeps/x86_64/atomic-machine.h: To ...
5942 * sysdeps/x86/atomic-machine.h: This. New file.
5943
5944 2018-12-18 Florian Weimer <fweimer@redhat.com>
5945
5946 Rewrite locale/gen-translit.pl in Python.
5947 * locale/Makefile (generated): Add C-translit.h.
5948 (before-compile): Add $(objpfx)C-translit.h.
5949 (C-translit.h): Move to $(objpfx). Create target directory.
5950 Build using Python script.
5951 * locale/gen-translit.py: New file.
5952 * locale/gen-translit.pl: Remove file.
5953 * locale/C-translit.h.in: Change comment character to '#' for
5954 easier parsing without a C preprocessor.
5955 * locale/C-translit.h: Remove generated file.
5956 * manual/install.texi (Tools for Compilation): Do not mention
5957 C-translit.h.
5958 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5959 Remove locale/C-translit.h.
5960 * scripts/update-copyrights: Likewise.
5961 * INSTALL: Regenerate.
5962
5963 2018-12-18 Florian Weimer <fweimer@redhat.com>
5964
5965 [BZ #23995]
5966 * localedata/locales/bi_VU: Remove executable bit from file.
5967
5968 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
5969
5970 * include/time.h
5971 (__localtime64): Add.
5972 * manual/maint.texi: Document Y2038 symbol handling.
5973 * time/localtime.c
5974 (__localtime64): Add.
5975 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
5976
5977 2018-12-17 Joseph Myers <joseph@codesourcery.com>
5978
5979 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5980 Do not clobber r12.
5981
5982 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5983 to allow extra macros from first or second sources.
5984 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5985 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5986 (tests-special): Add $(objpfx)tst-mman-consts.out.
5987 ($(objpfx)tst-mman-consts.out): New makefile target.
5988
5989 2018-12-17 Mao Han <han_mao@c-sky.com>
5990
5991 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5992 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5993 without stat64 system call support.
5994 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5995 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5996 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5997 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5998 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5999 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6000 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6001 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6002 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6003 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6004 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6005
6006 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6007
6008 regex: fix storage-exhaustion error
6009 [BZ #18040]
6010 * posix/regexec.c (get_subexp):
6011 Do not continue if storage is exhausted.
6012
6013 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
6014
6015 regex: fix heap-use-after-free error
6016 [BZ #18040]
6017 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6018 https://debbugs.gnu.org/32592
6019 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6020 call extend_buffers which reallocates the re_string_t internal buffer.
6021 Local variable 'buf' was not updated in such case, resulting in
6022 use-after-free.
6023 * posix/regexec.c (get_subexp): Update 'buf' after call to
6024 get_subexp_sub.
6025
6026 2018-12-15 Florian Weimer <fweimer@redhat.com>
6027
6028 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6029 (minimum_stride_size): Use it.
6030 (support_blob_repeat_allocate): Likewise.
6031
6032 2018-12-14 Joseph Myers <joseph@codesourcery.com>
6033
6034 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6035 definition.
6036 (acosh): Likewise.
6037 (atanh): Likewise.
6038
6039 2018-12-14 Florian Weimer <fweimer@redhat.com>
6040
6041 * manual/process.texi (Process Creation Concepts): Remove
6042 documentation of process (ID) lifetime. List more process
6043 creation functions. Reference Process Identification section.
6044 (Process Identification): Add information about process ID
6045 lifetime. Describe Linux thread/task IDs.
6046 * manual/signal.texi (Signaling Another Process): Mention that the
6047 signal is always sent to the process.
6048
6049 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6050
6051 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6052 and tst-ldbl-efgcvt.
6053 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6054 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6055 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6056 (fcvt_tests, output_error, output_r_error, do_test): Use the
6057 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6058 select the type of floating-point variables and arguments; to
6059 produce extra tests for double and conversion specifiers for
6060 printf; and to set the names of called functions.
6061 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6062 in tst-efgcvt-template.c.
6063 * misc/tst-ldbl-efgcvt.c: Likewise.
6064
6065 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
6066
6067 * nss/Makefile (tst-nss-test3.out): New rule.
6068
6069 2018-12-13 Joseph Myers <joseph@codesourcery.com>
6070
6071 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6072 clobber sp.
6073
6074 2018-12-13 fanjinke <fanjinke@hygon.cn>
6075
6076 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6077 "HygonGenuine".
6078
6079 2018-12-13 Andreas Schwab <schwab@suse.de>
6080
6081 [BZ #23861]
6082 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
6083 (__pthread_rwlock_rdlock_full): Update expected value for
6084 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6085 * nptl/tst-rwlock-pwn.c: New file.
6086 * nptl/Makefile (tests): Add tst-rwlock-pwn.
6087
6088 2018-12-12 Joseph Myers <joseph@codesourcery.com>
6089
6090 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6091 definition.
6092
6093 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6094
6095 * benchtests/scripts/compare_bench.py (do_compare): write to
6096 stderr in casestat is not present.
6097 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6098 stderr in case timings field is not present. Also string showing
6099 the output filename goes into the stderr.
6100
6101 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6102
6103 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6104 and ZeroDivisorError exceptions.
6105 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6106 argument to loop through user provided statistics.
6107 * benchtests/scripts/compare_bench.py (main): Include the --stats
6108 argument.
6109
6110 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6111
6112 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6113 instead of return.
6114
6115 2018-12-12 Florian Weimer <fweimer@redhat.com>
6116
6117 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6118 clause to copyright header.
6119
6120 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6121
6122 [BZ #23614]
6123 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6124 registers saved in the stack frame.
6125 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6126 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6127
6128 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6129
6130 * include/bits/monetary-ldbl.h: New file.
6131 * include/bits/printf-ldbl.h: Likewise.
6132 * include/bits/stdio-ldbl.h: Likewise.
6133 * include/bits/stdlib-ldbl.h: Likewise.
6134 * include/bits/syslog-ldbl.h: Likewise.
6135 * include/bits/wchar-ldbl.h: Likewise.
6136
6137 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6138
6139 * libio/libio.h: Remove redirection for _IO_vfprintf.
6140
6141 2018-12-11 Andreas Schwab <schwab@suse.de>
6142
6143 * Makerules: Remove all references to abilist-pattern.
6144 (update-all-abi): Simplify find expression.
6145
6146 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6147
6148 [BZ #23961]
6149 * math/auto-libm-test-in: Add new test case.
6150 * math/auto-libm-test-out-pow: Regenerated.
6151 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6152
6153 2018-12-10 DJ Delorie <dj@redhat.com>
6154
6155 [BZ #23948]
6156 * support/test-container.c: Move postclean step to before we
6157 change namespaces.
6158
6159 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6160
6161 * scripts/gen-as-const.py (main): Handle --python option.
6162 * scripts/gen-py-const.awk: Remove.
6163 * Makerules (py-const-script): Use gen-as-const.py.
6164 ($(py-const)): Likewise.
6165 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6166 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6167 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6168 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6169 ~PTHREAD_MUTEX_NO_ELISION_NP.
6170 * manual/README.pretty-printers: Update reference to
6171 gen-py-const.awk.
6172
6173 * scripts/glibcextract.py: New file.
6174 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6175 or tempfile. Import glibcexctract.
6176 (compute_c_consts): Remove. Moved to glibcextract.py.
6177 (gen_test): Update reference to compute_c_consts.
6178 (main): Likewise.
6179 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6180 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6181 * sysdeps/unix/sysv/linux/Makefile
6182 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6183 Redirect stderr as well as stdout.
6184
6185 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6186
6187 [BZ #19767]
6188 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
6189 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6190 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
6191 ALWAYS_USE_VSYSCALL.
6192 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
6193 ALWAYS_USE_VSYSCALL.
6194 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6195 ALWAYS_USE_VSYSCALL.
6196
6197 2018-12-10 Florian Weimer <fweimer@redhat.com>
6198
6199 [BZ #23972]
6200 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6201 offset instead of count for clarity. Fix typo in comment.
6202 (__old_getdents64): Keep track of previous offset. Use it to call
6203 handle_overflow.
6204 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6205 that d_off is never zero.
6206
6207 2018-12-10 Andreas Schwab <schwab@suse.de>
6208
6209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6210 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6212 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6213 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6214
6215 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6216
6217 * timezone/private.h: Update from tzcode 2018g.
6218 * timezone/tzfile.h: Likewise.
6219 * timezone/tzselect.ksh: Likewise.
6220 * timezone/zdump.c: Likewise.
6221 * timezone/zic.c: Likewise.
6222
6223 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6224
6225 [BZ #23490]
6226 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6227 (do_test): Adjust buffer size and fix format.
6228
6229 2018-12-07 DJ Delorie <dj@redhat.com>
6230
6231 [BZ #23907]
6232 * malloc/tst-tcfree3.c: New.
6233 * malloc/Makefile: Add it.
6234
6235 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6236
6237 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6238
6239 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6240
6241 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6242 used as a mask for the mode argument of __vfscanf_internal and
6243 __vfwscanf_internal.
6244 * stdio-common/vfscanf-internal.c
6245 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6246 (__strtof128_internal): Define to __wcstof128_internal.
6247 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6248 __strtof128_internal or __wcstof128_internal when the format of
6249 long double is the same as _Float128.
6250
6251 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6252
6253 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6254 * posix/confstr.c (confstr): Rename to __confstr.
6255 (__confstr): Add hidden def.
6256 (confstr): Add weak alias for __confstr.
6257 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6258 confstr.
6259
6260 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6261
6262 * NEWS: Mention getcpu.
6263 * include/sched.h (__getcpu): New libc_hidden_proto.
6264 * manual/resource.texi: Document getcpu.
6265 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6266 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6267 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6268 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6269 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6270 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6271 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6272 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6273 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6274 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6275 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6276 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6277 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6278 Likewise.
6279 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6280 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6281 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6283 Likewise.
6284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6285 Likewise.
6286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6287 Likewise.
6288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6289 Likewise.
6290 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6291 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6292 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6293 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6294 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6295 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6296 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6297 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6298 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6299 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6300 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6301 Also check getcpu.
6302
6303 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6304
6305 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6306 functions.
6307 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6308
6309 2018-12-07 Florian Weimer <fweimer@redhat.com>
6310
6311 [BZ #17405]
6312 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6313 * posix/Versions (GLIBC_2.29): Export
6314 posix_spawn_file_actions_addfchdir_np.
6315 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6316 * posix/spawn_faction_destroy.c
6317 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6318 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6319 and the field action.fchdir_action.
6320 * posix/tst-spawn-chdir.c (add_chdir): New function.
6321 (do_test): Add do_fchdir loop. Call add_chdir.
6322 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6323 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6324 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6325 posix_spawn_file_actions_addfchdir_np.
6326 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6327 Likewise.
6328 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6329 Likewise.
6330 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6331 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6332 Likewise.
6333 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6334 Likewise.
6335 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6336 Likewise.
6337 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6338 Likewise.
6339 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6340 Likewise.
6341 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6342 Likewise.
6343 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6344 (GLIBC_2.29): Likewise.
6345 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6346 (GLIBC_2.29): Likewise.
6347 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6348 (GLIBC_2.29): Likewise.
6349 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6350 (GLIBC_2.29): Likewise.
6351 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6352 Likewise.
6353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6354 (GLIBC_2.29): Likewise.
6355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6356 (GLIBC_2.29): Likewise.
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6358 (GLIBC_2.29): Likewise.
6359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6360 (GLIBC_2.29): Likewise.
6361 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6362 Likewise.
6363 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6364 Likewise.
6365 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6366 Likewise.
6367 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6368 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6369 Likewise.
6370 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6371 Likewise.
6372 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6373 Likewise.
6374 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6375 Likewise.
6376
6377 2018-12-06 Joseph Myers <joseph@codesourcery.com>
6378
6379 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6380 trailing whitespace removed.
6381 * scripts/config.guess: Update to version 2018-11-28.
6382 * scripts/config.sub: Update to version 2018-11-28.
6383 * scripts/install-sh: Update to version 2018-03-11.20.
6384 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6385 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6386
6387 2018-12-07 Florian Weimer <fweimer@redhat.com>
6388
6389 [BZ #23927]
6390 CVE-2018-19591
6391 * inet/tst-if_index-long.c: New file.
6392 * inet/Makefile (tests): Add tst-if_index-long.
6393
6394 2018-12-07 Florian Weimer <fweimer@redhat.com>
6395
6396 * support/check.h (support_record_failure_is_failed): Declare.
6397 * support/descriptors.h: New file.
6398 * support/support_descriptors.c: Likewise.
6399 * support/tst-support_descriptors.c: Likewise.
6400 * support/support_record_failure.c
6401 (support_record_failure_is_failed): New function.
6402 * support/Makefile (libsupport-routines): Add support_descriptors.
6403 (tests): Add tst-support_descriptors.
6404
6405 2018-12-05 Zack Weinberg <zackw@panix.com>
6406 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6407
6408 * stdio-common/vfprintf-internal.c
6409 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6410 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6411 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6412 and __no_long_double.
6413 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6414 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6415 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6416 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6417 and __nldbl_*syslog* functions.
6418 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6419 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6420 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6421 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6422 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6423 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6424 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6425 (__nldbl_vwprintf, __nldbl_wprintf):
6426 Directly call the appropriate __v*printf_internal routine, passing
6427 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6428 variable names.
6429 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6430 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6431 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6432 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6433 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6434 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6435 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6436 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6437 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6438 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6439 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6440 (__nldbl_syslog, __nldbl_vsyslog):
6441 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6442 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6443 appropriate.
6444 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6445 appropriate.
6446
6447 2018-12-05 Zack Weinberg <zackw@panix.com>
6448 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6449
6450 [BZ #11319]
6451 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6452 Moved here from debug/vsprintf_chk.c.
6453 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6454 and completion logic for the strfile to match exactly what
6455 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6456 _IO_str_init_static_internal instead of maxlen-1.
6457 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6458 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6459 __vsprintf_internal.
6460
6461 * debug/vsprintf_chk.c (__vsprintf_chk)
6462 * debug/sprintf_chk.c (__sprintf_chk):
6463 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6464 'flags' argument is positive, and slen as maxlen. No need to lock
6465 the FILE and/or construct a temporary FILE. Minimize and normalize
6466 header inclusions and variable names. Do not libc_hidden_def anything.
6467
6468 * debug/asprintf_chk.c (__asprintf_chk)
6469 * debug/dprintf_chk.c (__dprintf_chk)
6470 * debug/fprintf_chk.c (__fprintf_chk)
6471 * debug/fwprintf_chk.c (__fwprintf_chk)
6472 * debug/printf_chk.c (__printf_chk)
6473 * debug/snprintf_chk.c (__snprintf_chk)
6474 * debug/swprintf_chk.c (__swprintf_chk)
6475 * debug/vasprintf_chk.c (__vasprintf_chk)
6476 * debug/vdprintf_chk.c (__vdprintf_chk)
6477 * debug/vfprintf_chk.c (__vfprintf_chk)
6478 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6479 * debug/vprintf_chk.c (__vprintf_chk)
6480 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6481 * debug/vswprintf_chk.c (__vswprintf_chk)
6482 * debug/vwprintf_chk.c (__vwprintf_chk)
6483 * debug/wprintf_chk.c (__wprintf_chk):
6484 Directly call the corresponding vxxprintf_internal function, passing
6485 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6486 the FILE and/or construct a temporary FILE. Minimize and normalize
6487 header inclusions and variable names. Do not libc_hidden_def anything.
6488
6489 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6490 __obstack_vprintf_internal.
6491 (__obstack_vprintf_chk): Convert into a wrapper that calls
6492 __obstack_vprintf_internal (these two functions already had the
6493 same code) and move to new file...
6494 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6495 file.
6496 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6497 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6498 * debug/Makefile (routines): Add vobprintf_chk.
6499
6500 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6501 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6502 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6503 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6504 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6505 (__nldbl___obstack_vfprintf_chk):
6506 Directly call the corresponding vxxprintf_internal function,
6507 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6508 duplicate comparison of slen with 0 or maxlen from the corresponding
6509 non-__nldbl function.
6510
6511 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6512 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6513 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6514 Remove libc_hidden_proto.
6515
6516 * stdio-common/vfprintf-internal.c
6517 (__vfprintf_internal, __vfwprintf_internal):
6518 Do not check _IO_FLAGS2_FORTIFY.
6519 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6520 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6521 a comment explaining why it has the maxlen argument.
6522 (_IO_acquire_lock_clear_flags2_fct): Remove.
6523 (_IO_acquire_lock_clear_flags2): Remove.
6524 (_IO_release_lock): Remove conditional statement which will
6525 now never execute.
6526 (_IO_acquire_lock): Remove variable which is now unused.
6527 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6528 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6529
6530 * stdio-common/Makefile (tests): Add tst-bz11319 and
6531 tst-bz11319-fortify2.
6532 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6533 * stdio-common/tst-bz11319-fortify2.c: New file.
6534 * stdio-common/tst-bz11319.c: Likewise.
6535
6536 2018-12-05 Zack Weinberg <zackw@panix.com>
6537 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6538
6539 * misc/syslog.c: Include libioP.h, not iolibio.h.
6540 (__vsyslog_internal): New function with the former body of
6541 __vsyslog_chk; takes mode_flags argument same as
6542 __v*printf_internal. Call __vfprintf_internal directly.
6543
6544 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6545 Remove libc_hidden_def.
6546 (__syslog, __syslog_chk): Use __vsyslog_internal.
6547 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6548
6549 * include/sys/syslog.h: Add multiple inclusion guard.
6550 Add prototype for __vsyslog_internal.
6551 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6552
6553 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6554 Use __vsyslog_internal.
6555
6556 2018-12-05 Zack Weinberg <zackw@panix.com>
6557 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6558
6559 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6560 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6561 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6562 New functions.
6563 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6564 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6565
6566 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6567 Include wctype.h here if COMPILE_WPRINTF is defined.
6568 Define __vfprintf_internal or __vfwprintf_internal, depending
6569 on COMPILE_WPRINTF.
6570 Temporarily, on entry to this function, update mode_flags
6571 according to the environmental settings corresponding to
6572 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6573 Throughout, check mode_flags instead of __ldbl_is_dbl and
6574 _IO_FLAGS2_FORTIFY on the destination FILE.
6575 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6576 Include vfprintf-internal.c. Don't include wctype.h.
6577 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6578 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6579 and vfprintf.
6580 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6581 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6582 and vfwprintf.
6583 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6584
6585 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6586 and add mode_flags argument; use __vfprintf_internal.
6587 (__vdprintf): New function. Alias vdprintf to this.
6588 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6589 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6590 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6591 (__obstack_printf): Use __obstack_printf_internal.
6592 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6593 public aliases __vsnprintf and vsnprintf.
6594 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6595 called internally.
6596 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6597 public aliases _IO_vsprintf and vsprintf.
6598 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6599 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6600 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6601 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6602 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6603
6604 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6605 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6606 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6607 * stdio-common/printf.c: Use __vfprintf_internal.
6608
6609 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6610 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6611 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6612
6613 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6614 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6615 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6616 __vfwprintf_internal.
6617
6618 * libio/libio.h: Remove libc_hidden_proto and declaration for
6619 _IO_vfprintf.
6620 Remove declaration of _IO_vfwprintf.
6621 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6622 _IO_vsprintf.
6623 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6624 _IO_obstack_printf.
6625 * include/stdio.h: Add prototype for __vasprintf.
6626 (__vsnprintf): Remove declaration, because there are no more
6627 internal calls.
6628 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6629 declaration, because there are no more internal calls.
6630
6631 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6632 __vsnprintf_internal, instead of _IO_vsnprintf.
6633 * argp/argp-help.c (__argp_error, __argp_failure): Use
6634 __vasprintf_internal, instead of _IO_vasprintf.
6635 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6636 redefine, because there are no more internal calls.
6637
6638 2018-12-05 Zack Weinberg <zackw@panix.com>
6639 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6640
6641 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6642 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6643 Include libio/strfile.h instead of libioP.h.
6644 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6645 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6646 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6647 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6648 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6649 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6650 necessary. Do not set __no_long_double. Normalize variable names.
6651 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6652 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6653 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6654 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6655 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6656 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6657 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6658 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6659 Do not set __no_long_double. Normalize variable names.
6660
6661 2018-12-05 Zack Weinberg <zackw@panix.com>
6662 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6663
6664 * stdio-common/isoc99_scanf.c
6665 * stdio-common/isoc99_fscanf.c
6666 * stdio-common/isoc99_sscanf.c
6667 * stdio-common/isoc99_vscanf.c
6668 * stdio-common/isoc99_vfscanf.c
6669 * stdio-common/isoc99_vsscanf.c
6670 * wcsmbs/isoc99_wscanf.c
6671 * wcsmbs/isoc99_fwscanf.c
6672 * wcsmbs/isoc99_swscanf.c
6673 * wcsmbs/isoc99_vwscanf.c
6674 * wcsmbs/isoc99_vfwscanf.c
6675 * wcsmbs/isoc99_vswscanf.c:
6676 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6677 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6678 No need to lock and unlock the FILE passed to that function.
6679
6680 * stdio-common/vfscanf-internal.c
6681 (__vfscanf_internal, __vfwscanf_internal):
6682 Don't look at _IO_FLAGS2_SCANF_STD.
6683 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6684 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6685 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6686
6687 2018-12-05 Zack Weinberg <zackw@panix.com>
6688 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6689
6690 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6691 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6692 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6693 * libio/strfile.h: Add multiple inclusion guard.
6694 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6695
6696 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6697 consistency with the other version of this file.
6698 (ldbl_compat_symbol): New macro.
6699 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6700 New macro.
6701
6702 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6703 Define __vfscanf_internal or __vfwscanf_internal, depending on
6704 COMPILE_WSCANF; don't define any other public symbols.
6705 Remove errval and code to set errp.
6706 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6707 as the mode_flags argument.
6708 (encode_error, conv_error, input_error): Don't set errval.
6709 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6710 Include vfscanf-internal.c.
6711 * stdio-common/vfscanf.c: New file defining the public entry
6712 point vfscanf, which calls __vfscanf_internal.
6713 * stdio-common/vfwscanf.c: New file defining the public entry
6714 point vfwscanf, which calls __vfwscanf_internal.
6715
6716 * stdio-common/iovfscanf.c: New file.
6717 * stdio-common/iovfwscanf.c: Likewise.
6718
6719 * stdio-common/Makefile (routines): Add vfscanf-internal,
6720 vfwscanf-internal, iovfscanf, iovfwscanf.
6721 * stdio-common/Versions: Mention GLIBC_2.29, so that
6722 it can be used in SHLIB_COMPAT expressions.
6723 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6724 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6725 Call __vfscanf_internal, instead of _IO_vfscanf.
6726 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6727 _IO_vfscanf.
6728 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6729 _IO_vfwscanf.
6730
6731 * libio/iovsscanf.c: Clean up includes, when possible. Use
6732 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6733 __vfscanf_internal or __vfwscanf_internal directly.
6734 * libio/iovswscanf.c: Likewise.
6735 * libio/swscanf.c: Likewise.
6736 * libio/vscanf.c: Likewise.
6737 * libio/vwscanf.c: Likewise.
6738 * libio/wscanf.c: Likewise.
6739 * stdio-common/isoc99_fscanf.c: Likewise.
6740 * stdio-common/isoc99_scanf.c: Likewise.
6741 * stdio-common/isoc99_sscanf.c: Likewise.
6742 * stdio-common/isoc99_vfscanf.c: Likewise.
6743 * stdio-common/isoc99_vscanf.c: Likewise.
6744 * stdio-common/isoc99_vsscanf.c: Likewise.
6745 * stdio-common/scanf.c: Likewise.
6746 * stdio-common/sscanf.c: Likewise.
6747 * wcsmbs/isoc99_fwscanf.c: Likewise.
6748 * wcsmbs/isoc99_swscanf.c: Likewise.
6749 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6750 * wcsmbs/isoc99_vswscanf.c: Likewise.
6751 * wcsmbs/isoc99_vwscanf.c: Likewise.
6752 * wcsmbs/isoc99_wscanf.c: Likewise.
6753
6754 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
6755
6756 * include/time.h
6757 (__tz_compute): Replace time_t with __time64_t.
6758 (__tz_convert): Replace time_t* with __time64_t.
6759 (__offtime): Replace time_t* with __time64_t.
6760 * time/gmtime.c
6761 (__gmtime_r): Adjust call to __tz_convert.
6762 (gmtime): Likewise.
6763 * time/localtime.c
6764 (__localtime_r): Likewise.
6765 (localtime): Likewise.
6766 * time/offtime.c: Replace time_t with __time64_t.
6767 * time/tzset.c: Likewise.
6768
6769 2018-12-04 Joseph Myers <joseph@codesourcery.com>
6770
6771 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6772 dynamic linker unless [$(run-built-tests) = yes].
6773
6774 2018-12-03 DJ Delorie <dj@delorie.com>
6775
6776 * support/test-container.c (check_for_unshare_hints): New.
6777 (main): Call it if unshare fails. Add support for "su" scriptlet
6778 command.
6779
6780 2018-12-03 Joseph Myers <joseph@codesourcery.com>
6781
6782 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6783 'START' to indicate that start text should be output.
6784 (gen_test): Likewise.
6785 (main): Generate 'START' for first symbol or '--' line, or at end
6786 of input if not previously generated.
6787
6788 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6789
6790 [BZ #19767]
6791 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6792 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6793 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6794 ALWAYS_USE_VSYSCALL.
6795
6796 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6797
6798 [BZ #23913]
6799 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6800 new_argv by one.
6801
6802 2018-12-03 Carlos O'Donell <carlos@redhat.com>
6803
6804 [BZ #23923]
6805 * locale/programs/localedef.c: Declare boolean hard_links default true.
6806 (options): Add --no-hard-links option.
6807 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6808 * locale/programs/localedef.h: Declare prototype for hard_links.
6809 * locale/programs/locfile.c (write_locale_data): Don't use hard
6810 links if hard_links is false.
6811
6812 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6813
6814 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6815 cpu_features_basic.
6816 (__cache_sysconf): Likewise.
6817 (init_cacheinfo): Likewise.
6818 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6819 populate COMMON_CPUID_INDEX_80000007 and
6820 COMMON_CPUID_INDEX_80000008.
6821 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6822 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6823 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6824 (init_cpu_features): Use _Static_assert on
6825 index_arch_Fast_Unaligned_Load.
6826 __get_cpuid_registers and __get_arch_feature. Updated for
6827 cpu_features_basic. Set stepping in cpu_features.
6828 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6829 (FEATURE_INDEX_2): New.
6830 (FEATURE_INDEX_MAX): Changed to enum.
6831 (COMMON_CPUID_INDEX_D_ECX_1): New.
6832 (COMMON_CPUID_INDEX_80000007): Likewise.
6833 (COMMON_CPUID_INDEX_80000008): Likewise.
6834 (cpuid_registers): Likewise.
6835 (cpu_features_basic): Likewise.
6836 (CPU_FEATURE_USABLE): Likewise.
6837 (bit_arch_XXX_Usable): Likewise.
6838 (cpu_features): Use cpuid_registers and cpu_features_basic.
6839 (bit_arch_XXX): Reweritten.
6840 (bit_cpu_XXX): Likewise.
6841 (index_cpu_XXX): Likewise.
6842 (reg_XXX): Likewise.
6843 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6844 <support/check.h>.
6845 (CHECK_CPU_FEATURE): New.
6846 (CHECK_CPU_FEATURE_USABLE): Likewise.
6847 (cpu_kinds): Likewise.
6848 (do_test): Print vendor, family, model and stepping. Check
6849 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6850 (TEST_FUNCTION): Removed.
6851 Include <support/test-driver.c> instead of
6852 "../../test-skeleton.c".
6853 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6854 Check POPCNT instead of POPCOUNT.
6855 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6856
6857 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6858
6859 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6860 there is no element in `consts'.
6861
6862 2018-12-01 Florian Weimer <fweimer@redhat.com>
6863
6864 * support/support_capture_subprocess.c
6865 (support_capture_subprocess): Check that pipe descriptors have
6866 expected values. Close original pipe descriptors in subprocess.
6867
6868 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6869
6870 [BZ #23032]
6871 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6872 attr with __pthread_default_barrierattr.
6873 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6874 attr with __pthread_default_condattr.
6875 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6876 attr with __pthread_default_mutexattr.
6877 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6878 attr with __pthread_default_rwlockattr.
6879
6880 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6881
6882 * manual/tunables.texi (POSIX Thread Tunables): New node.
6883 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6884 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6885 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6886 __pthread_tunables_init.
6887 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6888 (max_adaptive_count): Define.
6889 * nptl/pthread_mutex_conf.c: New file.
6890 * nptl/pthread_mutex_conf.h: New file.
6891 * sysdeps/generic/adaptive_spin_count.h: New file.
6892 * sysdeps/nptl/dl-tunables.list: New file.
6893 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6894 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6895 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6896 Likewise.
6897
6898 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6899
6900 [BZ #20544]
6901 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6902 * stdlib/on_exit.c (__on_exit): Likewise.
6903 * stdlib/Makefile (tests): Add tst-bz20544.
6904 * stdlib/tst-bz20544.c: New test.
6905
6906 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6907
6908 [BZ #19767]
6909 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6910 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6911 New.
6912
6913 2018-11-30 Florian Weimer <fweimer@redhat.com>
6914
6915 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6916 Extend error logging.
6917 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6918 symbol.
6919
6920 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6921
6922 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6923 __sigismember instead of sigismember.
6924 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6925 cancel_handler): New definitions.
6926 (do_system): Use posix_spawn instead of fork and execl and remove
6927 reentracy code.
6928 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6929 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6930 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6931 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6932 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6933 * sysdeps/unix/sysv/linux/system.c: Likewise.
6934
6935 [BZ #22834]
6936 [BZ #17490]
6937 * NEWS: Add new semantic for atfork with popen and system.
6938 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6939 fork and execl.
6940
6941 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6942
6943 [BZ #23690]
6944 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6945 modification order when accessing reloc_result->addr.
6946 * include/link.h (reloc_result): Add field init.
6947 * nptl/Makefile (tests): Add tst-audit-threads.
6948 (modules-names): Add tst-audit-threads-mod1 and
6949 tst-audit-threads-mod2.
6950 Add rules to build tst-audit-threads.
6951 * nptl/tst-audit-threads-mod1.c: New file.
6952 * nptl/tst-audit-threads-mod2.c: Likewise.
6953 * nptl/tst-audit-threads.c: Likewise.
6954 * nptl/tst-audit-threads.h: Likewise.
6955
6956 2018-11-30 Joseph Myers <joseph@codesourcery.com>
6957
6958 * scripts/gen-as-const.py: New file.
6959 * scripts/gen-as-const.awk: Remove.
6960 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6961 gen-as-const.py.
6962 ($(objpfx)test-as-const-%.c): Likewise.
6963
6964 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6965
6966 * elf/dl-exception.c: Include <_itoa.h>.
6967
6968 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6969
6970 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6971 returned by __f_setlk.
6972
6973 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6974 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6975
6976 * elf/Makefile (tests-internal): Add tst-create_format1.
6977 * elf/dl-exception.c (_dl_exception_create_format): Support
6978 %x, %lx and %zx.
6979 * elf/tst-create_format1.c: New file.
6980
6981 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6982
6983 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6984 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6985 gnulib.)
6986 * argp/argp-help.c (__argp_failure): Likewise.
6987
6988 2018-11-29 Mao Han <han_mao@c-sky.com>
6989
6990 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6991 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6992 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6993 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6994 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6995 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6996 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6997 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6998 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6999 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7000 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7001 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7002 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7003 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7004 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7005 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7006 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7007 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7008 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7009 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7010 (R_CKCORE_TLS_TPOFF32): New defines.
7011
7012 2018-11-29 Florian Weimer <fweimer@redhat.com>
7013
7014 * posix/Makefile (before-compile): Remove testcases.h and
7015 ptestcases.h.
7016 (generated): Add testcases.h and ptestcases.h.
7017 (testcases.h, ptestcases.h): Move to $(objpfx).
7018 (runtests.o): Add dependency on testcases.h.
7019 (runptests.o): Add dependency on ptestcases.h.
7020 * posix/testcases.h, posix/ptestcases.h: Remove files.
7021 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7022 not touch posix/testcases.h and posix/ptestcases.h.
7023
7024 2018-11-28 Florian Weimer <fweimer@redhat.com>
7025
7026 support: Add signal support to support_capture_subprocess_check.
7027 * support/capture_subprocess.h (support_capture_subprocess_check):
7028 Adjust comment and rename parameter.
7029 * support/support_capture_subprocess_check.c
7030 (print_actual_status): New function.
7031 (support_capture_subprocess_check): Support negative
7032 status_or_signal. Call print_actual_status.
7033 * support/tst-support_capture_subprocess.c (do_test): Call
7034 support_capture_subprocess_check.
7035 * libio/tst-vtables-common.c (termination_status)
7036 (init_termination_status): Remove.
7037 (check_for_termination): Adjust support_capture_subprocess_check
7038 call.
7039 (do_test): Remove call to init_termination_status.
7040
7041 2018-11-28 Joseph Myers <joseph@codesourcery.com>
7042
7043 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7044 source directory instead of a copy.
7045 (CommandList.create_copy_dir): Remove.
7046
7047 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
7048
7049 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7050
7051 2018-11-28 Florian Weimer <fweimer@redhat.com>
7052
7053 * support/support.h (support_quote_string): Do not use str
7054 parameter name.
7055
7056 2018-11-27 Joseph Myers <joseph@codesourcery.com>
7057
7058 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7059 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7060
7061 2018-11-27 Florian Weimer <fweimer@redhat.com>
7062
7063 * support/support.h (support_quote_string): Declare.
7064 * support/support_quote_string.c: New file.
7065 * support/tst-support_quote_string.c: Likewise.
7066 * support/Makefile (libsupport-routines): Add
7067 support_quote_string.
7068 (tests): Add tst-support_quote_string.
7069
7070 2018-11-27 Florian Weimer <fweimer@redhat.com>
7071
7072 [BZ #23927]
7073 CVE-2018-19591
7074 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7075 descriptor leak in case of ENODEV error.
7076
7077 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7078
7079 [BZ #19767]
7080 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7081 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7082 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7083
7084 2018-11-26 Carlos O'Donell <carlos@redhat.com>
7085
7086 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7087 Error for unknown lines.
7088
7089 2018-11-26 Joseph Myers <joseph@codesourcery.com>
7090
7091 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7092 Touch additional files.
7093
7094 2018-11-26 Florian Weimer <fweimer@redhat.com>
7095
7096 [BZ #23907]
7097 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7098 double-frees.
7099
7100 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7101
7102 [BZ #19767]
7103 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7104 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7105 SHARED. Include sysdep.h.
7106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7107 ALWAYS_USE_VSYSCALL.
7108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7109 ALWAYS_USE_VSYSCALL.
7110
7111 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7112
7113 [BZ #19767]
7114 * nptl/Makefile (tests-static): Add tst-cond11-static.
7115 (tests): Likewise.
7116 * nptl/tst-cond11-static.c: New File.
7117 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7118 tst-affinity-static.
7119 (tests): Likewise.
7120 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7121 instead of SHARED.
7122 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7123 (USE_VSYSCALL): Likewise.
7124 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7125 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7126 instead of SHARED.
7127 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7128 SHARED.
7129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7130 New.
7131
7132 2018-11-23 Joseph Myers <joseph@codesourcery.com>
7133
7134 [BZ #23915]
7135 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7136 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7137 Undefine.
7138
7139 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7140
7141 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7142 (tst-cet-legacy-1a-ARGS): New.
7143 ($(objpfx)tst-cet-legacy-1a): New target.
7144 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7145
7146 2018-11-22 Joseph Myers <joseph@codesourcery.com>
7147
7148 * conform/conformtest.py (CompileSubTest.__init__): Set
7149 self.run_early to False.
7150 (ExecuteSubTest.__init__): Likewise.
7151 (HeaderTests.run): Try running all non-optional, non-XFAILed
7152 compilation tests in a single execution of the compiler.
7153
7154 * conform/conformtest.py (CompileSubTest): New class.
7155 (ExecuteSubTest): Likewise.
7156 (ElementTest.run): Rename to gen_subtests. Append tests to
7157 self.subtests instead of running them.
7158 (ConstantTest.run): Likewise.
7159 (SymbolTest.run): Likewise.
7160 (TypeTest.run): Likewise.
7161 (TagTest.run): Likewise.
7162 (FunctionTest.run): Likewise.
7163 (VariableTest.run): Likewise.
7164 (MacroFunctionTest.run): Likewise.
7165 (MacroStrTest.run): Likewise.
7166 (HeaderTests.handle_test_line): Generate subtests for tests.
7167 (HeaderTests.run): Run subtests for tests.
7168
7169 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7170
7171 * math/Versions (GLIBC_2.29): Add pow.
7172 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7173 symbol.
7174 * math/w_pow.c: New file.
7175 * sysdeps/i386/fpu/w_pow.c: New file.
7176 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7177 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7178 and add necessary aliases.
7179 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7180 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7181 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7182 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7183 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7184 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7185 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7186 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7187 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7188 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7189 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7190 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7191 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7192 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7193 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7198 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7199 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7200 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7201 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7202 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7203 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7204 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7205 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7206 __pow.
7207 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7208 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7209 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7210
7211 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7212
7213 * math/Versions (GLIBC_2.29): Add log2.
7214 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7215 symbol.
7216 * math/w_log2.c: New file.
7217 * sysdeps/i386/fpu/w_log2.c: New file.
7218 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7219 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7220 and add necessary aliases.
7221 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7222 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7223 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7224 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7225 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7226 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7227 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7228 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7229 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7230 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7231 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7232 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7233 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7234 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7235 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7240 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7241 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7242 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7243 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7244 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7245 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7246 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7247
7248 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7249
7250 * math/Versions (GLIBC_2.29): Add log.
7251 * math/w_log_compat.c (__log_compat): Change to versioned compat
7252 symbol.
7253 * math/w_log.c: New file.
7254 * sysdeps/i386/fpu/w_log.c: New file.
7255 * sysdeps/ia64/fpu/e_log.S: Update.
7256 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7257 and add necessary aliases.
7258 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7259 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7260 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7261 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7262 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7263 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7264 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7265 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7266 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7267 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7268 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7269 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7270 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7271 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7272 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7277 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7278 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7279 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7280 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7281 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7282 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7283 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7284 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7285 __log.
7286 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7287 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7288 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7289 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7290
7291 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7292
7293 * math/Versions (GLIBC_2.29): Add exp and exp2.
7294 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7295 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7296 * math/w_exp_compat.c (__exp_compat): Likewise.
7297 * math/w_exp.c: New file.
7298 * math/w_exp2.c: New file.
7299 * sysdeps/i386/fpu/w_exp.c: New file.
7300 * sysdeps/i386/fpu/w_exp2.c: New file.
7301 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7302 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7303 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7304 and add necessary aliases.
7305 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7306 and add necessary aliases.
7307 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7308 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7309 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7310 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7311 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7312 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7313 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7314 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7315 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7316 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7317 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7318 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7319 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7320 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7321 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7322 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7323 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7328 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7329 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7330 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7331 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7332 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7333 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7334 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7335 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7336 (__ieee754_exp): Rename to __exp.
7337 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7338 (__ieee754_exp): Rename to __exp.
7339 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7340 (__ieee754_exp): Rename to __exp.
7341 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7342 __exp.
7343 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7344
7345 2018-11-20 DJ Delorie <dj@redhat.com>
7346
7347 * malloc/malloc.c (tcache_entry): Add key field.
7348 (tcache_put): Set it.
7349 (tcache_get): Likewise.
7350 (_int_free): Check for double free in tcache.
7351 * malloc/tst-tcfree1.c: New.
7352 * malloc/tst-tcfree2.c: New.
7353 * malloc/Makefile: Run the new tests.
7354 * manual/probes.texi: Document memory_tcache_double_free probe.
7355
7356 * dlfcn/dlerror.c (check_free): Prevent double frees.
7357
7358 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7359
7360 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7361
7362 2018-11-20 Joseph Myers <joseph@codesourcery.com>
7363
7364 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7365 in tests. Use names for format arguments.
7366 (ConstantTest.run): Likewise.
7367 (SymbolTest.run): Likewise.
7368 (TypeTest.run): Likewise.
7369 (TagTest.run): Likewise.
7370 (FunctionTest.run): Likewise.
7371 (VariableTest.run): Likewise.
7372 (MacroFunctionTest.run): Likewise.
7373 (MacroStrTest.run): Likewise.
7374 (HeaderTests.__init__): Set self.num_tests.
7375 (HeaderTests.handle_test_line): Set test.num. Increment
7376 self.num_tests.
7377
7378 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7379
7380 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7381 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7382 SEEK_SET.
7383
7384 2018-11-19 Mao Han <han_mao@c-sky.com>
7385
7386 * scripts/config.guess: Update to version 2018-08-29.
7387 * scripts/config.sub: Update to version 2018-08-29.
7388
7389 2018-11-19 Florian Weimer <fweimer@redhat.com>
7390
7391 support: Print timestamps in timeout handler.
7392 * support/support_test_main.c (print_timestamp): New function.
7393 (signal_handler): Use it to print the termination time and the
7394 time of the last write to standard output.
7395
7396 2018-11-16 Zack Weinberg <zackw@panix.com>
7397 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7398
7399 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7400 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7401 argument.
7402 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7403 and add flags argument. Check flags instead of __ldbl_is_dbl when
7404 deciding whether to set is_long_double.
7405 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7406 passing zero for flags argument.
7407 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7408
7409 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7410 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7411 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7412 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7413 variable names. Remove libc_hidden_def/libc_hidden_proto from
7414 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7415 longer called from within the library.
7416 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7417 for __nldbl___vstrfmon_l, declare it explicitly.
7418
7419 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7420
7421 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7422
7423 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7424 macros
7425 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7426 F_SETLK64, F_SETLKW64, respectively.
7427 * sysdeps/mach/hurd/f_setlk.c: New file.
7428 * sysdeps/mach/hurd/f_setlk.h: New file.
7429 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7430 f_setlk.
7431 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7432 (__libc_fcntl): Move non-flock operations to...
7433 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7434 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7435
7436 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7437
7438 mktime: DEBUG_MKTIME cleanup
7439 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7440 And it’s no longer needed now that glibc and Gnulib both have
7441 their own testing mechanisms for mktime.
7442 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7443
7444 mktime: fix non-EOVERFLOW errno handling
7445 [BZ#23789]
7446 mktime was not properly reporting failures when the underlying
7447 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7448 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7449 The problem could happen on non-glibc platforms, with Gnulib.
7450 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7451 (tm_diff): ... this simpler function, which does not change errno.
7452 All callers changed to deal with errno themselves.
7453 (ranged_convert, __mktime_internal): Return failure immediately if
7454 the underlying function reports any failure other than EOVERFLOW.
7455 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7456 gap code fails.
7457
7458 mktime: fix bug with Y2038 DST transition
7459 [BZ#23789]
7460 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7461 mishandle a DST transition that jumps over the Y2038 boundary.
7462 No such DST transitions are known so this is only a theoretical
7463 bug, but we might as well do things right.
7464
7465 mktime: make more room for overflow
7466 [BZ#23789]
7467 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7468 This is so that we can add tm_diff results to a previous guess,
7469 which will be useful in a later patch.
7470
7471 mktime: simplify offset guess
7472 [BZ#23789]
7473 * time/mktime.c (__mktime_internal): Omit excess precision.
7474
7475 mktime: new test for mktime failure
7476 [BZ#23789]
7477 Based on a test suggested by Albert Aribaud in:
7478 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7479 * time/Makefile (tests): Add bug-mktime4.
7480 * time/bug-mktime4.c: New file.
7481
7482 mktime: fix EOVERFLOW bug
7483 [BZ#23789]
7484 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7485 Include libc-config.h, not config.h, for __set_errno.
7486 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7487
7488 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7489
7490 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7491 __attribute_copy__ to copy attributes from name. Drop static qualifier
7492 to avoid warnings about leaf attribute not having effect on static
7493 functions.
7494
7495 2018-11-13 Florian Weimer <fweimer@redhat.com>
7496
7497 * malloc/malloc.c (fastbin_push_entry): New function.
7498 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7499 (REMOVE_FB): Remove macro.
7500 (_int_malloc): Use fastbin_pop_entry and reindent.
7501 (_int_free): Use fastbin_push_entry.
7502 (malloc_consolidate): Use atomic_exchange_acquire.
7503
7504 2018-11-13 Joseph Myers <joseph@codesourcery.com>
7505
7506 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7507 alias attribute, not with strong_alias.
7508
7509 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7510 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7511 with additional parameter thread.
7512 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7513 in terms of __hidden_ver2.
7514 (hidden_tls_def): New macro.
7515 (libc_hidden_tls_def): Likewise.
7516 (rtld_hidden_tls_def): Likewise.
7517 (libm_hidden_tls_def): Likewise.
7518 (libmvec_hidden_tls_def): Likewise.
7519 (libresolv_hidden_tls_def): Likewise.
7520 (librt_hidden_tls_def): Likewise.
7521 (libdl_hidden_tls_def): Likewise.
7522 (libnss_files_hidden_tls_def): Likewise.
7523 (libnsl_hidden_tls_def): Likewise.
7524 (libnss_nisplus_hidden_tls_def): Likewise.
7525 (libutil_hidden_tls_def): Likewise.
7526 (libutil_hidden_tls_def): Likweise.
7527 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7528 libc_hidden_tls_def.
7529 (__sim_disabled_exceptions_thread): Likewise.
7530 (__sim_round_mode_thread): Likewise.
7531
7532 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7533 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7534 copy attributes from name.
7535
7536 2018-11-12 Joseph Myers <joseph@codesourcery.com>
7537
7538 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7539 Use __attribute_copy__ to copy attributes from name.
7540
7541 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7542 with __hidden_ver1 call.
7543 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7544 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7545 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7546 (__cosf): Do not declare here.
7547 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7548 (__sincosf): Do not declare here.
7549 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7550 (__sinf): Do not declare here.
7551
7552 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7553 (__BIG_ENDIAN): Likewise.
7554 (__BYTE_ORDER): Likewise.
7555 (strong_alias): Likewise.
7556 (_strong_alias): Likewise.
7557
7558 2018-11-12 Florian Weimer <fweimer@redhat.com>
7559
7560 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7561 function. Move after the definition of in_smallbin_range. Do not
7562 use __builtin_expect for paths that lead to a noreturn function.
7563 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7564 because it is unclear whether this is in fact an unlikely
7565 condition.
7566 (_int_malloc, _int_free): Adjust.
7567 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7568 variables.
7569 * malloc/arena.c (heap_trim): Likewise.
7570
7571 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7572
7573 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7574 it, free it if needed.
7575 (reauthenticate): Test and use ccwdir.
7576 (child_init_port): In non-resetids case, test and use ccwdir.
7577 (child_chdir): New nested function to set ccwdir.
7578 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7579 * hurd/hurd/port.h (_hurd_port_move): New function.
7580 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7581 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
7582 * hurd/Versions (_hurd_port_move): Export function.
7583 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7584 symbol.
7585 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7586 of dtablesize for allocating dtable_cloexec.
7587
7588 2018-11-09 Martin Sebor <msebor@redhat.com>
7589
7590 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7591 it's already defined.
7592 (_strong_alias): Use __attribute_copy__.
7593 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7594 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7595 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7596 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7597 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7598 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7599 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7600 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7601 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7602 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7603 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7604 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7605 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7606 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7607 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7608 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7609 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7610 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7611 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7612
7613 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7614
7615 * misc/tst-efgcvt.c: Include support/check.h and
7616 support/test-driver.c. Do not include test-skeleton.c.
7617 (error_count): Remove.
7618 (output_error): Replace increments to error_count with calls to
7619 support_record_failure.
7620 (output_r_error): Likewise.
7621 (special): Likewise.
7622 (do_test): Unconditionally return zero.
7623 (TEST_FUNCTION): Remove.
7624
7625 2018-11-09 Joseph Myers <joseph@codesourcery.com>
7626
7627 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7628 not $(@D)/scratch.
7629 ($(linknamespace-header-tests)): Likewise.
7630
7631 * conform/conformtest.py: New file.
7632 * conform/conformtest.pl: Remove.
7633 * conform/GlibcConform.pm: Likewise.
7634 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7635 (KEYWORDS_C99): Likewise.
7636 (KEYWORDS): Likewise.
7637 * conform/Makefile ($(conformtest-header-tests)): Use
7638 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7639 option. Use --header instead of --headers.
7640 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7641 function entries.
7642 * conform/data/spawn.h-data: Likewise.
7643 * conform/data/fcntl.h-data (openat): Add space after function
7644 name.
7645 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7646 (wcscasecmp_l): Likewise.
7647 * conform/data/termios.h-data (c_cc): Add space after element
7648 name.
7649
7650 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7651
7652 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7653 instead of manually comparing and reporting mismatching strings.
7654 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7655 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7656
7657 2018-11-08 Joseph Myers <joseph@codesourcery.com>
7658
7659 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7660 __ASSUME_SOCKETCALL.
7661 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7662 (__ASSUME_SOCKETCALL): Remove.
7663 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7664 (__ASSUME_SOCKETCALL): Likewise.
7665 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7666 (__ASSUME_SOCKETCALL): Likewise.
7667 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7668 (__ASSUME_SOCKETCALL): Likewise.
7669 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7670 (__ASSUME_SOCKETCALL): Likewise.
7671 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7672 (__ASSUME_SOCKETCALL): Likewise.
7673 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7674 (__ASSUME_SOCKETCALL): Likewise.
7675
7676 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7677
7678 [BZ #23509]
7679 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7680 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7681 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7682 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7683 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7684 lc_unknown.
7685
7686 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7687
7688 [BZ #17630]
7689 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7690
7691 2018-11-07 Joseph Myers <joseph@codesourcery.com>
7692
7693 [BZ #23867]
7694 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7695 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7696 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7697 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7698
7699 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7700
7701 * support/support_test_compare_string.c
7702 (support_test_compare_string): Fix printf format.
7703
7704 2018-11-07 Florian Weimer <fweimer@redhat.com>
7705
7706 Implement TEST_COMPARE_STRING.
7707 * support/check.h (TEST_COMPARE_STRING): Define.
7708 (support_test_compare_string): Declare.
7709 * support/Makefile (libsupport-routines): Add
7710 support_test_compare_string.
7711 (tests): Add tst-test_compare_string.
7712 * support/support_test_compare_string.c: New file.
7713 * support/tst-test_compare_string.c: Likewise.
7714
7715 2018-11-07 Andreas Schwab <schwab@suse.de>
7716
7717 [BZ #23864]
7718 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7719 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7720 Undef.
7721
7722 2018-11-06 Joseph Myers <joseph@codesourcery.com>
7723
7724 [BZ #23862]
7725 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7726 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7727 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7728 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7729 Likewise.
7730
7731 2018-11-06 Florian Weimer <fweimer@redhat.com>
7732
7733 [BZ #17405]
7734 * posix/Makefile (routines): Add spawn_faction_addchdir.
7735 (tests): Add tst-spawn-chdir.
7736 * posix/Versions (GLIBC_2.29): Add
7737 posix_spawn_file_actions_addchdir_np.
7738 * posix/spawn_faction_addchdir.c: New file.
7739 * posix/spawn_faction_destroy.c
7740 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7741 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7742 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7743 chdir_action.
7744 * posix/tst-spawn-chdir.c: New file.
7745 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7746 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7747 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7748 posix_spawn_file_actions_addchdir_np.
7749 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7750 Likewise.
7751 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7752 Likewise.
7753 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7754 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7755 Likewise.
7756 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7757 Likewise.
7758 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7759 Likewise.
7760 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7761 Likewise.
7762 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7763 Likewise.
7764 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7765 Likewise.
7766 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7767 (GLIBC_2.29): Likewise.
7768 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7769 (GLIBC_2.29): Likewise.
7770 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7771 (GLIBC_2.29): Likewise.
7772 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7773 (GLIBC_2.29): Likewise.
7774 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7775 Likewise.
7776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7777 (GLIBC_2.29): Likewise.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7779 (GLIBC_2.29): Likewise.
7780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7781 (GLIBC_2.29): Likewise.
7782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7783 (GLIBC_2.29): Likewise.
7784 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7785 Likewise.
7786 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7787 Likewise.
7788 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7789 Likewise.
7790 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7791 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7792 Likewise.
7793 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7794 Likewise.
7795 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7796 Likewise.
7797 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7798 Likewise.
7799
7800 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7801
7802 * misc/Makefile (tests): Add tst-ldbl-error.
7803 * misc/tst-ldbl-error.c: New file.
7804
7805 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7806
7807 * misc/Makefile (tests): Add tst-ldbl-warn.
7808 * misc/tst-ldbl-warn.c: New file.
7809
7810 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7811
7812 * argp/Makefile (tests): Add tst-ldbl-argp.
7813 * argp/tst-ldbl-argp.c: New file.
7814
7815 2018-11-05 Arjun Shankar <arjun@redhat.com>
7816
7817 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7818 __gconv_path_elem and call __gconv_get_path unconditionally.
7819
7820 2018-11-05 Andreas Schwab <schwab@suse.de>
7821
7822 [BZ #22927]
7823 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7824 creating the first helper thread failed.
7825
7826 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7827
7828 * sysdeps/mach/hurd/msync.c: New file.
7829
7830 2018-11-02 Florian Weimer <fweimer@redhat.com>
7831
7832 * support/shell-container.c (copy_func): Call
7833 support_copy_file_range instead of copy_file_range to support
7834 cross-device copies.
7835
7836 2018-11-02 Florian Weimer <fweimer@redhat.com>
7837
7838 * support/test-container.c: Include <libc-pointer-arith.h> for
7839 ALIGN_UP.
7840
7841 2018-11-01 Zong Li <zong@andestech.com>
7842
7843 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7844 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7845 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7846 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7847
7848 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7849 variable to avoid overlap arguments.
7850
7851 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7852
7853 * posix/bug-regex22.c (main): Use puts with distinct error
7854 messages for unexpected success of re_compile_pattern, not printf
7855 with NULL argument to %s.
7856
7857 * stdio-common/bug22.c: Include <libc-diag.h>.
7858 (do_test): Disable -Wformat-overflow= warnings around fprintf
7859 calls outputting more than INT_MAX characters.
7860 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7861 around printf call with NULL %s argument.
7862
7863 [BZ #23848]
7864 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7865 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7866 Undefine.
7867 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7868 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7869 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7870 (__ASSUME_SENDTO_SYSCALL): Likewise.
7871 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7872 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7873 [!__arch64__].
7874 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7875 (__ASSUME_CONNECT_SYSCALL): Likewise.
7876 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7877 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7878 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7879 Define.
7880 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7881 Likewise.
7882 [__LINUX_KERNEL_VERSION >= 0x040400]
7883 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7884 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7885 Remove.
7886 (listen): Likewise.
7887 (setsockopt): Likewise.
7888
7889 2018-11-01 Fredrik Noring <noring@nocrew.org>
7890
7891 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7892 with the ISA override.
7893
7894 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7895
7896 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7897 #endif.
7898
7899 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7900
7901 * manual/errno.texi (EIEIO): Document how translators should
7902 translate the error message.
7903 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7904 printing trailing whitespaces refused by git.
7905 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7906 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7907 * hurd/Makefile (user-interfaces): Add pci.
7908
7909 2018-10-30 Joseph Myers <joseph@codesourcery.com>
7910
7911 * conform/linknamespace.py: New file.
7912 * conform/linknamespace.pl: Remove file.
7913 * conform/Makefile ($(linknamespace-header-tests)): Use
7914 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7915 option.
7916
7917 2018-10-30 Florian Weimer <fweimer@redhat.com>
7918
7919 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7920 memory leaks.
7921
7922 2018-10-30 Florian Weimer <fweimer@redhat.com>
7923
7924 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7925
7926 2018-10-30 Florian Weimer <fweimer@redhat.com>
7927
7928 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7929 support_blob_repeat.
7930
7931 2018-10-30 Florian Weimer <fweimer@redhat.com>
7932
7933 Avoid spurious test failures in stdlib/test-bz22786.
7934 * support/Makefile (libsupport-routines): Add blob_repeat.
7935 (tests): Add tst-support_blob_repeat.
7936 * support/blob_repeat.h: New file.
7937 * support/blob_repeat.c: Likewise.
7938 * support/tst-support_blob_repeat.c: Likewise.
7939 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7940 support_blob_repeat_allocate.
7941
7942 2018-10-30 Andreas Schwab <schwab@suse.de>
7943
7944 [BZ #23125]
7945 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7946 Don't use tail call.
7947 * elf/tst-unwind-main.c: New file.
7948 * elf/Makefile (tests): Add tst-unwind-main.
7949 (CFLAGS-tst-unwind-main.c): Define.
7950
7951 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
7952
7953 [BZ #23791]
7954 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7955 n_cs_precedes to 0.
7956 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7957
7958 2018-10-29 Joseph Myers <joseph@codesourcery.com>
7959
7960 * conform/glibcconform.py: Do not import shutil.
7961 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7962 of mkdtemp.
7963
7964 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7965 critic_missing for versions before 3.4.
7966 * configure: Regenerated.
7967 * manual/install.texi (Tools for Compilation): Document
7968 requirement for Python to build glibc.
7969 * INSTALL: Regenerated.
7970 * Rules [PYTHON]: Make code unconditional.
7971 * benchtests/Makefile [PYTHON]: Likewise.
7972 * conform/Makefile [PYTHON]: Likewise.
7973 * manual/Makefile [PYTHON]: Likewise.
7974 * math/Makefile [PYTHON]: Likewise.
7975
7976 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7977
7978 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
7979 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
7980 answer to interrupt_operation, return EIEIO instead of EINTR.
7981 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7982 _hurd_intr_rpc_msg_about_to global point to start of controlled
7983 assembly snippet. Make it check canceled flag.
7984 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7985 the _hurd_intr_rpc_msg_about_to point.
7986 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7987 issue, remove cancel flag check.
7988
7989 2018-10-26 Joseph Myers <joseph@codesourcery.com>
7990
7991 * scripts/build-many-glibcs.py: Remove compatibility for missing
7992 os.cpu_count and re.fullmatch.
7993
7994 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7995
7996 [BZ #23822]
7997 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7998 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7999 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8000
8001 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8002
8003 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8004 macro.
8005
8006 2018-10-25 Florian Weimer <fweimer@redhat.com>
8007
8008 [BZ #23562]
8009 [BZ #23821]
8010 XFAIL siginfo_t si_band conform test on sparc64.
8011 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8012 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8013 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8014 (conformtest-xfail-conds): Add sparc64-linux.
8015 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8016 sparc64.
8017 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8018
8019 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8020
8021 * elf/elf.h (NT_MIPS_DSP): New macro.
8022 (NT_MIPS_FP_MODE): Likewise.
8023
8024 2018-10-25 Zong Li <zong@andestech.com>
8025
8026 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8027 name by adding the file extension (.so).
8028
8029 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8030
8031 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8032 (test-xfail-ISO11/threads.h/linknamespace,
8033 test-xfail-ISO11/threads.h/conform): Add.
8034
8035 2018-10-24 Joseph Myers <joseph@codesourcery.com>
8036
8037 * math/gen-libm-test.py: Import os.
8038 (ALL_FLOATS_MANUAL): New constant.
8039 (ALL_FLOATS_SUFFIX): Likewise.
8040 (Ulps.all_functions): New function.
8041 (real_all_ulps): Likewise.
8042 (generate_err_table_sub): Likewise.
8043 (generate_err_table): Likewise.
8044 (main): Handle -s and -m options.
8045 * manual/libm-err-tab.pl: Remove.
8046 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8047 instead of libm-err-tab.pl.
8048 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8049 != no].
8050 * manual/install.texi (Tools for Compilation): Document
8051 requirement for Python to build manual.
8052 * INSTALL: Regenerated.
8053
8054 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8055
8056 * bits/time64.h: New file.
8057 * include/time.h: Replace internal_time_t with __time64_t.
8058 * posix/bits/types (__time64_t): Add.
8059 * stdlib/Makefile: Add bits/time64.h to includes.
8060 * time/tzfile.c: Replace internal_time_t with __time64_t.
8061
8062 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8063
8064 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8065 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8066 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8067 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8068 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8069 prototype.
8070 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8071 * posix/spawn_faction_addclose.c
8072 (__posix_spawn_file_actions_addclose): Add hidden definition.
8073 * posix/spawn_faction_adddup2.c
8074 (__posix_spawn_file_actions_adddup2): Likewise.
8075 * posix/spawn_faction_destroy.c
8076 (__posix_spawn_file_actions_destroy): Likewise.
8077 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8078 Likewise.
8079 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8080 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8081 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8082 Likewise.
8083 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8084 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8085 Likewise.
8086
8087 2018-10-24 Andreas Schwab <schwab@suse.de>
8088
8089 [BZ #18093]
8090 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8091 format cache.
8092 * elf/cache.c (print_cache): Likewise.
8093
8094 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8095
8096 * bits/timesize.h: New file.
8097 * stdlib/Makefile (headers): Add bits/timesize.h.
8098 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8099 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8100 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8101 (__SEM_PAD_AFTER_TIME): Likewise.
8102 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8103 (__SHM_PAD_AFTER_TIME): Likewise.
8104 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8105 (__MSQ_PAD_BEFORE_TIME): Likewise.
8106 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8107 (__SEM_PAD_BEFORE_TIME): Likewise.
8108 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8109 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8110 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
8111 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8112 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8113 (__MSQ_PAD_BEFORE_TIME): Likewise.
8114 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8115 (__SEM_PAD_BEFORE_TIME): Likewise.
8116 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8117 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8118 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8119 (__MSQ_PAD_BEFORE_TIME): Likewise.
8120 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8121 (__SEM_PAD_BEFORE_TIME): Likewise.
8122 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8123 (__SHM_PAD_BEFORE_TIME): Likewise.
8124 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8125 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8126 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8127
8128 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8129
8130 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8131 USE_RDTSCP is defined.
8132 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8133 USE_RDTSCP is defined.
8134
8135 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8136
8137 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8138 defined.
8139
8140 [BZ #23709]
8141 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8142 independently of other flags.
8143
8144 2018-10-23 Florian Weimer <fweimer@redhat.com>
8145
8146 * time/tst-mktime2.c (N_STRINGS): Remove.
8147 (set_timezone): New function.
8148 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8149 (mktime_test1): Report localtime failure and check errno value.
8150 Use TEST_COMPARE.
8151 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8152 (do_test): Remove alarm call. Use set_timezone and array_length.
8153
8154 2018-10-23 Andreas Schwab <schwab@suse.de>
8155
8156 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8157 (__start_context): Use END instead of PSEUDO_END.
8158
8159 2018-10-22 Joseph Myers <joseph@codesourcery.com>
8160
8161 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8162 version to 4.19.
8163
8164 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8165 version to 4.19.
8166
8167 [BZ #23793]
8168 * wcsmbs/c32rtomb.c: New file.
8169 * wcsmbs/mbrtoc32.c: Likewise.
8170 * wcsmbs/tst-c32-state.c: Likewise.
8171 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8172 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8173 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8174 (tests): Add tst-c32-state.
8175 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8176 $(gen-locales).
8177
8178 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8179
8180 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8181 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8182
8183 2018-10-19 Joseph Myers <joseph@codesourcery.com>
8184
8185 [BZ #23794]
8186 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8187 pair and return 0 in that case, and use saved character to
8188 interpret following character.
8189 * wcsmbs/tst-c16-surrogate.c: New file.
8190 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8191 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8192 Depend on $(gen-locales)
8193
8194 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8195
8196 [BZ #23562]
8197 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8198 (struct siginfo_t): Use correct type for si_band.
8199
8200 2018-10-19 Florian Weimer <fweimer@redhat.com>
8201
8202 [BZ #23689]
8203 * resource/bits/types/struct_rusage.h (struct rusage): Update
8204 comment on struct. Remove extraneous field comment.
8205
8206 2018-10-18 David S. Miller <davem@davemloft.net>
8207
8208 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8209 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8210 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8211 sysdep_routines in subdir elf.
8212 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8213 version for __vdso_clock_gettime.
8214 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8215 Define.
8216 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8217 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8218
8219 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8220
8221 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8222
8223 * sysdeps/i386/init-arch.h: Removed.
8224 * sysdeps/i386/i586/init-arch.h: Likewise.
8225 * sysdeps/i386/i686/init-arch.h: Likewise.
8226 * sysdeps/i386/i686/hp-timing.h: Likewise.
8227 * sysdeps/x86_64/hp-timing.h: Likewise.
8228 * sysdeps/i386/isa.h: New file.
8229 * sysdeps/i386/i586/isa.h: Likewise.
8230 * sysdeps/i386/i686/isa.h: Likewise.
8231 * sysdeps/x86_64/isa.h: Likewise.
8232 * sysdeps/x86/hp-timing.h: New file.
8233 * sysdeps/x86/init-arch.h: Include <isa.h>.
8234
8235 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8236
8237 * math/libm-test-pow.inc (pow_test_data): Do not allow
8238 divide-by-zero exception for pow(+/- 0, -Inf).
8239
8240 2018-10-17 Zack Weinberg <zackw@panix.com>
8241
8242 * manual/job.texi (Job Control is Optional): Remove node, as
8243 job control has not been optional in quite some time.
8244 (Job Control): Mention briefly that systems older than
8245 POSIX.1-2001 might not support job control.
8246 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8247 defined on systems conforming to POSIX.1-2001.
8248
8249 2018-10-17 Arjun Shankar <arjun@redhat.com>
8250
8251 [BZ #22062]
8252 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8253 indentation.
8254 * (__gconv_read_conf): Mark function static.
8255 * (once): New static variable.
8256 * (__gconv_load_conf): New function.
8257 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8258 * iconv/gconv_db.c (once): Remove static variable.
8259 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8260 __gconv_read_conf.
8261 * (__gconv_find_transform): Likewise.
8262 * iconv/tst-iconv-mt.c: New test.
8263 * iconv/Makefile: Add tst-iconv_mt.
8264
8265 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8266
8267 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8268 bits/shm-pad.h.
8269 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8270 (shmatt_t): Define as __syscall_ulong_t.
8271 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8272 and [__SHM_PAD_AFTER_TIME].
8273 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8274 Define shm_segsz and associated padding based on
8275 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8276 Use __syscall_ulong_t instead of unsigned long int.
8277 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8278 unsigned long int.
8279 [__USE_MISC] (struct shm_info): Likewise.
8280 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8281 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8282 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8283 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8284 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8285 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8286 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8287 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8288 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8289 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8290 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8291
8292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8293 bits/shmlba.h.
8294 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8295 (SHMLBA): Remove macro.
8296 (__getpagesize): Remove function declaration.
8297 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8298 <bits/shmlba.h>.
8299 (SHMLBA): Remove macro.
8300 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8301 <bits/shmlba.h>.
8302 (SHMLBA): Remove macro.
8303 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8304 <bits/shmlba.h>.
8305 (SHMLBA): Remove macro.
8306 (__getpagesize): Remove function declaration.
8307 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8308 <bits/shmlba.h>.
8309 (SHMLBA): Remove macro.
8310 (__getshmlba): Remove function declaration.
8311 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8312 (SHMLBA): Remove macro.
8313 (__getpagesize): Remove function declaration.
8314 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8315 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8316 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8317 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8318 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8319 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8320 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8321 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8322 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8323 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8324
8325 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
8326
8327 [BZ #23275]
8328 * nptl/tst-mutex10.c: New File.
8329 * nptl/Makefile (tests): Add tst-mutex10.
8330 (tst-mutex10-ENV): New variable.
8331 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8332 Ensure that elision path is used if elision is available.
8333 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8334 Likewise.
8335 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8336 Likewise.
8337 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8338 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8339 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8340 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8341 Likewise.
8342 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8343 (__pthread_mutex_cond_lock_adjust): Likewise.
8344 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8345 Likewise.
8346 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8347 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8348 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8349 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8350 Add comments.
8351 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8352 Use atomic_load_relaxed and atomic_store_relaxed.
8353 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8354 Use atomic_store_relaxed.
8355
8356 2018-10-17 Andreas Schwab <schwab@suse.de>
8357
8358 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8359 * crypt/badsalttest.c (TIMEOUT): Likewise.
8360 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8361 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8362 * io/test-lfs.c (TIMEOUT): Likewise.
8363 * libio/tst-atime.c (TIMEOUT): Likewise.
8364 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8365 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8366 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8367 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8368 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8369 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8370 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8371 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8372 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8373 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8374 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8375 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8376 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8377 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8378 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8379 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8380 * nptl/tst-once2.c (TIMEOUT): Likewise.
8381 * nptl/tst-once3.c (TIMEOUT): Likewise.
8382 * nptl/tst-once4.c (TIMEOUT): Likewise.
8383 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8384 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8385 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8386 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8387 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8388 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8389 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8390 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8391 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8392 * posix/tst-chmod.c (TIMEOUT): Likewise.
8393 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8394 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8395 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8396 * posix/tst-regex2.c (TIMEOUT): Likewise.
8397 * posix/tst-waitid.c (TIMEOUT): Likewise.
8398 * rt/tst-aio.c (TIMEOUT): Likewise.
8399 * rt/tst-aio10.c (TIMEOUT): Likewise.
8400 * rt/tst-aio4.c (TIMEOUT): Likewise.
8401 * rt/tst-aio5.c (TIMEOUT): Likewise.
8402 * rt/tst-aio6.c (TIMEOUT): Likewise.
8403 * rt/tst-aio64.c (TIMEOUT): Likewise.
8404 * rt/tst-aio7.c (TIMEOUT): Likewise.
8405 * rt/tst-aio9.c (TIMEOUT): Likewise.
8406 * rt/tst-clock.c (TIMEOUT): Likewise.
8407 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8408 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8409 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8410 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8411 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8412 * rt/tst-timer4.c (TIMEOUT): Likewise.
8413 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8414 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8415 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8416 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8417 * time/tst-ftime.c (TIMEOUT): Likewise.
8418 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8419
8420 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
8421
8422 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8423 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8424 for thunderX2.
8425
8426 2018-10-15 Joseph Myers <joseph@codesourcery.com>
8427
8428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8429 bits/sem-pad.h.
8430 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8431 instead of <bits/wordsize.h>.
8432 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8433 and [__SEM_PAD_AFTER_TIME].
8434 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8435 __syscall_ulong_t instead of unsigned long int.
8436 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8437 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8438 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8439 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8440 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8441 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8442 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8443 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8444 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8445 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8446 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8447
8448 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8449
8450 regex: simplify by using intprops.h
8451 [BZ#23744]
8452 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8453 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8454 intprops.h defines them.
8455
8456 regex: __builtin_expect → __glibc_unlikely
8457 [BZ#23744]
8458 This refactoring was prompted by a problem when the regex code is
8459 used as part of Gnulib and when the builder’s compiler does not grok
8460 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8461 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8462 Although this refactoring does not fix the problem directly,
8463 we might as well have Gawk use the now-preferred glibc style for when
8464 __builtin_expect is unavailable.
8465 * posix/regex_internal.h (BE): Remove.
8466 All uses replaced by __glibc_unlikely or __glibc_likely.
8467
8468 2018-10-11 Joseph Myers <joseph@codesourcery.com>
8469
8470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8471 bits/msq-pad.h.
8472 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8473 instead of <bits/wordsize.h>.
8474 (msgqnum_t): Define as __syscall_ulong_t.
8475 (msglen_t): Likewise.
8476 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8477 and [__MSQ_PAD_AFTER_TIME].
8478 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8479 __syscall_ulong_t instead of unsigned long int.
8480 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8481 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8482 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8483 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8484 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8485 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8486 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8487 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8488 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8489 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8490 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8491
8492 2018-10-10 Joseph Myers <joseph@codesourcery.com>
8493
8494 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8495 (struct shmid_ds): Condition padding after time fields on
8496 [__WORDSIZE == 32].
8497 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8498 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8499 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8500
8501 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8502 (struct semid_ds): Condition padding after time fields on
8503 [__WORDSIZE == 32].
8504 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8505 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8506 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8507 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8508
8509 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8510 (struct msqid_ds): Condition padding after time fields on
8511 [__WORDSIZE == 32].
8512 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8513 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8514 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8515 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8516
8517 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8518
8519 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8520
8521 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8522
8523 * libio/tst-readline.c (TIMEOUT): Define.
8524
8525 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8526
8527 mktime fix for Gnulib + coreutils
8528 [BZ#23745]
8529 This fix affects only Gnulib. Problem discovered when
8530 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8531 * time/mktime.c:
8532 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8533 Do not define since it is not used. Defining an unused static
8534 function prompts a warning from GCC when Coreutils is configured
8535 with --enable-gcc-warnings.
8536
8537 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8538
8539 * benchtests/scripts/compare_bench.py (main): set float type on
8540 threshold argument.
8541
8542 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8543
8544 [BZ #23740]
8545 * localedata/locales/kl_GL (mon): Update, the relative case.
8546 (alt_mon): Add, fill with month names in the nominative case.
8547 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8548 (d_fmt): Set to "%b %d %Y".
8549
8550 2018-10-04 Joseph Myers <joseph@codesourcery.com>
8551
8552 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8553 <bits/mman-linux.h>.
8554 (PROT_READ): Don't define here.
8555 (PROT_WRITE): Likewise.
8556 (PROT_EXEC): Likewise.
8557 (PROT_NONE): Likewise.
8558 (PROT_GROWSDOWN): Likewise.
8559 (PROT_GROWSUP): Likewise.
8560 (MAP_SHARED): Likewise.
8561 (MAP_PRIVATE): Likewise.
8562 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8563 [__USE_MISC] (MAP_FILE): Likewise.
8564 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8565 [__USE_MISC] (MAP_ANON): Likewise.
8566 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8567 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8568 (MCL_CURRENT): Likewise.
8569 (MCL_FUTURE): Likewise.
8570 (MCL_ONFAULT): Likewise.
8571 [__USE_MISC] (MADV_NORMAL): Likewise.
8572 [__USE_MISC] (MADV_RANDOM): Likewise.
8573 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8574 [__USE_MISC] (MADV_WILLNEED): Likewise.
8575 [__USE_MISC] (MADV_DONTNEED): Likewise.
8576 [__USE_MISC] (MADV_FREE): Likewise.
8577 [__USE_MISC] (MADV_REMOVE): Likewise.
8578 [__USE_MISC] (MADV_DONTFORK): Likewise.
8579 [__USE_MISC] (MADV_DOFORK): Likewise.
8580 [__USE_MISC] (MADV_HWPOISON): Likewise.
8581 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8582 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8583 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8584 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8585 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8586 (__MAP_ANONYMOUS): New macro.
8587 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8588 <bits/mman-linux.h> inclusion.
8589 (MAP_FIXED): Likewise.
8590 (MS_SYNC): Likewise.
8591 (MS_ASYNC): Likewise.
8592 (MS_INVALIDATE): Likewise.
8593 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8594 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8595 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8596 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8597 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8598 [__USE_MISC] (MADV_DODUMP): Likewise.
8599 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8600 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8601
8602 [BZ #23735]
8603 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8604 Define.
8605 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8606 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8607 Add test-nldbl-redirect.
8608 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8609 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8610 $(objpfx)libnldbl_nonshared.a.
8611
8612 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
8613
8614 * support/support.h (support_objdir_elf_ldso): New variable.
8615 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8616 * support/Makefile (CFLAGS-support_paths.c): Add definition
8617 for OBJDIR_ELF_LDSO_PATH.
8618 * support/test-container.c (main): Search for the ld.so
8619 which is also used by the testsuite.
8620
8621 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8622
8623 [BZ #20209]
8624 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8625 should be "sap" rather than "sab".
8626 (day): Fix spelling of Sunday, should be "sapaat" rather than
8627 "sabaat".
8628
8629 2018-10-02 Joseph Myers <joseph@codesourcery.com>
8630
8631 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8632
8633 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8634
8635 [BZ #19444]
8636 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8637 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8638 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8639
8640 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8641
8642 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8643
8644 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8645
8646 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8647 Add -mrtm.
8648 (CFLAGS-elision-unlock.c): Likewise.
8649 (CFLAGS-elision-timed.c): Likewise.
8650 (CFLAGS-elision-trylock.c): Likewise.
8651 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8652
8653 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8654
8655 [BZ #21037]
8656 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8657 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8658 new fd_to_filename interface.
8659 * libio/freopen64.c (freopen64): Likewise.
8660 * libio/tst-memstream.h: New file.
8661 * libio/tst-memstream4.c: Likewise.
8662 * libio/tst-wmemstream4.c: Likewise.
8663 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8664 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8665 and remove internal dynamic allocation.
8666
8667 2018-10-01 Joseph Myers <joseph@codesourcery.com>
8668
8669 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8670 (MREMAP_MAYMOVE): Do not define here.
8671 [__USE_GNU] (MREMAP_FIXED): Likewise.
8672 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8673 (MREMAP_MAYMOVE): Define here instead.
8674 [__USE_GNU] (MREMAP_FIXED): Likewise.
8675 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8676 (MREMAP_MAYMOVE): Remove.
8677 [__USE_GNU] (MREMAP_FIXED): Likewise.
8678
8679 2018-09-28 Joseph Myers <joseph@codesourcery.com>
8680
8681 * math/fromfp.h: Do not include <math_private.h>.
8682 * math/s_cacosh_template.c: Likewise.
8683 * math/s_casin_template.c: Likewise.
8684 * math/s_casinh_template.c: Likewise.
8685 * math/s_ccos_template.c: Likewise.
8686 * math/s_cproj_template.c: Likewise.
8687 * math/s_fdim_template.c: Likewise.
8688 * math/s_fmaxmag_template.c: Likewise.
8689 * math/s_fminmag_template.c: Likewise.
8690 * math/s_iseqsig_template.c: Likewise.
8691 * math/s_ldexp_template.c: Likewise.
8692 * math/s_nextdown_template.c: Likewise.
8693 * math/w_log1p_template.c: Likewise.
8694 * math/w_scalbln_template.c: Likewise.
8695 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8696 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8697 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8698 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8699 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8700 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8701 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8702 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8703 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8704 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8705 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8706 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8707 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8708 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8709 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8710 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8711 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8712 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8715 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8716 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8717 * sysdeps/ieee754/k_standardf.c: Likewise.
8718 * sysdeps/ieee754/k_standardl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8721 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8727 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8728 * sysdeps/ieee754/s_signgam.c: Likewise.
8729 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8730 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8731 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8732 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8733 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8734 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8735 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8736 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8737 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8738 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8739 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8740 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8741 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8742 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8743 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8744 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8745 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8746 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8747 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8748 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8749 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8750 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8751 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8752 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8753 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8754 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8755 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8756 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8757 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8758 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8759 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8760 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8761 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8762 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8763 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8764 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8765 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8766 <math_private.h>.
8767 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8768
8769 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8770
8771 [BZ #23716]
8772 * sysdeps/i386/dl-cet.c: Removed.
8773 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8774 prototype.
8775 (_dl_runtime_profile_shstk): Likewise.
8776 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8777 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8778
8779 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8780
8781 [BZ #23579]
8782 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8783 do_test_with_invalid_iov): New tests.
8784 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8785 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8786 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8787 errno is ENOSYS.
8788 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8789 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8790 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8791
8792 2018-09-27 Joseph Myers <joseph@codesourcery.com>
8793
8794 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8795 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8796 (MATH_REDIRECT_BINARY_ARGS): New macro.
8797 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8798 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8799 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8800 header inclusion.
8801 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8802 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8803 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8804 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8805 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8807 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8809 Likewise.
8810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8811 Likewise.
8812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8814 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8815 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8817 Likewise.
8818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8819 Likewise.
8820 * sysdeps/generic/math_private_calls.h
8821 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8822 Do not declare and define as an inline function.
8823 * math/divtc3.c (__divtc3): Use copysign functions instead of
8824 __copysign variants.
8825 * math/multc3.c (__multc3): Likewise.
8826 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8827 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8828 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8829 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8830 Likewise.
8831 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8832 (__ieee754_yn): Likewise.
8833 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8834 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8835 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8836 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8837 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8838 (__sin): Likewise.
8839 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8840 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8841 Likewise.
8842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8843 Likewise.
8844 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8845 Likewise.
8846 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8847 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8848 Likewise.
8849 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8850 (__ieee754_ynf): Likewise.
8851 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8852 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8853 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8854 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8855 Likewise.
8856 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8857 (__ieee754_ynl): Likewise.
8858 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8859 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8860 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8861 Likewise.
8862 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8863 (__ieee754_ynl): Likewise.
8864 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8865 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8866 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8867 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8868 Likewise.
8869 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8870 (__ieee754_ynl)
8871 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8872 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8873 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8874 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8875 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8876
8877 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8878 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8879 using MATH_REDIRECT.
8880 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8881 header inclusion.
8882 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8885 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8886 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8887 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8893 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8894 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8895 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8896 (round): Redirect to __round.
8897 (__roundl): Call round instead of __round.
8898 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8899 Remove macro.
8900 [_ARCH_PWR5X] (__roundf): Likewise.
8901 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8902 functions instead of __round variants.
8903 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8904 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8905 Likewise.
8906 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8907 Likewise.
8908 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8909 Likewise.
8910 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8911 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8912 __lroundl.
8913 (__ieee754_expl): Call roundl instead of __roundl.
8914
8915 2018-09-27 Andreas Schwab <schwab@suse.de>
8916
8917 [BZ #23717]
8918 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8919 (do_test): Make st1 static.
8920
8921 2018-09-26 Andreas Schwab <schwab@suse.de>
8922
8923 [BZ #23707]
8924 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8925 * elf/Makefile (tests): Add tst-unwind-ctor.
8926 (modules-names): Add tst-unwind-ctor-lib.
8927 ($(objpfx)tst-unwind-ctor): Depend on
8928 $(objpfx)tst-unwind-ctor-lib.so.
8929
8930 2018-09-26 Joseph Myers <joseph@codesourcery.com>
8931
8932 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8933 file. Most contents moved from ....
8934 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8935 and include <bits/mman-map-flags-generic.h>.
8936 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8937 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8938 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8939 <bits/mman-map-flags-generic.h>.
8940 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8941 macros defined in <bits/mman-map-flags-generic.h>.
8942 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8943 <bits/mman-map-flags-generic.h>.
8944 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8945 defined in <bits/mman-map-flags-generic.h>.
8946
8947 2018-09-26 Andreas Schwab <schwab@suse.de>
8948
8949 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8950 output.
8951
8952 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8953 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8954 Fangrui Song <maskray@google.com>
8955
8956 [BZ #20480]
8957 * config.make.in (have-textrel_ifunc): New define.
8958 * configure.ac: Add check if linker supports textrel relocation with
8959 ifunc.
8960 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8961 tst-ifunc-textrel.
8962 (CFLAGS-tst-ifunc-textrel.c): New rule.
8963 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8964 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8965 * elf/tst-ifunc-textrel.c: New file.
8966
8967 2018-09-25 Joseph Myers <joseph@codesourcery.com>
8968
8969 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8970 <bits/procfs-prregset.h>.
8971 (prgregset_t): Define using __prgregset_t.
8972 (prfpregset_t): Define using __prfpregset_t.
8973 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8974 (sysdep_headers): Add bits/procfs-prregset.h.
8975 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8976 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8977 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8978 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8979
8980 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8981 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8982 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8983 pr_uid and pr_gid.
8984 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8985 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8986 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8987 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8988 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8989 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8990 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8991 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8992 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8993 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8994 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8995 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8996 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8997 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8998 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8999 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9000 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9001 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9002 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9003 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9004 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9005 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9006 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9007 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9008
9009 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9010 AArch64 version. Include <bits/procfs.h>.
9011 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9012 (sysdep_headers): Add bits/procfs.h.
9013 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9014 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9015 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9016 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9017 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9018 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9019 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9020 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9021 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9022 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9023 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9024 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9025 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9026 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9027 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9028 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9029 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9030
9031 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9032
9033 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9034 Use libsupport.
9035
9036 2018-09-25 Arjun Shankar <arjun@redhat.com>
9037
9038 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9039 (__gconv_max_path_elem_len): Likewise.
9040 (__gconv_nmodules): Likewise.
9041 (__gconv_get_path): Likewise.
9042 (path_elem): Move to ...
9043 * iconv/gconv_conf.c: ... here.
9044 (__gconv_get_path): Mark function static.
9045 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9046 * iconv/gconv_open.c: ... here.
9047
9048 2018-09-24 Andreas Schwab <schwab@suse.de>
9049
9050 * scripts/haveversions.awk: New file.
9051 * Makerules ($(common-objpfx)Versions.def)
9052 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9053 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9054 Move rules ...
9055 * Makeconfig ($(common-objpfx)Versions.def)
9056 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9057 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9058 ... here.
9059 ($(common-objpfx)Versions.mk): New rule. Include it.
9060 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9061 Emit error if build-obsolete-nsl = yes.
9062 * manual/install.texi (Configuring and compiling): Describe
9063 --enable-obsolete-nsl as unavaiable after version 2.28.
9064 * INSTALL: Regenerate.
9065
9066 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9067
9068 * NEWS: Add note about new TLE support on powerpc64le.
9069 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9070 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9071 __ununsed1.
9072 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9073 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9074 * sysdeps/powerpc/powerpc32/sysdep.h,
9075 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9076 ABORT_TRANSACTION): Remove macros.
9077 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9078 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9079 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9081 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9082 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9083 usage.
9084 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9085
9086 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9087
9088 [BZ #10425]
9089 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9090 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9091 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9092 which is the same as in it_IT.
9093 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9094 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9095
9096 2018-09-20 Joseph Myers <joseph@codesourcery.com>
9097
9098 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9099 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9100 using MATH_REDIRECT.
9101 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9102 header inclusion.
9103 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9104 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9105 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9106 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9107 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9108 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9113 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9114 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9115 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9116 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9117 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9118 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9119 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9120 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9121 (ceil): Redirect to __ceil.
9122 (floor): Redirect to __floor.
9123 (trunc): Redirect to __trunc.
9124 (__truncl): Call trunc instead of __trunc.
9125 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9126 Remove macro.
9127 [_ARCH_PWR5X] (__truncf): Likewise.
9128 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9129 trunc functions instead of __trunc variants.
9130 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9131 Likewise.
9132 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9133 Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9135 Likewise.
9136 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9137 Likewise.
9138
9139 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9140 [__i586__ || __pentium__].
9141 [__i486__]: Handle explicitly.
9142 (HAS_CPUID): Define to 1 if above macros are undefined.
9143 (HAS_I586): Likewise.
9144 (HAS_I686): Likewise.
9145
9146 2018-09-20 Florian Weimer <fweimer@redhat.com>
9147
9148 * misc/tst-gethostid.c: New file.
9149 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9150 (tst-gethostid): Link with -ldl.
9151
9152 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9153
9154 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9155 value from gethostbyname_r.
9156
9157 2018-09-19 Carlos O'Donell <carlos@redhat.com>
9158
9159 * stdlib/tst-setcontext9.c (f1): Rename to...
9160 (f1a): ... this.
9161 (f1b): New function implementing lower half of f1 in alternate stack.
9162
9163 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9164
9165 Fix mktime localtime offset confusion
9166 [BZ #23603]
9167 * include/time.h (__mktime_internal): The localtime offset is now
9168 of type long int instead of time_t. This is the longstanding type
9169 in glibc, and it is more than enough to represent difference
9170 between localtime and gmtime even if it is 32 bits and time_t is
9171 64. Changing it now will let us avoid an unnecessary change when
9172 time_t is widened to 64 bits on 32-bit platforms.
9173 * time/mktime-internal.h (mktime_offset_t): Now long int.
9174
9175 Merge mktime, timegm from upstream Gnulib
9176 [BZ #23603][BZ #16346]
9177 This fixes some obscure problems with integer overflow.
9178 Although it looks scary, it is almost all a byte-for-byte copy
9179 from Gnulib, and the Gnulib code has been tested reasonably well.
9180 * include/intprops.h: New file, copied from Gnulib.
9181 * include/verify.h, time/mktime-internal.h:
9182 New tiny files, simplified from Gnulib.
9183 * time/mktime.c: Copy from Gnulib. This has the following changes:
9184 Do not include config.h if DEBUG_MKTIME is nonzero.
9185 Include stdbool.h, intprops.h, verify.h.
9186 Include string.h only if needed.
9187 Include stdlib.h on MS-Windows.
9188 Include mktime-internal.h.
9189 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9190 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9191 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9192 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9193 simplify later conditionals; default the others to zero. Use
9194 these conditionals to express only the code needed on the current
9195 platform. In uses of these conditionals, explicitly spell out how
9196 _LIBC affects things, so it’s easier to review from a glibc
9197 viewpoint.
9198 (WRAPV): Remove; no longer needed now that we have
9199 systematic overflow checking.
9200 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9201 compartmentalize tzset issues. Move system-dependent tzsettish
9202 code here from mktime.
9203 (verify): Remove; now done by verify.h. All uses changed.
9204 (long_int): Use a more-conservative definition, to avoid
9205 integer overflow.
9206 (SHR): Remove, replacing with ...
9207 (shr): New function, which means we needn’t worry about side
9208 effects in args, and conversion analysis is simpler.
9209 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9210 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9211 (time_t_avg, time_t_add_ok): Remove.
9212 (mktime_min, mktime_max): New constants.
9213 (leapyear, isdst_differ): Use bool for booleans.
9214 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9215 Use long_int, not time_t, for mktime differences.
9216 (long_int_avg): New function, replacing time_t_avg.
9217 INT_ADD_WRAPV replaces time_t_add_ok.
9218 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9219 All uses changed.
9220 (convert_time): New function.
9221 (ranged_convert): Use it.
9222 (__mktime_internal): Last arg now points to mktime_offset_t, not
9223 time_t. All uses changed. This is a no-op on glibc, where
9224 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9225 offset guess. Directly check for integer overflow instead of
9226 using a heuristic that works only 99.9...% of the time.
9227 Access *OFFSET only once, to avoid an unlikely race if the
9228 compiler delays a load and if this cascades into a signed integer
9229 overflow.
9230 (mktime): Move tzsettish code to my_tzset, and move
9231 localtime_offset to within mktime so that it doesn’t
9232 need a separate ifdef.
9233 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9234 instead of localtime.
9235 * time/timegm.c: Copy from Gnulib. This has the following changes:
9236 Include mktime-internal.h.
9237 [!_LIBC]: Include config.h and time.h. Do not include
9238 timegm.h or time_r.h. Make __mktime_internal a macro,
9239 and include mktime-internal.h to get its declaration.
9240 (timegm): Temporary is now mktime_offset_t, not time_t.
9241 This affects only Gnulib.
9242
9243 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9244
9245 [BZ #23637]
9246 * string/test-strstr.c (pr23637): New function.
9247 (test_main): Add tests with longer needles.
9248 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9249 * string/strstr.c (AVAILABLE): Likewise.
9250
9251 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9252
9253 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9254
9255 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9256
9257 * NEWS: Mention pow improvements.
9258 * math/Makefile (type-double-routines): Add e_pow_log_data.
9259 * sysdeps/generic/math_private.h (__exp1): Remove.
9260 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9261 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9262 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9263 contraction.
9264 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9265 (exp_inline): Remove.
9266 (__ieee754_exp): Only single double input is handled.
9267 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9268 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9269 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9270 (__pow_log_data): Define.
9271 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9272 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9273 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9274 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9275 contraction.
9276 (CFLAGS-e_pow-fma4.c): Likewise.
9277
9278 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9279
9280 Simplify tzfile fstat failure code
9281 [BZ #21716]
9282 * time/tzfile.c (__tzfile_read): Simplify slightly.
9283
9284 Fix tzfile low-memory assertion failure
9285 [BZ #21716]
9286 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9287 when registering time zone abbreviations.
9288
9289 2018-09-18 Joseph Myers <joseph@codesourcery.com>
9290
9291 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9292 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9293 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9294 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9295 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9296 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9297 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9298 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9299 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9300
9301 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9302 __ceil.
9303 (__ceill): Call ceil instead of __ceil.
9304 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9305 __floor.
9306 (__floorl): Call floor instead of __floor.
9307
9308 2018-09-17 Joseph Myers <joseph@codesourcery.com>
9309
9310 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9311 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9312 using MATH_REDIRECT.
9313 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9314 header inclusion.
9315 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9316 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9317 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9318 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9319 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9320 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9321 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9322 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9327 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9328 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9329 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9331 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9332 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9333 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9334 Remove macro.
9335 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9336 functions instead of __ceil variants.
9337 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9338 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9339 Likewise.
9340 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9341 Likewise.
9342 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9343 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9344 Likewise.
9345 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9346 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9347
9348 [BZ #21286]
9349 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9350 constant.
9351 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9352 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9353 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9354 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9355 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9356 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9357 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9358 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9359 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9360 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9361 (ILL_BADIADDR): Remove constant.
9362 (TRAP_BRANCH): Likewise.
9363 (TRAP_HWBKPT): Likewise.
9364
9365 2018-09-14 Joseph Myers <joseph@codesourcery.com>
9366
9367 [BZ #23656]
9368 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9369 Remove [_MIPS_SIM = _ABIN32] conditional case.
9370 (struct elf_prpsinfo): Likewise.
9371
9372 [BZ #23649]
9373 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9374 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9375 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9376 Likewise.
9377 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9378 elf_prpsinfo): Likewise.
9379 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9380 elf_prpsinfo): Likewise.
9381 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9382 Likewise.
9383
9384 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9385 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9386 using MATH_REDIRECT.
9387 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9388 header inclusion.
9389 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9390 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9391 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9392 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9393 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9395 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9396 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9397 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9398 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9399 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9400 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9401 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9402 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9403 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9404 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9405 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9406 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9407 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9410 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9411 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9412 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9413 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9414 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9415 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9416 __rint variants.
9417 * math/e_scalbf.c (invalid_fn): Likewise.
9418 * math/e_scalbl.c (invalid_fn): Likewise.
9419 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9420 Likewise.
9421 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9422 Likewise.
9423 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9424 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9425 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9426 Likewise.
9427 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9428 Likewise.
9429 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9430 Likewise.
9431 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9432 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9433
9434 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9435 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9436 New macro.
9437 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9438 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9439 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9440 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9441 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9442 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9443 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9444 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9445 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9446 && !NO_MATH_REDIRECT] (floor): Likewise.
9447 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9448 header inclusion.
9449 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9450 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9451 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9452 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9453 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9454 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9455 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9456 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9461 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9462 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9464 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9465 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9466 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9467 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9468 Remove macro.
9469 [_ARCH_PWR5X] (__floorf): Likewise.
9470 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9471 inline function.
9472 [__SSE4_1__] (__floorf): Likewise.
9473 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9474 instead of __floor variants.
9475 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9476 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9477 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9478 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9479 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9480 * math/w_tgamma_compat.c (__tgamma): Likewise.
9481 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9482 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9483 * math/w_tgammal_compat.c (__tgammal): Likewise.
9484 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9485 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9486 Likewise.
9487 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9488 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9489 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9490 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9491 Likewise.
9492 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9493 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9494 Likewise.
9495 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9496 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9497 Likewise.
9498 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9499 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9500 Likewise.
9501 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9502 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9503 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9504 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9505 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9506 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9507
9508 2018-09-12 Joseph Myers <joseph@codesourcery.com>
9509
9510 * elf/Makefile (modules-names-tests): New variable.
9511
9512 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9513
9514 * NEWS: Mention log2 improvements.
9515 * math/Makefile (type-double-routines): Add e_log2_data.
9516 * sysdeps/i386/fpu/e_log2_data.c: New file.
9517 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9518 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9519 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9520 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9521 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9522 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9523
9524 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9525
9526 * NEWS: Mention log improvement.
9527 * math/Makefile (type-double-routines): Add e_log_data.
9528 * sysdeps/i386/fpu/e_log_data.c: New file.
9529 * sysdeps/ia64/fpu/e_log_data.c: New file.
9530 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9531 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9532 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9533 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9534 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9535 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9536
9537 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9538 Xuepeng Guo <xuepeng.guo@intel.com>
9539
9540 [BZ #23606]
9541 * sysdeps/i386/start.S: Include <sysdep.h>
9542 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9543 enabled. Add cfi_undefined (eip).
9544
9545 2018-09-11 Joseph Myers <joseph@codesourcery.com>
9546
9547 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9548 (MOVQ): Likewise.
9549 (EXTRACT_WORDS64): Likewise.
9550 (INSERT_WORDS64): Likewise.
9551 (GET_FLOAT_WORD): Likewise.
9552 (SET_FLOAT_WORD): Likewise.
9553
9554 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9555 argument.
9556 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9557 build, but not for second build if --full-gcc. Use
9558 --enable-languages=all for second build if --full-gcc.
9559 (get_parser): Add --full-gcc option.
9560 (main): Update call to Context.
9561
9562 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9563
9564 [BZ #10797]
9565 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9566 Single Quotation Mark).
9567 (thousands_sep): Likewise.
9568 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9569 * localedata/locales/it_IT (thousands_sep): Use ".".
9570 (grouping): Use "3;3".
9571
9572 2018-09-10 Joseph Myers <joseph@codesourcery.com>
9573
9574 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9575 x86_64 and i686 configs using --enable-obsolete-rpc
9576 --enable-obsolete-nsl.
9577
9578 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9579
9580 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9581
9582 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9583
9584 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9585 Increment size of new_argv by one.
9586
9587 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9588
9589 [BZ #17426]
9590 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9591 * localedata/locales/ar_IN (d_fmt): Likewise.
9592 * localedata/locales/bhb_IN (d_fmt): Likewise.
9593 * localedata/locales/bho_IN (d_fmt): Likewise.
9594 * localedata/locales/bn_BD (d_fmt): Likewise.
9595 * localedata/locales/bn_IN (d_fmt): Likewise.
9596 * localedata/locales/doi_IN (d_fmt): Likewise.
9597 * localedata/locales/gu_IN (d_fmt): Likewise.
9598 * localedata/locales/hi_IN (d_fmt): Likewise.
9599 * localedata/locales/hne_IN (d_fmt): Likewise.
9600 * localedata/locales/kn_IN (d_fmt): Likewise.
9601 * localedata/locales/mag_IN (d_fmt): Likewise.
9602 * localedata/locales/mai_IN (d_fmt): Likewise.
9603 * localedata/locales/mjw_IN (d_fmt): Likewise.
9604 * localedata/locales/ml_IN (d_fmt): Likewise.
9605 * localedata/locales/mni_IN (d_fmt): Likewise.
9606 * localedata/locales/mr_IN (d_fmt): Likewise.
9607 * localedata/locales/pa_IN (d_fmt): Likewise.
9608 * localedata/locales/raj_IN (d_fmt): Likewise.
9609 * localedata/locales/sat_IN (d_fmt): Likewise.
9610 * localedata/locales/sd_IN (d_fmt): Likewise.
9611 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9612 * localedata/locales/ta_IN (d_fmt): Likewise.
9613 * localedata/locales/ta_LK (d_fmt): Likewise.
9614 * localedata/locales/tcy_IN (d_fmt): Likewise.
9615 * localedata/locales/ur_IN (d_fmt): Likewise.
9616
9617 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9618 * localedata/locales/ks_IN (d_fmt): Likewise.
9619 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9620
9621 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9622 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9623 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9624 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9625
9626 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9627
9628 * NEWS: Mention exp and exp2 improvements.
9629 * math/Makefile (libm-support): Remove t_exp.
9630 (type-double-routines): Add math_err and e_exp_data.
9631 * sysdeps/aarch64/libm-test-ulps: Update.
9632 * sysdeps/arm/libm-test-ulps: Update.
9633 * sysdeps/i386/fpu/e_exp_data.c: New file.
9634 * sysdeps/i386/fpu/math_err.c: New file.
9635 * sysdeps/i386/fpu/t_exp.c: Remove.
9636 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9637 * sysdeps/ia64/fpu/math_err.c: New file.
9638 * sysdeps/ia64/fpu/t_exp.c: Remove.
9639 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9640 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9641 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9642 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9643 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9644 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9645 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9646 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9647 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9648 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9649 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9650 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9651 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9652 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9655
9656 2018-09-05 Joseph Myers <joseph@codesourcery.com>
9657
9658 * sysdeps/alpha/fpu/math_private.h: Remove.
9659
9660 * sysdeps/generic/math_private.h
9661 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9662 Move this inline function ....
9663 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9664 * include/math.h [!_ISOMAC]: To here....
9665
9666 2018-09-04 Joseph Myers <joseph@codesourcery.com>
9667
9668 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9669 code ....
9670 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9671 * include/fenv.h [!_ISOMAC]: ... to here.
9672 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9673 (feraiseexcept): Likewise.
9674 * math/fromfp.h: Do not include <fenv_private.h>.
9675 * math/s_cexp_template.c: Likewise.
9676 * math/s_csin_template.c: Likewise.
9677 * math/s_csinh_template.c: Likewise.
9678 * math/s_ctan_template.c: Likewise.
9679 * math/s_ctanh_template.c: Likewise.
9680 * math/s_iseqsig_template.c: Likewise.
9681 * math/w_acos_compat.c: Likewise.
9682 * math/w_acosf_compat.c: Likewise.
9683 * math/w_acosl_compat.c: Likewise.
9684 * math/w_asin_compat.c: Likewise.
9685 * math/w_asinf_compat.c: Likewise.
9686 * math/w_asinl_compat.c: Likewise.
9687 * math/w_j0_compat.c: Likewise.
9688 * math/w_j0f_compat.c: Likewise.
9689 * math/w_j0l_compat.c: Likewise.
9690 * math/w_j1_compat.c: Likewise.
9691 * math/w_j1f_compat.c: Likewise.
9692 * math/w_j1l_compat.c: Likewise.
9693 * math/w_jn_compat.c: Likewise.
9694 * math/w_jnf_compat.c: Likewise.
9695 * math/w_log10_compat.c: Likewise.
9696 * math/w_log10f_compat.c: Likewise.
9697 * math/w_log10l_compat.c: Likewise.
9698 * math/w_log2_compat.c: Likewise.
9699 * math/w_log2f_compat.c: Likewise.
9700 * math/w_log2l_compat.c: Likewise.
9701 * math/w_log_compat.c: Likewise.
9702 * math/w_logf_compat.c: Likewise.
9703 * math/w_logl_compat.c: Likewise.
9704 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9705 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9706 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9707 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9708 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9709 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9710 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9711 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9712 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9713 * sysdeps/ieee754/k_standardl.c: Likewise.
9714 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9715 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9716 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9717 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9718 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9719 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9720 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9721 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9722 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9723 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9724 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9725 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9726 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9727 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9729 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9731 * math/w_ilogb_template.c: Include <fenv.h> instead of
9732 <fenv_private.h>.
9733 * math/w_llogb_template.c: Likewise.
9734 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9735 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9736
9737 2018-09-03 Joseph Myers <joseph@codesourcery.com>
9738
9739 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9740 * math/fromfp.h: Include <fenv_private.h>.
9741 * math/math-narrow.h: Likewise.
9742 * math/s_cexp_template.c: Likewise.
9743 * math/s_csin_template.c: Likewise.
9744 * math/s_csinh_template.c: Likewise.
9745 * math/s_ctan_template.c: Likewise.
9746 * math/s_ctanh_template.c: Likewise.
9747 * math/s_iseqsig_template.c: Likewise.
9748 * math/w_acos_compat.c: Likewise.
9749 * math/w_acosf_compat.c: Likewise.
9750 * math/w_acosl_compat.c: Likewise.
9751 * math/w_asin_compat.c: Likewise.
9752 * math/w_asinf_compat.c: Likewise.
9753 * math/w_asinl_compat.c: Likewise.
9754 * math/w_ilogb_template.c: Likewise.
9755 * math/w_j0_compat.c: Likewise.
9756 * math/w_j0f_compat.c: Likewise.
9757 * math/w_j0l_compat.c: Likewise.
9758 * math/w_j1_compat.c: Likewise.
9759 * math/w_j1f_compat.c: Likewise.
9760 * math/w_j1l_compat.c: Likewise.
9761 * math/w_jn_compat.c: Likewise.
9762 * math/w_jnf_compat.c: Likewise.
9763 * math/w_llogb_template.c: Likewise.
9764 * math/w_log10_compat.c: Likewise.
9765 * math/w_log10f_compat.c: Likewise.
9766 * math/w_log10l_compat.c: Likewise.
9767 * math/w_log2_compat.c: Likewise.
9768 * math/w_log2f_compat.c: Likewise.
9769 * math/w_log2l_compat.c: Likewise.
9770 * math/w_log_compat.c: Likewise.
9771 * math/w_logf_compat.c: Likewise.
9772 * math/w_logl_compat.c: Likewise.
9773 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9774 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9775 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9776 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9777 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9778 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9779 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9780 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9781 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9782 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9783 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9784 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9785 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9786 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9787 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9788 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9789 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9790 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9791 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9792 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9793 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9794 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9795 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9796 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9797 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9798 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9799 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9800 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9801 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9802 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9803 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9804 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9805 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9806 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9807 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9808 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9809 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9810 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9811 * sysdeps/ieee754/k_standardl.c: Likewise.
9812 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9813 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9814 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9815 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9816 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9817 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9818 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9819 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9820 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9821 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9822 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9823 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9824 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9825 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9826 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9827 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9828 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9829 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9830 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9831 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9832 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9833 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9834 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9835 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9836 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9837 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9838 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9839 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9840 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9841 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9842 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9843 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9844 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9845 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9846 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9847 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9848 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9849 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9850 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9851 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9852 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9853 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9854 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9855 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9856 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9857 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9858 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9859 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9860 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9861 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9862 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9863 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9864 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9865 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9866 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9867 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9868 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9869 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9870 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9871 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9872 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9873 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9874 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9875 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9876 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9877 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9878 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9879 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9880 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9881 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9882 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9883
9884 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9885
9886 [BZ #20271]
9887 * include/stdio.h (__libc_fatal): Mention newline in comment.
9888 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9889 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9890 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9891 * nss/nsswitch.c (__nss_next2): Likewise.
9892 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9893 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9894 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9895 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9896 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9897 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9898 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9899 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9900 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9901 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9902 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9903 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9904 (__netlink_assert_response): Likewise.
9905
9906 2018-08-31 Joseph Myers <joseph@codesourcery.com>
9907
9908 * conform/glibcconform.py: New file.
9909 * conform/list-header-symbols.py: Likewise.
9910 * conform/list-header-symbols.pl: Remove.
9911 * conform/Makefile (tests-special): Only add linknamespace tests
9912 if [PYTHON].
9913 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9914
9915 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9916
9917 [BZ #23597]
9918 * support/Makefile (libsupport-routines): Add
9919 support_copy_file_range and xcopy_file_range.
9920 * support/support.h: Include <sys/types.h>.
9921 (support_copy_file_range): New prototype.
9922 * support/support_copy_file_range.c: New file. Copied and
9923 modified from io/copy_file_range-compat.c.
9924 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9925 instead of copy_file_range.
9926 * support/xcopy_file_range.c: New file.
9927 * support/xunistd.h (xcopy_file_range): New prototype.
9928
9929 2018-08-30 Carlos O'Donell <carlos@redhat.com>
9930
9931 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9932 xpthread_create and xpthread_join.
9933
9934 2018-08-30 Florian Weimer <fweimer@redhat.com>
9935
9936 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9937
9938 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
9939
9940 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9941 if malloc fails.
9942
9943 2018-08-29 Joseph Myers <joseph@codesourcery.com>
9944
9945 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9946 and minus_oflow as non-finite.
9947
9948 2018-08-28 Joseph Myers <joseph@codesourcery.com>
9949
9950 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9951 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9952 moved to fenv_private.h except for ...
9953 (TOINT_INTRINSICS): Kept in math_private.h.
9954 (roundtoint): Likewise.
9955 (converttoint): Likewise.
9956 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9957 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9958 * sysdeps/arm/math_private.h: Remove.
9959 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9960 ....
9961 * sysdeps/generic/math_private.h: ... this file. Include
9962 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9963 Include <fenv_private.h>. Remove functions and macros moved to
9964 fenv_private.h.
9965 * sysdeps/i386/fpu/math_private.h: Remove.
9966 * sysdeps/mips/math_private.h: Move to ....
9967 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9968 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9969 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9970 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9971 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9972 * sysdeps/powerpc/fpu/math_private.h: Do not include
9973 <fenv_private.h>.
9974 * sysdeps/riscv/rvf/math_private.h: Move to ....
9975 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9976 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9977 <fenv_private.h>.
9978 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9979 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9980 * sysdeps/sparc/fpu/math_private.h: Remove.
9981 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9982 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9983 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9984 <fenv_private.h>.
9985 * sysdeps/x86_64/fpu/math_private.h: Do not include
9986 <sysdeps/i386/fpu/fenv_private.h>.
9987
9988 2018-08-28 Florian Weimer <fweimer@redhat.com>
9989
9990 [BZ #23578]
9991 * posix/tst-regcomp-truncated.c: New file.
9992 * posix/Makefile (tests): Add it.
9993 (tst-regcomp-truncated.out): Depend on generated locales.
9994
9995 2018-08-28 Florian Weimer <fweimer@redhat.com>
9996
9997 * support/test-container.c (main): Treat unshare failure with
9998 EPERM as an unsupported test.
9999
10000 2018-08-28 Florian Weimer <fweimer@redhat.com>
10001
10002 [BZ #23520]
10003 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10004 * nscd/netgroupcache.c
10005 (addgetnetgrentX): Add tofreep parameter. Do not free
10006 heap-allocated buffer.
10007 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10008 (addgetnetgrentX_ignore): New function.
10009 (addgetnetgrent): Call it.
10010 (readdgetnetgrent): Likewise.
10011
10012 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10013
10014 * string/memmem.c: Use memcmp for first match.
10015
10016 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10017
10018 [BZ #17426]
10019 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10020
10021 2018-08-27 DJ Delorie <dj@redhat.com>
10022
10023 * support/Makefile (others): Don't list programs explicitly as a
10024 dependency of "others".
10025
10026 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10027
10028 * sysdeps/generic/math-tests-trap-force.h: New file.
10029 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10030 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10031 * sysdeps/powerpc/math-tests.h: Remove file.
10032 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10033
10034 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10035 Torvald Riegel <triegel@redhat.com>
10036
10037 [BZ #23538]
10038 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10039 Update r to include the set wake-request flag if waiters are
10040 remaining after spinning.
10041
10042 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10043
10044 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10045
10046 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10047
10048 [BZ #23578]
10049 regex: fix uninitialized memory access
10050 I introduced this bug into gnulib in commit
10051 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10052 eventually it was merged into glibc. The bug was found by
10053 project-repo <bugs@feusi.co> and reported here:
10054 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10055 Diagnosis and draft fix reported by Assaf Gordon here:
10056 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10057 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10058 * posix/regex_internal.c (build_wcs_upper_buffer):
10059 Fix bug when mbrtowc returns 0.
10060
10061 2018-08-24 Carlos O'Donell <carlos@redhat.com>
10062
10063 * po/be.po: Update translation.
10064
10065 2018-08-24 DJ Delorie <dj@delorie.com>
10066
10067 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10068 $(libunwind).
10069
10070 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10071
10072 [BZ #23400]
10073 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10074 create temporary files in source tree.
10075
10076 2018-08-24 Joseph Myers <joseph@codesourcery.com>
10077
10078 * sysdeps/generic/math-tests-trap.h: New file.
10079 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10080 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10081 * sysdeps/aarch64/math-tests.h: Remove file.
10082 * sysdeps/arm/math-tests.h: Likewise.
10083 * sysdeps/riscv/math-tests.h: Likewise.
10084 * sysdeps/aarch64/math-tests-trap.h: New file.
10085 * sysdeps/arm/math-tests-trap.h: Likewise.
10086 * sysdeps/riscv/math-tests-trap.h: Likewise.
10087
10088 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10089
10090 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10091 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10092 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10093 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10094 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10095 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10097 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10099 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10100 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10101 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10102 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10103 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10104 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10105 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10106 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10107 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10108
10109 2018-08-23 Joseph Myers <joseph@codesourcery.com>
10110
10111 * sysdeps/generic/math-tests-exceptions.h: New file.
10112 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10113 (EXCEPTION_TESTS_float): Do not define here.
10114 (EXCEPTION_TESTS_double): Likewise.
10115 (EXCEPTION_TESTS_long_double): Likewise.
10116 (EXCEPTION_TESTS_float128): Likewise.
10117 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10118 Likewise.
10119 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10120 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10121 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10122 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10123 * sysdeps/mips/math-tests.h: Likewise.
10124 * sysdeps/nios2/math-tests.h: Likewise.
10125 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10126 (EXCEPTION_TESTS_float): Do not define here.
10127 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10128 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10129 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10130
10131 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10132
10133 * NEWS: Move optimized sinf entry to 2.29.
10134
10135 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10136
10137 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10138
10139 2018-08-22 DJ Delorie <dj@redhat.com>
10140
10141 * Makefile (testroot.pristine): New rules to initialize the
10142 test-in-container "testroot".
10143 * Makerules (all-testsuite): Add tests-container.
10144 * Rules (tests-expected): Add tests-container.
10145 (binaries-all-tests): Likewise.
10146 (tests-container): New, run these tests in the testroot container.
10147 * support/Makefile (others): Add *-container, support_paths.c,
10148 xmkdirp, and links-dso-program.
10149 * support/links-dso-program-c.c: New.
10150 * support/links-dso-program.cc: New.
10151 * support/test-container.c: New.
10152 * support/shell-container.c: New.
10153 * support/echo-container.c: New.
10154 * support/true-container.c: New.
10155 * support/xmkdirp.c: New.
10156 * support/xsymlink.c: New.
10157 * support/support_paths.c: New.
10158 * support/support.h: Add support paths prototypes.
10159 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10160
10161 * nss/tst-nss-test3.c: Convert to test-in-container.
10162 * nss/tst-nss-test3.root/: New.
10163
10164 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10165
10166 regex: port Gnulib code to z/OS POSIX environment
10167 Problem reported by Arnold Robbins in:
10168 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10169 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10170 Undef.
10171
10172 2018-08-22 Joseph Myers <joseph@codesourcery.com>
10173
10174 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10175 (ROUNDING_TESTS_double): Remove.
10176 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10177 (ROUNDING_TESTS_double): Remove.
10178 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10179 (ROUNDING_TESTS_double): Remove.
10180 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10181 (ROUNDING_TESTS_float): Remove.
10182 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10183 (ROUNDING_TESTS_float): Remove.
10184 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10185 (ROUNDING_TESTS_float): Remove.
10186 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10187 !TEST_MATHVEC here.
10188 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10189 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10190
10191 * sysdeps/generic/math-tests-rounding.h: New file.
10192 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10193 (ROUNDING_TESTS_float): Do not define here.
10194 (ROUNDING_TESTS_double): Likewise.
10195 (ROUNDING_TESTS_long_double): Likewise.
10196 (ROUNDING_TESTS_float128): Likewise.
10197 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10198 (ROUNDING_TESTS_double): Undefine before defining.
10199 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10200 (ROUNDING_TESTS_double): Undefine before defining.
10201 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10202 (ROUNDING_TESTS_double): Undefine before defining.
10203 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10204 (ROUNDING_TESTS_float): Undefine before defining.
10205 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10206 (ROUNDING_TESTS_float): Undefine before defining.
10207 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10208 (ROUNDING_TESTS_float): Undefine before defining.
10209 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10210 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10211 not define here.
10212 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10213 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10214 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10215 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10216 (ROUNDING_TESTS_float): Do not define here.
10217 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10218 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10219 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10220 (ROUNDING_TESTS_float): Likewise.
10221 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10222 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10223 * sysdeps/mips/math-tests.h [__mips_soft_float]
10224 (ROUNDING_TESTS_float): Likewise.
10225 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10226 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10227 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10228 (ROUNDING_TESTS_double): Likewise.
10229 (ROUNDING_TESTS_long_double): Likewise.
10230
10231 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
10232
10233 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10234 (PF_XDP): New macro.
10235 (AF_XDP): New macro.
10236 (SOL_XDP): New macro.
10237
10238 2018-08-21 Joseph Myers <joseph@codesourcery.com>
10239
10240 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10241 (TCP_INQ): Likewise.
10242 (TCP_CM_INQ): Likewise.
10243 (TCP_REPAIR_ON): Likewise.
10244 (TCP_REPAIR_OFF): Likewise.
10245 (TCP_REPAIR_OFF_NO_WP): Likewise.
10246 (struct tcp_zerocopy_receive): New type.
10247
10248 2018-08-21 Florian Weimer <fweimer@redhat.com>
10249
10250 * support/support.h (support_descriptor_supports_holes): Declare.
10251 * support/Makefile (libsupport-routines): Add
10252 support_descriptor_supports_holes.
10253 * support/support_descriptor_supports_holes.c: New file.
10254 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10255 and stop testing if holes are not supported.
10256 * io/test-lfs.c (do_prepare): Likewise.
10257 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10258 Likewise.
10259 * timezone/tst-tzset.c (create_tz_file): Likewise.
10260 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10261 variable.
10262 (do_prepare): Set it.
10263 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10264
10265 2018-08-21 Florian Weimer <fweimer@redhat.com>
10266
10267 [BZ #17248]
10268 * Makeconfig (+cflags): Do not sort (and deduplicate).
10269
10270 2018-08-21 Florian Weimer <fweimer@redhat.com>
10271
10272 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10273 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10274
10275 2018-08-20 Florian Weimer <fweimer@redhat.com>
10276
10277 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10278 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10279
10280 2018-08-20 Joseph Myers <joseph@codesourcery.com>
10281
10282 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10283 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10284 and ssi_arch members.
10285
10286 * elf/elf.c (NT_VMCOREDD): New macro.
10287 (AT_MINSIGSTKSZ): Likewise.
10288
10289 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10290
10291 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10292 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10293 s_cosf-ppc64 and s_cosf-power8.
10294 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10295 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10296 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10297 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10304 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10305 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10306
10307 2018-08-17 Florian Weimer <fweimer@redhat.com>
10308
10309 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10310
10311 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10312
10313 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10314
10315 2018-08-16 Florian Weimer <fweimer@redhat.com>
10316
10317 * configure.ac: Add --with-nonshared-cflags option.
10318 * config.make.in (extra-nonshared-cflags): Set variable.
10319 * Makeconfig (CFLAGS-.oS): Use it.
10320 * manual/install.texi (Configuring and compiling): Document
10321 --with-nonshared-cflags.
10322 * configure: Regenerate.
10323 * INSTALL: Likewise.
10324
10325 2018-08-16 Florian Weimer <fweimer@redhat.com>
10326
10327 * Makeconfig (ASFLAGS): Always append required assembler flags.
10328
10329 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
10330
10331 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10332 (malloc_consolidate): Likewise.
10333
10334 2018-08-16 Pochang Chen <johnchen902@gmail.com>
10335
10336 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10337
10338 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10339
10340 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10341 every strlen call.
10342
10343 * benchtests/bench-strlen.c: Print performance numbers in json.
10344
10345 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10346
10347 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10348 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10349 only for little endian.
10350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10351 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10352 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10353 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10354 Add check for little endian.
10355 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10356 (__strcmp_power9): Add check for little endian.
10357 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10358 Add check for little endian.
10359 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10360 (__strncmp_power9): Add check for little endian.
10361 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10362 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10363 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10364 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10365 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10366
10367 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10368
10369 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10370 [!STRLEN](STRLEN): Set to __strlen.
10371 * sysdeps/aarch64/multiarch/strlen.c: New file.
10372 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10373 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10374 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10375 (__libc_ifunc_impl_list): Add strlen.
10376 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10377 strlen_generic and strlen_asimd.
10378
10379 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10380
10381 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10382 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10383 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10384
10385 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10386
10387 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10388
10389 2018-08-14 Florian Weimer <fweimer@redhat.com>
10390
10391 [BZ #23519]
10392 * include/stdio.h (__vfxprintf): Declare.
10393 * stdio-common/fxprintf.c (__vfxprintf): New function.
10394 (__fxprintf): Call it.
10395 * misc/err.c (convert_and_print): Remove function.
10396 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10397 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10398 * misc/Makefile (tests): Add tst-warn-wide.
10399 * misc/tst-warn-wide.c: New file.
10400
10401 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10402 Szabolcs Nagy <szabolcs.nagy@arm.com>
10403
10404 * NEWS: Mention sinf, cosf, sincosf.
10405 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10406 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10407 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10408 constants rather than including generic sincosf.h.
10409 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10410 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10411 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10412 (reduced_cos): Remove.
10413 (sinf_poly): New function.
10414 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10415
10416 2018-08-14 Florian Weimer <fweimer@redhat.com>
10417
10418 [BZ #23521]
10419 [BZ #23522]
10420 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10421 processing, bail out if no room, and close the stream before
10422 returning ERANGE.
10423 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10424 (tst-nss-files-alias-leak): Link with libdl.
10425 (tst-nss-files-alias-leak.out): Depend on nss_files.
10426
10427 * nss/tst-nss-files-alias-leak.c: New file.
10428
10429 2018-08-14 Florian Weimer <fweimer@redhat.com>
10430
10431 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10432 server_user, stat_user.
10433
10434 2018-08-13 Joseph Myers <joseph@codesourcery.com>
10435
10436 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10437 version to 4.18.
10438 (io_pgetevents): New syscall.
10439 (rseq): Likewise.
10440
10441 * manual/install.texi (Configuring and compiling): Do not list
10442 tools used for testing pretty printers here.
10443 (Tools for Compilation): List Python, PExpect and GDB here.
10444 Update descriptions of uses of Perl and Python.
10445 * INSTALL: Regenerate.
10446
10447 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10448 version to 4.18.
10449
10450 2018-08-13 Florian Weimer <fweimer@redhat.com>
10451
10452 * misc/error.c (error): Add missing va_end call.
10453 (error_at_line): Likewise.
10454
10455 2018-08-13 Florian Weimer <fweimer@redhat.com>
10456
10457 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10458
10459 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10460
10461 * benchtests/scripts/benchout.schema.json (properties): Add
10462 new properties.
10463
10464 * benchtests/bench-skeleton.c (main): Add duration and
10465 iterations attributes.
10466
10467 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10468
10469 regex: Gnulib unibyte RRI uses bytes not chars
10470 Adjust the non-glibc code to agree with what Gawk needs for
10471 rational range interpretation (RRI) for regular expression ranges.
10472 In unibyte locales, Gawk wants ranges to use the underlying byte
10473 rather than the character code point. This change does not affect
10474 glibc proper.
10475 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10476 In unibyte locales, use the byte value rather than
10477 running it through btowc.
10478
10479 2018-08-10 Joseph Myers <joseph@codesourcery.com>
10480
10481 * sysdeps/generic/math-tests-snan.h: New file.
10482 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10483 (SNAN_TESTS_float): Do not define here.
10484 (SNAN_TESTS_double): Likewise.
10485 (SNAN_TESTS_long_double): Likewise.
10486 (SNAN_TESTS_float128): Likewise.
10487 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10488 * sysdeps/i386/fpu/math-tests.h: Remove file.
10489 * sysdeps/ia64/math-tests-snan.h: New file.
10490 * sysdeps/ia64/math-tests.h: Remove file.
10491 * sysdeps/x86/math-tests.h: Likewise.
10492 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10493
10494 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10495 Szabolcs Nagy <szabolcs.nagy@arm.com>
10496
10497 * math/Makefile: Add s_sincosf_data.c.
10498 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10499 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10500 (sincosf_poly): Likewise.
10501 (reduce_small): Likewise.
10502 (reduce_large): Likewise.
10503 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10504 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10505 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10506 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10507
10508 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10509 Szabolcs Nagy <szabolcs.nagy@arm.com>
10510
10511 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10512 (converttoint): Use lround.
10513 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10514 document the semantics when TOINT_INTRINSICS is set.
10515 (converttoint): Likewise.
10516 (TOINT_RINT): Remove.
10517 (TOINT_SHIFT): Remove.
10518 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10519 path.
10520
10521 2018-08-10 Florian Weimer <fweimer@redhat.com>
10522
10523 [BZ #23497]
10524 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10525 function.
10526 (__old_getdents64): Use getdents64. Convert entries without
10527 moving them.
10528 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10529 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10530 tst-readdir64-compat.
10531
10532 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10533
10534 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10535 Fix unwind.
10536
10537 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10538
10539 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10540 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10541 code to s390x-mcount.h and #include it.
10542 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10543 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10544 (__fentry__): Add.
10545
10546 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10547
10548 * stdlib/Versions: Remove __fentry__.
10549 * sysdeps/i386/Versions: Add __fentry__.
10550 * sysdeps/x86_64/Versions: Add __fentry__.
10551
10552 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10553
10554 * sysdeps/s390/Makefile: Register the new tests.
10555 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10556 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10557 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10558 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10559 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10560 * sysdeps/s390/tst-dl-runtime.c: New file.
10561
10562 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10563
10564 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10565 Do not clobber R0.
10566
10567 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10568
10569 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10570 Do not clobber R0.
10571
10572 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10573
10574 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10575 Do not clobber R0.
10576
10577 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10578
10579 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10580 Do not clobber R0.
10581
10582 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10583
10584 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10585 Use symbolic offsets for stack variables.
10586
10587 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10588
10589 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10590 Use symbolic offsets for stack variables.
10591
10592 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10593
10594 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10595 Use symbolic offsets for stack variables.
10596
10597 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10598
10599 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10600 Use symbolic offsets for stack variables.
10601
10602 2018-08-09 Joseph Myers <joseph@codesourcery.com>
10603
10604 * math/gen-libm-test.py: New file.
10605 * math/gen-libm-test.pl: Remove.
10606 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10607 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10608 gen-libm-test.pl.
10609 ($(libm-test-c-noauto-obj)): Likewise.
10610 ($(libm-test-c-auto-obj)): Likewise.
10611 ($(libm-test-c-narrow-obj)): Likewise.
10612 (regen-ulps): Likewise.
10613 * math/README.libm-test: Update references to gen-libm-test.pl.
10614 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10615 referencing gen-libm-test.pl.
10616 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10617 * math/libm-test-support.c: Likewise.
10618 * math/libm-test-support.h: Likewise.
10619 * sysdeps/generic/libm-test-ulps: Likewise.
10620
10621 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10622
10623 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10624 Fix value.
10625
10626 2018-08-08 Joseph Myers <joseph@codesourcery.com>
10627
10628 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10629 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10630
10631 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10632
10633 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10634 symbols.
10635 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10636 __pthread_setspecific): Add hidden proto.
10637 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10638 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
10639
10640 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10641
10642 * benchtests/bench-string.h (buf1_size, buf2_size): New
10643 variables.
10644 (init_sizes): New function.
10645 (test_init): Use it.
10646 (alloc_buf, exit_error): New functions.
10647 (alloc_bufs): Use ALLOC_BUF.
10648 (realloc_bufs): Remove.
10649 * benchtests/bench-memcmp.c (do_test): Adjust.
10650 * benchtests/bench-memset-large.c (do_test): Likewise.
10651 * benchtests/bench-memset-walk.c (do_test): Likewise.
10652 * benchtests/bench-memset.c (do_test): Likewise.
10653 * benchtests/bench-strncmp.c (do_test): Likewise.
10654
10655 2018-08-06 Andreas Schwab <schwab@suse.de>
10656
10657 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10658 of CONST_THREAD_AREA.
10659
10660 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10661
10662 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10663 (STATE_SAVE_MASK): Likewise.
10664 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10665 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10666 (STATE_SAVE_MASK): Likewise.
10667 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10668 instead of <cpu-features.h>.
10669
10670 2018-08-03 DJ Delorie <dj@redhat.com>
10671
10672 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
10673 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
10674
10675 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10676
10677 2018-08-03 Joseph Myers <joseph@codesourcery.com>
10678
10679 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10680 after TEST_* calls.
10681 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10682 * math/libm-test-logb.inc (logb_test_data): Likewise.
10683
10684 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10685
10686 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10687 * string/strstr.c (AVAILABLE): Likewise.
10688
10689 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10690
10691 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10692 <init-arch.h>.
10693 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10694 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10695 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10696
10697 2018-08-03 Carlos O'Donell <carlos@redhat.com>
10698
10699 * po/be.po: Update translation.
10700
10701 * po/be.po: Update translation.
10702
10703 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10704
10705 * sysdeps/x86/cpu-features-offsets.sym
10706 (rtld_global_ro_offsetof): Removed.
10707 (CPU_FEATURES_SIZE): Likewise.
10708 (CPUID_OFFSET): Likewise.
10709 (CPUID_SIZE): Likewise.
10710 (CPUID_EAX_OFFSET): Likewise.
10711 (CPUID_EBX_OFFSET): Likewise.
10712 (CPUID_ECX_OFFSET): Likewise.
10713 (CPUID_EDX_OFFSET): Likewise.
10714 (FAMILY_OFFSET): Likewise.
10715 (MODEL_OFFSET): Likewise.
10716 (FEATURE_OFFSET): Likewise.
10717 (FEATURE_SIZ): Likewise.
10718 (COMMON_CPUID_INDEX_1): Likewise.
10719 (COMMON_CPUID_INDEX_7): Likewise.
10720 (FEATURE_INDEX_1): Likewise.
10721 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10722
10723 2018-08-02 Carlos O'Donell <carlos@redhat.com>
10724
10725 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10726 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10727 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10728 (install-locales): Depend on install-locale-archive.
10729 (install-locale-archive): Define.
10730 (install-locale-files): Define.
10731 (build-one-locale): Define macro.
10732 * manual/install.texi (Running make install): Document.
10733 * manual/INSTALL: Regenerate.
10734
10735 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10736
10737 * benchtests/scripts/compare_strings.py: Import traceback.
10738 (parse_file): Pretty-print error.
10739
10740 * NEWS: Mention the change.
10741 * elf/dl-tunables.list: Rename tune namespace to cpu.
10742 * sysdeps/powerpc/dl-tunables.list: Likewise.
10743 * sysdeps/x86/dl-tunables.list: Likewise.
10744 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10745 cpu.name.
10746 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10747 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10748 * manual/README.tunables: Likewise.
10749 * manual/tunables.texi: Likewise.
10750 * sysdeps/powerpc/cpu-features.c: Likewise.
10751 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10752 (init_cpu_features): Likewise.
10753 * sysdeps/x86/cpu-features.c: Likewise.
10754 * sysdeps/x86/cpu-features.h: Likewise.
10755 * sysdeps/x86/cpu-tunables.c: Likewise.
10756 * sysdeps/x86_64/Makefile: Likewise.
10757 * sysdeps/x86/dl-cet.c: Likewise.
10758
10759 2018-08-02 Joseph Myers <joseph@codesourcery.com>
10760
10761 [BZ #23479]
10762 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10763 [__mips_hard_float].
10764 (FE_UNDERFLOW): Likewise.
10765 (FE_OVERFLOW): Likewise.
10766 (FE_DIVBYZERO): Likewise.
10767 (FE_INVALID): Likewise.
10768 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10769 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10770 (FE_UPWARD): Likewise.
10771 (FE_DOWNWARD): Likewise.
10772 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10773 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10774 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10775 [__mips_hard_float].
10776 (FP_ROUNDMODE): Likewise.
10777 (FP_RND_NEAREST): Likewise.
10778 (FP_RND_ZERO): Likewise.
10779 (FP_RND_PINF): Likewise.
10780 (FP_RND_MINF): Likewise.
10781 (FP_EX_INVALID): Likewise.
10782 (FP_EX_OVERFLOW): Likewise.
10783 (FP_EX_UNDERFLOW): Likewise.
10784 (FP_EX_DIVZERO): Likewise.
10785 (FP_EX_INEXACT): Likewise.
10786 (FP_INIT_ROUNDMODE): Likewise.
10787 * sysdeps/mips/nofpu/fesetenv.c: New file.
10788 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10789
10790 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10791
10792 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10793 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10794 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10795 conditional on [FE_UPWARD].
10796
10797 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10798
10799 regex: fix memory leak in Gnulib
10800 Problem and fix reported by Assaf Gordon in:
10801 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10802 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10803 range_ends members too, as they are defined in 'struct
10804 re_charset_t' even if not _LIBC. This affects only Gnulib.
10805
10806 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10807
10808 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10809 ...
10810 (get_common_indices): This.
10811 (init_cpu_features): Updated.
10812
10813 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10814
10815 * sysdeps/generic/math-tests-snan-payload.h: New file.
10816 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10817 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10818 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10819 * sysdeps/generic/math-tests.h: Include
10820 <math-tests-snan-payload.h>.
10821 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10822 * sysdeps/hppa/math-tests.h: Remove file.
10823 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10824 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10825 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10826 Likewise.
10827
10828 * sysdeps/generic/math-tests-snan-cast.h: New file.
10829 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10830 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10831 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10832 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10833
10834 2018-08-01 Carlos O'Donel <carlos@redhat.com>
10835
10836 * version.h (RELEASE): Set to "development".
10837 (VERSION): Set to "2.28.9000".
10838 * NEWS (2.29): New section.
10839
10840 * version.h (RELEASE): Set to "stable".
10841 (VERSION): Set to "2.28".
10842 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10843 * NEWS: Add the list of bugs fixed in 2.28.
10844
10845 * po/ca.po: Update to latest version.
10846 * po/cs.po: Likewise
10847 * po/da.po: Likewise
10848 * po/el.po: Likewise
10849 * po/eo.po: Likewise
10850 * po/es.po: Likewise
10851 * po/fi.po: Likewise
10852 * po/fr.po: Likewise
10853 * po/gl.po: Likewise
10854 * po/hu.po: Likewise
10855 * po/ia.po: Likewise
10856 * po/id.po: Likewise
10857 * po/it.po: Likewise
10858 * po/ja.po: Likewise
10859 * po/ko.po: Likewise
10860 * po/lt.po: Likewise
10861 * po/nb.po: Likewise
10862 * po/nl.po: Likewise
10863 * po/pt_BR.po: Likewise
10864 * po/ru.po: Likewise
10865 * po/rw.po: Likewise
10866 * po/sk.po: Likewise
10867 * po/sl.po: Likewise
10868 * po/tr.po: Likewise
10869 * po/zh_CN.po: Likewise
10870 * po/zh_TW.po: Likewise
10871
10872 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10873
10874 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10875 initialization...
10876 (init): ... before initializing libpthread.
10877
10878 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10879 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10880 (__mach_setup_tls): ... new function.
10881 (mach_setup_tls): New alias.
10882 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10883 __mach_setup_thread.
10884 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10885 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10886 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10887 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10888
10889 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10890
10891 * manual/install.texi: Update versions.
10892 * INSTALL: Regenerate.
10893
10894 * manual/contrib.texi (Contributors): Update contributions.
10895
10896 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10897
10898 * po/be.po: Update translations.
10899
10900 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10901
10902 * sysdeps/sh/libm-test-ulps: Update.
10903
10904 2018-07-30 Carlos O'Donell <carlos@redhat.com>
10905
10906 * po/bg.po: Update translations.
10907 * po/de.po: Likewise.
10908 * po/hr.po: Likewise.
10909 * po/pt_BR.po: Likewise.
10910 * po/sv.po: Likewise.
10911 * po/vi.po: Likewise.
10912
10913 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10914
10915 [BZ #23467]
10916 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10917 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10918 (CFLAGS-tst-cet-property-1.o): New.
10919 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10920 ($(objpfx)tst-cet-property-2): Likewise.
10921 ($(objpfx)tst-cet-property-2.out): Likewise.
10922 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10923 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10924 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10925 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10926 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10927
10928 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10929
10930 [BZ #23458]
10931 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10932
10933 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10934
10935 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10936 __sbrk): Do not set attribute_hidden.
10937 * sysdeps/mach/hurd/not-errno.h: New file.
10938 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10939 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10940
10941 2018-07-27 Carlos O'Donell <carlos@redhat.com>
10942
10943 * po/uk.po: Update translations.
10944 * po/cs.po: Likewise.
10945 * po/pl.po: Likewise.
10946
10947 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10948
10949 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10950 parse beyond the note end.
10951
10952 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10953
10954 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10955 kernel does not support OFD locks.
10956 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10957
10958 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10959
10960 * sysdeps/mach/hurd/Versions (libc): Make __access and
10961 __access_noerrno external so they can override the ld symbols.
10962 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10963 __writev, __open64, __access_noerrno extern so they can be overrided.
10964 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10965 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10966
10967 2018-07-26 Carlos O'Donell <carlos@redhat.com>
10968
10969 * po/libc.pot: Regenerate.
10970
10971 2018-07-26 Joseph Myers <joseph@codesourcery.com>
10972
10973 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10974
10975 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10976
10977 [BZ #23459]
10978 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10979 function.
10980 (init_cpu_features): Call get_extended_indices for both Intel
10981 and AMD CPUs.
10982 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10983 Remove "for AMD" comment.
10984
10985 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10986
10987 [BZ # 23456]
10988 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10989 COMMON_CPUID_INDEX_80000001.
10990
10991 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
10992
10993 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10994 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10995
10996 2018-07-26 Florian Weimer <fweimer@redhat.com>
10997
10998 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10999 aliases for symbols not in the implementation namespace.
11000
11001 2018-07-25 Carlos O'Donell <carlos@redhat.com>
11002
11003 [BZ #23393]
11004 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11005 lowercase in LATIN script.
11006 * localedata/Makefile (test-input): Add en_US.UTF-8.
11007 * localedata/en_US.UTF-8.in: New file.
11008 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11009 and restore old tests.
11010 * posix/tst-regexloc.c (do_test): Add back range expression test.
11011
11012 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11013
11014 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11015
11016 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11017
11018 * nptl/threads.h: Move to ...
11019 * sysdeps/nptl/threads.h: ... here.
11020 * sysdeps/hurd/stdc-predef.h: New file.
11021
11022 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11023
11024 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11025 tst-cet-setcontext-1 if CET is enabled.
11026 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11027 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11028
11029 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11030
11031 * include/threads.h: Move to ...
11032 * sysdeps/nptl/threads.h: ... here.
11033 * sysdeps/htl/threads.h: New file.
11034 * conform/Makefile (linknamespace-libs-ISO11): Use
11035 static-thread-library instead of linking libpthread.
11036 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11037
11038 2018-07-25 Florian Weimer <fweimer@redhat.com>
11039
11040 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11041 nanoseconds into seconds.
11042 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11043 (do_test): Likewise.
11044 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11045 (do_test): Likewise. Avoid nanosecond overflow and spurious
11046 timeouts due to system load.
11047 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11048 (child_wait): Increment it.
11049 (do_test): Wait as long as necessary until all expected threads
11050 have arrived.
11051
11052 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11053 H.J. Lu <hongjiu.lu@intel.com>
11054
11055 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11056 __ssp.
11057 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11058 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11059 (__push___start_context): New.
11060 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11061 <asm/prctl.h>.
11062 (__getcontext): Record the current shadow stack base. Save the
11063 caller's shadow stack pointer and base.
11064 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11065 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11066 (__push___start_context): New prototype.
11067 (__makecontext): Call __push___start_context to allocate a new
11068 shadow stack, push __start_context onto the new stack as well
11069 as the new shadow stack.
11070 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11071 <asm/prctl.h>.
11072 (__setcontext): Restore the target shadow stack.
11073 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11074 <asm/prctl.h>.
11075 (__swapcontext): Record the current shadow stack base. Save
11076 the caller's shadow stack pointer and base. Restore the target
11077 shadow stack.
11078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11079 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11080 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11081
11082 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11083
11084 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11085 tst-setcontext8 and tst-setcontext9.
11086 * stdlib/tst-setcontext6.c: New file.
11087 * stdlib/tst-setcontext7.c: Likewise.
11088 * stdlib/tst-setcontext8.c: Likewise.
11089 * stdlib/tst-setcontext9.c: Likewise.
11090
11091 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11092
11093 * stdlib/Makefile ((tests): Add tst-setcontext5.
11094 * stdlib/tst-setcontext5.c: New file.
11095
11096 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11097
11098 * stdlib/Makefile (tests): Add tst-setcontext4.
11099 * stdlib/tst-setcontext4.c: New file.
11100
11101 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11102
11103 * stdlib/Makefile (tests): Add tst-swapcontext1.
11104 * stdlib/tst-swapcontext1.c: New test.
11105
11106 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11107
11108 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11109 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11110 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11111 and tst-cet-legacy-4c.
11112 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11113 and tst-cet-legacy-mod-4.
11114 (CFLAGS-tst-cet-legacy-2.c): New.
11115 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11116 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11117 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11118 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11119 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11120 ($(objpfx)tst-cet-legacy-1): Likewise.
11121 ($(objpfx)tst-cet-legacy-2): Likewise.
11122 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11123 ($(objpfx)tst-cet-legacy-2a): Likewise.
11124 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11125 ($(objpfx)tst-cet-legacy-4): Likewise.
11126 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11127 ($(objpfx)tst-cet-legacy-4a): Likewise.
11128 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11129 (tst-cet-legacy-4a-ENV): Likewise.
11130 ($(objpfx)tst-cet-legacy-4b): Likewise.
11131 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11132 (tst-cet-legacy-4b-ENV): Likewise.
11133 ($(objpfx)tst-cet-legacy-4c): Likewise.
11134 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11135 (tst-cet-legacy-4c-ENV): Likewise.
11136 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11137 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11138 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11139 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11140 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11141 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11142 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11143 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11144 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11145 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11146 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11147
11148 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11149
11150 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11151 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11152 with ssp_base.
11153 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11154 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11155 with ssp_base.
11156
11157 2018-07-25 Andreas Schwab <schwab@suse.de>
11158
11159 [BZ #23442]
11160 * locale/weightwc.h (findidx): Handle the case where usrc is a
11161 prefix of cp but one character too short.
11162
11163 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11164
11165 * NEWS: Add ISO C threads addition.
11166
11167 2018-07-24 Florian Weimer <fweimer@redhat.com>
11168
11169 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11170 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11171 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11172 4.13.
11173
11174 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11175
11176 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11177 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11178 <sys/prctl.h> and <asm/prctl.h>.
11179 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11180 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11181 and <asm/prctl.h>.
11182 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11183 ARCH_CET_LEGACY_BITMAP.
11184 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11185 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11186 * sysdeps/x86/libc-start.c: Include <startup.h>.
11187
11188 2018-07-24 Florian Weimer <fweimer@redhat.com>
11189
11190 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11191 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11192
11193 2018-07-24 Rical Jasan <rj@2c3t.io>
11194 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11195 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11196
11197 [BZ #14092]
11198 * manual/debug.texi: Update adjacent chapter name.
11199 * manual/probes.texi: Likewise.
11200 * manual/threads.texi (ISO C Threads): New section.
11201 (POSIX Threads): Convert to a section.
11202
11203 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11204 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11205
11206 [BZ# 14092]
11207 * nptl/Makefile (tests): Add new test files.
11208 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11209 * nptl/tst-cnd-basic.c: Likewise.
11210 * nptl/tst-cnd-broadcast.c: Likewise.
11211 * nptl/tst-cnd-timedwait.c: Likewise.
11212 * nptl/tst-mtx-basic.c: Likewise.
11213 * nptl/tst-mtx-recursive.c: Likewise.
11214 * nptl/tst-mtx-timedlock.c: Likewise.
11215 * nptl/tst-mtx-trylock.c: Likewise.
11216 * nptl/tst-thrd-basic.c: Likewise.
11217 * nptl/tst-thrd-detach.c: Likewise.
11218 * nptl/tst-thrd-sleep.c: Likewise.
11219 * nptl/tst-tss-basic.c: Likewise.
11220
11221 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11222
11223 [BZ #14092]
11224 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11225 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11226 symbols.
11227 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11228 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11229 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11230 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11231 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11232 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11233 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11234 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11235 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11236 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11237 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11238 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11240 Likewise.
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11242 Likewise.
11243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11244 Likewise.
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11246 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11247 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11248 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11249 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11250 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11251 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11252 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11253 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11254 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11255 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11256 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11257 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11258 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11259 Likewise.
11260 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11261 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11262 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11263 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11264 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11265 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11266 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11267 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11268 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11269 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11270 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11271 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11272 ikewise.
11273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11275 Likewise.
11276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11277 Likewise.
11278 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11279 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11280 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11281 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11282 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11283 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11284 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11285 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11286
11287 [BZ #14092]
11288 * conform/data/threads.h-data (thread_local): New macro.
11289 (TSS_DTOR_ITERATIONS): Likewise.
11290 (tss_t): New type.
11291 (tss_dtor_t): Likewise.
11292 (tss_create): New function.
11293 (tss_get): Likewise.
11294 (tss_set): Likewise.
11295 (tss_delete): Likewise.
11296 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11297 tss_get, and tss_set objects.
11298 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11299 * nptl/tss_create.c: New file.
11300 * nptl/tss_delete.c: Likewise.
11301 * nptl/tss_get.c: Likewise.
11302 * nptl/tss_set.c: Likewise.
11303 * sysdeps/nptl/threads.h (thread_local): New define.
11304 (TSS_DTOR_ITERATIONS): Likewise.
11305 (tss_t): New typedef.
11306 (tss_dtor_t): Likewise.
11307 (tss_create): New prototype.
11308 (tss_get): Likewise.
11309 (tss_set): Likewise.
11310 (tss_delete): Likewise.
11311
11312 [BZ #14092]
11313 * conform/data/threads.h-data (cnd_t): New type.
11314 (cnd_init): New function.
11315 (cnd_signal): Likewise.
11316 (cnd_broadcast): Likewise.
11317 (cnd_wait): Likewise.
11318 (cnd_timedwait): Likewise.
11319 (cnd_destroy): Likewise.
11320 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11321 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11322 object.
11323 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11324 * nptl/cnd_broadcast.c: New file.
11325 * nptl/cnd_destroy.c: Likewise.
11326 * nptl/cnd_init.c: Likewise.
11327 * nptl/cnd_signal.c: Likewise.
11328 * nptl/cnd_timedwait.c: Likewise.
11329 * nptl/cnd_wait.c: Likewise.
11330 * sysdeps/nptl/threads.h (cnd_t): New type.
11331 (cnd_init): New prototype.
11332 (cnd_signa): Likewise.
11333 (cnd_broadcast): Likewise.
11334 (cnd_wait): Likewise.
11335 (cnd_timedwait): Likewise.
11336 (cnd_destroy): Likewise.
11337
11338 [BZ #14092]
11339 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11340 (once_flag): New type.
11341 (call_once): New function.
11342 * nptl/Makefile (libpthread-routines): Add call_once object.
11343 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11344 * nptl/call_once.c: New file.
11345 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11346 (once_flag): New type.
11347 (call_once): New prototype.
11348
11349 [BZ #14092]
11350 * conform/data/threads.h-data (mtx_plain): New constant.
11351 (mtx_recursive): Likewise.
11352 (mtx_timed): Likewise.
11353 (mtx_t): New type.
11354 (mtx_init): New function.
11355 (mtx_lock): Likewise.
11356 (mtx_timedlock): Likewise.
11357 (mtx_trylock): Likewise.
11358 (mtx_unlock): Likewise.
11359 (mtx_destroy): Likewise.
11360 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11361 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11362 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11363 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11364 * nptl/mtx_destroy.c: New file.
11365 * nptl/mtx_init.c: Likewise.
11366 * nptl/mtx_lock.c: Likewise.
11367 * nptl/mtx_timedlock.c: Likewise.
11368 * nptl/mtx_trylock.c: Likewise.
11369 * nptl/mtx_unlock.c: Likewise.
11370 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11371 (mtx_recursive): Likewise.
11372 (mtx_timed): Likewise.
11373 (mtx_t): New type.
11374 (mtx_init): New prototype.
11375 (mtx_lock): Likewise.
11376 (mtx_timedlock): Likewise.
11377 (mtx_trylock): Likewise.
11378 (mtx_unlock): Likewise.
11379 (mtx_destroy): Likewise.
11380
11381 [BZ #14092]
11382 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11383 (linknamespace-libs-ISO11): Add libpthread.a.
11384 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11385 functions.
11386 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11387 * nptl/Makefile (headers): Add threads.h.
11388 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11389 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11390 thrd_yield.
11391 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11392 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11393 thrd_join, thrd_sleep, and thrd_yield symbols.
11394 * nptl/descr.h (struct pthread): Add c11 field.
11395 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11396 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11397 routine with expected function prototype.
11398 (__pthread_create_2_1): Add C11 threads check based on attribute
11399 value.
11400 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11401 * nptl/thrd_create.c: New file.
11402 * nptl/thrd_current.c: Likewise.
11403 * nptl/thrd_detach.c: Likewise.
11404 * nptl/thrd_equal.c: Likewise.
11405 * nptl/thrd_exit.c: Likewise.
11406 * nptl/thrd_join.c: Likewise.
11407 * nptl/thrd_priv.h: Likewise.
11408 * nptl/thrd_sleep.c: Likewise.
11409 * nptl/thrd_yield.c: Likewise.
11410 * include/threads.h: Likewise.
11411
11412 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11413
11414 * bits/indirect-return.h: New file.
11415 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11416 * sysdeps/x86/bits/indirect-return.h: Likewise.
11417 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11418 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11419 (swapcontext): Add __INDIRECT_RETURN.
11420 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11421 (prepare_test_buffer): Use it.
11422
11423 2018-07-24 Andreas Schwab <schwab@suse.de>
11424
11425 [BZ #23448]
11426 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11427 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11428
11429 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11430
11431 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11432 Redefine if shadow stack is enabled.
11433 (SYSCALL_ERROR_LABEL): Likewise.
11434 (__vfork): Pop shadow stack and jump back to to caller directly
11435 when shadow stack is in use.
11436 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11437 Redefine if shadow stack is enabled.
11438 (SYSCALL_ERROR_LABEL): Likewise.
11439 (__vfork): Pop shadow stack and jump back to to caller directly
11440 when shadow stack is in use.
11441
11442 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11443
11444 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11445 enabled.
11446 (foo): Likewise.
11447 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11448 (foo): Likewise.
11449
11450 2018-07-20 Joseph Myers <joseph@codesourcery.com>
11451
11452 * scripts/build-many-glibcs.py (Context.checkout): Default
11453 binutils version to 2.31 branch.
11454
11455 2018-07-20 Zong Li <zong@andestech.com>
11456
11457 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11458 URL of gcc's tarball.
11459
11460 2018-07-20 Florian Weimer <fweimer@redhat.com>
11461
11462 [BZ #23396]
11463 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11464 not compare an extra byte after the end of the weights.
11465
11466 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11467
11468 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11469 to 1.
11470 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11471 hidden prototypes.
11472 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11473 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
11474 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11475 list of libraries whose stack executability is expected.
11476 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11477 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11478 variable.
11479 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11480 libc.so libpthread.so.
11481
11482 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11483
11484 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11485 SOCK_NONBLOCK.
11486 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11487 and SOCK_NONBLOCK.
11488 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11489 implement __pipe2.
11490 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
11491
11492 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11493
11494 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11495 library to improve command line parsing.
11496 (__main__): make schema file as optional parameter (--schema),
11497 defaulting to benchtests/scripts/benchout.schema.json.
11498 (main): move out of the parsing stuff to __main_  and leave it
11499 only as caller of main comparison functions.
11500
11501 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11502
11503 * NEWS: Add a note for Intel CET status.
11504 * manual/install.texi: Likewise.
11505 * INSTALL: Regenerated.
11506
11507 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11508
11509 [BZ #23140]
11510 * localedata/locales/oc_FR (mon): Rename to...
11511 (alt_mon): This, then update October (typo fix).
11512 (mon): New content (genitive case, month names preceded by
11513 "de" or "d’").
11514
11515 [BZ #23422]
11516 * localedata/locales/oc_FR (abday): Update all items.
11517 (day): Update Wednesday and Saturday (typo fixes).
11518 (abmon): Update all items, except May.
11519 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11520 (LC_IDENTIFICATION): Bump the revision number and date.
11521 Keep the "category" entries in alphabetic order.
11522 (LC_ADDRESS): Remove no longer needed comment.
11523 (LC_COLLATE): Use “copy "ca_ES"”.
11524 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11525 "name_mrs".
11526
11527 2018-07-18 Joseph Myers <joseph@codesourcery.com>
11528
11529 * grp/tst_fgetgrent.c: Include <unistd.h>.
11530 (main): Use mkstemp instead of tmpnam.
11531 * io/test-utime.c (main): Likewise.
11532 * posix/annexc.c (macrofile): Change to modifiable array.
11533 (main): Remove macrofile here.
11534 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11535 macrofile here.
11536 (check_header): Do not remove macrofile here.
11537 * posix/bug-getopt1.c: Include <stdlib.h>.
11538 (do_test): Use mkstemp instead of tmpnam.
11539 * posix/bug-getopt2.c: Include <stdlib.h>.
11540 (do_test): Use mkstemp instead of tmpnam.
11541 * posix/bug-getopt3.c: Include <stdlib.h>.
11542 (do_test): Use mkstemp instead of tmpnam.
11543 * posix/bug-getopt4.c: Include <stdlib.h>.
11544 (do_test): Use mkstemp instead of tmpnam.
11545 * posix/bug-getopt5.c: Include <stdlib.h>.
11546 (do_test): Use mkstemp instead of tmpnam.
11547 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11548 (main): Use mkstemp instead of tmpnam.
11549 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11550 (main): Use mkstemp instead of tmpnam.
11551 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11552 (main): use mkstemp instead of tmpnam.
11553 * stdlib/isomac.c (macrofile): Change to modifiable array.
11554 (main): Remove macrofile here.
11555 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11556 macrofile here.
11557 (check_header): Do not remove macrofile here.
11558
11559 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11560
11561 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11562 glibc.tune.x86_shstk.
11563
11564 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11565
11566 * NEWS: Mention --enable-cet.
11567 * manual/install.texi: Document --enable-cet.
11568 * INSTALL: Regenerated.
11569
11570 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11571
11572 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11573 Add _CET_NOTRACK before indirect jump to jump table.
11574
11575 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11576
11577 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11578 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11579 to jump table.
11580
11581 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11582
11583 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11584 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11585 to jump table.
11586
11587 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11588
11589 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11590 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11591 to jump table.
11592
11593 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11594
11595 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11596 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11597 to jump table.
11598
11599 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11600
11601 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11602 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11603 to jump table.
11604 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11605
11606 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11607
11608 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11609 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11610 to jump table.
11611
11612 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11613
11614 * sysdeps/i386/i686/multiarch/memset-sse2.S
11615 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11616 to jump table.
11617
11618 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11619
11620 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11621 indirect jump to jump table.
11622
11623 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11624
11625 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11626 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11627 to jump table.
11628 (MEMCPY): Likewise.
11629
11630 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11631
11632 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11633 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11634 to jump table.
11635 (MEMCPY): Likewise.
11636
11637 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11638
11639 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11640 _CET_NOTRACK before indirect jump to jump table.
11641
11642 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11643
11644 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11645 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11646 to jump table.
11647
11648 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11649
11650 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11651 indirect jump to jump table.
11652
11653 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11654
11655 [BZ #22241]
11656 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11657 (LOCALES): Likewise.
11658 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11659 * localedata/locales/sah_RU: New file.
11660 * localedata/sah_RU.UTF-8.in: New file.
11661
11662 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11663
11664 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11665 "sysdep.h".
11666 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11667 _CET_ENDBR to indirect jump targets and adjust jump destination
11668 for _CET_ENDBR.
11669 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11670 "sysdep.h".
11671 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11672 _CET_ENDBR to indirect jump targets and adjust jump destination
11673 for _CET_ENDBR.
11674 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11675 "sysdep.h".
11676 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11677 _CET_ENDBR to indirect jump targets and adjust jump destination
11678 for _CET_ENDBR.
11679
11680 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11681
11682 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11683 _CET_ENDBR.
11684
11685 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11686
11687 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11688 _CET_ENDBR.
11689 (_dl_tlsdesc_undefweak): Likewise.
11690 (_dl_tlsdesc_dynamic): Likewise.
11691 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11692 (_dl_tlsdesc_resolve_rel): Likewise.
11693 (_dl_tlsdesc_resolve_rela): Likewise.
11694 (_dl_tlsdesc_resolve_hold): Likewise.
11695 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11696 (_dl_tlsdesc_undefweak): Likewise.
11697 (_dl_tlsdesc_dynamic): Likewise.
11698 (_dl_tlsdesc_resolve_rela): Likewise.
11699 (_dl_tlsdesc_resolve_hold): Likewise.
11700
11701 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11702
11703 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11704 (_fini): Likewise.
11705 * sysdeps/x86_64/crti.S (_init): Likewise.
11706 (_fini): Likewise.
11707
11708 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11709
11710 [BZ #23140]
11711 * localedata/locales/os_RU (mon): Rename to...
11712 (alt_mon): This.
11713 (mon): Import from CLDR (genitive case).
11714
11715 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11716
11717 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11718 cet-tunables.h> when CET is enabled.
11719
11720 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11721
11722 [BZ #21598]
11723 * configure.ac: Add --enable-cet.
11724 * configure: Regenerated.
11725 * elf/Makefille (all-built-dso): Add a comment.
11726 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11727 Include <dl-prop.h>.
11728 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11729 segment.
11730 * elf/dl-open.c: Include <dl-prop.h>.
11731 (dl_open_worker): Call _dl_open_check.
11732 * elf/rtld.c: Include <dl-prop.h>.
11733 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11734 _rtld_main_check.
11735 * sysdeps/generic/dl-prop.h: New file.
11736 * sysdeps/i386/dl-cet.c: Likewise.
11737 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11738 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11739 * sysdeps/x86/cet-tunables.h: Likewise.
11740 * sysdeps/x86/check-cet.awk: Likewise.
11741 * sysdeps/x86/configure: Likewise.
11742 * sysdeps/x86/configure.ac: Likewise.
11743 * sysdeps/x86/dl-cet.c: Likewise.
11744 * sysdeps/x86/dl-procruntime.c: Likewise.
11745 * sysdeps/x86/dl-prop.h: Likewise.
11746 * sysdeps/x86/libc-start.h: Likewise.
11747 * sysdeps/x86/link_map.h: Likewise.
11748 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11749 _CET_ENDBR.
11750 (_dl_runtime_profile): Likewise.
11751 (_dl_runtime_resolve_shstk): New.
11752 (_dl_runtime_profile_shstk): Likewise.
11753 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11754 if CET is enabled.
11755 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11756 (CFLAGS-.os): Likewise.
11757 (CFLAGS-.op): Likewise.
11758 (CFLAGS-.oS): Likewise.
11759 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11760 is enabled.
11761 (tests-special): Add $(objpfx)check-cet.out.
11762 (cet-built-dso): New.
11763 (+$(cet-built-dso:=.note)): Likewise.
11764 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11765 ($(objpfx)check-cet.out): New.
11766 (generated): Add check-cet.out.
11767 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11768 <cet-tunables.h>.
11769 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11770 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11771 (init_cpu_features): Call get_cet_status to check CET status
11772 and update dl_x86_feature_1 with CET status. Call
11773 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11774 (set_x86_shstk). Disable and lock CET in libc.a.
11775 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11776 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11777 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11778 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11779 (_CET_ENDBR): Define if not defined.
11780 (ENTRY): Add _CET_ENDBR.
11781 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11782 x86_shstk.
11783 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11784 _CET_ENDBR.
11785 (_dl_runtime_profile): Likewise.
11786
11787 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11788
11789 [BZ #21895]
11790 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11791 restore r2 on longjmp.
11792 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11793 test list.
11794 Added rules to build test tst-setjmp-bug21895-static.
11795 Added module setjmp-bug21895 and rules to build a shared object from it.
11796 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11797 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11798
11799 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11800
11801 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11802 * benchtests/bench-strstr.c: Likewise.
11803 * string/memmem.c (FASTSEARCH): Define.
11804 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11805 Add support for FASTSEARCH.
11806 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11807 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11808 (FASTSEARCH): Define.
11809 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11810 * string/test-strstr.c: Likewise.
11811
11812 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11813
11814 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11815 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11816
11817 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11818 H.J. Lu <hongjiu.lu@intel.com>
11819
11820 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11821 (__longjmp): Restore shadow stack pointer if shadow stack is
11822 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11823 isn't defined for __longjmp_cancel.
11824 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11825 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11826 and SHADOW_STACK_POINTER_OFFSET is defined.
11827 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11828 (setjmp): Save shadow stack pointer if shadow stack is enabled
11829 and SHADOW_STACK_POINTER_OFFSET is defined.
11830 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11831 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11832 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11833 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11834 <jmp_buf-ssp.h>.
11835 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11836 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11837 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11838 Remove jmp_buf-ssp.sym.
11839 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11840 <jmp_buf-ssp.h>.
11841 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11842 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11843 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11844 jmp_buf-ssp.sym.
11845 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11846 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11847 (__longjmp): Restore shadow stack pointer if shadow stack is
11848 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11849 isn't defined for __longjmp_cancel.
11850 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11851 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11852 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11853
11854 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11855
11856 [BZ #22563]
11857 * nptl/pthread_create.c: Include <tls-setup.h>.
11858 (__pthread_create_2_1): Call tls_setup_tcbhead.
11859 * sysdeps/generic/tls-setup.h: New file.
11860 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11861 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11862 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11863 Likewise.
11864 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11865 to feature_1.
11866 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11867 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11868 (X86_FEATURE_1_SHSTK): Likewise.
11869 (CET_ENABLED): Likewise.
11870 (IBT_ENABLED): Likewise.
11871 (SHSTK_ENABLED): Likewise.
11872
11873 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11874
11875 [BZ #23208]
11876 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11877 (LOCALES): Likewise.
11878 * localedata/dsb_DE.UTF-8.in: New file.
11879 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11880
11881 2018-07-12 Florian Weimer <fweimer@redhat.com>
11882
11883 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11884 __mprotect, not mprotect.
11885
11886 2018-07-11 Florian Weimer <fweimer@redhat.com>
11887
11888 * io/Makefile (headers): Add bits/statx.h.
11889
11890 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11891
11892 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11893 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11894 and headers.
11895 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11896 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11897 for utf8_gen.py
11898
11899 2018-07-10 Florian Weimer <fweimer@redhat.com>
11900
11901 * io/Makefile (routines): Add statx.
11902 (tests-internal): Add tst-statx.
11903 * io/Versions (GLIBC_2.28): Export statx.
11904 * io/bits/statx.h: New file.
11905 * io/sys/stat.h [__USE_GNU]: Include it.
11906 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11907 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11908 Define.
11909 * io/statx.c: New file.
11910 * io/statx_generic.: Likewise.
11911 * io/tst-statx.: Likewise.
11912 * include/bits/statx.h: Likewise.
11913 * sysdeps/unix/sysv/linux/kernel-features.h
11914 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11915 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11916 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11917 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11918 Undefine.
11919 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11920 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11921 * sysdeps/unix/sysv/linux/statx.c: New file.
11922 * manual/filesys.texi: Note that statx is undocumented.
11923 * sysdeps/**/libc*.abilist: Update.
11924
11925 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11926
11927 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11928 a kernel issue which lead to test failure in some cases.
11929
11930 2018-07-10 Florian Weimer <fweimer@redhat.com>
11931
11932 [BZ #23036]
11933 * posix/regexec.c (check_node_accept_bytes): When comparing
11934 weights, do not compare an extra byte after the end of the
11935 weights.
11936
11937 2018-07-10 Florian Weimer <fweimer@redhat.com>
11938
11939 * libio/readline.c: Fix copyright year.
11940 * libio/tst-readline.c Likewise.
11941 * nss/tst-nss-files-hosts-getent.c: Likewise.
11942
11943 2018-07-06 Florian Weimer <fweimer@redhat.com>
11944
11945 [BZ #18991]
11946 * nss/nss_files/files-XXX.c (internal_getent): Use
11947 __libc_readline_unlocked. Seek back to the start of the line if
11948 parsing failes with ERANGE.
11949 (get_contents_ret, get_contents): Remove.
11950 * nss/tst-nss-files-hosts-getent.c: New file.
11951 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11952 (tst-nss-files-hosts-getent): Link with -ldl.
11953
11954 2018-07-06 Florian Weimer <fweimer@redhat.com>
11955
11956 * include/stdio.h (__libc_readline_unlocked): Declare.
11957 (__ftello64, __fseeko64): Declare aliases.
11958 * libio/readline.c: New file.
11959 * libio/tst-readline.c: Likewise.
11960 (routines): Add readline.
11961 (tests-internal): Add tst-readlime.
11962 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11963 __libc_readline_unlocked.
11964 * libio/fseeko.c (__fseeko): Rename from fseeko.
11965 (fseeko): Add alias.
11966 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11967 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11968 (fseeko64): Add alias.
11969 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11970 * libio/ftello64.c (__ftello64): Rename from ftello64.
11971 (ftello64): Add alias.
11972
11973 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11974
11975 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11976 HWCAP_ATOMICS.
11977
11978 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11979
11980 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11981 Use dl_hwcap without masking.
11982 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11983 Remove HWCAP_CPUID.
11984
11985 2018-07-06 Florian Weimer <fweimer@redhat.com>
11986
11987 * conform/conformtest.pl (checknamespace): Escape literal braces
11988 in regular expressions.
11989
11990 2018-07-06 Amit Pawar <amit.pawar@amd.com>
11991
11992 * sysdeps/x86/cpu-features.c (get_common_indeces):
11993 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11994 * sysdeps/x86/cpu-features.c (init_cpu_features):
11995 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11996
11997 2018-07-05 Florian Weimer <fweimer@redhat.com>
11998
11999 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12000 protector.
12001 (CFLAGS-elf-init.oS): Likewise.
12002
12003 2018-07-05 Florian Weimer <fweimer@redhat.com>
12004 Carlos O'Donell <carlos@redhat.com>
12005
12006 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12007 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12008 with stack protector enabled because there is no risk of infinite
12009 recursion.
12010
12011 2018-07-05 Maciej W. Rozycki <macro@mips.com>
12012
12013 [BZ #19818]
12014 [BZ #23307]
12015 * libc-abis (ABSOLUTE): New ABI.
12016 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12017 * NEWS: Mention the new ABI.
12018
12019 2018-07-05 Florian Weimer <fweimer@redhat.com>
12020
12021 [BZ # 17662]
12022 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12023 (RENAME_WHITEOUT): Define.
12024 [__USE_GNU] (renameat2): Declare.
12025 * stdio-common/Makefile (routines): Add renameat2.
12026 (tests): Add tst-renameat2.
12027 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12028 * stdio-common/renameat2.c: New file.
12029 * stdio-common/tst-renameat2.c: Likewise.
12030 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12031 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12032 undocumented.
12033 * sysdeps/unix/sysv/linux/kernel-features.h
12034 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12035 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12036 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12037 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12038 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12039 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12040 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12041 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12042 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12043 * include/stdio.h (__renameat): Add alias for renameat.
12044 * stdio-common/renameat.c (__renameat): Rename from renameat.
12045 Add hidden definition and alias.
12046 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12047 * sysdeps/mach/hurd/renameat.c: Likewise.
12048 * sysdeps/**/libc*.abilist: Add renameat2.
12049
12050 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12051
12052 * posix/bug-regex33.c: Fix build after regex sync.
12053
12054 2018-07-04 Carlos O'Donell <carlos@redhat.com>
12055
12056 [BZ #23164]
12057 * localedata/tst-langinfo-setlocale.c: New file.
12058 * localedata/tst-langinfo-setlocale-static.c: New file.
12059 * localedata/tst-langinfo-newlocale.c: New file.
12060 * localedata/tst-langinfo-newlocale-static.c: New file.
12061 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12062 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12063 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12064 (tests-static): Remove tst-langinfo-static. Add
12065 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12066 (tests-special): Remove $(objpfx)tst-langinfo.out,
12067 $(objpfx)tst-langinfo-static.out. Add
12068 $(objpfx)tst-langinfo-setlocale.out,
12069 $(objpfx)tst-langinfo-newlocale.out,
12070 $(objpfx)tst-langinfo-setlocale-static.out,
12071 $(objpfx)tst-langinfo-newlocale-static.out.
12072 ($(objpfx)tst-langinfo.out): Remove.
12073 ($(objpfx)tst-langinfo-static.out): Remove.
12074 ($(objpfx)tst-langinfo-newlocale.out): New target.
12075 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12076 (test-xfail-tst-langinfo-newlocale-static): Add.
12077 ($(objpfx)tst-langinfo-setlocale.out): New target.
12078 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12079 * localedata/tst-langinfo.c: Call test_locale.
12080 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12081 data.
12082
12083 2018-07-04 Florian Weimer <fweimer@redhat.com>
12084
12085 testrun.sh: Implement --tool=strace, --tool=valgrind
12086 * Makefile (testrun-script): Define variable.
12087 (testrun.sh): Use variable.
12088 * manual/install.texi (Tools for Compilation): make 4.0 or later
12089 is required.
12090 * configure.ac: Check for make 4.0 or later.
12091 * INSTALL: Regenerate.
12092 * configure: Likewise.
12093
12094 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12095
12096 [BZ #23233]
12097 [BZ #21163]
12098 [BZ #18986]
12099 [BZ #13762]
12100 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12101 * posix/PCRE.tests: Remove invalid test.
12102 * posix/bug-regex28.c: Fix expected values for used syntax.
12103 * posix/bug-regex37.c: New file.
12104 * posix/bug-regex38.c: Likewise.
12105 * posix/regcomp.c: Sync with gnulib.
12106 * posix/regex.c: Likewise.
12107 * posix/regex.h: Likewise.
12108 * posix/regex_internal.c: Likewise.
12109 * posix/regex_internal.h: Likewise.
12110 * posix/regexec.c: Likewise.
12111
12112 2018-06-26 Mike FABIAN <mfabian@redhat.com>
12113
12114 [BZ #23308]
12115 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12116 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12117 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12118 * localedata/unicode-gen/PropList.txt: likewise.
12119 * localedata/unicode-gen/UnicodeData.txt: likewise.
12120 * localedata/charmaps/UTF-8: Regenerate.
12121 * localedata/locales/i18n_ctype: likewise.
12122 * localedata/locales/tr_TR: likewise.
12123 * localedata/locales/translit_circle: likewise.
12124 * localedata/locales/translit_cjk_compat: likewise.
12125 * localedata/locales/translit_combining: likewise.
12126 * localedata/locales/translit_compat: likewise.
12127 * localedata/locales/translit_font: likewise.
12128 * localedata/locales/translit_fraction: likewise.
12129
12130 2018-07-03 Florian Weimer <fweimer@redhat.com>
12131
12132 [BZ #23363]
12133 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12134 * stdio-common/tst-printf.sh: Adjust expected output.
12135 * LICENSES: Update.
12136
12137 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12138
12139 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12140 symbol.
12141
12142 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12143
12144 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12145 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12146 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12147 * stdio-common/tst-printfsz-islongdouble.c: New file.
12148 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12149 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12150 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12151 [subdir == stdio-common] (tests-internal): Add
12152 test-printf-size-ieee128, and test-printf-size-ibm128.
12153 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12154 (CFLAGS-test-printf-size-ibm128.c): New variables.
12155 [subdir == stdio-common] (tests-special): Add
12156 $(objpfx)test-printf-size-ieee128.out and
12157 $(objpfx)test-printf-size-ibm128.out.
12158 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12159 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12160 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12161 __printf_sizeieee128.
12162 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12163 New file.
12164 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12165 Likewise.
12166 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12167 Likewise.
12168
12169 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12170
12171 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12172 (exp2f_inline): Likewise.
12173 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12174 (__math_uflowf): Likewise.
12175 (__math_may_uflowf): Likewise.
12176 (__math_divzerof): Likewise.
12177 (__math_invalidf): Likewise.
12178 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12179 (__math_oflowf): Likewise.
12180 (__math_uflowf): Likewise.
12181 (__math_may_uflowf): Likewise.
12182 (__math_divzerof): Likewise.
12183 (__math_invalidf): Likewise.
12184
12185 2018-06-29 DJ Delorie <dj@redhat.com>
12186 Carlos O'Donell <carlos@redhat.com>
12187
12188 [BZ #23329]
12189 * include/libc-symbols.h: Comment the freeres framework.
12190 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12191 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12192 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12193 * dlfcn/dlerror.c: Include libc-symbols.h
12194 (__dlerror_main_freeres): New function.
12195 * dlfcn/dlfreeres.c: New file.
12196 * dlfcn/sdlfreeres.c: New file.
12197 * include/dlfcn.h: Declare __dlerror_main_freeres.
12198 * malloc/set-freeres.c: Declare __libdl_freeres, and
12199 __libpthread_freeres.
12200 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12201 the releavant libraries are loaded.
12202 * malloc/thread-freeres.c: Add comments.
12203 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12204 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12205 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12206 (__free_stacks): Rename to...
12207 (free_stacks): ...this. Mark static.
12208 (queue_stack): Call free_stacks.
12209 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12210 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12211 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12212 ptr_freeres element from struct.
12213 (pthread_functions): Remove .ptr_freeres from struct initializer.
12214 [SHARED] (nptl_freeres): Remove.
12215 * nptl/nptlfreeres.c: New file.
12216 * nptl/pthreadP.h
12217 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12218 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12219 attribute_hidden.
12220 (__free_stacks): Rename to...
12221 (__nptl_stacks_freeres): ...this.
12222 (__shm_directory_freeres): Declare.
12223 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12224 (__nptl_unwind_freeres): ...this.
12225 * resolv/res-close.c: Add comment.
12226 * resolv/resolv_conf.c: Include libc-symbols.h.
12227 * string/strerror_l.c: Include libc-symbols.h.
12228 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12229 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12230 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12231 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12232
12233 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12234
12235 * stdlib/tst-strfmon_l.c: Add tests for long double.
12236
12237 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
12238
12239 [BZ #23208]
12240 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12241 * localedata/locales/dsb_DE: New file.
12242
12243 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12244
12245 [BZ #23140]
12246 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12247 genitive case).
12248 (alt_mon): New entry, import from CLDR (nominative case).
12249
12250 2018-06-29 Sylvain Lesage <severo@rednegra.net>
12251
12252 [BZ #22996]
12253 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12254
12255 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12256
12257 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12258 Use vector registers.
12259
12260 * sysdeps/aarch64/multiarch/memmove_falkor.S
12261 (__memcpy_falkor): Use vector registers.
12262
12263 2018-06-29 Martin Sebor <msebor@redhat.com>
12264
12265 * manual/stdio.texi (Customizing Printf): Mention interaction
12266 with GCC built-ins.
12267
12268 2018-06-29 Maciej W. Rozycki <macro@mips.com>
12269
12270 [BZ #23307]
12271 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12272 `st_value' is 0 if `st_shndx' is SHN_ABS.
12273 * elf/tst-absolute-zero.c: New file.
12274 * elf/tst-absolute-zero-lib.c: New file.
12275 * elf/tst-absolute-zero-lib.lds: New file.
12276 * elf/Makefile (tests): Add `tst-absolute-zero'.
12277 (modules-names): Add `tst-absolute-zero-lib'.
12278 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12279 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12280 ($(objpfx)tst-absolute-zero: New dependency.
12281
12282 2018-06-29 Zack Weinberg <zackw@panix.com>
12283
12284 * configure.ac: New command-line option --disable-crypt.
12285 Force --disable-nss-crypt when --disable-crypt is given, with a
12286 warning if it was explicitly enabled.
12287 * configure: Regenerate.
12288 * config.make.in: New boolean substitution variable $(build-crypt).
12289 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12290 when $(build-crypt).
12291 * manual/install.texi: Document --disable-crypt.
12292 * INSTALL: Regenerate.
12293
12294 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12295 which is never set.
12296 * conform/Makefile: Only include libcrypt.a in
12297 linknamespace-libs-xsi and linknamespace-libs-XPG4
12298 when $(build-crypt).
12299 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12300 USE_CRYPT to 1 when $(build-crypt).
12301 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12302 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12303 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12304
12305 2018-06-29 Zack Weinberg <zackw@panix.com>
12306
12307 * crypt/crypt.h, posix/unistd.h: Update comments and
12308 prototypes for crypt and crypt_r.
12309
12310 * manual/crypt.texi (Cryptographic Functions): New initial
12311 exposition.
12312 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12313 (Unpredictable Bytes): Improve initial exposition. Clarify error
12314 behavior of getentropy and getrandom.
12315 * manual/examples/genpass.c: Generate a salt using getentropy
12316 instead of the current time. Use hash $5$ (SHA-2-256).
12317 * manual/examples/testpass.c: Demonstrate validation against
12318 hashes generated with three different one-way functions.
12319
12320 * manual/intro.texi: crypt.texi does not need an overview
12321 anymore.
12322
12323 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12324 * manual/terminal.texi: Consistently refer to "passphrases"
12325 * instead of "passwords", and to the "user database" instead
12326 * of the "password database".
12327 * manual/users.texi: Similarly. Add notes about how actual
12328 passphrase hashes are now stored in the shadow database.
12329 Remove 20-year-old junk todo note.
12330
12331 2018-06-29 Zack Weinberg <zackw@panix.com>
12332
12333 * manual/crypt.texi: Use a normal top-level @node declaration.
12334 Move most of the introductory text to the 'crypt' section.
12335 Move the example programs below the @deftypefun for 'crypt_r'.
12336 Move the 'getpass' section...
12337 * manual/terminal.texi: ...here.
12338
12339 2018-06-29 Zack Weinberg <zackw@panix.com>
12340 Florian Weimer <fweimer@redhat.com>
12341
12342 * posix/unistd.h: Do not declare encrypt.
12343 (_XOPEN_CRYPT): Remove macro definition.
12344 (crypt): Declare only for _USE_MISC.
12345 * stdlib/stdlib.h: Do not declare setkey.
12346 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12347 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12348
12349 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12350 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12351 into compat symbols. Don't define initial_perm if it's not
12352 going to be used.
12353 * crypt/cert.c: Link explicitly with the expected versions for
12354 setkey and encrypt. If they are not available at all, mark
12355 the test as unsupported.
12356
12357 * sunrpc/des_crypt.c: Unconditionally block linkage with
12358 cbc_crypt and ecb_crypt for new binaries.
12359 * sunrpc/des_soft.c: Unconditionally block linkage with
12360 des_setparity for new binaries.
12361
12362 * manual/crypt.texi: Remove the entire "DES Encryption"
12363 section. Also remove the paragraph talking about FIPS 140-2
12364 from the introduction.
12365 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12366 of libgcrypt for "real" encryption, not DES.
12367 * manual/conf.texi (Constants for Sysconf): Mention that
12368 _XOPEN_CRYPT is no longer impelemented.
12369
12370 * conform/data/unistd.h-data: Remove crypt function declaration.
12371
12372 2018-06-29 Florian Weimer <fweimer@redhat.com>
12373
12374 [BZ #23351]
12375 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12376 (disallow_malloc_check): Remove variable.
12377 (__malloc_check_init): Adjust.
12378 (malloc_set_state): Update comment.
12379 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12380 declarations.
12381
12382 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12383
12384 [BZ #23140]
12385 * localedata/locales/ast_ES (mon): Rename to...
12386 (alt_mon): This.
12387 (mon): Import from CLDR (genitive case).
12388
12389 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12390 Jakub Sitnicki <jkbs@redhat.com>
12391
12392 [BZ #21812]
12393 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12394 on NLM_F_DUMP_INTR.
12395
12396 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12397
12398 * manual/llio.texi: Remove spurious space.
12399
12400 2018-06-28 Florian Weimer <fweimer@redhat.com>
12401
12402 [BZ #23349]
12403 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12404 _STRUCT_TIMESPEC.
12405
12406 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12407
12408 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
12409 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
12410 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12411 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12412 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12413 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12414 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12415
12416 2018-06-27 Maciej W. Rozycki <macro@mips.com>
12417
12418 [BZ #23266]
12419 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12420 Copy and null-terminate entries that are not terminated, in
12421 addition to empty ones.
12422
12423 2018-06-27 Florian Weimer <fweimer@redhat.com>
12424
12425 [BZ #18023]
12426 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12427 (extend_alloca_account): Remove.
12428 * manual/stdio.texi (Variable Arguments Output): Update comment.
12429
12430 2018-06-27 Joseph Myers <joseph@codesourcery.com>
12431
12432 * nptl/sockperf.c: Remove file.
12433
12434 2018-06-27 Florian Weimer <fweimer@redhat.com>
12435
12436 [BZ #18023]
12437 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12438 scratch_buffer instead of extend_alloca.
12439
12440 2018-06-27 Florian Weimer <fweimer@redhat.com>
12441
12442 [BZ #18023]
12443 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12444 scratch_buffer instead of extend_alloca. Update comments.
12445
12446 2018-06-27 Florian Weimer <fweimer@redhat.com>
12447
12448 [BZ #18023]
12449 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12450 instead of extend_alloca.
12451
12452 2018-06-26 Joseph Myers <joseph@codesourcery.com>
12453
12454 [BZ #13888]
12455 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12456 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12457 /tmp.
12458 * scripts/test-installation.pl: Put temporary files in build
12459 directory, not /tmp.
12460 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12461 (CFLAGS-bug4.c): Likewise.
12462 (CFLAGS-bug5.c): Likewise.
12463 (CFLAGS-test-fseek.c): Likewise.
12464 (CFLAGS-test-popen.c): Likewise.
12465 (CFLAGS-test_rdwr.c): Likewise.
12466 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12467 /tmp.
12468 * stdio-common/bug4.c (main): Likewise.
12469 * stdio-common/bug5.c (main): Likewise.
12470 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12471 * stdio-common/test-popen.c (do_test): Likewise.
12472 * stdio-common/test_rdwr.c (main): Likewise.
12473
12474 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
12475
12476 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12477 (sem_open): Set sem.newsem.pad to zero for valgrind.
12478
12479 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12480
12481 [BZ #20251]
12482 * NEWS: Mention fcntl64 addition.
12483 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12484 * login/utmp_file.c: Likewise.
12485 * sysdeps/posix/fdopendir.c: Likewise.
12486 * sysdeps/posix/opendir.c: Likewise.
12487 * sysdeps/unix/pt-fcntl.c: Likewise.
12488 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12489 __fcntl64_nocancel_adjusted): New prototype.
12490 (__fcntl_nocancel_adjusted): Remove prototype.
12491 * io/Makefile (routines): Add fcntl64.
12492 (CFLAGS-fcntl64.c): New rule.
12493 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12494 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12495 * io/fcntl.h (fcntl64): Add prototype and redirect if
12496 __USE_FILE_OFFSET64 is defined.
12497 * io/fcntl64.c: New file.
12498 * manual/llio.text: Add a note for which commands fcntl acts a
12499 cancellation point.
12500 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12501 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12502 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12503 New symbols.
12504 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12505 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12506 non-LFS case.
12507 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12508 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12509 to __fcntl64_nocancel.
12510 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12511 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12512 to __fcntl64_nocancel.
12513 * sysdeps/generic/not-cancel.h: Likewise.
12514 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12515 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12516 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12517 (fcntl64): New symbol.
12518 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12519 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12520 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12523 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12524 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12525 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12526 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12527 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12528 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12529 fcntl64): Likewise.
12530 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12531 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12532 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12533 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12534 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12535 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12536 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12537 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12538 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12540 Likewise.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12542 Likewise.
12543 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12544 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12545 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12546
12547 2018-06-26 Florian Weimer <fweimer@redhat.com>
12548
12549 Run thread shutdown functions in an explicit order.
12550 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12551 definition.
12552 (__libc_thread_freeres): Call thread shutdown functions
12553 explicitly.
12554 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12555 * include/string.h (__strerror_thread_freeres): Declare.
12556 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12557 arena_thread_freeres. No longer static. Remove thread shutdown
12558 hook registration.
12559 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12560 Declare.
12561 * resolv/res-close.c (__res_thread_freeres): Renamed from
12562 res_thread_freeres. No longer static. Remove thread shutdown
12563 hook registration.
12564 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12565 * resolv/resolv_conf.c (freeres): Remove incorrect section
12566 attribute and use libc_freeres_fn.
12567 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12568 strerror_thread_freeres. No longer static. Remove thread
12569 shutdown hook registration.
12570 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12571 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12572 shutdown hook registration.
12573 * Makerules (shlib.lds): Do not provide section boundary symbols
12574 for __libc_thread_subfreeres.
12575 * manual/memory.texi (Basic Allocation): Update comment.
12576
12577 2018-06-26 Florian Weimer <fweimer@redhat.com>
12578
12579 Remove always-defined _RPC_THREAD_SAFE_ macro.
12580 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12581 Do not define _RPC_THREAD_SAFE_.
12582 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12583 conditional.
12584 * sunrpc/clnt_perr.c: Likewise.
12585 * sunrpc/clnt_raw.c: Likewise.
12586 * sunrpc/clnt_simp.c: Likewise.
12587 * sunrpc/key_call.c: Likewise.
12588 * sunrpc/rpc_common.c: Likewise.
12589 * sunrpc/rpc_main.c: Likewise.
12590 * sunrpc/rpc_thread.c: Likewise.
12591 * sunrpc/svc.c: Likewise.
12592 * sunrpc/svc_raw.c: Likewise.
12593 * sunrpc/svc_simple.c: Likewise.
12594 * sumrpc/svcauth_des.c: Likewise.
12595
12596 2018-06-26 Florian Weimer <fweimer@redhat.com>
12597
12598 * libio/Makefile (tests-internal): Add tst-vtables,
12599 tst-vtables-interposed.
12600 * libio/tst-vtables.c: New file.
12601 * libio/tst-vtables-common.c: Likewise.
12602 * libio/tst-vtables-interposed.c: Likewise.
12603
12604 2018-06-26 Florian Weimer <fweimer@redhat.com>
12605
12606 * support/support_test_main.c (support_test_main): Only call
12607 setvbuf if not disables.
12608 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12609 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12610
12611 2018-06-26 Florian Weimer <fweimer@redhat.com>
12612
12613 [BZ #23313]
12614 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12615
12616 2018-06-25 Florian Weimer <fweimer@redhat.com>
12617
12618 [BZ #18023]
12619 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12620 Use struct scratch_buffer instead of extend_alloca.
12621
12622 2018-06-25 Florian Weimer <fweimer@redhat.com>
12623
12624 [BZ #18023]
12625 * nss/getent.c (initgroups_keys): Use dynarray instead of
12626 extend_alloca.
12627
12628 2018-06-25 Florian Weimer <fweimer@redhat.com>
12629
12630 [BZ #18023]
12631 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12632 Use struct scratch_buffer instead of extend_alloca.
12633
12634 2018-06-25 Florian Weimer <fweimer@redhat.com>
12635
12636 [BZ #18023]
12637 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12638 back to malloc directly, without stack allocations.
12639
12640 2018-06-25 Florian Weimer <fweimer@redhat.com>
12641
12642 [BZ #18023]
12643 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12644 of extend_alloca.
12645
12646 2018-06-25 Florian Weimer <fweimer@redhat.com>
12647
12648 [BZ #18023]
12649 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12650 of extend_alloca.
12651 * nscd/hstcache.c (addhstbyX): Likewise.
12652 * nscd/pwdcache.c (addpwbyX): Likewise.
12653 * nscd/servicescache.c (addservbyX): Likewise.
12654
12655 2018-06-25 Florian Weimer <fweimer@redhat.com>
12656
12657 [BZ #18023]
12658 * nscd/connections.c (read_cmdline): New function.
12659 (restart): Use it. Update comment.
12660
12661 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12662
12663 [BZ #23140]
12664 * localedata/locales/csb_PL (mon): Rename to...
12665 (alt_mon): This.
12666 (abmon): Rename to...
12667 (ab_alt_mon): This.
12668 (mon): Add with proper genitive forms, copy from Wikipedia.
12669 (abmon): Likewise.
12670
12671 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12672
12673 [BZ #19485]
12674 * localedata/locales/csb_PL (mon): Fix typos:
12675 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12676 (yesstr): Add, value is "jo".
12677 (nostr): Add, value is "nié".
12678
12679 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12680
12681 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12682 all log1p and significand functions on m680x0.
12683 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12684 of s_significand.c..
12685 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12686 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12687 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12688 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12689 s_log1p.c and include it..
12690
12691 2018-06-21 Vincent Chen <vincentc@andestech.com>
12692
12693 * elf/elf.h (R_NDS32_NONE): New define.
12694 (R_NDS32_32_RELA): Likewise.
12695 (R_NDS32_COPY): Likewise.
12696 (R_NDS32_GLOB_DAT): Likewise.
12697 (R_NDS32_JUMP_SLOT): Likewise.
12698 (R_NDS32_RELATIVE): Likewise.
12699 (R_NDS32_TLS_TPOFF): Likewise.
12700 (R_NDS32_TLS_DESC): Likewise.
12701
12702 2018-06-21 Mark Wielaard <mark@klomp.org>
12703
12704 * elf/elf.h (R_BPF_MAP_FD): Removed.
12705 (R_BPF_64_64, R_BPF_64_32): New.
12706
12707 2018-06-21 Florian Weimer <fweimer@redhat.com>
12708
12709 [BZ #23253]
12710 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12711 Renamed from libc_feholdsetround_ctx.
12712 (default_libc_feresetround_ctx): Renamed from
12713 libc_feresetround_ctx.
12714 (default_libc_feholdsetround_noex_ctx): Renamed from
12715 libc_feholdsetround_noex_ctx.
12716 (default_libc_feresetround_noex_ctx): Renamed from
12717 libc_feresetround_noex_ctx.
12718 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12719 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12720 forwardning to the old implementations under the new names.
12721 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12722 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12723 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12724 (libc_feresetround_ctx): Forward to default implements for i386
12725 and MATH_SET_BOTH_ROUNDING_MODES.
12726 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12727 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12728
12729 2018-06-20 Joseph Myers <joseph@codesourcery.com>
12730
12731 * string/tst-cmp.c: Include <libc-diag.h>.
12732 (strncmp_max): Disable -Wstringop-overflow= around call to
12733 strncmp.
12734 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12735 strncasecmp.
12736
12737 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12738 (main): Disable -Wunused-value around call to strpbrk.
12739 * string/bug-strspn1.c: Include <libc-diag.h>.
12740 (main): Disable -Wunused-value around call to strspn.
12741
12742 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12743 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12744
12745 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12746 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12747
12748 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12749
12750 * math/Makefile (libm-calls): Move s_significandF to...
12751 (gen-libm-calls): ... here.
12752 * math/s_significand_template.c: New file.
12753 * math/s_significand.c: Removed.
12754 * math/s_significandf.c: Removed.
12755 * math/s_significandl.c: Removed.
12756 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12757 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12758
12759 * math/e_exp2_template.c (declare_mgen_finite_alias,
12760 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12761 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12762 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12763
12764 2018-06-20 Florian Weimer <fweimer@redhat.com>
12765
12766 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12767
12768 2018-06-19 Joseph Myers <joseph@codesourcery.com>
12769
12770 [BZ #23280]
12771 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12772 floating-point number to strtod functions rather than possibly
12773 negating result of those functions.
12774 * stdio-common/tst-scanf-round.c: New file.
12775 * stdio-common/Makefile (tests): Add tst-scanf-round.
12776 ($(objpfx)tst-scanf-round): Depend on $(libm).
12777
12778 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12779
12780 * sysdeps/mach/hurd/localplt.data: Move to...
12781 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12782 R_386_GLOB_DAT like on Linux i386.
12783
12784 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12785
12786 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12787 (SHM_STAT_ANY): New macro.
12788 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12789 (SHM_STAT_ANY): Likewise.
12790 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12791 (SHM_STAT_ANY): Likewise.
12792 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12793 (SHM_STAT_ANY): Likewise.
12794 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12795 (SHM_STAT_ANY): Likewise.
12796 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12797 (SHM_STAT_ANY): Likewise.
12798 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12799 (SHM_STAT_ANY): Likewise.
12800 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12801 (SHM_STAT_ANY): Likewise.
12802 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12803 (SHM_STAT_ANY): Likewise.
12804 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12805 (SHM_STAT_ANY): Likewise.
12806 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12807 (SHM_STAT_ANY): Likewise.
12808 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12809 (SHM_STAT_ANY): Likewise.
12810
12811 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12812 (SEM_STAT_ANY): New macro.
12813 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12814 (SEM_STAT_ANY): Likewise.
12815 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12816 (SEM_STAT_ANY): Likewise.
12817 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12818 (SEM_STAT_ANY): Likewise.
12819 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12820 (SEM_STAT_ANY): Likewise.
12821 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12822 (SEM_STAT_ANY): Likewise.
12823 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12824 (SEM_STAT_ANY): Likewise.
12825 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12826 (SEM_STAT_ANY): Likewise.
12827 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12828 (SEM_STAT_ANY): Likewise.
12829 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12830 (SEM_STAT_ANY): Likewise.
12831
12832 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12833 (MSG_STAT_ANY): New macro.
12834 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12835 (MSG_STAT_ANY): Likewise.
12836 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12837 (MSG_STAT_ANY): Likewise.
12838 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12839 (MSG_STAT_ANY): Likewise.
12840 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12841 (MSG_STAT_ANY): Likewise.
12842 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12843 (MSG_STAT_ANY): Likewise.
12844 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12845 (MSG_STAT_ANY): Likewise.
12846 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12847 (MSG_STAT_ANY): Likewise.
12848 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12849 (MSG_STAT_ANY): Likewise.
12850 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12851 (MSG_STAT_ANY): Likewise.
12852
12853 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12854 (MAP_TYPE): Change value to 0x2b.
12855
12856 2018-06-18 Florian Weimer <fweimer@redhat.com>
12857
12858 [BZ #15722]
12859 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12860 socket with SOCK_CLOEXEC.
12861
12862 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12863
12864 [BZ #23303]
12865 * sysdeps/powerpc/powerpc64/le/Makefile
12866 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12867 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12868 (gnulib-tests): Also add $(f128-loader-link) for
12869 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12870
12871 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12872
12873 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12874 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12875 of sendfile.
12876 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12877 (sendfile64): New strong alias.
12878 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12879 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12880 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12881 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12882 attribute.
12883 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12884 ___pthread_get_cleanup_stack.
12885 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12886 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12887 * mach/shortcut.awk: Make syscall stubs include
12888 <mach-shortcuts-hidden.h> and add hidden definition.
12889 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12890 (__mach_msg): Add hidden prototype.
12891 * mach/msg.c: Include <mach.h>.
12892 (__mach_msg): Add hidden definition.
12893 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12894 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12895 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12896 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12897 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12898 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12899 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12900 prototype and definition.
12901 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12902 hidden target for _hurd_self_sigstate.
12903
12904 2018-06-15 Joseph Myers <joseph@codesourcery.com>
12905
12906 [BZ #23007]
12907 * stdlib/tst-strtod-nan-sign-main.c: New file.
12908 * stdlib/tst-strtod-nan-sign.c: Likewise.
12909 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12910 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12911 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12912 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12913 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12914
12915 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12916
12917 [BZ #23007]
12918 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12919 appropriate sign.
12920
12921 2018-06-14 Florian Weimer <fweimer@redhat.com>
12922
12923 [BZ #23290]
12924 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12925 that the result stays within the ISO-8859-1 range.
12926 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12927 characters are defined in IBM273.
12928
12929 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12930
12931 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12932 __mach_task_self): Remove attribute_hidden.
12933
12934 2018-06-14 Joseph Myers <joseph@codesourcery.com>
12935
12936 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12937 ignore -Wrestrict for one test.
12938
12939 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12940 Szabolcs Nagy <szabolcs.nagy@arm.com>
12941
12942 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12943
12944 2018-06-14 Florian Weimer <fweimer@redhat.com>
12945
12946 * scripts/update-abilist.sh: Accept empty list of files to patch.
12947
12948 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12949
12950 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12951 test-xfail-check-abi-libmachuser): Add.
12952 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12953 __libc_read and __libc_write to __read and __write.
12954 * sysdeps/hurd/include/hurd/port.h: New file.
12955 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12956 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12957 __thread_switch, __evc_wait): Move declarations to...
12958 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12959 attribute_hidden.
12960 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12961 use PLT to call _hurd_self_sigstate.
12962
12963 2018-06-13 Joseph Myers <joseph@codesourcery.com>
12964
12965 [BZ #23279]
12966 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12967 MAX_EXP as overflowing.
12968 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12969 overflow flag.
12970 (round_str): Output also whether result overflows in each rounding
12971 mode.
12972 * stdlib/tst-strtod-round-data: Add more tests.
12973 * stdlib/tst-strtod-round-data.h: Regenerated.
12974 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12975 (TEST): Handle extra arguments for overflow flags.
12976 (struct test_overflow): New type.
12977 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12978 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12979 (test_in_one_mode): Take argument with overflow information.
12980 (do_test): Update calls to test_in_one_mode.
12981
12982 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12983
12984 * elf/dl-load (_dl_dst_substitute): Correct comment.
12985 (_dl_dst_count): Likewise.
12986
12987 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12988 lll_futex_timed_wait.
12989
12990 2018-06-12 Joseph Myers <joseph@codesourcery.com>
12991
12992 [BZ #23277]
12993 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12994 attribute.
12995 * math/test-nan-const.c: New file.
12996 * math/Makefile (tests): Add test-nan-const.
12997 (CFLAGS-test-nan-const.c): New variable.
12998
12999 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13000
13001 * benchtests/scripts/compare_strings.py (process_results): Add
13002 funcs argument. Compare only functions which are selected.
13003 (main): Check if base function is among selected functions.
13004 Pass selected functions to process_results.
13005 (__main__): Add -f/--functions argument.
13006
13007 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13008 Hongbo Zhang <hongbo.zhang@linaro.org>
13009
13010 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13011 __memcpy_falkor for phecda core.
13012 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13013 __memmove_falkor for phecda core.
13014 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13015 __memset_falkor for phecda core.
13016 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13017 for phecda core.
13018 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13019 macro to identify phecda core.
13020
13021 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13022 Andreas Schwab <schwab@suse.de>
13023 Dmitry V. Levin <ldv@altlinux.org>
13024 Florian Weimer <fweimer@redhat.com>
13025
13026 [BZ #23102]
13027 [BZ #21942]
13028 [BZ #18018]
13029 [BZ #23259]
13030 CVE-2011-0536
13031 * elf/dl-dst.h: Remove DL_DST_COUNT.
13032 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13033 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13034 (is_dst): Comment. Support ELF gABI.
13035 (_dl_dst_count): Comment. Simplify and count DSTs.
13036 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13037 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13038 locals.
13039
13040 2018-06-12 Zack Weinberg <zackw@panix.com>
13041
13042 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13043 * sysdeps/unix/sysv/linux/dl-sysdep.c
13044 Include not-cancel.h. Use __close_nocancel instead of __close,
13045 __open64_nocancel instead of __open, __read_nocancel instead of
13046 __libc_read, and __write_nocancel instead of __libc_write.
13047
13048 * csu/check_fds.c (check_one_fd)
13049 * sysdeps/posix/fdopendir.c (__fdopendir)
13050 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
13051 instead of __fcntl and/or __libc_fcntl.
13052
13053 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13054 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
13055 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
13056 Use __open64_nocancel instead of __open_nocancel.
13057
13058 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13059 hidden_proto declarations to the end and issue them if either
13060 IS_IN(libc) or IS_IN(rtld).
13061 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13062 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13063 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13064 read_nocancel, waitpid_nocancel, write_nocancel.
13065
13066 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13067 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13068 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
13069
13070 * nptl/pt-fcntl.c: New file.
13071 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13072 (libpthread-routines): Add pt-fcntl.
13073 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13074 (__libc_fcntl): Remove attribute_hidden.
13075 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13076 __fcntl_nocancel_adjusted, not fcntl_common.
13077 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
13078 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13079 to fcntl_nocancel.c.
13080 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13083 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13084
13085 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13086 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13087 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13088 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13089 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13090 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13091 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13092 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13093 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13094 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13095 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13096 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13097 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13098 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13099 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13100 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13101 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13102 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13103 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13104 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13105
13106 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13107 libpthread-routines.
13108 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13109 defines nothing.
13110
13111 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13112 __libc_read, and __write instead of __libc_write. Define
13113 __open64 in addition to __open.
13114
13115 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13116
13117 [BZ #23250]
13118 [BZ #10686]
13119 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13120 to _private_tm[3] and add __glibc_reserved2.
13121 Add _Static_assert of offset of __private_ss == 0x30.
13122 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13123 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13124
13125 2018-06-12 Florian Weimer <fweimer@redhat.com>
13126
13127 x86: Make strncmp usable from rtld.
13128 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13129 __strncmp_ia32 if in libc (and not in rtld).
13130 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13131 strncmp if not in libc (and not to __strncmp_sse2).
13132
13133 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13134
13135 [BZ #23140]
13136 * localedata/locales/gd_GB (mon): Rename to...
13137 (alt_mon): This.
13138 (mon): Import from CLDR (genitive case).
13139 * localedata/locales/hsb_DE (mon): Rename to...
13140 (alt_mon): This.
13141 (mon): Import from CLDR (genitive case).
13142 * localedata/locales/wa_BE (mon): Rename to...
13143 (alt_mon): This.
13144 (mon): Add, fill with the proper genitive forms, but CLDR data
13145 is incomplete; completed according to the comments in this file.
13146 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13147
13148 * localedata/locales/wa_BE (country_name): Reword
13149 "Beljike" -> "Beldjike".
13150
13151 2018-06-11 Joseph Myers <joseph@codesourcery.com>
13152
13153 [BZ #23272]
13154 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13155 cases of non-finite arguments.
13156 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13157
13158 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
13159
13160 [BZ #23174]
13161 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13162
13163 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13164
13165 [BZ #23264]
13166 * include/unistd.h (__execvpex): New prototype.
13167 * posix/Makefile (tests): Add tst-spawn4.
13168 (tests-internal): Add tst-spawn4-compat.
13169 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13170 * posix/tst-spawn4-compat.c: New file.
13171 * posix/tst-spawn4.c: Likewise.
13172 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13173 binaries as shell scripts.
13174 * sysdeps/posix/spawni.c (__spawni): Likewise.
13175
13176 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13177
13178 [BZ #23145]
13179 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13180 ($(all-built-dso:=.dynsym): New target.
13181 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13182 ($(objpfx)check-initfini.out): New target.
13183 (generated): Add check-initfini.out.
13184 * scripts/check-initfini.awk: New file.
13185 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13186 (_fini): Likewise.
13187 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13188 (_fini): Likewise.
13189 * sysdeps/arm/crti.S (_init): Mark as hidden.
13190 (_fini): Likewise.
13191 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13192 (_fini): Likewise.
13193 * sysdeps/i386/crti.S (_init): Mark as hidden.
13194 (_fini): Likewise.
13195 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13196 (_fini): Likewise.
13197 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13198 (_fini): Likewise.
13199 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13200 (_fini): Likewise.
13201 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13202 (_fini): Likewise.
13203 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13204 (_fini): Likewise.
13205 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13206 (_fini): Likewise.
13207 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13208 (_fini): Likewise.
13209 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13210 (_fini): Likewise.
13211 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13212 (_fini): Likewise.
13213 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13214 (_fini): Likewise.
13215 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13216 (_fini): Likewise.
13217 * sysdeps/sh/crti.S (_init): Mark as hidden.
13218 (_fini): Likewise.
13219 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13220 (_fini): Likewise.
13221 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13222 (_fini): Likewise.
13223
13224 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13225
13226 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13227 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13228 and TF redirection to KFtype and KF only when the default
13229 long double type is not the IEEE 128-bit floating point type.
13230
13231 2018-06-05 Joseph Myers <joseph@codesourcery.com>
13232
13233 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13234 macro.
13235 (HWCAP_USCAT): Likewise.
13236 (HWCAP_ILRCPC): Likewise.
13237 (HWCAP_FLAGM): Likewise.
13238 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13239 Increase to 28.
13240 (_dl_aarch64_cap_flags): Add new flag names.
13241
13242 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13243 (MAP_FIXED_NOREPLACE): New macro.
13244 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13245 (MAP_FIXED_NOREPLACE): Likewise.
13246 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13247 (MAP_FIXED_NOREPLACE): Likewise.
13248 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13249 (MAP_FIXED_NOREPLACE): Likewise.
13250 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13251 (MAP_FIXED_NOREPLACE): Likewise.
13252 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13253 (MAP_FIXED_NOREPLACE): Likewise.
13254 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13255 (MAP_FIXED_NOREPLACE): Likewise.
13256 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13257 (MAP_FIXED_NOREPLACE): Likewise.
13258 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13259 (MAP_FIXED_NOREPLACE): Likewise.
13260 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13261 (MAP_FIXED_NOREPLACE): Likewise.
13262 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13263 (MAP_FIXED_NOREPLACE): Likewise.
13264 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13265 (MAP_FIXED_NOREPLACE): Likewise.
13266 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13267 (MAP_FIXED_NOREPLACE): Likewise.
13268 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13269 (MAP_FIXED_NOREPLACE): Likewise.
13270 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13271 (MAP_FIXED_NOREPLACE): Likewise.
13272
13273 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13274 version to 4.17.
13275
13276 2018-06-04 Joseph Myers <joseph@codesourcery.com>
13277
13278 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13279 version to 4.17
13280
13281 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13282
13283 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13284 int.
13285 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13286
13287 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13288
13289 * benchtests/scripts/compare_string.py: (process_results) Catch
13290 exception in non-existent base_func and catch exception in
13291 non-existent attribute.
13292 (parse_file) Catch exception if input file does not exist.
13293
13294 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13295
13296 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13297 options to avoid diff calculation and omit header, respectively.
13298 (main): process --no-diff and --no-header
13299
13300 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13301 H.J. Lu <hongjiu.lu@intel.com>
13302
13303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13304 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13305 wcsncmp-sse2.
13306 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13307 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13308 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13309 and __wcsncmp_sse2.
13310 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13311 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13312 AVX unaligned load is fast and vzeroupper is preferred.
13313 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13314 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13315 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13316 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13317 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13318 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13319 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13320 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13321 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13322 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13323 is undefined.
13324
13325 2018-06-01 Florian Weimer <fweimer@redhat.com>
13326
13327 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13328 configuring with --disable-multi-arch, building with
13329 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13330 Haswell-era CPU.
13331
13332 2018-06-01 Florian Weimer <fweimer@redhat.com>
13333
13334 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13335 results from building with “-march=x86-64 -mtune=generic
13336 -mfpmath=sse” and running on a Haswell-era CPU.
13337
13338 2018-06-01 Joseph Myers <joseph@codesourcery.com>
13339
13340 [BZ #18473]
13341 * soft-fp/sqrttf2.c: Remove file.
13342 * soft-fp/sqrtdf2.c: Move to ....
13343 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13344 <shlib-compat.h>.
13345 (__sqrtdf2): Make conditional on
13346 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13347 symbol.
13348 * soft-fp/sqrtsf2.c: Move to ....
13349 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13350 <shlib-compat.h>.
13351 (__sqrtsf2): Make conditional on
13352 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13353 symbol.
13354 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13355 (gcc-double-routines): Remove sqrtdf2.
13356 (gcc-quad-routines): Remove sqrttf2.
13357 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13358 Do not filter out sqrtsf2 and sqrtdf2.
13359 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13360 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13361
13362 2018-06-01 Florian Weimer <fweimer@redhat.com>
13363
13364 * sysdeps/generic/libcidn.abilist: Remove file.
13365
13366 2018-06-01 Florian Weimer <fweimer@redhat.com>
13367
13368 [BZ #23236]
13369 * libio/strfile.h (struct _IO_str_fields): Rename members to
13370 discourage their use and add comment.
13371 (_IO_STR_DYNAMIC): Remove unused macro.
13372 * libio/strops.c (_IO_str_init_static_internal): Do not use
13373 callback pointers. Call malloc and free.
13374 (_IO_str_overflow): Do not use callback pointers. Call malloc
13375 and free.
13376 (enlarge_userbuf): Likewise.
13377 (_IO_str_finish): Call free.
13378 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13379 _allocate_buffer_unused.
13380 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13381 and free.
13382 (enlarge_userbuf): Likewise.
13383 (_IO_wstr_finish): Call free.
13384 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13385 _allocate_buffer_unused, _free_buffer_unused.
13386 * libio/memstream.c (__open_memstream): Likewise.
13387 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13388 * libio/wmemstream.c (open_wmemstream): Likewise.
13389
13390 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13391
13392 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13393 AMD Ryzen 7 1800X.
13394
13395 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13396
13397 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13398 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13399 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13400 New file.
13401 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13402 Likewise.
13403 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13404
13405 2018-05-29 Florian Weimer <fweimer@redhat.com>
13406
13407 * support/Makefile (libsupport-routines): Add
13408 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13409 xpthread_barrierattr_setpshared.
13410 * support/xpthread_barrierattr_destroy.c: New file.
13411 * support/xpthread_barrierattr_init.c: Likewise.
13412 * support/xpthread_barrierattr_setpshared.c: Likewise.
13413
13414 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13415
13416 [BZ #23206]
13417 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13418 _r_debug and update DT_DEBUG for debugger.
13419
13420 2018-05-29 Florian Weimer <fweimer@redhat.com>
13421
13422 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13423 (tst-strtod5i.out): Likewise.
13424
13425 2018-05-25 Joseph Myers <joseph@codesourcery.com>
13426
13427 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13428 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13429 (sparc64-quad-routines): New variable. Moved from ....
13430 [$(subdir) = soft-fp] (sysdep_routines): Add
13431 $(sparc64-quad-routines). Moved from ....
13432 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13433 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13434 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13435 moved from ....
13436 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13437 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13438 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13439 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13440 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13441 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13442 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13443 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13444 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13445 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13446 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13447 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13448 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13449 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13450 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13451 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13452 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13453 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13454 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13455 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13456 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13457 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13458 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13459 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13460 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13461 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13462 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13463 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13464 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13465 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13466 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13467 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13468 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13469 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13470 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13471 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13472 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13473 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13474 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13475 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13476 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13477 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13478 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13479 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13480 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13481 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13482 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13483 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13484 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13485 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13486 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13487 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13488 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13489 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13490 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13491 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13492 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13493 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13494
13495 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13496 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13497 (sparc32-quad-routines): New variable. Moved from ....
13498 [$(subdir) = soft-fp] (sysdep_routines): Add
13499 $(sparc32-quad-routines). Moved from ....
13500 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13501 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13502 moved from ....
13503 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13504 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13505 * sysdeps/sparc/sparc32/q_add.c: ... here.
13506 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13507 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13508 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13509 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13510 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13511 * sysdeps/sparc/sparc32/q_div.c: ... here.
13512 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13513 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13514 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13515 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13516 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13517 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13518 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13519 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13520 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13521 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13522 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13523 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13524 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13525 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13526 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13527 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13528 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13529 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13530 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13531 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13532 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13533 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13534 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13535 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13536 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13537 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13538 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13539 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13540 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13541 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13542 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13543 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13544 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13545 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13546 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13547 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13548 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13549 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13550 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13551 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13552 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13553 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13554 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13555 * sysdeps/sparc/sparc32/q_util.c: ... here.
13556 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13557 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13558 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13559 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13560
13561 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13562 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13563
13564 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13565 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13566 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13567 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13568
13569 2018-05-24 Joseph Myers <joseph@codesourcery.com>
13570
13571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13572 powerpc/soft-fp.
13573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13574 Likewise.
13575 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13576 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13577
13578 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13579
13580 [BZ #23171]
13581 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13582 double version.
13583
13584 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13585
13586 * sysdeps/sh/Implies: Remove sh/soft-fp.
13587 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13588 * sysdeps/sh/sfp-machine.h: ... here.
13589
13590 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13591
13592 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13593 (__mempcpy_erms): Skip zero length.
13594 (__memmove_erms): Likewise.
13595 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13596 (__memset_erms): Likewise.
13597
13598 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13599
13600 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13601 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13602 Add functions moved from ....
13603 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13604 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13605 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13606 from ....
13607 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13608 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13609 * sysdeps/alpha/e_sqrtl.c: ... here.
13610 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13611 * sysdeps/alpha/local-soft-fp.h: ... here.
13612 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13613 * sysdeps/alpha/ots_add.c: ... here.
13614 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13615 * sysdeps/alpha/ots_cmp.c: ... here.
13616 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13617 * sysdeps/alpha/ots_cmpe.c: ... here.
13618 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13619 * sysdeps/alpha/ots_cvtqux.c: ... here.
13620 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13621 * sysdeps/alpha/ots_cvtqx.c: ... here.
13622 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13623 * sysdeps/alpha/ots_cvttx.c: ... here.
13624 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13625 * sysdeps/alpha/ots_cvtxq.c: ... here.
13626 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13627 * sysdeps/alpha/ots_cvtxt.c: ... here.
13628 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13629 * sysdeps/alpha/ots_div.c: ... here.
13630 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13631 * sysdeps/alpha/ots_mul.c: ... here.
13632 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13633 * sysdeps/alpha/ots_nintxq.c: ... here.
13634 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13635 * sysdeps/alpha/ots_sub.c: ... here.
13636 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13637 * sysdeps/alpha/sfp-machine.h: ... here.
13638
13639 2018-05-23 Florian Weimer <fweimer@redhat.com>
13640
13641 [BZ #19728]
13642 [BZ #19729]
13643 [BZ #22247]
13644 CVE-2016-6261
13645 CVE-2016-6263
13646 CVE-2017-14062
13647 Switch to extern IDNA implementation (libidn2).
13648 * libidn: Remove subdirectory.
13649 * LICENSES: Do not mention licensing conditions for the removed
13650 libidn code.
13651 * config.h.in (HAVE_LIBIDN): Remove.
13652 * include/dlfcn.h (__libc_dlopen): Update comment.
13653 * include/idna.h: Remove file.
13654 * inet/Makefile (routines): Add idna.
13655 (tests-static, tests-internal): Add tst-idna_name_classify.
13656 (LOCALES): Generate locales for tests.
13657 (tst-idna_name_classify.out): Depend on generated locales.
13658 * inet/idna_name_classify.c: New file.
13659 * inet/tst-idna_name_classify.c: Likewise.
13660 * inet/net-internal.h (__idna_to_dns_encoding)
13661 (__idna_from_dns_encoding): Declare.
13662 * inet/net-internal.h (enum idna_name_classification): Define.
13663 (__idna_name_classify): Declare.
13664 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13665 __idna_from_dns_encoding.
13666 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13667 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13668 name as a fallback in case of encoding errors.
13669 (getnameinfo): Use DEPRECATED_NI_IDN.
13670 * inet/idna.c: New file.
13671 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13672 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13673 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13674 (modules-names): Add tst-no-libidn2.
13675 (extra-test-objs): Add tst-no-libidn2.os.
13676 (LDFLAGS-tst-no-libidn2.so): Set soname.
13677 (LOCALES): Set, and generate locales.
13678 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13679 (tst-resolv-ai_idn-latin1): Likewise.
13680 (tst-resolv-ai_idn-nolibidn2): Likewise.
13681 (tst-resolv-ai_idn.out): Depend on locales.
13682 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13683 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13684 tst-no-libidn2.so.
13685 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13686 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13687 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13688 * resolv/tst-resolv-ai_idn.c: New file.
13689 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13690 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13691 * resolv/tst-no-libidn2.c: Likewise.
13692 * support/support_format_addrinfo.c (format_ai_flags): Do not
13693 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13694 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13695 (gaih_inet): Call __idna_to_dns_encoding and
13696 __idna_from_dns_encoding, and use the original (punycode) name if
13697 __idna_from_dns_encoding fails due to an encoding error.
13698 (getaddrinfo): Use DEPRECATED_AI_IDN.
13699 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13700 * sysdeps/unix/inet/configure: Remove file.
13701 * sysdeps/unix/inet/configure.ac: Likewise.
13702
13703 2018-05-23 Florian Weimer <fweimer@redhat.com>
13704
13705 Implement allocate_once.
13706 * include/allocate_once.h: New file.
13707 * misc/allocate_once.c: Likewise.
13708 * misc/tst-allocate_once.c: Likewise.
13709 * misc/Makefile (routines): Add allocate_once.
13710 (tests-internal): Add tst-allocate_once.
13711 (generated): Add tst-allocate_once.mtrace,
13712 tst-allocate_once-mem.out.
13713 (tests-special): Add tst-allocate_once-mem.out.
13714 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13715 (tst-allocate_once-mem.out): Call mtrace.
13716 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13717
13718 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13719
13720 [BZ #23196]
13721 * string/test-memcpy.c (do_test1): New function.
13722 (test_main): Call it.
13723
13724 2018-05-23 Andreas Schwab <schwab@suse.de>
13725
13726 [BZ #23196]
13727 CVE-2018-11237
13728 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13729 (L(preloop_large)): Save initial destination pointer in %r11 and
13730 use it instead of %rax after the loop.
13731 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13732
13733 2018-05-22 Joseph Myers <joseph@codesourcery.com>
13734
13735 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13736 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13737 -I../soft-fp. Moved from ....
13738 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13739 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13740 * sysdeps/aarch64/e_sqrtl.c: ... here.
13741 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13742 * sysdeps/aarch64/sfp-machine.h: ... here.
13743
13744 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13745 -Wmaybe-uninitialized around access to fq[0].
13746 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13747 Likewise.
13748
13749 [BZ #18471]
13750 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13751 aliases for non-libc case of versioned symbols.
13752 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13753 (llseek): Define as compat symbol if
13754 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13755 with link warning.
13756 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13757 Make into a compat symbol, disabled for minimum symbol version
13758 GLIBC_2.28 and later.
13759 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13760
13761 2018-05-22 Florian Weimer <fweimer@redhat.com>
13762
13763 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13764 not add -mpreferred-stack-boundary=4.
13765 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13766 (stack-align-test-flags): Likewise.
13767 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13768 Likewise.
13769 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13770 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13771 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13772 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13773 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13774 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13775 (CFLAGS-tst-align2.c): Likewise.
13776
13777 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13778
13779 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13780 (index_arch_Prefer_FSRM): Likewise.
13781 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13782 Also check Prefer_FSRM.
13783 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13784 Also return OPTIMIZE (erms) for Prefer_FSRM.
13785
13786 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13787
13788 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13789 (index_cpu_FSRM): Likewise.
13790 (reg_FSRM): Likewise.
13791
13792 2018-05-18 Joseph Myers <joseph@codesourcery.com>
13793
13794 * math/gen-tgmath-tests.py: Import sys.
13795 (Tests.__init__): Initialize macros_seen.
13796 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13797 if requested to do so for this macro.
13798 (Tests.add_all_tests): Take argument for macro for which to
13799 generate tests.
13800 (Tests.check_macro_list): New function.
13801 (main): Handle check-list argument and argument specifying macro
13802 for which to generate tests.
13803 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13804 [PYTHON] (tgmath3-macro-tests): Likewise.
13805 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13806 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13807 not test-tgmath3.c.
13808 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13809 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13810 to CFLAGS.
13811 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13812 [PYTHON] ($(foreach
13813 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13814 rule.
13815 [PYTHON] (tests-special): Add
13816 $(objpfx)test-tgmath3-macro-list.out.
13817 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13818
13819 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13820 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13821 later.
13822
13823 [BZ #22639]
13824 * time/tzset.c (SECSPERDAY): Cast to time_t.
13825 * time/tst-y2039.c: New file.
13826 * time/Makefile (tests): Add tst-y2039.
13827
13828 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13829
13830 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13831 (PREFETCH_ONE_SET): Remove duplicate line.
13832
13833 2018-05-17 Florian Weimer <fweimer@redhat.com>
13834
13835 * sysdeps/generic/math-type-macros-double.h: Include
13836 <math-nan-payload-double.h> after <libm-alias-double.h>.
13837 * sysdeps/generic/math-type-macros-float.h: Include
13838 <math-nan-payload-float.h> after <libm-alias-float.h>.
13839 * sysdeps/generic/math-type-macros-float128.h: Include
13840 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13841 * sysdeps/generic/math-type-macros-ldouble.h: Include
13842 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13843
13844 2018-05-17 Andreas Schwab <schwab@suse.de>
13845
13846 * resolv/res_send.c (__res_context_send): Don't set errno when
13847 returing error after malloc failure.
13848
13849 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13850
13851 * nptl/allocatestack.c (allocate_stack): Remove the
13852 !__ASSUME_PRIVATE_FUTEX paths.
13853 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13854 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13855 Likewise.
13856 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13857 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13858 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13859 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13860 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13861 !__ASSUME_PRIVATE_FUTEX path.
13862 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13863 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13864 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13865 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13866 !__ASSUME_PRIVATE_FUTEX macros.
13867 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13868 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13869 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13870 * sysdeps/unix/sysv/linux/kernel-features.h
13871 (__ASSUME_PRIVATE_FUTEX): Removed.
13872
13873 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13874
13875 * math/Makefile (libm-narrow-fns): Add div.
13876 (libm-test-funcs-narrow): Likewise.
13877 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13878 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13879 * math/gen-auto-libm-tests.c (test_functions): Add div.
13880 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13881 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13882 (NARROW_DIV_TRIVIAL): Likewise.
13883 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13884 macro.
13885 (__ddivl): Likewise.
13886 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13887 ddiv.
13888 (CFLAGS-nldbl-ddiv.c): New variable.
13889 (CFLAGS-nldbl-fdiv.c): Likewise.
13890 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13891 __nldbl_ddivl.
13892 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13893 prototype.
13894 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13895 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13896 * math/auto-libm-test-in: Add tests of div.
13897 * math/auto-libm-test-out-narrow-div: New generated file.
13898 * math/libm-test-narrow-div.inc: New file.
13899 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13900 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13901 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13902 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13903 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13904 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13905 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13906 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13907 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13909 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13910 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13911 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13912 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13913 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13914 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13915 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13916 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13918 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13928 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13929 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13930 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13935 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13936 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13937 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13938 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13939 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13940 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13941 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13942 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13943
13944 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13945
13946 [BZ #23178]
13947 * nscd/nscd-client.h (sendfileall): Remove prototype.
13948 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13949 (handle_request): Use writeall instead of sendfileall.
13950 * nscd/aicache.c (addhstaiX): Likewise.
13951 * nscd/grpcache.c (cache_addgr): Likewise.
13952 * nscd/hstcache.c (cache_addhst): Likewise.
13953 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13954 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13955 * nscd/pwdcache.c (cache_addpw): Likewise.
13956 * nscd/servicescache.c (cache_addserv): Likewise.
13957 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13958 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13959 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13960 Remove define.
13961
13962 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13963
13964 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13965 Include <string/strncat.c>.
13966 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13967 alias.
13968 (__GI___strncat): New hidden alias.
13969
13970 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13971
13972 * sysdeps/mips/mips32/libm-test-ulps: Update.
13973 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13974
13975 2018-05-16 Florian Weimer <fweimer@redhat.com>
13976
13977 * support/Makefile (libsupport-routines): Add support_quote_blob,
13978 support_test_compare_blob.
13979 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13980 * support/check.h (TEST_COMPARE_BLOB): Define.
13981 (support_test_compare_blob): Declare.
13982 * support/support.h (support_quote_blob): Declare.
13983 * support/support_quote_blob.c: New file.
13984 * support/support_test_compare_blob.c: Likewise.
13985 * support/tst-support_quote_blob.c: Likewise.
13986 * support/tst-test_compare_blob.c: Likewise.
13987
13988 2018-05-16 Florian Weimer <fweimer@redhat.com>
13989
13990 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13991 of <strtod_nan_double.h>.
13992 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13993 instead of SET_MANTISSA.
13994 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13995 of include <strtod_nan_float.h>.
13996 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13997 instead of <strtod_nan_ldouble.h>.
13998 * stdlib/strtod_nan_double.h: Move to ...
13999 * sysdeps/generic/math-nan-payload-double.h: ... here.
14000 (FLOAT): Remove definition.
14001 (SET_MANTISSA): Rename to ...
14002 (SET_NAN_PAYLOAD): ... this.
14003 * stdlib/strtod_nan_float.h: Move to ...
14004 * sysdeps/generic/math-nan-payload-float.h: ... here.
14005 (FLOAT): Remove definition.
14006 (SET_MANTISSA): Rename to ...
14007 (SET_NAN_PAYLOAD): ... this.
14008 * sysdeps/generic/math-type-macros-double.h: Include
14009 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14010 instead of <math-svid-compat.h>.
14011 * sysdeps/generic/math-type-macros-float.h: Include
14012 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14013 instead of <math-svid-compat.h>.
14014 * sysdeps/generic/math-type-macros-float128.h: Include
14015 <math-nan-payload-float128.h>.
14016 * sysdeps/generic/math-type-macros-ldouble.h: Include
14017 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14018 instead of <math-svid-compat.h>.
14019 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14020 check for definition.
14021 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14022 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14023 Include <ieee754_float128.h>.
14024 (FLOAT): Remove definition.
14025 (SET_MANTISSA): Rename to ...
14026 (SET_NAN_PAYLOAD): ... this.
14027 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14028 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14029 Do not include <float128_private.h>.
14030 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14031 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14032 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14033 (FLOAT): Remove definition.
14034 (SET_MANTISSA): Rename to ...
14035 (SET_NAN_PAYLOAD): ... this.
14036 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14037 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14038 (FLOAT): Remove definition.
14039 (SET_MANTISSA): Rename to ...
14040 (SET_NAN_PAYLOAD): ... this.
14041 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14042 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14043 (FLOAT): Remove definition.
14044 (SET_MANTISSA): Rename to ...
14045 (SET_NAN_PAYLOAD): ... this.
14046 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14047 of "../stdlib/strtod_nan_double.h".
14048 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14049 of "../stdlib/strtod_nan_float.h".
14050 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14051 instead of "../stdlib/strtod_nan_ldouble.h".
14052 * manual/arith.texi (Parsing of Floats): Adjust comment.
14053
14054 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14055
14056 * math/Makefile (libm-narrow-fns): Add mul.
14057 (libm-test-funcs-narrow): Likewise.
14058 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14059 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14060 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14061 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14062 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14063 (NARROW_MUL_TRIVIAL): Likewise.
14064 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14065 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14066 macro.
14067 (__dmull): Likewise.
14068 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14069 dmul.
14070 (CFLAGS-nldbl-dmul.c): New variable.
14071 (CFLAGS-nldbl-fmul.c): Likewise.
14072 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14073 __nldbl_dmull.
14074 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14075 prototype.
14076 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14077 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14078 * math/auto-libm-test-in: Add tests of mul.
14079 * math/auto-libm-test-out-narrow-mul: New generated file.
14080 * math/libm-test-narrow-mul.inc: New file.
14081 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14082 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14083 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14084 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14085 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14086 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14087 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14088 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14089 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14090 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14091 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14092 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14093 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14094 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14095 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14096 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14097 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14098 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14100 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14101 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14102 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14103 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14104 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14105 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14106 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14107 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14108 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14109 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14110 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14111 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14112 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14117 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14118 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14119 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14120 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14121 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14122 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14123 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14124 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14125
14126 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14127
14128 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14129 with *%eax in call.
14130
14131 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14132
14133 * sysdeps/i386/ldsodefs.h: Removed.
14134 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14135 * sysdeps/x86/ldsodefs.h: This.
14136 (La_i86_regs): New.
14137 (La_i86_retval): Likewise.
14138 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14139 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14140
14141 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14142
14143 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14144 unnecessary testl.
14145
14146 2018-05-13 Alan Modra <amodra@gmail.com>
14147
14148 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14149 R_PARISC_TLS_DTPOFF32 reloc addend.
14150
14151 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14152
14153 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14154 * math/math.h: Restrict the prototype definition for the functions
14155 issignaling(_Float128) and iszero(_Float128); and template
14156 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14157 __HAVE_FLOAT128_UNLIKE_LDBL.
14158 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14159 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14160 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14161 __f128() constants; define the type _Float128 as long double;
14162 and reuse long double in __CFLOAT128.
14163
14164 2018-05-11 Joseph Myers <joseph@codesourcery.com>
14165
14166 * sysdeps/generic/math_private.h: Do not include
14167 <math-barriers.h>.
14168 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14169 <math_private.h>.
14170 * math/fromfp.h: Include <math-barriers.h>.
14171 * math/math-narrow.h: Likewise.
14172 * math/s_nextafter.c: Likewise.
14173 * math/s_nexttowardf.c: Likewise.
14174 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14175 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14176 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14177 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14178 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14179 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14180 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14181 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14182 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14185 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14186 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14187 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14188 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14191 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14192 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14193 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14194 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14195 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14196 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14197 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14198 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14199 * sysdeps/ieee754/k_standardl.c: Likewise.
14200 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14201 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14202 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14203 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14204 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14205 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14206 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14207 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14208 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14209 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14210 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14211 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14212 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14213 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14214 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14215 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14216 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14217 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14218 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14219 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14220 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14221 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14222
14223 2018-05-11 Florian Weimer <fweimer@redhat.com>
14224
14225 Use 64-bit epoch values in the time zone file parser.
14226 * include/time.h (internal_time_t): Define.
14227 (__tzfile_compute): Use it.
14228 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14229 member.
14230 (transitions): Switch to internal_time_t.
14231 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14232 types.
14233 (__tzfile_compute): Use internal_time_t for timer argument. Check
14234 for truncation before calling __offtime.
14235
14236 2018-05-11 Florian Weimer <fweimer@redhat.com>
14237
14238 [BZ #23166]
14239 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14240 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14241 Likewise.
14242 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14243 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14244 export without --enable-obsolete-rpc.
14245 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14246 symbol. This should not have been exported, ever.
14247
14248 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14249
14250 [BZ #23152]
14251 * localedata/locales/gd_GB (abmon): Fix typo in May:
14252 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14253
14254 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14255
14256 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14257 Use multiple registers to copy data in loop tail.
14258
14259 * sysdeps/aarch64/multiarch/memmove_falkor.S
14260 (__memmove_falkor): Use multiple registers to move data in
14261 loop tail.
14262
14263 2018-05-10 Joseph Myers <joseph@codesourcery.com>
14264
14265 * math/math-underflow.h: New file.
14266 * sysdeps/generic/math_private.h: Do not include <float.h>.
14267 (fabs_tg): Remove macro. Moved to math-underflow.h.
14268 (min_of_type_f): Likewise.
14269 (min_of_type_): Likewise.
14270 (min_of_type_l): Likewise.
14271 (min_of_type_f128): Likewise.
14272 (min_of_type): Likewise.
14273 (math_check_force_underflow): Likewise.
14274 (math_check_force_underflow_nonneg): Likewise.
14275 (math_check_force_underflow_complex): Likewise.
14276 * math/e_exp2_template.c: Include <math-underflow.h>.
14277 * math/k_casinh_template.c: Likewise.
14278 * math/s_catan_template.c: Likewise.
14279 * math/s_catanh_template.c: Likewise.
14280 * math/s_ccosh_template.c: Likewise.
14281 * math/s_cexp_template.c: Likewise.
14282 * math/s_clog10_template.c: Likewise.
14283 * math/s_clog_template.c: Likewise.
14284 * math/s_csin_template.c: Likewise.
14285 * math/s_csinh_template.c: Likewise.
14286 * math/s_csqrt_template.c: Likewise.
14287 * math/s_ctan_template.c: Likewise.
14288 * math/s_ctanh_template.c: Likewise.
14289 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14290 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14291 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14292 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14293 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14294 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14295 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14296 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14297 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14298 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14299 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14300 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14301 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14302 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14303 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14304 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14305 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14306 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14307 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14308 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14309 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14310 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14311 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14312 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14313 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14314 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14315 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14316 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14317 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14318 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14319 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14320 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14321 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14322 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14324 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14325 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14330 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14331 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14332 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14333 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14337 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14338 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14340 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14341 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14342 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14343 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14344 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14345 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14346 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14347 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14348 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14349 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14350 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14351 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14352 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14353 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14354 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14355 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14356 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14357 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14358 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14359 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14360 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14361 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14362 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14364 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14365 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14366 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14367 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14368 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14369 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14371 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14372 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14373
14374 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14375
14376 * sysdeps/generic/math-barriers.h: New file.
14377 * sysdeps/generic/math_private.h [!math_opt_barrier]
14378 (math_opt_barrier): Move to math-barriers.h.
14379 [!math_opt_barrier] (math_force_eval): Likewise.
14380 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14381 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14382 math-barriers.h.
14383 (math_force_eval): Likewise.
14384 * sysdeps/alpha/fpu/math-barriers.h: New file.
14385 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14386 math-barriers.h.
14387 (math_force_eval): Likewise.
14388 * sysdeps/x86/fpu/math-barriers.h: New file.
14389 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14390 math-barriers.h.
14391 (math_force_eval): Likewise.
14392 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14393 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14394 multiple-include guard for rename.
14395 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14396 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14397 math-barriers.h.
14398 (math_force_eval): Likewise.
14399
14400 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14401
14402 [BZ #22786]
14403 CVE-2018-11236
14404 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14405 computation.
14406 * stdlib/Makefile (test-bz22786): New test.
14407 * stdlib/test-bz22786.c: New test.
14408
14409 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14410
14411 * include/math-narrow-eval.h: New file. Contents moved from ....
14412 * sysdeps/generic/math_private.h: ... here.
14413 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14414 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14415 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14416 * stdlib/strtod_l.c: Likewise.
14417 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14418 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14419 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14420 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14421 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14422 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14423 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14424 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14425 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14426 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14427 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14428 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14429 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14430 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14431 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14432 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14433 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14434 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14435 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14436 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14437 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14438 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14439 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14440 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14441 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14442 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14443 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14444 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14445 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14446
14447 2018-05-08 Andreas Schwab <schwab@suse.de>
14448
14449 * sysdeps/nptl/internaltypes.h: Fix comment.
14450
14451 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14452
14453 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14454 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14455 hidden.
14456
14457 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14458
14459 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14460 of I into loop header.
14461 * benchtests/bench-memmove-walk.c
14462 (test_main): Likewise.
14463
14464 2018-05-07 Alexandre Oliva <oliva@gnu.org>
14465
14466 Revert:
14467 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14468 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14469
14470 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14471
14472 [BZ #20419]
14473 * elf/dl-load.c (open_verify): Fix stack overflow.
14474 * elf/Makefile (tst-big-note): New test.
14475 * elf/tst-big-note-lib.S: New.
14476 * elf/tst-big-note.c: New.
14477
14478 2018-05-04 Joseph Myers <joseph@codesourcery.com>
14479
14480 * scripts/abilist.awk: Ignore absolute symbols.
14481 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14482 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14483 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14484 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14485 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14486 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14487 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14488 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14489 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14490 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14491 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14492 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14493 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14494 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14495 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14496 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14497 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14498 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14499 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14500 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14501 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14502 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14503 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14504 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14505 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14506 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14507 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14508 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14509 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14510 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14511 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14512 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14513 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14514 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14515 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14516 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14517 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14518 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14519 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14520 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14521 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14522 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14523 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14524 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14525 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14526 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14527 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14528 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14529 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14530 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14531 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14532 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14533 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14534 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14535 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14536 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14537 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14538 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14539 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14540 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14541 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14542 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14543 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14544 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14545 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14546 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14547 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14548 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14549 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14550 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14552 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14553 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14554 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14555 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14558 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14559 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14560 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14562 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14563 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14564 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14566 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14567 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14568 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14571 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14572 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14573 Likewise.
14574 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14575 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14576 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14577 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14578 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14579 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14580 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14581 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14582 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14583 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14584 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14585 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14586 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14587 Likewise.
14588 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14589 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14590 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14591 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14592 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14593 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14594 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14595 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14596 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14597 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14598 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14599 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14600 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14601 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14602 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14603 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14604 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14605 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14606 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14607 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14608 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14609 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14610 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14611 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14612 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14613 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14614 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14615 Likewise.
14616 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14617 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14618 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14619 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14620 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14621 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14622 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14623 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14624 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14625 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14626 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14627 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14628 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14629 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14630 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14631 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14632 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14633 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14634 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14635 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14636 Likewise.
14637 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14638 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14639 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14640 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14641 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14642 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14643 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14644 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14645 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14646 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14647 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14648 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14649 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14650 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14651 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14652 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14653 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14654 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14655 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14656 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14657 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14658 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14659 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14660 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14661 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14662 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14663 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14664 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14669 Likewise.
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14675 Likewise.
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14677 Likewise.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14680 Likewise.
14681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14683 Likewise.
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14685 Likewise.
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14689 Likewise.
14690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14691 Likewise.
14692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14693 Likewise.
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14698 Likewise.
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14705 Likewise.
14706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14708 Likewise.
14709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14710 Likewise.
14711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14712 Likewise.
14713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14714 Likewise.
14715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14718 Likewise.
14719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14720 Likewise.
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14722 Likewise.
14723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14724 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14725 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14726 Likewise.
14727 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14728 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14729 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14730 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14731 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14732 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14733 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14734 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14735 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14736 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14737 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14738 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14739 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14740 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14741 Likewise.
14742 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14743 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14744 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14745 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14746 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14747 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14748 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14749 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14750 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14751 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14752 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14753 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14754 Likewise.
14755 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14756 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14757 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14758 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14759 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14760 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14761 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14762 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14763 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14764 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14765 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14766 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14767 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14768 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14769 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14770 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14771 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14772 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14773 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14774 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14775 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14776 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14777 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14778 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14779 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14780 Likewise.
14781 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14782 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14783 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14784 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14785 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14786 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14787 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14788 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14789 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14790 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14791 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14792 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14793 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14794 Likewise.
14795 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14796 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14797 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14798 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14799 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14800 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14801 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14802 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14803 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14804 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14805 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14806 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14807 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14808 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14809 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14810 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14811 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14812 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14813 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14814 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14815 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14816 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14817 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14818 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14819 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14820 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14821 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14822 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14823 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14824 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14825 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14826 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14827 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14828 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14829 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14830 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14831 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14832 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14833
14834 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14835
14836 [BZ #23137]
14837 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14838 Use atomic_load_acquire to load __tid.
14839
14840 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14841
14842 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14843 Restore the pointer into %rdx, after syscall and use %rdx,
14844 instead of %rsi, to restore context.
14845
14846 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14847
14848 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14849 Pop the pointer into %rdx after syscall and use %rdx, instead
14850 of %rsi, to restore context.
14851
14852 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14853
14854 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14855 handlers after setjmp.
14856 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14857 defined.
14858 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14859 <libc-pointer-arith.h>.
14860 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14861 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14862 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14863 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14864 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14865 * sysdeps/x86/__longjmp_cancel.S: New file.
14866 * sysdeps/x86/longjmp.c: Likewise.
14867 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14868
14869 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14870
14871 * NEWS: Add ustat.h deprecation entry.
14872 * bits/ustat.h: Remove file.
14873 * misc/sys/ustat.h: Likewise.
14874 * misc/ustat.h: Likewise.
14875 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14876 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14877 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14878 compatibility mode.
14879 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14880 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14881 generic Linux implementation.
14882
14883 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14884
14885 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14886 * math/w_expl_compat.c: Likewise.
14887 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14888
14889 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14890
14891 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14892
14893 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14894
14895 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14896 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14897 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14898 Remove.
14899 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14901 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14902 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14903 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14904 and SYSCALL_LL64.
14905
14906 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14907
14908 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14909
14910 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14911 * math/w_asin_template.c: Likewise.
14912 * math/w_atanh_template.c: Likewise.
14913
14914 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14915
14916 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14917 to powerpc/powerpc64/be for big-endian.
14918 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14919 little-endian.
14920
14921 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14922 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14923 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14924 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14925 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14926 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14927 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14928 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14929 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14930 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14931 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14932 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14933 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14934 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14935 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14936 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14937 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14938 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14939 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14940 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14941 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14942 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14943 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14944 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14945 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14946 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14947 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14948 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14949 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14950 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14951 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14952 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14953
14954 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14955 adjusted to imply powerpc64 and older processors on powerpc64/be.
14956 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14957 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14958 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14959 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14960 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14961 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14962 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14963 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14964 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14965 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14966 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14967 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14968 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14969 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14970 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14971 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14972 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14973 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14974 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14975 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14976 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14977 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14978 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14979 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14980 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14981 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14982 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14983 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14984 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14985 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14986 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14987
14988 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14989 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14990 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14991 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14992
14993 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14994 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14995 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14996 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14997
14998 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14999 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15000 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15001 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15002 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15003 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15004 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15005 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15006 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15007 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15008 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15009
15010 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15011 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15012 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15013 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15014 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15015 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15016 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15017 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15018 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15019 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15020 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15021
15022 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15023 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15024 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15025 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15026 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15027 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15028 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15029 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15030 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15031 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15032 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15033 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15034
15035 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15036 and adjusted to imply olders processors.
15037 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15038 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15039 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15040 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15041 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15042 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15043 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15044 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15045 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15046 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15047 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15048
15049 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15050 powerpc64/le.
15051 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15052 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15053
15054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15055 powerpc64le.
15056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15058
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15060 powerpc64/be.
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15064
15065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15066 powerpc64 and adjusted.
15067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15070 Likewise.
15071
15072 2018-04-27 Joseph Myers <joseph@codesourcery.com>
15073
15074 * sysdeps/tile: Remove.
15075 * sysdeps/unix/sysv/linux/tile: Likewise.
15076 * README (tilegx-*-linux-gnu): Remove from list of supported
15077 configurations.
15078 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15079 contribution of support for generic Linux kernel syscall
15080 interface.
15081 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15082 tilegx configurations.
15083 (Config.install_linux_headers): Do not handle tile.
15084 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15085 in comment.
15086 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15087 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15088 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15089 conditional undefine and redefine.
15090 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15091 in comment.
15092 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15093 conditional undefine and redefine.
15094
15095 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15096
15097 * signal/tst-sigaction.c: New file to test BZ #23069.
15098 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15099
15100 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15101
15102 [BZ #22766]
15103 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15104 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15105 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15106 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15107
15108 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15109
15110 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15111 _DIRENT_MATCHES_DIRENT64 is not defined.
15112 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15113 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15114 is defined.
15115 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15116 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15117
15118 2018-04-25 Joseph Myers <joseph@codesourcery.com>
15119
15120 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15121 version to GCC 8 branch.
15122
15123 2018-04-24 Joseph Myers <joseph@codesourcery.com>
15124
15125 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15126 (check_no_hidden): Use type of original function when declaring
15127 alias.
15128
15129 * sysdeps/unix/sysv/linux/sys/ptrace.h
15130 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15131 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15132 (struct __ptrace_seccomp_metadata): New type.
15133 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15134 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15135 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15136 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15137 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15138 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15139 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15140 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15141 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15142 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15143 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15144 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15145 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15146 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15147 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15148 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15149
15150 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15151
15152 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15153 defined.
15154 * dirent/versionsort.c (versionsort): Likewise.
15155 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15156 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15157 * dirent/versionsort64.c (versionsort64): Likewise.
15158 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15159 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15160 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15161 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15162 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15163 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15164 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15165 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15166 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15167 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15170 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15171 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15172
15173 2018-04-23 Joseph Myers <joseph@codesourcery.com>
15174
15175 * elf/elf.h (NT_PPC_PKEY): New macro.
15176
15177 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
15178
15179 [BZ #23094]
15180 * localedata/locales/hr_HR: fix thousands_sep and
15181 mon_thousands_sep
15182
15183 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15184
15185 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15186 (XTABS): Define to TAB3.
15187
15188 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15189
15190 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15191
15192 * dirent/scandir-tail-common.c: New file.
15193 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15194 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15195 * dirent/scandir.c: Use scandir-tail-common.c.
15196 * dirent/scandirat.c: Likewise.
15197 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15198 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15199 if _DIRENT_MATCHES_DIRENT64 is defined.
15200 * dirent/scandirat64.c (scandirat64): Likewise.
15201 * include/dirent.h (__scandir_tail): Only define iff
15202 _DIRENT_MATCHES_DIRENT64 is not defined.
15203 (__scandir64_tail): Define regardless.
15204 (__scandirat, scandirat64): Remove libc_hidden_proto.
15205 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15206 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15208 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15209 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15210 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15211 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15212
15213 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15214
15215 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15216 New macro.
15217 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15218 Increase to 24.
15219 (_dl_aarch64_cap_flags): Add asimdfhm.
15220
15221 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15222
15223 * sysdeps/nios2/libm-test-ulps: Update.
15224
15225 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15226
15227 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15228 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15229
15230 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15231 requirements.
15232 (_DIRENT_MATCHES_DIRENT64): Undef
15233 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15234 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15235 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15236 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15237 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15238 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15239 use getdents64 syscalls as base.
15240 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15241 symbol if required.
15242 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15243 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15244 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15245 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15246 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15247 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15248 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15249 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15250 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15251 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15252 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15253
15254 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15255
15256 * scripts/test_printers_common.py (init_test): Disable lock elision.
15257
15258 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15259
15260 * math/test-tgmath.c (count_double, count_float,
15261 count_ldouble, count_cdouble, count_cfloat,
15262 count_cldouble): Use volatile int.
15263
15264 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15265
15266 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15267 (conformtest-xfail-conds): Add i386-gnu.
15268 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
15269 i386-gnu.
15270 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15271 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15272 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15273 msqid_ds.msg_lrpid): Likewise.
15274 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15275 Likewise.
15276 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15277 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
15278 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15279 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15280 unsigned int.
15281 (struct statvfs64): Likewise.
15282 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15283 Likewise.
15284 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15285 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15286 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15287 instead of wait_queue.
15288 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15289 instead of vm_area_struct.
15290 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15291 struct sched_param definition to it.
15292 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15293 * bits/types/struct_sched_param.h: New file.
15294 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15295 <bits/types/struct_sched_param.h> instead of <sched.h>.
15296 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
15297 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15298 generic version but include <bits/pthreadtypes.h> to make struct
15299 sigevent's sigev_notify_attributes field a pthread_attr_t*.
15300 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15301 non-compliant.
15302 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15303 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15304 [__USE_XOPEN] (OFDEL): New macro.
15305 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
15306 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
15307 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15308 prototypes.
15309 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15310 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
15311 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15312 non-compliant.
15313 * sysdeps/i386/sys/ucontext.h: Likewise.
15314 * sysdeps/m68k/sys/ucontext.h: Likewise.
15315 * sysdeps/mips/sys/ucontext.h: Likewise.
15316 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
15317 * sysdeps/mach/hurd/i386/Makefile
15318 (test-xfail-POSIX/fcntl.h/conform): Add.
15319 (test-xfail-POSIX/signal.h/conform): Add.
15320 (test-xfail-POSIX/semaphore.h/conform): Add.
15321 (test-xfail-POSIX/regex.h/conform): Add.
15322 (test-xfail-POSIX/aio.h/conform): Add.
15323 (test-xfail-POSIX/mqueue.h/conform): Add.
15324 (test-xfail-POSIX/sys/types.h/conform): Add.
15325 (test-xfail-UNIX98/fcntl.h/conform): Add.
15326 (test-xfail-UNIX98/netdb.h/conform): Add.
15327 (test-xfail-UNIX98/signal.h/conform): Add.
15328 (test-xfail-UNIX98/semaphore.h/conform): Add.
15329 (test-xfail-UNIX98/regex.h/conform): Add.
15330 (test-xfail-UNIX98/aio.h/conform): Add.
15331 (test-xfail-UNIX98/ftw.h/conform): Add.
15332 (test-xfail-UNIX98/mqueue.h/conform): Add.
15333 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15334 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15335 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15336 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15337 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15338 (test-xfail-UNIX98/sys/types.h/conform): Add.
15339 (test-xfail-UNIX98/stdlib.h/conform): Add.
15340 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15341 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15342 (test-xfail-POSIX2008/netdb.h/conform): Add.
15343 (test-xfail-POSIX2008/signal.h/conform): Add.
15344 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15345 (test-xfail-POSIX2008/regex.h/conform): Add.
15346 (test-xfail-POSIX2008/aio.h/conform): Add.
15347 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15348 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15349 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15350 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15351 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15352 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15353 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15354 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15355 (test-xfail-XOPEN2K/signal.h/conform): Add.
15356 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15357 (test-xfail-XOPEN2K/regex.h/conform): Add.
15358 (test-xfail-XOPEN2K/aio.h/conform): Add.
15359 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15360 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15361 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15362 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15363 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15364 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15365 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15366 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15367 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15368 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15369 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15370 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15371 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15372 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15373 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15374 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15375 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15376 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15377 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15378 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15379 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15380 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15381 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15382 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15383 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15384 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
15385 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15386 i386-gnu.
15387 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15388 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
15389
15390 2018-04-18 Joseph Myers <joseph@codesourcery.com>
15391
15392 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15393 --enable-obsolete for powerpc-linux-gnuspe.
15394
15395 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15396
15397 * conform/data/sys/un.h-data: Allow sun_ prefix.
15398 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
15399 prototypes.
15400 * sysdeps/mach/include/mach.h: Likewise.
15401 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15402 * sysdeps/mach/include/mach_error.h: Likewise.
15403
15404 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15405
15406 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15407 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15408 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15409 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15410
15411 2018-04-16 Andreas Schwab <schwab@suse.de>
15412
15413 [BZ #19527]
15414 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15415
15416 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15417
15418 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15419 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15420
15421 2018-04-12 DJ Delorie <dj@redhat.com>
15422
15423 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15424 version to 4.16.
15425
15426 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15427
15428 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15429 (struct kernel_sigaction): Use the same definition on 31bit as is used
15430 on 64bit.
15431
15432 2018-04-09 Florian Weimer <fweimer@redhat.com>
15433
15434 [BZ #23037]
15435 * resolv/res_send.c (send_dg): Use designated initializers instead
15436 of assignment to zero-initialize other fields of struct mmsghdr.
15437
15438 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15439
15440 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15441 __READDIR_ALIAS): Undefine after usage.
15442 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15443 __READDIR_R_ALIAS): Likewise.
15444 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15445 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15446 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15447 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15448 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15449 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15450 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15451 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15452 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15453 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15454 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15455 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15456 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15457 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15458 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15459 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15460 * sysdeps/unix/sysv/linux/readdir.c: New file.
15461 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15462 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15463 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15464
15465 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15466
15467 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15468
15469 * manual/charset.texi (Converting a Character): Fix typo.
15470
15471 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15472
15473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15474
15475 * sysdeps/arm/libm-test-ulps: Update.
15476
15477 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15478 as base implementation.
15479 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15480 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15481 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15482 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15483 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15484 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15485 remove unrequired definitions and update comments.
15486 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15487 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15488 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15489 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15490 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15491 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15492 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15493 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15494 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15495 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15496 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15497 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15498 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15499 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15500 and RESET_SA_RESTORER hooks.
15501
15502 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15503
15504 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15505
15506 2018-04-05 Florian Weimer <fweimer@redhat.com>
15507
15508 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15509 integer overflow, memory leak on error, and indeterminate errno
15510 value. Add a null wide character to terminate the result string.
15511 * manual/charset.texi (Converting a Character): Mention embedded
15512 null bytes in the mbrtowc input string. Explain what happens in
15513 the -2 result case. Do not claim that mbrtowc is simple or
15514 obvious to use. Adjust the description of the code example. Use
15515 @code, not @var, for concrete variables.
15516
15517 2018-04-05 Florian Weimer <fweimer@redhat.com>
15518
15519 * manual/examples/mbstouwcs.c: New file.
15520 * manual/charset.texi (Converting a Character): Include it.
15521
15522 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15523
15524 * include/dirent.h (dirfd): Add hidden proto.
15525 * dirent/dirfd.c (dirfd): Add hidden def.
15526 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15527 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
15528
15529 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15530
15531 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15532 sin, cos and sincos to 1 ULP.
15533
15534 2018-04-04 Maciej W. Rozycki <macro@mips.com>
15535
15536 [BZ #19818]
15537 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15538 symbols.
15539 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15540 * elf/tst-absolute-sym.c: New file.
15541 * elf/tst-absolute-sym-lib.c: New file.
15542 * elf/tst-absolute-sym-lib.lds: New file.
15543 * elf/Makefile (tests): Add `tst-absolute-sym'.
15544 (modules-names): Add `tst-absolute-sym-lib'.
15545 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15546 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15547 ($(objpfx)tst-absolute-sym): New dependency.
15548
15549 [BZ #19818]
15550 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15551 parameter.
15552 (SYMBOL_ADDRESS): New macro.
15553 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15554 SYMBOL_ADDRESS for symbol address calculation.
15555 * elf/dl-runtime.c (_dl_fixup): Likewise.
15556 (_dl_profile_fixup): Likewise.
15557 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15558 * elf/rtld.c (dl_main): Likewise.
15559 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15560 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15561 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15562 (elf_machine_rela): Likewise.
15563 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15564 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15565 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15566 (elf_machine_rela): Likewise.
15567 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15568 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15569 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15570 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15571 Likewise.
15572 (elf_machine_reloc): Likewise.
15573 (elf_machine_got_rel): Likewise.
15574 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15575 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15576 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15577 Likewise.
15578 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15579 Likewise.
15580 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15581 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15582 Likewise.
15583 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15584 Likewise.
15585 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15586 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15587 Likewise.
15588 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15589 Likewise.
15590 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15592
15593 2018-04-04 Zack Weinberg <zackw@panix.com>
15594
15595 * sysdeps/generic/internal-signals.h: Include signal.h,
15596 sigsetops.h, and stdbool.h.
15597 (__libc_signal_block_all): Actually block all signals.
15598 (__libc_signal_block_app): Likewise.
15599 (__libc_signal_restore_set): Actually restore the signal mask.
15600
15601 2018-04-04 Florian Weimer <fweimer@redhat.com>
15602
15603 inet: Actually build and run tst-deadline.
15604 * inet/Makefile (tests-internal): Add tst-deadline and do not
15605 overwrite the variable.
15606 (tests-static-internal): Remove variable.
15607
15608 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15609
15610 [BZ #22947]
15611 * bits/uio-ext.h (RWF_APPEND): New.
15612 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15613 * manual/llio.texi: Document RWF_APPEND.
15614 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15615 (RWF_SUPPORTED): Add RWF_APPEND.
15616
15617 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15618
15619 [BZ #22391]
15620 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15621 check for internal nptl signals.
15622 * nptl/sigaction.c (__sigaction): Likewise.
15623 * signal/sigaddset.c (sigaddset): Likewise.
15624 * signal/sigdelset.c (sigdelset): Likewise.
15625 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15626 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15627 value.
15628 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15629 to filter out internal nptl signals.
15630 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15631 also check realtime signals using standard macros.
15632 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15633 __is_internal_signal, __libc_signal_block_all,
15634 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15635 * sysdeps/nptl/sigfillset.c: Remove file.
15636 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15637 Change return to bool.
15638 (__clear_internal_signals): Remove SIGTIMER clean since it is
15639 equal to SIGCANEL on Linux.
15640 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15641 signal set was constructed using standard functions.
15642
15643 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15644
15645 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15646 ifname is too long.
15647 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15648 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
15649 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15650 hidden def.
15651 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
15652 * signal/sigaddset.c: Include <sigsetopts.h>.
15653 * signal/sigdelset.c: Likewise.
15654
15655 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15656
15657 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15658 (__cos): Likewise.
15659 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15660 logic as sin and cos.
15661
15662 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15663
15664 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15665 inputs. Return correct sign.
15666 (do_sincos): Remove small input check before do_sin, let do_sin set
15667 the sign.
15668 (__sin): Likewise.
15669 (__cos): Likewise.
15670
15671 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15672
15673 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15674 (do_cos_slow): Likewise.
15675 (do_sin_slow): Likewise.
15676 (reduce_and_compute): Likewise.
15677 (slow): Likewise.
15678 (slow1): Likewise.
15679 (slow2): Likewise.
15680 (sloww): Likewise.
15681 (sloww1): Likewise.
15682 (sloww2): Likewise.
15683 (bslow): Likewise.
15684 (bslow1): Likewise.
15685 (bslow2): Likewise.
15686 (cslow2): Likewise.
15687
15688 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15689
15690 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15691 (do_cos): Remove corp parameter and calculations.
15692 (do_sin): Likewise.
15693 (do_sincos): Remove cor variable.
15694 (__sin): Use do_sincos for huge inputs.
15695 (__cos): Likewise.
15696 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15697 (reduce_and_compute_sincos): Remove unused function.
15698
15699 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15700
15701 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15702 reduce_sincos, improve accuracy to 136 bits.
15703 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15704 (__sin): Use improved reduction and simplified do_sincos calculation.
15705 (__cos): Likewise.
15706 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15707
15708 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15709
15710 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15711 (do_sincos_2): Likewise.
15712 (__sin): Remove middle range reduction case.
15713 (__cos): Likewise.
15714 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15715 reduction case.
15716
15717 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15718
15719 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15720 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15721 inputs.
15722 (__cos): Likewise.
15723 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15724
15725 2018-04-03 Joseph Myers <joseph@codesourcery.com>
15726
15727 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15728 version to 4.16
15729
15730 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15731
15732 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15733 Remove definitions.
15734 (opendir_oflags): Use O_DIRECTORY regardless.
15735 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15736 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15737
15738 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15739
15740 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15741 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15742 macros.
15743 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15744 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15745 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15746 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
15747 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15748 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
15749
15750 * htl/Makefile: Bump licence to LGPL 2.1+.
15751 * htl/alloca_cutoff.c: Likewise.
15752 * htl/cthreads-compat.c: Likewise.
15753 * htl/lockfile.c: Likewise.
15754 * htl/pt-alloc.c: Likewise.
15755 * htl/pt-cancel.c: Likewise.
15756 * htl/pt-cleanup.c: Likewise.
15757 * htl/pt-create.c: Likewise.
15758 * htl/pt-dealloc.c: Likewise.
15759 * htl/pt-detach.c: Likewise.
15760 * htl/pt-exit.c: Likewise.
15761 * htl/pt-getattr.c: Likewise.
15762 * htl/pt-initialize.c: Likewise.
15763 * htl/pt-internal.h: Likewise.
15764 * htl/pt-join.c: Likewise.
15765 * htl/pt-self.c: Likewise.
15766 * htl/pt-setcancelstate.c: Likewise.
15767 * htl/pt-setcanceltype.c: Likewise.
15768 * htl/pt-sigmask.c: Likewise.
15769 * htl/pt-spin-inlines.c: Likewise.
15770 * htl/pt-testcancel.c: Likewise.
15771 * htl/pt-yield.c: Likewise.
15772 * htl/tests/test-1.c: Likewise.
15773 * htl/tests/test-10.c: Likewise.
15774 * htl/tests/test-11.c: Likewise.
15775 * htl/tests/test-12.c: Likewise.
15776 * htl/tests/test-13.c: Likewise.
15777 * htl/tests/test-14.c: Likewise.
15778 * htl/tests/test-15.c: Likewise.
15779 * htl/tests/test-16.c: Likewise.
15780 * htl/tests/test-17.c: Likewise.
15781 * htl/tests/test-2.c: Likewise.
15782 * htl/tests/test-3.c: Likewise.
15783 * htl/tests/test-4.c: Likewise.
15784 * htl/tests/test-5.c: Likewise.
15785 * htl/tests/test-6.c: Likewise.
15786 * htl/tests/test-7.c: Likewise.
15787 * htl/tests/test-8.c: Likewise.
15788 * htl/tests/test-9.c: Likewise.
15789 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15790 * sysdeps/htl/bits/cancelation.h: Likewise.
15791 * sysdeps/htl/bits/pthread-np.h: Likewise.
15792 * sysdeps/htl/bits/pthread.h: Likewise.
15793 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15794 * sysdeps/htl/bits/semaphore.h: Likewise.
15795 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15796 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15797 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15798 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15799 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15800 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15801 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15802 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15803 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15804 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15805 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15806 * sysdeps/htl/old_pt-atfork.c: Likewise.
15807 * sysdeps/htl/pt-atfork.c: Likewise.
15808 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15809 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15810 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15811 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15812 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15813 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15814 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15815 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15816 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15817 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15818 * sysdeps/htl/pt-attr-init.c: Likewise.
15819 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15820 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15821 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15822 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15823 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15824 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15825 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15826 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15827 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15828 * sysdeps/htl/pt-attr.c: Likewise.
15829 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15830 * sysdeps/htl/pt-barrier-init.c: Likewise.
15831 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15832 * sysdeps/htl/pt-barrier.c: Likewise.
15833 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15834 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15835 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15836 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15837 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15838 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15839 * sysdeps/htl/pt-cond-init.c: Likewise.
15840 * sysdeps/htl/pt-cond-signal.c: Likewise.
15841 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15842 * sysdeps/htl/pt-cond-wait.c: Likewise.
15843 * sysdeps/htl/pt-cond.c: Likewise.
15844 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15845 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15846 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15847 * sysdeps/htl/pt-condattr-init.c: Likewise.
15848 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15849 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15850 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15851 * sysdeps/htl/pt-equal.c: Likewise.
15852 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15853 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15854 * sysdeps/htl/pt-getschedparam.c: Likewise.
15855 * sysdeps/htl/pt-getspecific.c: Likewise.
15856 * sysdeps/htl/pt-init-specific.c: Likewise.
15857 * sysdeps/htl/pt-key-create.c: Likewise.
15858 * sysdeps/htl/pt-key-delete.c: Likewise.
15859 * sysdeps/htl/pt-key.h: Likewise.
15860 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15861 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15862 * sysdeps/htl/pt-mutex-init.c: Likewise.
15863 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15864 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15865 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15866 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15867 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15868 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15869 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15870 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15871 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15872 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15873 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15874 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15875 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15876 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15877 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15878 * sysdeps/htl/pt-mutexattr.c: Likewise.
15879 * sysdeps/htl/pt-once.c: Likewise.
15880 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15881 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15882 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15883 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15884 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15885 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15886 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15887 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15888 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15889 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15890 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15891 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15892 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15893 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15894 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15895 * sysdeps/htl/pt-setschedparam.c: Likewise.
15896 * sysdeps/htl/pt-setschedprio.c: Likewise.
15897 * sysdeps/htl/pt-setspecific.c: Likewise.
15898 * sysdeps/htl/pt-spin.c: Likewise.
15899 * sysdeps/htl/pt-startup.c: Likewise.
15900 * sysdeps/htl/pthread.h: Likewise.
15901 * sysdeps/htl/sem-close.c: Likewise.
15902 * sysdeps/htl/sem-destroy.c: Likewise.
15903 * sysdeps/htl/sem-getvalue.c: Likewise.
15904 * sysdeps/htl/sem-init.c: Likewise.
15905 * sysdeps/htl/sem-open.c: Likewise.
15906 * sysdeps/htl/sem-post.c: Likewise.
15907 * sysdeps/htl/sem-timedwait.c: Likewise.
15908 * sysdeps/htl/sem-trywait.c: Likewise.
15909 * sysdeps/htl/sem-unlink.c: Likewise.
15910 * sysdeps/htl/sem-wait.c: Likewise.
15911 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15912 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15913 * sysdeps/mach/htl/pt-block.c: Likewise.
15914 * sysdeps/mach/htl/pt-spin.c: Likewise.
15915 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15916 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15917 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15918 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15919 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15920 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15921 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15922 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15923 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15924 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15925 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15926 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15927 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15928 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15929 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15930 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15931 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15932 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15933 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15934 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15935 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15936 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15937 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15938 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15939 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15940 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15941 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15942 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15943 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15944 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15945 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15946 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15947 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15948 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15949 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15950 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15951 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15952 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15953 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15954 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15955 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15956 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15957 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15958
15959 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15960 * README: Remove the mention of out-of-tree patches needed for
15961 GNU/Hurd.
15962
15963 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15964 (UTIME_NOW, UTIME_OMIT): Define macros.
15965
15966 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15967 instead of pthread_detach.
15968 (__cthread_fork): Call __pthread_create instead of pthread_create.
15969 (__cthread_keycreate): Call __pthread_key_create instead of
15970 pthread_key_create.
15971 (__cthread_getspecific): Call __pthread_getspecific instead of
15972 pthread_getspecific.
15973 (__cthread_setspecific): Call __pthread_setspecific instead of
15974 pthread_setspecific.
15975 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15976 __pthread_mutex_unlock instead of pthread_mutex_lock and
15977 pthread_mutex_unlock.
15978 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15979 ___pthread_get_cleanup_stack.
15980 (__pthread_get_cleanup_stack): New strong alias.
15981 * htl/pt-create.c: Include <pthreadP.h>.
15982 (entry_point): Call __pthread_exit instead of pthread_exit.
15983 (pthread_create): Rename to __pthread_create.
15984 (pthread_create): New strong alias.
15985 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15986 (pthread_detach): New strong alias.
15987 (__pthread_detach): Call __pthread_cond_broadcast instead of
15988 pthread_cond_broadcast.
15989 * htl/pt-exit.c: Include <pthreadP.h>.
15990 (__pthread_exit): Call __pthread_setcancelstate and
15991 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15992 __pthread_get_cleanup_stack.
15993 * htl/pt-testcancel.c: Include <pthreadP.h>.
15994 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15995 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15996 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15997 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15998 pthread_attr_getstacksize.
15999 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16000 Rename to __pthread_attr_getstackaddr.
16001 (pthread_attr_getstackaddr): New strong alias.
16002 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16003 Rename to __pthread_attr_getstacksize.
16004 (pthread_attr_getstacksize): New strong alias.
16005 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16006 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16007 (pthread_attr_setstack): New strong alias.
16008 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16009 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16010 pthread_attr_getstacksize, pthread_attr_setstacksize and
16011 pthread_attr_setstackaddr.
16012 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16013 Rename to __pthread_attr_setstackaddr.
16014 (pthread_attr_setstackaddr): New strong alias.
16015 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16016 Rename to __pthread_attr_setstacksize.
16017 (pthread_attr_setstacksize): New strong alias.
16018 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16019 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16020 pthread_exit.
16021 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16022 (__pthread_key_create): New hidden def.
16023 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16024 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16025 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16026 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16027 __pthread_setspecific, __pthread_setcancelstate,
16028 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16029 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16030 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16031 declarations.
16032 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16033 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16034 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16035 (pthread_attr_setstackaddr): New strong alias.
16036 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16037 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16038 (pthread_attr_setstacksize): New strong alias.
16039 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16040 (call_exit): Call __pthread_exit instead of pthread_exit.
16041 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16042 (_pthread_mutex_init): New hidden definition.
16043 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16044 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16045 instead of pthread_attr_init and pthread_attr_setstack.
16046
16047 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16048 __vm_deallocate instead of vm_allocate and vm_deallocate.
16049 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16050 setenv.
16051 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16052 of geteuid.
16053 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16054 strdup.
16055 * hurd/siginfo.c: Include <libioP.h>.
16056 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16057 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16058 munmap.
16059 * mach/devstream.c: Include <libioP.h>.
16060 (dealloc_ref): Call __mach_port_deallocate instead of
16061 mach_port_deallocate.
16062 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16063 Call __mach_port_deallocate instead of mach_port_deallocate.
16064 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16065 pathconf.
16066 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16067 munmap.
16068 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16069 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16070 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16071 of munmap.
16072 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16073 of close.
16074 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16075 instead of sysconf.
16076 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16077 __clock_gettime instead of clock_gettime.
16078 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16079 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16080 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16081 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16082 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16083 tcgetattr.
16084 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16085 __clock_gettime and __nanosleep instead of clock_gettime and
16086 nanosleep.
16087 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16088 __hurd_catch_signal.
16089 (hurd_catch_signal): New strong alias.
16090 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16091 __hurd_catch_signal instead of hurd_catch_signal.
16092 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16093 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16094 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16095 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16096 (_hurd_thread_sigstate): Add hidden def.
16097 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16098 mutex_unlock.
16099 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16100 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16101 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16102 __hurd_file_name_path_lookup.
16103 (hurd_file_name_path_lookup): New strong alias.
16104 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16105 hurd_file_name_path_lookup.
16106 * mach/errstring.c (mach_error_type): Add hidden def.
16107 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16108 * mach/mutex-init.c (__mutex_init): Add hidden def.
16109 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16110 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16111 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16112 * sysdeps/mach/hurd/getcwd.c
16113 (_hurd_canonicalize_directory_name_internal): Rename to
16114 __hurd_canonicalize_directory_name_internal.
16115 (_hurd_canonicalize_directory_name_internal): New strong alias.
16116 (__canonicalize_directory_name_internal, __getcwd): Call
16117 __hurd_canonicalize_directory_name_internal instead of
16118 _hurd_canonicalize_directory_name_internal.
16119 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16120 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16121 hidden defs.
16122 * sysdeps/hurd/include/hurd.h: New file.
16123 * sysdeps/hurd/include/hurd/fd.h: New file.
16124 * sysdeps/hurd/include/hurd/signal.h: New file.
16125 * sysdeps/mach/include/lock-intern.h: New file.
16126 * sysdeps/mach/include/mach.h: New file.
16127 * sysdeps/mach/include/mach/mig_support.h: New file.
16128 * sysdeps/mach/include/mach_error.h: New file.
16129 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16130 prototype.
16131 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16132 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16133 _HEADER_H_HIDDEN_DEF macro.
16134 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16135 _hurd_fd_error_signal): Add hidden prototype.
16136 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16137 hidden def.
16138 * libio/iolibio.h (_IO_puts): New hidden prototype.
16139 * libio/ioputs.c (_IO_puts): New hidden def.
16140 * sysdeps/mach/hurd/localplt.data: New file.
16141
16142 2018-04-02 Agustina Arzille <avarzille@riseup.net>
16143 Amos Jeffries <squid3@treenet.co.nz>
16144 David Michael <fedora.dm0@gmail.com>
16145 Marco Gerards <marco@gnu.org>
16146 Marcus Brinkmann <marcus@gnu.org>
16147 Neal H. Walfield <neal@gnu.org>
16148 Pino Toscano <toscano.pino@tiscali.it>
16149 Richard Braun <rbraun@sceen.net>
16150 Roland McGrath <roland@gnu.org>
16151 Samuel Thibault <samuel.thibault@ens-lyon.org>
16152 Thomas DiModica <ricinwich@yahoo.com>
16153 Thomas Schwinge <tschwinge@gnu.org>
16154
16155 * htl: New directory.
16156 * sysdeps/htl: New directory.
16157 * sysdeps/hurd/htl: New directory.
16158 * sysdeps/i386/htl: New directory.
16159 * sysdeps/mach/htl: New directory.
16160 * sysdeps/mach/hurd/htl: New directory.
16161 * sysdeps/mach/hurd/i386/htl: New directory.
16162 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16163 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16164 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16165
16166 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16167
16168 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16169 signals in thread created for runing timers.
16170
16171 2018-04-01 Florian Weimer <fweimer@redhat.com>
16172
16173 * support/support_format_addrinfo.c (support_format_addrinfo):
16174 Include unknown error number in formatted result.
16175
16176 2018-03-29 Florian Weimer <fweimer@redhat.com>
16177
16178 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16179 capture SIGBUS.
16180
16181 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16182
16183 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16184 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16185 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16186 (__ASSUME_CLONE_BACKWARDS): Define.
16187
16188 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16189
16190 [BZ #23024]
16191 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16192 early when linux sentinel value is set.
16193
16194 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16195
16196 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16197
16198 2018-03-27 Andreas Schwab <schwab@suse.de>
16199
16200 [BZ #23005]
16201 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16202 allocation of private copy of nsaddr_list fails.
16203
16204 2018-03-26 Joseph Myers <joseph@codesourcery.com>
16205
16206 [BZ #16552]
16207 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16208 * sysdeps/unix/sysv/linux/umount.c: ... here.
16209 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16210 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16211 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16212 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16214 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16215 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16216
16217 2018-03-26 Andreas Schwab <schwab@suse.de>
16218
16219 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16220 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16221 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16222 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16223 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16224 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16225 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16226 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16227 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16228 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16229 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16230 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16231 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16232 (R_RISCV_NUM): Define.
16233
16234 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16235
16236 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16237 TLS declaration of errno.
16238 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16239 __libc_setup_tls.
16240 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16241 (ARCH_SETUP_TLS): Likewise.
16242 * sysdeps/mach/hurd/libc-start.h: New file copied from
16243 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
16244 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16245 instead of __libc_setup_tls.
16246 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
16247 __libc_setup_tls before initializing libpthread and running _hurd_init
16248 which starts the signal thread.
16249 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16250 Declare function.
16251 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16252
16253 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16254
16255 [BZ #22998]
16256 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16257 after it is defined.
16258
16259 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16260 Max Horn <max@quendi.de>
16261
16262 [BZ #22644]
16263 CVE-2017-18269
16264 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16265 branch conditions.
16266 * string/test-memmove.c (do_test2): New testcase.
16267
16268 2018-03-22 Joseph Myers <joseph@codesourcery.com>
16269
16270 * sysdeps/generic/frame.h: Remove file.
16271 * sysdeps/arm/frame.h: Likewise.
16272 * sysdeps/hppa/frame.h: Likewise.
16273 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16274 macro.
16275 (GET_FRAME): Likewise.
16276 (GET_STACK): Likewise.
16277 (CALL_SIGHANDLER): Likewise.
16278 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16279 Likewise.
16280 (GET_FRAME): Likewise.
16281 (GET_STACK): Likewise.
16282 (CALL_SIGHANDLER): Likewise.
16283 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16284 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16285 (GET_FRAME): Likewise.
16286 (GET_STACK): Likewise.
16287 (CALL_SIGHANDLER): Likewise.
16288 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16289 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16290 (GET_FRAME): Likewise.
16291 (GET_STACK): Likewise.
16292 (ADVANCE_STACK_FRAME): Likewise.
16293 (CALL_SIGHANDLER): Likewise.
16294 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16295 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16296 (GET_FRAME): Likewise.
16297 (GET_STACK): Likewise.
16298 (CALL_SIGHANDLER): Likewise.
16299 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16300 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16301 (GET_FRAME): Likewise.
16302 (GET_STACK): Likewise.
16303 (CALL_SIGHANDLER): Likewise.
16304 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16305 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16306 (GET_FRAME): Likewise.
16307 (GET_STACK): Likewise.
16308 (CALL_SIGHANDLER): Likewise.
16309 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16310 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16311 (GET_FRAME): Likewise.
16312 (GET_STACK): Likewise.
16313 (CALL_SIGHANDLER): Likewise.
16314 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16315 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16316 (GET_FRAME): Likewise.
16317 (GET_STACK): Likewise.
16318 (CALL_SIGHANDLER): Likewise.
16319 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16320 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16321 (GET_FRAME): Likewise.
16322 (GET_STACK): Likewise.
16323 (CALL_SIGHANDLER): Likewise.
16324 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16325 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16326 (GET_FRAME): Likewise.
16327 (GET_STACK): Likewise.
16328 (CALL_SIGHANDLER): Likewise.
16329 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16330 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16331 (GET_FRAME): Likewise.
16332 (GET_STACK): Likewise.
16333 (CALL_SIGHANDLER): Likewise.
16334 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16335 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16336 (GET_FRAME): Likewise.
16337 (GET_STACK): Likewise.
16338 (CALL_SIGHANDLER): Likewise.
16339 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16340 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16341 (FIRST_FRAME_POINTER): Likewise.
16342 (ADVANCE_STACK_FRAME): Likewise.
16343 (GET_STACK): Likewise.
16344 (GET_FRAME): Likewise.
16345 (CALL_SIGHANDLER): Likewise.
16346 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16347 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16348 (ADVANCE_STACK_FRAME): Likewise.
16349 (GET_STACK): Likewise.
16350 (GET_FRAME): Likewise.
16351 (CALL_SIGHANDLER): Likewise.
16352 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16353 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16354 (GET_FRAME): Likewise.
16355 (GET_STACK): Likewise.
16356 (CALL_SIGHANDLER): Likewise.
16357 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16358 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16359 (GET_FRAME): Likewise.
16360 (GET_STACK): Likewise.
16361 (CALL_SIGHANDLER): Likewise.
16362
16363 2018-03-21 Joseph Myers <joseph@codesourcery.com>
16364
16365 * sysdeps/x86_64/backtrace.c: Move to ....
16366 * debug/backtrace.c: ... here.
16367 * sysdeps/aarch64/backtrace.c: Remove file.
16368 * sysdeps/alpha/backtrace.c: Likewise.
16369 * sysdeps/hppa/backtrace.c: Likewise.
16370 * sysdeps/ia64/backtrace.c: Likewise.
16371 * sysdeps/mips/backtrace.c: Likewise.
16372 * sysdeps/nios2/backtrace.c: Likewise.
16373 * sysdeps/riscv/backtrace.c: Likewise.
16374 * sysdeps/sh/backtrace.c: Likewise.
16375 * sysdeps/tile/backtrace.c: Likewise.
16376
16377 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16378
16379 [BZ #22987]
16380 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16381 function.
16382 (fdimf): Likewise.
16383 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16384
16385 [BZ #17343]
16386 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16387 possibly overflowing computations.
16388
16389 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16390
16391 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16392 values from Linux-specific section now that it is in the GNU section.
16393 * sysdeps/gnu/errlist.c: Regenerate.
16394
16395 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16396
16397 * math/Makefile (libm-narrow-fns): Add sub.
16398 (libm-test-funcs-narrow): Likewise.
16399 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16400 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16401 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16402 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16403 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16404 (NARROW_SUB_TRIVIAL): Likewise.
16405 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16406 macro.
16407 (__dsubl): Likewise.
16408 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16409 dsub.
16410 (CFLAGS-nldbl-dsub.c): New variable.
16411 (CFLAGS-nldbl-fsub.c): Likewise.
16412 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16413 __nldbl_dsubl.
16414 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16415 prototype.
16416 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16417 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16418 * math/auto-libm-test-in: Add tests of sub.
16419 * math/auto-libm-test-out-narrow-sub: New generated file.
16420 * math/libm-test-narrow-sub.inc: New file.
16421 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16422 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16423 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16424 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16425 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16426 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16427 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16428 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16429 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16430 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16431 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16432 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16433 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16434 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16435 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16436 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16437 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16438 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16440 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16441 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16442 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16443 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16444 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16445 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16446 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16447 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16448 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16449 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16450 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16451 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16452 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16457 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16458 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16459 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16460 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16461 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16462 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16463 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16464 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16465 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16466 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16467
16468 2018-03-19 Joseph Myers <joseph@codesourcery.com>
16469
16470 [BZ #20079]
16471 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16472
16473 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16474
16475 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16476
16477 2018-03-18 Richard Braun <rbraun@sceen.net>
16478
16479 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16480 thread reference.
16481
16482 2018-03-18 Agustina Arzille <avarzille@riseup.net>
16483
16484 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16485 (__libc_cleanup_fct): Define function.
16486 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16487 __libc_cleanup_end): Rewrite implementation using
16488 __attribute__ ((__cleanup__)).
16489 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
16490 * hurd/Makefile (routines): Add hurdlock.
16491 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16492 interface.
16493 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16494 * hurd/hurdpid.c: Include <lowlevellock.h>
16495 (_S_msg_proc_newids): Use lll_wait to synchronize.
16496 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16497 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16498 * mach/Makefile (lock-headers): Remove machine-lock.h.
16499 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16500 <machine-lock.h>.
16501 (__spin_lock_t): New type.
16502 (__SPIN_LOCK_INITIALIZER): New macro.
16503 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16504 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16505 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16506 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16507 (__mutex_init): Initialize with lll.
16508 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16509 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16510 needing lll.
16511 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16512 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16513 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16514 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16515 (__setpgid): Use lll for synchronization.
16516 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16517 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16518 instead of <cthreads.h>.
16519 (_IO_lock_inexpensive): New macro
16520 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16521 (__libc_lock_self0): New declaration.
16522 (__libc_lock_owner_self): New macro.
16523 (__libc_key_t): Remove type.
16524 (_LIBC_LOCK_INITIALIZER): New macro.
16525 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16526 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16527 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16528 __libc_lock_define_initialized_recursive,
16529 __rtld_lock_define_initialized_recursive,
16530 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16531 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16532 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16533 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16534 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16535 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16536 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16537 New macros.
16538 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16539 * hurd/hurdlock.c: New file.
16540 * hurd/hurdlock.h: New file.
16541 * mach/lowlevellock.h: New file
16542
16543 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16544
16545 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
16546 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16547 when opening a symlink with O_NOFOLLOW.
16548 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16549 path when flags contains O_NOFOLLOW.
16550 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16551 if flags contains O_DIRECTORY and the result is a directory.
16552 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16553 oneself when the pointer given in D is nul (as set by ext2fs).
16554 * sysdeps/mach/hurd/mlockall.c: New file.
16555 * sysdeps/mach/hurd/munlockall.c: New file.
16556
16557 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16558
16559 * hurd/hurdsig.c: Include <pthread.h>.
16560 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16561 get the signal thread stack layout.
16562 * hurd/Makefile (headers): Remove threadvar.h.
16563 (inline-headers): Remove threadvar.h.
16564 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16565 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16566 __hurd_threadvar_max, __hurd_errno_location.
16567 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16568 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16569 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16570 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16571 unless TLS is not initialized yet, in which case we do not need a
16572 critical section yet anyway.
16573 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16574 <machine-sp.h>.
16575 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16576 declarations.
16577 (__hurd_threadvar_index): Remove enum.
16578 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16579 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16580 inlines.
16581 (__hurd_reply_port0): New variable declaration.
16582 (__hurd_local_reply_port): New macro.
16583 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16584 (interrupted_reply_port_location): Add thread_t parameter. Use it
16585 with THREAD_TCB to access thread-local variables.
16586 (_hurdsig_abort_rpcs): Pass ss->thread to
16587 interrupted_reply_port_location.
16588 (_hurd_internal_post_signal): Likewise.
16589 (_hurdsig_init): Use presence of cthread_fork instead of
16590 __hurd_threadvar_stack_mask to start signal thread by hand.
16591 Remove signal thread threadvar initialization.
16592 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16593 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16594 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16595 of threadvar.
16596 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16597 __libc_lock_self0.
16598 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16599 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16600 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16601 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16602 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16603 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16604 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16605 define variables.
16606 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16607 <hurd/threadvar.h>.
16608 [IS_IN(rtld)] (rtld_errno): New variable.
16609 [IS_IN(rtld)] (__errno_location): New weak function.
16610 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16611 * sysdeps/mach/hurd/errno.c: Remove file.
16612 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16613 (__fork): Remove THREADVAR_SPACE macro and its use.
16614 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16615 variable.
16616 (init): Do not initialize threadvar.
16617 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16618 symbol.
16619 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16620 __hurd_local_reply_port instead of threadvar.
16621 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16622 _hurd_sigstate fields.
16623 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16624 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16625 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16626 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16627 instead of threadvar.
16628 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16629 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16630 (use_threadvar, global_reply_port): Remove variables.
16631 (__hurd_reply_port0): New variable.
16632 (__mig_get_reply_port): Use __hurd_local_reply_port and
16633 __hurd_reply_port0 instead of threadvar.
16634 (__mig_dealloc_reply_port): Likewise.
16635 (__mig_init): Do not initialize threadvar.
16636 * sysdeps/mach/hurd/profil.c: Fix comment.
16637 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16638 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16639 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16640 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16641 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16642 __cthread_setspecific.
16643 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16644 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16645 __cthread_t instead of cthread_fork, cthread_detach,
16646 pthread_getattr_np, pthread_attr_getstack.
16647 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16648 __cthread_keycreate.
16649 (cthread_getspecific): Rename to __cthread_getspecific.
16650 (cthread_setspecific): Rename to __cthread_setspecific.
16651 (__libc_getspecific): Use __cthread_getspecific instead of
16652 cthread_getspecific.
16653 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16654 __cthread_keycreate instead of cthread_keycreate.
16655 (__libc_setspecific): Use __cthread_setspecific instead of
16656 cthread_setspecific.
16657 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16658 Likewise.
16659 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16660 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16661 testing whether it is defined.
16662
16663 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16664
16665 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16666 Define macro.
16667 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16668 * sysdeps/mach/i386/thread_state.h
16669 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16670 i386_THREAD_STATE.
16671 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16672 i386_THREAD_STATE.
16673 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16674
16675 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16676 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16677
16678 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16679 macros.
16680 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16681 descriptor instead of creating a new one.
16682 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16683
16684 * mach/setup-thread.c: Include <ldsodefs.h>.
16685 (__mach_setup_thread): Call _dl_allocate_tls, pass
16686 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16687 MACHINE_THREAD_STATE_FLAVOR, before getting
16688 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16689 MACHINE_THREAD_STATE_FLAVOR with the result.
16690 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16691 MACHINE_THREAD_STATE_FIX_NEW.
16692 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16693 too. Add original thread parameter.
16694
16695 2018-03-16 Joseph Myers <joseph@codesourcery.com>
16696
16697 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16698 Remove inline function.
16699
16700 * sysdeps/i386/fpu/libm-test-ulps: Update.
16701 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16702
16703 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16704
16705 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16706 commit.
16707
16708 2018-03-15 Joseph Myers <joseph@codesourcery.com>
16709
16710 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16711 (__sincos_code): Remove define and undefine.
16712 [__FAST_MATH__] (__sincos): Remove inline function.
16713 [__FAST_MATH__] (__sincosf): Remove inline function.
16714 [__FAST_MATH__] (__sincosl): Remove inline function.
16715 (__atan2l): Remove inline functions.
16716 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16717 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16718 function.
16719 (floor): Remove inline function.
16720 (ceil): Likewise.
16721 [__FAST_MATH__] (__ldexp_code): Remove macro.
16722 [__FAST_MATH__] (ldexp): Remove inline function.
16723 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16724 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16725 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16726 [__USE_ISOC99] (__lrint_code): Remove macro.
16727 [__USE_ISOC99] (__llrint_code): Likewise.
16728 [__USE_ISOC99] (lrintf): Remove inline function.
16729 [__USE_ISOC99] (lrint): Likewise.
16730 [__USE_ISOC99] (lrintl): Likewise.
16731 [__USE_ISOC99] (llrint): Likewise.
16732 [__USE_ISOC99] (llrintf): Likewise.
16733 [__USE_ISOC99] (llrintl): Likewise.
16734
16735 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16736
16737 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16738 (__ieee754_sqrtf): Remove.
16739 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16740 (__ieee754_sqrtf): Remove.
16741 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16742 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16743 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16744 (__ieee754_sqrtf): Remove.
16745 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16746 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16747 (sqrtf): Remove.
16748 (sqrtl): Remove.
16749 (__ieee754_sqrt): Remove.
16750 (__ieee754_sqrtf): Remove.
16751 (__ieee754_sqrtl): Remove.
16752 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16753 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16754 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16755 (__ieee754_sqrtf): Remove.
16756 (__ieee754_sqrtl): Remove.
16757
16758 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16759
16760 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16761 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16762 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16763 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16764 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16765 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16766 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16767 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16768 Likewise.
16769 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16770 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16771 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16772 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16773 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16774 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16775 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16776 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16777 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16778 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16779 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16780 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16781 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16782 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16783 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16784 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16785 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16786 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16787 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16788 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16789 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16790 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16791 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16792 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16793 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16794 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16795 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16796 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16797 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16798 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16799 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16800 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16801 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16802 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16803 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16804 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16805 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16806 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16807 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16808 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16809
16810 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16811
16812 * include/math.h (sqrt): Declare with asm redirect.
16813 (sqrtf): Likewise.
16814 (sqrtl): Likewise.
16815 (sqrtf128): Likewise.
16816 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16817 nonlib and libnldbl with -fmath-errno.
16818 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16819 * math/w_sqrt_template.c: Likewise.
16820 * math/w_sqrtf_compat.c: Likewise.
16821 * math/w_sqrtl_compat.c: Likewise.
16822 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16823 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16824 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16825 complex.h.
16826
16827 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16828
16829 * benchtests/Makefile: Define _ISOMAC.
16830 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16831 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16832 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16833 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16834 * benchtests/bench-timing.h: Define attribute_hidden.
16835
16836 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16837
16838 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16839 mov + lsr.
16840
16841 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16842
16843 [BZ #22963]
16844 * localedata/locales/cs_CZ (mon): Rename to...
16845 (alt_mon): This.
16846 (mon): Import from CLDR (genitive case).
16847
16848 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16849
16850 [BZ #22937]
16851 * localedata/locales/el_CY (abmon): Rename to...
16852 (ab_alt_mon): This.
16853 (abmon): Import from CLDR (abbreviated genitive case).
16854 * localedata/locales/el_GR (abmon): Rename to...
16855 (ab_alt_mon): This.
16856 (abmon): Import from CLDR (abbreviated genitive case).
16857
16858 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16859
16860 [BZ #22932]
16861 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16862
16863 2018-03-15 Robert Buj <robert.buj@gmail.com>
16864
16865 [BZ #22848]
16866 * localedata/locales/ca_ES (abmon): Rename to...
16867 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16868 (mon): Rename to...
16869 (alt_mon): This.
16870 (abmon): Import from CLDR (genitive case, month names preceded by
16871 "de" or "d’").
16872 (mon): Likewise.
16873 (abday): Synchronize with CLDR.
16874 (d_t_fmt): Likewise.
16875 (d_fmt): Likewise.
16876 (am_pm): Likewise.
16877
16878 (LC_TIME): Improve indentation.
16879 (LC_TELEPHONE): Likewise.
16880 (LC_NAME): Likewise.
16881 (LC_ADDRESS): Likewise.
16882
16883 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16884
16885 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16886 (lrintf): Remove definitions used only with old GCC.
16887 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16888 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16889 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16890 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16891 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16892 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16893 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16894 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16895 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16896 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16897 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16898 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16899 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16900 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16901 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16902 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16903 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16904 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16905 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16906 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16907 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16908 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16909 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16910 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16911 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16912 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16913 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16914 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16915
16916 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16917
16918 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16919 instruction to unbreak builds with binutils 2.26 and older.
16920
16921 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16922
16923 * sysdeps/aarch64/strncmp.S (count): New macro.
16924 (strncmp): Store misaligned length in SRC1 in COUNT.
16925 (mutual_align): Adjust.
16926 (misaligned8): Load dword at a time when it is safe.
16927
16928 2018-03-12 Zack Weinberg <zackw@panix.com>
16929
16930 [BZ #1190]
16931 [BZ #19476]
16932 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16933 if the _IO_EOF_SEEN bit is already set; update commentary.
16934 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16935 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16936
16937 * support/support_openpty.c, support/tty.h: New files.
16938 * support/Makefile (libsupport-routines): Add support_openpty.
16939
16940 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16941 New test cases.
16942 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16943 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16944
16945 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16946
16947 * po/pt_BR.po: Update translations.
16948
16949 2018-03-12 David Michael <fedora.dm0@gmail.com>
16950
16951 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16952 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16953 get a port to the startup server.
16954
16955 2018-03-11 Zack Weinberg <zackw@panix.com>
16956
16957 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16958 before nldbl-compat.h.
16959
16960 2018-03-10 Zack Weinberg <zackw@panix.com>
16961
16962 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16963 math.h or math_private.h.
16964
16965 * sysdeps/alpha/fpu/s_isnan.c
16966 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16967 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16968 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16969 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16970 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16971 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16972 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16973 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16974 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16977 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16978 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16979 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16980 Include math_private.h.
16981
16982 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16983 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16984 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16985 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16986 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16987 * sysdeps/powerpc/power7/fpu/s_logb.c:
16988 Include math.h and math_private.h.
16989
16990 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16991 uses of $at in .set noat / .set at.
16992
16993 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16994
16995 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16996 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16997 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16998 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16999 Likewise.
17000
17001 2018-03-09 Florian Weimer <fweimer@redhat.com>
17002
17003 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17004 in comment.
17005
17006 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17007
17008 [BZ #22919]
17009 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17010 Add nop before __startcontext, add explaining comments.
17011
17012 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17013
17014 [BZ #22926]
17015 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17016 empty for __SPE__.
17017 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17018 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17019 Do not build hardware transactional code for __SPE__.
17020 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17021 (__lll_trylock_elision): Likewise.
17022 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17023 (__lll_unlock_elision): Likewise.
17024
17025 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
17026 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17027 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17028 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17029 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17030 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17031 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17032 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17033 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17034 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17035 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17036 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17037 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17038 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17039 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17040 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17041 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17042 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17043 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17044 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17045 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17046 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17047 (__ASSUME_CLONE_BACKWARDS): Define.
17048 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17049 __clone2 if __NR_clone2 is defined.
17050 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17051 (__ASSUME_CLONE_BACKWARDS): Likewise.
17052 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17053 (__ASSUME_CLONE_BACKWARDS): Likewise.
17054 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17055 (__ASSUME_CLONE2): Likewise.
17056 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17057 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17058 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17059 variants and the define architecture can use.
17060 (__ASSUME_CLONE_DEFAULT): Define as default.
17061 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17062 (__ASSUME_CLONE_BACKWARDS): Likewise.
17063 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17064 (__ASSUME_CLONE_BACKWARDS): Likewise.
17065 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17066 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17067
17068 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17069
17070 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17071
17072 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17073 time.
17074
17075 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17076 (do_test_limit): Likewise.
17077
17078 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17079 for every implementation.
17080 (do_test): Likewise.
17081
17082 * benchtests/bench-strncmp.c: Convert output to json.
17083
17084 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17085
17086 * io/futimens.c: Add missing start-of-file descriptive comment.
17087 * io/utime.c: Likewise.
17088 * misc/futimesat.c: Likewise.
17089 * misc/utimes.c: Likewise.
17090 * sysdeps/mach/hurd/futimesat.c: Likewise.
17091 * sysdeps/mach/hurd/utimes.c: Likewise.
17092 * sysdeps/posix/utime.c: Likewise.
17093 * sysdeps/posix/utimes.c: Likewise.
17094 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17095 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17096 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17097 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17098
17099 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17100
17101 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17102 hurd_futimes.
17103 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17104 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17105 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17106 (__futimens): Move implementation to...
17107 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17108 utime_tvalue_from_tspec): ... new helper functions.
17109 (hurd_futimens): New function.
17110 * sysdeps/mach/hurd/futimesat.c: New file.
17111 * sysdeps/mach/hurd/utimensat.c: New file.
17112
17113 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17114
17115 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17116 UTIME_OMIT): New macros.
17117 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17118 before reverting to converting time spec to time value and calling
17119 __file_utimes.
17120 * sysdeps/mach/hurd/utime-helper.c: New file.
17121 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17122 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17123 reverting to utime_tvalue_from_tval and __file_utimes.
17124 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17125 (__lutimes): Just call hurd_futimens after lookup.
17126 * sysdeps/mach/hurd/utimes.c: Likewise.
17127
17128 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17129
17130 * bits/sigaction.h: Add include guard.
17131 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17132 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17133 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17134 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17135 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17136 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17137 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17138 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17139 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17140
17141 2018-03-05 Joseph Myers <joseph@codesourcery.com>
17142
17143 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17144 -Wmaybe-uninitialized for -Os.
17145 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17146 this disabling.
17147
17148 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17149
17150 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17151 __INO_T_MATCHES_INO64_T is defined.
17152 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17153 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17154 of definition.
17155 * dirent/alphasort64.c: Likewise.
17156 * dirent/scandir.c: Likewise.
17157 * dirent/scandir64-tail.c: Likewise.
17158 * dirent/scandir64.c: Likewise.
17159 * dirent/scandirat.c: Likewise.
17160 * dirent/scandirat64.c: Likewise.
17161 * dirent/versionsort.c: Likewise.
17162 * dirent/versionsort64.c: Likewise.
17163 * include/dirent.h: Likewise.
17164
17165 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17166 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17167 for socketpair endpoint.
17168 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17169 WRITE_BUFFER_SIZE as buffer size for sending socket.
17170 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17171 issue on system where send is implemented with sendto syscall.
17172 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17173 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17174 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17175 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17176
17177 [BZ #21269]
17178 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17179 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17180 sa_restorer for vDSO case.
17181 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17182
17183 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17184
17185 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
17186 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17187 * hurd/hurd/ioctl.h: Include <mach/port.h>
17188 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
17189 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17190 <mach/mach_types.h> and <mach/message.h>.
17191 (headers): Move mach/param.h to bits/mach/param.h.
17192 * sysdeps/mach/i386/mach/param.h: Move file to ...
17193 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17194 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17195 of <mach/param.h>.
17196 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17197 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17198 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
17199 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17200 trivial, for C++ conformity.
17201 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
17202 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17203 Process mig output through $(migheadersed).
17204 * hurd/Makefile (migheadersed): Define variable.
17205 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17206 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17207 headers.
17208 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17209 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17210 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17211 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17212 <bits/types/sigset_t.h>.
17213 [!defined __USE_GNU]: Do not #error out.
17214 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17215 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17216 Include <stddef.h> and <bits/types/sigset_t.h>
17217 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17218 instead of sighandler_t.
17219 * stdlib/errno.h (error_t): Move definition to...
17220 * bits/types/error_t.h: ... new header.
17221 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17222 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17223 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17224 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17225 * hurd/hurd.h: Include <bits/types/error_t.h>
17226 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17227 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17228 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17229 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17230 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17231 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
17232 * sysdeps/mach/hurd/futimens.c: New file.
17233
17234 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17235
17236 [BZ #22918]
17237 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17238 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17239 * nscd/gai.c (__nss_hosts_database): Readd definition.
17240 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17241 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17242 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17243
17244 2018-03-02 Joseph Myers <joseph@codesourcery.com>
17245
17246 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17247 (ifunc_one): Likewise.
17248
17249 2018-03-01 DJ Delorie <dj@delorie.com>
17250
17251 [BZ #22342]
17252 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17253 key value.
17254
17255 2018-03-01 Maciej W. Rozycki <macro@mips.com>
17256
17257 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17258 `match_pid' parameter.
17259 (td_ta_thr_iter): Update accordingly.
17260
17261 2018-03-01 Florian Weimer <fweimer@redhat.com>
17262
17263 * nptl/Makefile (install-lib-ldscripts): Remove.
17264 (install): Remove rule.
17265 ($(inst_libdir)/libpthread.so): Likewise.
17266
17267 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17268
17269 [BZ #22896]
17270 * localedata/locales/an_ES: update month and day names,
17271 improve d_fmt, improve postal_fmt, add country_post,
17272 add country_isbn
17273
17274 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17275
17276 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17277 Ukrainian instead of Bulgarian.
17278
17279 2018-03-01 Florian Weimer <fweimer@redhat.com>
17280
17281 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17282 reference.
17283
17284 2018-03-01 Florian Weimer <fweimer@redhat.com>
17285
17286 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17287 * nptl/Makefile (routines): Add pthread_atfork.
17288 (static-only-routines): Set to pthread_atfork.
17289 (libpthread-routines): Remove pthread_atfork.
17290 (libpthread-static-only-routines): Remove.
17291 (install): Update comment.
17292 (libpthread.so): Do not install libpthread_nonshared.a.
17293 (tests): Do not link with libpthread_nonshared.a.
17294 (generated): Remove libpthread_nonshared.a.
17295 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17296 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17297 with libpthread_nonshared.a.
17298
17299 2018-02-28 Joseph Myers <joseph@codesourcery.com>
17300
17301 [BZ #22902]
17302 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17303 (libc_feholdexcept_setroundf128): New macro.
17304 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17305
17306 [BZ #15105]
17307 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17308 libc_hidden_def.
17309 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17310 * include/inttypes.h: New file.
17311
17312 2018-02-27 Joseph Myers <joseph@codesourcery.com>
17313
17314 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17315 -Os in two more places.
17316
17317 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17318
17319 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17320 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17321 be sorted correctly at the moment because of a bug.
17322
17323 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17324
17325 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17326 treat ñ as a primary different character, sync the collation
17327 for Spanish with CLDR.
17328 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17329 * localedata/Makefile: Add new test files.
17330 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17331 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17332 collation order.
17333 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17334 * localedata/am_ET.UTF-8.in: New test file.
17335 * localedata/az_AZ.UTF-8.in: Likewise.
17336 * localedata/be_BY.UTF-8.in: Likewise.
17337 * localedata/ber_DZ.UTF-8.in: Likewise.
17338 * localedata/ber_MA.UTF-8.in: Likewise.
17339 * localedata/bg_BG.UTF-8.in: Likewise.
17340 * localedata/br_FR.UTF-8.in: Likewise.
17341 * localedata/cmn_TW.UTF-8.in: Likewise.
17342 * localedata/crh_UA.UTF-8.in: Likewise.
17343 * localedata/csb_PL.UTF-8.in: Likewise.
17344 * localedata/cv_RU.UTF-8.in: Likewise.
17345 * localedata/cy_GB.UTF-8.in: Likewise.
17346 * localedata/dz_BT.UTF-8.in: Likewise.
17347 * localedata/eo.UTF-8.in: Likewise.
17348 * localedata/es_ES.UTF-8.in: Likewise.
17349 * localedata/fa_IR.UTF-8.in: Likewise.
17350 * localedata/fi_FI.UTF-8.in: Likewise.
17351 * localedata/fil_PH.UTF-8.in: Likewise.
17352 * localedata/fur_IT.UTF-8.in: Likewise.
17353 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17354 * localedata/ha_NG.UTF-8.in: Likewise.
17355 * localedata/ig_NG.UTF-8.in: Likewise.
17356 * localedata/ik_CA.UTF-8.in: Likewise.
17357 * localedata/kk_KZ.UTF-8.in: Likewise.
17358 * localedata/ku_TR.UTF-8.in: Likewise.
17359 * localedata/ky_KG.UTF-8.in: Likewise.
17360 * localedata/ln_CD.UTF-8.in: Likewise.
17361 * localedata/mi_NZ.UTF-8.in: Likewise.
17362 * localedata/ml_IN.UTF-8.in: Likewise.
17363 * localedata/mn_MN.UTF-8.in: Likewise.
17364 * localedata/mr_IN.UTF-8.in: Likewise.
17365 * localedata/mt_MT.UTF-8.in: Likewise.
17366 * localedata/nb_NO.UTF-8.in: Likewise.
17367 * localedata/om_KE.UTF-8.in: Likewise.
17368 * localedata/os_RU.UTF-8.in: Likewise.
17369 * localedata/ps_AF.UTF-8.in: Likewise.
17370 * localedata/ro_RO.UTF-8.in: Likewise.
17371 * localedata/ru_RU.UTF-8.in: Likewise.
17372 * localedata/sc_IT.UTF-8.in: Likewise.
17373 * localedata/se_NO.UTF-8.in: Likewise.
17374 * localedata/sq_AL.UTF-8.in: Likewise.
17375 * localedata/sv_SE.UTF-8.in: Likewise.
17376 * localedata/szl_PL.UTF-8.in: Likewise.
17377 * localedata/tg_TJ.UTF-8.in: Likewise.
17378 * localedata/tk_TM.UTF-8.in: Likewise.
17379 * localedata/tt_RU.UTF-8.in: Likewise.
17380 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17381 * localedata/ug_CN.UTF-8.in: Likewise.
17382 * localedata/uz_UZ.UTF-8.in: Likewise.
17383 * localedata/vi_VN.UTF-8.in: Likewise.
17384 * localedata/yi_US.UTF-8.in: Likewise.
17385 * localedata/yo_NG.UTF-8.in: Likewise.
17386 * localedata/zh_CN.UTF-8.in: Likewise.
17387 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17388 file and fix bugs in the collation.
17389 * localedata/locales/az_AZ: Likewise.
17390 * localedata/locales/be_BY: Likewise.
17391 * localedata/locales/ber_DZ: Likewise.
17392 * localedata/locales/ber_MA: Likewise.
17393 * localedata/locales/bg_BG: Likewise.
17394 * localedata/locales/br_FR: Likewise.
17395 * localedata/locales/br_FR@euro: Likewise.
17396 * localedata/locales/ca_ES: Likewise.
17397 * localedata/locales/cns11643_stroke: Likewise.
17398 * localedata/locales/crh_UA: Likewise.
17399 * localedata/locales/cs_CZ: Likewise.
17400 * localedata/locales/csb_PL: Likewise.
17401 * localedata/locales/cv_RU: Likewise.
17402 * localedata/locales/cy_GB: Likewise.
17403 * localedata/locales/da_DK: Likewise.
17404 * localedata/locales/dz_BT: Likewise.
17405 * localedata/locales/en_CA: Likewise.
17406 * localedata/locales/eo: Likewise.
17407 * localedata/locales/es_CU: Likewise.
17408 * localedata/locales/es_EC: Likewise.
17409 * localedata/locales/es_ES: Likewise.
17410 * localedata/locales/es_US: Likewise.
17411 * localedata/locales/et_EE: Likewise.
17412 * localedata/locales/fa_IR: Likewise.
17413 * localedata/locales/fi_FI: Likewise.
17414 * localedata/locales/fil_PH: Likewise.
17415 * localedata/locales/fur_IT: Likewise.
17416 * localedata/locales/gez_ER@abegede: Likewise.
17417 * localedata/locales/ha_NG: Likewise.
17418 * localedata/locales/hr_HR: Likewise.
17419 * localedata/locales/hsb_DE: Likewise.
17420 * localedata/locales/hu_HU: Likewise.
17421 * localedata/locales/ig_NG: Likewise.
17422 * localedata/locales/ik_CA: Likewise.
17423 * localedata/locales/is_IS: Likewise.
17424 * localedata/locales/iso14651_t1_pinyin: Likewise.
17425 * localedata/locales/kk_KZ: Likewise.
17426 * localedata/locales/ku_TR: Likewise.
17427 * localedata/locales/ky_KG: Likewise.
17428 * localedata/locales/ln_CD: Likewise.
17429 * localedata/locales/lt_LT: Likewise.
17430 * localedata/locales/lv_LV: Likewise.
17431 * localedata/locales/mi_NZ: Likewise.
17432 * localedata/locales/ml_IN: Likewise.
17433 * localedata/locales/mn_MN: Likewise.
17434 * localedata/locales/mr_IN: Likewise.
17435 * localedata/locales/mt_MT: Likewise.
17436 * localedata/locales/nb_NO: Likewise.
17437 * localedata/locales/om_KE: Likewise.
17438 * localedata/locales/os_RU: Likewise.
17439 * localedata/locales/pl_PL: Likewise.
17440 * localedata/locales/ps_AF: Likewise.
17441 * localedata/locales/ro_RO: Likewise.
17442 * localedata/locales/ru_RU: Likewise.
17443 * localedata/locales/ru_UA: Likewise.
17444 * localedata/locales/sc_IT: Likewise.
17445 * localedata/locales/se_NO: Likewise.
17446 * localedata/locales/si_LK: Likewise.
17447 * localedata/locales/sq_AL: Likewise.
17448 * localedata/locales/sv_FI: Likewise.
17449 * localedata/locales/sv_FI@euro: Likewise.
17450 * localedata/locales/sv_SE: Likewise.
17451 * localedata/locales/szl_PL: Likewise.
17452 * localedata/locales/tg_TJ: Likewise.
17453 * localedata/locales/ti_ER: Likewise.
17454 * localedata/locales/tk_TM: Likewise.
17455 * localedata/locales/tl_PH: Likewise.
17456 * localedata/locales/tr_TR: Likewise.
17457 * localedata/locales/tt_RU: Likewise.
17458 * localedata/locales/tt_RU@iqtelif: Likewise.
17459 * localedata/locales/ug_CN: Likewise.
17460 * localedata/locales/uk_UA: Likewise.
17461 * localedata/locales/uz_UZ: Likewise.
17462 * localedata/locales/uz_UZ@cyrillic: Likewise.
17463 * localedata/locales/vi_VN: Likewise.
17464 * localedata/locales/yi_US: Likewise.
17465 * localedata/locales/yo_NG: Likewise.
17466
17467 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17468
17469 * gen-locales.mk: Make test files which contain @ modifiers in their
17470 name work.
17471 * localedata/gen-locale.sh: Likewise.
17472
17473 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17474
17475 * posix/tst-fnmatch.input: Fix results for range expressions
17476 for non C locales.
17477 * posix/tst-regexloc.c: Do not use a range expression for
17478 de_DE.ISO-8859-1 locale.
17479
17480 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17481
17482 * posix/bug-regex5.c: Fix test case because with the new
17483 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17484 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17485 file.
17486
17487 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17488
17489 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17490 downloaded from ISO, the collation order of @-. and space has changed.
17491 Therefore, this test file needed to be adapted.
17492 * localedata/fr_CA.UTF-8.in: Likewise.
17493 * localedata/fr_FR.UTF-8.in: Likewise.
17494 * localedata/uk_UA.UTF-8.in: Likewise.
17495
17496 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17497
17498 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17499 order of ȥ in the new iso14651_t1_common file.
17500 * localedata/pl_PL.UTF-8.in: Likewise.
17501
17502 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17503
17504 * localedata/locales/iso14651_t1_common: Add sections for various
17505 scripts to the iso14651_t1_common file.
17506
17507 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17508
17509 * localedata/locales/iso14651_t1_common: Use the code point of a
17510 character in the fourth collation level instead of IGNORE for all
17511 entries which have IGNORE on all 4 levels.
17512
17513 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17514
17515 * localedata/locales/iso14651_t1_common: Add some convenient collation
17516 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17517 rules similar to those in CLDR.
17518
17519 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17520
17521 * localedata/locales/iso14651_t1_common: The new version of this
17522 file downloaded from ISO contained several syntax errors which
17523 are fixed by this patch.
17524
17525 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17526
17527 * localedata/locales/iso14651_t1_common: replace all <U.....>
17528 with <U000.....> because glibc understands only 4 digit or 8 digit
17529
17530 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17531
17532 * localedata/locales/iso14651_t1_common: Necessary changes
17533 to make the file downloaded from ISO usable by glibc.
17534
17535 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17536
17537 [BZ #14095]
17538 * localedata/locales/iso14651_t1_common: Update file to
17539 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17540
17541 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17542
17543 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17544 of <nptl/pthreadP.h>
17545 (thread_attr_compare): Move function to...
17546 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
17547 * sysdeps/nptl/timer_routines.h: ... new header.
17548 * sysdeps/mach/hurd/gai_misc.h: New file.
17549
17550 2018-02-26 Joseph Myers <joseph@codesourcery.com>
17551
17552 * string/strcoll_l.c: Include <libc-diag.h>.
17553 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17554 declarations of seq1 and seq2.
17555
17556 [BZ #15105]
17557 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17558 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17559
17560 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17561
17562 [BZ #22433]
17563 [BZ #22807]
17564 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17565 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17566 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17567 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17568 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17569 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17570
17571 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17572
17573 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17574 macros used in __ptrace_request.
17575
17576 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17577
17578 [BZ #22792]
17579 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17580 to $(CC).
17581 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17582 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17583 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17584 <tcb-offsets.h>.
17585
17586 2018-02-23 Joseph Myers <joseph@codesourcery.com>
17587
17588 [BZ #15105]
17589 * ctype/ctype.c (tolower): Use libc_hidden_def.
17590 (toupper): Likewise.
17591 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17592 [!_ISOMAC] (toupper): Likewise.
17593
17594 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17595
17596 * localedata/Makefile: Remove --quiet argument when
17597 installing locales
17598
17599 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17600
17601 [BZ #17438]
17602 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17603 in d_fmt.
17604 * localedata/locales/pt_PT (LC_TIME): likewise
17605
17606 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17607
17608 [BZ #22646]
17609 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17610 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17611 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17612
17613 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17614
17615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17616
17617 * nptl/Makefile (routines): Remove unregister-atfork.
17618 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17619 (fork_handler_alloc): Remove function.
17620 (fork_handlers, fork_handler_init): New variables.
17621 (__fork_lock): Rename to atfork_lock.
17622 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17623 to use a dynamic array to add/remove atfork handlers.
17624 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17625 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17626 Remove declaration.
17627 (fork_handler): Remove next, refcntr, and need_signal member.
17628 (__run_fork_handler_type): New enum.
17629 (__run_fork_handlers): New prototype.
17630 * nptl/register-atfork.c: Remove file.
17631 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17632
17633 * sysdeps/nptl/nptl-signals.h: Move to ...
17634 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17635 comments.
17636 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17637 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17638 unnecessary check for SIGTIMER.
17639 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17640 remove unnecessary removal of SIGTIMER.
17641 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17642 include-signals.h rename.
17643 * nptl/pthreadP.h: Likewise.
17644 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17645 __is_internal_signal instead of __nptl_is_internal_signal.
17646
17647 2018-02-22 Andrew Waterman <andrew@sifive.com>
17648
17649 [BZ # 22884]
17650 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17651 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17652 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17653 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17654
17655 2018-02-22 DJ Delorie <dj@delorie.com>
17656
17657 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17658
17659 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17660
17661 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17662 do_misaligned, not misaligned8.
17663
17664 2018-02-22 Steve Ellcey <sellcey@cavium.com>
17665
17666 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17667 Add memcpy_thunderx2.
17668 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17669 Increment to 4.
17670 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17671 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17672 and IS_THUNDERX2PA checks.
17673 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17674 Use macro to set name appropriately.
17675 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17676 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17677 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17678 New macro.
17679 (IS_THUNDERX2): New macro.
17680
17681 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17682
17683 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17684
17685 2018-02-21 Zack Weinberg <zackw@panix.com>
17686
17687 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17688 Define here, unconditionally.
17689 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17690 * libio/libioP.h: Remove #if 0 blocks.
17691 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17692 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17693 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17694
17695 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17696 Assume weak_alias is always defined.
17697
17698 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17699 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17700 Remove #if 0 and #ifdef TODO blocks.
17701 Assume text_set_element is always defined.
17702
17703 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17704 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17705 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17706
17707 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17708 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17709 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17710 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17711 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17712 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17713 Reformat bit flags for _flags field to make occupancy clearer.
17714 Update commentary.
17715 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17716 Keep definitions consistent with those in libio/libio.h.
17717
17718 * libio/libio.h (_IO_file_flags): Remove macro.
17719 All uses changed to _flags.
17720
17721 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17722 (__HAVE_COLUMN, _IO_BE): Don't define.
17723 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17724 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17725 * libio/libioP.h (EOF): Don't define.
17726 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17727 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17728 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17729 testing _IO_UNIFIED_JUMPTABLES.
17730
17731 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17732 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17733 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17734 (_IO_size_t): Delete; all uses changed to size_t.
17735 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17736 (_IO_off_t): Delete; all uses changed to off_t.
17737 (_IO_off64_t): Delete; all uses changed to off64_t.
17738 (_IO_pid_t): Delete; all uses changed to pid_t.
17739 (_IO_uid_t): Delete; all uses changed to uid_t.
17740 (_IO_wint_t): Delete; all uses changed to wint_t.
17741 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17742 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17743 (_IO_cookie_io_functions_t): Delete; all uses changed to
17744 cookie_io_functions_t.
17745 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17746 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17747 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17748 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17749
17750 * libio/iofopncook.c: Remove unnecessary forward declarations.
17751 * libio/iolibio.h: Correct outdated commentary.
17752 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17753 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17754 Remove unnecessary casts.
17755 * stdio-common/getline.c: Use _IO_getdelim directly.
17756 Don't redefine ssize_t.
17757 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17758 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17759 Remove outdated comments.
17760 * stdio-common/vfscanf.c: Don't redefine va_list.
17761
17762 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17763 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17764 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17765 which are always true, and __cplusplus, which is always false.
17766
17767 2018-02-21 Joseph Myers <joseph@codesourcery.com>
17768
17769 [BZ #15105]
17770 [BZ #19463]
17771 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17772 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17773 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17774 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17775 libc_hidden_proto.
17776 [!_ISOMAC] (putc_unlocked): Likewise.
17777 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17778 define inline if [__USE_EXTERN_INLINES].
17779 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17780 putc_unlocked.
17781
17782 [BZ #15105]
17783 [BZ #19463]
17784 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17785 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17786 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17787 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17788 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17789 getc_unlocked.
17790 * time/tzfile.c (__tzfile_read): Likewise.
17791
17792 2018-02-21 Mike FABIAN <mfabian@redhat.com>
17793
17794 [BZ #22517]
17795 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17796
17797 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17798
17799 * io/fcntl.h: Fix a typo in a comment.
17800
17801 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17802
17803 [BZ #22862]
17804 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17805 define _DEFAULT_SOURCE.
17806 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17807
17808 2018-02-21 Florian Weimer <fweimer@redhat.com>
17809
17810 [BZ #20890]
17811 * elf/cache.c (save_cache): Call fsync on temporary file before
17812 renaming it.
17813 (save_aux_cache): Call fdatasync on temporary file before renaming
17814 it.
17815
17816 2018-02-21 Florian Weimer <fweimer@redhat.com>
17817
17818 [BZ #22787]
17819 * include/caller.h: Remove file.
17820 * elf/dl-caller.c: Likewise.
17821 * elf/Makefile (dl-routines): Remove dl-caller.
17822 (shared-only-routines): Do not add dl-caller.
17823 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17824 __check_caller.
17825 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17826 member.
17827 (dl_open_worker): Do not call __check_caller.
17828 (_dl_open): Do not set caller_dl_open member.
17829 * elf/rtld.c (_rtld_global_ro): Do not initialize
17830 _dl_check_caller member.
17831 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17832 _dl_check_caller member.
17833 (_dl_check_caller): Remove declaration.
17834 * sysdeps/unix/sysv/linux/dl-execstack.c
17835 (_dl_make_stack_executable): Do not call __check_caller.
17836
17837 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17838
17839 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17840 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17841
17842 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17843
17844 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17845 description.
17846
17847 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17848
17849 [BZ #16335]
17850 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17851 of 199606L, 200112L, and 200809L.
17852 (_XOPEN_SOURCE): Document special values of 600 and 700.
17853 (_ISOC11_SOURCE): Document macro.
17854 (_ATFILE_SOURCE): Likewise.
17855 (_FORTIFY_SOURCE): Likewise.
17856
17857 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17858
17859 [BZ #15105]
17860 [BZ #19463]
17861 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17862 and define as weak alias of __ferror_unlocked. Use
17863 libc_hidden_weak.
17864 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17865 libc_hidden_proto.
17866 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17867 function if [__USE_EXTERN_INLINES].
17868 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17869 ferror_unlocked.
17870
17871 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17872
17873 [BZ #6889]
17874 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17875
17876 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17877
17878 [BZ #22818]
17879 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17880 the GLIBC_2.1 version.
17881
17882 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17883
17884 [BZ #21508]
17885 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17886 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17887 intl/tst-gettext-de.po from po/de.po by removing the
17888 POT-Creation-Date line.
17889 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17890 ../po/de.po.
17891 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17892 ../po/de.po.
17893
17894 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17895
17896 * mach/Makefile (headers): Add mach/param.h.
17897 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17898 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17899 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17900 (__ptsname_r): Move implementation to...
17901 (__ptsname_internal): ... new function. Add filling the STP
17902 structure.
17903
17904 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
17905
17906 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17907 idouble to 1 ULP.
17908
17909 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
17910
17911 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17912 syntax.
17913
17914 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17915
17916 * nptl/Makefile (tst-mutex8-ENV): Delete.
17917 * nptl/tst-mutex8.c (check_type):
17918 Add runtime check if mutex will be elided.
17919
17920 2018-02-15 Joseph Myers <joseph@codesourcery.com>
17921
17922 [BZ #20980]
17923 [BZ #21234]
17924 * manual/install.texi (Configuring and compiling): Describe
17925 passing CC and CFLAGS on configure command line, not as
17926 environment variables. Use @code markup on those variables.
17927 Specify what options go in CC and what go in CFLAGS. Note the
17928 requirement to compile with optimization.
17929 * INSTALL: Regenerated.
17930
17931 [BZ #18124]
17932 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17933 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17934 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17935 __sigprocmask instead of sigprocmask.
17936 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17937 Likewise.
17938 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17939 __sigsetjmp and sigprocmask.
17940
17941 [BZ #15105]
17942 * include/argz.h (argz_next): Use libc_hidden_proto.
17943 (__argz_next): Likewise.
17944 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17945 (argz_next): Use libc_hidden_weak.
17946
17947 [BZ #15105]
17948 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17949 libc_hidden_proto.
17950 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17951 libc_hidden_def.
17952
17953 [BZ #15105]
17954 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17955 libc_hidden_proto.
17956 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17957
17958 [BZ #15105]
17959 [BZ #19463]
17960 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17961 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17962 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17963 (__feof_unlocked): New declaration, and inline function if
17964 [__USE_EXTERN_INLINES].
17965 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17966 instead of feof_unlocked.
17967 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17968 * nss/nsswitch.c (nss_parse_file): Likewise.
17969 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17970 Likewise.
17971 * time/getdate.c (__getdate_r): Likewise.
17972 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17973 Define as macro to call __feof_unlocked.
17974
17975 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17976
17977 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17978
17979 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17980
17981 * math/Makefile: Remove mpexp.c and mplog.c
17982 * sysdeps/i386/fpu/mpexp.c: Delete file.
17983 * sysdeps/i386/fpu/mplog.c: Likewise.
17984 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17985 * sysdeps/ia64/fpu/mplog.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17987 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17988 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17989 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17990 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17991 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17992 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17993 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17994 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17995 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17996 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17997 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17998 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17999 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18000 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18001 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18002
18003 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18004
18005 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18006
18007 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18008
18009 * sysdeps/sh/libm-test-ulps: Update.
18010
18011 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18012
18013 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18014 idouble to 1 ULP.
18015
18016 2018-02-12 Zack Weinberg <zackw@panix.com>
18017
18018 [BZ #19239]
18019 * posix/sys/types.h: Don't include sys/sysmacros.h.
18020 * misc/sys/sysmacros.h: Remove the conditional deprecation
18021 warnings for the macros defined by this header.
18022
18023 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18024
18025 * manual/probes.texi: Remove slowexp probes.
18026 * math/Makefile: Remove slowexp.
18027 * sysdeps/generic/math_private.h (__slowexp): Remove.
18028 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18029 document error bounds.
18030 * sysdeps/i386/fpu/slowexp.c: Remove.
18031 * sysdeps/ia64/fpu/slowexp.c: Remove.
18032 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18033 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18034 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18035 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18036 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18037 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18038 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18039 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18040 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18041 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18042 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18043
18044 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18045
18046 [BZ #13932]
18047 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18048 * benchtests/pow-inputs: Update comment for slow path cases.
18049 * manual/probes.texi (slowpow_p10): Delete removed probe.
18050 (slowpow_p10): Likewise.
18051 * math/Makefile: Remove halfulp.c and slowpow.c.
18052 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18053 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18054 (__halfulp): Remove.
18055 (__slowpow): Remove.
18056 * sysdeps/i386/fpu/halfulp.c: Delete file.
18057 * sysdeps/i386/fpu/slowpow.c: Likewise.
18058 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18059 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18061 improve comments and add error analysis.
18062 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18063 (power1): Remove function:
18064 (log1): Remove error argument, add error analysis.
18065 (my_log2): Remove function.
18066 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18067 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18068 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18069 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18070 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18071 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18072 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18073 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18074 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18075 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18076 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18077 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18078 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18079 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18080
18081 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18082
18083 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18084 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18085
18086 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18087
18088 [BZ #22433]
18089 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18090 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18091 and PTRACE_SETHBPREGS.
18092
18093 2018-02-10 Zack Weinberg <zackw@panix.com>
18094
18095 [BZ #22830]
18096 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18097 correctly.
18098 * malloc/tst-malloc-stats-cancellation.c: New test case.
18099 * malloc/Makefile: Add new test case.
18100
18101 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18102
18103 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18104
18105 2018-02-10 Joseph Myers <joseph@codesourcery.com>
18106
18107 * math/Makefile (libm-narrow-fns): Add add.
18108 (libm-test-funcs-narrow): Likewise.
18109 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18110 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18111 * math/gen-auto-libm-tests.c (test_functions): Add add.
18112 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18113 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18114 (NARROW_ADD_TRIVIAL): Likewise.
18115 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18116 macro.
18117 (__daddl): Likewise.
18118 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18119 dadd.
18120 (CFLAGS-nldbl-dadd.c): New variable.
18121 (CFLAGS-nldbl-fadd.c): Likewise.
18122 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18123 __nldbl_daddl.
18124 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18125 prototype.
18126 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18127 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18128 * math/auto-libm-test-in: Add tests of add.
18129 * math/auto-libm-test-out-narrow-add: New generated file.
18130 * math/libm-test-narrow-add.inc: New file.
18131 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18132 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18133 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18134 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18135 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18136 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18145 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18146 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18147 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18148 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18150 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18151 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18153 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18154 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18155 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18156 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18157 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18158 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18159 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18160 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18161 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18162 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18167 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18168 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18169 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18170 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18171 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18172 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18173 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18174 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18175 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18176 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18177
18178 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18179 (f128-pairs): New variable.
18180 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18181 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18182 to CFLAGS.
18183 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18184 Also make tests add $(f128-loader-link) to gnulib-tests.
18185
18186 2018-02-09 DJ Delorie <dj@redhat.com>
18187
18188 [BZ #22827]
18189 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18190 64-bit ELF type for 64-bit ELF objects.
18191
18192 2018-02-09 Joseph Myers <joseph@codesourcery.com>
18193
18194 * math/libm-test-driver.c (snan_tests_arg): New variable.
18195 * math/libm-test-support.h (snan_tests_arg): New declaration.
18196 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18197
18198 * math/Makefile (test-type-pairs): New variable.
18199 (test-type-pairs-f64xf128-yes): Likewise.
18200 (tests): Add test-narrow-macros.
18201 (libm-test-funcs-narrow): New variable.
18202 (libm-test-c-narrow): Likewise.
18203 (generated): Add $(libm-test-c-narrow).
18204 (libm-tests-base-narrow): New variable.
18205 (libm-tests-narrow): Likewise.
18206 (libm-tests): Add $(libm-tests-narrow).
18207 (libm-tests-for-type): Handle $(libm-tests-narrow).
18208 (libm-test-c-narrow-obj): New variable.
18209 ($(libm-test-c-narrow-obj)): New rule.
18210 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18211 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18212 $(o-iterator) to set dependencies and CFLAGS.
18213 * math/gen-auto-libm-tests.c: Document use for narrowing
18214 functions.
18215 (output_for_one_input_case): Take argument NARROW.
18216 (generate_output): Likewise. Update call to
18217 output_for_one_input_case.
18218 (main): Take --narrow option. Update call to generate_output.
18219 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18220 (apply_lit): Update call to _apply_lit.
18221 (apply_arglit): New function.
18222 (parse_args): Handle "a" arguments.
18223 (parse_auto_input): Handle format names using ":".
18224 * math/README.libm-test: Document "a" parameter type.
18225 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18226 (ARG_TYPE_TRUE_MIN): Likewise.
18227 (ARG_TYPE_MAX): Likwise.
18228 (ARG_MIN_EXP): Likewise.
18229 (ARG_MAX_EXP): Likewise.
18230 (ARG_MANT_DIG): Likewise.
18231 (TEST_COND_arg_ibm128): Likewise.
18232 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18233 (TEST_COND_arg_fmt): New macro.
18234 (init_max_error): Update prototype.
18235 * math/libm-test-support.c (test_ibm128): New variable.
18236 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18237 instead of using [TEST_COND_ibm128] conditional.
18238 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18239 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18240 [TEST_NARROW] (TEST_MSG): New definition.
18241 (arg_plus_zero): New macro.
18242 (arg_minus_zero): Likewise.
18243 (arg_plus_infty): Likewise.
18244 (arg_minus_infty): Likewise.
18245 (arg_qnan_value_pl): Likewise.
18246 (arg_qnan_value): Likewise.
18247 (arg_snan_value_pl): Likewise.
18248 (arg_snan_value): Likewise.
18249 (arg_max_value): Likewise.
18250 (arg_min_value): Likewise.
18251 (arg_min_subnorm_value): Likewise.
18252 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18253 (RUN_TEST_LOOP_aa_f): New macro.
18254 (TEST_SUFF): New macro.
18255 (TEST_SUFF_STR): Likewise.
18256 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18257 (TEST_COND_any_ibm128): New macro.
18258 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18259 this_func. Update call to init_max_error.
18260 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18261 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18262 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18263 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18264 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18265 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18266 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18267 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18268 * math/test-math-vector.h (TEST_NARROW): Likewise.
18269 * math/test-arg-double.h: New file.
18270 * math/test-arg-float128.h: Likewise.
18271 * math/test-arg-float32x.h: Likewise.
18272 * math/test-arg-float64.h: Likewise.
18273 * math/test-arg-float64x.h: Likewise.
18274 * math/test-arg-ldouble.h: Likewise.
18275 * math/test-math-narrow.h: Likewise.
18276 * math/test-narrow-macros.c: Likewise.
18277 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18278 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18279 test-narrow-macros-ldbl-64.
18280 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18281
18282 * math/bits/mathcalls-narrow.h: New file.
18283 * include/bits/mathcalls-narrow.h: Likewise.
18284 * math/math-narrow.h: Likewise.
18285 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18286 (__MATHCALL_NARROW_ARGS_2): Likewise.
18287 (__MATHCALL_NARROW_ARGS_3): Likewise.
18288 (__MATHCALL_NARROW_NORMAL): Likewise.
18289 (__MATHCALL_NARROW_REDIR): Likewise.
18290 (__MATHCALL_NARROW): Likewise.
18291 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18292 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18293 defined.
18294 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18295 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18296 (libm-narrow-fns): New variable.
18297 (libm-narrow-types-basic): Likewise.
18298 (libm-narrow-types-ldouble-yes): Likewise.
18299 (libm-narrow-types-float128-yes): Likewise.
18300 (libm-narrow-types-float128-alias-yes): Likewise.
18301 (libm-narrow-types): Likewise.
18302 (libm-routines): Add narrowing functions.
18303 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18304 (libc_feholdexcept_setroundf128): New macro.
18305 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18306 * sysdeps/ieee754/float128/float128_private.h: Include
18307 <math/math-narrow.h>.
18308 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18309 Undefine and redefine.
18310 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18311 (libm_alias_float_ldouble): Undefine and redefine.
18312 (libm_alias_double_ldouble): Likewise.
18313
18314 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18315
18316 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18317
18318 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18319 FPCR/FPSR.
18320
18321 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
18322
18323 * manual/creature.texi: Convert references to gcc.info to gcc.
18324 * manual/stdio.texi: Likewise.
18325 * manual/string.texi: Likewise.
18326
18327 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18328
18329 [BZ #17979]
18330 * posix/bits/types.h (__int_least8_t): New typedef.
18331 (__uint_least8_t): Likewise.
18332 (__int_least16_t): Likewise.
18333 (__uint_least16_t): Likewise.
18334 (__int_least32_t): Likewise.
18335 (__uint_least32_t): Likewise.
18336 (__int_least64_t): Likewise.
18337 (__uint_least64_t): Likewise.
18338 * sysdeps/generic/stdint.h (int_least8_t): Define using
18339 __int_least8_t.
18340 (int_least16_t): Define using __int_least16_t.
18341 (int_least32_t): Define using __int_least32_t.
18342 (int_least64_t): Define using __int_least64_t.
18343 (uint_least8_t): Define using __uint_least8_t.
18344 (uint_least16_t): Define using __uint_least16_t.
18345 (uint_least32_t): Define using __uint_least32_t.
18346 (uint_least64_t): Define using __uint_least64_t.
18347 * wcsmbs/uchar.h: Include <bits/types.h>.
18348 (char16_t): Define using __uint_least16_t conditional only on
18349 [!__USE_ISOCXX11].
18350 (char32_t): Define using __uint_least32_t conditional only on
18351 [!__USE_ISOCXX11].
18352 * wcsmbs/test-char-types.c: New file.
18353 * wcsmbs/Makefile (tests): Add test-char-types.
18354
18355 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18356 version to 4.0.1.
18357
18358 2018-02-07 Zack Weinberg <zackw@panix.com>
18359
18360 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18361 Delete all contents except for definitions of _G_HAVE_MMAP and
18362 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18363 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18364 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18365 change as above.
18366
18367 * libio/libio.h: Don't include bits/_G_config.h here.
18368 Include stddef.h with __need_wchar_t defined. Include
18369 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18370 Define _IO_iconv_t here, directly.
18371 Don't define _IO_HAVE_ST_BLKSIZE.
18372 * libio/libioP.h: Include _G_config.h here. Move include of
18373 shlib-compat.h up with rest of includes. Simplify conditionals
18374 controlling definition of _IO_JUMPS_OFFSET.
18375
18376 * csu/init.c: Remove always-true #if around entire file.
18377 Don't include stdio.h. Set _IO_stdin_used to hardwired
18378 constant 0x20001, and update commentary.
18379 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18380 Replace all uses of _G_va_list with __gnuc_va_list.
18381 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18382 instead of #if _IO_HAVE_ST_BLKSIZE.
18383 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18384 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18385 not #ifdef.
18386
18387 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18388 multiple-include guard to match.
18389 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18390 into this file.
18391 Remove preprocessor conditionals that are always true and/or
18392 redundant to other preprocessor conditionals in the same nest.
18393 Include shlib-compat.h unconditionally.
18394 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18395 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18396 defined after including stdio.h.
18397 Use __BEGIN_DECLS/__END_DECLS.
18398
18399 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18400 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18401 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18402
18403 2018-02-07 Zack Weinberg <zackw@panix.com>
18404
18405 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18406 New single-type headers split from _G_config.h.
18407 * libio/bits/types/cookie_io_functions_t.h
18408 * libio/bits/types/struct_FILE.h
18409 New single-type headers split from libio.h.
18410
18411 * libio/Makefile: Install the above new headers. Don't install
18412 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18413 bits/libio-ldbl.h.
18414 * libio/_G_config.h, libio/libio.h: Delete file.
18415
18416 * libio/bits/libio.h: Remove improper-inclusion guard.
18417 Include stdio.h and don't repeat anything that it does.
18418 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18419 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18420 __io_read_fn as cookie_read_function_t,
18421 __io_write_fn as cookie_write_function_t,
18422 __io_seek_fn as cookie_seek_function_t,
18423 __io_close_fn as cookie_close_function_t,
18424 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18425 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18426 here, in the "compatibility defines" section. Remove an #if 0
18427 block. Use the "body" macros from bits/types/struct_FILE.h to
18428 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18429 and _IO_ferror_unlocked.
18430 Move prototypes of __uflow and __overflow...
18431
18432 * libio/stdio.h: ...here. Don't include bits/libio.h.
18433 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
18434 directly from stdarg.h. Include bits/types/__fpos_t.h,
18435 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18436 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18437 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18438 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18439 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18440 __ssize_t, not _IO_ssize_t. Unconditionally define
18441 BUFSIZ as 8192 and EOF as (-1).
18442
18443 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18444 macros from bits/types/struct_FILE.h instead of _IO_* macros
18445 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18446 instead of _IO_ssize_t.
18447 * libio/bits/stdio2.h: Similarly.
18448
18449 * libio/iolibio.h: Add multiple-include guard.
18450 Include bits/libio.h after stdio.h.
18451 * libio/libioP.h: Add multiple-include guard.
18452 Include stdio.h and bits/libio.h before iolibio.h.
18453
18454 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
18455 * include/bits/types/cookie_io_functions_t.h
18456 * include/bits/types/struct_FILE.h: New wrappers.
18457
18458 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
18459 Get definitions of _G_fpos_t and _G_fpos64_t from
18460 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18461 respectively. Remove improper-inclusion guards.
18462
18463 * conform/data/stdio.h-data: Update expectations of va_list.
18464 * scripts/check-installed-headers.sh: Remove special case for
18465 libio.h and _G_config.h.
18466
18467 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18468
18469 [BZ #15105]
18470 [BZ #19463]
18471 * include/sys/sysmacros.h [!_ISOMAC]
18472 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18473 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18474 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18475 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18476 libc_hidden_proto.
18477 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18478 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18479 Likewise.
18480 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18481 Undefine and redefine to add use __gnu_dev_ prefix.
18482 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18483 Likewise.
18484 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18485 and define as hidden inline function.
18486 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18487 Likewise.
18488 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18489 Likewise.
18490 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18491 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18492 (gnu_dev_minor): Likewise.
18493 (gnu_dev_makedev): Likewise.
18494 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18495 makedev.
18496 * posix/wordexp.c (exec_comm_child): Likewise.
18497 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18498 instead of minor and __gnu_dev_major instead of major.
18499 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18500 __gnu_dev_major instead of major.
18501 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18502 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18503 instead of gnu_dev_minor.
18504 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18505 (SLAVE_P): Likewise.
18506 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18507 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18508 instead of major.
18509
18510 [BZ #21313]
18511 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18512 in another place.
18513 * locale/weightwc.h (findidx): Likewise.
18514
18515 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18516
18517 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18518 (slowlog_inexact): Likewise
18519 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18520 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18521
18522 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18523
18524 [BZ #22797]
18525 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18526 missing second underscore to parameter name.
18527
18528 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18529
18530 [BZ #14508]
18531 [BZ #15512]
18532 [BZ #17082]
18533 [BZ #20530]
18534 * bits/byteswap.h: Update file comment. Do not include
18535 <bits/byteswap-16.h>.
18536 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18537 constant.
18538 (__bswap_16): Define as inline function.
18539 (__bswap_constant_32): Reformat definition.
18540 (__bswap_32): Always define as inline function, not macro, using
18541 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18542 otherwise __bswap_constant_32.
18543 (__bswap_constant_64): Reformat definition. Do not use
18544 __extension__ here.
18545 (__bswap_64): Always define as inline function, not macro. Use
18546 __extension__ on function definition. Use __builtin_bswap64 if
18547 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18548 * string/test-endian-file-scope.c: New file.
18549 * string/test-endian-sign-conversion.c: Likewise.
18550 * string/Makefile (headers): Remove bits/byteswap-16.h.
18551 (tests): Add test-endian-file-scope and
18552 test-endian-sign-conversion.
18553 (CFLAGS-test-endian-sign-conversion.c): New variable.
18554 * bits/byteswap-16.h: Remove file.
18555 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18556 * sysdeps/ia64/bits/byteswap.h: Likewise.
18557 * sysdeps/m68k/bits/byteswap.h: Likewise.
18558 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18559 * sysdeps/s390/bits/byteswap.h: Likewise.
18560 * sysdeps/tile/bits/byteswap.h: Likewise.
18561 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18562 * sysdeps/x86/bits/byteswap.h: Likewise.
18563
18564 [BZ #17721]
18565 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18566 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18567 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18568 199901L] (__restrict): Define to restrict.
18569
18570 [BZ #19667]
18571 * string/testcopy.c: Include <support/support.h>. Do not include
18572 <malloc.h>. Use <support/test-driver.c>.
18573 (main): Rename to do_test. Make static. Use xmalloc instead of
18574 malloc.
18575
18576 [BZ #13575]
18577 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18578 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18579 (SSIZE_MAX): Define to INT_MAX.
18580 * posix/test-ssize-max.c: New file.
18581 * posix/Makefile (tests): Add test-ssize-max.
18582
18583 [BZ #19668]
18584 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18585 <support/support.h>. Do not include <malloc.h>.
18586 (query_auxv): Use xmalloc instead of malloc.
18587
18588 [BZ #14553]
18589 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18590 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18591 instead of loff_t.
18592
18593 2018-02-06 Florian Weimer <fweimer@redhat.com>
18594
18595 [BZ #18023]
18596 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18597 Use scratch_buffer instead of extend_alloca.
18598
18599 2018-02-06 Zack Weinberg <zackw@panix.com>
18600
18601 * libio/stdio.h: Don't define getc or putc as macros.
18602 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18603 not _IO_getc and _IO_putc.
18604
18605 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18606 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18607
18608 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18609
18610 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18611 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18612
18613 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18614
18615 [BZ #14890]
18616 * elf/elf.h (NT_PRFPREG): New macro.
18617 (NT_S390_VXRS_LOW): Likewise.
18618 (NT_S390_VXRS_HIGH): Likewise.
18619 (NT_S390_GS_CB): Likewise.
18620 (NT_S390_GS_BC): Likewise.
18621 (NT_S390_RI_CB): Likewise.
18622
18623 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18624 (MAP_SYNC): New macro.
18625 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18626 Likewise.
18627 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18628 (MAP_SYNC): Likewise.
18629 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18630 (MAP_SYNC): Likewise.
18631 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18632 (MAP_SYNC): Likewise.
18633 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18634 (MAP_SYNC): Likewise.
18635 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18636 (MAP_SYNC): Likewise.
18637 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18638 (MAP_SYNC): Likewise.
18639 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18640 Likewise.
18641 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18642 Likewise.
18643
18644 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18645 (MAP_SHARED_VALIDATE): New macro.
18646 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18647 (MAP_SHARED_VALIDATE): Likewise.
18648
18649 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18650
18651 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18652 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18653 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18654
18655 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18656
18657 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18658 (DT_NUM): Updated to 35.
18659
18660 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18661
18662 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18663 __builtin_expect with __glibc_likely and __glibc_unlikely.
18664 (elf_machine_rela): Likewise.
18665 (elf_machine_lazy_rel): Likewise.
18666
18667 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18668
18669 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
18670 __builtin_expect with __glibc_likely and __glibc_unlikely.
18671 (elf_machine_lazy_rel): Likewise.
18672
18673 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18674
18675 [BZ #22638]
18676 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18677 SHARED.
18678 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
18679
18680 2018-02-05 Andreas Schwab <schwab@suse.de>
18681
18682 [BZ #22761]
18683 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18684 string.
18685
18686 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18687
18688 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18689 not check against PTHREAD_STACK_MIN.
18690
18691 2018-02-02 Sean McKean <smckean83@gmail.com>
18692
18693 [BZ #22735]
18694 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18695
18696 2018-02-02 Florian Weimer <fweimer@redhat.com>
18697
18698 [BZ #22753]
18699 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18700 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18701 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18702 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18703 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18704 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18705 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18706 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18707 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18708 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18709 * misc/tst-preadvwritev2.c (do_test): Call it.
18710 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18711
18712 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18713
18714 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18715
18716 * benchtests/bench-memcmp.c: Print json instead of plain text.
18717
18718 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18719 every test run.
18720
18721 2018-02-01 Joseph Myers <joseph@codesourcery.com>
18722
18723 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18724 version to 4.15.
18725 (s390_sthyi): New syscall.
18726
18727 * sysdeps/generic/ldbl-classify-compat.h: New file.
18728 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18729 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18730 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18731 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18732 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18733 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18734 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18735 <ldbl-classify-compat.h>.
18736 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18737 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18738 <ldbl-classify-compat.h>.
18739 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18740 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18741 <ldbl-classify-compat.h>.
18742 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18743 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18744 <ldbl-classify-compat.h>.
18745 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18747 <ldbl-classify-compat.h>.
18748 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18750 <ldbl-classify-compat.h>.
18751 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18752 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18753 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18754 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18755 * sysdeps/microblaze/math_private.h: Likewise.
18756 * sysdeps/nios2/math_private.h: Likewise.
18757 * sysdeps/sh/math_private.h: Likewise.
18758
18759 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18760 * sysdeps/m68k/coldfire/math_private.h: ... here.
18761 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18762 * sysdeps/tile/math_private.h: Likewise.
18763 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18764 Remove macro.
18765 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18766 Likewise.
18767
18768 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18769 Remove macro.
18770 (libc_fetestexcept): Likewise.
18771 (libc_feupdateenv_test): Likewise.
18772 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18773 (libc_fetestexcept): Likewise.
18774 (libc_feupdateenv_test): Likewise.
18775 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18776 (libc_fetestexcept): Likewise.
18777 (libc_feupdateenv_test): Likewise.
18778 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18779 (libc_fetestexcept): Likewise.
18780 (libc_feupdateenv_test): Likewise.
18781
18782 * sysdeps/generic/math_private.h
18783 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18784 New inline function.
18785 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18786 Likewise.
18787
18788 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18789 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18790 * sysdeps/generic/math_private.h
18791 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18792 inline function.
18793 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18794 Likewise.
18795 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18796 Likewise.
18797 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18798 Likewise.
18799 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18800 Likewise.
18801 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18802 Likewise.
18803 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18804 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18805 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18806 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18807 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18808 (__fegetenv): Likewise.
18809 (fesetenv): Likewise.
18810 (__fesetenv): Likewise.
18811 (feupdateenv): Likewise.
18812 (__feupdateenv): Likewise.
18813 (fegetround): Likewise.
18814 (__fegetround): Likewise.
18815 (fesetround): Likewise.
18816 (__fesetround): Likewise.
18817
18818 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18819 (feraiseexcept): New macro.
18820 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18821 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18822 Remove macro.
18823 (__feraiseexcept): Likewise.
18824 (feclearexcept): Likewise.
18825 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18826 (__feraiseexcept): Likewise.
18827 (feclearexcept): Likewise.
18828 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18829 (__feraiseexcept): Likewise.
18830 (feclearexcept): Likewise.
18831 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18832 (__feraiseexcept): Likewise.
18833 (feclearexcept): Likewise.
18834 (fetestexcept): Likewise.
18835
18836 * sysdeps/m68k/coldfire/math-tests.h: New file.
18837
18838 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18839 * sysdeps/m68k/bits/fenv.h: ... here.
18840 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18841 not define.
18842 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18843 Likewise.
18844 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18845 Likewise.
18846 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18847 Likewise.
18848 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18849 Likewise.
18850 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18851 Define to 0.
18852 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18853 (__FE_UNDEFINED): New enum constant.
18854 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18855 Do not define.
18856 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18857 Likewise.
18858 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18859 Likewise.
18860 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18861 to match generic bits/fenv.h.
18862 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18863 Do not define.
18864
18865 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18866 packed on bits.
18867 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18868 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18869 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18870 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18871
18872 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18873 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18874 Joseph Myers <joseph@codesourcery.com>
18875
18876 [BZ #21314]
18877 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18878 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18879 computation using c.
18880 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18881 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18882 computation using c.
18883
18884 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18885
18886 * version.h (RELEASE): Set to "development".
18887 (VERSION): Set to "2.27.9000".
18888 * NEWS (2.28): New section.
18889
18890 * version.h (RELEASE): Set to "stable".
18891 (VERSION): Set to "2.27".
18892 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18893
18894 * NEWS: Add the list of bugs fixed in 2.27.
18895
18896 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18897
18898 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18899 against PTHREAD_STACK_MIN.
18900
18901 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18902
18903 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18904 New entries.
18905 (Rafal Luzynski, Andreas Schwab): Update.
18906
18907 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18908
18909 [BZ #10871]
18910 * NEWS: List the languages which actually use the alternative
18911 months feature in this release. Also explain that "alt_mon" and
18912 "ab_alt_mon" are optional.
18913
18914 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18915
18916 [BZ #22765]
18917 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18918
18919 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18920
18921 * manual/install.texi (Tools for Compilation): Update the newest
18922 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18923 * INSTALL: Regenerated.
18924
18925 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18926
18927 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18928 instead of __builtin_expect.
18929
18930 2018-01-30 Florian Weimer <fweimer@redhat.com>
18931
18932 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18933 data.
18934 * nss/tst-nss-getpwent.c (do_test): Likewise.
18935
18936 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18937
18938 [BZ #10871]
18939 * localedata/locales/hr_HR (mon): Rename to...
18940 (alt_mon): This.
18941 (mon): Import from CLDR (genitive case).
18942 (d_t_fmt): Update the comment.
18943
18944 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18945
18946 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18947 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18948 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18949
18950 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18951
18952 * mach/Versions: Fix version when __mach_host_self_ was added.
18953 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18954 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18955 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18956 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18957 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18958 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18959 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18960 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18961 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18962 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18963 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18964 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
18965 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18966 || to respect codestyle.
18967 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18968 (do_test_bz20181): Rename accordingly.
18969 * malloc/malloc.c: Include <assert.h>.
18970 (assert): Do not define.
18971 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
18972 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18973 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
18974 * sysdeps/mach/hurd/hp-timing.h: New file.
18975 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
18976
18977 2018-01-29 Darius Rad <darius@bluespec.com>
18978
18979 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18980
18981 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
18982
18983 * sysdeps/init_array/crti.S (.section .init_array): Add
18984 PREINIT_FUNCTION when defined.
18985 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
18986 * config.h.in: Regenerate.
18987 * manual/platform.texi: Add RISC-V documenation for
18988 __riscv_flush_icache.
18989 * sysdeps/riscv/__longjmp.S: New file.
18990 * sysdeps/riscv/backtrace.c: Likewise.
18991 * sysdeps/riscv/bits/endian.h: Likewise.
18992 * sysdeps/riscv/bits/setjmp.h: Likewise.
18993 * sysdeps/riscv/bits/wordsize.h: Likewise.
18994 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18995 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18996 * sysdeps/riscv/dl-trampoline.S: Likewise.
18997 * sysdeps/riscv/gccframe.h: Likewise.
18998 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18999 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19000 * sysdeps/riscv/machine-gmon.h: Likewise.
19001 * sysdeps/riscv/memusage.h: Likewise.
19002 * sysdeps/riscv/setjmp.S: Likewise.
19003 * sysdeps/riscv/sys/asm.h: Likewise.
19004 * sysdeps/riscv/tls-macros.h: Likewise.
19005 * sysdeps/riscv/dl-tls.h: New file.
19006 * sysdeps/riscv/libc-tls.c: Likewise.
19007 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19008 * sysdeps/riscv/nptl/tls.h: Likewise.
19009 * sysdeps/riscv/stackinfo.h: Likewise.
19010 * sysdeps/riscv/bits/fenv.h: New file.
19011 * sysdeps/riscv/e_sqrtl.c: Likewise.
19012 * sysdeps/riscv/fpu_control.h: Likewise.
19013 * sysdeps/riscv/math-tests.h: Likewise.
19014 * sysdeps/riscv/nofpu/Implies: Likewise.
19015 * sysdeps/riscv/sfp-machine.h: Likewise.
19016 * sysdeps/riscv/tininess.h: Likewise.
19017 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19018 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19019 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19020 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19021 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19022 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19023 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19024 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19025 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19026 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19027 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19028 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19029 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19030 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19031 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19032 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19033 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19034 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19035 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19036 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19037 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19038 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19039 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19040 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19041 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19042 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19043 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19044 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19045 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19046 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19047 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19048 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19049 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19050 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19051 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19052 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19053 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19054 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19055 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19056 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19057 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19058 * sysdeps/riscv/rvf/math_private.h: Likewise.
19059 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19060 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19061 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19062 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19063 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19064 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19065 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19066 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19067 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19068 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19069 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19070 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19071 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19072 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19073 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19074 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
19075 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19076 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19077 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19078 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
19079 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19080 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19081 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19082 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19083 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19084 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19085 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19086 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19087 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
19088 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19089 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19090 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19091 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19092 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19093 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19094 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19095 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19096 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19097 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19098 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19099 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19100 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19101 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19102 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19103 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19104 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19105 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19106 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19107 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19108 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19109 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
19110 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19111 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19112 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
19113 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19114 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19115 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19116 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19117 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19118 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19119 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19120 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19121 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19122 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19123 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19124 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19125 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19126 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
19127 * sysdeps/riscv/Implies: New file.
19128 * sysdeps/riscv/Makefile: Likewise.
19129 * sysdeps/riscv/configure: Likewise.
19130 * sysdeps/riscv/configure.ac: Likewise.
19131 * sysdeps/riscv/nptl/Makefile: Likewise.
19132 * sysdeps/riscv/preconfigure: Likewise.
19133 * sysdeps/riscv/rv64/Implies-after: Likewise.
19134 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19135 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19136 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19137 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19138 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19139 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19140 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19141 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19142 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19143 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19144 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
19145 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19146 (Config): Likewise.
19147
19148 2018-01-29 Florian Weimer <fweimer@redhat.com>
19149
19150 [BZ #22701]
19151 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19152 libnsl_hidden_proto.
19153 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19154 libnsl_hidden_proto.
19155 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19156 * nis/Makefile (libnsl-routines): Add nss-default only for
19157 build-obsolete-nsl.
19158 * nis/nis_defaults.c (__nis_default_ttl): Add
19159 libnsl_hidden_nolink_def.
19160 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19161 declaration.
19162 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19163 * nis/ypclnt.c (yp_maplist): Likewise.
19164
19165 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19166
19167 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19168 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19169
19170 2018-01-29 Joseph Myers <joseph@codesourcery.com>
19171
19172 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19173 clean -dxfq for git updates when replacing sources.
19174
19175 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19176 --disable-libcilkrts unconditionally, not just for the final GCC
19177 build for Hurd.
19178
19179 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19180 version to 4.15.
19181
19182 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19183
19184 [BZ #10871]
19185 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19186 case).
19187
19188 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19189
19190 [BZ #10871]
19191 * localedata/locales/be_BY (mon): Rename to...
19192 (alt_mon): This, then synchronize with CLDR (nominative case).
19193 (abmon): Rename to...
19194 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19195 (mon): Import from CLDR (genitive case).
19196 (abmon): Likewise.
19197 * localedata/locales/be_BY@latin (mon): Rename to...
19198 (alt_mon): This.
19199 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19200
19201 * localedata/locales/be_BY@latin (lang_name): Reworded to
19202 "biełaruskaja mova".
19203
19204 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19205
19206 [BZ #10871]
19207 * localedata/locales/el_CY (mon): Renamed to...
19208 (alt_mon): This.
19209 (mon): Import from CLDR (genitive case).
19210 * localedata/locales/el_GR: Likewise.
19211
19212 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19213
19214 [BZ #10871]
19215 * localedata/locales/ru_RU (mon): Rename to...
19216 (alt_mon): This.
19217 (abmon): Rename to...
19218 (ab_alt_mon): This.
19219 (mon): Import from CLDR (genitive case).
19220 (abmon): Copy from the old content except the 5th month which is
19221 now in the genitive case, even when abbreviated.
19222 * localedata/locales/ru_UA: Likewise.
19223 * time/tst-strptime.c (day_tests): Add an actual example of
19224 a difference between %b and %Ob in Russian.
19225
19226 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19227
19228 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
19229 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19230 a `c' variable.
19231 * resolv/res-close.c: Include <stdlib.h>.
19232 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19233 <sys/wait.h>, <time.h>, <sys/uio.h>.
19234 (NOT_CANCEL_H): Add inclusion guard.
19235 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
19236 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19237 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19238 return 0.
19239 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19240 vm_address_t * to ElfW(Addr) * for dl_main parameter.
19241 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19242 instead of void *.
19243 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19244 timer_ptr2id to cast struct timer_node * to void *.
19245 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19246 --disable-libcilkrts to gcc configure.
19247 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19248 and make them the default for now.
19249 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19250 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
19251 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19252 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19253 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19254 MACH_IPC_COMPAT.
19255 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19256 __task_terminate would ever return successfully.
19257 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19258 to global scope.
19259 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19260 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
19261 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19262 critical section to make code simpler and avoid warning.
19263 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19264 critical section to make code simpler and avoid warning.
19265 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19266 const char * instead of char *.
19267 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19268 __hurd_file_name_split, hurd_file_name_split,
19269 __hurd_directory_name_split, hurd_directory_name_split,
19270 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19271 hurd_file_name_path_lookup): Make lookup function parameter take a
19272 const char *name instead of char *name.
19273 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19274 __hurd_directory_name_split): Likewise.
19275 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19276 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
19277 * sysdeps/mach/hurd/check_native.c: New file.
19278 * sysdeps/mach/hurd/check_pf.c: New file.
19279 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19280 (__freeifaddrs): Define macro to freeifaddrs.
19281 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19282 * sysdeps/mach/libmachuser.abilist: New file.
19283 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19284 (do_test_bz20181): Rename accordingly.
19285 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
19286 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19287 <sys/mount.h>.
19288 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19289 version only if __USE_EXTERN_INLINES is defined.
19290 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19291 __hurd_sockfail): Likewise.
19292 (_hurd_fd_get): Always declare functions, and provide inline versions
19293 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19294 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19295 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19296 _hurd_port_set): Always declare functions, and provide inline versions
19297 only if __USE_EXTERN_INLINES and _LIBC are defined and
19298 IS_IN(libc).
19299 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19300 _hurd_critical_section_unlock): Likewise.
19301 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19302 * __hurd_threadvar_location): Likewise.
19303 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19304 _hurd_userlink_clear): Likewise.
19305 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19306 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19307 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19308 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19309 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19310 __spin_lock_locked): Likewise.
19311 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19312 __spin_lock_locked): Likewise.
19313 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19314 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19315 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19316 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19317 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
19318 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19319 _POSIX_NO_TRUNC): Define to 0.
19320 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19321 check size against PTHREAD_STACK_MIN.
19322 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19323 IS_IN(libpthread)]: Include <sigsetops.h>.
19324 * mach/Makefile (user-interfaces): Add mach/gnumach.
19325 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19326 * sysdeps/mach/configure (mach_interface_list): Regenerate.
19327 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19328 instead of invalid -1.
19329 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19330 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19331 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19332 <net/ppp_defs.h>.
19333
19334 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
19335
19336 * hurd/fcntl-internal.h: New file.
19337
19338 2018-01-27 James Clarke <jrtc27@jrtc27.com>
19339
19340 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19341
19342 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19343
19344 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19345
19346 [BZ #22701]
19347 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19348 Build only shared objects.
19349
19350 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19351
19352 * README: Update for hppa.
19353
19354 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19355
19356 * sysdeps/sparc/fpu/libm-test-ulps: Update
19357 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
19358
19359 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19360
19361 Revert:
19362
19363 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19364
19365 [BZ #22563]
19366 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19367 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19368 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19369 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19370 to feature_1.
19371
19372 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19373
19374 [BZ #22563]
19375 * bits/types/__cancel_jmp_buf_tag.h: New file.
19376 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19377 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19378 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19379 * nptl/Makefile (headers): Add
19380 bits/types/__cancel_jmp_buf_tag.h.
19381 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19382 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19383 * sysdeps/nptl/pthread.h: Include
19384 <bits/types/__cancel_jmp_buf_tag.h>.
19385 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19386 __cancel_jmp_buf.
19387 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19388
19389 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19390
19391 [BZ #10871]
19392 * localedata/locales/uk_UA (mon): Renamed to...
19393 (alt_mon): This.
19394 (alt_digits): "0" removed and then renamed to...
19395 (mon): This.
19396 (date_fmt): Definition changed not to use the alternative
19397 digits hack.
19398
19399 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
19400
19401 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19402 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19403 * elf/elf.h (EF_RISCV_RVC): New define.
19404 (EF_RISCV_FLOAT_ABI): Likewise.
19405 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19406 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19407 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19408 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19409 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19410 define.
19411 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19412
19413 2018-01-25 Andreas Schwab <schwab@suse.de>
19414
19415 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19416 single quotes.
19417 * sysdeps/gnu/configure: Regenerate.
19418 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19419 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19421 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19422 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19423 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19424 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19425 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19426
19427 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19428
19429 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
19430 URL, and run autoconf, make it the default for now.
19431
19432 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19433
19434 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19435 soft-float ColdFire configuration.
19436
19437 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19438 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19439 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19440
19441 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19442 MicroBlaze file.
19443
19444 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19445 ....
19446 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19447 ... here.
19448 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19449 New file.
19450
19451 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19452 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19453 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19454 file.
19455
19456 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19457
19458 [BZ #22742]
19459 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19460 Rename to __reserved and add comment.
19461 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19462 Rename to __reserved.
19463
19464 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19465
19466 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19467 i686-gnu configurations.
19468 (Context.run_builds): Include mig, gnumach and hurd in components
19469 considered.
19470 (Context.checkout): Add mig, gnumach and hurd to components.
19471 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19472 hurd.
19473 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19474 (Config.build): Install gnumach headers, build mig and install
19475 hurd headers for 'gnu' OS.
19476 (Config.install_gnumach_headers): New function.
19477 (Config.install_hurd_headers): Likewise.
19478 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19479 when building for 'gnu' OS.
19480
19481 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
19482
19483 * manual/tunables.texi (Hardware Capability Tunables): Fix
19484 spelling.
19485
19486 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
19487
19488 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19489 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19490 (ALTMON_11, ALTMON_12): Improve documentation.
19491 * manual/time.texi (strftime): Likewise.
19492
19493 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19494
19495 [BZ #10871]
19496 * localedata/locales/pl_PL: Alternative month names added,
19497 primary month names are genitive now.
19498 * time/tst-strptime.c (day_tests): Actually use a genitive case
19499 of a month name in Polish language.
19500
19501 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19502
19503 [BZ #10871]
19504 * manual/locale.texi: Document ALTMON_1..12 constants for
19505 nl_langinfo. Specify when to use ALTMON instead of MON.
19506 * manual/time.texi (strftime, strptime): Document GNU extension
19507 permitting O modifier with %B and %b. Specify when to use
19508 %OB instead of %B.
19509
19510 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19511
19512 [BZ #10871]
19513 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19514 names, define them as the same as abbreviated month names explicitly.
19515 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19516 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19517 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19518 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19519 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19520 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19521 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19522 _NL_WABALTMON_12): New enum constants.
19523 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19524 wab_alt_mon, and ab_alt_mon_defined members.
19525 (time_output): Output ab_alt_mon and wab_alt_mon members.
19526 (time_read): Read them, initialize them as copies of abmon and wabmon
19527 respectively if they are missing, initialize ab_alt_mon_defined.
19528 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19529 * locale/programs/locfile-kw.h: Regenerate.
19530 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19531 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19532 and ru_RU.UTF-8.
19533 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19534 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19535 (__strftime_internal): Handle %Ob and %Oh formats.
19536 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19537 (__strptime_internal): Handle %Ob and %Oh formats.
19538 * time/tst-strptime.c (day_tests): Add more tests to parse different
19539 forms of month names including the new %Ob format specifier.
19540
19541 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19542
19543 [BZ #10871]
19544 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19545 define them as the same as primary full month names explicitly.
19546 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19547 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19548 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19549 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19550 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19551 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19552 _NL_WALTMON_12): New enum constants.
19553 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19554 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19555 macros.
19556 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19557 walt_mon, and alt_mon_defined members.
19558 (time_output): Output alt_mon and walt_mon members.
19559 (time_read): Read them, initialize them as copies of mon and wmon
19560 respectively if they are missing, initialize alt_mon_defined.
19561 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19562 * locale/programs/locfile-kw.h: Regenerate.
19563 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19564 * localedata/tst-langinfo.c (map): Add tests for the new constants
19565 ALTMON_1 .. ALTMON_12.
19566 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19567 and pl_PL.UTF-8.
19568 * time/strftime_l.c (f_altmonth): New macro.
19569 (__strftime_internal): Handle %OB format.
19570 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19571 (__strptime_internal): Handle %OB format.
19572 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19573 of month names including the new %OB format specifier.
19574
19575 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19576
19577 [BZ #22685]
19578 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19579 from ABORT_TRANSACTION.
19580 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19581 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19582 ABORT_TRANSACTION_IMPL): Likewise.
19583 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19584 Linux code, but remove the code that aborts transactions.
19585
19586 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19587
19588 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19589
19590 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19591
19592 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19593 in date: "2004-14-09" should be "2004-09-14".
19594 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19595 "2003-15-09" should be "2003-09-15".
19596
19597 2018-01-18 Arjun Shankar <arjun@redhat.com>
19598
19599 [BZ #22343]
19600 [BZ #22774]
19601 CVE-2018-6485
19602 CVE-2018-6551
19603 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19604 after padding.
19605 (_int_memalign): check for integer overflow before calling
19606 _int_malloc.
19607 * malloc/tst-malloc-too-large.c: New test.
19608 * malloc/Makefile: Add tst-malloc-too-large.
19609
19610 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19611
19612 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19613 in date: "2017-24-07" should be "2017-07-24".
19614 * localedata/locales/mai_IN: Likewise.
19615 * localedata/locales/mai_NP: Likewise.
19616
19617 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19618
19619 * po/ru.po: Update translations.
19620
19621 2018-01-17 Joseph Myers <joseph@codesourcery.com>
19622
19623 [BZ #22719]
19624 * sysdeps/hppa/backtrace.c: New file.
19625
19626 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19627
19628 [BZ #22715]
19629 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19630 align La_x86_64_retval to VEC_SIZE.
19631
19632 2018-01-16 Joseph Myers <joseph@codesourcery.com>
19633
19634 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19635 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19636
19637 2018-01-16 Florian Weimer <fweimer@redhat.com>
19638
19639 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19640 Move tst-thread-exit-clobber ...
19641 [$(CXX)] (tests-unsupported): ... to here.
19642
19643 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19644
19645 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19646 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19647 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19648 (_dl_aarch64_cap_flags): Update.
19649 (_DL_HWCAP_COUNT): Update.
19650
19651 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19652
19653 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19654 (_DL_HWCAP_LAST): Remove.
19655 (_DL_HWCAP_COUNT): Move to ...
19656 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19657 (_DL_HWCAP_COUNT): ... here.
19658
19659 2018-01-16 Florian Weimer <fweimer@redhat.com>
19660
19661 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19662 mode with GNU extensions.
19663
19664 2018-01-15 Alan Hayward <alan.hayward@arm.com>
19665
19666 * elf/elf.h (NT_ARM_SVE): Define.
19667
19668 2018-01-15 Florian Weimer <fweimer@redhat.com>
19669
19670 [BZ #22636]
19671 * nptl/tst-minstack-throw.cc: New file.
19672 * nptl/Makefile (tests): Add tst-minstack-throw.
19673 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19674 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19675
19676 2018-01-15 Joseph Myers <joseph@codesourcery.com>
19677
19678 * scripts/build-many-glibcs.py (Context.checkout): Default
19679 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19680 version to 1.1.0.
19681
19682 2018-01-13 Carlos O'Donell <carlos@redhat.com>
19683
19684 [BZ #22707]
19685 * elf/elf.h (DF_1_STUB): Define.
19686 (DF_1_PIE): Define.
19687
19688 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19689
19690 [BZ #22697]
19691 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19692 Do not add 0.5 to integer or out-of-range arguments.
19693
19694 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19695
19696 * po/bg.po: Update translations.
19697 * po/cs.po: Likewise.
19698 * po/de.po: Likewise.
19699 * po/ko.po: Likewise.
19700 * po/pl.po: Likewise.
19701 * po/sv.po: Likewise.
19702 * po/uk.po: Likewise.
19703 * po/vi.po: Likewise.
19704
19705 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19706
19707 * aarch64/start.S (_start): Use __wrap_main.
19708 (__wrap_main): New local symbol.
19709
19710 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19711
19712 [BZ #22679]
19713 CVE-2018-1000001
19714 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19715 generic_getcwd if the path returned by getcwd syscall is not absolute.
19716 * io/tst-getcwd-abspath.c: New test.
19717 * io/Makefile (tests): Add tst-getcwd-abspath.
19718
19719 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19720
19721 * malloc/malloc.c (malloc_consolidate): Add size check.
19722
19723 2018-01-12 Florian Weimer <fweimer@redhat.com>
19724
19725 * support/write_message.c (write_message): Preserve errno.
19726 * support/check.c (print_failure): Likewise.
19727 * support/support_test_verify_impl.c (support_test_verify_impl):
19728 Likewise.
19729 * support/support_test_compare_failure.c
19730 (support_test_compare_failure): Likewise.
19731
19732 2018-01-12 Florian Weimer <fweimer@redhat.com>
19733
19734 [BZ #22701]
19735 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19736 Prevent installation of libnsl.so.
19737 (libnsl-inhibit-o): Do not build (or install) static libraries.
19738
19739 2018-01-12 Egmont Koblinger <egmont@gmail.com>
19740
19741 [BZ #22657]
19742 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19743 before the day number which may produce a double space.
19744 (date_fmt): Likewise.
19745
19746 2018-01-12 Joseph Myers <joseph@codesourcery.com>
19747
19748 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19749 instead of fegetenv.
19750
19751 2018-01-11 Joseph Myers <joseph@codesourcery.com>
19752
19753 [BZ #22702]
19754 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19755 comment to say exceptions are discarded.
19756 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19757 __fegetenv.
19758 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19759 be enabled.
19760
19761 2018-01-11 Florian Weimer <fweimer@redhat.com>
19762
19763 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19764 and error message.
19765
19766 2018-01-11 Florian Weimer <fweimer@redhat.com>
19767
19768 [BZ #22636]
19769 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19770 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19771
19772 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19773
19774 [BZ #22693]
19775 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19776 negative arguments in test for NaN or infinity argument.
19777
19778 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19779
19780 * po/libc.pot: Regenerate.
19781
19782 2018-01-10 Florian Weimer <fweimer@redhat.com>
19783
19784 [BZ #22636]
19785 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19786 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19787
19788 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19789
19790 * hurd/hurd/fd.h: Include <fcntl.h>
19791 (__hurd_at_flags): New function.
19792 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19793 with call to __hurd_at_flags.
19794 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19795 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19796 __faccessat
19797 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19798 (__access_noerrno): Use __faccessat_common instead of access_common.
19799 (__access): Likewise.
19800 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19801 with a call to __faccessat.
19802 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19803 (__faccessat_common): ... this. Move implementation of __access into it when
19804 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19805 reauthenticate_cwdir_at helper to implement AT mechanism.
19806 (__faccessat_noerrno): New function, just calls __faccessat_common.
19807 (__faccessat): New function, just calls __faccessat_common.
19808 (faccessat): Define weak alias.
19809
19810 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19811
19812 [BZ #22691]
19813 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19814 (CFLAGS-s_fmaxmagl.c): New variable.
19815 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19816
19817 [BZ #22690]
19818 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19819 long int for arguments of possibly overflowing addition or
19820 subtraction.
19821 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19822
19823 2018-01-09 Joseph Myers <joseph@codesourcery.com>
19824
19825 [BZ #22688]
19826 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19827 (CFLAGS-e_remainderl.c): New variable.
19828
19829 [BZ #22687]
19830 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19831 variable.
19832 (CFLAGS-s_cacoshl.c): Likewise.
19833 (CFLAGS-s_casinhl.c): Likewise.
19834 (CFLAGS-s_catanl.c): Likewise.
19835 (CFLAGS-s_catanhl.c): Likewise.
19836 (CFLAGS-s_cexpl.c): Likewise.
19837 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19838 (CFLAGS-s_csinhl.c): Likewise.
19839 (CFLAGS-s_clogl.c): Likewise.
19840 (CFLAGS-s_clog10l.c): Likewise.
19841 (CFLAGS-s_csinl.c): Likewise.
19842 (CFLAGS-s_csqrtl.c): Likewise.
19843
19844 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19845 2017-01-09 Svante Signell <svante.signell@gmail.com>
19846
19847 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19848 (_hurd_exec_paths): New function.
19849 * hurd/hurd.h (_hurd_exec): Deprecate function.
19850 (_hurd_exec_paths): Declare function.
19851 * hurd/Versions: Export _hurd_exec_paths.
19852 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19853 (__execve): Use __getcwd to build absolute path, and use
19854 _hurd_exec_paths instead of _hurd_exec.
19855 * sysdeps/mach/hurd/spawni.c: Likewise.
19856 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19857 _hurd_exec.
19858
19859 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19860
19861 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19862 test instead of failing in case of ENOENT returned by posix_openpt.
19863
19864 2018-01-08 Florian Weimer <fweimer@redhat.com>
19865
19866 resolv: Support binary labels in test framework.
19867 * support/resolv_test.c (struct to_be_freed): Remove.
19868 (struct compressed_name): New.
19869 (allocate_compressed_name, ascii_tolower)
19870 (compare_compressed_name): New functions.
19871 (struct resolv_response_builder): Update type of
19872 compression_offsets for use with tsearch. Rempve to_be_freed.
19873 (response_push_pointer_to_free): Remove function.
19874 (resolv_response_add_name): Rewrite using struct compressed_name
19875 and tsearch instead of hsearch_r.
19876 (response_builder_allocate): Remove initialization of
19877 compression_offsets.
19878 (response_builder_free): Update for removal of to_be_freed. Use
19879 tdestroy instead of hdestroy_r.
19880 * resolv/Makefile (tests): Add tst-resolv-binary.
19881 (tst-resolv-binary): Link with -lresolv -lpthread.
19882
19883 2018-01-08 Florian Weimer <fweimer@redhat.com>
19884
19885 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19886 time. Pass positive flag instead of negative flag to
19887 support_test_compare_failure.
19888 (support_test_compare_failure): Change negative parameter to
19889 positive.
19890 * support/support_test_compare_failure.c (report)
19891 (support_test_compare_failure): Likewise.
19892 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19893 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19894
19895 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19896
19897 [BZ #22637]
19898 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19899 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19900 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19901 stacksize.
19902 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19903
19904 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19905
19906 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19907 Add s_sincosf-sse2 and s_sincosf-fma.
19908 (CFLAGS-s_sincosf-fma.c): New.
19909 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19910 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19911 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19912 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19913 __sincosf is defined.
19914
19915 2018-01-08 Florian Weimer <fweimer@redhat.com>
19916
19917 * nptl/tst-thread-exit-clobber.cc: New file.
19918 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19919 C++11 mode.
19920 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19921 (tests): Add tst-thread-exit-clobber.
19922 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19923
19924 2018-01-08 Florian Weimer <fweimer@redhat.com>
19925
19926 * support/check.h (support_static_assert): Define.
19927 (TEST_COMPARE): Use it.
19928
19929 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19930
19931 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19932 [!__RLIM_T_MATCHES_RLIM64_T]
19933 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19934 __getrlimit64. Add libc_hidden_weak.
19935
19936 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
19937
19938 * elf/elf.h (R_RISCV_NONE): New define.
19939 (R_RISCV_32): Likewise.
19940 (R_RISCV_64): Likewise.
19941 (R_RISCV_RELATIVE): Likewise.
19942 (R_RISCV_COPY): Likewise.
19943 (R_RISCV_JUMP_SLOT): Likewise.
19944 (R_RISCV_TLS_DTPMOD32): Likewise.
19945 (R_RISCV_TLS_DTPMOD64): Likewise.
19946 (R_RISCV_TLS_DTPREL32): Likewise.
19947 (R_RISCV_TLS_DTPREL64): Likewise.
19948 (R_RISCV_TLS_TPREL32): Likewise.
19949 (R_RISCV_TLS_TPREL64): Likewise.
19950 * Makerules (make-link-multidir): Make directories before linking into
19951 them.
19952 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19953 define.
19954 (VDSO_HASH_LINUX_4_15): Likewise.
19955 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19956 in subdirectories of lib.
19957 * nptl/Makefile (/librt.so): Always depend on
19958 "$(shared-thread-library)".
19959
19960 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19961
19962 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
19963 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19964 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19965 (___tls_get_addr).
19966 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
19967 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19968 "-O2 -march=i686".
19969 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
19970 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19971 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19972 * sysdeps/gnu/glob-lstat-compat.c: New file.
19973 * sysdeps/gnu/glob64-lstat-compat.c: New file.
19974 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
19975
19976 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19977
19978 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19979 Reserve 16 chars to reloc_addr before calling _itoa_word.
19980
19981 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19982
19983 [BZ #22678]
19984 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19985 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19986
19987 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19988 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19989
19990 * resource/tst-getrlimit.c: Add copyright header.
19991
19992 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19993 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19994
19995 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19996 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19997 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19998 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19999 instead.
20000 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20001 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20002 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20003 RLIM64_INFINITY): Fix values to match the kernel ones.
20004 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20005 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20006 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20007 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20008 getrlimit64@@GLIBC_2_27.
20009 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20010 and setrlimit64.
20011 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20012 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20013 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20014 setrlimit, getrlimit64 and setrlimit64.
20015
20016 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20017
20018 [BZ #22648]
20019 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20020 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20021
20022 2018-01-04 Joseph Myers <joseph@codesourcery.com>
20023
20024 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20025 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20026 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20027
20028 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20029
20030 [BZ #15479]
20031 [BZ #22666]
20032 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20033 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20034
20035 [BZ #15479]
20036 [BZ #22665]
20037 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20038 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20039 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20040 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20041
20042 2018-01-04 Florian Weimer <fweimer@redhat.com>
20043
20044 [BZ #22667]
20045 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20046 Align the stack before calling exit.
20047 * stdlib/tst-makecontext-align.c: New file.
20048 * stdlib/Makefile (tests): Add tst-makecontext-align.
20049
20050 2018-01-04 Florian Weimer <fweimer@redhat.com>
20051
20052 Add support for calling dlvsym from libc.so.
20053 * include/dlfcn.h (__libc_dlvsym): Declare.
20054 * elf/Makefile (tests-static-internal): Add
20055 tst-libc_dlvsym-static.
20056 (tests-internal): Add tst-libc_dlvsym.
20057 (modules-names): Add tst-libc_dlvsym-dso.
20058 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20059 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20060 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20061 object tst-libc_dlvsym-dso.so needs to be built before running
20062 these tests.
20063 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20064 * elf/Versions: Export __libc_dlvsym.
20065 * elf/dl-libc.c (struct do_dlvsym_args): New.
20066 (do_dlvsym, __libc_dlvsym): New functions.
20067 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20068 (_dl_open_hook2): New variable.
20069 (__libc_register_dl_open_hook): Set it.
20070 * elf/tst-libc_dlvsym-dso.c: New file.
20071 * elf/tst-libc_dlvsym-static.c: Likewise.
20072 * elf/tst-libc_dlvsym.c: Likewise.
20073 * elf/tst-libc_dlvsym.h: Likewise.
20074
20075 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20076
20077 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20078 include <sys/mount.h>.
20079
20080 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20081
20082 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20083 Add __NO_MATH_ERRNO__ check.
20084
20085 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20086
20087 * sysdeps/mips/mips32/libm-test-ulps: Update.
20088 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20089
20090 2018-01-02 Florian Weimer <fweimer@redhat.com>
20091
20092 * misc/tst-pselect.c: Add copyright header.
20093
20094 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20095
20096 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20097 comment.
20098 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20099 comment.
20100 (settrlimit): Rename into setrlimit.
20101 (__sttrlimit): Rename into __setrlimit.
20102
20103 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20104 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20105 never defined in that case.
20106
20107 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20108
20109 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20110
20111 * sysdeps/arm/libm-test-ulps: Update.
20112
20113 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20114 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20115
20116 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20117
20118 * NEWS: Add cosf and sincosf to list of optimized functions.
20119
20120 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20121
20122 [BZ #22660]
20123 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20124 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20125 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20126 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20127
20128 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20129
20130 [BZ #22433]
20131 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20132
20133 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20134 making a copy of it.
20135
20136 2018-01-01 Joseph Myers <joseph@codesourcery.com>
20137
20138 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20139 trailing whitespace removed.
20140 * scripts/config.guess: Update to version 2018-01-01.
20141 * scripts/config.sub: Update to version 2018-01-01.
20142 * scripts/move-if-change: Update from gnulib.
20143
20144 * NEWS: Update copyright dates.
20145 * catgets/gencat.c (print_version): Likewise.
20146 * csu/version.c (banner): Likewise.
20147 * debug/catchsegv.sh: Likewise.
20148 * debug/pcprofiledump.c (print_version): Likewise.
20149 * debug/xtrace.sh (do_version): Likewise.
20150 * elf/ldconfig.c (print_version): Likewise.
20151 * elf/ldd.bash.in: Likewise.
20152 * elf/pldd.c (print_version): Likewise.
20153 * elf/sotruss.sh: Likewise.
20154 * elf/sprof.c (print_version): Likewise.
20155 * iconv/iconv_prog.c (print_version): Likewise.
20156 * iconv/iconvconfig.c (print_version): Likewise.
20157 * locale/programs/locale.c (print_version): Likewise.
20158 * locale/programs/localedef.c (print_version): Likewise.
20159 * login/programs/pt_chown.c (print_version): Likewise.
20160 * malloc/memusage.sh (do_version): Likewise.
20161 * malloc/memusagestat.c (print_version): Likewise.
20162 * malloc/mtrace.pl: Likewise.
20163 * manual/libc.texinfo: Likewise.
20164 * nptl/version.c (banner): Likewise.
20165 * nscd/nscd.c (print_version): Likewise.
20166 * nss/getent.c (print_version): Likewise.
20167 * nss/makedb.c (print_version): Likewise.
20168 * posix/getconf.c (main): Likewise.
20169 * scripts/test-installation.pl: Likewise.
20170 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20171
20172 * All files with FSF copyright notices: Update copyright dates
20173 using scripts/update-copyrights.
20174 * locale/programs/charmap-kw.h: Regenerated.
20175 * locale/programs/locfile-kw.h: Likewise.
20176
20177 2017-12-31 Zack Weinberg <zackw@panix.com>
20178
20179 * libio/bits/libio-ldbl.h: Correct check for improper
20180 inclusion. Add own multiple include guard.
20181
20182 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20183 Dmitry V. Levin <ldv@altlinux.org>
20184
20185 [BZ #22625]
20186 CVE-2017-16997
20187 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20188 string token expansion. Check for NULL pointer or empty string possibly
20189 returned by expand_dynamic_string_token.
20190 (decompose_rpath): Check for empty path after dynamic string
20191 token expansion.
20192
20193 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20194
20195 [BZ #22433]
20196 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20197
20198 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20199 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20200 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20201 and PTRACE_SYSCALL.
20202 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20203 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20204 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20205 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20206 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20207 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20208
20209 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20210 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20211 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20212 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20214 bits/ptrace-shared.h.
20215 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20216 <bits/ptrace-shared.h>.
20217 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20218 __ptrace_peeksiginfo_flags, ptrace): Remove.
20219 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20220 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20221 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20222 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20223 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20224
20225 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20226
20227 [BZ #17804]
20228 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20229 end of the loop. Improve comments.
20230
20231 2017-12-29 Zack Weinberg <zackw@panix.com>
20232
20233 [BZ #22615]
20234 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20235 might be set on success.
20236
20237 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20238
20239 [BZ #22611]
20240 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20241 is unchanged on success.
20242
20243 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20244
20245 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20246 updated.
20247 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20248 expand_dynamic_string_token): Likewise.
20249 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20250 is_path argument.
20251
20252 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20253 contains ':'.
20254
20255 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20256 is set and name contains ':', and all code depending on these checks.
20257
20258 2017-12-24 Zack Weinberg <zackw@panix.com>
20259
20260 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20261 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20262 respectively.
20263 * libio/libio.h: Rename the original version of this file to
20264 libio/bits/libio.h. Error out if not included by stdio.h or the
20265 stub libio.h.
20266 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20267 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20268 if not included by bits/libio.h or the stub _G_config.h.
20269 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20270 sysdeps/unix/sysv/linux/bits. Error out if not included by
20271 bits/libio.h or the stub _G_config.h.
20272 * libio/stdio.h: Include bits/libio.h, not libio.h.
20273 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20274 well as libio.h and _G_config.h.
20275
20276 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20277 * libio/strfile.h, stdio-common/vfscanf.c
20278 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20279 Include stdio.h, not _G_config.h nor libio.h.
20280 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20281 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20282
20283 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20284
20285 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20286
20287 [BZ #22347]
20288 * stdlib/getrandom.c (getrandom): Fix comment.
20289 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20290
20291 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
20292
20293 [BZ #21161]
20294 * manual/arith.texi (strtoul): Fix a typo.
20295
20296 [BZ #22596]
20297 * manual/arith.texi (finite): Fix the description of the return
20298 value.
20299
20300 2017-12-22 Eric Blake <ebb9@byu.net>
20301
20302 Avoid gcc warnings on cygwin
20303 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20304 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20305 Avoid unused variable.
20306
20307 2017-12-22 Florian Weimer <fweimer@redhat.com>
20308
20309 * io/Makefile (routines): Add copy_file_range.
20310 (tests): Add tst-copy_file_range.
20311 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20312 * io/Versions (GLIBC_2.27): Export copy_file_range.
20313 * io/copy_file_range-compat.c: New file.
20314 * io/copy_file_range.c: Likewise.
20315 * io/tst-copy_file_range-compat.c: Likewise.
20316 * io/tst-copy_file_range.c: Likewise.
20317 * manual/llio.texi (Copying File Data): New section.
20318 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20319 * support/Makefile (libsupport-routines): Add support-xfstat,
20320 xftruncate, xlseek.
20321 * support/support-xfstat.c: New file.
20322 * support/xftruncate.c: Likewise.
20323 * support/xlseek.c: Likewise.
20324 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20325 * sysdeps/unix/sysv/linux/**.abilist: Update.
20326 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20327
20328 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20329
20330 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20331 disable-multi-arch variant to aarch64-linux-gnu.
20332
20333 2017-12-20 Joseph Myers <joseph@codesourcery.com>
20334
20335 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20336 trailing whitespace removed.
20337 * scripts/config.guess: Update to version 2017-12-17.
20338 * scripts/config.sub: Update to version 2017-11-23.
20339 * scripts/install-sh: Update to version 2017-09-23.17.
20340 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20341
20342 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20343
20344 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20345 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20346 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20347 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20348 * sysdeps/tile/crtn.S: Likewise.
20349 * sysdeps/tile/dl-start.S (_start): Likewise.
20350 * sysdeps/tile/dl-trampoline.S: Likewise.
20351 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20352 * sysdeps/tile/start.S (_start): Likewise.
20353 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20354 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20355 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20356 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20357 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20358 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20359 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20360
20361 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20362 comment.
20363 * sysdeps/tile/preconfigure: Remove tilegx folder.
20364 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20365 * sysdeps/tile/Implies: ... here.
20366 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20367 * sysdeps/tile/Makefile: ... here.
20368 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20369 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20370 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20371 * sysdeps/tile/bits/wordsize.h: ... here.
20372 * sysdeps/tile/tilegx/*: Move to ...
20373 * sysdeps/tile/*: ... here.
20374 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20375 * sysdeps/tile/tilegx32/Implies: ... here.
20376 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20377 * sysdeps/tile/tilegx64/Implies: ... here.
20378 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20379 to ...
20380 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20381 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20382 * sysdeps/unix/sysv/linux/tile/*: ... here.
20383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20384 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20386 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20387
20388 * README: Remove tilepro-*-linux-gnu from supported architecture.
20389 * scripts/build-many-glibcs.py: Likewise.
20390 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20391 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20392 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20393 elf_machine_matches_host, elf_machine_dynamic,
20394 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20395 howto, elf_machine_rela): Likewise.
20396 * sysdeps/tile/dl-start.S (_start): Likewise.
20397 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20398 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20399 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20400 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20401 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20402 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20403 Likewise.
20404 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20405 * sysdeps/tile/preconfigure: Likewise.
20406 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20407 POINTER_CHK_GUARD): Likewise.
20408 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20409 * sysdeps/tile/start.S (_start): Likewise.
20410 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20411 Likewise.
20412 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20413 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20414 CMOVNEZ): Remove.
20415 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20416 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20417 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20418 Likewise.
20419 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20420 * sysdeps/tile/tilepro/Implies: Remove file.
20421 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20422 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20423 * sysdeps/tile/tilepro/memchr.c: Likewise.
20424 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20425 * sysdeps/tile/tilepro/memset.c: Likewise.
20426 * sysdeps/tile/tilepro/memusage.h: Likewise.
20427 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20428 * sysdeps/tile/tilepro/strchr.c: Likewise.
20429 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20430 * sysdeps/tile/tilepro/strlen.c: Likewise.
20431 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20432 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20433 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20434 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20435 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20436 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20437 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20438 Likewise.
20439 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20440 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20441 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20442 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20443 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20444 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20445 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20446 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20447 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20448 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20449 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20450 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20451 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20452 tilepro mention in comment.
20453
20454 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20455 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20456 * nptl/pthread_join_common.c: New file: common function used on
20457 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20458 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20459 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20460 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20461 (cleanup): Move definition to pthread_join_common.c.
20462 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20463 Remove superflous checks.
20464 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20465 Likewise.
20466
20467 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20468
20469 * sysdeps/aarch64/libm-test-ulps: Update.
20470
20471 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20472
20473 * sysdeps/aarch64/memset.S (MEMSET): Define.
20474
20475 2017-12-20 Florian Weimer <fweimer@redhat.com>
20476
20477 [BZ #22635]
20478 nptl: Provide full implementation of pthread_self in libc.so.
20479 * nptl/Makefile (routines): Add pthread_self.
20480 (libpthread-routines): Replace pthread_self with
20481 compat-pthread_self.
20482 * nptl/forward.c (pthread_self): Remove.
20483 * nptl/nptl-init.c (pthread_functions): Do not initialize
20484 ptr_pthread_self.
20485 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20486 * nptl/compat-pthread_self.c: New file.
20487 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20488 Remove ptr_pthread_self.
20489
20490 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20491
20492 * posix/regcomp.c: Fix spelling in comments.
20493 * posix/regex.h: Likewise.
20494 * posix/regex_internal.c: Likewise.
20495 * posix/regexec.c: Likewise.
20496
20497 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20498
20499 [BZ #22377]
20500 * math/Makefile [C++] (tests): Add test for iseqsig.
20501 * math/math.h [C++] (iseqsig): New implementation, which does
20502 not rely on __MATH_TG/__builtin_types_compatible_p.
20503 * math/test-math-iseqsig.cc: New file.
20504 * sysdeps/powerpc/powerpc64le/Makefile
20505 (CFLAGS-test-math-iseqsig.cc): New variable.
20506
20507 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20508
20509 * elf/dl-load.c (is_trusted_path): Remove.
20510 (fillin_rpath): Remove check_trusted argument and its use,
20511 all callers changed.
20512
20513 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20514
20515 [BZ #22630]
20516 * Makeconfig (link-pie-before-libc): Replace -pie with
20517 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20518 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20519 (tst-dlopen-aout-no-pie): New.
20520 (LDFLAGS-tst-prelink): Removed.
20521 (tst-prelink-no-pie): New.
20522 (LDFLAGS-tst-main1): Removed.
20523 (tst-main1-no-pie): New.
20524 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20525 (tst-gmon-no-pie): New.
20526
20527 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20528
20529 * manual/install.texi: Document that --enable-static-pie
20530 implies PIE.
20531 * INSTALL: Regenerated.
20532
20533 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20534
20535 [BZ #21309]
20536 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20537 unsigned.
20538
20539 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20540
20541 Revert:
20542
20543 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20544
20545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20546
20547 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20548
20549 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20550 <errno.h>. Include "eexp.tbl".
20551 (half): New constant.
20552 (one): Likewise.
20553 (__ieee754_exp): Rewrite.
20554 (__slowexp): Remove prototype.
20555 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20556 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20557 * sysdeps/i386/fpu/slowexp.c: Likewise.
20558 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20559 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20560 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20561 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20562 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20563 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20564 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20565 comment.
20566 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20567 (CPPFLAGS-slowexp.c): Remove variable.
20568 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20569 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20570 (CFLAGS-slowexp-fma.c): Remove variable.
20571 (CFLAGS-slowexp-fma4.c): Likewise.
20572 (CFLAGS-slowexp-avx.c): Likewise.
20573 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20574 define as macro.
20575 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20576 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20577 * math/Makefile (type-double-routines): Remove slowexp.
20578 * manual/probes.texi (slowexp_p6): Remove.
20579 (slowexp_p32): Likewise.
20580
20581 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20582
20583 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20584 arithmetic.
20585
20586 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20587
20588 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20589
20590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20591
20592 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20593
20594 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20595 <errno.h>. Include "eexp.tbl".
20596 (half): New constant.
20597 (one): Likewise.
20598 (__ieee754_exp): Rewrite.
20599 (__slowexp): Remove prototype.
20600 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20601 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20602 * sysdeps/i386/fpu/slowexp.c: Likewise.
20603 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20604 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20605 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20606 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20607 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20608 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20609 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20610 comment.
20611 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20612 (CPPFLAGS-slowexp.c): Remove variable.
20613 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20614 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20615 (CFLAGS-slowexp-fma.c): Remove variable.
20616 (CFLAGS-slowexp-fma4.c): Likewise.
20617 (CFLAGS-slowexp-avx.c): Likewise.
20618 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20619 define as macro.
20620 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20621 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20622 * math/Makefile (type-double-routines): Remove slowexp.
20623 * manual/probes.texi (slowexp_p6): Remove.
20624 (slowexp_p32): Likewise.
20625
20626 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20627 James Clarke <jrtc27@jrtc27.com>
20628
20629 [BZ #22603]
20630 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20631 addition.
20632
20633 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20634
20635 [BZ #22605]
20636 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20637 code.
20638
20639 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20640
20641 [BZ #22563]
20642 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20643 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20644 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20645 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20646 to feature_1.
20647
20648 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20649
20650 [BZ #22563]
20651 * bits/types/__cancel_jmp_buf_tag.h: New file.
20652 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20653 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20654 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20655 * nptl/Makefile (headers): Add
20656 bits/types/__cancel_jmp_buf_tag.h.
20657 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20658 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20659 * sysdeps/nptl/pthread.h: Include
20660 <bits/types/__cancel_jmp_buf_tag.h>.
20661 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20662 __cancel_jmp_buf.
20663 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20664
20665 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20666
20667 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20668 --enable-static-pie variants to x86_64, x32 and i686.
20669
20670 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20671
20672 [BZ #22631]
20673 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20674 argument for attrubutes. All callers changed.
20675 (__inline_mathop1): Likewise. All callers changed.
20676 (__inline_mathop): Likewise. All callers changed.
20677 [__USE_MISC] (scalbn): Use __inline_forward instead of
20678 __inline_forward_c.
20679 [__USE_ISOC99] (scalbln): Likewise.
20680 [__USE_ISOC99] (nearbyint): Likewise.
20681 [__USE_ISOC99] (lrint): Likewise.
20682 [__USE_MISC] (scalbnf): Likewise.
20683 [__USE_ISOC99] (scalblnf): Likewise.
20684 [__USE_ISOC99] (nearbyintf): Likewise.
20685 [__USE_ISOC99] (lrintf): Likewise.
20686 [__USE_MISC] (scalbnl): Likewise.
20687 [__USE_ISOC99] (scalblnl): Likewise.
20688 [__USE_ISOC99] (nearbyintl): Likewise.
20689 [__USE_ISOC99] (lrintl): Likewise.
20690 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20691 __inline_mathop and __m81_defun changed.
20692
20693 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20694 CPU or FPU for ARM hard-float configurations.
20695
20696 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20697
20698 * nptl/tst-attr3.c: Include <libc-diag.h>.
20699 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20700
20701 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20702
20703 * string/tester.c (test_strncat): Also disable -Warray-bounds
20704 warnings for two tests.
20705
20706 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20707
20708 [BZ #22614]
20709 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20710 $(cc-pie-default) == yes.
20711 * config.make.in (cc-pie-default): New.
20712 * configure.ac (libc_cv_pie_default): Renamed to ...
20713 (libc_cv_cc_pie_default): This.
20714 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20715 * configure: Regenerated.
20716
20717 2017-12-18 Florian Weimer <fweimer@redhat.com>
20718
20719 [BZ #20204]
20720 ld.so: Harden dl-libc/libdl hooks.
20721 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20722 (rtld_active): New function.
20723 * dlfcn/dladdr.c (__dladdr): Call it.
20724 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20725 * dlfcn/dlclose.c (__dlcose): Likewise.
20726 * dlfcn/dlerror.c (__dlerror): Likewise.
20727 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20728 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20729 * dlfcn/dlopen.c (__dlopen): Likewise.
20730 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20731 * dlfcn/dlsym.c (__dlsym): Likewise.
20732 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20733 * libio/vtables.c (_IO_vtable_check): Likewise.
20734 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20735 (__libc_dlclose): Likewise.
20736 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20737 assignment.
20738
20739 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20740
20741 [BZ #22446]
20742 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20743 buffers for readlink input and output.
20744
20745 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20746
20747 [BZ #22624]
20748 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20749 inhibit_stack_protector.
20750
20751 [BZ #22624]
20752 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20753 inhibit_stack_protector.
20754
20755 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20756
20757 [BZ #22627]
20758 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20759 code and invocation.
20760
20761 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20762
20763 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20764
20765 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20766
20767 [BZ #22505]
20768 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20769
20770 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20771
20772 * sysdeps/s390/fpu/libm-test-ulps: Update.
20773
20774 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20775
20776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20777
20778 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20779
20780 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20781 constants to s_sincosf.h file.
20782 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20783 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20784 implementation.
20785 * sysdeps/ieee754/flt-32/s_sincosf.h:
20786 New file.
20787
20788 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20789
20790 [BZ #14681]
20791 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20792 before mtrace.
20793
20794 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20795
20796 [BZ #19574]
20797 * INSTALL: Regenerated.
20798 * Makeconfig (real-static-start-installed-name): New.
20799 (pic-default): Updated for --enable-static-pie.
20800 (pie-default): New for --enable-static-pie.
20801 (default-pie-ldflag): Likewise.
20802 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20803 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20804 Replace $(static-start-installed-name) with
20805 $(real-static-start-installed-name).
20806 (+prectorT): Updated for --enable-static-pie.
20807 (+postctorT): Likewise.
20808 (CFLAGS-.o): Add $(pie-default).
20809 (CFLAGS-.op): Likewise.
20810 * NEWS: Mention --enable-static-pie.
20811 * config.h.in (ENABLE_STATIC_PIE): New.
20812 * configure.ac (--enable-static-pie): New configure option.
20813 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20814 (have-static-pie): Likewise.
20815 Enable static PIE if linker supports --no-dynamic-linker.
20816 (ENABLE_STATIC_PIE): New AC_DEFINE.
20817 (enable-static-pie): New LIBC_CONFIG_VAR.
20818 * configure: Regenerated.
20819 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20820 gr$(start-installed-name) for --enable-static-pie.
20821 (extra-objs): Likewise.
20822 (install-lib): Likewise.
20823 (extra-objs): Add static-reloc.o and static-reloc.os
20824 ($(objpfx)$(start-installed-name)): Also depend on
20825 $(objpfx)static-reloc.o.
20826 ($(objpfx)r$(start-installed-name)): New.
20827 ($(objpfx)g$(start-installed-name)): Also depend on
20828 $(objpfx)static-reloc.os.
20829 ($(objpfx)gr$(start-installed-name)): New.
20830 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20831 in libc.a.
20832 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20833 initimage.
20834 * csu/static-reloc.c: New file.
20835 * elf/Makefile (routines): Add dl-reloc-static-pie.
20836 (elide-routines.os): Likewise.
20837 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20838 (tst-tls1-static-non-pie-no-pie): New.
20839 * elf/dl-reloc-static-pie.c: New file.
20840 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20841 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20842 STATIC_PIE_BOOTSTRAP.
20843 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20844 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20845 (tests-static): Likewise.
20846 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20847 (tst-gmon-static-no-pie): New.
20848 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20849 (CRT-tst-gmon-static-pie): Likewise.
20850 (tst-gmon-static-pie-ENV): Likewise.
20851 (tests-special): Likewise.
20852 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20853 (clean-tst-gmon-static-pie-data): Likewise.
20854 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20855 * gmon/tst-gmon-static-pie.c: New file.
20856 * manual/install.texi: Document --enable-static-pie.
20857 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20858 (_dl_get_dl_main_map): Likewise.
20859 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20860 * sysdeps/x86_64/configure.ac: Likewise.
20861 * sysdeps/i386/configure: Regenerated.
20862 * sysdeps/x86_64/configure: Likewise.
20863 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20864 (ASFLAGS-.op): Likewise.
20865
20866 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20867
20868 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20869 * posix/tst-mmap-offset.c (fname): Use /tmp.
20870 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20871
20872 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20873
20874 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20875
20876 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20877
20878 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20879 errno.
20880
20881 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20882
20883 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20884 --with-float=hard for arm-linux-gnueabihf configurations.
20885
20886 [BZ #14121]
20887 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20888 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20889 ($(mo-installed)): Use $(objpfx)%.mo.
20890 (realclean): Remove rule.
20891
20892 * po/Makefile (linguas): Remove rule and dependencies.
20893 (linguas.mo): Likewise.
20894 (.PHONY): Do not depend on linguas and linguas.mo.
20895 (podir): Remove variable.
20896 (pofiles): Likewise.
20897 [$(pofiles)] (%.po): Remove rule.
20898
20899 * sysdeps/sparc/sparc32/Makefile
20900 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20901 start-of-line whitespace in argument of echo.
20902 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20903 with whitespace. Generate __wrap_.udiv alias.
20904 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20905 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20906 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20907 * sysdeps/sparc/sparc32/urem.S: Likewise.
20908
20909 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20910
20911 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20912 for aligned inputs.
20913
20914 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20915
20916 * benchtests/bench-strcmp.c: Print output in JSON format.
20917
20918 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20919
20920 2017-12-14 Florian Weimer <fweimer@redhat.com>
20921
20922 [BZ #22607]
20923 CVE-2017-1000409
20924 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20925 the expanded path string.
20926
20927 2017-12-14 Florian Weimer <fweimer@redhat.com>
20928
20929 [BZ #22606]
20930 CVE-2017-1000408
20931 * elf/dl-load.c (system_dirs): Update comment.
20932 (nsystem_dirs_len): Use array_length.
20933 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20934
20935 2017-12-14 Florian Weimer <fweimer@redhat.com>
20936
20937 Simplify compiling most of support/ outside of glibc.
20938 * support/check_addrinfo.c: Include <string.h>.
20939 * support/check_dns_packet.c: Likewise.
20940 * support/check_hostent.c: Likewise.
20941 * support/support_can_chroot.c: Include <support/xunistd.h>.
20942 * support/support_format_addrinfo.c: Include <stdlib.h>
20943 * support/support_format_dns_packet.c: Include <stdbool.h>.
20944 * support/support_format_hostent.c: Include <stdlib.h>.
20945 * support/support_format_netent.c: Likewise.
20946 * support/support_write_string.c: Include <support/xunistd.h>.
20947 * support/xdlfcn.c: Include <stddef.h>.
20948
20949 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20950
20951 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20952
20953 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20954 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20955
20956 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20957 (sysdeps_routines): Add memset-niagara7.
20958 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20959 Likewise.
20960 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20961 file.
20962 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20963 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20964 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20965 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20966 Add niagara7 option.
20967 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20968 memset.
20969
20970 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20971 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20972 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20973 Likewise.
20974 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20975 New file.
20976 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20977 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20978 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20979 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20980 and __memmove_niagara7.
20981 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20982 Add niagara7 option.
20983 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20984 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20985 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20986 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20987 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20988
20989 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20990
20991 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20992 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20993 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20994 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20995
20996 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20997 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20998 _dl_sparc_cap_flags array.
20999 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21000
21001 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21002
21003 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21004 time whenever possible.
21005
21006 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21007
21008 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21009 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21010
21011 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21012
21013 * soft-fp/fmadf4.c: Move to ....
21014 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21015 * soft-fp/fmasf4.c: Move to ....
21016 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21017 * soft-fp/fmatf4.c: Move to ....
21018 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21019 * sysdeps/ieee754/soft-fp/Makefile: New file.
21020 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21021 * sysdeps/arm/preconfigure: Regenerated.
21022 * sysdeps/arm/nofpu/Implies: New file.
21023 * sysdeps/arm/s_fma.c: Remove file.
21024 * sysdeps/arm/s_fmaf.c: Likewise.
21025 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21026 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21027 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21028 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21029 * sysdeps/microblaze/s_fma.c: Remove file.
21030 * sysdeps/microblaze/s_fmaf.c: Likewise.
21031 * sysdeps/mips/mips32/nofpu/Implies: New file.
21032 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21033 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21034 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21035 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21036 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21037 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21038 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21039 implementation.
21040 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21041 * sysdeps/nios2/s_fma.c: Remove file.
21042 * sysdeps/nios2/s_fmaf.c: Likewise.
21043 * sysdeps/sh/nofpu/Implies: New file.
21044 * sysdeps/sh/s_fma.c: Remove file.
21045 * sysdeps/sh/s_fmaf.c: Likewise.
21046 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21047 * sysdeps/tile/s_fma.c: Remove file.
21048 * sysdeps/tile/s_fmaf.c: Likewise.
21049
21050 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21051
21052 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21053 Add s_cosf-sse2 and s_cosf-fma.
21054 (CFLAGS-s_cosf-fma.c): New.
21055 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21056 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21057 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21058
21059 2017-12-12 Steve Ellcey <sellcey@cavium.com>
21060
21061 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21062
21063 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21064
21065 * libio/Makefile (tests): Add tst-bz22415.
21066 (tst-bz22415-ENV): New rule.
21067 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21068 (tests-special): Add tst-bz22415-mem.out.
21069 ($(objpfx)tst-bz22415-mem.out): New rule.
21070 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21071 in case of a successful seek operation.
21072 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21073 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21074 buffer is required.
21075 * libio/tst-bz22415.c: New test.
21076
21077 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21078
21079 2017-12-12 James Clarke <jrtc27@jrtc27.com>
21080
21081 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21082 __IPC_64 to 0 to avoid IPC_64 being set.
21083
21084 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21085
21086 [BZ #22593]
21087 * math/bits/mathcalls.h (nextafter): Remove const.
21088 (nexttoward): Likewise.
21089
21090 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21091
21092 * configure.ac (--with-fp): Remove configure option.
21093 (with_fp_cond): New variable.
21094 (libc_cv_with_fp): New configure test. Use this variable instead
21095 of with_fp.
21096 * configure: Regenerated.
21097 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21098 * manual/install.texi (Configuring and compiling): Remove
21099 --without-fp.
21100 * INSTALL: Regenerated.
21101 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21102 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21103 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21104 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21105 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21106 use --without-fp to configure glibc.
21107
21108 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
21109
21110 * manual/locale.texi (nl_langinfo): Fix a typo.
21111
21112 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
21113
21114 [BZ #22588]
21115 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21116
21117 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21118
21119 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21120 (CFLAGS-argp-parse.c): Likewise.
21121 (CFLAGS-argp-fmtstream.c): Likewise.
21122 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21123 (CPPFLAGS-sha512-crypt.c): Likewise.
21124 (CPPFLAGS-md5-crypt.c): Likewise.
21125 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21126 (CFLAGS-stack_chk_fail_local.c): Likewise.
21127 (CFLAGS-backtrace.c): Likewise.
21128 (CFLAGS-sprintf_chk.c): Likewise.
21129 (CFLAGS-snprintf_chk.c): Likewise.
21130 (CFLAGS-vsprintf_chk.c): Likewise.
21131 (CFLAGS-vsnprintf_chk.c): Likewise.
21132 (CFLAGS-asprintf_chk.c): Likewise.
21133 (CFLAGS-vasprintf_chk.c): Likewise.
21134 (CFLAGS-obprintf_chk.c): Likewise.
21135 (CFLAGS-dprintf_chk.c): Likewise.
21136 (CFLAGS-vdprintf_chk.c): Likewise.
21137 (CFLAGS-printf_chk.c): Likewise.
21138 (CFLAGS-fprintf_chk.c): Likewise.
21139 (CFLAGS-vprintf_chk.c): Likewise.
21140 (CFLAGS-vfprintf_chk.c): Likewise.
21141 (CFLAGS-gets_chk.c): Likewise.
21142 (CFLAGS-fgets_chk.c): Likewise.
21143 (CFLAGS-fgets_u_chk.c): Likewise.
21144 (CFLAGS-fread_chk.c): Likewise.
21145 (CFLAGS-fread_u_chk.c): Likewise.
21146 (CFLAGS-swprintf_chk.c): Likewise.
21147 (CFLAGS-vswprintf_chk.c): Likewise.
21148 (CFLAGS-wprintf_chk.c): Likewise.
21149 (CFLAGS-fwprintf_chk.c): Likewise.
21150 (CFLAGS-vwprintf_chk.c): Likewise.
21151 (CFLAGS-vfwprintf_chk.c): Likewise.
21152 (CFLAGS-fgetws_chk.c): Likewise.
21153 (CFLAGS-fgetws_u_chk.c): Likewise.
21154 (CFLAGS-read_chk.c): Likewise.
21155 (CFLAGS-pread_chk.c): Likewise.
21156 (CFLAGS-pread64_chk.c): Likewise.
21157 (CFLAGS-recv_chk.c): Likewise.
21158 (CFLAGS-recvfrom_chk.c): Likewise.
21159 (CFLAGS-tst-longjmp_chk.c): Likewise.
21160 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21161 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21162 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21163 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21164 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21165 (CFLAGS-tst-chk1.c): Likewise.
21166 (CFLAGS-tst-chk2.c): Likewise.
21167 (CFLAGS-tst-chk3.c): Likewise.
21168 (CFLAGS-tst-chk4.cc): Likewise.
21169 (CFLAGS-tst-chk5.cc): Likewise.
21170 (CFLAGS-tst-chk6.cc): Likewise.
21171 (CFLAGS-tst-lfschk1.c): Likewise.
21172 (CFLAGS-tst-lfschk2.c): Likewise.
21173 (CFLAGS-tst-lfschk3.c): Likewise.
21174 (CFLAGS-tst-lfschk4.cc): Likewise.
21175 (CFLAGS-tst-lfschk5.cc): Likewise.
21176 (CFLAGS-tst-lfschk6.cc): Likewise.
21177 (CFLAGS-tst-ssp-1.c): Likewise.
21178 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21179 (CFLAGS-scandir64.c): Likewise.
21180 (CFLAGS-scandir-tail.c): Likewise.
21181 (CFLAGS-scandir64-tail.c): Likewise.
21182 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21183 (CFLAGS-dl-tunables.c): Likewise.
21184 (CFLAGS-dl-runtime.c): Likewise.
21185 (CFLAGS-dl-lookup.c): Likewise.
21186 (CFLAGS-dl-iterate-phdr.c): Likewise.
21187 (CFLAGS-vismain.c): Likewise.
21188 (CFLAGS-tst-linkall-static.c): Likewise.
21189 (CFLAGS-tst-linkall-static.c): Likewise.
21190 (CPPFLAGS-dl-load.c): Likewise.
21191 (CFLAGS-ldconfig.c): Likewise.
21192 (CFLAGS-dl-cache.c): Likewise.
21193 (CFLAGS-cache.c): Likewise.
21194 (CFLAGS-rtld.c): Likewise.
21195 (CFLAGS-multiload.c): Likewise.
21196 (CFLAGS-filtmod1.c): Likewise.
21197 (CFLAGS-tst-align.c): Likewise.
21198 (CFLAGS-tst-align2.c): Likewise.
21199 (CFLAGS-tst-alignmod.c): Likewise.
21200 (CFLAGS-tst-alignmod2.c): Likewise.
21201 (CPPFLAGS-tst-execstack.c): Likewise.
21202 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21203 (CFLAGS-tst-latepthreadmod.c): Likewise.
21204 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21205 (CFLAGS-getgrnam_r.c): Likewise.
21206 (CFLAGS-getgrent_r.c): Likewise.
21207 (CFLAGS-getgrent.c): Likewise.
21208 (CFLAGS-fgetgrent.c): Likewise.
21209 (CFLAGS-fgetgrent_r.c): Likewise.
21210 (CFLAGS-putgrent.c): Likewise.
21211 (CFLAGS-initgroups.c): Likewise.
21212 (CFLAGS-getgrgid.c): Likewise.
21213 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21214 (CFLAGS-getsgent.c): Likewise.
21215 (CFLAGS-fgetsgent.c): Likewise.
21216 (CFLAGS-fgetsgent_r.c): Likewise.
21217 (CFLAGS-putsgent.c): Likewise.
21218 (CFLAGS-getsgnam.c): Likewise.
21219 (CFLAGS-getsgnam_r.c): Likewise.
21220 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21221 (CFLAGS-iconv_charmap.c): Likewise.
21222 (CFLAGS-dummy-repertoire.c): Likewise.
21223 (CFLAGS-charmap.c): Likewise.
21224 (CFLAGS-linereader.c): Likewise.
21225 (CFLAGS-simple-hash.c): Likewise.
21226 (CFLAGS-gconv_conf.c): Likewise.
21227 (CFLAGS-iconvconfig.c): Likewise.
21228 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21229 (CFLAGS-gethstbyad.c): Likewise.
21230 (CFLAGS-gethstbynm_r.c): Likewise.
21231 (CFLAGS-gethstbynm.c): Likewise.
21232 (CFLAGS-gethstbynm2_r.c): Likewise.
21233 (CFLAGS-gethstbynm2.c): Likewise.
21234 (CFLAGS-gethstent_r.c): Likewise.
21235 (CFLAGS-gethstent.c): Likewise.
21236 (CFLAGS-rcmd.c): Likewise.
21237 (CFLAGS-getnetbynm_r.c): Likewise.
21238 (CFLAGS-getnetbynm.c): Likewise.
21239 (CFLAGS-getnetbyad_r.c): Likewise.
21240 (CFLAGS-getnetbyad.c): Likewise.
21241 (CFLAGS-getnetent_r.c): Likewise.
21242 (CFLAGS-getnetent.c): Likewise.
21243 (CFLAGS-getaliasent_r.c): Likewise.
21244 (CFLAGS-getaliasent.c): Likewise.
21245 (CFLAGS-getrpcent_r.c): Likewise.
21246 (CFLAGS-getrpcent.c): Likewise.
21247 (CFLAGS-getservent_r.c): Likewise.
21248 (CFLAGS-getservent.c): Likewise.
21249 (CFLAGS-getprtent_r.c): Likewise.
21250 (CFLAGS-getprtent.c): Likewise.
21251 (CFLAGS-either_ntoh.c): Likewise.
21252 (CFLAGS-either_hton.c): Likewise.
21253 (CFLAGS-getnetgrent.c): Likewise.
21254 (CFLAGS-getnetgrent_r.c): Likewise.
21255 (CFLAGS-tst-checks-posix.c): Likewise.
21256 (CFLAGS-tst-sockaddr.c): Likewise.
21257 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21258 (CFLAGS-tst-translit.c): Likewise.
21259 (CFLAGS-tst-gettext2.c): Likewise.
21260 (CFLAGS-tst-codeset.c): Likewise.
21261 (CFLAGS-tst-gettext3.c): Likewise.
21262 (CFLAGS-tst-gettext4.c): Likewise.
21263 (CFLAGS-tst-gettext5.c): Likewise.
21264 (CFLAGS-tst-gettext6.c): Likewise.
21265 * io/Makefile (CFLAGS-open.c): Likewise.
21266 (CFLAGS-open64.c): Likewise.
21267 (CFLAGS-creat.c): Likewise.
21268 (CFLAGS-creat64.c): Likewise.
21269 (CFLAGS-fcntl.c): Likewise.
21270 (CFLAGS-poll.c): Likewise.
21271 (CFLAGS-ppoll.c): Likewise.
21272 (CFLAGS-lockf.c): Likewise.
21273 (CFLAGS-statfs.c): Likewise.
21274 (CFLAGS-fstatfs.c): Likewise.
21275 (CFLAGS-statvfs.c): Likewise.
21276 (CFLAGS-fstatvfs.c): Likewise.
21277 (CFLAGS-fts.c): Likewise.
21278 (CFLAGS-fts64.c): Likewise.
21279 (CFLAGS-ftw.c): Likewise.
21280 (CFLAGS-ftw64.c): Likewise.
21281 (CFLAGS-lockf.c): Likewise.
21282 (CFLAGS-posix_fallocate.c): Likewise.
21283 (CFLAGS-posix_fallocate64.c): Likewise.
21284 (CFLAGS-fallocate.c): Likewise.
21285 (CFLAGS-fallocate64.c): Likewise.
21286 (CFLAGS-read.c): Likewise.
21287 (CFLAGS-write.c): Likewise.
21288 (CFLAGS-test-stat.c): Likewise.
21289 (CFLAGS-test-lfs.c): Likewise.
21290 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21291 (CFLAGS-fputc.c): Likewise.
21292 (CFLAGS-fputwc.c): Likewise.
21293 (CFLAGS-freopen64.c): Likewise.
21294 (CFLAGS-freopen.c): Likewise.
21295 (CFLAGS-fseek.c): Likewise.
21296 (CFLAGS-fseeko64.c): Likewise.
21297 (CFLAGS-fseeko.c): Likewise.
21298 (CFLAGS-ftello64.c): Likewise.
21299 (CFLAGS-ftello.c): Likewise.
21300 (CFLAGS-fwide.c): Likewise.
21301 (CFLAGS-genops.c): Likewise.
21302 (CFLAGS-getc.c): Likewise.
21303 (CFLAGS-getchar.c): Likewise.
21304 (CFLAGS-getwc.c): Likewise.
21305 (CFLAGS-getwchar.c): Likewise.
21306 (CFLAGS-iofclose.c): Likewise.
21307 (CFLAGS-iofflush.c): Likewise.
21308 (CFLAGS-iofgetpos64.c): Likewise.
21309 (CFLAGS-iofgetpos.c): Likewise.
21310 (CFLAGS-iofgets.c): Likewise.
21311 (CFLAGS-iofgetws.c): Likewise.
21312 (CFLAGS-iofputs.c): Likewise.
21313 (CFLAGS-iofputws.c): Likewise.
21314 (CFLAGS-iofread.c): Likewise.
21315 (CFLAGS-iofsetpos64.c): Likewise.
21316 (CFLAGS-iofsetpos.c): Likewise.
21317 (CFLAGS-ioftell.c): Likewise.
21318 (CFLAGS-iofwrite.c): Likewise.
21319 (CFLAGS-iogetdelim.c): Likewise.
21320 (CFLAGS-iogetline.c): Likewise.
21321 (CFLAGS-iogets.c): Likewise.
21322 (CFLAGS-iogetwline.c): Likewise.
21323 (CFLAGS-ioputs.c): Likewise.
21324 (CFLAGS-ioseekoff.c): Likewise.
21325 (CFLAGS-ioseekpos.c): Likewise.
21326 (CFLAGS-iosetbuffer.c): Likewise.
21327 (CFLAGS-iosetvbuf.c): Likewise.
21328 (CFLAGS-ioungetc.c): Likewise.
21329 (CFLAGS-ioungetwc.c): Likewise.
21330 (CFLAGS-oldfileops.c): Likewise.
21331 (CFLAGS-oldiofclose.c): Likewise.
21332 (CFLAGS-oldiofgetpos64.c): Likewise.
21333 (CFLAGS-oldiofgetpos.c): Likewise.
21334 (CFLAGS-oldiofsetpos64.c): Likewise.
21335 (CFLAGS-oldiofsetpos.c): Likewise.
21336 (CFLAGS-peekc.c): Likewise.
21337 (CFLAGS-putc.c): Likewise.
21338 (CFLAGS-putchar.c): Likewise.
21339 (CFLAGS-putwc.c): Likewise.
21340 (CFLAGS-putwchar.c): Likewise.
21341 (CFLAGS-rewind.c): Likewise.
21342 (CFLAGS-wfileops.c): Likewise.
21343 (CFLAGS-wgenops.c): Likewise.
21344 (CFLAGS-oldiofopen.c): Likewise.
21345 (CFLAGS-iofopen.c): Likewise.
21346 (CFLAGS-iofopen64.c): Likewise.
21347 (CFLAGS-oldtmpfile.c): Likewise.
21348 (CFLAGS-tst_putwc.c): Likewise.
21349 * locale/Makefile (CFLAGS-md5.c): Likewise.
21350 (CFLAGS-charmap.c): Likewise.
21351 (CFLAGS-locfile.c): Likewise.
21352 (CFLAGS-charmap-dir.c): Likewise.
21353 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21354 (CFLAGS-getpt.c): Likewise.
21355 (CFLAGS-pt_chown.c): Likewise.
21356 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21357 (CFLAGS-obstack.c): Likewise.
21358 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21359 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21360 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21361 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21362 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21363 (CFLAGS-test-tgmath.c): Likewise.
21364 (CFLAGS-test-tgmath2.c): Likewise.
21365 (CFLAGS-test-tgmath-ret.c): Likewise.
21366 (CFLAGS-test-powl.c): Likewise.
21367 (CFLAGS-test-snan.c): Likewise.
21368 (CFLAGS-test-signgam-finite.c): Likewise.
21369 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21370 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21371 (CFLAGS-test-signgam-uchar.c): Likewise.
21372 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21373 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21374 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21375 (CFLAGS-test-signgam-uint.c): Likewise.
21376 (CFLAGS-test-signgam-uint-init.c): Likewise.
21377 (CFLAGS-test-signgam-uint-static.c): Likewise.
21378 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21379 (CFLAGS-test-signgam-ullong.c): Likewise.
21380 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21381 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21382 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21383 (CFLAGS-test-math-cxx11.cc): Likewise.
21384 (CFLAGS-test-math-isinff.cc): Likewise.
21385 (CFLAGS-test-math-iszero.cc): Likewise.
21386 (CFLAGS-test-math-issignaling.cc): Likewise.
21387 (CFLAGS-test-math-iscanonical.cc): Likewise.
21388 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21389 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21390 (CFLAGS-test-flt-eval-method.c): Likewise.
21391 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21392 (CFLAGS-test-finite-macros.c): Likewise.
21393 * misc/Makefile (CFLAGS-select.c): Likewise.
21394 (CFLAGS-tsearch.c): Likewise.
21395 (CFLAGS-lsearch.c): Likewise.
21396 (CFLAGS-pselect.c): Likewise.
21397 (CFLAGS-readv.c): Likewise.
21398 (CFLAGS-writev.c): Likewise.
21399 (CFLAGS-preadv.c): Likewise.
21400 (CFLAGS-preadv64.c): Likewise.
21401 (CFLAGS-pwritev.c): Likewise.
21402 (CFLAGS-pwritev64.c): Likewise.
21403 (CFLAGS-preadv2.c): Likewise.
21404 (CFLAGS-preadv64v2.c): Likewise.
21405 (CFLAGS-pwritev2.c): Likewise.
21406 (CFLAGS-pwritev64v2.c): Likewise.
21407 (CFLAGS-usleep.c): Likewise.
21408 (CFLAGS-syslog.c): Likewise.
21409 (CFLAGS-error.c): Likewise.
21410 (CFLAGS-getpass.c): Likewise.
21411 (CFLAGS-mkstemp.c): Likewise.
21412 (CFLAGS-mkstemp64.c): Likewise.
21413 (CFLAGS-getsysstats.c): Likewise.
21414 (CFLAGS-getusershell.c): Likewise.
21415 (CFLAGS-err.c): Likewise.
21416 (CFLAGS-tst-tsearch.c): Likewise.
21417 (CFLAGS-msync.c): Likewise.
21418 (CFLAGS-fdatasync.c): Likewise.
21419 (CFLAGS-fsync.c): Likewise.
21420 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21421 (CFLAGS-unwind.c): Likewise.
21422 (CFLAGS-unwind-forcedunwind.c): Likewise.
21423 (CFLAGS-pthread_cancel.c): Likewise.
21424 (CFLAGS-pthread_setcancelstate.c): Likewise.
21425 (CFLAGS-pthread_setcanceltype.c): Likewise.
21426 (CFLAGS-cancellation.c): Likewise.
21427 (CFLAGS-libc-cancellation.c): Likewise.
21428 (CFLAGS-pthread_exit.c): Likewise.
21429 (CFLAGS-forward.c): Likewise.
21430 (CFLAGS-pthread_testcancel.c): Likewise.
21431 (CFLAGS-pthread_join.c): Likewise.
21432 (CFLAGS-pthread_timedjoin.c): Likewise.
21433 (CFLAGS-pthread_once.c): Likewise.
21434 (CFLAGS-pthread_cond_wait.c): Likewise.
21435 (CFLAGS-sem_wait.c): Likewise.
21436 (CFLAGS-sem_timedwait.c): Likewise.
21437 (CFLAGS-fcntl.c): Likewise.
21438 (CFLAGS-lockf.c): Likewise.
21439 (CFLAGS-pread.c): Likewise.
21440 (CFLAGS-pread64.c): Likewise.
21441 (CFLAGS-pwrite.c): Likewise.
21442 (CFLAGS-pwrite64.c): Likewise.
21443 (CFLAGS-wait.c): Likewise.
21444 (CFLAGS-waitpid.c): Likewise.
21445 (CFLAGS-sigwait.c): Likewise.
21446 (CFLAGS-msgrcv.c): Likewise.
21447 (CFLAGS-msgsnd.c): Likewise.
21448 (CFLAGS-tcdrain.c): Likewise.
21449 (CFLAGS-open.c): Likewise.
21450 (CFLAGS-open64.c): Likewise.
21451 (CFLAGS-pause.c): Likewise.
21452 (CFLAGS-recv.c): Likewise.
21453 (CFLAGS-send.c): Likewise.
21454 (CFLAGS-accept.c): Likewise.
21455 (CFLAGS-sendto.c): Likewise.
21456 (CFLAGS-connect.c): Likewise.
21457 (CFLAGS-recvfrom.c): Likewise.
21458 (CFLAGS-recvmsg.c): Likewise.
21459 (CFLAGS-sendmsg.c): Likewise.
21460 (CFLAGS-close.c): Likewise.
21461 (CFLAGS-read.c): Likewise.
21462 (CFLAGS-write.c): Likewise.
21463 (CFLAGS-nanosleep.c): Likewise.
21464 (CFLAGS-sigsuspend.c): Likewise.
21465 (CFLAGS-msync.c): Likewise.
21466 (CFLAGS-fdatasync.c): Likewise.
21467 (CFLAGS-fsync.c): Likewise.
21468 (CFLAGS-pt-system.c): Likewise.
21469 (CFLAGS-tst-cleanup2.c): Likewise.
21470 (CFLAGS-tst-cleanupx2.c): Likewise.
21471 (CFLAGS-flockfile.c): Likewise.
21472 (CFLAGS-ftrylockfile.c): Likewise.
21473 (CFLAGS-funlockfile.c): Likewise.
21474 (CFLAGS-tst-initializers1.c): Likewise.
21475 (CFLAGS-tst-initializers1-c89.c): Likewise.
21476 (CFLAGS-tst-initializers1-c99.c): Likewise.
21477 (CFLAGS-tst-initializers1-c11.c): Likewise.
21478 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21479 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21480 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21481 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21482 (CFLAGS-nscd_getgr_r.c): Likewise.
21483 (CFLAGS-nscd_gethst_r.c): Likewise.
21484 (CFLAGS-nscd_getai.c): Likewise.
21485 (CFLAGS-nscd_initgroups.c): Likewise.
21486 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21487 (CFLAGS-pause.c): Likewise.
21488 (CFLAGS-pread.c): Likewise.
21489 (CFLAGS-pread64.c): Likewise.
21490 (CFLAGS-pwrite.c): Likewise.
21491 (CFLAGS-pwrite64.c): Likewise.
21492 (CFLAGS-sleep.c): Likewise.
21493 (CFLAGS-wait.c): Likewise.
21494 (CFLAGS-waitid.c): Likewise.
21495 (CFLAGS-waitpid.c): Likewise.
21496 (CFLAGS-getopt.c): Likewise.
21497 (CFLAGS-wordexp.c): Likewise.
21498 (CFLAGS-sysconf.c): Likewise.
21499 (CFLAGS-pathconf.c): Likewise.
21500 (CFLAGS-fpathconf.c): Likewise.
21501 (CFLAGS-spawn.c): Likewise.
21502 (CFLAGS-spawnp.c): Likewise.
21503 (CFLAGS-spawni.c): Likewise.
21504 (CFLAGS-glob.c): Likewise.
21505 (CFLAGS-glob64.c): Likewise.
21506 (CFLAGS-getconf.c): Likewise.
21507 (CFLAGS-nanosleep.c): Likewise.
21508 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21509 (CFLAGS-getpwent.c): Likewise.
21510 (CFLAGS-getpw.c): Likewise.
21511 (CFLAGS-fgetpwent_r.c): Likewise.
21512 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21513 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21514 (CFLAGS-mq_timedreceive.c): Likewise.
21515 (CFLAGS-mq_timedsend.c): Likewise.
21516 (CFLAGS-clock_nanosleep.c): Likewise.
21517 (CFLAGS-librt-cancellation.c): Likewise.
21518 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21519 (CFLAGS-getspent.c): Likewise.
21520 (CFLAGS-fgetspent.c): Likewise.
21521 (CFLAGS-fgetspent_r.c): Likewise.
21522 (CFLAGS-putspent.c): Likewise.
21523 (CFLAGS-getspnam.c): Likewise.
21524 (CFLAGS-getspnam_r.c): Likewise.
21525 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21526 (CFLAGS-sigsuspend.c): Likewise.
21527 (CFLAGS-sigtimedwait.c): Likewise.
21528 (CFLAGS-sigwait.c): Likewise.
21529 (CFLAGS-sigwaitinfo.c): Likewise.
21530 (CFLAGS-sigreturn.c): Likewise.
21531 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21532 (CFLAGS-vfwprintf.c): Likewise.
21533 (CFLAGS-tmpfile.c): Likewise.
21534 (CFLAGS-tmpfile64.c): Likewise.
21535 (CFLAGS-tempname.c): Likewise.
21536 (CFLAGS-psignal.c): Likewise.
21537 (CFLAGS-vprintf.c): Likewise.
21538 (CFLAGS-cuserid.c): Likewise.
21539 (CFLAGS-errlist.c): Likewise.
21540 (CFLAGS-siglist.c): Likewise.
21541 (CFLAGS-scanf15.c): Likewise.
21542 (CFLAGS-scanf17.c): Likewise.
21543 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21544 (CFLAGS-msort.c): Likewise.
21545 (CFLAGS-qsort.c): Likewise.
21546 (CFLAGS-system.c): Likewise.
21547 (CFLAGS-fmtmsg.c): Likewise.
21548 (CFLAGS-strfmon.c): Likewise.
21549 (CFLAGS-strfmon_l.c): Likewise.
21550 (CFLAGS-strfromd.c): Likewise.
21551 (CFLAGS-strfromf.c): Likewise.
21552 (CFLAGS-strfroml.c): Likewise.
21553 (CFLAGS-tst-bsearch.c): Likewise.
21554 (CFLAGS-tst-qsort.c): Likewise.
21555 (CFLAGS-tst-makecontext2.c): Likewise.
21556 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21557 (CFLAGS-xnlm_prot.c): Likewise.
21558 (CFLAGS-xrstat.c): Likewise.
21559 (CFLAGS-xyppasswd.c): Likewise.
21560 (CFLAGS-xklm_prot.c): Likewise.
21561 (CFLAGS-xrex.c): Likewise.
21562 (CFLAGS-xsm_inter.c): Likewise.
21563 (CFLAGS-xmount.c): Likewise.
21564 (CFLAGS-xrusers.c): Likewise.
21565 (CFLAGS-xspray.c): Likewise.
21566 (CFLAGS-xnfs_prot.c): Likewise.
21567 (CFLAGS-xrquota.c): Likewise.
21568 (CFLAGS-xkey_prot.c): Likewise.
21569 (CFLAGS-auth_unix.c): Likewise.
21570 (CFLAGS-key_call.c): Likewise.
21571 (CFLAGS-pmap_rmt.c): Likewise.
21572 (CFLAGS-clnt_perr.c): Likewise.
21573 (CFLAGS-openchild.c): Likewise.
21574 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21575 (CFLAGS-msgsnd.c): Likewise.
21576 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21577 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21578 (CFLAGS-tzset.c): Likewise.
21579 (CFLAGS-getdate.c): Likewise.
21580 (CFLAGS-test_time.c): Likewise.
21581 (CPPFLAGS-tst-tzname.c): Likewise.
21582 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21583 (CFLAGS-zic.c): Likewise.
21584 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21585 (CFLAGS-wcswidth.c): Likewise.
21586 (CFLAGS-wcstol.c): Likewise.
21587 (CFLAGS-wcstoul.c): Likewise.
21588 (CFLAGS-wcstoll.c): Likewise.
21589 (CFLAGS-wcstoull.c): Likewise.
21590 (CFLAGS-wcstod.c): Likewise.
21591 (CFLAGS-wcstold.c): Likewise.
21592 (CFLAGS-wcstof128.c): Likewise.
21593 (CFLAGS-wcstof.c): Likewise.
21594 (CFLAGS-wcstol_l.c): Likewise.
21595 (CFLAGS-wcstoul_l.c): Likewise.
21596 (CFLAGS-wcstoll_l.c): Likewise.
21597 (CFLAGS-wcstoull_l.c): Likewise.
21598 (CFLAGS-wcstod_l.c): Likewise.
21599 (CFLAGS-wcstold_l.c): Likewise.
21600 (CFLAGS-wcstof128_l.c): Likewise.
21601 (CFLAGS-wcstof_l.c): Likewise.
21602 (CPPFLAGS-tst-wchar-h.c): Likewise.
21603 (CPPFLAGS-wcstold_l.c): Likewise.
21604
21605 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
21606
21607 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21608
21609 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21610 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21611
21612 * manual/tunables.texi (Hardware Capability Tunables): Document
21613 glibc.tune.cached_memopt.
21614 * sysdeps/powerpc/cpu-features.c: New file.
21615 * sysdeps/powerpc/cpu-features.h: New file.
21616 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21617 _dl_powerpc_cpu_features.
21618 * sysdeps/powerpc/dl-tunables.list: New file.
21619 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21620 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21621 (INIT_ARCH): Initialize use_aligned_memopt.
21622 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21623 IS_IN(rtld))]: Restrict dl_platform_init availability and
21624 initialize CPU features used by tunables.
21625 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21626 Add memcpy-power8-cached.
21627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21628 __memcpy_power8_cached.
21629 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21630 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21631 New file.
21632
21633 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21634
21635 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21636 (CFLAGS-noinl-tester.c): Likewise.
21637 (CFLAGS-tst-strlen.c): Likewise.
21638 (CFLAGS-stratcliff.c): Likewise.
21639 (CFLAGS-test-ffs.c): Likewise.
21640 (CFLAGS-tst-inlcall.c): Likewise.
21641 (CFLAGS-tst-xbzero-opt.c): Likewise.
21642 (CFLAGS-memcpy.c): Likewise.
21643 (CFLAGS-wordcopy.c): Likewise.
21644
21645 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21646
21647 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21648 Store r15 on stack and add cfi rule.
21649 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21650 Likewise.
21651
21652 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
21653
21654 [BZ #22577]
21655 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21656 call.
21657
21658 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21659
21660 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21661 Add s_sinf-sse2 and s_sinf-fma.
21662 (CFLAGS-s_sinf-fma.c): New.
21663 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21664 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21665 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21666
21667 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21668
21669 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21670
21671 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21672
21673 [BZ #22568]
21674 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21675 part of result to imaginary part of argument if it is zero and the
21676 real part of the argument is not finite.
21677 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21678 of result to real part of argument if it is zero and the imaginary
21679 part of the argument is not finite.
21680
21681 2017-12-07 Mike FABIAN <mfabian@redhat.com>
21682
21683 [BZ #22524]
21684 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21685 and to the list of locales to be built for testing.
21686 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21687 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21688 and build the collation rules upon that.
21689
21690 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21691
21692 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21693 * manual/math.texi (Mathematics): Document support for _Float32.
21694 * math/Makefile (test-types): Add float32.
21695 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21696 * stdlib/Versions (GLIBC_2.27): Likewise.
21697 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21698 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21699 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21700 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21701 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21702 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21703 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21704 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21705 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21706 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21707 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21708 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21709 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21710 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21711 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21712 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21713 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21714 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21715 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21716 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21717 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21718 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21719 Likewise.
21720 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21721 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21722 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21723 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21724 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21726 Likewise.
21727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21728 Likewise.
21729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21730 Likewise.
21731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21732 Likewise.
21733
21734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21735 Likewise.
21736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21737 Likewise.
21738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21739 Likewise.
21740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21741 Likewise.
21742 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21743 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21744 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21745 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21746 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21747 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21748 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21749 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21750 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21751 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21753 Likewise.
21754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21755 Likewise.
21756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21757 Likewise.
21758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21759 Likewise.
21760 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21761 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21762 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21763 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21764 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21765 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21766 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21767 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21768
21769 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21770
21771 * stdlib/strtof.c: Include <bits/floatn.h>
21772 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21773 and later undefine as macro. Define as weak alias if
21774 [!USE_WIDE_CHAR].
21775 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21776 and later undefine as macro. Define as weak alias if
21777 [USE_WIDE_CHAR].
21778 * stdlib/strtof_l.c: Include <bits/floatn.h>
21779 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21780 and later undefine as macro. Define as weak alias if
21781 [!USE_WIDE_CHAR].
21782 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21783 and later undefine as macro. Define as weak alias if
21784 [USE_WIDE_CHAR].
21785
21786 * stdlib/strfromf.c: Include <bits/floatn.h>.
21787 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21788 and later undefine as macro and define as weak alias.
21789
21790 * math/test-float32.h: New file.
21791
21792 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21793 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21794 (libm_alias_float_other_r): Create f32 alias.
21795 (libm_alias_float_r): Use semicolon before call to
21796 libm_alias_float_other_r.
21797
21798 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21799 second argument to libm_alias_float_other.
21800 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21801 second argument to libm_alias_float_other.
21802 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21803 argument to libm_alias_float_other.
21804
21805 [BZ #22561]
21806 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21807 real part of result for argument 0 + i * NaN.
21808 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21809 results for tests of 0 + i * NaN.
21810
21811 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21812
21813 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21814
21815 2017-12-06 David S. Miller <davem@davemloft.net>
21816
21817 * sysdeps/sparc/fpu/libm-test-ulps: Update
21818 exp_{downward,towardzero,upward} ulps.
21819
21820 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21821
21822 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21823 variables static.
21824
21825 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21826 (Y0_2D): Likewise.
21827 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21828 (Y0_2D): Likewise.
21829 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21830 (Y0_2D): Likewise.
21831 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21832 (Y0_2D): Likewise.
21833
21834 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21835
21836 [BZ #22515]
21837 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21838 and to the list of locales to be built for testing.
21839 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21840 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21841 and build the collation rules upon that.
21842
21843 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21844
21845 * NEWS: Add sinf to list of optimized functions.
21846
21847 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21848
21849 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21850 (__HAVE_FLOAT32X): Likewise.
21851 * manual/math.texi (Mathematics): Document support for _Float64
21852 and _Float32x.
21853 * math/Makefile (test-types): Add float64 and float32x.
21854 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21855 functions.
21856 * stdlib/Versions (GLIBC_2.27): Likewise.
21857 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21858 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21859 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21860 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21861 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21862 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21863 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21864 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21865 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21866 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21867 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21868 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21869 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21870 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21871 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21872 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21873 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21874 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21875 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21876 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21877 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21878 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21879 Likewise.
21880 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21881 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21882 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21883 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21884 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21886 Likewise.
21887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21888 Likewise.
21889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21890 Likewise.
21891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21892 Likewise.
21893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21894 Likewise.
21895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21896 Likewise.
21897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21898 Likewise.
21899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21900 Likewise.
21901 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21902 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21903 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21904 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21905 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21906 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21907 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21908 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21909 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21910 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21912 Likewise.
21913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21914 Likewise.
21915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21916 Likewise.
21917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21918 Likewise.
21919 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21920 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21921 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21922 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21923 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21924 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21925 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21926 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21927
21928 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21929
21930 * bits/floatn-common.h: Include <bits/long-double.h>.
21931 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21932 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21933 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21934 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21935 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21936 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21937 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21938 (__builtin_huge_valf64): Use __builtin_huge_vall.
21939 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21940 (__builtin_inff64): Use __builtin_infl.
21941 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21942 (__builtin_nanf64): Use __builtin_nanl.
21943 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21944 (__builtin_nansf64): Use __builtin_nansl.
21945
21946 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21947 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21948 Carlos O'Donnell <carlos@redhat.com>
21949
21950 * elf/dl-tunables.list: Add elision parameters.
21951 * manual/tunables.texi: Add entries about elision tunable.
21952 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21953 Add callback functions to dynamically enable/disable elision.
21954 Add multiple callbacks functions to set elision parameters.
21955 Deleted __libc_enable_secure check.
21956 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21957 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21958 * configure: Regenerated.
21959 * configure.ac: Option enable_lock_elision was deleted.
21960 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21961 * config.make.in: Remove references to enable_lock_elision.
21962 * manual/install.texi: Elision configure option was removed.
21963 * INSTALL: Regenerated to remove enable_lock_elision.
21964 * nptl/Makefile:
21965 Disable elision so it can verify error case for destroying a mutex.
21966 * sysdeps/powerpc/nptl/elide.h:
21967 Cleanup ENABLE_LOCK_ELISION check.
21968 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21969 * sysdeps/s390/configure: Regenerated.
21970 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21971 * nptl/tst-mutex8.c:
21972 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21973 * sysdeps/powerpc/powerpc32/sysdep.h:
21974 Deleted all ENABLE_LOCK_ELISION checks.
21975 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21976 * sysdeps/powerpc/sysdep.h: Likewise.
21977 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21978 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21979 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21980 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21981 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21982 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21983 enable-lock-elision.
21984
21985 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21986
21987 * stdlib/strtod.c: Include <bits/floatn.h>.
21988 (BUILD_DOUBLE): New macro.
21989 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21990 (strtof64): Define and later undefine as macro. Define as weak
21991 alias if [!USE_WIDE_CHAR].
21992 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21993 (wcstof64): Define and later undefine as macro. Define as weak
21994 alias if [USE_WIDE_CHAR].
21995 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21996 (strtof32x): Define and later undefine as macro. Define as weak
21997 alias if [!USE_WIDE_CHAR].
21998 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21999 (wcstof32x): Define and later undefine as macro. Define as weak
22000 alias if [USE_WIDE_CHAR].
22001 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22002 (BUILD_DOUBLE): New macro.
22003 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22004 (strtof64_l): Define and later undefine as macro. Define as weak
22005 alias if [!USE_WIDE_CHAR].
22006 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22007 (wcstof64_l): Define and later undefine as macro. Define as weak
22008 alias if [USE_WIDE_CHAR].
22009 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22010 (strtof32x_l): Define and later undefine as macro. Define as weak
22011 alias if [!USE_WIDE_CHAR].
22012 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22013 (wcstof32x_l): Define and later undefine as macro. Define as weak
22014 alias if [USE_WIDE_CHAR].
22015
22016 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22017
22018 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22019 (reduced): Use ones as double instead of integer.
22020
22021 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22022
22023 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22024
22025 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22026
22027 * stdlib/strfromd.c: Include <bits/floatn.h>.
22028 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22029 and later undefine as macro and define as weak alias.
22030 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22031 Likewise.
22032
22033 * math/test-float32x.h: New file.
22034 * math/test-float64.h: Likewise.
22035
22036 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22037 (libm_alias_double_other_r_f64): New macro.
22038 (libm_alias_double_other_r_f32x): Likewise.
22039 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22040 libm_alias_double_other_r_f32x.
22041 (libm_alias_double_r): Use semicolon before call to
22042 libm_alias_double_other_r.
22043 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22044 <bits/floatn.h>.
22045 (libm_alias_double_other_r_f64): New macro.
22046 (libm_alias_double_other_r_f32x): Likewise.
22047 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22048 libm_alias_double_other_r_f32x.
22049
22050 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22051
22052 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22053 int.
22054 (SINF_FUNC): Likewise. Replace floor with simple casts.
22055
22056 2017-12-05 Mike FABIAN <mfabian@redhat.com>
22057
22058 [BZ #22517]
22059 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22060 and to the list of locales to be built for testing.
22061 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22062 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22063 and build the collation rules upon that.
22064
22065 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22066
22067 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22068 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22069 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22070 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22071 instead of __insn__xxx.
22072 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22073 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22074 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22075 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22076 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22077 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22078
22079 2017-12-05 Florian Weimer <fweimer@redhat.com>
22080
22081 Linux: Implement interfaces for memory protection keys
22082 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22083 xsignal, xsysconf.
22084 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22085 * support/xunistd.h (xsysconf): Declare.
22086 * support/xraise.c: New file.
22087 * support/xsigaction.c: Likewise.
22088 * support/xsignal.c: Likewise.
22089 * support/xsysconf.c: Likewise.
22090 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22091 pkey_set, pkey_get, pkey_mprotect.
22092 [misc] (tests): Add tst-pkey.
22093 (tst-pkey): Link with -lpthread.
22094 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22095 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22096 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22097 (PKEY_DISABLE_WRITE): Define.
22098 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22099 Declare.
22100 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22101 (SEGV_PKUERR): Add.
22102 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22103 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22104 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22105 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22106 Add.
22107 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22108 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22109 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22110 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22111 * sysdeps/unix/sysv/linux/**.abilist: Update.
22112
22113 2017-12-05 Florian Weimer <fweimer@redhat.com>
22114
22115 * support/tst-test_compare.c (subprocess): Use long long instead
22116 of long argument for consistent type width across 32-bit and
22117 64-bit architectures.
22118 (do_test): Adjust expected output.
22119
22120 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22121
22122 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22123 (cosf): Define using libm_alias_float.
22124 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22125 (fabsf): Define using libm_alias_float.
22126 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22127 (fmaf): Define using libm_alias_float.
22128 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22129 (rintf): Define using libm_alias_float.
22130 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22131 (sinf): Define using libm_alias_float.
22132 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22133 <libm-alias-float.h>.
22134 (modff): Define using libm_alias_float.
22135 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22136 <libm-alias-float.h>.
22137 (logbf): Define using libm_alias_float.
22138 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22139 <libm-alias-float.h>.
22140 (ceilf): Define using libm_alias_float.
22141 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22142 <libm-alias-float.h>.
22143 (copysignf): Define using libm_alias_float.
22144 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22145 <libm-alias-float.h>.
22146 (floorf): Define using libm_alias_float.
22147 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22148 <libm-alias-float.h>.
22149 (llrintf): Define using libm_alias_float.
22150 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22151 <libm-alias-float.h>.
22152 (llroundf): Define using libm_alias_float.
22153 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22154 <libm-alias-float.h>.
22155 (lrintf): Define using libm_alias_float.
22156 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22157 <libm-alias-float.h>.
22158 (lroundf): Define using libm_alias_float.
22159 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22160 <libm-alias-float.h>.
22161 (nearbyintf): Define using libm_alias_float.
22162 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22163 <libm-alias-float.h>.
22164 (rintf): Define using libm_alias_float.
22165 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22166 <libm-alias-float.h>.
22167 (roundf): Define using libm_alias_float.
22168 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22169 <libm-alias-float.h>.
22170 (truncf): Define using libm_alias_float.
22171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22172 Include <libm-alias-float.h>.
22173 (ceilf): Define using libm_alias_float.
22174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22175 Include <libm-alias-float.h>.
22176 (copysignf): Define using libm_alias_float.
22177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22178 Include <libm-alias-float.h>.
22179 (floorf): Define using libm_alias_float.
22180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22181 Include <libm-alias-float.h>.
22182 (llrintf): Define using libm_alias_float.
22183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22184 Include <libm-alias-float.h>.
22185 (llroundf): Define using libm_alias_float.
22186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22187 Include <libm-alias-float.h>.
22188 (logbf): Define using libm_alias_float.
22189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22190 Include <libm-alias-float.h>.
22191 (lrintf): Define using libm_alias_float.
22192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22193 Include <libm-alias-float.h>.
22194 (lroundf): Define using libm_alias_float.
22195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22196 Include <libm-alias-float.h>.
22197 (modff): Define using libm_alias_float.
22198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22199 Include <libm-alias-float.h>.
22200 (roundf): Define using libm_alias_float.
22201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22202 Include <libm-alias-float.h>.
22203 (truncf): Define using libm_alias_float.
22204 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22205 <libm-alias-float.h>.
22206 (llrintf): Define using libm_alias_float.
22207 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22208 <libm-alias-float.h>.
22209 (llroundf): Define using libm_alias_float.
22210 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22211 <libm-alias-float.h>.
22212 (ceilf): Define using libm_alias_float.
22213 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22214 <libm-alias-float.h>.
22215 (floorf): Define using libm_alias_float.
22216 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22217 <libm-alias-float.h>.
22218 (llroundf): Define using libm_alias_float.
22219 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22220 <libm-alias-float.h>.
22221 (lroundf): Define using libm_alias_float.
22222 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22223 <libm-alias-float.h>.
22224 (roundf): Define using libm_alias_float.
22225 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22226 <libm-alias-float.h>.
22227 (truncf): Define using libm_alias_float.
22228 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22229 <libm-alias-float.h>.
22230 (copysignf): Define using libm_alias_float.
22231 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22232 <libm-alias-float.h>.
22233 (llrintf): Define using libm_alias_float.
22234 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22235 <libm-alias-float.h>.
22236 (llroundf): Define using libm_alias_float.
22237 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22238 <libm-alias-float.h>.
22239 (lrintf): Define using libm_alias_float.
22240 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22241 <libm-alias-float.h>.
22242 (lroundf): Define using libm_alias_float.
22243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22244 <libm-alias-float.h>.
22245 (ceilf): Define using libm_alias_float.
22246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22247 <libm-alias-float.h>.
22248 (copysignf): Define using libm_alias_float.
22249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22250 <libm-alias-float.h>.
22251 (cosf): Define using libm_alias_float.
22252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22253 <libm-alias-float.h>.
22254 (floorf): Define using libm_alias_float.
22255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22256 <libm-alias-float.h>.
22257 (llrintf): Define using libm_alias_float.
22258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22259 <libm-alias-float.h>.
22260 (llroundf): Define using libm_alias_float.
22261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22262 <libm-alias-float.h>.
22263 (logbf): Define using libm_alias_float.
22264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22265 <libm-alias-float.h>.
22266 (modff): Define using libm_alias_float.
22267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22268 <libm-alias-float.h>.
22269 (roundf): Define using libm_alias_float.
22270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22271 <libm-alias-float.h>.
22272 (sinf): Define using libm_alias_float.
22273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22274 <libm-alias-float.h>.
22275 (truncf): Define using libm_alias_float.
22276 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22277 <libm-alias-float.h>.
22278 (ceilf): Define using libm_alias_float.
22279 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22280 <libm-alias-float.h>.
22281 (copysignf): Define using libm_alias_float.
22282 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22283 <libm-alias-float.h>.
22284 (floorf): Define using libm_alias_float.
22285 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22286 <libm-alias-float.h>.
22287 (llrintf): Define using libm_alias_float.
22288 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22289 <libm-alias-float.h>.
22290 (llroundf): Define using libm_alias_float.
22291 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22292 <libm-alias-float.h>.
22293 (nearbyintf): Define using libm_alias_float.
22294 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22295 <libm-alias-float.h>.
22296 (rintf): Define using libm_alias_float.
22297 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22298 <libm-alias-float.h>.
22299 (roundf): Define using libm_alias_float.
22300 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22301 <libm-alias-float.h>.
22302 (truncf): Define using libm_alias_float.
22303 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22304 <libm-alias-float.h>.
22305 (ceilf): Define using libm_alias_float.
22306 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22307 <libm-alias-float.h>.
22308 (floorf): Define using libm_alias_float.
22309 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22310 <libm-alias-float.h>.
22311 (llroundf): Define using libm_alias_float.
22312 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22313 <libm-alias-float.h>.
22314 (roundf): Define using libm_alias_float.
22315 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22316 <libm-alias-float.h>.
22317 (truncf): Define using libm_alias_float.
22318 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22319 <libm-alias-float.h>.
22320 (copysignf): Define using libm_alias_float.
22321 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22322 <libm-alias-float.h>.
22323 (llrintf): Define using libm_alias_float.
22324 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22325 <libm-alias-float.h>.
22326 (llroundf): Define using libm_alias_float.
22327 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22328 <libm-alias-float.h>.
22329 (cosf): Define using libm_alias_float.
22330 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22331 <libm-alias-float.h>.
22332 (llrintf): Define using libm_alias_float.
22333 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22334 <libm-alias-float.h>.
22335 (llroundf): Define using libm_alias_float.
22336 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22337 <libm-alias-float.h>.
22338 (sinf): Define using libm_alias_float.
22339
22340 2017-12-04 Florian Weimer <fweimer@redhat.com>
22341
22342 * support/check.h (TEST_COMPARE): Define.
22343 (support_test_compare_failure): Declare.
22344 * support/Makefile (libsupport-routines): Add
22345 support_test_compare_failure.
22346 (tests): Add tst-test_compare.
22347 * support /support_test_compare_failure.c: New file.
22348 * support/tst-test_compare.c: Likewise.
22349
22350 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22351
22352 [BZ #22527]
22353 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22354 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22355 available, this rewrite of the collation rules does reproduce
22356 the test file in the same order.
22357
22358 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22359
22360 [BZ #10580]
22361 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22362 digraphs in the month and day names. Using single code points for
22363 digraphs is deprecated. While there are dedicated Unicode
22364 codepoints, for the digraphs, these are included for backwards
22365 compatibility and modern texts use a sequence of Basic Latin
22366 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22367 This makes the month and day names agree exactly with CLDR now,
22368 CLDR does not use the single code points for the digraphs either.
22369
22370 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22371
22372 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22373
22374 2017-12-04 Joseph Myers <joseph@codesourcery.com>
22375
22376 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22377 of floor.
22378
22379 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22380
22381 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22382 Define only for libc.so.
22383
22384 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22385
22386 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22387 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
22388 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
22389 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22390 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22391
22392 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22393
22394 [BZ #5997]
22395 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22396
22397 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
22398
22399 [BZ libc/19170]
22400 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22401 PREINIT_FUNCTION_WEAK is nonzero.
22402 (gmon_initializer): New function. Put procedure label for it in
22403 .init_array section.
22404 (_init): Don't call PREINIT_FUNCTION.
22405 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22406 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22407 value when map argument is null.
22408
22409 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22410 depi instruction from PIC pc-relative sequence.
22411 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22412 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22413 (elf_machine_load_address): Likewise.
22414 (elf_machine_runtime_setup): Likewise.
22415
22416 2017-12-02 Joseph Myers <joseph@codesourcery.com>
22417
22418 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22419 <libm-alias-double.h>.
22420 (logb): Define using libm_alias_double.
22421 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22422 <libm-alias-double.h>.
22423 (copysign): Define using libm_alias_double.
22424 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22425 <libm-alias-double.h>.
22426 (llrint): Define using libm_alias_double.
22427 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22428 <libm-alias-double.h>.
22429 (llround): Define using libm_alias_double.
22430 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22431 <libm-alias-double.h>.
22432 (lrint): Define using libm_alias_double.
22433 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22434 <libm-alias-double.h>.
22435 (lround): Define using libm_alias_double.
22436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22437 Include <libm-alias-double.h>.
22438 (copysign): Define using libm_alias_double.
22439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22440 Include <libm-alias-double.h>.
22441 (llrint): Define using libm_alias_double.
22442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22443 Include <libm-alias-double.h>.
22444 (llround): Define using libm_alias_double.
22445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22446 <libm-alias-double.h>.
22447 (logb): Define using libm_alias_double.
22448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22449 Include <libm-alias-double.h>.
22450 (lrint): Define using libm_alias_double.
22451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22452 Include <libm-alias-double.h>.
22453 (lround): Define using libm_alias_double.
22454 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22455 <libm-alias-double.h>.
22456 (llrint): Define using libm_alias_double.
22457 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22458 <libm-alias-double.h>.
22459 (llround): Define using libm_alias_double.
22460 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22461 <libm-alias-double.h>.
22462 (llround): Define using libm_alias_double.
22463 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22464 <libm-alias-double.h>.
22465 (lround): Define using libm_alias_double.
22466 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22467 <libm-alias-double.h>.
22468 (copysign): Define using libm_alias_double.
22469 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22470 <libm-alias-double.h>.
22471 (llrint): Define using libm_alias_double.
22472 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22473 <libm-alias-double.h>.
22474 (llround): Define using libm_alias_double.
22475 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22476 <libm-alias-double.h>.
22477 (lrint): Define using libm_alias_double.
22478 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22479 <libm-alias-double.h>.
22480 (lround): Define using libm_alias_double.
22481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22482 <libm-alias-double.h>.
22483 (copysign): Define using libm_alias_double.
22484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22485 <libm-alias-double.h>.
22486 (llrint): Define using libm_alias_double.
22487 (lrint): Likewise.
22488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22489 <libm-alias-double.h>.
22490 (llround): Define using libm_alias_double.
22491 (lround): Likewise.
22492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22493 <libm-alias-double.h>.
22494 (logb): Define using libm_alias_double.
22495 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22496 <libm-alias-double.h>.
22497 (copysign): Define using libm_alias_double.
22498 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22499 <libm-alias-double.h>.
22500 (llrint): Define using libm_alias_double.
22501 (lrint): Likewise.
22502 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22503 <libm-alias-double.h>.
22504 (llround): Define using libm_alias_double.
22505 (lround): Likewise.
22506 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22507 <libm-alias-double.h>.
22508 (llround): Define using libm_alias_double.
22509 (lround): Likewise.
22510 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22511 <libm-alias-double.h>.
22512 (copysign): Define using libm_alias_double.
22513 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22514 <libm-alias-double.h>.
22515 (llrint): Define using libm_alias_double.
22516 (lrint): Likewise.
22517 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22518 <libm-alias-double.h>.
22519 (llround): Define using libm_alias_double.
22520 (lround): Likewise.
22521 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22522 <libm-alias-double.h>.
22523 (llrint): Define using libm_alias_double.
22524 (lrint): Likewise.
22525 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22526 <libm-alias-double.h>.
22527 (llround): Define using libm_alias_double.
22528 (lround): Likewise.
22529
22530 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22531
22532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22533 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22534 compat symbol based on llround.
22535
22536 * sysdeps/powerpc/power7/fpu/s_logb.c
22537 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22538 symbol based on __logb, not on logb.
22539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22540 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22542 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22543
22544 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22545 (rint): Define using libm_alias_double.
22546 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22547 <libm-alias-double.h>.
22548 (modf): Define using libm_alias_double.
22549 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22550 <libm-alias-double.h>.
22551 (ceil): Define using libm_alias_double.
22552 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22553 <libm-alias-double.h>.
22554 (floor): Define using libm_alias_double.
22555 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22556 <libm-alias-double.h>.
22557 (nearbyint): Define using libm_alias_double.
22558 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22559 <libm-alias-double.h>.
22560 (rint): Define using libm_alias_double.
22561 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22562 <libm-alias-double.h>.
22563 (round): Define using libm_alias_double.
22564 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22565 <libm-alias-double.h>.
22566 (trunc): Define using libm_alias_double.
22567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22568 <libm-alias-double.h>.
22569 (ceil): Define using libm_alias_double.
22570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22571 Include <libm-alias-double.h>.
22572 (floor): Define using libm_alias_double.
22573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22574 <libm-alias-double.h>.
22575 (modf): Define using libm_alias_double.
22576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22577 Include <libm-alias-double.h>.
22578 (round): Define using libm_alias_double.
22579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22580 Include <libm-alias-double.h>.
22581 (trunc): Define using libm_alias_double.
22582 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22583 <libm-alias-double.h>.
22584 (ceil): Define using libm_alias_double.
22585 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22586 <libm-alias-double.h>.
22587 (floor): Define using libm_alias_double.
22588 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22589 <libm-alias-double.h>.
22590 (round): Define using libm_alias_double.
22591 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22592 <libm-alias-double.h>.
22593 (trunc): Define using libm_alias_double.
22594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22595 <libm-alias-double.h>.
22596 (ceil): Define using libm_alias_double.
22597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22598 <libm-alias-double.h>.
22599 (floor): Define using libm_alias_double.
22600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22601 <libm-alias-double.h>.
22602 (modf): Define using libm_alias_double.
22603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22604 <libm-alias-double.h>.
22605 (round): Define using libm_alias_double.
22606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22607 <libm-alias-double.h>.
22608 (trunc): Define using libm_alias_double.
22609 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22610 <libm-alias-double.h>.
22611 (ceil): Define using libm_alias_double.
22612 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22613 <libm-alias-double.h>.
22614 (floor): Define using libm_alias_double.
22615 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22616 <libm-alias-double.h>.
22617 (nearbyint): Define using libm_alias_double.
22618 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22619 <libm-alias-double.h>.
22620 (rint): Define using libm_alias_double.
22621 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22622 <libm-alias-double.h>.
22623 (round): Define using libm_alias_double.
22624 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22625 <libm-alias-double.h>.
22626 (trunc): Define using libm_alias_double.
22627 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22628 <libm-alias-double.h>.
22629 (ceil): Define using libm_alias_double.
22630 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22631 <libm-alias-double.h>.
22632 (floor): Define using libm_alias_double.
22633 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22634 <libm-alias-double.h>.
22635 (round): Define using libm_alias_double.
22636 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22637 <libm-alias-double.h>.
22638 (trunc): Define using libm_alias_double.
22639
22640 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22641 (fabs): Define using libm_alias_double.
22642 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22643 (fma): Define using libm_alias_double.
22644 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22645 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22646 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22647 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22648
22649 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22650
22651 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22652
22653 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22654 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22655 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22656
22657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22658 due redirect macro.
22659
22660 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22661
22662 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22663
22664 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22665
22666 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22667 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22668 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22669 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22670
22671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22672 (libm-sysdep_routines): Add s_nearbyintf-generic and
22673 s_nearbyint-generic.
22674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22675 New file.
22676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22678 Likewise.
22679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22680 Likewise.
22681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22682 file.
22683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22684 Likewise.
22685
22686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22687 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22689 file.
22690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22692 Likewise.
22693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22696
22697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22698 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22700 file.
22701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22703 Likewise.
22704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22707
22708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22709 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22711 file.
22712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22714 Likewise.
22715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22718
22719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22720 (sysdep_calls): New rule.
22721 (sysdep_routines): Use sysdep_calls as base.
22722 (libm-sysdep_routines): Add generic rule for symbols shared with
22723 libc. Add s_copysign-generic and s_copysign-generic objects.
22724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22725 New file.
22726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22728 Likewise.
22729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22732
22733 2017-12-01 Mike FABIAN <mfabian@redhat.com>
22734
22735 [BZ #22519]
22736 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22737 the list of locales to be built for testing.
22738 * localedata/is_IS.UTF-8.in: New file.
22739 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22740 on iso14651_t1.
22741
22742 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22743
22744 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22745 <libm-alias-float.h>.
22746 (fabsf): Define using libm_alias_float.
22747
22748 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22749
22750 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22751
22752 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22753
22754 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22755 <libm-alias-float.h>.
22756 (fabsf): Define using libm_alias_float.
22757 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22758 <libm-alias-float.h>.
22759 (lrintf): Define using libm_alias_float.
22760 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22761 <libm-alias-float.h>.
22762 (rintf): Define using libm_alias_float.
22763
22764 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22765 <libm-alias-double.h>.
22766 (fabs): Define using libm_alias_double.
22767 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22768 <libm-alias-double.h>.
22769 (lrint): Define using libm_alias_double.
22770 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22771 <libm-alias-double.h>.
22772 (rint): Define using libm_alias_double.
22773
22774 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22775 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22776 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22777 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22778 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22779 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22780 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22781 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22782 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22783 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22784 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22785 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22786 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22787 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22788 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22789 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22790 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22791 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22792 s_atan_template.c.
22793 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22794 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22795 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22796 s_ceil_template.c.
22797 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22798 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22799 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22800 s_cos_template.c.
22801 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22802 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22803 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22804 s_expm1_template.c.
22805 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22806 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22807 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22808 s_fabs_template.c.
22809 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22810 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22811 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22812 s_floor_template.c.
22813 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22814 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22815 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22816 s_frexp_template.c.
22817 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22818 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22819 s_lrint_template.c.
22820 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22821 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22822 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22823 s_modf_template.c.
22824 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22825 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22826 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22827 s_nearbyint_template.c.
22828 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22829 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22830 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22831 s_remquo_template.c.
22832 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22833 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22834 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22835 s_rint_template.c.
22836 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22837 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22838 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22839 s_sin_template.c.
22840 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22841 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22842 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22843 s_sincos_template.c.
22844 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22845 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22846 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22847 s_tan_template.c.
22848 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22849 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22850 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22851 s_tanh_template.c.
22852 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22853 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22854 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22855 s_trunc_template.c.
22856 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22857 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22858 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22859 s_atan.c instead of including s_atan.c.
22860 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22861 s_atanf.c instead of including s_atanf.c.
22862 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22863 s_atanl.c instead of including s_atanl.c.
22864 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22865 instead of s_atan.c.
22866 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22867 instead of s_atanf.c.
22868 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22869 instead of s_atanl.c.
22870
22871 * scripts/update-copyrights: Do not handle intl/plural.c
22872 specially.
22873
22874 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22875
22876 [BZ #22432]
22877 * configure.ac (BISON): Require to be present.
22878 * configure: Regenerated.
22879 * intl/Makefile (generated): Add plural.c.
22880 [$(BISON) != no]: Make code unconditional.
22881 (plural.c): Change rule to $(objpfx)plural.c.
22882 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22883 * intl/plural.c: Remove.
22884 * manual/install.texi (Tools for Compilation): Document bison as
22885 required.
22886 * INSTALL: Regenerated.
22887
22888 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22889
22890 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22891 <libm-alias-double.h>.
22892 (llrint): Define using libm_alias_double.
22893 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22894 <libm-alias-float.h>.
22895 (llrintf): Define using libm_alias_float.
22896 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22897 <libm-alias-ldouble.h>.
22898 (llrintl): Define using libm_alias_ldouble.
22899
22900 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22901 declare_mgen_alias instead of weak_alias.
22902 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22903 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22904 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22905
22906 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22907
22908 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22909 Add add_n-generic.
22910 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22911 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22912 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22913
22914 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22915 Add submul_1-generic.
22916 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22917 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22918 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22919
22920 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22921 Add addmul_1-generic.
22922 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22923 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22924 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22925
22926 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22927 Add sub_n-generic.
22928 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22929 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22930 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22931
22932 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22933 Add mul_1-generic.
22934 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22935 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22936 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22937
22938 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22939
22940 According to CLDR, collation rules for Serbian and Bosnian
22941 should be the same as for Croatian.
22942
22943 [BZ #22534]
22944 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22945 and to the list of locales to be built for testing.
22946 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22947 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22948 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22949 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22950
22951 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22952
22953 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22954 to make test case pass.
22955 * localedata/hr_HR.UTF-8.in: Add more test strings.
22956
22957 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22958
22959 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22960
22961 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22962
22963 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22964 the list of locales to built for testing.
22965 * localedata/hr_HR.UTF-8.in: New file.
22966
22967 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22968
22969 [BZ #10580]
22970 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22971 iso14651_t1.
22972 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22973 CLDR (except use ligatures for the digraphs, CLDR does not use
22974 the ligatures), add first_workday, some fixes in the date and time
22975 formats.
22976 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22977 for Đ and đ.
22978 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22979 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22980 Add int_p_cs_precedes and int_n_cs_precedes.
22981 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22982 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22983 LC_MONETARY now).
22984 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22985 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22986 name_miss.
22987 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22988 and lang_lib. Change postal_fmt.
22989
22990 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22991
22992 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22993 <setjmp.h>.
22994 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22995 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22996 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22997 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22998 * sysdeps/generic/setjmpP.h: New file.
22999 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23000 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23001 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23002 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23003 Add jmp_buf-ssp.sym.
23004 (tests): Add tst-saved_mask-1.
23005
23006 2017-11-30 Arjun Shankar <arjun@redhat.com>
23007
23008 [BZ #22375]
23009 CVE-2017-17426
23010 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23011 instead of request2size.
23012
23013 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23014
23015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23016 (__lllrint): Remove alias.
23017 (lllrint): Likewise.
23018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23019 (__lllrintf): Likewise.
23020 (lllrintf): Likewise.
23021
23022 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23023 <libm-alias-float.h>.
23024 (copysignf): Define using libm_alias_float.
23025 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23026 <libm-alias-float.h>.
23027 (fabsf): Define using libm_alias_float.
23028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23029 Include <libm-alias-float.h>.
23030 (copysignf): Define using libm_alias_float.
23031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23032 <libm-alias-float.h>.
23033 (fabsf): Define using libm_alias_float.
23034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23035 <libm-alias-float.h>.
23036 (fdimf): Define using libm_alias_float.
23037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23038 <libm-alias-float.h>.
23039 (fmaf): Define using libm_alias_float.
23040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23041 <libm-alias-float.h>.
23042 (llrintf): Define using libm_alias_float.
23043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23044 Include <libm-alias-float.h>.
23045 (nearbyintf): Define using libm_alias_float.
23046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23047 <libm-alias-float.h>.
23048 (rintf): Define using libm_alias_float.
23049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23050 <libm-alias-float.h>.
23051 (llrintf): Define using libm_alias_float.
23052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23053 <libm-alias-float.h>.
23054 (lrintf): Define using libm_alias_float.
23055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23056 <libm-alias-float.h>.
23057 (nearbyintf): Define using libm_alias_float.
23058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23059 <libm-alias-float.h>.
23060 (rintf): Define using libm_alias_float.
23061 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23062 <libm-alias-float.h>.
23063 (ceilf): Define using libm_alias_float.
23064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23065 <libm-alias-float.h>.
23066 (floorf): Define using libm_alias_float.
23067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23068 <libm-alias-float.h>.
23069 (fmaf): Define using libm_alias_float.
23070 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23071 <libm-alias-float.h>.
23072 (lrintf): Define using libm_alias_float.
23073 (llrintf): Likewise.
23074 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23075 <libm-alias-float.h>.
23076 (nearbyintf): Define using libm_alias_float.
23077 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23078 <libm-alias-float.h>.
23079 (rintf): Define using libm_alias_float.
23080 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23081 <libm-alias-float.h>.
23082 (truncf): Define using libm_alias_float.
23083 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23084 <libm-alias-float.h>.
23085 (copysignf): Define using libm_alias_float.
23086 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23087 <libm-alias-float.h>.
23088 (fabsf): Define using libm_alias_float.
23089 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23090 <libm-alias-float.h>.
23091 (lrintf): Define using libm_alias_float.
23092 (llrintf): Likewise.
23093 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23094 <libm-alias-float.h>.
23095 (nearbyintf): Define using libm_alias_float.
23096 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23097 <libm-alias-float.h>.
23098 (rintf): Define using libm_alias_float.
23099
23100 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23101
23102 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23103 <libm-alias-double.h>.
23104 (copysign): Define using libm_alias_double.
23105 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23106 <libm-alias-double.h>.
23107 (fabs): Define using libm_alias_double.
23108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23109 Include <libm-alias-double.h>.
23110 (copysign): Define using libm_alias_double.
23111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23112 <libm-alias-double.h>.
23113 (fabs): Define using libm_alias_double.
23114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23115 <libm-alias-double.h>.
23116 (fdim): Define using libm_alias_double.
23117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23118 <libm-alias-double.h>.
23119 (fma): Define using libm_alias_double.
23120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23121 <libm-alias-double.h>.
23122 (llrint): Define using libm_alias_double.
23123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23124 Include <libm-alias-double.h>.
23125 (nearbyint): Define using libm_alias_double.
23126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23127 <libm-alias-double.h>.
23128 (rint): Define using libm_alias_double.
23129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23130 <libm-alias-double.h>.
23131 (fabs): Define using libm_alias_double.
23132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23133 <libm-alias-double.h>.
23134 (llrint): Define using libm_alias_double.
23135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23136 <libm-alias-double.h>.
23137 (nearbyint): Define using libm_alias_double.
23138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23139 <libm-alias-double.h>.
23140 (rint): Define using libm_alias_double.
23141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23142 <libm-alias-double.h>.
23143 (ceil): Define using libm_alias_double.
23144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23145 <libm-alias-double.h>.
23146 (floor): Define using libm_alias_double.
23147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23148 <libm-alias-double.h>.
23149 (fma): Define using libm_alias_double.
23150 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23151 <libm-alias-double.h>.
23152 (lrint): Define using libm_alias_double.
23153 (llrint): Likewise.
23154 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23155 <libm-alias-double.h>.
23156 (nearbyint): Define using libm_alias_double.
23157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23158 <libm-alias-double.h>.
23159 (rint): Define using libm_alias_double.
23160 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23161 <libm-alias-double.h>.
23162 (trunc): Define using libm_alias_double.
23163 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23164 <libm-alias-double.h>.
23165 (copysign): Define using libm_alias_double.
23166 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23167 <libm-alias-double.h>.
23168 (fabs): Define using libm_alias_double.
23169 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23170 <libm-alias-double.h>.
23171 (lrint): Define using libm_alias_double.
23172 (llrint): Likewise.
23173 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23174 <libm-alias-double.h>.
23175 (nearbyint): Define using libm_alias_double.
23176 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23177 <libm-alias-double.h>.
23178 (rint): Define using libm_alias_double.
23179
23180 [BZ #22229]
23181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23182 <math_ldbl_opt.h>.
23183 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23184
23185 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23186 SPARC --disable-multi-arch glibc variants.
23187
23188 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23189 <libm-alias-float.h>.
23190 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23191 if [SHARED].
23192 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23193 <libm-alias-float.h>.
23194 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23195 if [SHARED].
23196 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23197 <libm-alias-float.h>.
23198 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23199 if [SHARED].
23200 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23201 <libm-alias-float.h>.
23202 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23203 if [SHARED].
23204 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23205 <libm-alias-float.h>.
23206 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23207 if [SHARED].
23208 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23209 <libm-alias-float.h>.
23210 (ceilf): Define using libm_alias_float.
23211 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23212 <libm-alias-float.h>.
23213 (floorf): Define using libm_alias_float.
23214 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23215 <libm-alias-float.h>.
23216 (fmaf): Define using libm_alias_float.
23217 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23218 <libm-alias-float.h>.
23219 (nearbyintf): Define using libm_alias_float.
23220 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23221 <libm-alias-float.h>.
23222 (rintf): Define using libm_alias_float.
23223 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23224 <libm-alias-float.h>.
23225 (truncf): Define using libm_alias_float.
23226 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23227 (copysignf): Define using libm_alias_float.
23228 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23229 (cosf): Define using libm_alias_float.
23230 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23231 (fabsf): Define using libm_alias_float.
23232 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23233 (fmaxf): Define using libm_alias_float.
23234 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23235 (fminf): Define using libm_alias_float.
23236 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23237 (llrintf): Define using libm_alias_float.
23238 [!__ILP32__] (lrintf): Likewise.
23239 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23240 (sincosf): Define using libm_alias_float.
23241 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23242 (sinf): Define using libm_alias_float.
23243 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23244 (lrintf): Define using libm_alias_float.
23245
23246 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23247 <libm-alias-double.h>.
23248 (atan): Define using libm_alias_double.
23249 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23250 <libm-alias-double.h>.
23251 (ceil): Define using libm_alias_double.
23252 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23253 <libm-alias-double.h>.
23254 (floor): Define using libm_alias_double.
23255 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23256 <libm-alias-double.h>.
23257 (fma): Define using libm_alias_double.
23258 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23259 <libm-alias-double.h>.
23260 (nearbyint): Define using libm_alias_double.
23261 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23262 <libm-alias-double.h>.
23263 (rint): Define using libm_alias_double.
23264 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23265 <libm-alias-double.h>.
23266 (sin): Define using libm_alias_double.
23267 (cos): Likewise.
23268 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23269 <libm-alias-double.h>.
23270 (tan): Define using libm_alias_double.
23271 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23272 <libm-alias-double.h>.
23273 (trunc): Define using libm_alias_double.
23274 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23275 (copysign): Define using libm_alias_double.
23276 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23277 (fabs): Define using libm_alias_double.
23278 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23279 (fmax): Define using libm_alias_double.
23280 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23281 (fmin): Define using libm_alias_double.
23282 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23283 (llrint): Define using libm_alias_double.
23284 [!__ILP32__] (lrint): Likewise.
23285 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23286 (lrint): Define using libm_alias_double.
23287
23288 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23289
23290 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23291 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23292 objects.
23293 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23294 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23295 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23296 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23297 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23299
23300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23301 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23302 objects.
23303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23304 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23305 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23306 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23307 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23308 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23309
23310 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23311 (libm-sysdep_routines): Add s_nearbyint-generic and
23312 s_nearbyintf-generic objects.
23313 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23314 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23315 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23316 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23317 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23318 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23319
23320 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23321 Add s_finitef-generic and s_finite-generic objects.
23322 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23323 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23324 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23325 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23326 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23327 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23328
23329 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23330 Add s_isinff-generic and s_isinf-generic objects.
23331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23337
23338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23339 Add s_isnanf-generic and s_isnan-generic objects.
23340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23341 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23346
23347 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23348 macro.
23349 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23350 rule.
23351 (sysdep_routines): Use sysdep_calls as base.
23352 (libm-sysdep_routines): Add generic rule for symbols shared with
23353 libc. Add s_signbit-generic and s_signbitf-generic objects.
23354 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23355 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23356 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23357 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23358 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23359 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23360
23361 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23362
23363 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23364 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23365 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23366 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23367 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23368 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23369 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23370 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23371 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23372 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23373 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23374 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23375 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23376 libm_alias_float_r.
23377 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23378 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23379 (logf): Likewise.
23380 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23381 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23382 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23383 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23384 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23385 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23386 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23387 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23388 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23389 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23390 libm_alias_float.
23391 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23392 (cosf): Likewise.
23393 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23394 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23395 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23396 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23397 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23398 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23399 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23400 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23401 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23402 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23403 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23404 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23405 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23406 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23407 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23408 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23409 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23410 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23411 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23412 libm_alias_float.
23413 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23414 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23415 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23416 * sysdeps/ia64/fpu/w_lgammaf_main.c
23417 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23418 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23419
23420 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23421 Alexandre Oliva <aoliva@redhat.com>
23422
23423 [BZ #17750]
23424 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23425 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23426 accents sorting.
23427 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23428 sorting.
23429 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23430 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23431 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23432 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23433 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23434 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23435 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23436 instead of “ifdef DIACRIT_BACKWARD”.
23437
23438 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23439
23440 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23441 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23442 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23443 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23444 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23445 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23452 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23453 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23454 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23455 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23456 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23457 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23459 ($(have-as-vis3) == yes): Remove conditional.
23460 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23461 Likewise.
23462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23463 file.
23464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23465 file.
23466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23467 file.
23468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23469 file.
23470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23473 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23476 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23477 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23478
23479 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23480
23481 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23482 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23483 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23484 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23485 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23486 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23487 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23488 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23489 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23490 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23491 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23492 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23493 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23494 libm_alias_double_r.
23495 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23496 (log): Likewise.
23497 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23498 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23499 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23500 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23501 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23502 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23503 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23504 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23505 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23506 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23507 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23508 libm_alias_double.
23509 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23510 (cos): Likewise.
23511 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23512 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23513 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23514 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23515 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23516 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23517 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23518 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23519 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23520 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23521 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23522 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23523 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23524 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23525 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23526 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23527 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23528 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23529 libm_alias_double.
23530 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23531 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23532 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23533 * sysdeps/ia64/fpu/w_lgamma_main.c
23534 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23535 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23536
23537 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
23538
23539 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23540 address of $global$ into %dp register earlier. Use pc-relative
23541 instruction sequence for PIC case.
23542
23543 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23544
23545 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23546 (asinhf): Define using libm_alias_float.
23547 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23548 (atanf): Define using libm_alias_float.
23549 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23550 (cbrtf): Define using libm_alias_float.
23551 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23552 (ceilf): Define using libm_alias_float.
23553 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23554 (copysignf): Define using libm_alias_float.
23555 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23556 (expm1f): Define using libm_alias_float.
23557 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23558 (fabsf): Define using libm_alias_float.
23559 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23560 (floorf): Define using libm_alias_float.
23561 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23562 (fmaxf): Define using libm_alias_float.
23563 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23564 (fminf): Define using libm_alias_float.
23565 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23566 (frexpf): Define using libm_alias_float.
23567 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23568 (llrintf): Define using libm_alias_float.
23569 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23570 (logbf): Define using libm_alias_float.
23571 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23572 (lrintf): Define using libm_alias_float.
23573 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23574 (nearbyintf): Define using libm_alias_float.
23575 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23576 (remquof): Define using libm_alias_float.
23577 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23578 (rintf): Define using libm_alias_float.
23579 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23580 (truncf): Define using libm_alias_float.
23581 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23582 <libm-alias-float.h>.
23583 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23584 if [SHARED].
23585 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23586 <libm-alias-float.h>.
23587 (expf): Define using libm_alias_float, or libm_alias_float_other
23588 if [SHARED].
23589 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23590 <libm-alias-float.h>.
23591 (log2f): Define using libm_alias_float, or libm_alias_float_other
23592 if [SHARED].
23593 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23594 <libm-alias-float.h>.
23595 (logf): Define using libm_alias_float, or libm_alias_float_other
23596 if [SHARED].
23597 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23598 <libm-alias-float.h>.
23599 (powf): Define using libm_alias_float, or libm_alias_float_other
23600 if [SHARED].
23601 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23602 <libm-alias-float.h>.
23603 (cosf): Define using libm_alias_float.
23604 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23605 <libm-alias-float.h>.
23606 (sincosf): Define using libm_alias_float.
23607 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23608 <libm-alias-float.h>.
23609 (sinf): Define using libm_alias_float.
23610 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23611 (fmaxf): Define using libm_alias_float.
23612 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23613 (fminf): Define using libm_alias_float.
23614 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23615 <libm-alias-float.h>.
23616 (fmaf): Define using libm_alias_float.
23617
23618 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23619 (asinh): Define using libm_alias_double.
23620 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23621 (atan): Define using libm_alias_double.
23622 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23623 (cbrt): Define using libm_alias_double.
23624 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23625 (ceil): Define using libm_alias_double.
23626 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23627 (copysign): Define using libm_alias_double.
23628 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23629 (expm1): Define using libm_alias_double.
23630 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23631 (fabs): Define using libm_alias_double.
23632 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23633 (fdim): Define using libm_alias_double.
23634 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23635 (floor): Define using libm_alias_double.
23636 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23637 (fmax): Define using libm_alias_double.
23638 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23639 (fmin): Define using libm_alias_double.
23640 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23641 (frexp): Define using libm_alias_double.
23642 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23643 (llrint): Define using libm_alias_double.
23644 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23645 (logb): Define using libm_alias_double.
23646 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23647 (lrint): Define using libm_alias_double.
23648 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23649 (nearbyint): Define using libm_alias_double.
23650 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23651 (remquo): Define using libm_alias_double.
23652 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23653 (rint): Define using libm_alias_double.
23654 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23655 (trunc): Define using libm_alias_double.
23656 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23657 (fmax): Define using libm_alias_double.
23658 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23659 (fmin): Define using libm_alias_double.
23660 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23661 (fma): Define using libm_alias_double.
23662
23663 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23664
23665 [BZ #22370]
23666 * elf/dl-hwcaps.c (ROUND): Removed.
23667 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23668 and ELF_NOTE_NEXT_OFFSET.
23669 * elf/dl-load.c (ROUND): Removed.
23670 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23671 * elf/readelflib.c (ROUND): Removed.
23672 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23673 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23674 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23675 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23676
23677 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23678
23679 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23680 [!__fmaf] (fmaf): Define using libm_alias_float.
23681
23682 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23683 [!__fma] (fma): Define using libm_alias_double.
23684 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23685
23686 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23687
23688 [BZ #22336]
23689 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23690 and implement the collation rules for cs from CLDR on top of that.
23691 * Makefile: Add cs_CZ.UTF-8 to test-input.
23692 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23693
23694 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23695
23696 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23697
23698 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23699 Icarus Sparry <icarus.w.sparry@intel.com>
23700
23701 * benchtests/Makefile:Add BENCHSET to allow subsets of
23702 benchmarks to be run.
23703 * benchtests/README: Add documentation for: Running subsets of
23704 benchmarks.
23705
23706 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23707
23708 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23709 range of tests names.
23710
23711 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23712 result from property and remove "max", min" and "mean" from
23713 required properties based on benchtests/bench-skeleton.c.
23714
23715 2017-11-28 Florian Weimer <fweimer@redhat.com>
23716
23717 [BZ #20826]
23718 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23719 due to Internet requirement.
23720 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23721 tst-getaddrinfo5.
23722 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23723
23724 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23725
23726 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23727 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23728 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23729 (sysdep_routines): Add memset-ultra1.
23730 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23731 file.
23732 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23733 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23734 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23735 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23736 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23737 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23738 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23739 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23740
23741 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23742 file.
23743 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23744 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23745 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23746 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23747 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23748 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23749 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23750 macro.
23751 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23752 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23753 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23754 (sysdep_routines): Add memcpy-ultra1.
23755 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23756 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23757
23758 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23759
23760 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23761 (cfloat_versions): Take function argument without trailing 'f'.
23762 Call libm_alias_float_other.
23763 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23764 * sysdeps/alpha/fpu/cargf.c: Likewise.
23765 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23766 * sysdeps/alpha/fpu/conjf.c: Likewise.
23767 * sysdeps/alpha/fpu/crealf.c: Likewise.
23768 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23769 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23770 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23771 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23772 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23773 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23774 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23775 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23776 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23777 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23778 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23779 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23780 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23781 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23782 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23783 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23784 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23785 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23786 (clog10f): Use libm_alias_float_other.
23787 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23788 (ceilf): Define using libm_alias_float.
23789 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23790 (copysignf): Define using libm_alias_float.
23791 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23792 (fabsf): Define using libm_alias_float.
23793 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23794 (floorf): Define using libm_alias_float.
23795 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23796 (fmaxf): Define using libm_alias_float.
23797 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23798 (fminf): Define using libm_alias_float.
23799 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23800 (lrintf): Define using libm_alias_float.
23801 (llrintf): Likewise.
23802 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23803 (lroundf): Define using libm_alias_float.
23804 (llroundf): Likewise.
23805 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23806 (rintf): Define using libm_alias_float.
23807 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23808 (truncf): Define using libm_alias_float.
23809
23810 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23811 (ceilf): Define using libm_alias_float.
23812 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23813 (floorf): Define using libm_alias_float.
23814 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23815 (fmaf): Define using libm_alias_float.
23816 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23817 (fmaxf): Define using libm_alias_float.
23818 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23819 (fminf): Define using libm_alias_float.
23820 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23821 (llrintf): Define using libm_alias_float.
23822 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23823 (llroundf): Define using libm_alias_float.
23824 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23825 (lrintf): Define using libm_alias_float.
23826 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23827 (lroundf): Define using libm_alias_float.
23828 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23829 <libm-alias-float.h>.
23830 (nearbyintf): Define using libm_alias_float.
23831 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23832 (rintf): Define using libm_alias_float.
23833 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23834 (roundf): Define using libm_alias_float.
23835 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23836 (truncf): Define using libm_alias_float.
23837
23838 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23839 (ceil): Define using libm_alias_double.
23840 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23841 (copysign): Define using libm_alias_double.
23842 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23843 (fabs): Define using libm_alias_double.
23844 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23845 (floor): Define using libm_alias_double.
23846 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23847 (fmax): Define using libm_alias_double.
23848 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23849 (fmin): Define using libm_alias_double.
23850 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23851 (lrint): Define using libm_alias_double.
23852 (llrint): Likewise.
23853 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23854 (lround): Define using libm_alias_double.
23855 (llround): Likewise.
23856 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23857 (rint): Define using libm_alias_double.
23858 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23859 (trunc): Define using libm_alias_double.
23860
23861 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23862 (libm_alias_double_r): Add semicolon after weak_alias call.
23863
23864 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23865
23866 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23867 (ceil): Define using libm_alias_double.
23868 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23869 (floor): Define using libm_alias_double.
23870 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23871 (fma): Define using libm_alias_double.
23872 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23873 (fmax): Define using libm_alias_double.
23874 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23875 (fmin): Define using libm_alias_double.
23876 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23877 (llrint): Define using libm_alias_double.
23878 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23879 (llround): Define using libm_alias_double.
23880 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23881 (lrint): Define using libm_alias_double.
23882 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23883 (lround): Define using libm_alias_double.
23884 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23885 (nearbyint): Define using libm_alias_double.
23886 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23887 (rint): Define using libm_alias_double.
23888 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23889 (round): Define using libm_alias_double.
23890 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23891 (trunc): Define using libm_alias_double.
23892
23893 2017-11-27 Florian Weimer <fweimer@redhat.com>
23894
23895 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23896 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23897 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23898 (tests): Add tst-mlock2.
23899 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23900 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23901 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23902 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23903 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23904 for mlock. Document mlock2.
23905
23906 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23907
23908 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23909 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23910 Likewise.
23911 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23912 Likewise.
23913 * sysdeps/x86/Makeconfig: New file.
23914 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23915 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23916 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23917 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23918 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23919 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23920 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23921 Likewise.
23922 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23923 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23924 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23925 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23926 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23927 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23928 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23929 * manual/math.texi (Mathematics): Document support for _Float64x.
23930 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23931 * stdlib/Versions (GLIBC_2.27): Likewise.
23932 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23933 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23934 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23935 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23936 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23937 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23938 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23939 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23940 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23941 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23942 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23943 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23945 Likewise.
23946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23947 Likewise.
23948 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23949 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23950 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23951 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23952 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23953 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23954 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23955 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23956 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23957 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23958 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23959 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23960 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23961 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23962
23963 2017-11-27 Andreas Schwab <schwab@suse.de>
23964
23965 * elf/Makefile (dl-routines): Add dl-sort-maps.
23966 * elf/dl-sort-maps.c: New file.
23967 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23968 (_dl_sort_maps): Declare.
23969 * elf/dl-fini.c (_dl_sort_fini): Remove.
23970 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23971 * elf/dl-close.c (_dl_close_worker): Likewise.
23972 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23973 open-coding it.
23974 * elf/dl-open.c (dl_open_worker): Likewise.
23975
23976 2017-11-24 Joseph Myers <joseph@codesourcery.com>
23977
23978 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23979 using libm_alias_float128.
23980 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23981 Likewise.
23982 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23983 Likewise.
23984 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23985 (setpayloadsigf128): Likewise.
23986 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23987 Likewise.
23988 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23989 Likewise.
23990
23991 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23992 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23993 -mfloat128 to CFLAGS.
23994 ($(foreach
23995 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23996 Likewise.
23997 (CFLAGS-libm-test-support-float64x.c): New variable.
23998 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23999 $(f128-loader-link) to gnulib-tests.
24000
24001 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24002 (libm_alias_float128_other_r): If
24003 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24004 alias.
24005 (libm_alias_float128_r): Add semicolon after weak_alias call.
24006 * sysdeps/generic/libm-alias-ldouble.h
24007 (libm_alias_ldouble_other_r_f128): New macro.
24008 (libm_alias_ldouble_other_r_f64x): Likewise.
24009 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24010 and libm_alias_ldouble_other_r_f64x.
24011 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24012 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24013 (libm_alias_ldouble_other_r_f128): New macro.
24014 (libm_alias_ldouble_other_r_f64x): Likewise.
24015 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24016 and libm_alias_ldouble_other_r_f64x.
24017
24018 * stdlib/strfroml.c: Always include <stdlib.h>.
24019 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24020 undefine as macro and define as weak alias.
24021 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24022 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24023 <stdlib.h>.
24024 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24025 Define and later undefine as macro and define as weak alias.
24026
24027 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24028 Define and later undefine as macro. Define as weak alias if
24029 [!USE_WIDE_CHAR].
24030 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24031 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24032 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24033 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24034 Define and later undefine as macro. Define as weak alias if
24035 [!USE_WIDE_CHAR].
24036 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24037 Define and later undefine as macro. Define as weak alias if
24038 [USE_WIDE_CHAR].
24039 * sysdeps/ieee754/float128/strtof128_l.c
24040 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24041 Define and later undefine as macro. Define as weak alias if
24042 [!USE_WIDE_CHAR].
24043 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24044 Define and later undefine as macro. Define as weak alias if
24045 [USE_WIDE_CHAR].
24046 * sysdeps/ieee754/ldbl-128/strtold_l.c
24047 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24048 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24049 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24050 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24051 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24052 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24053 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24054 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24055 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24056 * sysdeps/ieee754/ldbl-96/strtold_l.c
24057 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24058 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24059 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24060 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24061
24062 * math/test-float64x.h: New file.
24063 * math/Makefile (type-float64x-yes): New variable.
24064 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24065
24066 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24067 function-like macro.
24068 (min_of_type_): Likewise.
24069 (min_of_type_l): Likewise.
24070 (min_of_type_f128): Likewise.
24071 (min_of_type): Pass () as last argument of __MATH_TG.
24072
24073 * stdlib/tst-strtod-round-skeleton.c
24074 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24075 headers.
24076
24077 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24078 for combinations of long double with _Float64 and _Float64x.
24079
24080 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24081 (__DECL_SIMD_cosf32): Likewise.
24082 (__DECL_SIMD_cosf64): Likewise.
24083 (__DECL_SIMD_cosf32x): Likewise.
24084 (__DECL_SIMD_cosf64x): Likewise.
24085 (__DECL_SIMD_cosf128x): Likewise.
24086 (__DECL_SIMD_sinf16): Likewise.
24087 (__DECL_SIMD_sinf32): Likewise.
24088 (__DECL_SIMD_sinf64): Likewise.
24089 (__DECL_SIMD_sinf32x): Likewise.
24090 (__DECL_SIMD_sinf64x): Likewise.
24091 (__DECL_SIMD_sinf128x): Likewise.
24092 (__DECL_SIMD_sincosf16): Likewise.
24093 (__DECL_SIMD_sincosf32): Likewise.
24094 (__DECL_SIMD_sincosf64): Likewise.
24095 (__DECL_SIMD_sincosf32x): Likewise.
24096 (__DECL_SIMD_sincosf64x): Likewise.
24097 (__DECL_SIMD_sincosf128x): Likewise.
24098 (__DECL_SIMD_logf16): Likewise.
24099 (__DECL_SIMD_logf32): Likewise.
24100 (__DECL_SIMD_logf64): Likewise.
24101 (__DECL_SIMD_logf32x): Likewise.
24102 (__DECL_SIMD_logf64x): Likewise.
24103 (__DECL_SIMD_logf128x): Likewise.
24104 (__DECL_SIMD_expf16): Likewise.
24105 (__DECL_SIMD_expf32): Likewise.
24106 (__DECL_SIMD_expf64): Likewise.
24107 (__DECL_SIMD_expf32x): Likewise.
24108 (__DECL_SIMD_expf64x): Likewise.
24109 (__DECL_SIMD_expf128x): Likewise.
24110 (__DECL_SIMD_powf16): Likewise.
24111 (__DECL_SIMD_powf32): Likewise.
24112 (__DECL_SIMD_powf64): Likewise.
24113 (__DECL_SIMD_powf32x): Likewise.
24114 (__DECL_SIMD_powf64x): Likewise.
24115 (__DECL_SIMD_powf128x): Likewise.
24116
24117 * stdlib/Versions (libc): Move entries for wcstof128 and
24118 wcstof128_l to ....
24119 * wcsmbs/Versions (libc): ... here.
24120 Include <float128-abi.h>.
24121
24122 2017-11-24 Florian Weimer <fweimer@redhat.com>
24123
24124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24125 bits/mman-shared.h.
24126 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24127 <bits/mman-shared.h>.
24128 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24129 to ...
24130 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24131 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24132 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24133 <bits/mman-shared.h>.
24134
24135 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24136
24137 [BZ #22457]
24138 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24139 posix_memalign/free.
24140 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24141
24142 2017-11-22 Mike FABIAN <mfabian@redhat.com>
24143
24144 [BZ #22469]
24145 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24146 and implement the collation rules for pl from CLDR on top of that.
24147 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24148 of locales to be built for testing.
24149 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24150
24151 2017-11-23 Joseph Myers <joseph@codesourcery.com>
24152
24153 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24154 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24155 libm_alias_ldouble_other.
24156 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24157 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24158 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24159 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24160 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24161 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24162 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24163 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24164 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24165 libm_alias_ldouble_r.
24166 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24167 libm_alias_ldouble_other.
24168 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24169 (log10l): Likewise.
24170 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24171 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24172 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24173 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24174 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24175 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24176 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24177 (atan2l): Likewise.
24178 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24179 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24180 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24181 libm_alias_ldouble.
24182 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24183 (cosl): Likewise.
24184 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24185 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24186 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24187 (expl): Likewise.
24188 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24189 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24190 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24191 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24192 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24193 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24194 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24195 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24196 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24197 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24198 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24199 libm_alias_ldouble.
24200 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24201 libm_alias_ldouble_other.
24202 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24203 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24204 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24205 libm_alias_ldouble.
24206 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24207 libm_alias_ldouble_other.
24208 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24209 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24210 * sysdeps/ia64/fpu/w_lgammal_main.c
24211 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24212 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24213
24214 2017-11-23 Florian Weimer <fweimer@redhat.com>
24215
24216 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24217 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24218 alike. Remove freeres marker.
24219 * malloc/arena.c (arena_thread_freeres): Call
24220 tcache_thread_shutdown.
24221
24222 2017-11-23 Florian Weimer <fweimer@redhat.com>
24223
24224 [BZ #22459]
24225 Export nscd hash function as __nss_hash.
24226 * include/nss.h (__nss_hash): Declare.
24227 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24228 symbol.
24229 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24230 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24231 of __nscd_hash.
24232 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24233 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24234 * nss/Makefiles (routines): Add nss_hash.
24235 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24236 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24237 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24238 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24239
24240 2017-11-23 Florian Weimer <fweimer@redhat.com>
24241
24242 [BZ #22478]
24243 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24244 Return error code, not -1.
24245 * signal/tst-sigwait-eintr.c: New file.
24246 * signal/Makefile (tests): Add tst-sigwait-eintr.
24247
24248 2017-11-23 Florian Weimer <fweimer@redhat.com>
24249
24250 Linux: Add memfd_create system call wrapper
24251 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24252 tst-memfd_create.
24253 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24254 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24255 [__USE_GNU] (memfd_create): Declare.
24256 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24257 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24258 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24259 * sysdeps/unix/sysv/linux/**.abilist: Update.
24260 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24261
24262 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24263
24264 * localedata/gen-locale.sh: Fix typo in variable name.
24265
24266 * resolv/res_debug.c (p_secstodate): Condition definition on
24267 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24268 directly as __p_secstodate, and as a compat symbol. Do not use
24269 libresolv_hidden_def.
24270 * resolv/resolv.h (p_secstodate): Remove macro and function
24271 declaration.
24272 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24273 using p_secstodate.
24274 * include/resolv.h (__p_secstodate): Do not use
24275 libresolv_hidden_proto.
24276 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24277 (tests-internal): ... here.
24278 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24279 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24280 and declare and use __p_secstodate and use compat_symbol_reference
24281 in that case.
24282 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24283 implementation returning 77.
24284
24285 [BZ #22463]
24286 * resolv/res_debug.c: Include <libc-diag.h>.
24287 (p_secstodate): Assert time_t at least as wide as u_long. On
24288 overflow, use integer seconds since the epoch as output, or use
24289 "<overflow>" as output and set errno to EOVERFLOW if integer
24290 seconds since the epoch would be 14 or more characters.
24291 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24292 for sprintf call.
24293 * resolv/tst-p_secstodate.c: New file.
24294 * resolv/Makefile (tests): Add tst-p_secstodate.
24295 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24296
24297 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24298 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24299 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24300
24301 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24302
24303 * posix/regcomp.c (init_word_char): Add comments.
24304
24305 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24306
24307 [BZ #22447]
24308 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24309 strlen to compute length of ut_user and set trailing NUL byte of
24310 result explicitly.
24311
24312 2017-11-21 Mike FABIAN <mfabian@redhat.com>
24313
24314 [BZ #15537]
24315 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24316 using “copy "iso14651_t1"” and then implementing the
24317 collation rules for lv from CLDR on top of that.
24318 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24319 of locales to be built for testing.
24320 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24321 sorting.
24322
24323 2017-11-21 Joseph Myers <joseph@codesourcery.com>
24324
24325 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24326 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24327 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24328 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24329 [__USE_MISC] (MADV_HWPOISON): New macro.
24330 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24331
24332 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24333
24334 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24335 -Wmissing-braces on GCC 4.9.
24336
24337 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24338
24339 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24340 * sysdeps/s390/s390-32/start.S (_start): Likewise
24341 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24342 (thread_start): Likewise.
24343 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24344 (thread_start): Likewise.
24345 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24346 (__makecontext_ret): Likewise.
24347 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24348 (__makecontext_ret): Likewise.
24349
24350 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24351
24352 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24353 __wcschrnul): Remove attribute_hidden.
24354
24355 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24356
24357 regex: don't assume uint64_t or uint32_t
24358 This avoids -Werror=overflow errors for 32-bit systems in
24359 the 64-bit case. Problem reported by Joseph Myers in:
24360 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24361 Also, when this code is used in Gnulib it ports to platforms
24362 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24363 them, and on some 32-bit compilers there is no uint64_t.
24364 Problem reported by Gianluigi Tiesi in:
24365 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24366 * posix/regcomp.c (init_word_char): Don't assume that the types
24367 uint64_t and uint32_t exist. Adapted from Gnulib patch
24368 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24369 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24370
24371 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24372
24373 * sysdeps/aarch64/memset-reg.h: New file.
24374 * sysdeps/aarch64/memset.S: Use it.
24375 (__memset): Rename to MEMSET macro.
24376 [ZVA_MACRO]: Use zva_macro.
24377 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24378 Add memset_generic and memset_falkor.
24379 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24380 (__libc_ifunc_impl_list): Add memset ifuncs.
24381 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24382 local variable zva_size.
24383 * sysdeps/aarch64/multiarch/memset.c: New file.
24384 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24385 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24386 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24387 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24388 (DCZID_DZP_MASK): New macro.
24389 (DCZID_BS_MASK): Likewise.
24390 (init_cpu_features): Read and set zva_size.
24391 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24392 (struct cpu_features): New member zva_size.
24393
24394 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24395 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24396 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24397
24398 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24399 backwards. Fix timing computation.
24400 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24401 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24402 on memset by N at a time. Fix timing computation.
24403
24404 2017-11-20 Florian Weimer <fweimer@redhat.com>
24405
24406 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24407 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24408
24409 2017-11-19 Florian Weimer <fweimer@redhat.com>
24410
24411 manual: Document mprotect
24412 * manual/memory.texi (Memory Protection): New section.
24413 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24414 documentation of PROT_* flags and reference the Memory Protection
24415 section instead.
24416
24417 2017-11-19 Florian Weimer <fweimer@redhat.com>
24418
24419 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24420 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24421 (Scatter-Gather): ... to here. Remove misleading comment.
24422
24423 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
24424
24425 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24426 style.
24427
24428 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24429 when /proc/<pid>/setgroups does not exist.
24430
24431 2017-11-18 Florian Weimer <fweimer@redhat.com>
24432
24433 * sysdeps/unix/sysv/linux/tst-ttyname.c
24434 (become_root_in_mount_ns): Remove.
24435 (do_in_chroot_1): Call support_enter_mount_namespace.
24436 (do_in_chroot_2): Likewise.
24437 (do_test): Call support_become_root early.
24438
24439 2017-11-18 Florian Weimer <fweimer@redhat.com>
24440
24441 * support/namespace.h (support_enter_mount_namespace): Declare.
24442 * support/support_enter_mount_namespace.c: New file.
24443 * support/Makefile (libsupport-routines): Add
24444 support_enter_mount_namespace.
24445
24446 2017-11-18 Florian Weimer <fweimer@redhat.com>
24447
24448 * support/temp_file.c (support_create_temp_directory): Use
24449 test_dir and do not rely on the presence of the XXXXXX suffix.
24450 * support/temp_file.h (support_create_temp_directory): Update
24451 comment.
24452 * support/tst-xreadlink.c (do_test): Adjust.
24453 * support/support_chroot.c (support_chroot_create): Likewise.
24454
24455 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24456
24457 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24458 macro.
24459 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24460 htm-no-suspend.
24461
24462 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24463
24464 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24465 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24466 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24467 (ceill): Define using libm_alias_ldouble.
24468 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24469 <libm-alias-ldouble.h>.
24470 (copysignl): Define using libm_alias_ldouble.
24471 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24472 (fabsl): Define using libm_alias_ldouble.
24473 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24474 (floorl): Define using libm_alias_ldouble.
24475 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24476 (fmaxl): Define using libm_alias_ldouble.
24477 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24478 (fminl): Define using libm_alias_ldouble.
24479 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24480 (llrintl): Define using libm_alias_ldouble.
24481 (lrintl): Likewise.
24482 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24483 <libm-alias-ldouble.h>.
24484 (nearbyintl): Define using libm_alias_ldouble.
24485 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24486 (truncl): Define using libm_alias_ldouble.
24487 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24488 <libm-alias-ldouble.h>.
24489 (lrintl): Define using libm_alias_ldouble.
24490
24491 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24492 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24493 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24494 (asinhl): Define using libm_alias_ldouble.
24495 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24496 (atanl): Define using libm_alias_ldouble.
24497 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24498 (cbrtl): Define using libm_alias_ldouble.
24499 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24500 (ceill): Define using libm_alias_ldouble.
24501 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24502 (copysignl): Define using libm_alias_ldouble.
24503 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24504 (fabsl): Define using libm_alias_ldouble.
24505 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24506 (floorl): Define using libm_alias_ldouble.
24507 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24508 (fmaxl): Define using libm_alias_ldouble.
24509 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24510 (fminl): Define using libm_alias_ldouble.
24511 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24512 (frexpl): Define using libm_alias_ldouble.
24513 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24514 (llrintl): Define using libm_alias_ldouble.
24515 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24516 (logbl): Define using libm_alias_ldouble.
24517 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24518 (lrintl): Define using libm_alias_ldouble.
24519 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24520 (nearbyintl): Define using libm_alias_ldouble.
24521 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24522 (nextafterl): Define using libm_alias_ldouble.
24523 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24524 (remquol): Define using libm_alias_ldouble.
24525 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24526 (rintl): Define using libm_alias_ldouble.
24527 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24528 (truncl): Define using libm_alias_ldouble.
24529 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24530 (fmaxl): Define using libm_alias_ldouble.
24531 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24532 (fminl): Define using libm_alias_ldouble.
24533
24534 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24535 to C syntax instead of availability and properties of types.
24536 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24537 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24538 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24539 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24540 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24541 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24542
24543 2017-11-17 Florian Weimer <fweimer@redhat.com>
24544
24545 support_become_root: Enable file creation in namespaces.
24546 * support/support_become_root.c (setup_mapping): New function.
24547 (support_become_root): Call it.
24548
24549 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24550
24551 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24552 macro.
24553
24554 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24555
24556 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24557 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24558
24559 2017-11-16 Joseph Myers <joseph@codesourcery.com>
24560
24561 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24562
24563 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24564 version to 4.14.
24565
24566 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24567
24568 * INSTALL: Fix botched up regeneration.
24569
24570 * NEWS: Update sourceare link to https.
24571 * configure.ac: Likewise.
24572 * crypt/md5test-giant.c: Likewise.
24573 * dlfcn/bug-atexit1.c: Likewise.
24574 * dlfcn/bug-atexit2.c: Likewise.
24575 * localedata/README: Likewise.
24576 * malloc/tst-mallocfork.c: Likewise.
24577 * manual/install.texi: Likewise.
24578 * nptl/tst-pthread-getattr.c: Likewise.
24579 * stdio-common/tst-fgets.c: Likewise.
24580 * stdio-common/tst-fwrite.c: Likewise.
24581 * sunrpc/Makefile: Likewise.
24582 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24583 * wcsmbs/tst-mbrtowc2.c: Likewise.
24584 * configure: Regenerate.
24585 * INSTALL: Regenerate.
24586
24587 2017-11-15 Martin Sebor <msebor@redhat.com>
24588
24589 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24590 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24591 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24592
24593 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24594
24595 [BZ #22145]
24596 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24597 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24598
24599 [BZ #22145]
24600 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24601 Defer is_pty check until end of the function.
24602 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24603
24604 [BZ #22145]
24605 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24606 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24607 (ttyname): Likewise.
24608 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24609 (__ttyname_r): Likewise.
24610
24611 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24612 int to bool.
24613
24614 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24615
24616 * manual/terminal.texi (Is It a Terminal):
24617 Mention ENODEV for ttyname and ttyname_r.
24618
24619 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24620
24621 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24622 constant and macro.
24623
24624 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24625 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24626 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24627 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24628 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24629 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24630
24631 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24632
24633 * signal/sigrelse.c (sigrelse): Optimize implementation.
24634
24635 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24636 (__sigpause): Rely on __sigsuspend to implement single thread
24637 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24638
24639 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24640
24641 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24642 kernel version to 4.14.
24643
24644 2017-11-15 Steve Ellcey <sellcey@cavium.com>
24645
24646 [BZ #22442]
24647 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24648 Check if ifname is too long.
24649
24650 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24651
24652 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24653
24654 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24655
24656 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24657 was accidentally lost.
24658
24659 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24660
24661 * localedata/locales/az_IR: Add standard copyright header.
24662
24663 2017-11-15 Florian Weimer <fweimer@redhat.com>
24664
24665 [BZ #22439]
24666 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24667 not just the top one. Output a new "subheaps" statistic.
24668
24669 2017-11-15 Florian Weimer <fweimer@redhat.com>
24670
24671 [BZ #22408]
24672 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24673 under the per-arena lock.
24674 * malloc/Makefile (tests): Add tst-malloc_info.
24675 (tst-malloc_info): Link with libpthread.
24676 * malloc/tst-malloc_info.c: New file.
24677
24678 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24679
24680 [BZ #21660]
24681 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24682 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24683 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24684 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24685 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24686 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24687 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24688 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24689 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24690 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24691 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24692 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24693 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24694 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24695 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24696 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24697 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24698 (__floating_type): Likewise.
24699 (__real_integer_type): Likewise.
24700 (__complex_integer_type): Likewise.
24701 (__expr_is_real): Likewise.
24702 (__tgmath_real_type_sub): Likewise.
24703 (__tgmath_real_type): Likewise.
24704 (__tgmath_complex_type_sub): Likewise.
24705 (__tgmath_complex_type): Likewise.
24706 (__TGMATH_F128): Likewise.
24707 (__TGMATH_CF128): Likewise.
24708 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24709 new macros.
24710 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24711 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24712 Likewise.
24713 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24714 Likewise.
24715 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24716 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24717 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24718 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24719 Likewise.
24720 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24721 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24722 Likewise.
24723 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24724 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24725 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24726 Likewise.
24727 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24728 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24729 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24730 (cimag): Likewise.
24731 (creal): Likewise.
24732
24733 2017-11-14 Joseph Myers <joseph@codesourcery.com>
24734
24735 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24736 for stpncpy calls for GCC 8.
24737 (test_strncat): Disable -Wstringop-truncation warning for strncat
24738 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24739 strncat call for GCC 7.
24740 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24741 calls for GCC 8.
24742 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24743 trailing NUL.
24744
24745 * string/bug-strncat1.c: Include <libc-diag.h>.
24746 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24747
24748 2017-11-13 Claude Paroz <claude@2xlibre.net>
24749
24750 [BZ #22387]
24751 * localedata/locales/aa_DJ: Improved readibility by replacing
24752 <Uxxxx> sequences in the ASCII printable range by their ASCII
24753 character equivalents.
24754 * localedata/locales/aa_ER: Likewise.
24755 * localedata/locales/aa_ER@saaho: Likewise.
24756 * localedata/locales/aa_ET: Likewise.
24757 * localedata/locales/af_ZA: Likewise.
24758 * localedata/locales/agr_PE: Likewise.
24759 * localedata/locales/ak_GH: Likewise.
24760 * localedata/locales/am_ET: Likewise.
24761 * localedata/locales/anp_IN: Likewise.
24762 * localedata/locales/ar_AE: Likewise.
24763 * localedata/locales/ar_BH: Likewise.
24764 * localedata/locales/ar_DZ: Likewise.
24765 * localedata/locales/ar_EG: Likewise.
24766 * localedata/locales/ar_IN: Likewise.
24767 * localedata/locales/ar_IQ: Likewise.
24768 * localedata/locales/ar_JO: Likewise.
24769 * localedata/locales/ar_KW: Likewise.
24770 * localedata/locales/ar_LB: Likewise.
24771 * localedata/locales/ar_LY: Likewise.
24772 * localedata/locales/ar_MA: Likewise.
24773 * localedata/locales/ar_OM: Likewise.
24774 * localedata/locales/ar_QA: Likewise.
24775 * localedata/locales/ar_SA: Likewise.
24776 * localedata/locales/ar_SD: Likewise.
24777 * localedata/locales/ar_SS: Likewise.
24778 * localedata/locales/ar_SY: Likewise.
24779 * localedata/locales/ar_TN: Likewise.
24780 * localedata/locales/ar_YE: Likewise.
24781 * localedata/locales/as_IN: Likewise.
24782 * localedata/locales/ast_ES: Likewise.
24783 * localedata/locales/ayc_PE: Likewise.
24784 * localedata/locales/az_AZ: Likewise.
24785 * localedata/locales/az_IR: Likewise.
24786 * localedata/locales/be_BY: Likewise.
24787 * localedata/locales/be_BY@latin: Likewise.
24788 * localedata/locales/bem_ZM: Likewise.
24789 * localedata/locales/ber_DZ: Likewise.
24790 * localedata/locales/ber_MA: Likewise.
24791 * localedata/locales/bg_BG: Likewise.
24792 * localedata/locales/bhb_IN: Likewise.
24793 * localedata/locales/bho_IN: Likewise.
24794 * localedata/locales/bi_VU: Likewise.
24795 * localedata/locales/bn_BD: Likewise.
24796 * localedata/locales/bn_IN: Likewise.
24797 * localedata/locales/bo_CN: Likewise.
24798 * localedata/locales/bo_IN: Likewise.
24799 * localedata/locales/br_FR: Likewise.
24800 * localedata/locales/brx_IN: Likewise.
24801 * localedata/locales/bs_BA: Likewise.
24802 * localedata/locales/byn_ER: Likewise.
24803 * localedata/locales/ca_AD: Likewise.
24804 * localedata/locales/ca_ES: Likewise.
24805 * localedata/locales/ca_FR: Likewise.
24806 * localedata/locales/ca_IT: Likewise.
24807 * localedata/locales/ce_RU: Likewise.
24808 * localedata/locales/chr_US: Likewise.
24809 * localedata/locales/cmn_TW: Likewise.
24810 * localedata/locales/crh_UA: Likewise.
24811 * localedata/locales/cs_CZ: Likewise.
24812 * localedata/locales/csb_PL: Likewise.
24813 * localedata/locales/cv_RU: Likewise.
24814 * localedata/locales/cy_GB: Likewise.
24815 * localedata/locales/da_DK: Likewise.
24816 * localedata/locales/de_AT: Likewise.
24817 * localedata/locales/de_BE: Likewise.
24818 * localedata/locales/de_CH: Likewise.
24819 * localedata/locales/de_DE: Likewise.
24820 * localedata/locales/de_IT: Likewise.
24821 * localedata/locales/de_LI: Likewise.
24822 * localedata/locales/de_LU: Likewise.
24823 * localedata/locales/doi_IN: Likewise.
24824 * localedata/locales/dv_MV: Likewise.
24825 * localedata/locales/dz_BT: Likewise.
24826 * localedata/locales/el_CY: Likewise.
24827 * localedata/locales/el_GR: Likewise.
24828 * localedata/locales/en_AG: Likewise.
24829 * localedata/locales/en_AU: Likewise.
24830 * localedata/locales/en_BW: Likewise.
24831 * localedata/locales/en_CA: Likewise.
24832 * localedata/locales/en_DK: Likewise.
24833 * localedata/locales/en_GB: Likewise.
24834 * localedata/locales/en_HK: Likewise.
24835 * localedata/locales/en_IE: Likewise.
24836 * localedata/locales/en_IL: Likewise.
24837 * localedata/locales/en_IN: Likewise.
24838 * localedata/locales/en_NG: Likewise.
24839 * localedata/locales/en_NZ: Likewise.
24840 * localedata/locales/en_PH: Likewise.
24841 * localedata/locales/en_SG: Likewise.
24842 * localedata/locales/en_US: Likewise.
24843 * localedata/locales/en_ZA: Likewise.
24844 * localedata/locales/en_ZM: Likewise.
24845 * localedata/locales/en_ZW: Likewise.
24846 * localedata/locales/eo: Likewise.
24847 * localedata/locales/es_AR: Likewise.
24848 * localedata/locales/es_BO: Likewise.
24849 * localedata/locales/es_CL: Likewise.
24850 * localedata/locales/es_CO: Likewise.
24851 * localedata/locales/es_CR: Likewise.
24852 * localedata/locales/es_CU: Likewise.
24853 * localedata/locales/es_DO: Likewise.
24854 * localedata/locales/es_EC: Likewise.
24855 * localedata/locales/es_ES: Likewise.
24856 * localedata/locales/es_GT: Likewise.
24857 * localedata/locales/es_HN: Likewise.
24858 * localedata/locales/es_MX: Likewise.
24859 * localedata/locales/es_NI: Likewise.
24860 * localedata/locales/es_PA: Likewise.
24861 * localedata/locales/es_PE: Likewise.
24862 * localedata/locales/es_PR: Likewise.
24863 * localedata/locales/es_PY: Likewise.
24864 * localedata/locales/es_SV: Likewise.
24865 * localedata/locales/es_US: Likewise.
24866 * localedata/locales/es_UY: Likewise.
24867 * localedata/locales/es_VE: Likewise.
24868 * localedata/locales/et_EE: Likewise.
24869 * localedata/locales/eu_ES: Likewise.
24870 * localedata/locales/eu_ES@euro: Likewise.
24871 * localedata/locales/fa_IR: Likewise.
24872 * localedata/locales/ff_SN: Likewise.
24873 * localedata/locales/fi_FI: Likewise.
24874 * localedata/locales/fil_PH: Likewise.
24875 * localedata/locales/fo_FO: Likewise.
24876 * localedata/locales/fr_BE: Likewise.
24877 * localedata/locales/fr_CA: Likewise.
24878 * localedata/locales/fr_CH: Likewise.
24879 * localedata/locales/fr_FR: Likewise.
24880 * localedata/locales/fr_LU: Likewise.
24881 * localedata/locales/fur_IT: Likewise.
24882 * localedata/locales/fy_DE: Likewise.
24883 * localedata/locales/fy_NL: Likewise.
24884 * localedata/locales/ga_IE: Likewise.
24885 * localedata/locales/gd_GB: Likewise.
24886 * localedata/locales/gez_ER: Likewise.
24887 * localedata/locales/gez_ET: Likewise.
24888 * localedata/locales/gl_ES: Likewise.
24889 * localedata/locales/gu_IN: Likewise.
24890 * localedata/locales/gv_GB: Likewise.
24891 * localedata/locales/ha_NG: Likewise.
24892 * localedata/locales/hak_TW: Likewise.
24893 * localedata/locales/he_IL: Likewise.
24894 * localedata/locales/hi_IN: Likewise.
24895 * localedata/locales/hif_FJ: Likewise.
24896 * localedata/locales/hne_IN: Likewise.
24897 * localedata/locales/hr_HR: Likewise.
24898 * localedata/locales/hsb_DE: Likewise.
24899 * localedata/locales/ht_HT: Likewise.
24900 * localedata/locales/hu_HU: Likewise.
24901 * localedata/locales/hy_AM: Likewise.
24902 * localedata/locales/i18n: Likewise.
24903 * localedata/locales/ia_FR: Likewise.
24904 * localedata/locales/id_ID: Likewise.
24905 * localedata/locales/ig_NG: Likewise.
24906 * localedata/locales/ik_CA: Likewise.
24907 * localedata/locales/is_IS: Likewise.
24908 * localedata/locales/it_CH: Likewise.
24909 * localedata/locales/it_IT: Likewise.
24910 * localedata/locales/iu_CA: Likewise.
24911 * localedata/locales/ja_JP: Likewise.
24912 * localedata/locales/ka_GE: Likewise.
24913 * localedata/locales/kk_KZ: Likewise.
24914 * localedata/locales/kl_GL: Likewise.
24915 * localedata/locales/kn_IN: Likewise.
24916 * localedata/locales/ko_KR: Likewise.
24917 * localedata/locales/kok_IN: Likewise.
24918 * localedata/locales/ks_IN: Likewise.
24919 * localedata/locales/ks_IN@devanagari: Likewise.
24920 * localedata/locales/ku_TR: Likewise.
24921 * localedata/locales/kw_GB: Likewise.
24922 * localedata/locales/ky_KG: Likewise.
24923 * localedata/locales/lb_LU: Likewise.
24924 * localedata/locales/lg_UG: Likewise.
24925 * localedata/locales/li_BE: Likewise.
24926 * localedata/locales/li_NL: Likewise.
24927 * localedata/locales/lij_IT: Likewise.
24928 * localedata/locales/ln_CD: Likewise.
24929 * localedata/locales/lo_LA: Likewise.
24930 * localedata/locales/lt_LT: Likewise.
24931 * localedata/locales/lv_LV: Likewise.
24932 * localedata/locales/lzh_TW: Likewise.
24933 * localedata/locales/mag_IN: Likewise.
24934 * localedata/locales/mai_IN: Likewise.
24935 * localedata/locales/mg_MG: Likewise.
24936 * localedata/locales/mhr_RU: Likewise.
24937 * localedata/locales/mi_NZ: Likewise.
24938 * localedata/locales/mk_MK: Likewise.
24939 * localedata/locales/ml_IN: Likewise.
24940 * localedata/locales/mn_MN: Likewise.
24941 * localedata/locales/mni_IN: Likewise.
24942 * localedata/locales/mr_IN: Likewise.
24943 * localedata/locales/ms_MY: Likewise.
24944 * localedata/locales/mt_MT: Likewise.
24945 * localedata/locales/my_MM: Likewise.
24946 * localedata/locales/nan_TW: Likewise.
24947 * localedata/locales/nan_TW@latin: Likewise.
24948 * localedata/locales/nb_NO: Likewise.
24949 * localedata/locales/nds_DE: Likewise.
24950 * localedata/locales/nds_NL: Likewise.
24951 * localedata/locales/ne_NP: Likewise.
24952 * localedata/locales/nhn_MX: Likewise.
24953 * localedata/locales/niu_NU: Likewise.
24954 * localedata/locales/niu_NZ: Likewise.
24955 * localedata/locales/nl_AW: Likewise.
24956 * localedata/locales/nl_BE: Likewise.
24957 * localedata/locales/nl_NL: Likewise.
24958 * localedata/locales/nn_NO: Likewise.
24959 * localedata/locales/nr_ZA: Likewise.
24960 * localedata/locales/nso_ZA: Likewise.
24961 * localedata/locales/oc_FR: Likewise.
24962 * localedata/locales/om_ET: Likewise.
24963 * localedata/locales/om_KE: Likewise.
24964 * localedata/locales/or_IN: Likewise.
24965 * localedata/locales/os_RU: Likewise.
24966 * localedata/locales/pa_IN: Likewise.
24967 * localedata/locales/pa_PK: Likewise.
24968 * localedata/locales/pap_AW: Likewise.
24969 * localedata/locales/pap_CW: Likewise.
24970 * localedata/locales/pl_PL: Likewise.
24971 * localedata/locales/ps_AF: Likewise.
24972 * localedata/locales/pt_BR: Likewise.
24973 * localedata/locales/pt_PT: Likewise.
24974 * localedata/locales/quz_PE: Likewise.
24975 * localedata/locales/raj_IN: Likewise.
24976 * localedata/locales/ro_RO: Likewise.
24977 * localedata/locales/ru_RU: Likewise.
24978 * localedata/locales/ru_UA: Likewise.
24979 * localedata/locales/rw_RW: Likewise.
24980 * localedata/locales/sa_IN: Likewise.
24981 * localedata/locales/sat_IN: Likewise.
24982 * localedata/locales/sc_IT: Likewise.
24983 * localedata/locales/sd_IN: Likewise.
24984 * localedata/locales/sd_IN@devanagari: Likewise.
24985 * localedata/locales/se_NO: Likewise.
24986 * localedata/locales/sgs_LT: Likewise.
24987 * localedata/locales/shs_CA: Likewise.
24988 * localedata/locales/si_LK: Likewise.
24989 * localedata/locales/sid_ET: Likewise.
24990 * localedata/locales/sk_SK: Likewise.
24991 * localedata/locales/sl_SI: Likewise.
24992 * localedata/locales/sm_WS: Likewise.
24993 * localedata/locales/so_DJ: Likewise.
24994 * localedata/locales/so_ET: Likewise.
24995 * localedata/locales/so_KE: Likewise.
24996 * localedata/locales/so_SO: Likewise.
24997 * localedata/locales/sq_AL: Likewise.
24998 * localedata/locales/sq_MK: Likewise.
24999 * localedata/locales/sr_ME: Likewise.
25000 * localedata/locales/sr_RS: Likewise.
25001 * localedata/locales/sr_RS@latin: Likewise.
25002 * localedata/locales/ss_ZA: Likewise.
25003 * localedata/locales/st_ZA: Likewise.
25004 * localedata/locales/sv_FI: Likewise.
25005 * localedata/locales/sv_SE: Likewise.
25006 * localedata/locales/sw_KE: Likewise.
25007 * localedata/locales/sw_TZ: Likewise.
25008 * localedata/locales/szl_PL: Likewise.
25009 * localedata/locales/ta_IN: Likewise.
25010 * localedata/locales/ta_LK: Likewise.
25011 * localedata/locales/tcy_IN: Likewise.
25012 * localedata/locales/te_IN: Likewise.
25013 * localedata/locales/tg_TJ: Likewise.
25014 * localedata/locales/th_TH: Likewise.
25015 * localedata/locales/the_NP: Likewise.
25016 * localedata/locales/ti_ER: Likewise.
25017 * localedata/locales/ti_ET: Likewise.
25018 * localedata/locales/tig_ER: Likewise.
25019 * localedata/locales/tk_TM: Likewise.
25020 * localedata/locales/tl_PH: Likewise.
25021 * localedata/locales/tn_ZA: Likewise.
25022 * localedata/locales/to_TO: Likewise.
25023 * localedata/locales/tpi_PG: Likewise.
25024 * localedata/locales/tr_CY: Likewise.
25025 * localedata/locales/tr_TR: Likewise.
25026 * localedata/locales/ts_ZA: Likewise.
25027 * localedata/locales/tt_RU: Likewise.
25028 * localedata/locales/tt_RU@iqtelif: Likewise.
25029 * localedata/locales/ug_CN: Likewise.
25030 * localedata/locales/uk_UA: Likewise.
25031 * localedata/locales/unm_US: Likewise.
25032 * localedata/locales/ur_IN: Likewise.
25033 * localedata/locales/ur_PK: Likewise.
25034 * localedata/locales/uz_UZ: Likewise.
25035 * localedata/locales/uz_UZ@cyrillic: Likewise.
25036 * localedata/locales/ve_ZA: Likewise.
25037 * localedata/locales/vi_VN: Likewise.
25038 * localedata/locales/wa_BE: Likewise.
25039 * localedata/locales/wae_CH: Likewise.
25040 * localedata/locales/wal_ET: Likewise.
25041 * localedata/locales/wo_SN: Likewise.
25042 * localedata/locales/xh_ZA: Likewise.
25043 * localedata/locales/yi_US: Likewise.
25044 * localedata/locales/yo_NG: Likewise.
25045 * localedata/locales/yue_HK: Likewise.
25046 * localedata/locales/yuw_PG: Likewise.
25047 * localedata/locales/zh_CN: Likewise.
25048 * localedata/locales/zh_HK: Likewise.
25049 * localedata/locales/zh_SG: Likewise.
25050 * localedata/locales/zh_TW: Likewise.
25051 * localedata/locales/zu_ZA: Likewise.
25052
25053 2017-11-13 Florian Weimer <fweimer@redhat.com>
25054
25055 * support/next_to_fault.h, support/next_to_fault.c: New files.
25056 * support/Makefile (libsupport-routines): Add next_to_fault.
25057 * resolv/tst-inet_pton.c (struct next_to_fault)
25058 (next_to_fault_allocate, next_to_fault_free): Remove.
25059 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25060
25061 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25062
25063 * elf/dl-support.c: Include <dl-procruntime.c>.
25064 * include/link.h: Include <link_map.h>.
25065 * sysdeps/generic/dl-procruntime.c: New file.
25066 * sysdeps/generic/link_map.h: Likewise.
25067 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25068 the writable ld.so namespace.
25069
25070 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25071
25072 timezone: pacify GCC -Wstringop-truncation
25073 Problem reported by Martin Sebor in:
25074 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25075 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25076
25077 2017-11-12 Florian Weimer <fweimer@redhat.com>
25078
25079 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25080 tst-xreadlink.
25081 (tests): Add tst-xreadlink.
25082 * support/support.h (xstrndup): Declare.
25083 * support/xunistd.h (xunlink, xreadlink): Declare.
25084 * support/temp_file.h (support_create_temp_directory): Declare.
25085 * support/temp_file.c (support_create_temp_directory): New function.
25086 * support/support_chroot.c (support_chroot_create): Use it.
25087 * support/xreadlink.c: New file.
25088 * support/xstrndup.c: Likewise.
25089 * support/xunlink.c: Likewise.
25090 * support/tst-xreadlink.c: Likewise.
25091
25092 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
25093
25094 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25095
25096 2017-11-11 Florian Weimer <fweimer@redhat.com>
25097
25098 [BZ #22409]
25099 [BZ #22412]
25100 * resolv/res_comp.c (printable_string, binary_hnok)
25101 (binary_leading_dash): New functions.
25102 (res_hnok): Reimplement using these functions and ns_name_pton.
25103 (res_ownok): Likewise.
25104 (res_mailok): Reimplement using printable_string, ns_name_pton and
25105 binary_hnok.
25106 (res_dnok): Reimplement using printable_string and ns_name_pton.
25107 * resolv/tst-res_hnok.c (tests): Add additional tests.
25108 (LETTERDIGITS, PRINTABLE): Define.
25109 (do_test): Adjust one_char results.
25110
25111 2017-11-11 Florian Weimer <fweimer@redhat.com>
25112
25113 [BZ #22413]
25114 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25115 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25116
25117 2017-11-11 Florian Weimer <fweimer@redhat.com>
25118
25119 * resolv/tst-ns_name_pton.c: New file.
25120 * resolv/Makefile (tests): Add tst-ns_name_pton.
25121 (tst-ns_name_pton): Link against libresolv.
25122
25123 2017-11-11 Florian Weimer <fweimer@redhat.com>
25124
25125 * resolv/tst-res_hnok.c: New file.
25126 * resolv/Makefile (tests): Add tst-res_hnok.
25127 (tst-res_hnok): Link against libresolv.
25128
25129 2017-11-11 Florian Weimer <fweimer@redhat.com>
25130
25131 * resolv/tst-resolv-network.c: Use test framework instead explicit
25132 main function.
25133
25134 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25135
25136 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25137 <jmp_buf-macros.h>.
25138 [!_ISOMAC] (STR_HELPER): New.
25139 [!_ISOMAC] (STR): Likewise.
25140 [!_ISOMAC] (TEST_SIZE): Likewise.
25141 [!_ISOMAC] (TEST_ALIGN): Likewise.
25142 [!_ISOMAC] (TEST_OFFSET): Likewise.
25143 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25144 field offsets of jmp_buf as well as sigjmp_buf.
25145 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25146 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25147 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25148 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25149 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25150 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25151 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25152 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25153 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25154 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25155 Likewise.
25156 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25157 Likewise.
25158 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25160 Likewise.
25161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25162 Likewise.
25163 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25164 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25165 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25166 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25167 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25169 Likewise.
25170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25171 Likewise.
25172 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25173 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25174 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25175
25176 2017-11-07 Joseph Myers <joseph@codesourcery.com>
25177
25178 * include/float.h
25179 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25180 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25181 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25182 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25183 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25184 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25185 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25186 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25187 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25188 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25189 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25190 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25191 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25192 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25193 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25194 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25195 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25196 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25197 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25198 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25199 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25200 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25201 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25202 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25203 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25204 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25205 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25206 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25207 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25208 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25209 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25210 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25211 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25212 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25213 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25214 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25215 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25216 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25217 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25218 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25219 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25220 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25221 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25222 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25223 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25224 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25225 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25226 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25227 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25228 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25229 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25230 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25231 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25232 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25233 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25234 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25235 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25236 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25237 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25238 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25239 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25240 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25241 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25242 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25243 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25244 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25245 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25246 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25247 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25248 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25249 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25250 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25251 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25252 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25253 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25254 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25255 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25256 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25257 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25258 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25259 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25260 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25261 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25262 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25263 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25264 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25265 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25266 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25267
25268 * stdlib/tst-strtod.h (F16): New macro.
25269 (F32): Likewise.
25270 (F64): Likewise.
25271 (F32X): Likewise.
25272 (F64X): Likewise.
25273 (F128X): Likewise.
25274 (IF_FLOAT16): Likewise.
25275 (IF_FLOAT32): Likewise.
25276 (IF_FLOAT64): Likewise.
25277 (IF_FLOAT32X): Likewise.
25278 (IF_FLOAT64X): Likewise.
25279 (IF_FLOAT128X): Likewise.
25280 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25281 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25282 (STRTOD_TEST_FOREACH): Likewise.
25283 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25284 (CHOOSE_f64): Likewise.
25285 (CHOOSE_f32x): Likewise.
25286 (CHOOSE_f64x): Likewise.
25287
25288 2017-11-07 Andreas Schwab <schwab@suse.de>
25289
25290 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25291
25292 2017-11-07 Mike FABIAN <mfabian@redhat.com>
25293
25294 [BZ #22403]
25295 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25296 to be escaped.
25297 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25298 to be escaped.
25299
25300 2017-11-07 Claude Paroz <claude@2xlibre.net>
25301
25302 [BZ #22403]
25303 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25304 to be escaped.
25305 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25306 to be escaped.
25307 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25308 to be escaped.
25309
25310 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25311
25312 [BZ #22298]
25313 * nptl/allocatestack.c (allocate_stack): Check if
25314 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25315 __PTHREAD_MUTEX_HAVE_PREV is defined.
25316 * nptl/descr.h (pthread): Likewise.
25317 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25318 Likewise.
25319 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25320 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25321 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25322 * sysdeps/nptl/bits/thread-shared-types.h
25323 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25324 defines.
25325 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25326 of __WORDSIZE for internal layout.
25327 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25328 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25329 instead of __WORDSIZE whether to use an union for __spins and __list
25330 fields.
25331 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25332 case.
25333 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25334 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25335 defines.
25336 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25337 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25338 Likewise.
25339 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25340 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25341 Likewise.
25342 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25343 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25344 Likewise.
25345 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25346 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25347 Likewise.
25348 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25349 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25350 Likewise.
25351 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25352 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25353 Likewise.
25354 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25355 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25356 Likewise.
25357 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25358 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25359 Likewise.
25360 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25361 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25362 Likewise.
25363 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25364 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25365 Likewise.
25366 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25367 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25368 Likewise.
25369 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25370 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25371 Likewise.
25372 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25373 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25374 Likewise.
25375 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25376 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25377 Likewise.
25378
25379 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25380 New macros.
25381 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25382 checks for expected input type size.
25383 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25384 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25385 Likewise.
25386 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25387 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25388 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25389 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25390 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25391 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25392 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25393 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25394 superflous runtime assert check.
25395 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25396 Likewise.
25397 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25398 Likewise.
25399 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25400 Likewise.
25401 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25402 Likewise.
25403 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25404 Likewise.
25405 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25406 Likewise.
25407 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25408 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25409 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25410 Likewise.
25411 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25412 Likewise.
25413 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25414 Likewise.
25415 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25416 Likewise.
25417 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25418 Likewise.
25419 * nptl/pthread_attr_setinheritsched.c
25420 (__pthread_attr_setinheritsched): Likewise.
25421 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25422 Likewise.
25423 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25424 Likewise.
25425 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25426 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25427 __old_pthread_attr_setstack): Likewise.
25428 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25429 Likewise.
25430 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25431 Likewise.
25432 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25433 Likewise.
25434 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25435 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25436 Likewise.
25437 * nptl/tst-typesizes.c: Remove file.
25438
25439 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25440 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25441 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25442 checks for internal pthread_mutex_t offsets.
25443 * sysdeps/aarch64/nptl/pthread-offsets.h
25444 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25445 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25446 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25447 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25448 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25449 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25450 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25451 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25452 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25453 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25454 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25455 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25456 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25457 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25458 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25459 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25460 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25461 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25462
25463 2017-11-07 Florian Weimer <fweimer@redhat.com>
25464
25465 * bits/mman-linux.h: Move ...
25466 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25467 comment.
25468 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25469 outdated comment.
25470
25471 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25472
25473 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25474 Redefine STRNLEN as __strnlen_power8.
25475
25476 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25477
25478 * signal/sighold.c (sighold): Optimize implementation.
25479
25480 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25481 __NR_rt_sigqueueinfo.
25482
25483 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25484 __sigtimedwait.
25485 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25486 assume __NR_rt_sigtimedwait.
25487 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25488 and add LIBC_CANCEL_HANDLED for cancellation marking.
25489 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25490
25491 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25492 (sysdeps_routines): Add memchr_noneon.
25493 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25494 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25495 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25496 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25497 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25498 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25499 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25500
25501 * sysdeps/arm/arm-ifunc.h: New file.
25502 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25503 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25504 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25505 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25506 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25507 (__memcpy_neon): Avoid create hidden alias.
25508 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25509 (__memcpy_vfp): Likewise.
25510 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25511 (sysdep_routines): Add memcpy_arm.
25512 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25513
25514 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25515
25516 [BZ #22362]
25517 * Makerules (make-link-multidir): New.
25518 * config.make.in (multidir): New.
25519 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25520 * configure: Regenerated.
25521 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25522 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25523 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25524 New target.
25525
25526 2017-11-06 Joseph Myers <joseph@codesourcery.com>
25527
25528 [BZ #22402]
25529 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25530 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25531
25532 2017-11-04 Mike FABIAN <mfabian@redhat.com>
25533
25534 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25535 to be escaped.
25536
25537 2017-11-04 Florian Weimer <fweimer@redhat.com>
25538
25539 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25540
25541 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25542
25543 * math/math.h [__HAVE_DISTINCT_FLOAT16
25544 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25545 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25546 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25547 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25548 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25549 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25550 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25551 (__MATH_TG_F32): New macro.
25552 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25553 (__MATH_TG_F64X): Likewise.
25554 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25555 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25556
25557 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25558
25559 * po/de.po: Update translations.
25560 * po/ru.po: Likewise.
25561
25562 2017-11-03 Florian Weimer <fweimer@redhat.com>
25563
25564 * manual/filesys.texi (Hard Links): Document linkat.
25565
25566 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25567
25568 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25569 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25570 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25571 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25572 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25573 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25574 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25575 the same as _Float128.
25576 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25577 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25578 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25579
25580 * stdlib/stdlib.h
25581 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25582 Declare.
25583 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25584 Likewise.
25585 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25586 Likewise.
25587 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25588 (strtof32x): Likewise.
25589 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25590 (strtof64x): Likewise.
25591 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25592 (strtof128x): Likewise.
25593 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25594 (strfromf16): Likewise.
25595 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25596 (strfromf32): Likewise.
25597 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25598 (strfromf64): Likewise.
25599 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25600 (strfromf32x): Likewise.
25601 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25602 (strfromf64x): Likewise.
25603 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25604 (strfromf128x): Likewise.
25605 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25606 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25607 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25608 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25609 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25610 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25611
25612 2017-11-03 Richard Henderson <rth@twiddle.net>
25613
25614 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25615
25616 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25617
25618 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25619
25620 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25621
25622 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25623 DT_TLSDESC_GOT initialization.
25624 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25625 (_dl_tlsdesc_resolve_hold): Likewise.
25626 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25627 (_dl_tlsdesc_resolve_hold): Likewise.
25628 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25629 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25630
25631 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25632
25633 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25634
25635 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25636
25637 [BZ #18572]
25638 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25639 non-lazily for R_ARM_TLS_DESC.
25640
25641 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25642
25643 [BZ #17078]
25644 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25645 R_ARM_TLS_DESC case.
25646 (elf_machine_lazy_rel): Remove the prelink check.
25647
25648 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25649
25650 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25651 DT_TLSDESC_GOT initialization.
25652 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25653 (_dl_tlsdesc_resolve_rela): Likewise.
25654 (_dl_tlsdesc_resolve_hold): Likewise.
25655 (_dl_tlsdesc_undefweak): Remove ldar.
25656 (_dl_tlsdesc_dynamic): Likewise.
25657 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25658 (_dl_tlsdesc_resolve_rela): Likewise.
25659 (_dl_tlsdesc_resolve_hold): Likewise.
25660 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25661 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25662 (_dl_tlsdesc_resolve_rela): Likewise.
25663 (_dl_tlsdesc_resolve_hold): Likewise.
25664
25665 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25666
25667 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25668 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25669
25670 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25671
25672 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25673 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25674
25675 2017-11-02 Joseph Myers <joseph@codesourcery.com>
25676
25677 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25678 Declare.
25679 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25680 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25681 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25682 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25683 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25684 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25685 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25686 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25687 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25688 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25689 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25690
25691 2017-11-02 Mike FABIAN <mfabian@redhat.com>
25692
25693 [BZ #22382]
25694 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25695 * localedata/locales/tpi_PG: Add standard header.
25696
25697 2017-11-02 Florian Weimer <fweimer@redhat.com>
25698
25699 test-errno-linux: quotactl can fail with EPERM in containers.
25700 * sysdeps/unix/sysv/linux/test-errno-linux.c
25701 (LIST, LIST_FORWARD): New macros.
25702 (check_error_in_list): New function.
25703 (test_wrp_rv): Accept list of permitted error codes.
25704 (test_wrp_rv2): Remove.
25705 (test_wrp): Call test_wrp_rv with list of error codes.
25706 (test_wrp2): Accept list of error codes.
25707 (do_test): Adjust. Allow EPERM for quotactl.
25708
25709 2017-11-02 Florian Weimer <fweimer@redhat.com>
25710
25711 * stdio-common/bug16.c (do_test): Use array_length.
25712 * stdio-common/errlist.c (_sys_nerr): Likewise.
25713 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25714 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25715 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25716 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25717 (do_test): Use array_length.
25718 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25719 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25720 * stdio-common/tst-printf-round.c (do_test): Likewise.
25721 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25722 (CHECK): Use array_length.
25723 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25724 * stdio-common/tstscanf.c (main): Likewise.
25725 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25726
25727 2017-11-02 Florian Weimer <fweimer@redhat.com>
25728
25729 Add array_length and array_end macros.
25730 * include/array_length.h: New file.
25731
25732 2017-11-02 Florian Weimer <fweimer@redhat.com>
25733
25734 [BZ #22332]
25735 * posix/tst-glob-tilde.c (do_noescape): New variable.
25736 (one_test): Process it.
25737 (do_test): Set do_noescape. Add unescaping test case.
25738
25739 2017-11-01 Joseph Myers <joseph@codesourcery.com>
25740
25741 * math/complex.h
25742 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25743 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25744 with appropriate macros defined and undefined.
25745 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25746 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25747 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25748 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25749 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25750 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25751 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25752 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25753 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25754 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25755
25756 * math/complex.h
25757 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25758 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25759 that for long double. Do not condition define and undefine of
25760 _Mdouble_complex_ on [__CFLOAT128].
25761
25762 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25763
25764 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25765 of <sysdeps/generic/sysdep.h>.
25766 (ALIGNARG): Removed.
25767 (ASM_SIZE_DIRECTIVE): Likewise.
25768 (ENTRY): Likewise.
25769 (END): Likewise.
25770 (ENTRY_CHK): Likewise.
25771 (END_CHK): Likewise.
25772 (syscall_error): Likewise.
25773 (mcount): Likewise.
25774 (PSEUDO_END): Likewise.
25775 (L): Likewise.
25776 (atom_text_section): Likewise.
25777 * sysdeps/x86/sysdep.h: New file.
25778 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25779 of <sysdeps/generic/sysdep.h>.
25780 (ALIGNARG): Removed.
25781 (ASM_SIZE_DIRECTIVE): Likewise.
25782 (ENTRY): Likewise.
25783 (END): Likewise.
25784 (ENTRY_CHK): Likewise.
25785 (END_CHK): Likewise.
25786 (syscall_error): Likewise.
25787 (mcount): Likewise.
25788 (PSEUDO_END): Likewise.
25789 (L): Likewise.
25790 (atom_text_section): Likewise.
25791
25792 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25793
25794 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25795 category of LC_CTYPE set to "i18n:2012".
25796 * localedata/locales/i18n_ctype: Regenerate.
25797
25798 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
25799
25800 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25801 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25802 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25803 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25804
25805 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25806 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25807 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25808 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25809
25810 2017-10-31 Joseph Myers <joseph@codesourcery.com>
25811
25812 * math/complex.h
25813 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25814 New macro.
25815 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25816 Likewise.
25817 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25818 Likewise.
25819 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25820 (CMPLXF32X): Likewise.
25821 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25822 (CMPLXF64X): Likewise.
25823 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25824 (CMPLXF128X): Likewise.
25825
25826 * math/math.h
25827 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25828 (__MATH_EVAL_FMT2): Define to add 0.0f.
25829
25830 2017-10-31 Alan Modra <amodra@gmail.com>
25831
25832 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25833 include sysdep.h.
25834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25848 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25849 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25850 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25851 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25852 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25853 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25854 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25855 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25856 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25857 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25858 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25859 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25860 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25861 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25862 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25863 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25864 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25865 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25866 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25867 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25868 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25869 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25870 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25871 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25872 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25873 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25874 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25875 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25876 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25877 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25878 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25879 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25880 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25881 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25882 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25883 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25884 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25885 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25886 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25887 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25888 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25889 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25890 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25891 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25892 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25893 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25894 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25895 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25896 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25897 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25898 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25899 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25900 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25901 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25902 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25903
25904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25905 include sysdep.h and math_ldbl_opt.h.
25906
25907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25908 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25933
25934 2017-10-31 Alan Modra <amodra@gmail.com>
25935
25936 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25937 string/strncase_l.c, not string/strncase.c.
25938 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25939 (libc_hidden_def): Redefine.
25940
25941 2017-10-31 Alan Modra <amodra@gmail.com>
25942
25943 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25944 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25945 (__strcasecmp): Don't define.
25946
25947 2017-10-31 Alan Modra <amodra@gmail.com>
25948
25949 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25950 IS_IN (libc).
25951 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25952 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25953 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25954
25955 2017-10-31 Alan Modra <amodra@gmail.com>
25956
25957 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25958 USE_AS_STPNCPY.
25959
25960 2017-10-31 Alan Modra <amodra@gmail.com>
25961
25962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25963 Redefine only when SHARED.
25964
25965 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25966
25967 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25968 Include <bits/math-finite.h> with appropriate macros defined and
25969 undefined.
25970 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25971 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25972 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25973 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25974 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25975
25976 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25977 [!_Mlong_double_] (_Mlong_double_): Likewise.
25978 [!_Mfloat16_] (_Mfloat16_): Likewise.
25979 [!_Mfloat32_] (_Mfloat32_): Likewise.
25980 [!_Mfloat64_] (_Mfloat64_): Likewise.
25981 [!_Mfloat128_] (_Mfloat128_): Likewise.
25982 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25983 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25984 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25985 (_Mdouble_): Define without indirection through those macros.
25986 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25987 [!_Mfloat128_] (_Mfloat128_): Likewise.
25988 [_Mlong_double_] (_Mlong_double_): Likewise.
25989 (_Mdouble_): Define without indirection through those macros.
25990 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25991 not add -D_Mlong_double_=double.
25992 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25993 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25994
25995 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25996
25997 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25998
25999 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26000
26001 * sysdeps/x86/libc-start.c: Reformat.
26002
26003 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26004
26005 [BZ #22353]
26006 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26007 (1): Renamed to ...
26008 (L(Src0)): This.
26009 (L(Src1)): New.
26010 (L(Src2)): Likewise.
26011 (L(1)): Renamed to ...
26012 (L(Src3)): This.
26013
26014 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26015
26016 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26017 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26018 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26019 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26020 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26021 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26022 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26023 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26024 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26025 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26026 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26027 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26028 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26029 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26030 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26031 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26032 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26033 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26034 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26035 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26036 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26037 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26038 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26039 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26040 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26041 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26042 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26043 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26044 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26045 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26046 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26047 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26048 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26049 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26050 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26051 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26052 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26053 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26054 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26055 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26056 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26057 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26058 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26059 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26060 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26061 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26062 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26063 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26064 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26065 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26066 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26067 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26068 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26069 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26070 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26071 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26072 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26073 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26074 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26075 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26076 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26077 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26078 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26079 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26080 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26081 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26082
26083 2017-10-30 Florian Weimer <fweimer@redhat.com>
26084
26085 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26086 always defined.
26087 * io/tst-mkdirat.c (do_test): Likewise.
26088 * io/tst-mkfifoat.c (do_test): Likewise.
26089 * io/tst-mknodat.c (do_test): Likewise.
26090 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26091 * locale/programs/locale.c (select_dirs): Likewise.
26092 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26093 * posix/bug-glob2.c (my_readdir): Likewise.
26094 * posix/tst-dir.c (main): Likewise.
26095 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26096 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26097
26098 2017-10-30 Florian Weimer <fweimer@redhat.com>
26099
26100 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26101 just __USE_GNU.
26102
26103 2017-10-30 Florian Weimer <fweimer@redhat.com>
26104
26105 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26106 Convert to support/test-driver.c.
26107 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26108 New macro parameters.
26109 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26110 * posix/tst-gnuglob.c: New file.
26111 * posix/tst-gnuglob64.c: Likewise.
26112 * posix/Makefile (tests): Add tst-gnuglob64.
26113
26114 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
26115
26116 [BZ #19485]
26117 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26118 and use a better translation for March in “mon”.
26119 * localedata/locales/csb_PL: Use more ASCII to improve the
26120 readability of the source.
26121
26122 2017-10-30 Mike FABIAN <mfabian@redhat.com>
26123
26124 [BZ #13953]
26125 * localedata/locales/km_KH: Use ASCII as much
26126 as possible for better readability of the source and
26127 remove useless comments.
26128 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26129 was commented out and apparently wrong anyway because it was
26130 using Lao characters. If Buddhist era should be used
26131 for km_KH, a native speaker should write the correct formaat
26132 for Khmer.
26133 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26134 (According to CLDR, the first weekday for Cambodia is Sunday).
26135 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26136 (These were using Lao characters which must be wrong. If we get
26137 the correct data from a native speaker, we could add it back, until
26138 then it is better not to have name_mr and name_mrs at all than
26139 having it wrong).
26140
26141 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26142
26143 * locale/loadlocale.c: Correct size of
26144 _nl_value_type_LC_<category> arrays.
26145
26146 2017-10-27 Joseph Myers <joseph@codesourcery.com>
26147
26148 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26149 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26150 with appropriate macros defined and undefined.
26151 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26152 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26153 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26154 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26155 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26156
26157 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26158
26159 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26160 "-O2 -march=i586".
26161
26162 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26163
26164 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26165 with lowercase letters to make it agree with CLDR.
26166
26167 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26168
26169 [BZ #15260]
26170 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26171 first letters of yesstr and nostr in yesexpr and noexpr,
26172 not for the full words.
26173 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26174 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26175 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26176 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26177 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26178 first letters of yesstr and nostr in yesexpr and noexpr,
26179 until now only English was matched in yesexpr and noexpr.
26180 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26181 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26182 fil but not for tl. As tl and fil are very similar, using fil
26183 is probably better than using English.
26184
26185 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
26186
26187 [BZ #21706]
26188 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26189 in yesstr and nostr.
26190
26191 2017-10-26 Joseph Myers <joseph@codesourcery.com>
26192
26193 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26194 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26195 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26196 Likewise.
26197 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26198 Likewise.
26199 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26200 Likewise.
26201 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26202 Likewise.
26203 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26204 (SNANF128X): Likewise.
26205
26206 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26207 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26208 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26209 (HUGE_VAL_F32): Likewise.
26210 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26211 (HUGE_VAL_F64): Likewise.
26212 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26213 (HUGE_VAL_F32X): Likewise.
26214 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26215 (HUGE_VAL_F64X): Likewise.
26216 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26217 (HUGE_VAL_F128X): Likewise.
26218
26219 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26220
26221 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26222 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26223 for the br_FR locale.
26224
26225 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26226
26227 [BZ #21706]
26228 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26229
26230 2017-10-25 Carlos O'Donell <carlos@redhat.com>
26231
26232 * locale/programs/record-status.h: Define globals, and function
26233 prototypes. Move function bodies...
26234 * locale/programs/record-status.c: ... to here. New file.
26235 * iconv/Makefile (iconv_prog-modules): Add record-status.
26236 * locale/Makefile (lib-modules): Likewise.
26237 * iconv/iconv_prog.c: Remove verbose.
26238 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26239 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26240 record a warning about ASCII compatibility.
26241 * locale/programs/ld-monetary.c (monetary_finish): If
26242 warn_int_curr_symbol is true then record a warning about the symbol
26243 not being in our ISO 4217 list.
26244 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26245 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26246 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26247 (OPT_NO_WARN): Define.
26248 (OPT_WARN): Define.
26249 (options): Add entry for --no-warnings, and --warnings.
26250 (set_warnings): New function to enable/disable warnings.
26251 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26252 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26253 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26254 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26255 Pass flags to generate_locale.
26256 (generate_locale): Accept new flag argument and pass it to localedef
26257 invocation.
26258 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26259 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26260
26261 * localedata/Makefile (test-input-data): Use full file name.
26262 * localedata/da_DK.in: Rename to...
26263 * localedata/da_DK.ISO-8859-1.in: ...this.
26264 * localedata/de_DE.in: Rename to...
26265 * localedata/de_DE.ISO-8859-1.in: ...this.
26266 * localedata/en_US.in: Rename to...
26267 * localedata/en_US.ISO-8859-1.in: ...this.
26268 * localedata/fr_FR.in: Rename to...
26269 * localedata/fr_FR.UTF-8.in: ... this.
26270 * localedata/hr_HR.in: Rename to...
26271 * localedata/hr_HR.ISO-8859-2.in: ...this.
26272 * localedata/hu_HU.in: Rename to...
26273 * localedata/hu_HU.UTF-8.in: ...this.
26274 * localedata/si_LK.in: Rename to...
26275 * localedata/si_LK.UTF-8.in: ...this.
26276 * localedata/sv_SE.in: Rename to...
26277 * localedata/sv_SE.ISO-8859-1.in: ...this.
26278 * localedata/tr_TR.in: Rename to...
26279 * localedata/tr_TR.UTF-8.in: ...this.
26280 * localedata/uk_UA.in: Rename to...
26281 * localedata/uk_UA.UTF-8.in: ...this.
26282 * localedata/sort-test.sh: Test file is locale name with the
26283 suffix.
26284
26285 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26286 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26287 file.
26288 * localedata/locales/i18n_ctype: Regenerate.
26289 * localedata/locales/tr_TR: Likewise.
26290 * localedata/locales/translit_circle: Likewise.
26291 * localedata/locales/translit_cjk_compat: Likewise.
26292 * localedata/locales/translit_combining: Likewise.
26293 * localedata/locales/translit_compat: Likewise.
26294 * localedata/locales/translit_font: Likewise.
26295 * localedata/locales/translit_fraction: Likewise.
26296
26297 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26298
26299 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26300 lxvd2x/stxvd2x with lvx/stvx.
26301 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26302
26303 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26304
26305 * include/alloc_buffer.h: Replace "if if " with "if " in
26306 comments.
26307 * sysdeps/mips/memcpy.S: Likkewise.
26308 * sysdeps/mips/memset.S: Likewise.
26309 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26310 Likewise.
26311 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26312 Likewise.
26313 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26314 Likewise.
26315
26316 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26317
26318 [BZ #15261]
26319 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26320 yesexpr and noexpr.
26321 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26322 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26323 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26324 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26325 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26326 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26327 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26328
26329 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26330
26331 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26332 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26333 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26334 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26335 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26336 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26337 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26338 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26339 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26340 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26341 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26342 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26343
26344 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26345
26346 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26347 as possible for better readability of the source.
26348 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26349 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26350 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26351 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26352 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26353 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26354 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26355 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26356 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26357 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26358 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26359 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26360 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26361 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26362 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26363 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26364 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26365 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26366 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26367 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26368 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26369 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26370 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26371 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26372 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26373 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26374 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26375 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26376 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26377 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26378 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26379 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26380 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26381 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26382 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26383 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26384 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26385 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26386 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26387 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26388 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26389 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26390 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26391 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26392 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26393 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26394 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26395 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26396 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26397 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26398 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26399 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26400 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26401 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26402 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26403 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26404 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26405 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26406 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26407 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26408 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26409 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26410 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26411 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26412 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26413 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26414 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26415 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26416 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26417 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26418 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26419 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26420 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26421 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26422 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26423 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26424 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26425 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26426 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26427 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26428 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26429 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26430 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26431 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26432 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26433 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26434 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26435 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26436 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26437 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26438 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26439 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26440 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26441 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26442 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26443 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26444 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26445 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26446 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26447 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26448 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26449 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26450 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26451 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26452 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26453 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26454 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26455 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26456 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26457 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26458 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26459 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26460 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26461 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26462 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26463 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26464 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26465 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26466 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26467 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26468 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26469 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26470 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26471 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26472 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26473 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26474 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26475 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26476 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26477 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26478 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26479 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26480 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26481 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26482 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26483 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26484 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26485 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26486 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26487 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26488 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26489 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26490 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26491 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26492 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26493 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26494 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26495 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26496 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26497 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26498 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26499 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26500 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26501 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26502 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26503 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26504 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26505 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26506 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26507 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26508 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26509 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26510 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26511 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26512 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26513 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26514 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26515 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26516 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26517 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26518 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26519 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26520 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26521 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26522
26523 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26524
26525 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26526 (Use first letters of yesstr and nostr correctly instead of using
26527 full words).
26528
26529 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26530
26531 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26532 (Use first letters of yesstr and nostr correctly).
26533
26534 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26535
26536 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26537 also check for the first characters of yesstr and nostr.
26538 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26539 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26540
26541 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26542
26543 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26544 also check for Chinese characters.
26545
26546 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26547
26548 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26549 match also for the contents of yesstr and nostr. As the first letter
26550 of yesstr and nostr is equal, checking only for the first letter
26551 is not enough.
26552
26553 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26554
26555 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26556 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26557
26558 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26559
26560 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26561 of main contributor.
26562
26563 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26564
26565 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26566 instead of using English.
26567
26568 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26569
26570 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26571 by including the first letters of nostr and yesexpr in the regexp.
26572 Also make it more readable by using ASCII where possible.
26573
26574 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26575
26576 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26577 the first letter of nostr in the regexp. It agrees with CLDR now.
26578 Also make it more readable by using ASCII where possible.
26579
26580 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26581
26582 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26583 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26584 these strings contain a U+17D6 (which somewhat looks like a colon)
26585 instead of a real colon to separate the full words for “yes”
26586 and “no” from the single letter responses.
26587
26588 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26589
26590 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26591 it agree with CLDR (include the first letter of yesstr).
26592 Also make it more readable by using ASCII where possible.
26593
26594 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26595
26596 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26597 and improve yesexpr and noexpr. The yesstr and nostr apparently
26598 came from CLDR. And CLDR has a bug there: these strings contain
26599 a U+0903 (which looks like a colon) instead of a real colon
26600 to separate the full words for “yes” and “no” from the single
26601 letter responses.
26602
26603 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26604
26605 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26606 letters of the full yesstr and nostr in yesexpr and noexpr.
26607
26608 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26609
26610 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26611 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26612 * localedata/locales/an_ES: Make source more readable by using ASCII
26613 where possible.
26614
26615 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26616
26617 [BZ #20952]
26618 * localedata/locales/yuw_PG: New file.
26619 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26620 * locale/iso-639.def: Add Yau (Uruwa).
26621
26622 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26623
26624 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26625
26626 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26627
26628 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26629 (__libc_realloc): Likewise.
26630 (_mid_memalign): Likewise.
26631 (__libc_calloc): Likewise.
26632
26633 2017-10-23 Mike FABIAN <mfabian@redhat.com>
26634
26635 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26636 by adding the generic +1 and -0 as in all other locales.
26637 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26638 day names and make it more readable by using ASCII where possible.
26639
26640 2017-10-24 Joseph Myers <joseph@codesourcery.com>
26641
26642 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26643 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26644
26645 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26646
26647 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26648 WNOHANG in waitpid call.
26649
26650 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26651
26652 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26653 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26654
26655 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26656 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26657 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26658 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26659 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26660 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26661 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26662 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26663 variables.
26664
26665 2017-10-23 Michael Collison <michael.collison@arm.com>
26666
26667 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26668 with __builtin_sqrt.
26669 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26670 with __builtin_sqrtf.
26671 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26672 with __builtin_ceil.
26673 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26674 with __builtin_ceilf.
26675 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26676 with __builtin_floor.
26677 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26678 with __builtin_floorf.
26679 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26680 with __builtin_fma.
26681 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26682 with __builtin_fmaf.
26683 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26684 with __builtin_fmax.
26685 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26686 with __builtin_fmaxf.
26687 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26688 with __builtin_fmin.
26689 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26690 with __builtin_fminf.
26691 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26692 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26693 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26694 with builtin_rint and conversion to int.
26695 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26696 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26697 with builtin_llround.
26698 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26699 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26700 with builtin_rint and conversion to long int.
26701 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26702 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26703 with builtin_lround.
26704 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26705 with builtin_lroundf.
26706 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26707 statements with __builtin_nearbyint.
26708 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26709 statements with __builtin_nearbyintf.
26710 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26711 with __builtin_rint.
26712 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26713 with __builtin_rintf.
26714 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26715 with __builtin_round.
26716 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26717 with __builtin_roundf.
26718 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26719 with __builtin_trunc.
26720 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26721 with __builtin_truncf.
26722 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26723 and s_l[l]round[f].c too.
26724
26725 2017-10-23 Alan Modra <amodra@gmail.com>
26726
26727 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26728 Adjust stack after restoring regs. Add missing LR cfi_restore.
26729
26730 2017-10-23 Alan Modra <amodra@gmail.com>
26731
26732 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26733 Move LR save and frame setup/teardown and LR restore to
26734 immediately around memset call. Provide cfi.
26735
26736 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26737
26738 * sysdeps/i386/fpu/e_powf.S: Removed.
26739 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26740 * sysdeps/i386/fpu/w_powf.c: Likewise.
26741 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26742 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26743 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26744 Add e_powf-sse2.
26745 (CFLAGS-e_powf-sse2.c): New.
26746 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26747 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26748
26749 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26750
26751 * sysdeps/i386/fpu/e_log2f.S: Removed.
26752 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26753 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26754 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26755 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26756 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26757 Add e_log2f-sse2.
26758 (CFLAGS-e_log2f-sse2.c): New.
26759 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26760 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26761
26762 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26763
26764 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26765 Add e_powf-fma.
26766 (CFLAGS-e_powf-fma.c): New.
26767 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26768 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26769
26770 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26771
26772 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26773 Add e_log2f-fma.
26774 (CFLAGS-e_log2f-fma.c): New.
26775 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26776 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26777
26778 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26779
26780 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26781 Add e_logf-fma.
26782 (CFLAGS-e_logf-fma.c): New.
26783 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26784 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26785
26786 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26787
26788 * sysdeps/i386/fpu/e_logf.S: Removed.
26789 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26790 * sysdeps/i386/fpu/w_logf.c: Likewise.
26791 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26792 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26793 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26794 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26795 Add e_logf-sse2.
26796 (CFLAGS-e_logf-sse2.c): New.
26797 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26798 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26799
26800 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26801
26802 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26803 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26804 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26805 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26806 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26807 Add e_exp2f-sse2.
26808 (CFLAGS-e_exp2f-sse2.c): New.
26809 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26810 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26811
26812 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26813
26814 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26815 Add e_exp2f-fma.
26816 (CFLAGS-e_exp2f-fma.c): New.
26817 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26818 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26819
26820 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26821
26822 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26823 * sysdeps/i386/fpu/e_expf.S: Likewise.
26824 * sysdeps/i386/fpu/math_errf.c: Likewise.
26825 * sysdeps/i386/fpu/w_expf.c: Likewise.
26826 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26827 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26828 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26829 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26830 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26831 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26832 Remove e_expf-ia32.
26833 (CFLAGS-e_expf-sse2.c): New.
26834 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26835 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26836
26837 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26838
26839 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26840 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26841 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26842 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26843 e_expf.c.
26844 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26845 New.
26846 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26847 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26848 Renamed to ...
26849 (__redirect_expf): This.
26850 (SYMBOL_NAME): Changed to expf.
26851 (__ieee754_expf): Renamed to ...
26852 (__expf): This.
26853 (__GI___expf): This.
26854 (__ieee754_expf): Add strong_alias.
26855 (__expf_finite): Likewise.
26856 (__expf): New.
26857 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26858
26859 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26860
26861 [BZ #22332]
26862 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26863 unescaping.
26864
26865 2017-10-21 Florian Weimer <fweimer@redhat.com>
26866
26867 * posix/Makefile (tests): Add tst-glob-tilde.
26868 (tests-special): Add tst-glob-tilde-mem.out
26869 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26870 (tst-glob-tilde-mem.out): Add mtrace check.
26871 * posix/tst-glob-tilde.c: New file.
26872
26873 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26874
26875 * bits/floatn-common.h: New file.
26876 * math/Makefile (headers): Add bits/floatn-common.h.
26877 * bits/floatn.h: Include <bits/floatn-common.h>.
26878 * sysdeps/ia64/bits/floatn.h: Likewise.
26879 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26880 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26881 * sysdeps/powerpc/bits/floatn.h: Likewise.
26882 * sysdeps/x86/bits/floatn.h: Likewise.
26883
26884 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26885
26886 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26887 indicates whether compiler emits an warning for alias for
26888 functions with incompatible types.
26889
26890 [BZ #22273]
26891 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26892 the auxiliary process is terminated by a signal before calling _exit
26893 or execve.
26894
26895 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26896
26897 [BZ #21265]
26898 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26899 New.
26900 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26901 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26902 and bit_arch_XSAVEC_Usable if needed.
26903 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26904 and bit_arch_Use_dl_runtime_resolve_opt.
26905 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26906 Removed.
26907 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26908 (bit_arch_Prefer_No_AVX512): Updated.
26909 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26910 (bit_arch_XSAVEC_Usable): New.
26911 (STATE_SAVE_OFFSET): Likewise.
26912 (STATE_SAVE_MASK): Likewise.
26913 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26914 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26915 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26916 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26917 (index_arch_XSAVEC_Usable): New.
26918 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26919 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26920 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26921 is enabled.
26922 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26923 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26924 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26925 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26926 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26927 _dl_runtime_resolve_xsavec.
26928 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26929 Removed.
26930 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26931 instead of VEC_SIZE.
26932 (REGISTER_SAVE_BND0): Removed.
26933 (REGISTER_SAVE_BND1): Likewise.
26934 (REGISTER_SAVE_BND3): Likewise.
26935 (REGISTER_SAVE_RAX): Always defined to 0.
26936 (VMOV): Removed.
26937 (_dl_runtime_resolve_avx): Likewise.
26938 (_dl_runtime_resolve_avx_slow): Likewise.
26939 (_dl_runtime_resolve_avx_opt): Likewise.
26940 (_dl_runtime_resolve_avx512): Likewise.
26941 (_dl_runtime_resolve_avx512_opt): Likewise.
26942 (_dl_runtime_resolve_sse): Likewise.
26943 (_dl_runtime_resolve_sse_vex): Likewise.
26944 (USE_FXSAVE): New.
26945 (_dl_runtime_resolve_fxsave): Likewise.
26946 (USE_XSAVE): Likewise.
26947 (_dl_runtime_resolve_xsave): Likewise.
26948 (USE_XSAVEC): Likewise.
26949 (_dl_runtime_resolve_xsavec): Likewise.
26950 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26951 Removed.
26952 (_dl_runtime_resolve_avx512_opt): Likewise.
26953 (_dl_runtime_resolve_avx): Likewise.
26954 (_dl_runtime_resolve_avx_opt): Likewise.
26955 (_dl_runtime_resolve_sse): Likewise.
26956 (_dl_runtime_resolve_sse_vex): Likewise.
26957 (_dl_runtime_resolve_fxsave): New.
26958 (_dl_runtime_resolve_xsave): Likewise.
26959 (_dl_runtime_resolve_xsavec): Likewise.
26960
26961 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
26962
26963 [BZ #22320]
26964 CVE-2017-15670
26965 * posix/glob.c (__glob): Fix one-byte overflow.
26966
26967 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26968
26969 * malloc/malloc.c (sysdep-cancel.h): Add include.
26970
26971 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26972
26973 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26974
26975 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26976
26977 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26978 (tests): Remove $(objpfx)ga_test depdendency.
26979 * resolv/ga_test.c: Remove file.
26980
26981 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26982
26983 [BZ #18812]
26984 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26985 * localedata/locales/kab_DZ: New file.
26986
26987 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26988
26989 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26990 _dl_relocate_static_pie instead of _dl_start to compute load
26991 address in static PIE.
26992
26993 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26994
26995 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26996
26997 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26998
26999 [BZ #13605]
27000 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27001 * localedata/locales/shn_MM: New file.
27002
27003 2017-10-20 Florian Weimer <fweimer@redhat.com>
27004
27005 [BZ #22321]
27006 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27007 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27008 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27009 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27010 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27011 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27012
27013 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27014
27015 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27016
27017 2017-10-19 Joseph Myers <joseph@codesourcery.com>
27018
27019 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27020
27021 [BZ #22322]
27022 * sysdeps/mips/bits/long-double.h: Move to ....
27023 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27024
27025 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27026
27027 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27028
27029 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
27030 H.J. Lu <hongjiu.lu@intel.com>
27031
27032 [BZ #22299]
27033 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27034 GLRO(dl_platform) to NULL.
27035 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27036 (modules-names): Add tst-platformmod-1 and
27037 x86_64/tst-platformmod-2.
27038 (CFLAGS-tst-platform-1.c): New.
27039 (CFLAGS-tst-platformmod-1.c): Likewise.
27040 (CFLAGS-tst-platformmod-2.c): Likewise.
27041 (LDFLAGS-tst-platformmod-2.so): Likewise.
27042 ($(objpfx)tst-platform-1): Likewise.
27043 ($(objpfx)tst-platform-1.out): Likewise.
27044 (tst-platform-1-ENV): Likewise.
27045 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27046 * sysdeps/x86_64/tst-platform-1.c: New file.
27047 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27048 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27049
27050 2017-10-19 Mike FABIAN <mfabian@redhat.com>
27051
27052 [BZ #13994]
27053 * locale/iso-639.def: Add Karbi.
27054 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27055 * localedata/locales/mjw_IN: New file.
27056
27057 2017-10-18 Joseph Myers <joseph@codesourcery.com>
27058
27059 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27060 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27061 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27062 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27063 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27064 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27065 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27066 <bits/floatn.h>.
27067 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27068 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27069 * manual/math.texi (Mathematics): Document additional architecture
27070 support for _Float128.
27071 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27072 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27073 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27074 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27075 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27076 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27077 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27078 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27079 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27080 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27081 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27082 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27083 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27084 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27085 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27086
27087 2017-10-18 Renlin Li <renlin.li@arm.com>
27088
27089 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27090 _DYNAMIC symbol to calculate load address.
27091
27092 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
27093
27094 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27095 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27096 summary bits.
27097 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27098 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27099
27100 2017-10-18 Mike FABIAN <mfabian@redhat.com>
27101
27102 [BZ #16777]
27103 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27104 and improve readability by using more ASCII.
27105 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27106 and improve readability by using more ASCII.
27107
27108 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27109
27110 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27111 not all targets support atomics on bool.
27112
27113 2017-10-17 Joseph Myers <joseph@codesourcery.com>
27114
27115 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27116 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27117 __f128.
27118 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27119 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27120 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27121 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27122 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27123 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27124
27125 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27126
27127 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27128 defines.
27129
27130 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27131
27132 [BZ #22159]
27133 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27134 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27135 (do_check_remalloced_chunk): Fix build bug.
27136 (do_check_malloc_state): Add assert that checks arena->top.
27137 (malloc_consolidate): Remove initialization.
27138 (int_mallinfo): Remove call to malloc_consolidate.
27139 (__libc_mallopt): Clarify why malloc_consolidate is needed.
27140
27141 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27142
27143 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27144 (have_fastchunks): Remove.
27145 (clear_fastchunks): Remove.
27146 (set_fastchunks): Remove.
27147 (malloc_state): Add have_fastchunks.
27148 (malloc_init_state): Use have_fastchunks.
27149 (do_check_malloc_state): Remove incorrect invariant checks.
27150 (_int_malloc): Use have_fastchunks.
27151 (_int_free): Likewise.
27152 (malloc_consolidate): Likewise.
27153
27154 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27155
27156 * malloc/malloc.c (tcache_put): Inline.
27157 (tcache_get): Inline.
27158
27159 2017-10-17 Jordi Mallach <jordi@gnu.org>
27160
27161 Aurelien Jarno <aurelien@aurel32.net>
27162 [BZ #2522]
27163 * localedata/locales/ca_ES@valencia: New file.
27164 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27165
27166 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27167
27168 [BZ #22296]
27169 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27170 < 6.x
27171
27172 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27173
27174 * scripts/build-many-glibcs.py (Context.add_all_configs):
27175 Add arm-linux-gnueabihf multiarch extra_glibcs.
27176
27177 * sysdeps/generic/ifunc-init.h: New file.
27178 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27179
27180 2017-10-17 Mike FABIAN <mfabian@redhat.com>
27181
27182 [BZ #22019]
27183 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27184 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27185 * stdlib/tst-strfmon_l.c: adapt test case.
27186
27187 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27188
27189 * sysdeps/generic/float128-abi.h: New file.
27190 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27191 non-__prefixed symbols to ....
27192 * math/Versions: ... here. Include <float128-abi.h>.
27193 * stdlib/Versions ... and here. Include <float128-abi.h>
27194
27195 2017-10-16 Florian Weimer <fweimer@redhat.com>
27196
27197 * version.h (VERSION): Switch to ".9000" as the development
27198 version suffix.
27199
27200 2017-10-16 Florian Weimer <fweimer@redhat.com>
27201
27202 [BZ #22050]
27203 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27204 compat_symbol_reference to access non-default version.
27205
27206 2017-10-16 Florian Weimer <fweimer@redhat.com>
27207
27208 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27209
27210 2017-10-16 Carlos O'Donell <carlos@redhat.com>
27211
27212 * include/shlib-compat.h (compat_symbol_reference): Update
27213 comment.
27214
27215 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27216
27217 * math/Makefile (test-types): Add
27218 $(type-float128-$(float128-alias-fcts)).
27219 * math/test-float128.h (TYPE_STR): Define conditional on
27220 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27221 (ULP_IDX): Likewise.
27222 (ULP_I_IDX): Likewise.
27223
27224 * stdlib/strtold.c: Include <bits/floatn.h>
27225 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27226 and later undefine as macro. Define as weak alias if
27227 [!USE_WIDE_CHAR].
27228 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27229 and later undefine as macro. Define as weak alias if
27230 [USE_WIDE_CHAR].
27231 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27232 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27233 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27234 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27235 Define and later undefine as macro. Define as weak alias if
27236 [USE_WIDE_CHAR].
27237 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27238 <bits/floatn.h>.
27239 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27240 Define and later undefine as macro. Define as weak alias if
27241 [!USE_WIDE_CHAR].
27242 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27243 Define and later undefine as macro. Define as weak alias if
27244 [USE_WIDE_CHAR].
27245
27246 2017-10-15 Carlos O'Donell <carlos@redhat.com>
27247
27248 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27249 record_verbose messages.
27250
27251 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27252
27253 [BZ #22052]
27254 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27255 to silence -O3 -Wall warning with GCC 7.
27256
27257 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27258
27259 * Makeconfig (+link-static-before-libc): Use the first of
27260 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27261 * gmon/Makefile (tests): Add tst-gmon-static.
27262 (tests-static): Likewise.
27263 (CFLAGS-tst-gmon-static.c): New.
27264 (CRT-tst-gmon-static): Likewise.
27265 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27266 (tst-gmon-static-ENV): Likewise.
27267 (tests-special): Likewise.
27268 ($(objpfx)tst-gmon-static.out): Likewise.
27269 (clean-tst-gmon-static-data): Likewise.
27270 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27271 * gmon/tst-gmon-static-gprof.sh: New file.
27272 * gmon/tst-gmon-static.c: Likewise.
27273
27274 2017-10-13 Carlos O'Donell <carlos@redhat.com>
27275
27276 [BZ #22295]
27277 * locale/programs/linereader.c (get_string): Don't warn on
27278 non-symbolic character.
27279
27280 [BZ #22294]
27281 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27282 int_curr_symbol.
27283
27284 [BZ #22292]
27285 * locale/programs/record-status.h: New file
27286 * locale/programs/locale.c: Add comment.
27287 * locale/programs/charmap-dir.c: Don't include error.h.
27288 (charmap_opendir): Use record_error.
27289 * locale/programs/charmap.c: Don't include error.h.
27290 (charmap_read): Use record_error, and record_warning.
27291 (parse_charmap): Likewise.
27292 * locale/programs/ld-address.c: Don't include error.h.
27293 (address_finish): Use record_error, and record_warning.
27294 * locale/programs/ld-collate.c: Don't include error.h.
27295 (collate_finish): Use record_error, and record_error_at_line.
27296 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27297 (ctype_class_new): Likewise.
27298 (ctype_map_new): Likewise.
27299 (set_one_default): Likewise.
27300 (set_class_defaults): Likewise.
27301 (translit_flatten): Likewise.
27302 (allocate_arrays): Use record_error, and record_verbose.
27303 * locale/programs/ld-identification.c: Don't include error.h.
27304 (indentation_finish): Use record_error and record_warning.
27305 * locale/programs/ld-measurement.c: Don't include error.h.
27306 (measurement_finish): Use record_error.
27307 * locale/programs/ld-messages.c
27308 (message_finish): Likewise.
27309 * locale/programs/ld-monetary.c
27310 (monetary_finish): Likewise.
27311 * locale/programs/ld-name.c (name_finish): Use record_error
27312 and record_warning.
27313 * locale/programs/ld-numeric.c
27314 (numeric_finish): Use record_error.
27315 * locale/programs/ld-paper.c: Don't include error.h.
27316 (paper_finish): Use record_error.
27317 * locale/programs/ld-telephone.c: Don't include error.h.
27318 (telephone_finish): Use record_error.
27319 * locale/programs/ld-time.c (time_finish): Likewise.
27320 * locale/programs/linereader.h (lr_error): Make inline func.
27321 * locale/programs/localedef.c: Define recorded_warning_count,
27322 and recorded_error_count.
27323 (main): Use record_error. Use recorded_error_count and
27324 recorded_warning_count to issue correct error returns.
27325 (add_to_readlist): Use record_error.
27326 (find_locale): Likewise.
27327 (load_locale): Likewise.
27328 * locale/programs/localedef.h: Remove be_quiet
27329 and WITH_CUR_LOCALE.
27330 * locale/programs/locarchive.c (compare_from_file): Use
27331 record_error.
27332 * locale/programs/locfile.c (write_locale_data): Use
27333 record_error.
27334 * locale/programs/repertoire.c: Dont include error.h.
27335 (repertoire_complain): Use record_error.
27336 * localedata/tst-fmon.sh: Expect failures from localedef.
27337 * localedata/tst-locale.sh: Likewise.
27338 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27339
27340 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27341 (REPORTS): Likewise.
27342 (check): Likewise.
27343 (i18n): Rename to...
27344 (i18n_ctype): ...this.
27345 (i18n-report): Rename to...
27346 (i18n_ctype-report): ...this.
27347 * localedata/locales/i18n_ctype: Regenerate.
27348 * localedata/locales/i18n: copy i18n_ctype.
27349
27350 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27351
27352 * stdlib/strfroml.c: Include <bits/floatn.h>.
27353 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27354 Define before include of <stdlib.h> and undefine afterwards, then
27355 define as weak alias.
27356
27357 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27358 Undefine and restore default definition. Use
27359 libm_alias_ldouble_other.
27360
27361 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27362
27363 [BZ #22153]
27364 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27365 in coredumps.
27366
27367 2017-10-13 James Clarke <jrtc27@jrtc27.com>
27368
27369 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27370 Assign sym_map to be map for local symbols, as TLS relocations
27371 use sym_map to determine whether the symbol is defined and to
27372 extract the TLS information.
27373 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27374 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27375
27376 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27377
27378 [BZ #22189]
27379 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27380 (math_force_eval): Add powerpc version.
27381
27382 [BZ #22142]
27383 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27384 -DBL_MAX.
27385 (do_test): Likewise.
27386 * stdio-common/tst-printf.sh: Likewise.
27387 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27388 ifdef clause in order to set the carry bit right. Replace r0 by
27389 0 without changing the behavior.
27390
27391 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27392
27393 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27394 <libm-alias-ldouble.h>.
27395 (fabsl): Define using libm_alias_ldouble.
27396 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27397 <libm-alias-ldouble.h>.
27398 (fabsl): Define using libm_alias_ldouble.
27399
27400 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27401 Remove conditional code.
27402
27403 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27404 Rename to __clog10_internal_l.
27405 (__clog10_internal_l): Define aliases using
27406 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27407 with __clog10.
27408
27409 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27410
27411 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27412 * benchtests/sincosf-inputs: New file.
27413 * benchtests/cosf-inputs: New file.
27414 * benchtests/sinf-inputs: New file.
27415
27416 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27417
27418 * posix/tst-spawn.c (do_test): Wait for both children.
27419
27420 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27421
27422 [BZ #22284]
27423 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27424 tests-pie): Add tst-gmon-pie.
27425 (CFLAGS-tst-gmon-pie.c): New.
27426 (CRT-tst-gmon-pie): Likewise.
27427 (tst-gmon-pie-ENV): Likewise.
27428 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27429 ($(objpfx)tst-gmon-pie.out): Likewise.
27430 (clean-tst-gmon-pie-data): Likewise.
27431 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27432 * gmon/gmon.c [PIC]: Include <link.h>.
27433 [PIC] (callback): New function.
27434 (write_hist): Add an argument for load address. Subtract load
27435 address from PCs.
27436 (write_call_graph): Likewise.
27437 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27438 it to write_hist and write_call_graph.
27439 * gmon/tst-gmon-pie.c: New file.
27440
27441 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27442
27443 * math/Makefile (test-types-basic): New variable.
27444 (test-types): Likewise.
27445 (libm-test-support): Use $(test-types) instead of $(types).
27446 (libm-tests-base-normal): Likewise.
27447 (libm-tests-base-finite): Likewise.
27448 (libm-tests-base-inline): Likewise.
27449 (generated): Likewise.
27450 ($(objpfx)libm-test-support-$(t).c): Likewise.
27451 (libm-tests-for-type iterator): Likewise.
27452 (libm-test-support iterator): Likewise.
27453 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27454 (ulp_idx): Use ULP_IDX.
27455 * math/test-ldouble.h: Include <float.h>.
27456 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27457 (ULP_IDX): New macro.
27458 (ULP_I_IDX): Likewise.
27459 * math/test-double.h (ULP_IDX): Likewise.
27460 (ULP_I_IDX): Likewise.
27461 * math/test-float.h (ULP_IDX): Likewise.
27462 (ULP_I_IDX): Likewise.
27463 * math/test-float128.h (ULP_IDX): Likewise.
27464 (ULP_I_IDX): Likewise.
27465
27466 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27467
27468 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27469 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27470 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27471 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27472 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27473 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27474 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27475 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27476 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27477 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27478 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27479 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27480 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27481 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27482 (SINGLE_THREAD_BY_GLOBAL): Define.
27483 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27484 Likewise.
27485 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27486 Likewise.
27487 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27488 Likewise.
27489 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27490 Likewise.
27491 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27492 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27494 Likewise.
27495
27496 2017-10-11 Andreas Schwab <schwab@suse.de>
27497
27498 * nis/Makefile (aux): Remove.
27499 * nscd/Makefile (aux): Add nscd_hash.
27500 (nscd-modules): Likewise.
27501 ($(objpfx)nscd): Don't depend on libnsl.
27502 * nscd/nscd_hash.c: New file.
27503 * nscd/nscd_hash.h: Likewise.
27504 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27505 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27506 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27507 instead of <nis/rpcsvc/nis.h>.
27508 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27509
27510 2017-10-11 Florian Weimer <fweimer@redhat.com>
27511
27512 [BZ #22078]
27513 Avoid large NSS buffers with many addresses, aliases.
27514 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27515 using dynarrays and struct alloc_buffer.
27516 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27517 (tst-nss-files-hosts-multi): Link with -ldl.
27518 * nss/tst-nss-files-hosts-multi.c: New file.
27519
27520 2017-10-11 Florian Weimer <fweimer@redhat.com>
27521
27522 [BZ #18023]
27523 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27524 scratch_buffer. Eliminate gotos.
27525
27526 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27527
27528 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27529 libm_alias_ldouble_other.
27530 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27531 undefine and redefine.
27532 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27533 (exp10l): Do not define here.
27534 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27535 (weak_alias): Undefine and redefine.
27536 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27537 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27538 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27539 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27540
27541 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27542 [!__fma] (fma): Define using libm_alias_double.
27543 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27544 [!__fmaf] (fmaf): Define using libm_alias_float.
27545 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27546 (fmal): Define using libm_alias_ldouble.
27547
27548 2017-10-10 Joseph Myers <joseph@codesourcery.com>
27549
27550 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27551 New macro.
27552 (libm_alias_double_other): Likewise.
27553 (libm_alias_double_r): Use libm_alias_double_other_r.
27554 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27555 New macro.
27556 (libm_alias_float_other): Likewise.
27557 (libm_alias_float_r): Use libm_alias_float_other_r.
27558 * sysdeps/generic/libm-alias-float128.h
27559 (libm_alias_float128_other_r): New macro.
27560 (libm_alias_float128_other): Likewise.
27561 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27562 * sysdeps/generic/libm-alias-ldouble.h
27563 (libm_alias_ldouble_other_r): New macro.
27564 (libm_alias_ldouble_other): Likewise.
27565 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27566 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27567 (libm_alias_double_other_r): New macro.
27568 (libm_alias_double_other): Likewise.
27569 (libm_alias_double_r): Use libm_alias_double_other_r.
27570 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27571 (libm_alias_ldouble_other_r): New macro.
27572 (libm_alias_ldouble_other): Likewise.
27573 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27574 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27575 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27576 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27577 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27578 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27579 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27580 * math/w_exp2f.c: Use libm_alias_float_other.
27581 * math/w_expf.c: Likewise.
27582 * math/w_log2f.c: Likewise.
27583 * math/w_logf.c: Likewise.
27584 * math/w_powf.c: Likewise.
27585 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27586 [!__exp2f]: Use libm_alias_float_other.
27587 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27588 [!__expf]: Use libm_alias_float_other.
27589 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27590 [!__log2f]: Use libm_alias_float_other.
27591 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27592 [!__logf]: Use libm_alias_float_other.
27593 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27594 [!__powf]: Use libm_alias_float_other.
27595
27596 2017-10-10 Florian Weimer <fweimer@redhat.com>
27597
27598 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27599 function.
27600 (_nss_files_gethostbyname3_r): Call it.
27601
27602 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27603
27604 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27605 error. Remove default definition of declare_mgen_alias.
27606 [!declare_mgen_alias_r]: Likewise.
27607 * sysdeps/generic/math-type-macros-double.h
27608 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27609 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27610 (declare_mgen_alias_r): Likewise.
27611 * sysdeps/generic/math-type-macros-float128.h
27612 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27613 * sysdeps/generic/math-type-macros-ldouble.h
27614 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27615 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27616 macro.
27617 (declare_mgen_alias_r_s): Likewise.
27618 (declare_mgen_alias_r): Likewise.
27619 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27620 (lgamma_r): Define using libm_alias_double_r.
27621 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27622 (lgammaf_r): Define using libm_alias_float_r.
27623 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27624 (lgammal_r): Define using libm_alias_ldouble_r.
27625 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27626 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27627
27628 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27629
27630 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27631 extern declaration.
27632
27633 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27634
27635 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27636
27637 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
27638
27639 [BZ #21326]
27640 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27641 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27642 * math/Makefile (test-math-cxx11): New test.
27643 * math/test-math-cxx11.cc: New file.
27644
27645 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27646
27647 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27648
27649 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27650 call to allocate the slave pty file descriptor.
27651
27652 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27653
27654 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27655 [!__fma] (fma): Define using libm_alias_double.
27656 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27657 [!__fma] (fma): Define using libm_alias_double.
27658
27659 * sysdeps/ieee754/float128/float128_private.h: Include
27660 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27661 (libm_alias_ldouble_r): Undefine and redefine.
27662 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27663 <libm-alias-ldouble.h>.
27664 (asinhl): Define using libm_alias_ldouble.
27665 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27666 <libm-alias-ldouble.h>.
27667 (atanl): Define using libm_alias_ldouble.
27668 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27669 <libm-alias-ldouble.h>.
27670 (cbrtl): Define using libm_alias_ldouble.
27671 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27672 <libm-alias-ldouble.h>.
27673 (ceill): Define using libm_alias_ldouble.
27674 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27675 <libm-alias-ldouble.h>.
27676 (copysignl): Define using libm_alias_ldouble.
27677 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27678 <libm-alias-ldouble.h>.
27679 (cosl): Define using libm_alias_ldouble.
27680 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27681 <libm-alias-ldouble.h>.
27682 (erfl): Define using libm_alias_ldouble.
27683 (erfcl): Likewise.
27684 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27685 <libm-alias-ldouble.h>.
27686 (expm1l): Define using libm_alias_ldouble.
27687 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27688 <libm-alias-ldouble.h>.
27689 (fabsl): Define using libm_alias_ldouble.
27690 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27691 <libm-alias-ldouble.h>.
27692 (floorl): Define using libm_alias_ldouble.
27693 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27694 <libm-alias-ldouble.h>.
27695 (fmal): Define using libm_alias_ldouble.
27696 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27697 <libm-alias-ldouble.h>.
27698 (frexpl): Define using libm_alias_ldouble.
27699 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27700 libm_alias_ldouble.
27701 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27702 <libm-alias-ldouble.h>.
27703 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27704 libm_alias_ldouble.
27705 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27706 <libm-alias-ldouble.h>.
27707 (getpayloadl): Define using libm_alias_ldouble.
27708 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27709 <libm-alias-ldouble.h>.
27710 (llrintl): Define using libm_alias_ldouble.
27711 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27712 <libm-alias-ldouble.h>.
27713 (llroundl): Define using libm_alias_ldouble.
27714 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27715 <libm-alias-ldouble.h>.
27716 (logbl): Define using libm_alias_ldouble.
27717 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27718 <libm-alias-ldouble.h>.
27719 (lrintl): Define using libm_alias_ldouble.
27720 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27721 <libm-alias-ldouble.h>.
27722 (lroundl): Define using libm_alias_ldouble.
27723 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27724 <libm-alias-ldouble.h>.
27725 (modfl): Define using libm_alias_ldouble.
27726 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27727 <libm-alias-ldouble.h>.
27728 (nearbyintl): Define using libm_alias_ldouble.
27729 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27730 <libm-alias-ldouble.h>.
27731 (nextafterl): Define using libm_alias_ldouble.
27732 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27733 <libm-alias-ldouble.h>.
27734 (nextupl): Define using libm_alias_ldouble.
27735 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27736 <libm-alias-ldouble.h>.
27737 (remquol): Define using libm_alias_ldouble.
27738 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27739 <libm-alias-ldouble.h>.
27740 (rintl): Define using libm_alias_ldouble.
27741 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27742 <libm-alias-ldouble.h>.
27743 (roundevenl): Define using libm_alias_ldouble.
27744 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27745 <libm-alias-ldouble.h>.
27746 (roundl): Define using libm_alias_ldouble.
27747 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27748 using libm_alias_ldouble.
27749 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27750 <libm-alias-ldouble.h>.
27751 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27752 Define using libm_alias_ldouble.
27753 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27754 <libm-alias-ldouble.h>.
27755 (sincosl): Define using libm_alias_ldouble.
27756 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27757 <libm-alias-ldouble.h>.
27758 (sinl): Define using libm_alias_ldouble.
27759 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27760 <libm-alias-ldouble.h>.
27761 (tanhl): Define using libm_alias_ldouble.
27762 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27763 <libm-alias-ldouble.h>.
27764 (tanl): Define using libm_alias_ldouble.
27765 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27766 <libm-alias-ldouble.h>.
27767 (totalorderl): Define using libm_alias_ldouble.
27768 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27769 <libm-alias-ldouble.h>.
27770 (totalordermagl): Define using libm_alias_ldouble.
27771 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27772 <libm-alias-ldouble.h>.
27773 (truncl): Define using libm_alias_ldouble.
27774 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27775 libm_alias_ldouble.
27776 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27777 libm_alias_ldouble.
27778 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27779 <libm-alias-ldouble.h>.
27780 (weak_alias): Do not undefine and redefine.
27781 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27782 (copysignl): Define with long_double_symbol only if [IS_IN
27783 (libc)].
27784 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27785 <libm-alias-ldouble.h>.
27786 (weak_alias): Do not undefine and redefine.
27787 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27788 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27789 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27790 <libm-alias-ldouble.h>.
27791 (weak_alias): Do not undefine and redefine.
27792 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27793 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27794 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27795 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27796 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27797 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27798 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27799 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27800 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27801 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27802 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27803 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27804 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27805 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27806 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27807 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27808 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27809 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27810 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27811 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27812 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27813 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27814 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27815 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27816 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27817 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27818
27819 2017-10-06 Carlos O'Donell <carlos@redhat.com>
27820
27821 [BZ #22111]
27822 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27823 (tcache_thread_freeres): Set tcache_shutting_down before
27824 freeing the tcache.
27825 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27826 * malloc/tst-malloc-tcache-leak.c: New file.
27827
27828 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27829
27830 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27831 back to powerpc32 file.
27832 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27833 (memrchr): Add __memrchr_power8 to ifunc list.
27834 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27835 extra bytes for unaligned inputs.
27836
27837 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27838
27839 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27840 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27841 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27842 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27843 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27844
27845 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27846
27847 * sysdeps/arm/libm-test-ulps: Update.
27848
27849 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27850 <libm-alias-ldouble.h>.
27851 (asinhl): Define using libm_alias_ldouble.
27852 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27853 <libm-alias-ldouble.h>.
27854 (cbrtl): Define using libm_alias_ldouble.
27855 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27856 <libm-alias-ldouble.h>.
27857 (copysignl): Define using libm_alias_ldouble.
27858 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27859 <libm-alias-ldouble.h>.
27860 (cosl): Define using libm_alias_ldouble.
27861 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27862 <libm-alias-ldouble.h>.
27863 (erfl): Define using libm_alias_ldouble.
27864 (erfcl): Likewise.
27865 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27866 <libm-alias-ldouble.h>.
27867 (fmal): Define using libm_alias_ldouble.
27868 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27869 <libm-alias-ldouble.h>.
27870 (frexpl): Define using libm_alias_ldouble.
27871 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27872 libm_alias_ldouble.
27873 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27874 <libm-alias-ldouble.h>.
27875 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27876 libm_alias_ldouble.
27877 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27878 <libm-alias-ldouble.h>.
27879 (getpayloadl): Define using libm_alias_ldouble.
27880 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27881 <libm-alias-ldouble.h>.
27882 (llrintl): Define using libm_alias_ldouble.
27883 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27884 <libm-alias-ldouble.h>.
27885 (llroundl): Define using libm_alias_ldouble.
27886 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27887 <libm-alias-ldouble.h>.
27888 (lrintl): Define using libm_alias_ldouble.
27889 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27890 <libm-alias-ldouble.h>.
27891 (lroundl): Define using libm_alias_ldouble.
27892 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27893 <libm-alias-ldouble.h>.
27894 (modfl): Define using libm_alias_ldouble.
27895 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27896 <libm-alias-ldouble.h>.
27897 (nextupl): Define using libm_alias_ldouble.
27898 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27899 <libm-alias-ldouble.h>.
27900 (remquol): Define using libm_alias_ldouble.
27901 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27902 <libm-alias-ldouble.h>.
27903 (roundevenl): Define using libm_alias_ldouble.
27904 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27905 <libm-alias-ldouble.h>.
27906 (roundl): Define using libm_alias_ldouble.
27907 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27908 using libm_alias_ldouble.
27909 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27910 <libm-alias-ldouble.h>.
27911 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27912 <libm-alias-ldouble.h>.
27913 (setpayloadsigl): Define using libm_alias_ldouble.
27914 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27915 <libm-alias-ldouble.h>.
27916 (sincosl): Define using libm_alias_ldouble.
27917 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27918 <libm-alias-ldouble.h>.
27919 (sinl): Define using libm_alias_ldouble.
27920 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27921 <libm-alias-ldouble.h>.
27922 (tanhl): Define using libm_alias_ldouble.
27923 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27924 <libm-alias-ldouble.h>.
27925 (tanl): Define using libm_alias_ldouble.
27926 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27927 <libm-alias-ldouble.h>.
27928 (totalorderl): Define using libm_alias_ldouble.
27929 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27930 <libm-alias-ldouble.h>.
27931 (totalordermagl): Define using libm_alias_ldouble.
27932 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27933 libm_alias_ldouble.
27934 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27935 libm_alias_ldouble.
27936
27937 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27938
27939 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27940 memmove_falkor.
27941 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27942 (__libc_ifunc_impl_list): Likewise.
27943 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27944 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27945
27946 * benchtests/bench-memmove-walk.c: New file.
27947 * benchtests/Makefile (string-benchset): Add it.
27948
27949 * benchtests/bench-memset-walk.c: New file.
27950 * benchtests/Makefile (string-benchset): Add it.
27951
27952 * benchtests/bench-memcpy-walk.c: New file.
27953 * benchtests/Makefile (string-benchset): Add it.
27954
27955 2017-10-05 Florian Weimer <fweimer@redhat.com>
27956
27957 nscd: Eliminate compilation time dependency in the build output.
27958 * nscd/nscd_stat.c (STATDATA_VERSION)
27959 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27960 (STATDATA_VERSION_FULL): New macro definitions.
27961 (compilation): Remove.
27962 (struct statdata): Adjust version member.
27963 (send_stats): Set version from STATDATA_VERSION_FULL.
27964 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27965
27966 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27967
27968 * configure.ac (--enable-add-ons): Remove option.
27969 (machine): Do not mention add-ons in comment.
27970 (LIBC_PRECONFIGURE): Likewise.
27971 (add_ons): Remove variable and sanity checks and logic to locate
27972 add-ons.
27973 (add_ons_automatic): Remove variable.
27974 (configured_add_ons): Likewise.
27975 (add_ons_sfx): Likewise.
27976 (add_ons_pfx): Likewise.
27977 (add_on_subdirs): Likewise.
27978 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27979 consideration of add-ons in Implies handling.
27980 (sysdeps_add_ons): Likewise.
27981 * configure: Regenerated.
27982 * libidn/configure.ac: Remove.
27983 * libidn/configure: Likewise.
27984 * sysdeps/unix/inet/configure.ac: New file.
27985 * sysdeps/unix/inet/configure: New generated file.
27986 * sysdeps/unix/inet/Subdirs: Add libidn.
27987 * Makeconfig (sysdeps-srcdirs): Remove variable.
27988 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27989 ($(common-objpfx)config.status): Do not depend on add-on files.
27990 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27991 comment.
27992 (all-subdirs): Do not include $(add-on-subdirs).
27993 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27994 * config.make.in (add-ons): Remove variable.
27995 (add-on-subdirs): Likewise.
27996 (sysdeps-add-ons): Likewise.
27997 * manual/Makefile (add-chapters): Remove.
27998 ($(objpfx)texis): Do not depend on $(add-chapters).
27999 (nonexamples): Do not handle $(add-chapters).
28000 (examples): Do not handle $(add-ons).
28001 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28002 libc-texinfo.sh.
28003 * manual/install.texi (Installation): Do not mention add-ons.
28004 (--enable-add-ons): Do not document configure option.
28005 * INSTALL: Regenerated.
28006 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28007 * manual/maint.texi (Hierarchy Conventions): Do not mention
28008 add-ons.
28009 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28010 --enable-add-ons.
28011 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28012 add-ons.
28013 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28014 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28015
28016 2017-10-05 Andreas Schwab <schwab@suse.de>
28017
28018 [BZ #15142]
28019 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28020 (_IO_flush_all_lockp): Always lock list_all_lock.
28021 (_IO_flush_all_linebuffered): Likewise.
28022 (_IO_unbuffer_all): Likewise.
28023
28024 2017-10-05 Florian Weimer <fweimer@redhat.com>
28025
28026 [BZ #15436]
28027 Do not flush stdio streams on abort.
28028 * stdlib/abort.c (fflush): Remove macro definition.
28029 (abort): Remove stages related to stdio flushing.
28030
28031 2017-10-05 Florian Weimer <fweimer@redhat.com>
28032
28033 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28034
28035 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28036
28037 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28038
28039 2017-10-05 Florian Weimer <fweimer@redhat.com>
28040
28041 * support/support_format_hostent.c (support_format_hostent): Add
28042 more error information for NETDB_INTERNAL.
28043
28044 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28045
28046 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28047 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28048 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28049 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28050 AC_DEFINE if multi-arch is enabled.
28051 * sysdeps/i386/configure: Regenerated.
28052
28053 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28054
28055 * Makeconfig (+link-static-before-libc): Use
28056 $(DEFAULT-LDFLAGS-$(@F)).
28057 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28058 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28059 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28060
28061 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28062
28063 * elf/Makefile (tests): Add tst-main1.
28064 (modules-names): Add tst-main1mod.
28065 ($(objpfx)tst-main1): New.
28066 (CRT-tst-main1): Likewise.
28067 (LDFLAGS-tst-main1): Likewise.
28068 (LDLIBS-tst-main1): Likewise.
28069 (tst-main1mod.so-no-z-defs): Likewise.
28070 * elf/tst-main1.c: New file.
28071 * elf/tst-main1mod.c: Likewise.
28072
28073 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28074
28075 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28076
28077 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28078
28079 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28080 (fma): Define using libm_alias_double.
28081 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28082 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28083 <math_ldbl_opt.h>.
28084 (fmal): Do not define as compat symbol here.
28085 * sysdeps/alpha/fpu/s_fma.c: New file.
28086
28087 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28088
28089 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28090
28091 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28092
28093 [BZ #22229]
28094 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28095 <math_ldbl_opt.h>
28096 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28097 and libc.
28098 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28099 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28100 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28101 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28103 Include <math_ldbl_opt.h>
28104 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28105 and libc.
28106 (compat_symbol): Undefine and redefine.
28107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28108 <math_ldbl_opt.h>
28109 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28110 (compat_symbol): Undefine and redefine.
28111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28112 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28113 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28114 GLIBC_2_1 for libm.
28115 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28116 GLIBC_2.0 copysignl symbol.
28117 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28118 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28119
28120 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28121
28122 2017-10-04 Florian Weimer <fweimer@redhat.com>
28123
28124 * scripts/check-local-headers.sh: Ignore nspr4 header file
28125 directory in addition to nspr.
28126
28127 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
28128
28129 [BZ #17956]
28130 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28131 * configure: Regenerate.
28132 * crypt/Makefile (nss-cpp-flags): New variable.
28133 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28134 (CPPFLAGS-md5-crypt.c): Use it.
28135 * scripts/check-local-headers.sh: Ignore nspr header file
28136 directory.
28137
28138 2017-10-04 Andreas Schwab <schwab@suse.de>
28139
28140 * nis/Makefile (services): Remove compat.
28141 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28142 ($(objpfx)libnss_compat.so): Remove rule.
28143 * nis/Versions (libnss_compat): Remove.
28144 * nss/Makefile (services): Add compat.
28145 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28146 * nss/Versions (libnss_compat): Define.
28147 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28148 Don't include <rpc/types.h>. Replace bool_t by bool.
28149 * nss/nss_compat/compat-initgroups.c: Likewise.
28150 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28151 instead of <rpcsrv/ypclnt.h>.
28152 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28153 yp_get_default_domain.
28154 * nss/nss_compat/compat-pwd.c: Likewise.
28155 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28156 yp_get_default_domain.
28157 * nss/nss_compat/nisdomain.c: New file.
28158 * nss/nss_compat/nisdomain.h: Likewise.
28159
28160 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28161
28162 [BZ #22244]
28163 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28164 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28165
28166 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28167
28168 [BZ #22243]
28169 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28170 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28171
28172 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28173
28174 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28175 "movl main@GOTOFF(%ebx), %eax".
28176
28177 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28178
28179 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28180 allow undefined _DYNAMIC in PIE libc.a.
28181 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28182 Likewse.
28183
28184 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28185
28186 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28187 check _DYNAMIC.
28188
28189 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28190
28191 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28192 check _DYNAMIC.
28193
28194 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28195
28196 * math/test-math-iscanonical.cc (error): Replace bool with int.
28197
28198 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28199
28200 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28201 (modf): Define using libm_alias_double, only if [!__modf].
28202 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28203 <libm-alias-double.h>.
28204 (modf): Define using libm_alias_double, only if [!__modf].
28205 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28206 compat symbol here.
28207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28208 (weak_alias): Do not undefine and redefine.
28209 (strong_alias): Likewise.
28210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28211 (weak_alias): Likewise.
28212 (strong_alias): Likewise.
28213
28214 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28215 (logb): Define using libm_alias_double, only if [!__logb].
28216 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28217 <libm-alias-double.h>.
28218 (logb): Define using libm_alias_double, only if [!__logb].
28219 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28221 (weak_alias): Do not undefine and redefine.
28222 (strong_alias): Likewise.
28223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28224 (weak_alias): Likewise.
28225 (strong_alias): Likewise.
28226
28227 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28228
28229 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28230 Check SHARED instead PIC.
28231
28232 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28233
28234 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28235 [!__fmaf] (fmaf): Define using libm_alias_float.
28236
28237 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28238 (frexp): Define using libm_alias_double.
28239 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28240 <libm-alias-double.h>.
28241 (frexp): Define using libm_alias_double.
28242 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28243 compat symbol here.
28244
28245 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28246
28247 [BZ #22235]
28248 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28249 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28250 (CFLAGS-test-math-iscanonical.cc): New variable.
28251 * math/test-math-iscanonical.cc: New file.
28252 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28253 Provide a C++ implementation based on function overloading,
28254 rather than using __MATH_TG, which uses C-only builtins.
28255 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28256 Likewise.
28257 * sysdeps/powerpc/powerpc64le/Makefile
28258 (CFLAGS-test-math-iscanonical.cc): New variable.
28259
28260 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28261
28262 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28263 (ceil): Define using libm_alias_double.
28264 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28265 (floor): Define using libm_alias_double.
28266 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28267 <libm-alias-double.h>.
28268 (llround): Define using libm_alias_double.
28269 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28270 <libm-alias-double.h>.
28271 (lround): Define using libm_alias_double.
28272 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28273 <libm-alias-double.h>.
28274 (nearbyint): Define using libm_alias_double.
28275 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28276 <libm-alias-double.h>.
28277 (remquo): Define using libm_alias_double.
28278 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28279 (rint): Define using libm_alias_double.
28280 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28281 (round): Define using libm_alias_double.
28282 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28283 (trunc): Define using libm_alias_double.
28284 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28285 <libm-alias-double.h>.
28286 (ceil): Define using libm_alias_double.
28287 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28288 <libm-alias-double.h>.
28289 (floor): Define using libm_alias_double.
28290 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28291 <libm-alias-double.h>.
28292 (llround): Define using libm_alias_double.
28293 [_LP64] (lround): Likewise.
28294 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28295 <libm-alias-double.h>.
28296 [!_LP64] (lround): Define using libm_alias_double.
28297 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28298 <libm-alias-double.h>.
28299 (nearbyint): Define using libm_alias_double.
28300 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28301 <libm-alias-double.h>.
28302 (remquo): Define using libm_alias_double.
28303 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28304 <libm-alias-double.h>.
28305 (rint): Define using libm_alias_double.
28306 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28307 <libm-alias-double.h>.
28308 (round): Define using libm_alias_double.
28309 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28310 <libm-alias-double.h>.
28311 (trunc): Define using libm_alias_double.
28312 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28313 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28314 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28315 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28316 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28317 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28318 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28319 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28320 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28321
28322 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28323
28324 * math/w_remainder.c: New file.
28325 * math/w_remainderf.c: New file.
28326 * math/w_remainderl.c: New file.
28327
28328 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28329
28330 * elf/rtld.c (BOOTSTRAP_MAP): New.
28331 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28332 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28333 Likewise.
28334 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28335 Likewise.
28336 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28337 Likewise.
28338
28339 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28340
28341 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28342 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28343 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28344 rtld_hidden_data_ver): Define to empty.
28345 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28346 __assert_perror_fail): Likewise.
28347 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28348 (__rewinddir): Likewise.
28349 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28350 (__profile_frequency): Likewise.
28351 * include/setjmp.h (__sigsetjmp): Likewise.
28352 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28353 __libc_sigaction): Likewise.
28354 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28355 not set hidden attribute.
28356 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28357 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28358 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28359 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28360 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28361 __fxstatat64): Likewise.
28362 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28363 (__uname): Likewise.
28364 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28365 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28366 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28367 (NO_RTLD_HIDDEN): Set.
28368 * sysdeps/mach/hurd/configure: Refresh.
28369 * config.h.in: Refresh.
28370
28371 2017-10-02 Joseph Myers <joseph@codesourcery.com>
28372
28373 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28374 (atan): Define using libm_alias_double.
28375 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28376 (tan): Define using libm_alias_double.
28377 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28378 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28379
28380 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28381 define as weak alias of __atan. Do not define any aliases if
28382 [__atan].
28383 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28384 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28385 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28386 as weak alias of __tan. Do not define any aliases if [__tan].
28387 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28388 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28389 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28390 __atan.
28391 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28392 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28393 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28394 and define as weak alias of __atan.
28395 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28396 __atan.
28397 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28398 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28399 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28400 define as weak alias of __tan.
28401
28402 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28403
28404 * math/w_lgamma.c: New file.
28405 * math/w_lgammaf.c: New file.
28406 * math/w_lgammal.c: New file.
28407
28408 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28409
28410 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28411 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28412 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28413 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28414 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28415 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28416 * sysdeps/i386/fpu/w_log2f.c: New file.
28417 * sysdeps/i386/fpu/w_logf.c: New file.
28418 * sysdeps/i386/fpu/w_powf.c: New file.
28419 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28420 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28421 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28422
28423 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28424 H.J. Lu <hongjiu.lu@intel.com>
28425
28426 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28427 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28428 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28429 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28430 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28431 the new expf code.
28432 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28433 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28434 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28435 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28436 * sysdeps/i386/fpu/w_exp2f.c: New file.
28437 * sysdeps/i386/fpu/w_expf.c: New file.
28438 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28439 * sysdeps/x86_64/fpu/w_expf.c: New file.
28440
28441 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28442
28443 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28444 (log2f): Likewise.
28445 (powf): Likewise.
28446 * math/w_log2f.c: New file.
28447 * math/w_logf.c: New file.
28448 * math/w_powf.c: New file.
28449 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28450 * math/w_logf_compat.c (__logf_compat): Likewise.
28451 * math/w_powf_compat.c (__powf_compat): Likewise.
28452 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28453 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28454 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28455 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28456 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28457 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28458 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28459 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28460 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28461 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28462 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28463 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28464 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28465 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28466 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28468 Likewise.
28469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28470 Likewise.
28471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28472 Likewise.
28473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28474 Likewise.
28475 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28476 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28477 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28478 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28479 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28481 Likewise.
28482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28483 Likewise.
28484 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28485 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28486 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28487
28488 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28489
28490 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28491 (sysdep_routines): Add memrchr_power8.
28492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28493 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28494 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28495 New file.
28496 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28497 (memrchr): Add __memrchr_power8 to ifunc list.
28498 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28499
28500 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28501
28502 [BZ #18822]
28503 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28504 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28505 libc_hidden_def.
28506 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28507 (__posix_fallocate64_l64): Likewise.
28508
28509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28510
28511 [BZ #18822]
28512 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28513 (__sched_setaffinity_new): Add libc_hidden_proto and
28514 libc_hidden_def.
28515
28516 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28517
28518 [BZ #18822]
28519 * include/glob.h (__glob64): Add libc_hidden_proto.
28520 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28521 libc_hidden_def.
28522
28523 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28524
28525 [BZ #18822]
28526 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28527 attribute_hidden.
28528
28529 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28530
28531 [BZ #18822]
28532 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28533
28534 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28535
28536 [BZ #18822]
28537 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28538 libc_hidden_def.
28539
28540 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28541
28542 [BZ #18822]
28543 * csu/version.c (__libc_print_version): Add attribute_hidden.
28544
28545 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28546
28547 [BZ #18822]
28548 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28549
28550 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28551
28552 [BZ #18822]
28553 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28554
28555 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28556
28557 [BZ #18822]
28558 * nscd/nscd_helper.c (__nis_hash): New prototype.
28559
28560 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28561
28562 [BZ #18822]
28563 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28564 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28565 libc_hidden_def.
28566 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28567 * termios/tcgetattr.c (__tcgetattr): Likewise.
28568
28569 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28570
28571 [BZ #18822]
28572 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28573 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28574 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28575 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28576 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28577
28578 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28579
28580 [BZ #18822]
28581 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28582
28583 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28584
28585 [BZ #18822]
28586 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28587 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28588
28589 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28590
28591 [BZ #18822]
28592 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28593
28594 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28595
28596 [BZ #18822]
28597 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28598 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28599
28600 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28601
28602 [BZ #18822]
28603 * include/ifreq.h: New file.
28604 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28605 (__ifreq): Likewise.
28606 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28607 (__ifreq): Likewise.
28608
28609 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28610
28611 [BZ #18822]
28612 * include/idna.h: New file.
28613 * inet/getnameinfo.c: Include <idna.h> instead of
28614 <libidn/idna.h>.
28615 (__idna_to_unicode_lzlz): Removed.
28616 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28617 <libidn/idna.h>.
28618 (__idna_to_ascii_lz): Removed.
28619 (__idna_to_unicode_lzlz): Likewise.
28620
28621 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28622
28623 [BZ #18822]
28624 * include/plural-exp.h: New file.
28625 * intl/plural-exp.c: Include <plural-exp.h> instead of
28626 "plural-exp.h".
28627
28628 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28629
28630 [BZ #18822]
28631 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28632 "getsourcefilter.h".
28633 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28634 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28635 "getsourcefilter.h".
28636 (__get_sol): Removed.
28637
28638 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28639
28640 [BZ #18822]
28641 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28642 to ...
28643 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28644
28645 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28646
28647 [BZ #18822]
28648 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28649 attribute_hidden.
28650
28651 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28652
28653 [BZ #18822]
28654 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28655
28656 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28657
28658 [BZ #18822]
28659 * include/search.h (__tdestroy): Add libc_hidden_proto.
28660 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28661
28662 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28663
28664 [BZ #18822]
28665 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28666
28667 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28668
28669 [BZ #18822]
28670 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28671 attribute_hidden.
28672
28673 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28674
28675 [BZ #18822]
28676 * include/signal.h (__kill): Add libc_hidden_proto.
28677 (__sigblock): Likewise.
28678 (__sigprocmask): Likewise.
28679 (__sigaltstack): Likewise.
28680 * signal/kill.c (__kill): Add libc_hidden_def.
28681 * signal/sigblock.c (__sigblock): Likewise.
28682 * signal/sigprocmask.c (__sigprocmask): Likewise.
28683 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28684 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28685 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28686 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28687 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28688 Likewise.
28689 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28690 Likewise.
28691 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28692 (__sigprocmask): Likewise.
28693 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28694 Likewise.
28695 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28696 (__sigprocmask): Likewise.
28697 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28698 Likewise.
28699
28700 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28701
28702 [BZ #18822]
28703 * include/string.h (__strsep): Add libc_hidden_proto.
28704 * string/strsep.c (__strsep): Add libc_hidden_def.
28705
28706 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28707
28708 [BZ #18822]
28709 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28710 attribute_hidden.
28711 (__spawni): Likewise.
28712
28713 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28714
28715 [BZ #18822]
28716 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28717 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28718 libc_hidden_def.
28719
28720 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28721
28722 [BZ #18822]
28723 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28724
28725 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28726
28727 [BZ #18822]
28728 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28729 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28730 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28731 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28732 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28733 Likewise.
28734 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28735 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28736
28737 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28738
28739 [BZ #18822]
28740 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28741 (__dcigettext): Likewise.
28742
28743 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28744
28745 [BZ #18822]
28746 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28747 libc_hidden_proto.
28748 (__get_nprocs): Likewise.
28749 (__get_phys_pages): Likewise.
28750 (__get_avphys_pages): Likewise.
28751 (__get_child_max): Add attribute_hidden.
28752 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28753 (__get_nprocs): Likewise.
28754 (__get_phys_pages): Likewise.
28755 (__get_avphys_pages): Likewise.
28756 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28757 libc_hidden_def.
28758 (__get_nprocs): Likewise.
28759 (__get_phys_pages): Likewise.
28760 (__get_avphys_pages): Likewise.
28761 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28762 libc_hidden_def.
28763 (__get_nprocs_conf): Likewise.
28764 (__get_phys_pages): Likewise.
28765 (__get_avphys_pages): Likewise.
28766
28767 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28768
28769 [BZ #18822]
28770 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28771 attribute_hidden.
28772 (__netlink_close): Likewise.
28773 (__netlink_free_handle): Likewise.
28774 (__netlink_request): Likewise.
28775
28776 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28777
28778 [BZ #18822]
28779 * include/rpc/rpc.h (__rpc_thread_variables): Add
28780 attribute_hidden.
28781 (__rpc_thread_svc_cleanup): Likewise.
28782 (__rpc_thread_clnt_cleanup): Likewise.
28783 (__rpc_thread_key_cleanup): Likewise.
28784
28785 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28786
28787 [BZ #18822]
28788 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28789 (__writev): Likewise.
28790 * misc/readv.c (__readv): Add libc_hidden_def.
28791 * misc/writev.c (__writev): Likewise.
28792 * sysdeps/posix/readv.c (__readv): Likewise.
28793 * sysdeps/posix/writev.c (__writev): Likewise.
28794 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28795 (__readv): Likewise.
28796 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28797 (__writev): Likewise.
28798
28799 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28800
28801 [BZ #18822]
28802 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28803 (__regcomp): Add libc_hidden_proto.
28804 (__regexec): Likewise.
28805 (__regfree): Likewise.
28806 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28807 (__regfree): Likewise.
28808 * posix/regexec.c (__regexec): Likewise.
28809
28810 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28811
28812 [BZ #18822]
28813 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28814 (__getutent): Likewise.
28815 (__getutid): Likewise.
28816 (__getutline): Likewise.
28817 (__pututline): Likewise.
28818 (__getutent_r): Likewise.
28819 (__getutid_r): Likewise.
28820 (__getutline_r): Likewise.
28821 (__utmpname): Add attribute_hidden.
28822 (__setutent): Likewise.
28823 (__endutent): Likewise.
28824 * login/getutent.c (__getutent): Add libc_hidden_def.
28825 * login/getutent_r.c (__getutent_r): Likewise.
28826 (__pututline): Likewise.
28827 * login/getutid.c (__getutid): Likewise.
28828 * login/getutid_r.c (__getutid_r): Likewise.
28829 * login/getutline.c (__getutline): Likewise.
28830 * login/getutline_r.c (__getutline_r): Likewise.
28831 * login/updwtmp.c (__updwtmp): Likewise.
28832
28833 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28834
28835 [BZ #18822]
28836 * include/dirent.h (__opendir): Always add attribute_hidden.
28837 (__fdopendir): Likewise.
28838 (__closedir): Likewise.
28839 (__readdir): Likewise.
28840 (__readdir64): Add libc_hidden_proto.
28841 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28842 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28843 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28844 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28845 New alias.
28846
28847 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28848
28849 [BZ #18822]
28850 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28851 * include/netdb.h (__gethostbyaddr_r): Likewise.
28852 (__gethostbyname_r): Likewise.
28853 (__gethostbyname2_r): Likewise.
28854 (__getnetbyaddr_r): Likewise.
28855 (__getnetbyname_r): Likewise.
28856 (__getservbyname_r): Likewise.
28857 (__getservbyport_r): Likewise.
28858 (__getprotobyname_r): Likewise.
28859 (__getprotobynumber_r): Likewise.
28860 (__getnetgrent_r): Likewise.
28861 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28862 (__getrpcbynumber_r): Likewise.
28863 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28864
28865 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28866
28867 [BZ #18822]
28868 * include/stdio.h (__fcloseall): Add attribute_hidden.
28869 (__getline): Likewise.
28870 (__path_search): Likewise.
28871 (__gen_tempname): Likewise.
28872 (__libc_message): Likewise.
28873 (__flockfile): Likewise.
28874 (__funlockfile): Likewise.
28875 (__fxprintf): Likewise.
28876 (__fxprintf_nocancel): Likewise.
28877
28878 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28879
28880 [BZ #18822]
28881 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28882 (__sgetsgent_r): Likewise.
28883
28884 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28885
28886 [BZ #18822]
28887 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28888 (__statfs64): Likewise.
28889 (__fstatfs64): Likewise.
28890 * include/sys/statvfs.h (__statvfs64): Likewise.
28891 (__fstatvfs64): Likewise.
28892 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28893 (__statfs_filesize_max): Likewise.
28894 (__statfs_symlinks): Likewise.
28895 (__statfs_chown_restricted): Likewise.
28896
28897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28898
28899 [BZ #18822]
28900 * include/time.h (__tzstring): Add attribute_hidden.
28901 (__tzfile_read): Likewise.
28902 (__tzfile_compute): Likewise.
28903 (__tzfile_default): Likewise.
28904 (__tzset_parse_tz): Likewise.
28905 (__offtime): Likewise.
28906 (__asctime_r): Likewise.
28907 (__tzset): Likewise.
28908 (__tz_convert): Likewise.
28909 (__getdate_r): Likewise.
28910 (__getclktck): Likewise.
28911
28912 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28913
28914 [BZ #18822]
28915 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28916 (__nscd_unmap): Likewise.
28917 (__nscd_cache_search): Likewise.
28918 (__nscd_get_nl_timestamp): Likewise.
28919 (__nscd_getpwnam_r): Likewise.
28920 (__nscd_getpwuid_r): Likewise.
28921 (__nscd_getgrnam_r): Likewise.
28922 (__nscd_getgrgid_r): Likewise.
28923 (__nscd_gethostbyname_r): Likewise.
28924 (__nscd_gethostbyname2_r): Likewise.
28925 (__nscd_gethostbyaddr_r): Likewise.
28926 (__nscd_getai): Likewise.
28927 (__nscd_getgrouplist): Likewise.
28928 (__nscd_getservbyname_r): Likewise.
28929 (__nscd_getservbyport_r): Likewise.
28930 (__nscd_innetgr): Likewise.
28931 (__nscd_setnetgrent): Likewise.
28932
28933 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28934
28935 [BZ #18822]
28936 * include/gmp.h: Declare internal functions only if _ISOMAC is
28937 undefined.
28938 (__mpn_extract_double): Add attribute_hidden.
28939 (__mpn_extract_long_double): Likewise.
28940 (__mpn_extract_float128): Likewise.
28941 (__mpn_construct_float): Likewise.
28942 (__mpn_construct_double): Likewise.
28943 (__mpn_construct_long_double): Likewise.
28944 (__mpn_construct_float128): Likewise.
28945 (mpn_add_1): Likewise.
28946 (mpn_addmul_1): Likewise.
28947 (mpn_add_n): Likewise.
28948 (mpn_cmp): Likewise.
28949 (mpn_divrem): Likewise.
28950 (mpn_lshift): Likewise.
28951 (mpn_mul): Likewise.
28952 (mpn_mul_1): Likewise.
28953 (mpn_rshift): Likewise.
28954 (mpn_sub_1): Likewise.
28955 (mpn_submul_1): Likewise.
28956 (mpn_sub_n): Likewise.
28957
28958 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28959
28960 [BZ #18822]
28961 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28962 (__wcscat): Likewise.
28963 (__btowc): Likewise.
28964 (__wcrtomb): Likewise.
28965 (__mbsrtowcs): Likewise.
28966 (__wcsrtombs): Likewise.
28967 (__mbsnrtowcs): Likewise.
28968 (__wcsnrtombs): Likewise.
28969 (__wcsncpy): Likewise.
28970 (__wcpncpy): Likewise.
28971 (__wmemcpy): Likewise.
28972 (__wmempcpy): Likewise.
28973 (__wmemmove): Likewise.
28974 (__wcschrnul): Likewise.
28975 (__vfwscanf): Likewise.
28976 (__vswprintf): Likewise.
28977 (__fwprintf): Likewise.
28978 (__vfwprintf): Likewise.
28979
28980 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28981
28982 [BZ #18822]
28983 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28984 (__getgrgid_r): Likewise.
28985 (__getgrnam_r): Likewise.
28986 * include/pwd.h (__getpwuid_r): Likewise.
28987 (__getpwnam_r): Likewise.
28988 (__fgetpwent_r): Likewise.
28989 * include/shadow.h (__getspnam_r): Likewise.
28990 (__sgetspent_r): Likewise.
28991 (__fgetspent_r): Likewise.
28992
28993 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28994
28995 [BZ #18822]
28996 * include/unistd.h (__access): Add attribute_hidden.
28997 (__lseek64): Likewise.
28998 (__libc_pread64): Likewise.
28999 (__pipe2): Likewise.
29000 (__sleep): Likewise.
29001 (__chdir): Likewise.
29002 (__fchdir): Likewise.
29003 (__getcwd): Likewise.
29004 (__rmdir): Likewise.
29005 (__execvpe): Likewise.
29006 (__execve): Likewise.
29007 (__setsid): Likewise.
29008 (__getuid): Likewise.
29009 (__geteuid): Likewise.
29010 (__getgid): Likewise.
29011 (__getegid): Likewise.
29012 (__getgroups): Likewise.
29013 (__group_member): Likewise.
29014 (__ttyname_r): Likewise.
29015 (__isatty): Likewise.
29016 (__readlink): Likewise.
29017 (__unlink): Likewise.
29018 (__gethostname): Likewise.
29019 (__profil): Likewise.
29020 (__getdtablesize): Likewise.
29021 (__brk): Likewise.
29022 (__ftruncate): Likewise.
29023 (__ftruncate64): Likewise.
29024
29025 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29026
29027 [BZ #18822]
29028 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29029 * argp/argp-fs-xinl.c: Likewise.
29030 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29031 * argp/argp-parse.c: Include <argp.h>.
29032 * argp/argp-xinl.c: Likewise.
29033 * include/argp-fmtstream.h: New file.
29034 * include/argp.h (__argp_error): Add attribute_hidden.
29035 (__argp_failure): Likewise.
29036 (__argp_input): Likewise.
29037 (__argp_state_help): Likewise.
29038
29039 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29040
29041 [BZ #18822]
29042 * include/wchar.h (____wcstof_l_internal): New prototype.
29043 (____wcstod_l_internal): Likewise.
29044 (____wcstold_l_internal): Likewise.
29045 (____wcstol_l_internal): Likewise.
29046 (____wcstoul_l_internal): Likewise.
29047 (____wcstoll_l_internal): Likewise.
29048 (____wcstoull_l_internal): Likewise.
29049 (____wcstof128_l_internal): Likewise.
29050 * sysdeps/ieee754/float128/wcstof128.c
29051 (____wcstof128_l_internal): Removed.
29052 * sysdeps/ieee754/float128/wcstof128_l.c
29053 (____wcstof128_l_internal): Likewise.
29054 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29055 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29056 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29057 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29058 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29059 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29060 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29061 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29062 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29063 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29064
29065 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29066
29067 [BZ #18822]
29068 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29069 instead of <sys/statvfs.h>.
29070 (__internal_statvfs): Removed.
29071 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29072 instead of <sys/statvfs.h>.
29073 (__internal_statvfs64): Removed.
29074 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29075 "internal_statvfs.h" instead of <sys/statvfs.h>.
29076 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29077 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29078 instead of <sys/statvfs.h>.
29079 (__internal_statvfs): Removed.
29080 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29081 instead of <sys/statvfs.h>.
29082 (__internal_statvfs64): Removed.
29083
29084 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29085
29086 [BZ #18822]
29087 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29088 (__gconv_close): Likewise.
29089 (__gconv): Likewise.
29090 (__gconv_find_transform): Likewise.
29091 (__gconv_lookup_cache): Likewise.
29092 (__gconv_compare_alias_cache): Likewise.
29093 (__gconv_load_cache): Likewise.
29094 (__gconv_get_path): Likewise.
29095 (__gconv_close_transform): Likewise.
29096 (__gconv_release_cache): Likewise.
29097 (__gconv_find_shlib): Likewise.
29098 (__gconv_release_shlib): Likewise.
29099 (__gconv_get_builtin_trans): Likewise.
29100 (__gconv_compare_alias): Likewise.
29101 * include/dlfcn.h (_dlerror_run): Likewise.
29102 * include/stdio.h (__fortify_fail_abort): Likewise.
29103 * include/time.h (__tz_compute): Likewise.
29104 (__strptime_internal): Likewise.
29105 * intl/gettextP.h (_nl_find_domain): Likewise.
29106 (_nl_load_domain): Likewise.
29107 (_nl_find_msg): Likewise.
29108 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29109 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29110 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29111 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29112 (__gai_find_request): Likewise.
29113 (__gai_remove_request): Likewise.
29114 (__gai_notify): Likewise.
29115 (__gai_notify_only): Likewise.
29116 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29117 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29118 (_dl_non_dynamic_init): Likewise.
29119 (_dl_aux_init): Likewise.
29120 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29121 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29122 Likewise.
29123 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29124 (__wcsmbs_clone_conv): Likewise.
29125 (__wcsmbs_named_conv): Likewise.
29126
29127 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29128
29129 [BZ #18822]
29130 * include/stdlib.h (__random): Add attribute_hidden.
29131 (__random_r): Likewise.
29132 (__srandom_r): Likewise.
29133 (__initstate_r): Likewise.
29134 (__setstate_r): Likewise.
29135 (__erand48_r): Likewise.
29136 (__nrand48_r): Likewise.
29137 (__jrand48_r): Likewise.
29138 (__srand48_r): Likewise.
29139 (__seed48_r): Likewise.
29140 (__lcong48_r): Likewise.
29141 (__drand48_iterate): Likewise.
29142 (__setenv): Likewise.
29143 (__unsetenv): Likewise.
29144 (__clearenv): Likewise.
29145 (__ptsname_r): Likewise.
29146 (__posix_openpt): Likewise.
29147 (__add_to_environ): Likewise.
29148 (__realpath): Add libc_hidden_proto.
29149 (__ecvt_r): Likewise.
29150 (__fcvt_r): Likewise.
29151 (__qecvt_r): Likewise.
29152 (__qfcvt_r): Likewise.
29153 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29154 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29155
29156 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29157
29158 [BZ #18822]
29159 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29160 * include/time.h (__mktime_internal): Likewise.
29161 * libio/iolibio.h (__fopen_internal): Likewise.
29162
29163 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
29164
29165 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29166 pointer in frame.
29167 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29168 Correct offset used to restore PIC register.
29169
29170 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
29171
29172 [BZ libc/22165]
29173 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29174 code to load address of __getcontext_ret when generating PIC code.
29175
29176 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29177
29178 * elf/Makefile (tests-static-internal): Add
29179 tst-tls1-static-non-pie.
29180 (LDFLAGS-tst-tls1-static-non-pie): New.
29181 * elf/tst-tls1-static-non-pie.c: New file.
29182
29183 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29184
29185 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29186 (asinh): Define using libm_alias_double.
29187 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29188 (cbrt): Define using libm_alias_double.
29189 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29190 <libm-alias-double.h>.
29191 (copysign): Define using libm_alias_double.
29192 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29193 (erf): Define using libm_alias_double.
29194 (erfc): Likewise.
29195 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29196 (expm1): Define using libm_alias_double.
29197 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29198 (fabs): Define using libm_alias_double.
29199 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29200 libm_alias_double.
29201 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29202 <libm-alias-double.h>.
29203 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29204 libm_alias_double.
29205 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29206 <libm-alias-double.h>.
29207 (getpayload): Define using libm_alias_double.
29208 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29209 <libm-alias-double.h>.
29210 (llrint): Define using libm_alias_double.
29211 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29212 (lrint): Define using libm_alias_double.
29213 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29214 <libm-alias-double.h>.
29215 (nextup): Define using libm_alias_double.
29216 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29217 <libm-alias-double.h>.
29218 (roundeven): Define using libm_alias_double.
29219 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29220 libm_alias_double.
29221 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29222 <libm-alias-double.h>.
29223 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29224 using libm_alias_double.
29225 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29226 (cos): Define using libm_alias_double.
29227 (sin): Likewise.
29228 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29229 <libm-alias-double.h>.
29230 (sincos): Define using libm_alias_double.
29231 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29232 (tanh): Define using libm_alias_double.
29233 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29234 <libm-alias-double.h>.
29235 (totalorder): Define using libm_alias_double.
29236 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29237 <libm-alias-double.h>.
29238 (totalordermag): Define using libm_alias_double.
29239 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29240 libm_alias_double.
29241 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29242 libm_alias_double.
29243 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29244 <libm-alias-double.h>.
29245 (getpayload): Define using libm_alias_double.
29246 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29247 <libm-alias-double.h>.
29248 (roundeven): Define using libm_alias_double.
29249 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29250 <libm-alias-double.h>.
29251 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29252 <libm-alias-double.h>.
29253 (totalorder): Define using libm_alias_double.
29254 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29255 <libm-alias-double.h>.
29256 (totalordermag): Define using libm_alias_double.
29257 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29258 libc compat symbol here.
29259 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29260 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29261 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29262 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29263 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29264 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29265 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29266 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29267 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29268 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29269
29270 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29271
29272 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29273 _dl_relocate_static_pie instead of _dl_start to compute load
29274 address in static PIE. Return 0 if _DYNAMIC is undefined for
29275 static executable.
29276
29277 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29278
29279 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29280 _DYNAMIC is undefined for static executable.
29281
29282 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29283
29284 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29285
29286 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29287
29288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29289
29290 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29291
29292 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29293 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29294 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29295 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29296 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29297 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29298 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29299 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29300 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29301 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29302 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29303 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29304 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29305 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29306 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29307 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29308 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29309
29310 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29311
29312 * math/bits/cmathcalls.h (cimag): Remove inline.
29313 (creal): Remove inline.
29314 (conj): Remove inline.
29315
29316 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29317
29318 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29319 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29320 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29321 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29322 (issignalingf_inline): Likewise.
29323 (POWF_LOG2_TABLE_BITS): Likewise.
29324 (POWF_LOG2_POLY_ORDER): Likewise.
29325 (POWF_SCALE_BITS): Likewise.
29326 (POWF_SCALE): Likewise.
29327 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29328 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29329 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29330
29331 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29332
29333 * math/Makefile (type-float-routines): Add e_log2f_data.
29334 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29335 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29336 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29337 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29338 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29339 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29340 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29341
29342 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29343
29344 * math/Makefile (type-float-routines): Add e_logf_data.
29345 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29346 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29347 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29348 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29349 * sysdeps/i386/fpu/e_logf_data.c: New file.
29350 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29351 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29352
29353 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29354
29355 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29356 undefined _DYNAMIC in PIE libc.a.
29357 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29358 Likewse.
29359
29360 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29361
29362 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29363 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29364 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29365 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29366 (__signbit): Remove.
29367 (__signbitl): Remove.
29368 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29369 (__signbit): Remove.
29370 (__signbitl): Remove.
29371 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29372 (__signbit): Remove.
29373 (__signbitl): Remove.
29374 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29375 (__signbit): Remove.
29376 (__signbitl): Remove.
29377 * sysdeps/tile/bits/mathinline.h: Delete file.
29378 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29379 (__signbit): Remove.
29380 (__signbitl): Remove.
29381
29382 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29383
29384 * math/math.h: Improve handling of C99 isgreater macros.
29385 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29386 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29387 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29388 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29389 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29390
29391 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29392
29393 * sysdeps/aarch64/libm-test-ulps: Update.
29394
29395 2017-09-28 Joseph Myers <joseph@codesourcery.com>
29396
29397 [BZ #22225]
29398 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29399 math_opt_barrier on argument when doing arithmetic on it.
29400 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29401 Likewise. Use math_force_eval not math_opt_barrier after
29402 arithmetic.
29403 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29404 math_opt_barrier on argument when doing arithmetic on it.
29405 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29406 Likewise.
29407
29408 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29409
29410 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29411 libc_hidden_def.
29412 (__freeifaddrs): Likewise.
29413
29414 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29415
29416 * include/dirent.h (__dirfd): New declaration.
29417 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29418 alias.
29419 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29420 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29421 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
29422 * include/unistd.h (__revoke): New declaration.
29423 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29424 alias.
29425 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29426 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29427 revoke.
29428 * include/dirent.h (__seekdir): New declaration.
29429 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29430 redefine as weak alias.
29431 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29432 of seekdir.
29433 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29434 and use libc_hidden_def on them.
29435 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29436 them.
29437 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29438 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29439 instead of getifaddrs and freeifaddrs.
29440
29441 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29442
29443 [BZ #18822]
29444 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29445 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29446 (__dso_handle): Remove declaration.
29447 * dlfcn/tstatexit.c (__dso_handle): Removed.
29448 (main): Don't check __dso_handle.
29449 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29450 (main): Don't check __dso_handle.
29451 * include/dso_handle.h: New file.
29452 * malloc/mtrace.c: Include <dso_handle.h>.
29453 (mtrace): Pass __dso_handle directly.
29454 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29455 (__dso_handle): Remove declaration.
29456 (__pthread_atfork): Pass __dso_handle directly.
29457 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29458 (__dso_handle): Removed.
29459 * posix/wordexp-test.c: Include <dso_handle.h>.
29460 (__dso_handle): Remove declaration.
29461 (__app_register_atfork): Pass __dso_handle directly.
29462 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29463 (__dso_handle): Remove declaration.
29464 (at_quick_exit): Pass __dso_handle directly.
29465 * stdlib/atexit.c: Include <dso_handle.h>.
29466 (__dso_handle): Remove declaration.
29467 (atexit): Pass __dso_handle directly.
29468 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29469 (__dso_handle): Removed.
29470
29471 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29472
29473 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29474 using VDSO.
29475
29476 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29477
29478 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29479 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29480 values to correct default value for given type.
29481
29482 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29483
29484 [BZ #22101]
29485 * elf/Makefile (tests): Add tst-debug1.
29486 ($(objpfx)tst-debug1): New.
29487 ($(objpfx)tst-debug1.out): Likewise.
29488 ($(objpfx)tst-debug1mod1.so): Likewise.
29489 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29490 with p_filesz == 0.
29491 * elf/tst-debug1.c: New file.
29492
29493 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29494
29495 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29496 Define using __ifunc.
29497
29498 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29499
29500 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29501 exp2f() values.
29502
29503 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29504
29505 [BZ #22156]
29506 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29507
29508 2017-09-26 Florian Weimer <fweimer@redhat.com>
29509
29510 * resolv/Makefile (tests-internal): Fix typo in comment.
29511
29512 2017-09-26 Florian Weimer <fweimer@redhat.com>
29513
29514 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29515
29516 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29517
29518 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29519 Use an union instead of a max_align_t array for __space,
29520 so that __space is the same size on all platforms.
29521 * malloc/scratch_buffer_grow_preserve.c
29522 (__libc_scratch_buffer_grow_preserve): Likewise.
29523
29524 [BZ #22183]
29525 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29526 version to 2.
29527 * posix/Makefile (routines): Add glob-lstat-compat and
29528 glob64-lstat-compat.
29529 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29530 * posix/glob-lstat-compat.c: New file.
29531 * posix/glob64-lstat-compat.c: Likewise.
29532 * posix/tst-glob_lstat_compat.c: Likewise.
29533 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29534 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29535 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29536 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29537 Likewise.
29538 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29539 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29540 * posix/glob.c (glob_lstat): New function.
29541 (glob): Rename to __glob and add versioned symbol to 2.27.
29542 (glob_in_dir): Use glob_lstat.
29543 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29544 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29545 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29546 2.27.
29547 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29548 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29549 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29550 gl_lstat on glob call.
29551 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29552 and glob64 symbols.
29553 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29554 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29555 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29556 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29557 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29558 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29559 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29560 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29561 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29562 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29563 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29564 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29566 Likewise.
29567 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29569 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29570 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29571 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29572 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29573 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29576 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29577 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29578 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29579
29580 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29581
29582 * configure.ac (AS): Require binutils 2.25 or later.
29583 * configure: Regenerated.
29584
29585 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29586
29587 [BZ #22207]
29588 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29589 VM size.
29590
29591 2017-09-25 DJ Delorie <dj@redhat.com>
29592
29593 [BZ #22161]
29594 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29595 resetting timeout.
29596
29597 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29598
29599 * sysdeps/ieee754/dbl-64/sincos32.h
29600 [SINCCOS32_H]: Remove define.
29601 [SINCOS32_H]: Define.
29602
29603 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29604
29605 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29606 (exp2f): Likewise.
29607 * math/w_exp2f.c: New file.
29608 * math/w_expf.c: New file.
29609 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29610 * math/w_expf_compat.c (__expf_compat): Likewise.
29611 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29612 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29613 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29614 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29615 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29616 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29617 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29618 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29619 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29620 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29621 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29622 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29623 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29624 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29626 Likewise.
29627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29628 Likewise.
29629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29630 Likewise.
29631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29632 Likewise.
29633 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29634 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29635 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29636 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29637 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29639 Likewise.
29640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29641 Likewise.
29642 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29643 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29644 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29645
29646 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29647
29648 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29649 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29650 (roundtoint, converttoint): Likewise.
29651 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29652 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29653 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29654 * sysdeps/ieee754/flt-32/math_config.h: New file.
29655 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29656 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29657 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29658 * sysdeps/i386/fpu/math_errf.c: New file.
29659 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29660 * sysdeps/ia64/fpu/math_errf.c: New file.
29661 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29662 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29663
29664 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29665
29666 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29667 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29668 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29669 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29670 to make sure that these symbols are defined.
29671 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29672 of <limits.h>
29673 (__need_NULL): Do not define.
29674 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29675 alignment.
29676 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29677 CMGROUP_MAX, cmsgcred): Do not define.
29678 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29679 NULL.
29680 * bits/socket.h: Likewise.
29681 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29682 __gettimeofday instead of gettimeofday.
29683 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29684 instead of settimeofday.
29685
29686 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29687
29688 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29689 (asinhf): Define using libm_alias_float.
29690 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29691 (atanf): Define using libm_alias_float.
29692 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29693 (cbrtf): Define using libm_alias_float.
29694 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29695 (ceilf): Define using libm_alias_float.
29696 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29697 <libm-alias-float.h>.
29698 (copysignf): Define using libm_alias_float.
29699 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29700 (cosf): Define using libm_alias_float.
29701 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29702 (erff): Define using libm_alias_float.
29703 (erfcf): Likewise.
29704 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29705 (expm1f): Define using libm_alias_float.
29706 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29707 (fabsf): Define using libm_alias_float.
29708 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29709 (floorf): Define using libm_alias_float.
29710 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29711 (frexpf): Define using libm_alias_float.
29712 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29713 libm_alias_float.
29714 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29715 <libm-alias-float.h>.
29716 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29717 libm_alias_float.
29718 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29719 <libm-alias-float.h>.
29720 (getpayloadf): Define using libm_alias_float.
29721 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29722 <libm-alias-float.h>.
29723 (llrintf): Define using libm_alias_float.
29724 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29725 <libm-alias-float.h>.
29726 (llroundf): Define using libm_alias_float.
29727 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29728 (logbf): Define using libm_alias_float.
29729 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29730 (lrintf): Define using libm_alias_float.
29731 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29732 (lroundf): Define using libm_alias_float.
29733 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29734 (modff): Define using libm_alias_float.
29735 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29736 <libm-alias-float.h>.
29737 (nearbyintf): Define using libm_alias_float.
29738 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29739 <libm-alias-float.h>.
29740 (nextafterf): Define using libm_alias_float.
29741 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29742 <libm-alias-float.h>.
29743 (nextupf): Define using libm_alias_float.
29744 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29745 <libm-alias-float.h>.
29746 (remquof): Define using libm_alias_float.
29747 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29748 (rintf): Define using libm_alias_float.
29749 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29750 <libm-alias-float.h>.
29751 (roundevenf): Define using libm_alias_float.
29752 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29753 (roundf): Define using libm_alias_float.
29754 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29755 using libm_alias_float.
29756 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29757 <libm-alias-float.h>.
29758 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29759 Define using libm_alias_float.
29760 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29761 <libm-alias-float.h>.
29762 (sincosf): Define using libm_alias_float.
29763 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29764 (sinf): Define using libm_alias_float.
29765 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29766 (tanf): Define using libm_alias_float.
29767 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29768 (tanhf): Define using libm_alias_float.
29769 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29770 <libm-alias-float.h>.
29771 (totalorderf): Define using libm_alias_float.
29772 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29773 <libm-alias-float.h>.
29774 (totalordermagf): Define using libm_alias_float.
29775 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29776 (truncf): Define using libm_alias_float.
29777 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29778 libm_alias_float.
29779 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29780 libm_alias_float.
29781
29782 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29783
29784 [BZ #22146]
29785 math/math.h: Let fpclassify use the builtin in C++ mode, even
29786 when optimazing for size.
29787
29788 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29789
29790 * csu/Makefile (generated): Do not add version-info.h.
29791 (before-compile): Likewise.
29792 (all-Banner-files): Remove variable.
29793 ($(objpfx)version-info.h): Remove rule.
29794 * csu/version.c (banner): Do not include "version-info.h".
29795 * libidn/Banner: Remove.
29796 * manual/contrib.texi (Simon Josefsson): New entry.
29797
29798 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29799
29800 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29801 Remove conditionals on LDBL_MANT_DIG.
29802 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29803 (__ieee754_lgammal_r): Likewise.
29804
29805 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29806
29807 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29808 _Float128 and L().
29809 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29810 _Float128 and L(). Replace _Float128 with long double and L(x)
29811 with xL, throughout the file.
29812 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29813 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29814 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29815 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29816
29817 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29818
29819 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29820 sysdeps/ieee754/ldbl-128ibm.
29821 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29822 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29823 of including it. Keep _Float128 and L() intact. These will be
29824 reviewed by a separate patch.
29825 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29826 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29827 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29828 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29829
29830 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29831
29832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29833 (__finitef128): Define to __redirect___finitef128.
29834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29835 (__isinff128): Define to __redirect___isinff128.
29836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29837 (__isnanf128): Define to __redirect___isnanf128.
29838
29839 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29840
29841 * sysdeps/powerpc/powerpc64le/Makefile
29842 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29843 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29844
29845 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29846 Carlos O'Donell <carlos@redhat.com>
29847
29848 [BZ #22180]
29849 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29850 * stdlib/test-dlclose-exit-race.c: New file.
29851 * stdlib/test-dlclose-exit-race-helper.c: New file.
29852 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29853
29854 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29855
29856 * crypt/Banner: Remove file.
29857 * nptl/Banner: Likewise.
29858 * resolv/Banner: Likewise.
29859 * soft-fp/Banner: Likewise.
29860 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29861 ($(objpfx)version.d): Remove dependency on banner.h.
29862 ($(objpfx)version.os): Likewise.
29863 * nptl/version.c (banner): Do not include banner.h.
29864 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29865 Jelinek and BIND code.
29866
29867 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29868 Carlos O'Donell <carlos@redhat.com>
29869
29870 * support/xdlfcn.h: New file.
29871 * support/xdlfcn.c: New file.
29872 * support/Makefile (libsupport-routines): Add xdlfcn.
29873 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29874
29875 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29876
29877 [BZ #20142]
29878 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29879 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29880 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29881 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29882 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29883 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29884 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29885 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29886
29887 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29888 Ricky Zhou <rickyz@google.com>
29889 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29890
29891 [BZ #14333]
29892 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29893 Remove atomics.
29894 (__new_exitfn): Fail registration when we finished at_exit processing.
29895 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29896 * stdlib/on_exit.c (__on_exit): Likewise.
29897 * stdlib/exit.c (__exit_funcs_done): New variable.
29898 (__run_exit_handlers): Use __exit_funcs_lock.
29899 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29900 declarations.
29901 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29902 (test-cxa_atexit-race, test-on_exit-race): New tests.
29903 * stdlib/test-atexit-race-common.c: New file.
29904 * stdlib/test-atexit-race.c: New file.
29905 * stdlib/test-at_quick_exit-race.c: New file.
29906 * stdlib/test-cxa_atexit-race.c: New file.
29907 * stdlib/test-on_exit-race.c: New file.
29908
29909 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29910
29911 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29912 * benchtests/exp2f-inputs: Copy of expf-inputs.
29913 * benchtests/log2f-inputs: Copy of logf-inputs.
29914
29915 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29916
29917 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29918 Explicitly take address of first element of array arguments in
29919 call to INLINE_SYSCALL.
29920
29921 2017-09-19 Andreas Schwab <schwab@suse.de>
29922
29923 [BZ #22134]
29924 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29925 execveat first.
29926 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29927 unimplemented.
29928 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29929 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29930 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29931 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29932 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29933 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29934 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29935 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29936 * posix/Makefile (tests): Add tst-fexecve.
29937 * posix/tst-fexecve.c: New file.
29938
29939 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29940
29941 * benchtests/Makefile: Add logf benchmark.
29942 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29943
29944 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29945
29946 * benchtests/Makefile: Add expf benchmark.
29947 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29948
29949 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29950
29951 * csu/Makefile: Add -funwind-tables to libc-start.c.
29952 * debug/Makefile: Add -funwind-tables to backtrace.c.
29953 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29954 * sysdeps/arm/Makefile: Likewise.
29955 * sysdeps/i386/Makefile: Likewise.
29956 * sysdeps/m68k/Makefile: Likewise.
29957 * sysdeps/mips/Makefile: Likewise.
29958 * sysdeps/nios2/Makefile: Likewise.
29959 * sysdeps/sh/Makefile: Likewise.
29960 * sysdeps/sparc/Makefile: Likewise.
29961
29962 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29963
29964 * benchtests/Makefile (bench-math): Add trunc and truncf.
29965 (CFLAGS-bench-trunc.c): New variable.
29966 (CFLAGS-bench-truncf.c): Likewise.
29967 * benchtests/trunc-inputs: New file.
29968 * benchtests/truncf-inputs: Likewise.
29969
29970 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29971
29972 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29973
29974 2017-09-18 Joseph Myers <joseph@codesourcery.com>
29975
29976 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29977 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29978 redefine.
29979 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29980 (exp10l): Define as weak alias.
29981 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29982 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29983 and redefine.
29984 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29985 (remainderl): Define as weak alias.
29986
29987 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29988 (fmal): Define using libm_alias_ldouble.
29989 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29990 (acoshl): Define using libm_alias_ldouble.
29991 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29992 (acosl): Define using libm_alias_ldouble.
29993 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29994 (asinl): Define using libm_alias_ldouble.
29995 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29996 (atan2l): Define using libm_alias_ldouble.
29997 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29998 (atanhl): Define using libm_alias_ldouble.
29999 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30000 (coshl): Define using libm_alias_ldouble.
30001 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30002 (exp10l): Define using libm_alias_ldouble.
30003 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30004 (exp2l): Define using libm_alias_ldouble.
30005 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30006 (expl): Define using libm_alias_ldouble.
30007 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30008 (fmodl): Define using libm_alias_ldouble.
30009 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30010 (hypotl): Define using libm_alias_ldouble.
30011 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30012 (j0l): Define using libm_alias_ldouble.
30013 (y0l): Likewise.
30014 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30015 (j1l): Define using libm_alias_ldouble.
30016 (y1l): Likewise.
30017 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30018 (jnl): Define using libm_alias_ldouble.
30019 (ynl): Likewise.
30020 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30021 (log10l): Define using libm_alias_ldouble.
30022 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30023 (log2l): Define using libm_alias_ldouble.
30024 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30025 (logl): Define using libm_alias_ldouble.
30026 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30027 (powl): Define using libm_alias_ldouble.
30028 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30029 (remainderl): Define using libm_alias_ldouble.
30030 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30031 (sinhl): Define using libm_alias_ldouble.
30032 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30033 (sqrtl): Define using libm_alias_ldouble.
30034 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30035 (tgammal): Define using libm_alias_ldouble.
30036 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30037 (exp10l): Do not use long_double_symbol here.
30038 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30039 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30040 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30041 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30042 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30043 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30044 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30045 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30046 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30047 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30048 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30049 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30050 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30051 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30052 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30053 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30054 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30055 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30056 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30057 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30058 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30059 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30060
30061 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30062
30063 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30064 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30065
30066 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30067
30068 * io/read.c (read): Add libc_hidden_weak.
30069 * sysdeps/mach/hurd/read.c (read): Likewise.
30070 * io/write.c (write): Likewise.
30071 * sysdeps/mach/hurd/write.c (write): Likewise.
30072 * io/pread64.c (__pread64): Likewise.
30073 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30074 * posix/pread64.c (__pread64): Add libc_hidden_def.
30075
30076 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30077
30078 * benchtests/scripts/compare_strings.py: New option -g.
30079 (draw_graph): Print a message that a graph is being generated.
30080 (process_results): Generate graph only if -g is passed.
30081 (main): Process option -g.
30082
30083 * benchtests/scripts/compare_strings.py (process_results):
30084 Better spacing for output.
30085
30086 * benchtests/scripts/compare_strings.py: Use argparse.
30087 * benchtests/README: Document existence of compare_strings.py.
30088
30089 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30090
30091 * math/s_fma.c: Include <libm-alias-double.h>.
30092 (fma): Define using libm_alias_double.
30093 * math/s_nextafter.c: Include <libm-alias-double.h>.
30094 (nextafter): Define using libm_alias_double.
30095 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30096 (acos): Define using libm_alias_double.
30097 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30098 (aocsh): Define using libm_alias_double.
30099 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30100 (asin): Define using libm_alias_double.
30101 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30102 (atan2): Define using libm_alias_double.
30103 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30104 (atanh): Define using libm_alias_double.
30105 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30106 (cosh): Define using libm_alias_double.
30107 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30108 (exp10): Define using libm_alias_double.
30109 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30110 (exp2): Define using libm_alias_double.
30111 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30112 (exp): Define using libm_alias_double.
30113 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30114 (fmod): Define using libm_alias_double.
30115 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30116 (hypot): Define using libm_alias_double.
30117 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30118 (j0): Define using libm_alias_double.
30119 (y0): Likewise.
30120 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30121 (j1): Define using libm_alias_double.
30122 (y1): Likewise.
30123 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30124 (jn): Define using libm_alias_double.
30125 (yn): Likewise.
30126 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30127 (log10): Define using libm_alias_double.
30128 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30129 (log2): Define using libm_alias_double.
30130 * math/w_log_compat.c: Include <libm-alias-double.h>.
30131 (log): Define using libm_alias_double.
30132 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30133 (pow): Define using libm_alias_double.
30134 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30135 (remainder): Define using libm_alias_double.
30136 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30137 (sinh): Define using libm_alias_double.
30138 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30139 (sqrt): Define using libm_alias_double.
30140 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30141 (tgamma): Define using libm_alias_double.
30142 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30143 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30144 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30145 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30146 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30147 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30148 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30149 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30150 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30151 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30152 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30153 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30154 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30155 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30156 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30157 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30158 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30159 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30160 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30161 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30162 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30163 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30164 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30165 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30166 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30167
30168 * math/e_acoshl.c: Remove.
30169 * math/e_acosl.c: Likewise.
30170 * math/e_asinl.c: Likewise.
30171 * math/e_atan2l.c: Likewise.
30172 * math/e_atanhl.c: Likewise.
30173 * math/e_coshl.c: Likewise.
30174 * math/e_expl.c: Likewise.
30175 * math/e_fmodl.c: Likewise.
30176 * math/e_gammal_r.c: Likewise.
30177 * math/e_hypotl.c: Likewise.
30178 * math/e_j0l.c: Likewise.
30179 * math/e_j1l.c: Likewise.
30180 * math/e_jnl.c: Likewise.
30181 * math/e_lgammal_r.c: Likewise.
30182 * math/e_log10l.c: Likewise.
30183 * math/e_log2l.c: Likewise.
30184 * math/e_logl.c: Likewise.
30185 * math/e_powl.c: Likewise.
30186 * math/e_rem_pio2l.c: Likewise.
30187 * math/e_sinhl.c: Likewise.
30188 * math/e_sqrtf128.c: Likewise.
30189 * math/e_sqrtl.c: Likewise.
30190 * math/k_cosl.c: Likewise.
30191 * math/k_sinl.c: Likewise.
30192 * math/k_tanl.c: Likewise.
30193 * math/s_asinhl.c: Likewise.
30194 * math/s_atanl.c: Likewise.
30195 * math/s_cbrtl.c: Likewise.
30196 * math/s_erfl.c: Likewise.
30197 * math/s_expm1l.c: Likewise.
30198 * math/s_log1pl.c: Likewise.
30199 * math/s_tanhl.c: Likewise.
30200
30201 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30202
30203 [BZ #21745]
30204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30205 [$(subdir) = math] (sysdep_calls): New variable. Has the
30206 previous contents of sysdep_routines, but re-sorted..
30207 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30208 sysdep_calls.
30209 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30210 defined in sysdep_calls and replace by the respective m_* names.
30211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30212 (compat_symbol): Undefine to avoid duplicated compat symbols in
30213 libc.
30214
30215 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30216
30217 * math/s_fmaf.c: Include <libm-alias-float.h>.
30218 (fmaf): Define using libm_alias_float.
30219 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30220 (acosf): Define using libm_alias_float.
30221 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30222 (acoshf): Define using libm_alias_float.
30223 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30224 (asinf): Define using libm_alias_float.
30225 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30226 (atan2f): Define using libm_alias_float.
30227 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30228 (atanhf): Define using libm_alias_float.
30229 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30230 (coshf): Define using libm_alias_float.
30231 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30232 (exp10f): Define using libm_alias_float.
30233 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30234 (fmodf): Define using libm_alias_float.
30235 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30236 (hypotf): Define using libm_alias_float.
30237 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30238 (j0f): Define using libm_alias_float.
30239 (y0f): Likewise.
30240 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30241 (j1f): Define using libm_alias_float.
30242 (y1f): Likewise.
30243 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30244 (jnf): Define using libm_alias_float.
30245 (ynf): Likewise.
30246 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30247 (log10f): Define using libm_alias_float.
30248 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30249 (log2f): Define using libm_alias_float.
30250 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30251 (logf): Define using libm_alias_float.
30252 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30253 (powf): Define using libm_alias_float.
30254 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30255 (remainderf): Define using libm_alias_float.
30256 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30257 (sinhf): Define using libm_alias_float.
30258 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30259 (sqrtf): Define using libm_alias_float.
30260 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30261 (tgammaf): Define using libm_alias_float.
30262
30263 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30264
30265 * include/math.h (roundeven): Change hidden_proto call to
30266 __roundeven.
30267 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30268 alias.
30269 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30270 (y0): Rename to __y0 and define as weak alias.
30271 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30272 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30273 alias.
30274 (y0f): Rename to __y0f and define as weak alias.
30275 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30276 alias.
30277 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30278 (y1): Rename to __y1 and define as weak alias.
30279 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30280 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30281 alias.
30282 (y1f): Rename to __y1f and define as weak alias.
30283 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30284 alias.
30285 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30286 (yn): Rename to __yn and define as weak alias.
30287 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30288 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30289 alias.
30290 (ynf): Rename to __ynf and define as weak alias.
30291 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30292 (fromfp): Define as weak alias.
30293 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30294 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30295 (fromfpx): Define as weak alias.
30296 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30297 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30298 __getpayload and define as weak alias.
30299 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30300 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30301 __roundeven and define as weak alias.
30302 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30303 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30304 __setpayload.
30305 (setpayload): Define as weak alias.
30306 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30307 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30308 __setpayloadsig.
30309 (setpayloadsig): Define as weak alias.
30310 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30311 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30312 __totalorder and define as weak alias.
30313 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30314 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30315 to __totalordermag and define as weak alias.
30316 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30317 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30318 (ufromfp): Define as weak alias.
30319 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30320 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30321 __ufromfpx.
30322 (ufromfpx): Define as weak alias.
30323 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30324 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30325 Rename to __getpayload and define as weak alias.
30326 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30327 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30328 Rename to __roundeven and define as weak alias.
30329 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30330 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30331 Rename to __totalorder and define as weak alias.
30332 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30333 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30334 (totalordermag): Rename to __totalordermag and define as weak
30335 alias.
30336 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30337 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30338 macro.
30339 (__roundevenl): Likewise.
30340 (__totalorderl): Likewise.
30341 (__totalordermagl): Likewise
30342 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30343 __fromfpf128.
30344 (fromfpf128): Define as weak alias.
30345 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30346 __fromfpxf128.
30347 (fromfpxf128): Define as weak alias.
30348 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30349 __setpayloadf128.
30350 (setpayloadf128): Define as weak alias.
30351 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30352 __setpayloadsigf128.
30353 (setpayloadsigf128): Define as weak alias.
30354 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30355 __ufromfpf128.
30356 (ufromfpf128): Define as weak alias.
30357 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30358 __ufromfpxf128.
30359 (ufromfpxf128): Define as weak alias.
30360 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30361 (fromfpf): Define as weak alias.
30362 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30363 __fromfpxf.
30364 (fromfpxf): Define as weak alias.
30365 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30366 __getpayloadf and define as weak alias.
30367 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30368 __roundevenf and define as weak alias.
30369 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30370 __setpayloadf.
30371 (setpayloadf): Define as weak alias.
30372 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30373 __setpayloadsigf.
30374 (setpayloadsigf): Define as weak alias.
30375 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30376 __totalorderf and define as weak alias.
30377 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30378 Rename to __totalordermagf and define as weak alias.
30379 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30380 __ufromfpf.
30381 (ufromfpf): Define as weak alias.
30382 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30383 __ufromfpxf.
30384 (ufromfpxf): Define as weak alias.
30385 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30386 __fromfpl.
30387 (fromfpl): Define as weak alias.
30388 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30389 __fromfpxl.
30390 (fromfpxl): Define as weak alias.
30391 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30392 to __getpayloadl and define as weak alias.
30393 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30394 __roundevenl and define as weak alias.
30395 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30396 __setpayloadl.
30397 (setpayloadl): Define as weak alias.
30398 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30399 __setpayloadsigl.
30400 (setpayloadsigl): Define as weak alias.
30401 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30402 to __totalorderl and define as weak alias.
30403 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30404 Rename to __totalordermagl and define as weak alias.
30405 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30406 __ufromfpl.
30407 (ufromfpl): Define as weak alias.
30408 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30409 __ufromfpxl.
30410 (ufromfpxl): Define as weak alias.
30411 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30412 __fromfpl.
30413 (fromfpl): Define as weak alias.
30414 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30415 __fromfpxl.
30416 (fromfpxl): Define as weak alias.
30417 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30418 Rename to __getpayloadl and define as weak alias.
30419 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30420 to __roundevenl and define as weak alias. Call __roundeven
30421 instead of roundeven.
30422 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30423 __setpayloadl.
30424 (setpayloadl): Define as weak alias.
30425 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30426 __setpayloadsigl.
30427 (setpayloadsigl): Define as weak alias.
30428 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30429 Rename to __totalorderl and define as weak alias.
30430 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30431 Rename to __totalordermagl and define as weak alias.
30432 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30433 __ufromfpl.
30434 (ufromfpl): Define as weak alias.
30435 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30436 __ufromfpxl.
30437 (ufromfpxl): Define as weak alias.
30438 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30439 __fromfpl.
30440 (fromfpl): Define as weak alias.
30441 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30442 __fromfpxl.
30443 (fromfpxl): Define as weak alias.
30444 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30445 __getpayloadl and define as weak alias.
30446 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30447 __roundevenl and define as weak alias.
30448 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30449 __setpayloadl.
30450 (setpayloadl): Define as weak alias.
30451 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30452 __setpayloadsigl.
30453 (setpayloadsigl): Define as weak alias.
30454 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30455 __totalorderl and define as weak alias.
30456 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30457 Rename to __totalordermagl and define as weak alias.
30458 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30459 __ufromfpl.
30460 (ufromfpl): Define as weak alias.
30461 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30462 __ufromfpxl.
30463 (ufromfpxl): Define as weak alias.
30464
30465 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30466
30467 * benchtests/bench-string.h (realloc_bufs): New function.
30468 (test_init): Call it.
30469 * benchtests/bench-memset-large.c (do_test): Likewise.
30470 * benchtests/bench-memset.c (do_test): Likewise.
30471
30472 * benchtests/bench-memset-large.c: Print output in JSON
30473 format.
30474 * benchtests/bench-memset.c: Likewise.
30475
30476 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30477
30478 [BZ #21084]
30479 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30480 * iconvdata/Makefile: Add IBM858.
30481 * iconvdata/gconv-modules: Likewise.
30482 * iconvdata/tst-tables.sh: Likewise.
30483 * iconvdata/ibm858.c: New file.
30484 * localedata/charmaps/IBM858: Likewise.
30485
30486 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
30487
30488 [BZ #22023]
30489 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30490 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30491
30492 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30493
30494 [BZ #22112]
30495 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30496 and add tel_int_fmt.
30497
30498 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30499
30500 * sysdeps/generic/libm-alias-float128.h: New file.
30501 * sysdeps/generic/math-type-macros-float128.h: Include
30502 <libm-alias-float128.h>.
30503 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30504
30505 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30506
30507 * sysdeps/generic/libm-alias-ldouble.h: New file.
30508 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30509 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30510 * sysdeps/generic/math-type-macros-ldouble.h: Include
30511 <libm-alias-ldouble.h>.
30512 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30513 libm_alias_ldouble.
30514
30515 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30516
30517 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30518 * math/w_exp_compat.c: ... here.
30519 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30520 * math/w_expf_compat.c: ... here.
30521 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30522 * math/w_expl_compat.c: ... here.
30523 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30524 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30525 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30526 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30527
30528 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30529
30530 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30531 redefine.
30532 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30533 macro.
30534 (ldexpl): Only define as compat symbol for libc, not libm.
30535 (scalbnl): Define as compat symbol for libc here.
30536 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30537 define for [IS_IN (libc)].
30538 (__ldexpl_2): Remove alias.
30539 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30540 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30541 name in long_double_symbol call.
30542 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30543 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30544 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30545 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30546 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30547 Remove macro.
30548 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30549 Define as compat symbol.
30550
30551 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30552
30553 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30554 * sysdeps/unix/sysv/linux/alpha/Makefile
30555 [$(subdir) = csu] (sysdep_routines): Remove rule.
30556
30557 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30558
30559 * sysdeps/generic/libm-alias-double.h: New file.
30560 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30561 * sysdeps/generic/math-type-macros-double.h: Include
30562 <libm-alias-double.h>.
30563 [declare_mgen_alias] (declare_mgen_alias): Define to use
30564 libm_alias_double.
30565 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30566 (M_LIBM_NEED_COMPAT): Remove macro.
30567 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30568 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30569 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30570 code.
30571 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30572 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30573 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30574 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30575 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30576 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30577 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30578 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30579 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30580 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30581 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30582 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30583 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30584 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30585 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30586 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30587 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30588 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30589 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30590 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30591 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30592 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30593 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30594 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30595 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30596 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30597 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30598 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30599 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30600 macro.
30601 (declare_mgen_alias): New macro.
30602 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30603 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30605 (M_LIBM_NEED_COMPAT): Remove macro.
30606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30607 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30608 <first-versions.h>.
30609 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30610 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30611
30612 2017-09-12 Joseph Myers <joseph@codesourcery.com>
30613
30614 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30615 (declare_mgen_alias_2): Remove.
30616 * sysdeps/generic/math-type-macros-double.h
30617 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30618 Likewise.
30619 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30620 alias.
30621 (ldexp): Define with declare_mgen_alias.
30622 (scalbn): Likewise.
30623
30624 2017-09-12 Steve Ellcey <sellcey@cavium.com>
30625
30626 * grp/initgroups.c: Include config.h.
30627 (DEFAULT_CONFIG): New macro.
30628 (internal_getgrouplist): Use DEFAULT_CONFIG.
30629 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30630 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30631 (DEFAULT_DEFCONFIG): New macro.
30632 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30633 * nss/grp-lookup.c: Include config.h
30634 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30635 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30636 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30637 * manual/nss.texi: Update default values section.
30638
30639 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30640
30641 [BZ #21967]
30642 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30643 New.
30644 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30645 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30646 Handle MathVec_Prefer_No_AVX512.
30647 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30648 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30649 is set.
30650
30651 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30652
30653 * posix/sched_primax.c (__sched_get_priority_max): Add
30654 libc_hidden_def.
30655 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30656 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30657 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30658 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30659 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30660 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30661 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30662 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30663 Add aliases.
30664
30665 2017-09-11 Joseph Myers <joseph@codesourcery.com>
30666
30667 * sysdeps/generic/libm-alias-float.h: New file.
30668 * sysdeps/generic/math-type-macros-float.h: Include
30669 <libm-alias-float.h>.
30670 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30671
30672 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30673
30674 [BZ #22093]
30675 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30676 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30677 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30678 (HWCAP_IMPORTANT): Likewise.
30679 (HWCAP_X86_64): New enum.
30680 (HWCAP_X86_AVX512_1): Updated.
30681 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30682 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30683 (modules-names): Add x86_64/tst-x86_64mod-1.
30684 (LDFLAGS-tst-x86_64mod-1.so): New.
30685 ($(objpfx)tst-x86_64-1): Likewise.
30686 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30687 (tst-x86_64-1-clean): Likewise.
30688 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30689 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30690
30691 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30692
30693 * po/sv.po: Update translations.
30694 * po/fr.po: Likewise.
30695
30696 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30697
30698 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30699 seconds.
30700 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30701 seconds.
30702 * elf/rtld-Rules: Fix $(error) use.
30703
30704 2017-09-09 Mike FABIAN <mfabian@redhat.com>
30705
30706 [BZ #14925]
30707 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30708 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30709 * localedata/locales/bn_BD: “Bengali” was still used in some
30710 comments. Change it to “Bangla”.
30711
30712 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30713
30714 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30715
30716 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30717
30718 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30719 thunderx2t99p1 to list of cpu names.
30720 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30721 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30722
30723 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30724
30725 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30726 Use strcmp instead of tunable_is_name.
30727
30728 2017-09-08 Joseph Myers <joseph@codesourcery.com>
30729
30730 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30731 (F_GET_RW_HINT): New macro.
30732 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30733 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30734 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30735 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30736 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30737 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30738 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30739 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30740 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30741
30742 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30743 (F_ADD_SEALS): New macro.
30744 [__USE_GNU] (F_GET_SEALS): Likewise.
30745 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30746 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30747 [__USE_GNU] (F_SEAL_GROW): Likewise.
30748 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30749
30750 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30751
30752 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30753 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30754 * posix/glob_internal.h (__glob_pattern_type):
30755 * posix/glob.c (glob):
30756 * posix/glob_pattern_p.c (__glob_pattern_p):
30757 Use them.
30758
30759 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30760 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30761 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30762 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30763 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30765 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30766 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30767 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30768 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30769 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30770 * sysdeps/wordsize-64/glob.c: Likewise.
30771 * sysdeps/wordsize-64/glob64.c: Likewise.
30772 * sysdeps/wordsize-64/globfree.c: Likewise.
30773 * sysdeps/wordsize-64/globfree64.c: Likewise.
30774 * sysdeps/unix/sysv/linux/glob.c: New file.
30775 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30776 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30777 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30778 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30779 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30780 adds !GLOB_NO_OLD_VERSION as an extra condition.
30781 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30782 using relative path instead of absolute one.
30783 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30784 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30785 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30786 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30787 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30788 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30789
30790 [BZ #1062]
30791 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30792 (glob): Use the same scratch buffer for both getlogin_r and
30793 getpwnam_r. Don’t require preallocation of the login name. This
30794 simplifies storage allocation, and corrects the handling of
30795 long login names.
30796
30797 [BZ #1062]
30798 * posix/glob.c (glob): Port recent patches to platforms
30799 lacking getpwnam_r.
30800 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30801 returns an error number rather than setting errno.
30802
30803 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30804 instead of GCC extension.
30805 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30806 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30807 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30808
30809 [BZ #866]
30810 [BZ #1062]
30811 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30812 * posix/bug-glob1.c: Remove file.
30813 * posix/tst-glob_symlinks.c: New file.
30814 * posix/glob.c (__lstat64): New macro.
30815 (is_dir): New function.
30816 (glob, glob_in_dir): Match symlinks even if they are dangling.
30817 (link_stat, link_exists_p): Remove. All uses removed.
30818
30819 [BZ #1062]
30820 [BZ #19971]
30821 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30822 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30823 All uses removed.
30824
30825 [BZ #1062]
30826 CVE-2017-15671
30827 * posix/Makefile (routines): Add globfree, globfree64, and
30828 glob_pattern_p.
30829 * posix/flexmember.h: New file.
30830 * posix/glob_internal.h: Likewise.
30831 * posix/glob_pattern_p.c: Likewise.
30832 * posix/globfree.c: Likewise.
30833 * posix/globfree64.c: Likewise.
30834 * sysdeps/gnu/globfree64.c: Likewise.
30835 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30836 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30837 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30838 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30839 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30840 * sysdeps/wordsize-64/globfree.c: Likewise.
30841 * sysdeps/wordsize-64/globfree64.c: Likewise.
30842 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30843 [NDEBUG): Remove comments.
30844 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30845 (dirent_type): New type. Use uint_fast8_t not
30846 uint8_t, as C99 does not require uint8_t.
30847 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30848 (struct readdir_result): Use dirent_type. Do not define skip_entry
30849 unless it is needed; this saves a byte on platforms lacking d_ino.
30850 (readdir_result_type, readdir_result_skip_entry):
30851 New functions, replacing ...
30852 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30853 these functions, which were removed. This makes the callers
30854 easier to read. All callers changed.
30855 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30856 (size_add_wrapv, glob_use_alloca): New static functions.
30857 (glob, glob_in_dir): Check for size_t overflow in several places,
30858 and fix some size_t checks that were not quite right.
30859 Remove old code using SHELL since Bash no longer
30860 uses this.
30861 (glob, prefix_array): Separate MS code better.
30862 (glob_in_dir): Remove old Amiga and VMS code.
30863 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30864 separate files.
30865 (glob_in_dir): Do not rely on undefined behavior in accessing
30866 struct members beyond their bounds. Use a flexible array member
30867 instead
30868 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30869 0/1. Caller changed.
30870 (glob): Fix memory leaks.
30871 * posix/glob64 (globfree64): Move to separate file.
30872 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30873 (globfree64): Remove hidden alias.
30874 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30875 oldglob.
30876 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30877 separate file.
30878 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30879 define.
30880 Move compat code to separate file.
30881 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30882 separate file.
30883
30884 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30885
30886 * resolv/tst-resolv-qtypes.c (domain): Changed to
30887 "const char domain[] =".
30888
30889 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30890
30891 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30892 version to 3.1.6.
30893
30894 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30895 (TCP_MD5SIG_EXT): Likewise.
30896 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30897 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30898 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30899
30900 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30901
30902 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30903
30904 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30905
30906 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
30907
30908 [BZ #22100]
30909 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30910
30911 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30912
30913 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30914 before assuming that the file is empty. Avoid testing buffer content
30915 when nread == 0.
30916
30917 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30918
30919 [BZ #18858]
30920 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30921 Remove define.
30922 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30923 Likewise.
30924 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30925 Likewise.
30926 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30927 Likewise.
30928 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30929 Likewise.
30930 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30931 Likewise.
30932 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30933 Likewise.
30934
30935 2017-09-06 Florian Weimer <fweimer@redhat.com>
30936
30937 * malloc/dynarray_emplace_enlarge.c
30938 (__libc_dynarray_emplace_enlarge): Add missing else.
30939
30940 2017-09-06 Florian Weimer <fweimer@redhat.com>
30941
30942 [BZ #22096]
30943 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30944 case of failure to obtain the global conf object.
30945
30946 2017-09-06 Florian Weimer <fweimer@redhat.com>
30947
30948 [BZ #22095]
30949 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30950 dynarray allocation failure.
30951
30952 2017-09-06 Florian Weimer <fweimer@redhat.com>
30953
30954 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30955 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30956 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30957 New functions.
30958 (response): Call them. Add 'p', '6' flag processing.
30959 (test_reverse): New function.
30960 (test_get2_any): Call it.
30961 (test_no_inet6): Add 'p' test.
30962 (test_inet6): Likewise.
30963
30964 2017-09-06 Florian Weimer <fweimer@redhat.com>
30965
30966 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30967 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30968 the QNAME.
30969 (test_gai): Adjust query names. Add additional tests.
30970 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30971 test_get2. Adjust query names. Add additional tests.
30972 (test_no_inet6): New function, extracted from threadfunc.
30973 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30974 Add additional tests.
30975
30976 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30977
30978 [BZ #22070]
30979 * localedata/unicode-gen/utf8_gen.py: Set the width for
30980 characters with Prepended_Concatenation_Mark property to 1
30981 * localedata/charmaps/UTF-8: Updated using the improved script.
30982
30983 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30984
30985 [BZ #21750]
30986 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30987 use the range notation for all ranges of neighbouring characters
30988 with the same width.
30989
30990 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30991
30992 * sysdeps/generic/math-type-macros-double.h: Include
30993 <math-svid-compat.h>.
30994 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30995 * sysdeps/generic/math-type-macros-float.h: Include
30996 <math-svid-compat.h>.
30997 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30998 * sysdeps/generic/math-type-macros-ldouble.h: Include
30999 <math-svid-compat.h>.
31000 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31001 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31002 condition.
31003 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31004 * math/w_acosf_compat.c: Likewise.
31005 * math/w_acosh_compat.c: Likewise.
31006 * math/w_acoshf_compat.c: Likewise.
31007 * math/w_acoshl_compat.c: Likewise.
31008 * math/w_acosl_compat.c: Likewise.
31009 * math/w_asin_compat.c: Likewise.
31010 * math/w_asinf_compat.c: Likewise.
31011 * math/w_asinl_compat.c: Likewise.
31012 * math/w_atan2_compat.c: Likewise.
31013 * math/w_atan2f_compat.c: Likewise.
31014 * math/w_atan2l_compat.c: Likewise.
31015 * math/w_atanh_compat.c: Likewise.
31016 * math/w_atanhf_compat.c: Likewise.
31017 * math/w_atanhl_compat.c: Likewise.
31018 * math/w_cosh_compat.c: Likewise.
31019 * math/w_coshf_compat.c: Likewise.
31020 * math/w_coshl_compat.c: Likewise.
31021 * math/w_exp10_compat.c: Likewise.
31022 * math/w_exp10f_compat.c: Likewise.
31023 * math/w_exp10l_compat.c: Likewise.
31024 * math/w_exp2_compat.c: Likewise.
31025 * math/w_exp2f_compat.c: Likewise.
31026 * math/w_exp2l_compat.c: Likewise.
31027 * math/w_fmod_compat.c: Likewise.
31028 * math/w_fmodf_compat.c: Likewise.
31029 * math/w_fmodl_compat.c: Likewise.
31030 * math/w_hypot_compat.c: Likewise.
31031 * math/w_hypotf_compat.c: Likewise.
31032 * math/w_hypotl_compat.c: Likewise.
31033 * math/w_j0_compat.c: Likewise.
31034 * math/w_j0f_compat.c: Likewise.
31035 * math/w_j0l_compat.c: Likewise.
31036 * math/w_j1_compat.c: Likewise.
31037 * math/w_j1f_compat.c: Likewise.
31038 * math/w_j1l_compat.c: Likewise.
31039 * math/w_jn_compat.c: Likewise.
31040 * math/w_jnf_compat.c: Likewise.
31041 * math/w_jnl_compat.c: Likewise.
31042 * math/w_lgamma_r_compat.c: Likewise.
31043 * math/w_lgammaf_r_compat.c: Likewise.
31044 * math/w_lgammal_r_compat.c: Likewise.
31045 * math/w_log10_compat.c: Likewise.
31046 * math/w_log10f_compat.c: Likewise.
31047 * math/w_log10l_compat.c: Likewise.
31048 * math/w_log2_compat.c: Likewise.
31049 * math/w_log2f_compat.c: Likewise.
31050 * math/w_log2l_compat.c: Likewise.
31051 * math/w_log_compat.c: Likewise.
31052 * math/w_logf_compat.c: Likewise.
31053 * math/w_logl_compat.c: Likewise.
31054 * math/w_pow_compat.c: Likewise.
31055 * math/w_powf_compat.c: Likewise.
31056 * math/w_powl_compat.c: Likewise.
31057 * math/w_remainder_compat.c: Likewise.
31058 * math/w_remainderf_compat.c: Likewise.
31059 * math/w_remainderl_compat.c: Likewise.
31060 * math/w_sinh_compat.c: Likewise.
31061 * math/w_sinhf_compat.c: Likewise.
31062 * math/w_sinhl_compat.c: Likewise.
31063 * math/w_sqrt_compat.c: Likewise.
31064 * math/w_sqrtf_compat.c: Likewise.
31065 * math/w_sqrtl_compat.c: Likewise.
31066 * math/w_tgamma_compat.c: Likewise.
31067 * math/w_tgammaf_compat.c: Likewise.
31068 * math/w_tgammal_compat.c: Likewise.
31069 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31070 [LIBM_SVID_COMPAT].
31071 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31072 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31073 [LIBM_SVID_COMPAT].
31074 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31075 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31076 [LIBM_SVID_COMPAT].
31077 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31078 * sysdeps/i386/fpu/w_sqrt.c: New file.
31079 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31080 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31081 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31082 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31083 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31084 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31085 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31086 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31087 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31088 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31089 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31090 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31091 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31092 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31093 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31094 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31095 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31096 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31097 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31098 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31099 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31100 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31101 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31102 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31103 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31104 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31105 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31106 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31107 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31108 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31109 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31110 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31111 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31112 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31113 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31114 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31115 * sysdeps/ia64/fpu/w_log.c: Likewise.
31116 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31117 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31118 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31119 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31120 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31121 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31122 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31123 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31124 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31125 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31126 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31127 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31128 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31129 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31130 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31131 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31132 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31133 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31134 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31135 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31136 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31137 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31138 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31139 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31140 [LIBM_SVID_COMPAT].
31141 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31142 * sysdeps/ieee754/k_standard.c: Likewise.
31143 * sysdeps/ieee754/k_standardf.c: Likewise.
31144 * sysdeps/ieee754/k_standardl.c: Likewise.
31145 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31146 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31147 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31148 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31149 long_double_symbol call on [LIBM_SVID_COMPAT].
31150 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31151 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31152 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31153 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31154 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31155 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31156 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31157 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31158 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31159 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31160 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31161 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31162 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31163 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31164 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31165 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31166 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31167 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31168 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31169 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31170 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31171 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31172
31173 2017-09-05 Steve Ellcey <sellcey@cavium.com>
31174
31175 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31176 * malloc/tst-mallocstate.c: Convert from test-skeleton
31177 to test-driver. Ifdef code using TEST_COMPAT macro.
31178 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31179 * math/test-matherr.c: Likewise.
31180
31181 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31182
31183 [BZ #22086]
31184 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31185 comparing word with byte-swapped constant.
31186
31187 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
31188
31189 [BZ #20498]
31190 * locale/iso-639.def: add Miskito.
31191 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31192 * localedata/locales/miq_NI: New file.
31193
31194 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31195
31196 [BZ #18822]
31197 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31198 (__mkdir): Likewise.
31199 * io/chmod.c (__chmod): Add libc_hidden_def.
31200 * io/mkdir.c (__mkdir): Likewise.
31201 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31202 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31203 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31204 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31205
31206 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31207
31208 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31209 version to 4.13.
31210
31211 [BZ #22082]
31212 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31213 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31214
31215 2017-09-04 Florian Weimer <fweimer@redhat.com>
31216
31217 * math/math.h: Issue warning if log is defined.
31218
31219 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31220
31221 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31222 kernel version to 4.13.
31223
31224 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31225
31226 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
31227 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31228 parameter.
31229 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31230 just <bits/types.h>.
31231 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
31232 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
31233 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
31234 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
31235 * misc/preadv2.c: Include <errno.h>.
31236 * misc/preadv64v2.c: Include <errno.h>.
31237 * misc/pwritev2.c: Include <errno.h>.
31238 * misc/pwritev64v2.c: Include <errno.h>.
31239 * sysdeps/posix/preadv2.c: Include <errno.h>.
31240 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31241 Fix <unistd.h> inclusion.
31242 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31243 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
31244 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31245 __strtoul_internal): New functions.
31246 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31247 * sysdeps/posix/system.c: Include <sigsetops.h>.
31248 * sysdeps/mach/hurd/i386/Makefile
31249 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31250 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31251 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
31252 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31253 __feraiseexcept_renamed to feraiseexcept instead of
31254 __GI_feraiseexcept.
31255 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
31256 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
31257 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31258 RWF_NOWAIT): Define to 0 if undefined already.
31259 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31260 boils down to 0.
31261 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31262 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
31263
31264 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31265
31266 * manual/math.texi (pow10): Do not document.
31267 (pow10f): Likewise.
31268 (pow10l): Likewise.
31269 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31270 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31271 * math/libm-test-exp10.inc (pow10_test): Remove.
31272 (do_test): Do not call pow10.
31273 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31274 [NO_LONG_DOUBLE] (pow10l): Likewise.
31275 * math/w_exp10f_compat.c (pow10f): Likewise.
31276 * math/w_exp10l_compat.c (pow10l): Likewise.
31277 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31278 (pow10): Make into compat symbol.
31279 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31280 (pow10f): Make into compat symbol.
31281 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31282 (pow10l): Make into compat symbol.
31283 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31284 pow10.
31285 (CFLAGS-nldbl-pow10.c): Remove variable..
31286 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31287 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31288 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31289 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31290 Undefine and redefine.
31291 (pow10l): Make into compat symbol.
31292 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31293 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31294 * sysdeps/arm/libm-test-ulps: Likewise.
31295 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31296 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31297 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31298 * sysdeps/microblaze/libm-test-ulps: Likewise.
31299 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31300 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31301 * sysdeps/nios2/libm-test-ulps: Likewise.
31302 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31303 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31304 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31305 * sysdeps/sh/libm-test-ulps: Likewise.
31306 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31307 * sysdeps/tile/libm-test-ulps: Likewise.
31308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31309
31310 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31311
31312 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31313
31314 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31315
31316 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31317 "../ChangeLog.old/ChangeLog.8".
31318 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31319 "../ChangeLog.old/ChangeLog.14".
31320
31321 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31322
31323 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31324 Threads Library.
31325
31326 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31327
31328 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31329
31330 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31331
31332 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31333 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31334
31335 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31336
31337 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31338 32 atexit handlers.
31339
31340 2017-09-01 Zack Weinberg <zackw@panix.com>
31341
31342 * math/math.h (HUGE_VAL): Improve commentary.
31343
31344 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31345 Andreas Schwab <schwab@suse.de>
31346
31347 [BZ #21530]
31348 * include/stdio.h (__gen_tempfd): New function.
31349 * stdio-common/Makefile (routines): Add gentempfd.
31350 * stdio-common/gentempfd.c: New file.
31351 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31352 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31353 unnamed file first.
31354
31355 2017-09-01 Florian Weimer <fweimer@redhat.com>
31356
31357 [BZ #21915]
31358 [BZ #21922]
31359 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31360 result to determine success or failure, not the errno value.
31361 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31362 (tst-nss-files-hosts-erange): Link with -ldl.
31363 * nss/tst-nss-files-hosts-erange.c: New file.
31364 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31365 (do_test): Add NO_DATA tests.
31366 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31367 (do_test): Call it.
31368
31369 2017-09-01 Florian Weimer <fweimer@redhat.com>
31370
31371 [BZ #21922]
31372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31373 coming from gethostbyname2_r.
31374
31375 2017-09-01 Florian Weimer <fweimer@redhat.com>
31376
31377 * support/namespace.h (struct support_chroot_configuration): Add
31378 hosts, host_conf.
31379 (struct support_chroot): Add path_hosts, path_host_conf.
31380 * support/support_chroot.c (write_file): New function.
31381 (support_chroot_create): Call it to process /etc/resolv.conf,
31382 /etc/hosts, /etc/host.conf.
31383 (support_chroot_free): Update.
31384
31385 2017-09-01 Florian Weimer <fweimer@redhat.com>
31386
31387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31388 status indicates it is set.
31389
31390 2017-09-01 Florian Weimer <fweimer@redhat.com>
31391
31392 [BZ #20532]
31393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31394 function lookup failures more reliable.
31395
31396 2017-09-01 Florian Weimer <fweimer@redhat.com>
31397
31398 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31399 (getcanonname): Likewise.
31400 (gaih_inet): Likewise.
31401
31402 2017-09-01 Florian Weimer <fweimer@redhat.com>
31403
31404 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31405 (getcanonname): Likewise.
31406 (gaih_inet): Likewise.
31407
31408 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31409 Richard Henderson <rth@twiddle.net>
31410
31411 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31412 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31413 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31414 (IREG_SIZE, OREG_SIZE): New macros.
31415 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31416 (IREG_SIZE, OREG_SIZE): New macros.
31417 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31418 (IREG_SIZE): New macro.
31419 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31420 (IREG_SIZE): New macro.
31421 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31422 New includes.
31423 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31424 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31425 (__CONCATX): Handle exceptions correctly on large values that may
31426 set FE_INVALID.
31427 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31428 Initialize if not already set.
31429 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31430
31431 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31432
31433 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31434 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31435 Likewise.
31436 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31437 Likewise.
31438 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31439 Likewise.
31440 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31441 Likewise.
31442 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31443 Likewise.
31444 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31445 Likewise.
31446 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31447 Likewise.
31448 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31449 (NO_CANCELLATION): Likewise.
31450 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31451 Likewise.
31452 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31453 Likewise.
31454 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31455 Likewise.
31456 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31457 (NO_CANCELLATION): Likewise.
31458 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31459 (NO_CANCELLATION): Likewise.
31460 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31461 Likewise
31462 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31463 Likewise.
31464 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31465 Likewise.
31466 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31467 Likewise.
31468 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31469 hidden prototype.
31470 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31471 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31472
31473 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31474
31475 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31476 in resolver call.
31477
31478 2017-08-31 Florian Weimer <fweimer@redhat.com>
31479
31480 * include/libc-symbols.h (internal_function): Remove.
31481
31482 2017-08-31 Florian Weimer <fweimer@redhat.com>
31483
31484 * stdlib/fmtmsg.c (internal_addseverity): Remove
31485 internal_function.
31486
31487 2017-08-31 Florian Weimer <fweimer@redhat.com>
31488
31489 * stdio-common/printf_fp.c (group_number): Remove
31490 internal_function.
31491 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31492
31493 2017-08-31 Florian Weimer <fweimer@redhat.com>
31494
31495 * posix/fnmatch.c (internal_function): Remove definition.
31496 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31497 * posix/regcomp.c (peek_token, init_word_char)
31498 (duplicate_node_closure, fetch_token, peek_token)
31499 (peek_token_bracket, build_range_exp, build_collating_symbol):
31500 Likewise.
31501 * posix/regex_internal.c (re_string_construct_common)
31502 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31503 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31504 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31505 (re_string_translate_buffer, re_string_reconstruct)
31506 (re_string_peek_byte_case, re_string_fetch_byte_case)
31507 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31508 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31509 (re_node_set_add_intersect, re_node_set_init_union)
31510 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31511 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31512 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31513 (re_acquire_state_context): Likewise.
31514 * posix/regex_internal.h (internal_function): Remove definition.
31515 (re_string_realloc_buffers, build_wcs_buffer)
31516 (build_wcs_upper_buffer, build_upper_buffer)
31517 (re_string_translate_buffer, re_string_context_at)
31518 (re_string_char_size_at, re_string_wchar_at)
31519 (re_string_elem_size_at): Likewise.
31520 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31521 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31522 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31523 (re_search_internal, re_search_2_stub, re_search_stub)
31524 (re_copy_regs, prune_impossible_nodes, check_matching)
31525 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31526 (free_fail_stack_return, sift_states_iter_mb)
31527 (sift_states_backward, build_sifted_states)
31528 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31529 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31530 (check_subexp_limits, sift_states_bkref, merge_state_array)
31531 (find_recover_state, transit_state, merge_state_with_log)
31532 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31533 (transit_state_mb, transit_state_bkref, get_subexp)
31534 (get_subexp_sub, find_subexp_node, check_arrival)
31535 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31536 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31537 (check_node_accept_bytes, find_collation_sequence_value)
31538 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31539 (acquire_init_state_context, check_halt_node_context)
31540 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31541 (sub_epsilon_src_nodes): Likewise.
31542 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31543 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31544 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31545 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31546 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31547 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31548 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31549 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31550 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31551 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31552 (PREADV): Likewise.
31553 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31554 (PREADV): Likewise.
31555 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31556 (PWRITEV): Likewise.
31557 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31558 (PWRITEV): Likewise.
31559 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31560 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31561
31562 2017-08-31 Florian Weimer <fweimer@redhat.com>
31563
31564 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31565 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31566 Remove internal_function.
31567 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31568 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31569 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31570 (__deallocate_stack, __libc_pthread_init)
31571 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31572 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31573 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31574 Likewise.
31575 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31576 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31577 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31578 Likewise.
31579 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31580 (__pthread_mutex_unlock_usercnt): Likewise.
31581
31582 2017-08-31 Florian Weimer <fweimer@redhat.com>
31583
31584 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31585 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31586 (fts_safe_changedir): Remove internal_function.
31587 * io/ftw.c (internal_function): Remove definition.
31588 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31589
31590 2017-08-31 Florian Weimer <fweimer@redhat.com>
31591
31592 * inet/deadline.c (__deadline_current_time)
31593 (__deadline_from_timeval, __deadline_to_ms): Remove
31594 internal_function.
31595 * inet/getnameinfo.c (nrl_domainname): Likewise.
31596 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31597 * inet/inet6_option.c (add_pad): Likewise.
31598 * inet/net-internal.h (__deadline_current_time)
31599 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31600 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31601 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31602 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31603
31604 2017-08-31 Joseph Myers <joseph@codesourcery.com>
31605
31606 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31607 include <bits/nan.h>.
31608 * math/Makefile (headers): Remove bits/nan.h.
31609 * bits/nan.h: Remove.
31610 * sysdeps/ieee754/bits/nan.h: Likewise.
31611 * sysdeps/mips/bits/nan.h: Likewise.
31612
31613 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31614 not include <bits/inf.h>.
31615 * math/Makefile (headers): Remove bits/inf.h.
31616 * bits/inf.h: Remove.
31617 * sysdeps/ieee754/bits/inf.h: Likewise.
31618
31619 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31620 bits/huge_vall.h or bits/huge_val_flt128.h.
31621 (HUGE_VAL): Define directly here.
31622 [__USE_ISOC99] (HUGE_VALF): Likewise.
31623 [__USE_ISOC99] (HUGE_VALL): Likewise.
31624 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31625 (HUGE_VAL_F128): Likewise.
31626 * math/Makefile (headers): Remove bits/huge_val.h,
31627 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31628 * bits/huge_val.h: Remove.
31629 * bits/huge_val_flt128.h: Likewise.
31630 * bits/huge_valf.h: Likewise.
31631 * bits/huge_vall.h: Likewise.
31632 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31633 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31634 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31635 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31636 * sysdeps/sh/bits/huge_val.h: Likewise.
31637 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31638 * sysdeps/x86/bits/huge_vall.h: Likewise.
31639
31640 2017-08-31 Florian Weimer <fweimer@redhat.com>
31641
31642 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31643 internal_function.
31644 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31645 Likewise.
31646 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31647 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31648 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31649 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31650 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31651 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31652 * elf/dl-libc.c (dlerror_run): Likewise.
31653 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31654 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31655 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31656 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31657 Likewise.
31658 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31659 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31660 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31661 * elf/dl-profile.c (_dl_start_profile): Likewise.
31662 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31663 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31664 Likewise.
31665 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31666 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31667 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31668 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31669 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31670 (_dl_allocate_tls_storage): Likewise.
31671 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31672 (_dl_check_all_versions): Likewise.
31673 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31674 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31675 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31676 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31677 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31678 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31679 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31680 internal_function from __dl_start.
31681 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31682 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31683 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31684 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31685 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31686 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31687 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31688 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31689 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31690 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31691 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31692 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31693 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31694 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31695 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31696 Likewise.
31697 (struct rtld_global_ro): Remove internal_function from the
31698 _dl_lookup_symbol_x member.
31699 (_dl_symbol_value): Remove. No longer defined anywhere.
31700 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31701 internal_function.
31702 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31703 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31704 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31705 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31706 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31707 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31708 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31709 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31710 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31711 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31712 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31713 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31714
31715 2017-08-31 Florian Weimer <fweimer@redhat.com>
31716
31717 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31718 Remove internal_function.
31719 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31720 Likewise.
31721 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31722 Likewise.
31723
31724 2017-08-31 Florian Weimer <fweimer@redhat.com>
31725
31726 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31727 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31728 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31729
31730 2017-08-31 Florian Weimer <fweimer@redhat.com>
31731
31732 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31733 (__gai_enqueue_request): Remove internal_function.
31734 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31735 (__gai_remove_request, __gai_notify, __gai_notify_only)
31736 (__gai_sigqueue): Likewise.
31737 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31738 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31739 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31740 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31741 Likewise.
31742
31743 2017-08-31 Florian Weimer <fweimer@redhat.com>
31744
31745 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31746 * include/dirent.h (__opendirat, __getdents, __getdents64)
31747 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31748 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31749 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31750 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31751 Likewise.
31752 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31753
31754 2017-08-31 Florian Weimer <fweimer@redhat.com>
31755
31756 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31757 internal_function.
31758 (GETCWD_RETURN_TYPE): Likewise.
31759
31760 2017-08-31 Florian Weimer <fweimer@redhat.com>
31761
31762 * include/time.h (__tz_compute, __strptime_internal): Remove
31763 internal_function.
31764 * time/strptime_l.c (__strptime_internal): Likewise.
31765 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31766
31767 2017-08-31 Florian Weimer <fweimer@redhat.com>
31768
31769 * iconv/gconv.c (__gconv): Remove internal_function.
31770 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31771 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31772 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31773 (__gconv_release_cache): Likewise.
31774 * iconv/gconv_close.c (__gconv_close): Likewise.
31775 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31776 (read_conf_file, __gconv_get_path): Likewise.
31777 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31778 (__gconv_release_step, gen_steps, increment_counter)
31779 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31780 (__gconv_close_transform, free_modules_db): Likewise.
31781 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31782 Likewise.
31783 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31784 (__gconv_find_transform, __gconv_lookup_cache)
31785 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31786 (__gconv_close_transform, __gconv_release_cache)
31787 (__gconv_loaded_object, __gconv_release_shlib)
31788 (__gconv_compare_alias): Likewise.
31789 * iconv/gconv_open.c (__gconv_open): Likewise.
31790 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31791 * iconv/iconvconfig.c (add_module): Likewise.
31792 * intl/dcigettext.c (plural_lookup, guess_category_value)
31793 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31794 * intl/eval-plural.h (plural_eval): Likewise.
31795 * intl/finddomain.c (_nl_find_domain): Likewise.
31796 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31797 (_nl_load_domain, _nl_find_msg): Likewise.
31798 (internal_function): Remove definition.
31799 * intl/loadinfo.h (internal_function): Likewise.
31800 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31801 internal_function.
31802 * intl/localealias.c (internal_function): Remove definition.
31803 (read_alias_file): Remove internal_function.
31804 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31805 * intl/plural-exp.h (internal_function): Remove definition.
31806 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31807 internal_function.
31808 * intl/plural.c: Regenerate.
31809 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31810 * locale/coll-lookup.c (__collidx_table_lookup)
31811 (__collseq_table_lookup): Likewise.
31812 * locale/coll-lookup.h (__collidx_table_lookup)
31813 (__collseq_table_lookup): Likewise.
31814 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31815 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31816 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31817 (_nl_unload_locale): Likewise.
31818 * locale/localeinfo.h (struct __locale_data): Remove
31819 internal_function from cleanup member.
31820 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31821 (_nl_remove_locale, _nl_load_locale_from_archive)
31822 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31823 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31824 (_nl_cleanup_time): Remove internal_function.
31825 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31826 (_nl_parse_alt_digit): Likewise.
31827 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31828 (_nl_select_era_entry): Likewise.
31829 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31830 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31831 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31832 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31833 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31834
31835 2017-08-31 Florian Weimer <fweimer@redhat.com>
31836
31837 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31838 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31839 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31840 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31841 Likewise.
31842 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31843 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31844 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31845 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31846 Likewise.
31847 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31848
31849 2017-08-31 Florian Weimer <fweimer@redhat.com>
31850
31851 * misc/getttyent.c (skip, value): Remove internal_function.
31852 * misc/syslog.c (openlog_internal): Likewise.
31853 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31854
31855 2017-08-31 Florian Weimer <fweimer@redhat.com>
31856
31857 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31858 (__nss_rewrite_field): Remove internal_function.
31859 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31860 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31861 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31862 * nss/nsswitch.c (nss_parse_file, nss_getline)
31863 (nss_parse_service_list, nss_new_service): Likewise.
31864 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31865 * nss/valid_field.c (__nss_valid_field): Likewise.
31866 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31867
31868 2017-08-31 Florian Weimer <fweimer@redhat.com>
31869
31870 * malloc/arena.c (__malloc_fork_lock_parent)
31871 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31872 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31873 internal_function from defintions.
31874 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31875 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31876 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31877 internal_function from declarations.
31878 * malloc/malloc.c (internal_function): Do not define.
31879 (mem2mem_check): Remove internal_function from declaration.
31880 (munmap_chunk, mremap_chunk): Remove internal_function.
31881 * malloc/mtrace.c (tr_where): Likewise.
31882
31883 2017-08-31 Florian Weimer <fweimer@redhat.com>
31884
31885 * include/rpc/pmap_clnt.h (__get_socket): Remove
31886 internal_function.
31887 * sunrpc/auth_des.c (synchronize): Likewise.
31888 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31889 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31890 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31891 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31892 (key_call): Likewise.
31893 * sunrpc/pm_getport.c (__get_socket): Likewise.
31894 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31895 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31896 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31897 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31898 (invalidate): Likewise.
31899 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31900 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31901 (set_input_fragment, get_input_bytes): Likewise.
31902
31903 2017-08-31 Florian Weimer <fweimer@redhat.com>
31904
31905 * malloc/malloc.c (_int_free): Remove locked variable and related
31906 asserts.
31907
31908 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31909
31910 [BZ #22051]
31911 * Makerules (build-module-helper-objlist): Filter out
31912 $(elf-objpfx)sofini.os.
31913 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31914 needed.
31915
31916 2017-08-31 Florian Weimer <fweimer@redhat.com>
31917
31918 * libio/fcloseall.c: Assume weak_alias is defined.
31919 * libio/feof.c: Likewise.
31920 * libio/fileno.c: Likewise.
31921 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31922 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31923 definitions.
31924 (_IO_file_open): Call __open directly.
31925 (_IO_new_file_sync): Assume ESPIPE is defined.
31926 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31927 (_IO_new_file_write): Call __write directly.
31928 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31929 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31930 * libio/genops.c: Assume _LIBC is defined.
31931 (save_for_backup): Remove internal_function.
31932 * libio/getc.c: Assume weak_alias is defined.
31933 * libio/getwc.c: Likewise.
31934 * libio/iofclose.c: Assume _LIBC is defined.
31935 * libio/iofdopen.c: Likewise.
31936 (_IO_fcntl): Remove macro definition.
31937 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31938 Call __fcntl directly.
31939 * libio/iofflush.c: Assume weak_alias is defined.
31940 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31941 defined.
31942 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31943 * libio/iofgets.c: Likewise.
31944 * libio/iofopen.c: Assume _LIBC is defined.
31945 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31946 * libio/iofputs.c: Assume weak_alias is defined.
31947 * libio/iofread.c: Likewise.
31948 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31949 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31950 * libio/ioftell.c: Assume weak_alias is defined.
31951 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31952 * libio/iofwide.c: Assume _LIBC is defined.
31953 (_IO_fwide): Drop SHARED conditional because it is implied by
31954 SHLIB_COMPAT.
31955 * libio/iofwrite.c: Assume weak_alias is defined.
31956 * libio/iogetdelim.c: Likewise.
31957 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31958 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31959 (_IO_getwline): Call __wmemcpy directly.
31960 * libio/iopopen.c: Assume _LIBC is defined.
31961 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31962 (_IO_close): Remove macro definitions.
31963 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31964 _exit directly.
31965 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31966 directly.
31967 * libio/ioputs.c: Assume weak_alias is defined.
31968 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31969 * libio/iosetbuffer.c: Assume weak_alias is defined.
31970 * libio/iosetvbuf.c: Likewise.
31971 * libio/ioungetc.c: Likewise.
31972 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31973 libc_hidden_def, libc_hidden_weak, NULL are defined.
31974 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31975 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31976 defined.
31977 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31978 definitions.
31979 (_IO_old_file_init_internal): Drop SHARED conditional because it
31980 is implied by SHLIB_COMPAT.
31981 (_IO_old_file_fopen): Call __open directly.
31982 (_IO_old_file_sync): Assume ESPIPE is defined.
31983 (_IO_old_file_write): Call __write directly.
31984 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31985 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31986 Call __fcntl directly.
31987 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31988 (_IO_old_fgetpos): Assume EIO is defined.
31989 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31990 (_IO_old_fgetpos64): Assume EIO is defined.
31991 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31992 (_IO_old_fsetpos): Assume EIO is defined.
31993 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31994 (_IO_old_fsetpos64): Assume EIO is defined.
31995 * libio/oldiopopen.c: Assume _LIBC is defined.
31996 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31997 (_IO_close): Remove macro definitions.
31998 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31999 directly.
32000 (_IO_old_proc_close): Call __close, __waitpid directly.
32001 * libio/put.c: Assume weak_alias is defined.
32002 * libio/stdfiles.c: Assume _LIBC is defined.
32003 * libio/stdio.c: Likewise.
32004 * libio/wfileops.c: Likewise.
32005 (_IO_wfile_sync): Assume ESPIPE is defined.
32006 * libio/wgenops.c: Assume _LIBC is defined.
32007 (save_for_wbackup): Remove internal_function.
32008
32009 2017-08-31 Florian Weimer <fweimer@redhat.com>
32010
32011 * malloc/malloc.c (top_check): Change return type to void. Remove
32012 internal_function.
32013 * malloc/hooks.c (top_check): Likewise.
32014 (malloc_check, realloc_check, memalign_check): Adjust.
32015
32016 2017-08-30 Joseph Myers <joseph@codesourcery.com>
32017
32018 [BZ #21457]
32019 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32020 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32021 sigcontext and namespace requirements.
32022 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32023 * sysdeps/m68k/sys/ucontext.h: Likewise.
32024 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32025 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32026 <bits/sigcontext.h>.
32027 (__ctx): Define earlier.
32028 (mcontext_t): Define structure contents rather than using struct
32029 sigcontext.
32030 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32031 __glibc_reserved1 instead of __reserved.
32032 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32033 <bits/sigcontext.h>.
32034 (__ctx): Define earlier.
32035 (mcontext_t): Define structure contents rather than using struct
32036 sigcontext.
32037 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32038 mcontext_t instead of struct sigcontext.
32039 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32040 <bits/sigcontext.h>.
32041 (__ctx): Define earlier.
32042 (mcontext_t): Define structure contents rather than using struct
32043 sigcontext.
32044 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32045 <bits/sigcontext.h>.
32046 (__ctx): Define earlier.
32047 (mcontext_t): Define structure contents rather than using struct
32048 sigcontext.
32049 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32050 mcontext_t instead of struct sigcontext.
32051 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32052 mcontext_t instead of struct sigcontext.
32053 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32054 <bits/sigcontext.h>.
32055 (__ctx): New macro.
32056 (struct __ia64_fpreg_mcontext): New type.
32057 (mcontext_t): Define structure contents rather than using struct
32058 sigcontext.
32059 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32060 (uc_sigmask): Define using __ctx.
32061 (uc_stack): Likewise.
32062 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32063 <bits/sigcontext.h>.
32064 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32065 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32066 <bits/sigcontext.h>.
32067 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32068 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32069 <bits/sigcontext.h>.
32070 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32071 <bits/sigcontext.h>.
32072 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32073 <bits/sigcontext.h>.
32074 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32075 <bits/sigcontext.h>.
32076 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32077 <bits/sigcontext.h>.
32078 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32079 <bits/sigcontext.h>.
32080 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32081 <bits/sigcontext.h>.
32082 (__ctx): Define earlier.
32083 (mcontext_t): Define structure contents rather than using struct
32084 sigcontext.
32085 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32086 <bits/sigcontext.h>. Include <bits/types.h>.
32087 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32088 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32089 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32090 (test-xfail-UNIX98/signal.h/conform): Likewise.
32091 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32092 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32093 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32094 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32095 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32096 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32097 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32098 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32099 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32100
32101 2017-08-30 Florian Weimer <fweimer@redhat.com>
32102
32103 * malloc/dynarray_emplace_enlarge.c
32104 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32105 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32106 * malloc/tst-dynarray.c (test_long_overflow): New function.
32107 (do_test): Call it.
32108
32109 2017-08-30 Florian Weimer <fweimer@redhat.com>
32110
32111 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32112 (set_arena_corrupt): Remove definitions.
32113 (mtrim): Do not check for corrupt arena.
32114 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32115 Likewise.
32116
32117 2017-08-30 Florian Weimer <fweimer@redhat.com>
32118
32119 [BZ #21754]
32120 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32121 check_action.
32122 (ptmalloc_init): Do not set or use check_action.
32123 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32124 call to malloc_printerr. Remove return statement.
32125 (free_check): Likewise. Remove arena unlock.
32126 (top_check): Update comment. Adjust call to malloc_printerr.
32127 Remove heap repair code.
32128 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32129 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32130 (sysmalloc): Adjust call to malloc_printerr.
32131 (munmap_chunk, __libc_realloc): Likewise. Remove return
32132 statement.
32133 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32134 Remove errout label and corresponding gotos.
32135 (_int_free): Likewise. Remove arena unlock.
32136 (do_set_mallopt_check): Do not set check_action.
32137 (malloc_printerr): Adjust parameter list. Do not mark arena as
32138 corrupt.
32139 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32140 comment.
32141 * manual/probes.texi (Memory Allocation Probes): Remove
32142 memory_mallopt_check_action.
32143
32144 2017-08-30 Steve Ellcey <sellcey@cavium.com>
32145
32146 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32147 Use pointer to uint64_t instead of long int for sp.
32148
32149 2017-08-30 Florian Weimer <fweimer@redhat.com>
32150
32151 [BZ #21754]
32152 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32153 without printing a backtrace. Do not leak any information in the
32154 error message.
32155 * manual/memory.texi (Heap Consistency Checking): Update.
32156 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32157
32158 2017-08-30 Florian Weimer <fweimer@redhat.com>
32159
32160 Do not scale NPTL tests with available number of CPUs.
32161 * nptl/tst-cond16.c (count): Set to constant value of 8.
32162 * nptl/tst-cond18.c (count): Likewise.
32163
32164 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32165
32166 [BZ #22035]
32167 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32168 Define to take a second argument that is a macro that
32169 concatentates a suffix, not the suffix itself.
32170 (__CONCAT_d): New macro.
32171 (__CONCAT_f): Likewise.
32172 (__CONCAT_l): Likewise.
32173
32174 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32175
32176 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32177 by child.
32178
32179 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32180 Aurelien Jarno <aurelien@aurel32.net>
32181 Maciej W. Rozycki <macro@imgtec.com>
32182
32183 [BZ #21956]
32184 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32185 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32186 `mips16-syscall6' and `mips16-syscall7'.
32187 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32188 (CFLAGS-mips16-syscall7.c): Remove.
32189 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32190 Remove `__mips16_syscall5', `__mips16_syscall6' and
32191 `__mips16_syscall7'.
32192 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32193 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32194 `__mips_syscall_return'.
32195 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32196 (__mips16_syscall1): Likewise.
32197 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32198 (__mips16_syscall2): Likewise.
32199 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32200 (__mips16_syscall3): Likewise.
32201 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32202 (__mips16_syscall4): Likewise.
32203 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32204 Remove.
32205 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32206 Remove.
32207 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32208 Remove.
32209 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32210 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32211 `__mips16_syscall5'. Remove prototype.
32212 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32213 `__mips16_syscall6'. Remove prototype.
32214 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32215 `__mips16_syscall7'. Remove prototype.
32216 (__nomips16, __mips16_syscall_return): Move to...
32217 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32218 (__nomips16, __mips_syscall_return): ... here.
32219 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32220 `__mips16_syscall_return' to `__mips_syscall_return'.
32221 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32222 `internal_syscall##nr'.
32223 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32224 `internal_syscall##nr'.
32225 (FORCE_FRAME_POINTER): Remove.
32226 (__mips_syscall5): New prototype.
32227 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32228 (__mips_syscall6): New prototype.
32229 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32230 (__mips_syscall7): New prototype.
32231 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32232 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32233 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32234 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32235 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32236 (sysdep_routines): Add libc-do-syscall.
32237 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32238 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32239
32240 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32241
32242 [BZ #21672]
32243 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32244 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32245 (advise_stack_range): New function.
32246 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32247 stack non required to advise_stack_range at allocatestack.c
32248
32249 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32250
32251 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32252
32253 2017-08-29 Florian Weimer <fweimer@redhat.com>
32254
32255 [BZ #22026]
32256 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32257 __end_fct. Mangle __end_fct after setting it to NULL.
32258 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32259 (modules-names, modules-names-tests): Add
32260 tst-gconv-init-failure-mod.
32261 (gconv-modules): New target.
32262 (tst-gconv-init-failure-mod.so): Link against libsupport.
32263 (tst-gconv-init-failure): Depend on gconv-modules,
32264 tst-gconv-init-failure-mod.so.
32265 * iconv/tst-gconv-init-failure-mod.c: New file.
32266 * iconv/tst-gconv-init-failure.c: Likewise.
32267 * iconv/test-gconv-modules: Likewise.
32268
32269 2017-08-29 Florian Weimer <fweimer@redhat.com>
32270
32271 [BZ #22025]
32272 * iconv/gconv_db.c (free_derivation): Remove redundant
32273 parentheses.
32274 (gen_steps): Unconditionally mangle __btowc_fct after
32275 initialization.
32276 (increment_counter): Likewise. Do not call init_fct for internal
32277 modules.
32278
32279 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32280
32281 [BZ #22028]
32282 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32283 (_MSUF_): Remove macro.
32284 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32285 Likewise.
32286 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32287 (__REDIRFROM_X): New macro.
32288 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32289 Likewise.
32290 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32291 (__REDIRTO_X): Likewise.
32292 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32293 arguments.
32294 (__MATH_REDIRCALL_2): Likewise.
32295 (__MATH_REDIRCALL_INTERNAL): Likewise.
32296 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32297 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32298 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32299 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32300 * math/test-finite-macros.c: New file.
32301 * math/Makefile (tests): Add test-finite-macros.
32302 (CFLAGS-test-finite-macros.c): New variable.
32303
32304 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
32305 Jeff Law <law@redhat.com>
32306
32307 [BZ #22025]
32308 Mangle NULL pointers in iconv/gconv.
32309 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32310 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32311 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32312 is non-NULL before demangling the end_fct. Check for NULL
32313 end_fct after demangling.
32314 (__gconv_release_step): Demangle the end_fct before checking
32315 it for NULL. Remove assert on __shlibc_handle != NULL.
32316 (gen_steps): Don't check btowc_fct for NULL before mangling.
32317 Demangle init_fct before checking for NULL.
32318 (increment_counter): Likewise.
32319 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32320 end_fct for NULL before mangling.
32321 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32322 for NULL.
32323
32324 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
32325
32326 [BZ #21971]
32327 * locale/iso-639.def: add Morisyen.
32328
32329 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32330
32331 [BZ #21930]
32332 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32333 (iszero): New C++ implementation that does not use
32334 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32335 signaling nans are enabled, since __builtin_types_compatible_p
32336 is a C-only feature.
32337 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32338 defined, include ieee754_float128.h for access to the union and
32339 member ieee854_float128.ieee.
32340 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32341 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32342 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32343 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32344 options of test-math-zero on powerpc64le.
32345
32346 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32347
32348 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32349 Change double to float.
32350
32351 2017-08-28 Joseph Myers <joseph@codesourcery.com>
32352
32353 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32354 unconditional.
32355 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32356 conditional code; define contents only for [LIBM_SVID_COMPAT].
32357
32358 2017-08-28 Florian Weimer <fweimer@redhat.com>
32359
32360 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32361 (abi-lp64_be-options): Remove.
32362 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32363 (abi-hard-options): Likewise.
32364 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32365 (abi-o32_hard-options, abi-o32_soft_2008-options)
32366 (abi-o32_hard_2008-options, abi-n32_soft-options)
32367 (abi-n32_hard-options, abi-n32_soft_2008-options)
32368 (abi-n32_hard_2008-options, abi-n64_soft-options)
32369 (abi-n64_hard-options, abi-n64_soft_2008-options)
32370 (abi-n64_hard_2008-options): Likewise.
32371 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32372 (abi-64-v1-options, abi-64-v2-options): Likewise.
32373 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32374 (abi-64-options): Likewise.
32375 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32376 (abi-64-options): Likewise.
32377 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32378 (abi-64-options): Likewise.
32379 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32380 (abi-64-options, abi-x32-options): Likewise.
32381
32382 2017-08-28 Florian Weimer <fweimer@redhat.com>
32383
32384 Store supported list of SYS_* system calls in the source tree.
32385 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32386 (bits/syscall.h): Generate from list file.
32387 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32388 [$(subdir) = misc] (tests): Add tst-syscall-list.
32389 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32390 [$(subdir) = misc] (tst-syscall-list-macros.list)
32391 [$(subdir) = misc] (tst-syscall-list-nr.list)
32392 (tst-syscall-list-sys.list): Helper targets for new
32393 tst-syscall-list test.
32394 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32395 tst-syscall-list.sh.
32396 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32397 target. Do not include bits/syscall.d.
32398 [$(subdir) = misc] (generated): Do not update.
32399 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32400 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32401 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32402 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32403
32404 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32405
32406 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32407 (tst-cxa_atexit, tst-on_exit): Likewise.
32408 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32409 tst-cxa_atexit, and tst-on_exit.
32410 * stdlib/tst-atexit-common.c: New file.
32411 * stdlib/tst-atexit.c: New file.
32412 * stdlib/tst-at_quick_exit.c: New file.
32413 * stdlib/tst-cxa_atexit.c: New file.
32414 * stdlib/tst-on_exit.c: New file.
32415
32416 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32417
32418 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
32419 * mach/stack_chk_fail_local.c: New file.
32420 * hurd/stack_chk_fail_local.c: New file.
32421 * mach/Machrules ($(interface-library)-routines): Add
32422 stack_chk_fail_local.
32423 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32424 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32425 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32426 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32427 * hurd/Makefile (CFLAGS-hurdstartup.o,
32428 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
32429
32430 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32431
32432 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32433 (index_cpu_*, index_arch_*): Removed.
32434
32435 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32436
32437 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32438 Use uint64_t instead of unsigned long.
32439
32440 2017-08-25 Joseph Myers <joseph@codesourcery.com>
32441
32442 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32443 [__HAVE_DISTINCT_FLOAT128].
32444
32445 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32446 of <bits/math-finite.h>.
32447 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32448 inclusion of <bits/math-finite.h>.
32449 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32450 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32451 __NO_LONG_DOUBLE_MATH].
32452 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32453 (__MATH_REDIRCALL_2): Likewise.
32454 (__MATH_REDIRCALL_INTERNAL): Likewise.
32455 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32456 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32457 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32458
32459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32460 Remove file.
32461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32462 Likewise.
32463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32464 Likewise.
32465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32466 Likewise.
32467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32468 Likewise.
32469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32470 Likewise.
32471 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32472 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32473 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32474 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32476 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32477 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32478 w_sqrtf_compat-ppc32.
32479
32480 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32481
32482 * math/math.h [defined __cplusplus] (issignaling): In the long
32483 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32484 is not defined. Call __issignaling, otherwise.
32485
32486 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32487
32488 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32489 syscall definitions and replace __builtin_expect with __glibc_likely.
32490 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32491 syscall.
32492 (SYSCALL_CANCELLABLE): Removedefinition
32493 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32494 definition.
32495 (PSEUDO_END): Likewise.
32496 [IS_IN (libpthread)] (CENABLE): Likewise.
32497 [IS_IN (libpthread)] (CDISABLE): Likewise.
32498 [IS_IN (libc)] (CENABLE): Likewise.
32499 [IS_IN (libc)] (CENABLE): Likewise.
32500 [IS_IN (librt)] (CDISABLE): Likewise.
32501 [IS_IN (librt)] (CDISABLE): Likewise.
32502 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32503 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32504 definition.
32505 (PSEUDO_END): Likewise.
32506 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32507 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32508 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32509 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32510 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32511 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32512 (CENABLE): Likewise.
32513 (CDISABLE): Likewise.
32514 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32515 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32516 defintion.
32517 (PSEUDO_END): Likewise.
32518 [IS_IN (libpthread)] (CENABLE): Likewise.
32519 [IS_IN (libpthread)] (CDISABLE): Likewise.
32520 [IS_IN (libc)] (CENABLE): Likewise.
32521 [IS_IN (libc)] (CENABLE): Likewise.
32522 [IS_IN (librt)] (CDISABLE): Likewise.
32523 [IS_IN (librt)] (CDISABLE): Likewise.
32524 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32525 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32526 definition.
32527 (PSEUDO_END): Likewise.
32528 [IS_IN (libpthread)] (CENABLE): Likewise.
32529 [IS_IN (libpthread)] (CDISABLE): Likewise.
32530 [IS_IN (libc)] (CENABLE): Likewise.
32531 [IS_IN (libc)] (CENABLE): Likewise.
32532 [IS_IN (librt)] (CDISABLE): Likewise.
32533 [IS_IN (librt)] (CDISABLE): Likewise.
32534 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32535 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32536 definition.
32537 (PSEUDO_END): Likewise.
32538 [IS_IN (libpthread)] (CENABLE): Likewise.
32539 [IS_IN (libpthread)] (CDISABLE): Likewise.
32540 [IS_IN (libc)] (CENABLE): Likewise.
32541 [IS_IN (libc)] (CENABLE): Likewise.
32542 [IS_IN (librt)] (CDISABLE): Likewise.
32543 [IS_IN (librt)] (CDISABLE): Likewise.
32544 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32545 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32546 definition.
32547 (PSEUDO_END): Likewise.
32548 [IS_IN (libpthread)] (CENABLE): Likewise.
32549 [IS_IN (libpthread)] (CDISABLE): Likewise.
32550 [IS_IN (libc)] (CENABLE): Likewise.
32551 [IS_IN (libc)] (CENABLE): Likewise.
32552 [IS_IN (librt)] (CDISABLE): Likewise.
32553 [IS_IN (librt)] (CDISABLE): Likewise.
32554 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32555 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32556 definition.
32557 (PSEUDO_END): Likewise.
32558 [IS_IN (libpthread)] (CENABLE): Likewise.
32559 [IS_IN (libpthread)] (CDISABLE): Likewise.
32560 [IS_IN (libc)] (CENABLE): Likewise.
32561 [IS_IN (libc)] (CENABLE): Likewise.
32562 [IS_IN (librt)] (CDISABLE): Likewise.
32563 [IS_IN (librt)] (CDISABLE): Likewise.
32564 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32565 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32566 definition.
32567 (PSEUDO_END): Likewise.
32568 [IS_IN (libpthread)] (CENABLE): Likewise.
32569 [IS_IN (libpthread)] (CDISABLE): Likewise.
32570 [IS_IN (libc)] (CENABLE): Likewise.
32571 [IS_IN (libc)] (CENABLE): Likewise.
32572 [IS_IN (librt)] (CDISABLE): Likewise.
32573 [IS_IN (librt)] (CDISABLE): Likewise.
32574 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32575 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32576 Remove definition.
32577 (PSEUDO_END): Likewise.
32578 [IS_IN (libpthread)] (CENABLE): Likewise.
32579 [IS_IN (libpthread)] (CDISABLE): Likewise.
32580 [IS_IN (libc)] (CENABLE): Likewise.
32581 [IS_IN (libc)] (CENABLE): Likewise.
32582 [IS_IN (librt)] (CDISABLE): Likewise.
32583 [IS_IN (librt)] (CDISABLE): Likewise.
32584 (SINGLE_THREAD_P): Likewise.
32585 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32586 definition.
32587 (PSEUDO_END): Likewise.
32588 [IS_IN (libpthread)] (CENABLE): Likewise.
32589 [IS_IN (libpthread)] (CDISABLE): Likewise.
32590 [IS_IN (libc)] (CENABLE): Likewise.
32591 [IS_IN (libc)] (CENABLE): Likewise.
32592 [IS_IN (librt)] (CDISABLE): Likewise.
32593 [IS_IN (librt)] (CDISABLE): Likewise.
32594 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32595 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32596 definition.
32597 (PSEUDO_END): Likewise.
32598 [IS_IN (libpthread)] (CENABLE): Likewise.
32599 [IS_IN (libpthread)] (CDISABLE): Likewise.
32600 [IS_IN (libc)] (CENABLE): Likewise.
32601 [IS_IN (libc)] (CENABLE): Likewise.
32602 [IS_IN (librt)] (CDISABLE): Likewise.
32603 [IS_IN (librt)] (CDISABLE): Likewise.
32604 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32605 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32606 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32607 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32609 definition.
32610 (PSEUDO_END): Likewise.
32611 [IS_IN (libpthread)] (CENABLE): Likewise.
32612 [IS_IN (libpthread)] (CDISABLE): Likewise.
32613 [IS_IN (libc)] (CENABLE): Likewise.
32614 [IS_IN (libc)] (CENABLE): Likewise.
32615 [IS_IN (librt)] (CDISABLE): Likewise.
32616 [IS_IN (librt)] (CDISABLE): Likewise.
32617 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32618 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32619 definition.
32620 (PSEUDO_END): Likewise.
32621 [IS_IN (libpthread)] (CENABLE): Likewise.
32622 [IS_IN (libpthread)] (CDISABLE): Likewise.
32623 [IS_IN (libc)] (CENABLE): Likewise.
32624 [IS_IN (libc)] (CENABLE): Likewise.
32625 [IS_IN (librt)] (CDISABLE): Likewise.
32626 [IS_IN (librt)] (CDISABLE): Likewise.
32627 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32628 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32629 definition.
32630 (PSEUDO_END): Likewise.
32631 [IS_IN (libpthread)] (CENABLE): Likewise.
32632 [IS_IN (libpthread)] (CDISABLE): Likewise.
32633 [IS_IN (libc)] (CENABLE): Likewise.
32634 [IS_IN (libc)] (CENABLE): Likewise.
32635 [IS_IN (librt)] (CDISABLE): Likewise.
32636 [IS_IN (librt)] (CDISABLE): Likewise.
32637 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32638 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32640 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32641 * sysdeps/unix/sysv/linux/tile/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/x86_64/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
32662 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32663
32664 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32665
32666 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32667
32668 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32669
32670 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32671
32672 [BZ #21982]
32673 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32674 middle and outer with size_t instead of int. Repleace %d and
32675 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32676 "MAX (outer, nchars - 64)" to support unsigned outer and
32677 nchars. Also exit loop when outer == 0.
32678
32679 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32680
32681 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32682 * include/signal.h (__sigsuspend_nocancel): Likewise.
32683 * include/time.h (__nanosleep_nocancel): Likewise.
32684 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32685 * login/utmp_file.c: Include non cancellable syscall header.
32686 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32687 prototype.
32688
32689 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32690
32691 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32692 .byte sequences with AVX512F instructions.
32693 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32694 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32695 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32696 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32697 Likewise.
32698 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32699 Likewise.
32700
32701 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32702 Steve Ellcey <sellcey@cavium.com>
32703
32704 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32705 Use PTR_REG macro in cmp instruction.
32706
32707 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32708
32709 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32710 Change the return type of the ifunc resolver to match the return
32711 type of the target function.
32712
32713 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32714
32715 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32716 (preadv64): Likewise.
32717 (pwrite64(: Likewise.
32718 (pwritev64): Likewise.
32719
32720 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32721 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32722 (LOAD_ARGS_0): Likewise.
32723 (LOAD_ARGS_1): Likewise.
32724 (LOAD_ARGS_2): Likewise.
32725 (LOAD_ARGS_3): Likewise.
32726 (LOAD_ARGS_4): Likewise.
32727 (LOAD_ARGS_5): Likewise.
32728 (LOAD_ARGS_6): Likewise.
32729 (LOAD_REGS_0): Likewise.
32730 (LOAD_REGS_1): Likewise.
32731 (LOAD_REGS_2): Likewise.
32732 (LOAD_REGS_3): Likewise.
32733 (LOAD_REGS_4): Likewise.
32734 (LOAD_REGS_5): Likewise.
32735 (LOAD_REGS_6): Likewise.
32736 (ASM_ARGS_0): Likewise.
32737 (ASM_ARGS_1): Likewise.
32738 (ASM_ARGS_2): Likewise.
32739 (ASM_ARGS_3): Likewise.
32740 (ASM_ARGS_4): Likewise.
32741 (ASM_ARGS_5): Likewise.
32742 (ASM_ARGS_6): Likewise.
32743 (LOAD_ARGS_TYPES_1): Likewise.
32744 (LOAD_ARGS_TYPES_2): Likewise.
32745 (LOAD_ARGS_TYPES_3): Likewise.
32746 (LOAD_ARGS_TYPES_4): Likewise.
32747 (LOAD_ARGS_TYPES_5): Likewise.
32748 (LOAD_ARGS_TYPES_6): Likewise.
32749 (LOAD_REGS_TYPES_1): Likewise.
32750 (LOAD_REGS_TYPES_2): Likewise.
32751 (LOAD_REGS_TYPES_3): Likewise.
32752 (LOAD_REGS_TYPES_4): Likewise.
32753 (LOAD_REGS_TYPES_5): Likewise.
32754 (LOAD_REGS_TYPES_6): Likewise.
32755 (TYPEFY): New define.
32756 (ARGIFY): Likewise.
32757 (internal_syscall0): Likewise.
32758 (internal_syscall1): Likewise.
32759 (internal_syscall2): Likewise.
32760 (internal_syscall3): Likewise.
32761 (internal_syscall4): Likewise.
32762 (internal_syscall5): Likewise.
32763 (internal_syscall6): Likewise.
32764 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32765 (INTERNAL_SYSCALL_NCS): Remove define.
32766 (internal_syscall1): Add define.
32767
32768 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32769
32770 * math/w_remainder_compat.c: Remove duplicate inclusion of
32771 math-svid-compat.h.
32772 * math/w_remainderf_compat.c: Likewise.
32773 * math/w_remainderl_compat.c: Likewise.
32774
32775 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32776
32777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32778
32779 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32780
32781 [BZ #21684]
32782 * math/tgmath.h (__floating_type): Simplify definitions.
32783 (__real_integer_type): New macro.
32784 (__complex_integer_type): Likewise.
32785 (__expr_is_real): Likewise.
32786 (__tgmath_real_type_sub): Update comment to describe handling of
32787 complex types.
32788 (__tgmath_complex_type_sub): New macro.
32789 (__tgmath_complex_type): Likewise.
32790 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32791 (__TGMATH_CF128): Use __expr_is_real.
32792 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32793 __expr_is_real.
32794 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32795 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32796 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32797 integer types.
32798
32799 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32800
32801 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32802 macro.
32803 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32804 alias.
32805 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32806 Likewise.
32807
32808 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32809 nanosleep_not_cancel with __nanosleep_nocancel.
32810 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32811 (__nanosleep_nocancel): New macro.
32812 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32813 function.
32814 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32815 macro.
32816 (__nanosleep_nocancel): New prototype.
32817
32818 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32819 pause_not_cancel with __pause_nocancel.
32820 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32821 (__pause_nocancel): New macro.
32822 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32823 macro.
32824 (__pause_nocancel): New prototype.
32825 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32826
32827 2017-08-22 Martin Sebor <msebor@redhat.com>
32828
32829 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32830 to return a pointer to the same type as the target function.
32831
32832 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32833
32834 [BZ #18822]
32835 [BZ #21986]
32836 * include/printf.h (__printf_fphex): Add attribute_hidden.
32837 (__guess_grouping): New prototype.
32838 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32839 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32840 libc_hidden_proto and libc_hidden_def.
32841 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32842 (__vstrfmon_l): Remove the third argument passed to
32843 __guess_grouping.
32844
32845 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32846
32847 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32848 definition for issignaling that does not rely on __MATH_TG,
32849 since __MATH_TG uses __builtin_types_compatible_p, which is only
32850 available in C mode.
32851 (CFLAGS-test-math-issignaling.cc): New variable.
32852 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32853 * math/test-math-issignaling.cc: New test for C++ implementation
32854 of type-generic issignaling.
32855 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32856 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32857 options of test-math-issignaling on powerpc64le.
32858
32859 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32860
32861 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32862 building libc.a.
32863 (hidden_proto): Likewise.
32864 (hidden_tls_proto): Likewise.
32865 (__hidden_proto): Likewise.
32866
32867 2017-08-22 Florian Weimer <fweimer@redhat.com>
32868
32869 math: Statically link tests of internal functionality.
32870 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32871 atest-exp2.
32872 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32873 (gmp-objs): Remove assignment.
32874 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32875
32876 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32877
32878 [BZ #21987]
32879 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32880 and copy to ...
32881 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32882 ... here.
32883 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32884 ... and here.
32885
32886 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32887 variable definitions above inclusion of ../Rules.
32888
32889 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32890
32891 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32892 case calling __builtin_unreachable.
32893
32894 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32895
32896 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32897 __waitpid_nocancel.
32898 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32899 (__waitpid_nocancel): New macro.
32900 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32901 macro.
32902 (__waitpid_nocancel): Replace macro with a function.
32903 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32904 function.
32905
32906 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32907 __fcntl_nocancel.
32908 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32909 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32910
32911 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32912 __writev_nocancel_nostatus.
32913 (write_call_graph): Likewise.
32914 (write_bb_counts): Likewise.
32915 * resolv/herror.c (herror): Likewise.
32916 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32917 macro.
32918 (__writev_nocancel_nostatus): New macro.
32919 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32920 Remove macro.
32921 (__writev_nocancel_nostatus): New function.
32922
32923 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32924
32925 Revert:
32926 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32927
32928 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32929 building libc.a.
32930 (hidden_proto): Likewise.
32931 (hidden_tls_proto): Likewise.
32932 (__hidden_proto): Likewise.
32933
32934 [BZ #21973]
32935 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32936 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32938 Likewise.
32939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32940 Likewise.
32941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32942 Likewise.
32943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32944 Likewise.
32945 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32946 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32947 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32948 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32949 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32950 GLIBC_2.0 sqrtl symbol.
32951
32952 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32953 [__USE_MISC] (_LIB_VERSION): Likewise.
32954 [__USE_MISC] (struct exception): Likewise.
32955 [__USE_MISC] (matherr): Likewise.
32956 [__USE_MISC] (DOMAIN): Likewise.
32957 [__USE_MISC] (SING): Likewise.
32958 [__USE_MISC] (OVERFLOW): Likewise.
32959 [__USE_MISC] (UNDERFLOW): Likewise.
32960 [__USE_MISC] (TLOSS): Likewise.
32961 [__USE_MISC] (PLOSS): Likewise.
32962 [__USE_MISC] (HUGE): Likewise.
32963 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32964 * math/math-svid-compat.h: New file.
32965 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32966 and matherrl.
32967 * include/math.h [!_ISOMAC] (__matherr): Remove.
32968 * manual/arith.texi (FP Exceptions): Do not document matherr.
32969 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32970 (tests-internal): New variable.
32971 (install-lib): Do not add libieee.a.
32972 (non-lib.a): Likewise.
32973 (extra-objs): Do not add libieee.a and ieee-math.o.
32974 (CPPFLAGS-s_lib_version.c): Remove variable.
32975 ($(objpfx)libieee.a): Remove rule.
32976 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32977 * math/ieee-math.c: Remove.
32978 * math/libm-test-support.c (matherr): Remove.
32979 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32980 and license notices. Include <math-svid-compat.h> and
32981 <shlib-compat.h>.
32982 (matherr): Undefine as macro. Use compat_symbol_reference.
32983 (_LIB_VERSION): Likewise.
32984 * math/test-matherr-2.c: New file.
32985 * math/test-matherr-3.c: Likewise.
32986 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32987 declaration.
32988 (__kernel_standard_f): Likewise.
32989 (__kernel_standard_l): Likewise.
32990 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32991 <math_private.h>. Include <math-svid-compat.h>.
32992 (_LIB_VERSION): Undefine as macro.
32993 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32994 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32995 [LIBM_SVID_COMPAT], use compat_symbol.
32996 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32997 <math_private.h>. Include <math-svid-compat.h>.
32998 (matherr): Undefine as macro.
32999 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33000 compat_symbol.
33001 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33002 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33003 compat_symbol_reference.
33004 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33005 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33006 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33007 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33008 (MATHERR_D): Remove declaration.
33009 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33010 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33011 [LIBM_BUILD] (pmatherrf): Likewise.
33012 [LIBM_BUILD] (pmatherr): Likewise.
33013 [LIBM_BUILD] (pmatherrl): Likewise.
33014 (DOMAIN): Likewise.
33015 (SING): Likewise.
33016 (OVERFLOW): Likewise.
33017 (UNDERFLOW): Likewise.
33018 (TLOSS): Likewise.
33019 (PLOSS): Likewise.
33020 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33021 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33022 compat_symbol.
33023 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33024 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33025 compat_symbol.
33026 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33027 * math/w_acos_compat.c: Likewise.
33028 * math/w_acosf_compat.c: Likewise.
33029 * math/w_acosh_compat.c: Likewise.
33030 * math/w_acoshf_compat.c: Likewise.
33031 * math/w_acoshl_compat.c: Likewise.
33032 * math/w_acosl_compat.c: Likewise.
33033 * math/w_asin_compat.c: Likewise.
33034 * math/w_asinf_compat.c: Likewise.
33035 * math/w_asinl_compat.c: Likewise.
33036 * math/w_atan2_compat.c: Likewise.
33037 * math/w_atan2f_compat.c: Likewise.
33038 * math/w_atan2l_compat.c: Likewise.
33039 * math/w_atanh_compat.c: Likewise.
33040 * math/w_atanhf_compat.c: Likewise.
33041 * math/w_atanhl_compat.c: Likewise.
33042 * math/w_cosh_compat.c: Likewise.
33043 * math/w_coshf_compat.c: Likewise.
33044 * math/w_coshl_compat.c: Likewise.
33045 * math/w_exp10_compat.c: Likewise.
33046 * math/w_exp10f_compat.c: Likewise.
33047 * math/w_exp10l_compat.c: Likewise.
33048 * math/w_exp2_compat.c: Likewise.
33049 * math/w_exp2f_compat.c: Likewise.
33050 * math/w_exp2l_compat.c: Likewise.
33051 * math/w_fmod_compat.c: Likewise.
33052 * math/w_fmodf_compat.c: Likewise.
33053 * math/w_fmodl_compat.c: Likewise.
33054 * math/w_hypot_compat.c: Likewise.
33055 * math/w_hypotf_compat.c: Likewise.
33056 * math/w_hypotl_compat.c: Likewise.
33057 * math/w_j0_compat.c: Likewise.
33058 * math/w_j0f_compat.c: Likewise.
33059 * math/w_j0l_compat.c: Likewise.
33060 * math/w_j1_compat.c: Likewise.
33061 * math/w_j1f_compat.c: Likewise.
33062 * math/w_j1l_compat.c: Likewise.
33063 * math/w_jn_compat.c: Likewise.
33064 * math/w_jnf_compat.c: Likewise.
33065 * math/w_jnl_compat.c: Likewise.
33066 * math/w_lgamma_main.c: Likewise.
33067 * math/w_lgamma_r_compat.c: Likewise.
33068 * math/w_lgammaf_main.c: Likewise.
33069 * math/w_lgammaf_r_compat.c: Likewise.
33070 * math/w_lgammal_main.c: Likewise.
33071 * math/w_lgammal_r_compat.c: Likewise.
33072 * math/w_log10_compat.c: Likewise.
33073 * math/w_log10f_compat.c: Likewise.
33074 * math/w_log10l_compat.c: Likewise.
33075 * math/w_log2_compat.c: Likewise.
33076 * math/w_log2f_compat.c: Likewise.
33077 * math/w_log2l_compat.c: Likewise.
33078 * math/w_log_compat.c: Likewise.
33079 * math/w_logf_compat.c: Likewise.
33080 * math/w_logl_compat.c: Likewise.
33081 * math/w_pow_compat.c: Likewise.
33082 * math/w_powf_compat.c: Likewise.
33083 * math/w_powl_compat.c: Likewise.
33084 * math/w_remainder_compat.c: Likewise.
33085 * math/w_remainderf_compat.c: Likewise.
33086 * math/w_remainderl_compat.c: Likewise.
33087 * math/w_scalb_compat.c: Likewise.
33088 * math/w_scalbf_compat.c: Likewise.
33089 * math/w_scalbl_compat.c: Likewise.
33090 * math/w_sinh_compat.c: Likewise.
33091 * math/w_sinhf_compat.c: Likewise.
33092 * math/w_sinhl_compat.c: Likewise.
33093 * math/w_sqrt_compat.c: Likewise.
33094 * math/w_sqrtf_compat.c: Likewise.
33095 * math/w_sqrtl_compat.c: Likewise.
33096 * math/w_tgamma_compat.c: Likewise.
33097 * math/w_tgammaf_compat.c: Likewise.
33098 * math/w_tgammal_compat.c: Likewise.
33099 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33100 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33101 * sysdeps/ieee754/k_standard.c: Likewise.
33102 * sysdeps/ieee754/k_standardf.c: Likewise.
33103 * sysdeps/ieee754/k_standardl.c: Likewise.
33104 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33105 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33106 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33107 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33108 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33109 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33110 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33111 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33112 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33114 Likewise.
33115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33116 Likewise.
33117 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33118 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33119 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33120 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33121
33122 2017-08-21 Florian Weimer <fweimer@redhat.com>
33123
33124 [BZ #21864]
33125 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33126 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33127 Move before inclusion of ../Rules.
33128
33129 2017-08-21 Florian Weimer <fweimer@redhat.com>
33130
33131 [BZ #21972]
33132 * assert/assert.h (assert): Use static_cast (bool) for C++.
33133 Use the ternary operator in the warning branch for GNU C.
33134 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33135 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33136 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33137 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33138 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33139
33140 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33141
33142 [BZ #18822]
33143 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33144 (__syscall_clock_gettime): Add attribute_hidden.
33145 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33146 (__start_context): Likewise.
33147
33148 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33149
33150 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33151 building libc.a.
33152 (hidden_proto): Likewise.
33153 (hidden_tls_proto): Likewise.
33154 (__hidden_proto): Likewise.
33155
33156 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33157
33158 * include/libc-symbols.h (attribute_hidden): Enable hidden
33159 visibility in libc.a compiled with PIE.
33160
33161 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33162
33163 [BZ #18822]
33164 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33165 Add attribute_hidden.
33166
33167 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33168
33169 [BZ #21864]
33170 * Makerules (all-nonlib): Add $(others-extras).
33171 * catgets/Makefile (others-extras): New.
33172 * elf/Makefile (others-extras): Likewise.
33173 * nss/Makefile (others-extras): Likewise.
33174
33175 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33176
33177 [BZ #18822]
33178 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33179 * elf/dl-open.c: Include <libc-internal.h>.
33180 (__libc_multiple_libcs): Removed.
33181 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33182 <hp-timing.h>.
33183 * include/libc-internal.h (__libc_multiple_libcs): New.
33184 * misc/sbrk.c: Include <libc-internal.h>.
33185 (__libc_multiple_libcs): Removed.
33186
33187 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33188
33189 [BZ #18822]
33190 * grp/initgroups.c (__nss_group_database): Removed.
33191 (__nss_initgroups_database): Likewise.
33192 * nscd/gai.c (__nss_hosts_database): Likewise.
33193 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33194 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33195 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33196 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33197 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33198 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33199 attribute_hidden.
33200 * nss/nsswitch.c (__nss_database_custom): Define only if
33201 USE_NSCD is defined.
33202 (__nss_configure_lookup): Use __nss_database_custom only if
33203 USE_NSCD is defined.
33204 * nss/nsswitch.h (__nss_database_custom): Declare only if
33205 USE_NSCD is defined. Add attribute_hidden.
33206 (__nss_setent): Add attribute_hidden.
33207 (__nss_endent): Likewise.
33208 (__nss_getent_r): Likewise.
33209 (__nss_getent): Likewise.
33210 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33211
33212 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33213
33214 [BZ #18822]
33215 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33216 libc_hidden_proto and libc_hidden_def.
33217
33218 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33219
33220 [BZ #18822]
33221 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33222 Add libc_hidden_proto.
33223 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33224 Add libc_hidden_def.
33225
33226 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33227
33228 [BZ #21974]
33229 * gmon/Makefile (routines): Remove bb_init_func and
33230 bb_exit_func.
33231 (elide-routines.os): Removed.
33232 * gmon/bb_exit_func.c: Likewise.
33233 * gmon/bb_init_func.c: Likewise.
33234 * include/sys/gmon.h (__bb): Likewise.
33235 (__bb_init_func): Likewise.
33236 (__bb_exit_func): Likewise.
33237 * sysdeps/alpha/bb_init_func.S: Likewise.
33238
33239 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33240
33241 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33242 * include/setjmp.h (____longjmp_chk): Here. Add
33243 attribute_hidden.
33244
33245 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33246
33247 [BZ #18822]
33248 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33249 attribute_hidden.
33250 (__strspn_sse2): Likewise.
33251
33252 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33253
33254 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33255 (close_not_cancel_no_status): Likewise.
33256 (__close_nocancel): New macro.
33257 (__close_nocancel_nostatus): Likewise.
33258 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33259 macro.
33260 (close_not_cancel): Likewise.
33261 (close_not_cancel_no_status): Likewise.
33262 (__close_nocancel): New prototype.
33263 (__close_nocancel_nostatus): New function.
33264 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33265 * catgets/open_catalog.c (__open_catalog): Replace
33266 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33267 * gmon/gmon.c (write_gmon): Likewise.
33268 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33269 * intl/loadmsgcat.c (close): Likewise.
33270 * io/ftw.c (open_dir_stream): Likewise.
33271 (ftw_startup): Likewise.
33272 * libio/fileops.c (_IO_file_open): Likewise.
33273 (_IO_file_close_mmap): Likewise.
33274 (_IO_file_close): Likewise.
33275 * libio/iopopen.c (_IO_dup2): Likewise.
33276 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33277 * locale/loadlocale.c (_nl_load_locale): Likewise.
33278 * login/utmp_file.c (pututline_file): Likewise.
33279 (endutent_file): Likewise.
33280 * misc/daemon.c (daemon): Likewise.
33281 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33282 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33283 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33284 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33285 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33286 * nscd/nscd_helper.c (open_socket): Likewise.
33287 (__nscd_open_socket): Likewise.
33288 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33289 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33290 (__nscd_innetgr): Likewise.
33291 * nss/nss_db/db-open.c (internal_setent): Likewise.
33292 * resolv/res-close.c (__res_iclose): Likewise.
33293 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33294 * sysdeps/posix/closedir.c (__closedir): Likewise.
33295 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33296 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33297 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33298 (opendir_tail): Likewise.
33299 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33300 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33301 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33302 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33303 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33304 (gethostid): Likewise.
33305 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33306 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33307 Likewise.
33308 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33309 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33310 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33311 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33312 Likewise.
33313 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33314 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33315 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33316 Likewise.
33317 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33318 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33319 Likewise.
33320 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33321 Likewise.
33322 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33323 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33324 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33325 __close_nocancel.
33326
33327 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33328 (openat_not_cancel_3): Likewise.
33329 (openat64_not_cancel_3): Likewise).
33330 (openat_not_cancel_3): Likewise).
33331 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33332 macro.
33333 (openat_not_cancel_3): Likewise.
33334 (openat64_not_cancel): Likewise.
33335 (openat64_not_cancel_3): Likewise.
33336 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33337 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33338 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33339 __open{64}_nocancel.
33340 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33341 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33342 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33343
33344 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33345
33346 [BZ #18822]
33347 * include/argz.h (__argz_create_sep): New function prototype.
33348 (__argz_append): Likewise.
33349 (__argz_add): Likewise.
33350 (__argz_add_sep): Likewise.
33351 (__argz_delete): Likewise.
33352 (__argz_insert): Likewise.
33353 (__argz_replace): Likewise.
33354 * string/argz.h (__argz_create_sep): Removed.
33355 (__argz_append): Likewise.
33356 (__argz_add): Likewise.
33357 (__argz_add_sep): Likewise.
33358 (__argz_delete): Likewise.
33359 (__argz_insert): Likewise.
33360 (__argz_replace): Likewise.
33361
33362 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33363
33364 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33365 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33366 (GNU_PROPERTY_STACK_SIZE): Likewie.
33367 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33368 (GNU_PROPERTY_LOPROC): Likewise.
33369 (GNU_PROPERTY_HIPROC): Likewise.
33370 (GNU_PROPERTY_LOUSER): Likewise.
33371 (GNU_PROPERTY_HIUSER): Likewise.
33372 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33373 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33374 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33375 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33376 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33377 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33378 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33379 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33380 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33381 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33382 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33383 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33384 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33385 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33386 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33387 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33388 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33389 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33390 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33391 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33392 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33393 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33394 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33395
33396 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33397
33398 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33399 in C++ mode.
33400
33401 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33402
33403 [BZ #21930]
33404 * math/math.h (isinf): Check if in C or C++ mode before using
33405 __builtin_types_compatible_p, since this is a C mode feature.
33406
33407 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33408
33409 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33410 (__write_nocancel): New macro.
33411 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33412 Rewrite as a function prototype.
33413 (write_not_cancel): Remove macro.
33414 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33415 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33416 (write_gmon): Likewise.
33417 * libio/fileops.c (_IO_new_file_write): Likewise.
33418 * login/utmp_file.c (pututline_file): Likewise.
33419 (updwtmp_file): Likewise.
33420 * stdio-common/psiginfo.c (psiginfo): Likewise.
33421 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33422 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33423 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33424 Likewise.
33425 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33426 Likewise.
33427
33428 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33429 (__read_nocancel): New macro.
33430 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33431 __read_nocancel.
33432 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33433 macro.
33434 (__read_nocancel): New prototype.
33435 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33436 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33437 with __read_nocancel.
33438 * intl/loadmsgcat.c (read): Likewise.
33439 * libio/fileops.c (_IO_file_read): Likewise.
33440 * locale/loadlocale.c (_nl_load_locale): Likewise.
33441 * login/utmp_file.c (getutent_r_file): Likewise.
33442 (internal_getut_r): Likewise.
33443 (getutline_r_file): Likewise.
33444 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33445 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33446 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33447 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33448 Likewise.
33449 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33450 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33451 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33452 Likewise.
33453 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33454 Likewise.
33455 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33456 Likewise.
33457 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33458 Likewise.
33459 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33460
33461 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33462
33463 [BZ #21966]
33464 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33465 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33466 usable.
33467
33468 2017-08-17 DJ Delorie <dj@redhat.com>
33469
33470 * bug17079.c: Update to new test harness.
33471 * test-digits-dots.c: Likewise.
33472 * test-netdb.c: Likewise.
33473 * tst-field.c: Likewise.
33474 * tst-nss-getpwent.c: Likewise.
33475 * tst-nss-static.c: Likewise.
33476 * tst-nss-test1.c: Likewise.
33477 * tst-nss-test2.c: Likewise.
33478 * tst-nss-test3.c: Likewise.
33479 * tst-nss-test4.c: Likewise.
33480 * tst-nss-test5.c: Likewise.
33481
33482 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33483
33484 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33485 (open_not_cancel_2): Likewise.
33486 (open_nocancel): New macro.
33487 (open64_nocancel): Likewise.
33488 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33489 (open_not_cancel_2): Likewise.
33490 (__open_nocancel): New prototype.
33491 (__open64_nocancel): Likewise.
33492 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33493 __open_nocancel.
33494 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33495 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33496 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33497 with __open_nocancel.
33498 * csu/check_fds.c (check_one_fd): Likewise.
33499 * gmon/gmon.c (write_gmon): Likewise.
33500 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33501 * intl/loadmsgcat.c (open): Likewise.
33502 * libio/fileops.c (_IO_file_open): Likewise.
33503 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33504 * locale/loadlocale.c (_nl_load_locale): Likewise.
33505 * login/utmp_file.c (setutent_file): Likewise.
33506 * misc/daemon.c (daemon): Likewise.
33507 * nss/nss_db/db-open.c (internal_setent): Likewise.
33508 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33509 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33510 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33511 (__opendir): Likewise.
33512 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33513 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33514 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33515 (gethostid): Likewise.
33516 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33517 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33518 Likewise.
33519 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33520 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33521 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33522 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33523 Likewise.
33524 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33525 Likewise.
33526 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33527 Likewise.
33528 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33529 Likewise.
33530 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33531 Likewise.
33532 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33533 Likewise.
33534 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33535 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33536
33537 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33538
33539 * benchtests/bench-skeleton.c (main): Add support for
33540 latency benchmarking.
33541 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33542
33543 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33544
33545 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33546 the startup object.
33547
33548 2017-08-17 Florian Weimer <fweimer@redhat.com>
33549
33550 * include/sys/socket.h (__opensock): Remove internal_function.
33551 * socket/opensock.c (__opensock): Likewise.
33552 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33553
33554 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33555
33556 [BZ #21944]
33557 * signal/bits/types/__sigval_t.h: New file.
33558 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33559 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33560 and define sigval_t using __sigval_t.
33561 * include/bits/types/__sigval_t.h: New file.
33562 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33563 instead of <bits/types/__sigval_t.h>.
33564 (struct sigevent): Use __sigval_t instead of sigval_t.
33565 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33566 instead of <bits/types/__sigval_t.h>.
33567 (siginfo_t): Use __sigval_t instead of sigval_t.
33568 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33569 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33570 (struct sigevent): Use __sigval_t instead of sigval_t.
33571 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33572 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33573 (siginfo_t): Use __sigval_t instead of sigval_t.
33574 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33575
33576 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33577
33578 * NEWS: Remove "[Add new features here]" for 2.27.
33579
33580 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33581
33582 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33583 libc.so.
33584
33585 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33586
33587 * NEWS: Mention x86-64 FMA optimization.
33588
33589 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33590
33591 [BZ #21912]
33592 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33593 Add e_expf-fma.
33594 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33595 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33596 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33597
33598 2017-08-16 Andreas Schwab <schwab@suse.de>
33599
33600 [BZ #16750]
33601 CVE-2009-5064
33602 * elf/ldd.bash.in: Never run file directly.
33603
33604 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33605
33606 [BZ #21955]
33607 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33608 (L(SP_INF_0)): Likewise.
33609
33610 2017-08-15 Florian Weimer <fweimer@redhat.com>
33611
33612 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33613 run-built-tests.
33614
33615 2017-08-15 Florian Weimer <fweimer@redhat.com>
33616
33617 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33618 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33619 BROKEN_THREAD_SIGNALS code.
33620 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33621 request_list): Remove caller_pid member used for
33622 BROKEN_THREAD_SIGNALS.
33623 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33624 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33625 Remove BROKEN_THREAD_SIGNALS support.
33626 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33627 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33628
33629 2017-08-15 Florian Weimer <fweimer@redhat.com>
33630
33631 * gmon/Makefile (tests): Add tst-gmon.
33632 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33633 Set.
33634 (tests-special): Add tst-gmon-prof.out.
33635 (tst-gmon.out): Depend on clean-tst-gmon-data.
33636 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33637 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33638 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33639 startup object.
33640 * aclocal.m4 (GPROF): Set and substitute.
33641 * config.amke.in (GPROF): Set.
33642 * configure: Regenerate.
33643
33644 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33645
33646 * elf/elf.h A (NT_PPC_TAR): New macro.
33647 (NT_PPC_PPR): Likewise.
33648 (NT_PPC_DSCR): Likewise.
33649 (NT_PPC_EBB): Likewise.
33650 (NT_PPC_PMU): Likewise.
33651 (NT_PPC_TM_CGPR): Likewise.
33652 (NT_PPC_TM_CFPR): Likewise.
33653 (NT_PPC_TM_CVMX): Likewise.
33654 (NT_PPC_TM_CVSX): Likewise.
33655 (NT_PPC_TM_SPR): Likewise.
33656 (NT_PPC_TM_CTAR): Likewise.
33657 (NT_PPC_TM_CPPR): Likewise.
33658 (NT_PPC_TM_CDSCR): Likewise.
33659
33660 2017-08-15 Florian Weimer <fweimer@redhat.com>
33661
33662 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33663 regparm (2) instead of internal_function.
33664 (_MCOUNT_DECL): Adjust.
33665
33666 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33667
33668 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33669 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33670
33671 2017-08-14 Joseph Myers <joseph@codesourcery.com>
33672
33673 * conform/data/sys/wait.h-data (si_value): Do not expect for
33674 XPG42.
33675
33676 2017-08-14 Florian Weimer <fweimer@redhat.com>
33677
33678 [BZ #21962]
33679 NSS: Create stubs for accidentally exported lookup functions.
33680 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33681 Remove declaration.
33682 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33683 (ether_hostton): Call __nss_ethers_lookup2 instead.
33684 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33685 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33686 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33687 (setup): Call __nss_netgroup_lookup2 instead.
33688 * nss/Makefile (routines): Add compat-lookup.
33689 * nss/Versions (GLIBC_2.27): Add symbol version.
33690 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33691 (DB_COMPAT_FCT): Remove.
33692 * nss/compat-lookup.c: New file.
33693 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33694 from databases.def.
33695 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33696 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33697 (netname2user): Call __nss_publickey_lookup2 instead.
33698 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33699 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33700 instead.
33701
33702 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33703 Sergei Trofimovich <slyfox@inbox.ru>
33704
33705 [BZ #21908]
33706 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33707 Rename to MMAP2_PAGE_UNIT.
33708 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33709 __OFF_T_MATCHES_OFF64_T is not defined.
33710 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33711 uint64_t.
33712 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33713 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33714
33715 2017-08-14 Florian Weimer <fweimer@redhat.com>
33716
33717 i386: Do not set internal_function.
33718 * config.h.in (USE_REGPARMS, internal_function): Remove.
33719 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33720 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33721
33722 2017-08-14 Florian Weimer <fweimer@redhat.com>
33723
33724 * elf/dl-init.c (_dl_init): Remove internal_function.
33725 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33726 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33727
33728 2017-08-14 Florian Weimer <fweimer@redhat.com>
33729
33730 * elf/rtld.c (_dl_start): Remove internal_function.
33731 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33732 _dl_start.
33733
33734 2017-08-14 Florian Weimer <fweimer@redhat.com>
33735
33736 * elf/dl-fini.c (_dl_fini): Remove internal_function
33737 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33738
33739 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33740
33741 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
33742 (bit_cpu_SHSTK): Likewise.
33743 (index_cpu_IBT): Likewise.
33744 (index_cpu_SHSTK): Likewise.
33745 (reg_IBT): Likewise.
33746 (reg_SHSTK): Likewise.
33747 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33748 Handle index_cpu_IBT and index_cpu_SHSTK.
33749
33750 2017-08-14 Mike FABIAN <mfabian@redhat.com>
33751
33752 [BZ #19982]
33753 * po/fr.po: Fix spelling mistake.
33754
33755 2017-08-13 Florian Weimer <fweimer@redhat.com>
33756
33757 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33758 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33759 (_dl_catch_error, _dl_receive_error): Likewise.
33760 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33761 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33762 (_dl_deallocate_tls): Likewise.
33763 * include/dlfcn.h (_dl_addr): Likewise.
33764 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33765 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33766 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33767 Likewise.
33768
33769 2017-08-13 Florian Weimer <fweimer@redhat.com>
33770
33771 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33772 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33773 internal_function.
33774 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33775
33776 2017-08-13 Florian Weimer <fweimer@redhat.com>
33777
33778 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33779 internal_function.
33780 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33781 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33782 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33783 internal_function from _dl_make_stack_executable_hook member.
33784 (_dl_make_stack_executable): Remove internal_function.
33785 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33786 Likewise.
33787 * sysdeps/unix/sysv/linux/dl-execstack.c
33788 (_dl_make_stack_executable): Likewise.
33789
33790 2017-08-13 Florian Weimer <fweimer@redhat.com>
33791
33792 * sysdeps/unix/sysv/linux/netlinkaccess.h
33793 (__netlink_assert_response): Remove internal_function.
33794 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33795 (__netlink_assert_response): Likewise.
33796
33797 2017-08-13 Florian Weimer <fweimer@redhat.com>
33798
33799 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33800 internal_function.
33801 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33802
33803 2017-08-13 Florian Weimer <fweimer@redhat.com>
33804
33805 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33806 internal_function.
33807 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33808 * inet/netgroup.h (__internal_setnetgrent)
33809 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33810 * inet/getnetgrent_r.c (__internal_setnetgrent)
33811 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33812 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33813 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33814 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33815 * nss/nsswitch.h (db_lookup_function): Likewise.
33816
33817 2017-08-13 Florian Weimer <fweimer@redhat.com>
33818
33819 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33820 Remove internal_function.
33821 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33822 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33823 message argument on the stack.
33824 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33825 Likeweise.
33826
33827 2017-08-12 Mike FABIAN <mfabian@redhat.com>
33828
33829 Adapt test case data to the changes in the thousands
33830 separators.
33831
33832 [BZ #20756]
33833 * localedata/tst-langinfo.sh: Adapt test case data.
33834 * stdlib/tst-strfmon_l.c: Likewise.
33835 * stdlib/tst-strtod4.c: Likewise.
33836 * stdlib/tst-strtod5i.c: Likewise.
33837
33838 2017-08-11 Florian Weimer <fweimer@redhat.com>
33839
33840 [BZ #21242]
33841 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33842 Suppress pedantic warning resulting from statement expression.
33843 (__ASSERT_FUNCTION): Add missing __extension__.
33844
33845 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33846
33847 * benchtests/bench-memmove-large.c: Print output in JSON
33848 format.
33849 * benchtests/bench-memmove.c: Likewise.
33850
33851 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33852 * benchtests/bench-memchr.c (do_one_test): Likewise.
33853 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33854 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33855 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33856 * benchtests/bench-memmove.c (do_one_test): Likewise.
33857 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33858 * benchtests/bench-memset.c (do_one_test): Likewise.
33859 * benchtests/bench-string.h (test_init): Remove memsets.
33860
33861 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33862
33863 * manual/lang.texi
33864 (Computing the Width of an Integer Data Type): Rename section to
33865 "Width of an Integer Type". Remove inaccurate statement regarding
33866 lack of C language facilities for determining width of integer
33867 types, and reorder content to improve flow and context of
33868 discussion.
33869
33870 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33871
33872 * lang.texi (va_copy): Change standard from ISO to C99.
33873 (__va_copy): Add standard and header annotation.
33874 Update description for clarity of origins and current use.
33875
33876 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33877
33878 [BZ #21941]
33879 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33880 xssqrtqp requires operands to be in Vector Registers
33881 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33882 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33883 (__ieee754_sqrtf128): Likewise.
33884
33885 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33886
33887 * sysdeps/aarch64/memcmp.S (memcmp):
33888 Rewrite of optimized memcmp.
33889
33890 2017-08-10 Florian Weimer <fweimer@redhat.com>
33891
33892 Introduce ld.so exceptions.
33893 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33894 (_dl_exception_create, _dl_exception_create_format)
33895 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33896 (_dl_catch_exception): Declare.
33897 (_dl_catch_error): Update comment.
33898 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33899 errstring, malloced members with exception member.
33900 (_dl_out_of_memory): Remove.
33901 (fatal_error): New function, extracted from _dl_signal_error.
33902 (_dl_signal_exception, _dl_signal_cexception): New functions.
33903 (_dl_signal_error): Call _dl_exception_create to allocate an
33904 exception object.
33905 (_dl_catch_exception): New function, based on _dl_catch_error.
33906 (_dl_catch_error): Implement using _dl_catch_exception.
33907 * elf/dl-exception.c: New file.
33908 * elf/Makefile (dl-routines): Add dl-exception.
33909 (elide-routines.os): Likewise.
33910 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33911 _dl_exception_create_format, _dl_exception_free.
33912 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33913 _dl_signal_exception.
33914 * elf/dl-lookup.c (make_string): Remove.
33915 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33916 _dl_signal_cexception, _dl_exception_free.
33917 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33918 _dl_signal_exception.
33919 * elf/dl-sym.c (do_sym): Likewise.
33920 * elf/dl-version.c (make_string): Remove.
33921 (match_symbol): Use _dl_exception_create_format,
33922 _dl_signal_cexception, _dl_exception_free.
33923 (_dl_check_map_versions): Likewise.
33924 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33925 _dl_catch_exception.
33926 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33927 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33928 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33929 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33930 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33931 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33932 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33933 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33934 Likewise.
33935 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33937 (ld.so): Likewise.
33938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33939 (ld.so): Likewise.
33940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33941 Likewise.
33942 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33943 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33944 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33945 Likewise.
33946 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33947 Likewise.
33948 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33949
33950 2017-08-10 Florian Weimer <fweimer@redhat.com>
33951
33952 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33953 attribute_hidden, internal_function.
33954 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33955 internal_function.
33956
33957 2017-08-10 Florian Weimer <fweimer@redhat.com>
33958
33959 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33960 function which calls __builtin_unreachable.
33961
33962 2017-08-10 Mike FABIAN <mfabian@redhat.com>
33963
33964 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33965 Indian monetary formatting
33966 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33967 test cases.
33968
33969 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33970
33971 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33972 Fix typo in comment.
33973
33974 [BZ #21928]
33975 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33976 PTRACE_SEIZE_DEVEL): Remove.
33977 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33978 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33979 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33980 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33981 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33982
33983 2017-08-09 Joseph Myers <joseph@codesourcery.com>
33984
33985 * posix/bits/types.h (__qaddr_t): Remove.
33986
33987 [BZ #21457]
33988 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33989 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33990 __glibc_reserved1.
33991 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33992 (ucontext_t): Use __ctx with uc_flags.
33993 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33994 (__ctxt): Likewise.
33995 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33996 __glibc_reserved1.
33997 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33998 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33999 __glibc_reserved1.
34000 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34001 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34002 __glibc_reserved1.
34003 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34004 macro.
34005 (ucontext_t): Use __ctx with uc_flags.
34006 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34007 (ucontext_t): Use __ctx with uc_flags.
34008 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34009 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34010 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34011 (ucontext_t): Use __ctx with uc_flags.
34012 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34013 undefine further down.
34014 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34015 __glibc_reserved1.
34016 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34017 undefine further down.
34018 (ucontext_t): Use __ctx with uc_flags.
34019 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34020 undefine further down.
34021 (ucontext_t): Use __ctx with uc_flags.
34022 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34023 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34024 Rename uc_pad to __glibc_reserved1.
34025 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34026 undefine further down.
34027 (ucontext_t): Use __ctx with uc_flags.
34028 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34029 further down.
34030 (ucontext_t): Use __ctx with uc_flags.
34031 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34032 __ctx with uc_flags.
34033 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34034 (ucontext_t): Use __ctx with uc_flags.
34035 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34036 __ctx with uc_flags.
34037
34038 2017-08-09 Florian Weimer <fweimer@redhat.com>
34039
34040 [BZ #21932]
34041 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34042 before early return.
34043
34044 2017-08-09 Andreas Schwab <schwab@suse.de>
34045
34046 [BZ #21041]
34047 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34048 renamed alias.
34049
34050 [BZ #21041]
34051 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34052 tst-compat-forwarder.
34053 (modules-names): Add tst-compat-forwarder-mod.
34054 ($(objpfx)tst-compat-forwarder): Depend on
34055 $(objpfx)tst-compat-forwarder-mod.so.
34056 * nptl/tst-compat-forwarder.c: New file.
34057 * nptl/tst-compat-forwarder-mod.c: New file.
34058
34059 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34060
34061 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34062 comments.
34063
34064 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34065 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34066 memcpy_falkor.
34067 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34068 Bump.
34069 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34070 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34071 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34072 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34073 Add falkor.
34074 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34075 New macro.
34076
34077 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34078
34079 [BZ #759]
34080 * manual/setjmp.texi (getcontex): Document uc_stack value
34081 compatibility differences.
34082
34083 2017-08-08 Joseph Myers <joseph@codesourcery.com>
34084
34085 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34086 (old_malloc_hook): Likewise.
34087 (old_memalign_hook): Likewise.
34088 (old_realloc_hook): Likewise.
34089 (struct hdr): Likewise.
34090 (flood): Likewise.
34091 (freehook): Likewise.
34092 (mallochook): Likewise.
34093 (memalignhook): Likewise.
34094 (reallochook): Likewise.
34095 (mprobe): Likewise.
34096 * malloc/mtrace.c (mallwatch): Likewise.
34097 (tr_old_free_hook): Likewise.
34098 (tr_old_malloc_hook): Likewise.
34099 (tr_old_realloc_hook): Likewise.
34100 (tr_old_memalign_hook): Likewise.
34101 (tr_where): Likewise.
34102 (lock_and_info): Likewise.
34103 (tr_freehook): Likewise.
34104 (tr_mallochook): Likewise.
34105 (tr_reallochook): Likewise.
34106 (tr_memalignhook): Likewise.
34107 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34108 * misc/mmap.c (__mmap): Likewise.
34109 * misc/mmap64.c (__mmap64): Likewise.
34110 * misc/mprotect.c (__mprotect): Likewise.
34111 * misc/msync.c (msync): Likewise.
34112 * misc/munmap.c (__munmap): Likewise.
34113 * posix/posix_madvise.c (posix_madvise): Likewise.
34114 * socket/send.c (__send): Likewise.
34115 * socket/sendto.c (__sendto): Likewise.
34116 * socket/setsockopt.c (__setsockopt): Likewise.
34117 * string/memcmp.c (__ptr_t): Remove macro.
34118 (MEMCMP): Use void * instead of ptr_t.
34119 * string/memrchr.c (__ptr_t): Remove macro.
34120 (__memrchr): Use void * instead of ptr_t.
34121 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34122 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34123 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34124 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34125 * sysdeps/mach/msync.c (msync): Likewise.
34126 * sysdeps/mach/munmap.c (__munmap): Likewise.
34127 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34128 Likewise.
34129 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34130 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34131 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34132 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34133 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34134 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34135 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34136 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34137 Likewise.
34138 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34139 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34140 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34141 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34142 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34143 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34144 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34145 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34146 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34147 Likewise.
34148 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34149 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34150 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34151 (MEMCMP): Use void * instead of ptr_t.
34152 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34153 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34154
34155 2017-08-08 Florian Weimer <fweimer@redhat.com>
34156
34157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34158 return statement.
34159
34160 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34161
34162 [BZ #21913]
34163 * csu/libc-tls.c: Include <startup.h> first.
34164 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34165 * elf/dl-tunables.c: Include <startup.h> first.
34166 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34167 * sysdeps/generic/startup.h: New file.
34168 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34169 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34170 (I386_USE_SYSENTER): New. Defined to 0.
34171
34172 2017-08-08 Andreas Schwab <schwab@suse.de>
34173
34174 [BZ #21041]
34175 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34176 * nptl/pt-system.c (system): Likewise.
34177
34178 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34179
34180 [BZ #21780]
34181 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34182 EOPNOTSUPP.
34183 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34184 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34185 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34186 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34187 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34188 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34189 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34190
34191 2017-08-07 Joseph Myers <joseph@codesourcery.com>
34192
34193 [BZ #21899]
34194 * bits/sigaction.h (struct sigaction): Define sa_handler and
34195 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34196 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34197 [__USE_XOPEN_EXTENDED].
34198 (SA_RESTART): Likewise.
34199 (SA_NODEFER): Likewise.
34200 (SA_RESETHAND): Likewise.
34201 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34202 (struct sigaction): Define sa_handler and sa_sigaction using union
34203 also for [__USE_XOPEN_EXTENDED].
34204 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34205 [__USE_XOPEN_EXTENDED].
34206 (SA_RESTART): Likewise.
34207 (SA_NODEFER): Likewise.
34208 (SA_RESETHAND): Likewise.
34209 * sysdeps/unix/sysv/linux/bits/sigaction.h
34210 (struct sigaction): Define sa_handler and sa_sigaction using union
34211 also for [__USE_XOPEN_EXTENDED].
34212 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34213 [__USE_XOPEN_EXTENDED].
34214 (SA_RESTART): Likewise.
34215 (SA_NODEFER): Likewise.
34216 (SA_RESETHAND): Likewise.
34217 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34218 (struct sigaction): Define sa_handler and sa_sigaction using union
34219 also for [__USE_XOPEN_EXTENDED].
34220 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34221 [__USE_XOPEN_EXTENDED].
34222 (SA_RESTART): Likewise.
34223 (SA_NODEFER): Likewise.
34224 (SA_RESETHAND): Likewise.
34225 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34226 (struct sigaction): Define sa_handler and sa_sigaction using union
34227 also for [__USE_XOPEN_EXTENDED].
34228 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34229 [__USE_XOPEN_EXTENDED].
34230 (SA_RESTART): Likewise.
34231 (SA_NODEFER): Likewise.
34232 (SA_RESETHAND): Likewise.
34233 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34234 (struct sigaction): Define sa_handler and sa_sigaction using union
34235 also for [__USE_XOPEN_EXTENDED].
34236 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34237 [__USE_XOPEN_EXTENDED].
34238 (SA_RESTART): Likewise.
34239 (SA_NODEFER): Likewise.
34240 (SA_RESETHAND): Likewise.
34241 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34242 (struct sigaction): Define sa_handler and sa_sigaction using union
34243 also for [__USE_XOPEN_EXTENDED].
34244 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34245 [__USE_XOPEN_EXTENDED].
34246 (SA_RESTART): Likewise.
34247 (SA_NODEFER): Likewise.
34248 (SA_RESETHAND): Likewise.
34249 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34250 (struct sigaction): Define sa_handler and sa_sigaction using union
34251 also for [__USE_XOPEN_EXTENDED].
34252 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34253 [__USE_XOPEN_EXTENDED].
34254 (SA_RESTART): Likewise.
34255 (SA_NODEFER): Likewise. Define directly rather than as alias.
34256 (SA_RESETHAND): Likewise.
34257 (SA_INTERRUPT): Define only for [__USE_MISC].
34258 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34259 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34260 [__USE_MISC].
34261 (SA_STACK): Define only for [__USE_MISC].
34262 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34263 (struct sigaction): Define sa_handler and sa_sigaction using union
34264 also for [__USE_XOPEN_EXTENDED].
34265 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34266 [__USE_XOPEN_EXTENDED].
34267 (SA_RESTART): Likewise.
34268 (SA_NODEFER): Likewise.
34269 (SA_RESETHAND): Likewise.
34270 (SA_NOPTRACE): Define only for [__USE_MISC].
34271
34272 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34273 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34274 (struct catalog_info): Likewise.
34275 * inet/htontest.c (lo): Likewise.
34276 (foo): Likewise.
34277 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34278 * inet/inet_net.c (inet_network): Likewise.
34279 * inet/inet_netof.c (inet_netof): Likewise.
34280 * inet/rcmd.c (__ivaliduser): Likewise.
34281 (iruserok): Likewise.
34282 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34283 * locale/programs/locale-spec.c (locale_special): Likewise.
34284 * nis/nis_findserv.c (struct findserv_req): Likewise.
34285 (__nis_findfastest_with_timeout): Likewise.
34286 * nss/test-netdb.c (test_network): Likewise.
34287 * resolv/inet_neta.c (inet_neta): Likewise.
34288 * resolv/ns_date.c (ns_datetosecs): Likewise.
34289 (SECS_PER_DAY): Likewise.
34290 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34291 Likewise.
34292 * resolv/res_comp.c (__putlong): Likewise.
34293 (__putshort): Likewise.
34294 (_getlong): Likewise.
34295 (_getshort): Likewise.
34296 * resolv/res_debug.c (p_time): Likewise.
34297 (precsize_ntoa): Likewise.
34298 (precsize_aton): Likewise.
34299 (latlon2ul): Likewise.
34300 (loc_aton): Likewise.
34301 (loc_ntoa): Likewise.
34302 * resolv/res_hconf.c (struct netaddr): Likewise.
34303 (_res_hconf_reorder_addrs): Likewise.
34304 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34305 (clnttcp_control): Likewise.
34306 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34307 (clntudp_control): Likewise.
34308 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34309 (clntunix_control): Likewise.
34310 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34311 * sunrpc/rpc/auth.h (union des_block): Likewise.
34312 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34313 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34314 (xdrrec_create): Likewise.
34315 (xdrrec_endofrecord): Likewise.
34316 (flush_out): Likewise.
34317 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34318 (xdrstdio_putlong): Likewise.
34319 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34320 Likewise.
34321
34322 * misc/sys/cdefs.h (__long_double_t): Remove.
34323 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34324 instead of __long_double_t,
34325 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34326
34327 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34328
34329 * benchtests/scripts/compare_strings.py: Avoid display error when
34330 running on a text terminal.
34331
34332 * benchtests/scripts/compare_strings.py (main): Add an
34333 optional -base option.
34334 (process_results): New argument base_func.
34335
34336 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34337 hardcoding memcpy.
34338 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34339 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34340
34341 2017-08-07 Andreas Schwab <schwab@suse.de>
34342
34343 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34344 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34345 * intl/Makefile ($(objpfx)tst-gettext.out)
34346 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34347 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34348 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34349 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34350 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34351 * posix/Makefile ($(objpfx)globtest.out)
34352 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34353 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34354 ($(objpfx)tst-printf.out): Likewise.
34355 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34356 ($(objpfx)tst-setcontext3.out): Likewise.
34357
34358 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34359
34360 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34361 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34362 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34363 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34364 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34365 and mptan-fma.
34366 (CFLAGS-doasin-fma.c): New.
34367 (CFLAGS-dosincos-fma.c): Likewise.
34368 (CFLAGS-e_asin-fma.c): Likewise.
34369 (CFLAGS-e_atan2-fma.c): Likewise.
34370 (CFLAGS-e_exp-fma.c): Likewise.
34371 (CFLAGS-e_log-fma.c): Likewise.
34372 (CFLAGS-e_pow-fma.c): Likewise.
34373 (CFLAGS-halfulp-fma.c): Likewise.
34374 (CFLAGS-mpa-fma.c): Likewise.
34375 (CFLAGS-mpatan-fma.c): Likewise.
34376 (CFLAGS-mpatan2-fma.c): Likewise.
34377 (CFLAGS-mpexp-fma.c): Likewise.
34378 (CFLAGS-mplog-fma.c): Likewise.
34379 (CFLAGS-mpsqrt-fma.c): Likewise.
34380 (CFLAGS-mptan-fma.c): Likewise.
34381 (CFLAGS-s_atan-fma.c): Likewise.
34382 (CFLAGS-sincos32-fma.c): Likewise.
34383 (CFLAGS-slowexp-fma.c): Likewise.
34384 (CFLAGS-slowpow-fma.c): Likewise.
34385 (CFLAGS-s_sin-fma.c): Likewise.
34386 (CFLAGS-s_tan-fma.c): Likewise.
34387 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34388 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34389 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34390 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34391 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34392 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34393 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34394 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34395 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34396 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34397 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34398 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34399 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34400 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34401 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34402 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34403 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34404 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34405 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34406 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34407 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34408 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34409 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34410 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34411 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34412 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34413 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34414 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34415 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34416 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34417 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34418
34419 2017-08-04 Joseph Myers <joseph@codesourcery.com>
34420
34421 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34422 (min_of_type_f): New macro.
34423 (min_of_type_): Likewise.
34424 (min_of_type_l): Likewise.
34425 (min_of_type_f128): Likewise.
34426 (min_of_type): Define using __MATH_TG and taking an expression
34427 argument.
34428 (math_check_force_underflow): Pass expression instead of type to
34429 min_of_type.
34430 (math_check_force_underflow_nonneg): Likewise.
34431
34432 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34433
34434 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34435 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34436 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34437
34438 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34439
34440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34441 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34442 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34443 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34444 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34445 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34446 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34447 memmove_chk-nonshared and memset_chk-nonshared
34448 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34449 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34450 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34451 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34452 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34453 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34454 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34455 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34456 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34457 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34458 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34459 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34460 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34461 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34462 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34463 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34464 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34465 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34466 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34467 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34468 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34469 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34470 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34471 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34472 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34473 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34474 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34475 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34476 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34477 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34478 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34479 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34480 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34481 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34482 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34483 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34484 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34485 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34486 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34487 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34488 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34489 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34490 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34491 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34492 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34493 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34494 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34495 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34496 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34497 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34498 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34499 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34500 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34501 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34502 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34503 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34504 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34505 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34506 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34507 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34508 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34509 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34510 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34511 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34512 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34513 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34514 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34515 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34516 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34517 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34518 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34519 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34520 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34521 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34522 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34523 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34524 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34525 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34526 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34527 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34528 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34529 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34530 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34531 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34532 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34533 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34534 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34535 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34536 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34537 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34538 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34539 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34540 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34541 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34542 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34543 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34544 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34545 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34546 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34547 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34548 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34549 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34550 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34551 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34552 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34553 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34554 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34555 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34556
34557 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34558
34559 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34560 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34561 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34562 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34563 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34564 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34565 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34566 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34567 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34568 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34569 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34570 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34571 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34572 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34573 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34574 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34575 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34576 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34577 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34578 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34579 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34580 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34581 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34582 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34583 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34584 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34585 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34586 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34587 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34588 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34589 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34590 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34591 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34592 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34593 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34594 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34595 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34596 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34597 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34598 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34599 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34600 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34601 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34602 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34603 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34604 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34605 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34606 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34607 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34608 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34609 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34610 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34611 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34612 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34613 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34614 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34615 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34616 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34617 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34618 ...
34619 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34620 Don't include <sysdep.h> nor <init-arch.h>.
34621 (_ZGVbN2v_cos): Removed.
34622 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34623 ...
34624 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34625 Don't include <sysdep.h> nor <init-arch.h>.
34626 (_ZGVdN4v_cos): Removed.
34627 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34628 ...
34629 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34630 Don't include <sysdep.h> nor <init-arch.h>.
34631 (_ZGVeN8v_cos): Removed.
34632 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34633 ...
34634 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34635 Don't include <sysdep.h> nor <init-arch.h>.
34636 (_ZGVbN2v_exp): Removed.
34637 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34638 ...
34639 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34640 Don't include <sysdep.h> nor <init-arch.h>.
34641 (_ZGVdN4v_exp): Removed.
34642 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34643 ...
34644 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34645 Don't include <sysdep.h> nor <init-arch.h>.
34646 (_ZGVeN8v_exp): Removed.
34647 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34648 ...
34649 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34650 Don't include <sysdep.h> nor <init-arch.h>.
34651 (_ZGVbN2v_log): Removed.
34652 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34653 ...
34654 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34655 Don't include <sysdep.h> nor <init-arch.h>.
34656 (_ZGVdN4v_log): Removed.
34657 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34658 ...
34659 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34660 Don't include <sysdep.h> nor <init-arch.h>.
34661 (_ZGVeN8v_log): Removed.
34662 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34663 ...
34664 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34665 Don't include <sysdep.h> nor <init-arch.h>.
34666 (_ZGVbN2vv_pow): Removed.
34667 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34668 ...
34669 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34670 Don't include <sysdep.h> nor <init-arch.h>.
34671 (_ZGVdN4vv_pow): Removed.
34672 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34673 ...
34674 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34675 Don't include <sysdep.h> nor <init-arch.h>.
34676 (_ZGVeN8vv_pow): Removed.
34677 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34678 ...
34679 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34680 Don't include <sysdep.h> nor <init-arch.h>.
34681 (_ZGVbN2v_sin): Removed.
34682 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34683 ...
34684 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34685 Don't include <sysdep.h> nor <init-arch.h>.
34686 (_ZGVbN4v_sin): Removed.
34687 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34688 ...
34689 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34690 Don't include <sysdep.h> nor <init-arch.h>.
34691 (_ZGVbN8v_sin): Removed.
34692 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34693 ...
34694 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34695 Don't include <sysdep.h> nor <init-arch.h>.
34696 (_ZGVbN2vvv_sincos): Removed.
34697 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34698 ...
34699 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34700 Don't include <sysdep.h> nor <init-arch.h>.
34701 (_ZGVdN4vvv_sincos): Removed.
34702 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34703 ...
34704 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34705 Don't include <sysdep.h> nor <init-arch.h>.
34706 (_ZGVeN8vvv_sincos): Removed.
34707 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34708 ...
34709 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34710 Don't include <sysdep.h> nor <init-arch.h>.
34711 (_ZGVeN16v_cosf): Removed.
34712 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34713 ...
34714 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34715 Don't include <sysdep.h> nor <init-arch.h>.
34716 (_ZGVbN4v_cosf): Removed.
34717 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34718 ...
34719 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34720 Don't include <sysdep.h> nor <init-arch.h>.
34721 (_ZGVdN8v_cosf): Removed.
34722 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34723 ...
34724 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34725 Don't include <sysdep.h> nor <init-arch.h>.
34726 (_ZGVeN16v_expf): Removed.
34727 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34728 ...
34729 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34730 Don't include <sysdep.h> nor <init-arch.h>.
34731 (_ZGVbN4v_expf): Removed.
34732 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34733 ...
34734 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34735 Don't include <sysdep.h> nor <init-arch.h>.
34736 (_ZGVdN8v_expf): Removed.
34737 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34738 ...
34739 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34740 Don't include <sysdep.h> nor <init-arch.h>.
34741 (_ZGVeN16v_logf): Removed.
34742 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34743 ...
34744 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34745 Don't include <sysdep.h> nor <init-arch.h>.
34746 (_ZGVbN4v_logf): Removed.
34747 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34748 ...
34749 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34750 Don't include <sysdep.h> nor <init-arch.h>.
34751 (_ZGVdN8v_logf): Removed.
34752 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34753 ...
34754 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34755 Don't include <sysdep.h> nor <init-arch.h>.
34756 (_ZGVeN16vv_powf): Removed.
34757 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34758 ...
34759 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34760 Don't include <sysdep.h> nor <init-arch.h>.
34761 (_ZGVbN4vv_powf): Removed.
34762 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34763 ...
34764 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34765 Don't include <sysdep.h> nor <init-arch.h>.
34766 (_ZGVdN8vv_powf): Removed.
34767 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34768 ...
34769 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34770 Don't include <sysdep.h> nor <init-arch.h>.
34771 (_ZGVeN16vvv_sincosf): Removed.
34772 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34773 ...
34774 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34775 Don't include <sysdep.h> nor <init-arch.h>.
34776 (_ZGVbN4vvv_sincosf): Removed.
34777 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34778 ...
34779 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34780 Don't include <sysdep.h> nor <init-arch.h>.
34781 (_ZGVdN8vvv_sincosf): Removed.
34782 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34783 ...
34784 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34785 Don't include <sysdep.h> nor <init-arch.h>.
34786 (_ZGVeN16v_sinf): Removed.
34787 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34788 ...
34789 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34790 Don't include <sysdep.h> nor <init-arch.h>.
34791 (_ZGVbN4v_sinf): Removed.
34792 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34793 ...
34794 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34795 Don't include <sysdep.h> nor <init-arch.h>.
34796 (_ZGVdN8v_sinf): Removed.
34797
34798 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34799
34800 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34801 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34802 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34803 s_rint-sse4_1 and s_rintf-sse4_1.
34804 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34805 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34806 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34807 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34808 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34809 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34810 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34811 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34812 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34813 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34814 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34815 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34816 (__ceil): Removed.
34817 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34818 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34819 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34820 (__ceilf): Removed.
34821 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34822 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34823 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34824 (__floor): Removed.
34825 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34826 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34827 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34828 (__floorf): Removed.
34829 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34830 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34831 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34832 (__nearbyint): Removed.
34833 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34834 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34835 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34836 (__nearbyintf): Removed.
34837 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34838 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34839 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34840 (__rint): Removed.
34841 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34842 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34843 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34844 (__rintf): Removed.
34845
34846 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34847
34848 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34849 SHARED. Avoid dynamic relocation against main in static PIE.
34850
34851 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34852
34853 [BZ #21815]
34854 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34855 (LDFLAGS-tst-prelink): Likewise.
34856
34857 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34858
34859 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34860 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34861 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34862 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34863 (INTERNAL_SYSCALL_NCS): Likewise.
34864 (LOADARGS_1): Likewise.
34865 (LOADARGS_5): Likewise.
34866 (RESTOREARGS_1): Likewise.
34867 (RESTOREARGS_5): Likewise.
34868
34869 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34870
34871 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34872 (MEMPCPY_SYMBOL): Likewise.
34873 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34874 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34875 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34876 in libc.a.
34877 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34878 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34879 Likewise.
34880 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34881 (__hidden_ver1): Don't use in libc.a.
34882 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34883 (__mempcpy): Don't create a weak alias in libc.a.
34884 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34885 libc.a.
34886 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34887 (__hidden_ver1): Don't use in libc.a.
34888
34889 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34890
34891 * config.make.in (have-insert): New.
34892 * configure.ac (libc_cv_insert): New. Set to yes if linker
34893 supports INSERT in linker script.
34894 (AC_SUBST(libc_cv_insert): New.
34895 * configure: Regenerated.
34896 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34897 if $(have-insert) == yes.
34898
34899 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34900
34901 * elf/Makefile (tests): Add vismain only if
34902 $(have-protected-data) == yes.
34903 (tests-pie): Likewise.
34904
34905 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34906
34907 [BZ #21871]
34908 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34909 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34910
34911 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34912
34913 [BZ #21790]
34914 * sysdeps/i386/i586/memset.S
34915 (__memset_zero_constant_len_parameter): Removed.
34916 * sysdeps/i386/i686/memset.S
34917 (__memset_zero_constant_len_parameter): Likewise.
34918 * sysdeps/i386/i686/multiarch/memset_chk.S
34919 (__memset_zero_constant_len_parameter): Likewise.
34920 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34921 Likewise.
34922
34923 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34924
34925 * stdlib/getentropy.c (getentropy): Change return type to int.
34926
34927 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34928
34929 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34930
34931 2017-08-03 Joseph Myers <joseph@codesourcery.com>
34932
34933 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34934 u_intN_t.
34935 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34936 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34937 Likewise.
34938 (ieee_float_shape_type): Likewise.
34939 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34940 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34941 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34942 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34943 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34944 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34945 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34946 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34947 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34948 Likewise.
34949 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34950 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34951 (__ieee754_yn): Likewise.
34952 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34953 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34954 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34955 Likewise.
34956 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34957 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34958 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34959 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34960 (__erfc): Likewise.
34961 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34962 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34963 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34964 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34965 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34966 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34967 Likewise.
34968 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34969 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34970 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34971 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34972 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34973 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34974 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34975 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34976 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34977 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34978 (__issignaling): Likewise.
34979 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34980 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34981 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34982 Likewise.
34983 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34984 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34985 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34986 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34987 Likewise.
34988 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34989 Likewise.
34990 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34991 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34992 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34993 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34994 (__erfcf): Likewise.
34995 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34996 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34997 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34998 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34999 Likewise.
35000 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35001 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35002 Likewise.
35003 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35004 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35005 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35006 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35007 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35008 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35009 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35010 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35011 Likewise.
35012 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35013 Likewise.
35014 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35015 Likewise.
35016 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35017 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35018 Likewise.
35019 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35020 Likewise.
35021 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35022 (__ieee754_ynl): Likewise.
35023 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35024 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35025 Likewise.
35026 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35027 Likewise.
35028 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35029 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35030 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35031 Likewise.
35032 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35033 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35034 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35035 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35036 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35037 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35038 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35039 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35040 Likewise.
35041 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35042 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35043 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35044 Likewise.
35045 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35046 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35047 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35048 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35049 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35050 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35051 Likewise.
35052 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35053 Likewise.
35054 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35055 Likewise.
35056 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35057 Likewise.
35058 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35059 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35060 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35061 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35062 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35063 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35064 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35065 Likewise.
35066 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35067 Likewise.
35068 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35069 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35070 Likewise.
35071 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35072 (__ieee754_remainderl): Likewise.
35073 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35074 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35075 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35076 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35077 Likewise.
35078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35079 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35080 Likewise.
35081 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35082 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35083 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35084 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35085 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35086 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35087 Likewise.
35088 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35089 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35090 (__ieee754_y0l): Likewise.
35091 (pzero): Likewise.
35092 (qzero): Likewise.
35093 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35094 (__ieee754_y1l): Likewise.
35095 (pone): Likewise.
35096 (qone): Likewise.
35097 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35098 (__ieee754_ynl): Likewise.
35099 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35100 (__ieee754_lgammal_r): Likewise.
35101 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35102 Likewise.
35103 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35104 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35105 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35106 (__erfcl): Likewise.
35107 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35108 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35109 Likewise.
35110 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35111 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35112 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35113 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35114 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35115 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35116 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35117 Likewise.
35118 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35119 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35120 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35121 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35122 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35123 Likewise.
35124 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35125 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35126 Likewise.
35127 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35128 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35129 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35130 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35131 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35132
35133 2017-08-03 Florian Weimer <fweimer@redhat.com>
35134
35135 [BZ #21885]
35136 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35137 on memory allocation failure.
35138
35139 2017-08-03 Alan Modra <amodra@gmail.com>
35140
35141 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35142 tst-tlsopt-powerpc.c with function name change and no test harness.
35143 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35144 Call tls_get_addr_opt_test.
35145 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35146 (modules-names): Add mod-tlsopt-powerpc.
35147 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35148 (tst-tlsopt-powerpc): Depend on .so.
35149 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35150 define. Expand use in TLS_GD and TLS_LD.
35151
35152 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35153
35154 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35155 function.
35156 * sysdeps/posix/shm_open.c: Include <pthread.h>.
35157
35158 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35159
35160 [BZ #21686]
35161 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35162 comparing size with that of double.
35163 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35164 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35165 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35166 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35167 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35168 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35169 unsigned __int128 types.
35170
35171 2017-08-02 Steve Ellcey <sellcey@cavium.com>
35172
35173 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35174 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35175 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35176 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35177 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35178
35179 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35180
35181 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35182
35183 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35184
35185 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35186 of SHARED.
35187 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35188 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35189 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35190 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35191 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35192 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35193 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35194
35195 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35196
35197 [BZ #21685]
35198 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35199 bit-field expressions passed to sizeof or typeof.
35200 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35201 (__TGMATH_F128): Likewise.
35202 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35203 (__TGMATH_CF128): Likewise.
35204 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35205 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35206 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35207 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35208 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35209 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35210 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35211 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35212 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35213 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35214 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35215 (__TGMATH_UNARY_IMAG): Likewise.
35216 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35217 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35218 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35219 type.
35220 (define_vars_for_type): Handle bit_field type specially.
35221 (Tests.__init__): Declare structure with bit-field element.
35222
35223 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35224
35225 [BZ #21791]
35226 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35227 (MEMCPY_CHK): Define only if SHARED is defined.
35228 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35229 Likewise.
35230 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35231 Likewise.
35232
35233 See ChangeLog.18 for earlier changes.