]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
18eb4d205fa0c89557eaea928d3a24be97c83652
[thirdparty/glibc.git] / ChangeLog
1 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2
3 * sysdeps/powerpc/powerpc32/fpu/Makefile
4 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
5 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
6 and fctidz optimization.
7 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
8 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
9 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
10 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
11 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
12 CFLAGS-s_lround-power5+.c): New rule.
13 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
14 New file.
15 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
16 Likewise.
17 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
18 Likewise.
19 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
20 Likewise.
21 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
22 Likewise.
23 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24 Remove file.
25 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26 Likewise.
27 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28 Likewise.
29 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
30 Likewise.
31 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
32 Likewise.
33 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
35 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
37 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
40
41 2019-06-26 Vincent Chen <vincentc@andestech.com>
42
43 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
44 specific system calls, fp_udfiex_crtl and udftrap.
45
46 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
47
48 * nptl/tst-eintr1.c (tf1): Add return statement.
49 (do_test): Remove unused th variable.
50
51 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
52
53 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
54 Return error if get_character fails.
55
56 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
57
58 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
59
60 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
61
62 [BZ #24652]
63 * localedata/locales/szl_PL (day): Use the correct Unicode
64 sequences instead of non-ASCII characters.
65
66 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
67
68 [BZ #24652]
69 * localedata/locales/szl_PL (abday): Spelling corrections.
70 (day): Likewise.
71 (abmon): Likewise.
72 (mon): Rename to...
73 (alt_mon): This, then apply spelling corrections.
74 (mon): New entry, month names in the genitive case.
75
76 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
77
78 [BZ #23831]
79 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
80 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
81 (thousands_sep): Likewise.
82 (grouping): Set to 3;3.
83
84 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
85
86 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
87 PREPARE_VERSION_KNOWN.
88 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
89 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
90 define.
91 (VDSO_HASH_LINUX_2_6_39): Likewise.
92 (VDSO_NAME_LINUX_4_9): Likewise.
93 (VDSO_HASH_LINUX_4_9): Likewise.
94 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
95 * sysdeps/unix/sysv/linux/powerpc/init-first.c
96 (_libc_vdso_platform_setup): Likewise.
97 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
98 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
99 Likewise.
100 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
101 Likewise.
102
103 2019-06-20 Mike Crowe <mac@mcrowe.com>
104
105 * nptl/eintr.c: Use libsupport.
106 * nptl/tst-eintr1.c: Likewise.
107 * nptl/tst-eintr2.c: Likewise.
108 * nptl/tst-eintr3.c: Likewise.
109 * nptl/tst-eintr4.c: Likewise.
110 * nptl/tst-eintr5.c: Likewise.
111 * nptl/tst-mutex-errorcheck.c: Likewise.
112 * nptl/tst-mutex5.c: Likewise.
113
114 * support/test-driver.h: Add verbose_printf macro.
115
116 * support/xtime.h: Add xclock_now() helper function.
117
118 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
119 Florian Weimer <fweimer@redhat.com>
120
121 [BZ #24228]
122 * libio/genops.c (_IO_unbuffer_all)
123 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
124 buffers and access _IO_FILE_complete members of legacy libio streams.
125 * libio/tst-bz24228.c: New file.
126 * libio/tst-bz24228.map: Likewise.
127 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
128 [build-shared] (generated): Add tst-bz24228.mtrace and
129 tst-bz24228.check.
130 [run-built-tests && build-shared] (tests-special): Add
131 $(objpfx)tst-bz24228-mem.out.
132 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
133 ($(objpfx)tst-bz24228-mem.out): New rule.
134
135 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
136
137 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
138 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
139 (__FPU_MFFSL): Likewise.
140 (_FPU_SETCW): Likewise.
141
142 2019-06-19 Stan Shebs <stanshebs@google.com>
143 Raoni Fassina Firmino <raoni@linux.ibm.com>
144
145 [BZ #24640]
146 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
147 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
148 static-linking version.
149 * sysdeps/unix/sysv/linux/powerpc/Makefile
150 (tests-static): Add test-gettimebasefreq-static.
151 (tests): Likewise.
152 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
153 New file.
154
155 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
156
157 [BZ #24614]
158 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
159 between the currency symbol and the minus sign).
160 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
161
162 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
163
164 [BZ #24556]
165 * string/test-strcasestr.c (check_result): Add NULL check.
166 * nss/tst-field.c (check_rewrite): Likewise.
167 * benchtests/bench-strstr.c (do_one_test): Likewise.
168 * string/test-strstr.c (check_result): Likewise.
169 * argp/argp-test.c (popt): Increase size of buf to 12.
170 * benchtests/bench-malloc-simple.c (bench):
171 Do not initialize tests array out of bounds.
172
173 2019-06-19 Florian Weimer <fweimer@redhat.com>
174
175 [BZ #24166]
176 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
177 dls_serpath field.
178
179 2019-06-18 Florian Weimer <fweimer@redhat.com>
180
181 [BZ #24323]
182 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
183 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
184 fail when called from dlopen.
185 * elf/Makefile [have-fpie && build-shared] (tests): Add
186 tst-dlopen-pie.
187 (tst-dlopen-pie): Link with -ldl.
188 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
189 * elf/tst-dlopen-pie.c (do_test): New file.
190
191 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
192
193 [BZ #24614]
194 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
195 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
196 between the currency symbol and the minus sign).
197 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
198 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
199
200 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
201
202 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
203 sysdep-rtld-routines): Remove rules.
204 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
205 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
206 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
207 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
208 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
209 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
210 vDSO path for SHARED.
211 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
212 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
213 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
214 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
215 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
216 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
217
218 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
219 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
220 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
221 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
222 CFLAGS-s_llround-power5+.c): New rule.
223 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
224 New file.
225 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
226 Likewise.
227 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
228 Likewise.
229 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
230 Likewise.
231 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
232 Likewise.
233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
234 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
236 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
238 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
239 * sysdeps/powerpc/powerpc64/fpu/Makefile
240 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
242 (libm-sysdep_routines): Remove s_llround-* objects.
243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
244 file.
245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
246 Likewise.
247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
248 Likewise.
249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
250 Likewise.
251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
252 Likewise.
253 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
254 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
255 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
256 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
257 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
258 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
259 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
260 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
261 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
262 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
263 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
264 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
265 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
266 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
267
268 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
269 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
270 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
271 * sysdeps/powerpc/powerpc32/fpu/Makefile
272 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
273 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
274 optimization.
275 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
276 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
277 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
279 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
280 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
281 CFLAGS-s_lrint-ppc32.c): New rule.
282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
283 Remove file.
284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
285 Likewise.
286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
287 Likewise.
288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
289 Likewise.
290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
291 Likewise.
292 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
293 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
294 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
295 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
297 New file.
298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
299 Likewise.
300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
301 Likewise.
302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
303 Likewise.
304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
305 Likewise.
306
307 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
308 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
309 s_llrint-ppc64.
310 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
311 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
312 file.
313 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
314 Likewise.
315 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
316 Likewise.
317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
318 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
320 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
322 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
323 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
324 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
325 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
326 (libm-sysdep_routines): Remove s_llrint-* objects.
327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
328 file.
329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
330 Likewise.
331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
332 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
333 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
334 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
335 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
336 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
337 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
338 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
339 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
340 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
341
342 2019-06-14 Florian Weimer <fweimer@redhat.com>
343
344 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
345 argument to __glibc_has_include to inhibit macro expansion.
346
347 2019-06-14 Florian Weimer <fweimer@redhat.com>
348
349 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
350 function-like macro, so that __has_include can inhibit expansion
351 of its argument.
352
353 2019-06-13 Joseph Myers <joseph@codesourcery.com>
354
355 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
356 New macro.
357
358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
359 Allow memset in libc.so.
360
361 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
362
363 * sysdeps/aarch64/dl-dtprocnum.h: New file.
364 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
365 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
366 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
367 symbols at load time.
368 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
369
370 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
371
372 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
373 (DT_AARCH64_VARIANT_PCS): Define.
374
375 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
376
377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
378 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
379 objects.
380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
381 Remove file.
382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
383 Likewise.
384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
386 Likewise.
387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
388 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
389 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
390 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
391 Remove s_finite* objects.
392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
398 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
399 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
400 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
401 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
402
403 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
404 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
405
406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
407 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
408 objects.
409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
410 Remove file.
411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
412 Likewise.
413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
415 Likewise.
416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
417 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
418 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
420 Remove s_isinf* and s_isinf* objects.
421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
427 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
428 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
429 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
430 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
431
432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
433 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
434
435 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
436 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
437 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
439 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
440 s_isnanf-* objects.
441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
442 Remove file
443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
444 Likewise.
445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
446 Likewise.
447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
448 Likewise.
449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
451 Likewise.
452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
453 Likewise.
454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
455 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
456 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
457 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
458 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
459 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
460 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
461 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
462 Remove s_isnan-* and s_isnanf-* objects.
463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
466 Likewise.
467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
472 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
473 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
474 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
475 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
476 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
477 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
478 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
479 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
480
481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
482 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
483
484 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
485 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
486 CFLAGS-bench-isfinite.c): New rule.
487 * benchtests/isnan-input: New file.
488 * benchtests/isinf-input: New file.
489 * benchtests/isfinite-input: New file.
490
491 * sysdeps/powerpc/fpu/s_copysign.c: New file.
492 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
493 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
494 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
496 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
497 s_copysign-ppc32.
498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
499 Remove file.
500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
501 Likewise.
502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
503 Likewise.
504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
505 Likewise.
506 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
507 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
509 Remove s_copysign-power6 s_copysign-ppc64.
510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
511 Remove file.
512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
513 Likewise.
514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
516 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
517 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
518 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
519 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
520
521 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
522 round_to_integer_float, round_mode): Add RINT handling.
523 (reset_fenv_mode): New symbol.
524 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
525 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
526 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
527 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
528 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
529 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
530
531 2019-06-12 Florian Weimer <fweimer@redhat.com>
532
533 [BZ #24632]
534 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
535 * libio/freopen.c (freopen): Use it.
536
537 2019-06-12 Florian Weimer <fweimer@redhat.com>
538
539 Linux: Deprecate sysctl.
540 * include/sysctl.h (__sysctl): Remove declaration.
541 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
542 check.
543 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
544 (sysctl): Add deprecation attribute.
545 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
546 directly, to avoid the deprecation warning. Do not include
547 <string.h>.
548 (__sysctl): Remove hidden alias.
549
550 2019-06-12 Florian Weimer <fweimer@redhat.com>
551
552 Linux: Use kernel headers for statx definitions if available.
553 * include/bits/statx-generic.h: New file.
554 * include/bits/types/struct_statx.h: Likewise.
555 * include/bits/types/struct_statx_timestamp.h: Likewise.
556 * io/Makefile (headers): Add bits/statx-generic.h.
557 * io/bits/statx-generic.h: New file. Partly copied from
558 io/bits/statx.h.
559 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
560 define original_statx.
561 * io/bits/types/struct_statx.h: Likewise.
562 * io/bits/types/struct_statx_timestamp.h: Likewise.
563 (statx_generic): Use original_statx.
564 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
565 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
566
567 2019-06-12 Florian Weimer <fweimer@redhat.com>
568
569 * misc/sys/cdefs.h (__glibc_has_include): Define.
570
571 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
572
573 * string/memmem.c (__memmem): Rewrite to improve performance.
574
575 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
576
577 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
578 warning.
579 (two_way_long_needle): Block inlining.
580 * string/strstr.c (strstr2): Add new function.
581 (strstr3): Likewise.
582 (STRSTR): Completely rewrite strstr to improve performance.
583
584 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
585
586 * benchtests/bench-strstr.c (test_hard_needle): New function.
587
588 2019-06-10 Joseph Myers <joseph@codesourcery.com>
589
590 * malloc/tst-calloc.c: Include <libc-diag.h>.
591 (null_test): Ignore -Wunused-result around calls to calloc.
592 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
593 (do_test): Ignore -Wunused-result around call to malloc.
594
595 2019-06-07 Florian Weimer <fweimer@redhat.com>
596
597 Linux: Add getdents64 system call.
598 * include/dirnent.h (getdents): Add comment and change buffer
599 argument type to void *.
600 (getdents64): Likewise. Add hidden prototype.
601 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
602 getdents64.
603 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
604 Add tst-getdents64.
605 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
606 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
607 argument type to void *.
608 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
609 Add hidden definition and getdents64 alias.
610 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
611 Likewise.
612 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
613 * manual/filesys.texi (Accessing Directories): Add Low-level
614 Directory Access node reference.
615 (Opening a Directory): Cross-reference it.
616 (Low-level Directory Access): New node.
617 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
618 getdents64.
619 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
620 Likewise.
621 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
622 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
623 Likewise.
624 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
625 Likewise.
626 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
627 Likewise.
628 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
629 Likewise.
630 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
631 Likewise.
632 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
633 Likewise.
634 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
635 Likewise.
636 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
637 (GLIBC_2.30): Likewise.
638 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
639 (GLIBC_2.30): Likewise.
640 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
641 (GLIBC_2.30): Likewise.
642 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
643 (GLIBC_2.30): Likewise.
644 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
645 Likewise.
646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
647 (GLIBC_2.30): Likewise.
648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
649 (GLIBC_2.30): Likewise.
650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
651 (GLIBC_2.30): Likewise.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
653 (GLIBC_2.30): Likewise.
654 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
655 Likewise.
656 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
657 Likewise.
658 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
659 Likewise.
660 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
661 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
662 Likewise.
663 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
664 Likewise.
665 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
666 Likewise.
667 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
668 Likewise.
669
670 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
671
672 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
673 (__FPU_MFFS): New.
674 (__FPU_MFFSL): New.
675 (_FPU_GET_RC): New.
676 (_FPU_GETCW): Use __FPU_MFFS().
677 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
678
679 2019-06-06 Florian Weimer <fweimer@redhat.com>
680
681 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
682 internal GCC preprocessor identifier __has_include__.
683
684 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
685
686 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
687 with call to equivalent function.
688
689 2019-06-04 Florian Weimer <fweimer@redhat.com>
690
691 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
692 (do_release_shlib): Adjust for __twalk_r.
693 (__gconv_release_shlib): Call __twalk_r.
694
695 2019-06-04 Andreas Schwab <schwab@suse.de>
696
697 [BZ #18830]
698 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
699 no irreversible characters occurred.
700 * iconv/gconv_simple.c (internal_ucs4_loop)
701 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
702 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
703 (ucs4_internal_loop_single, internal_ucs4le_loop)
704 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
705 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
706 (ucs4le_internal_loop_single): Add const to outend.
707 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
708 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
709 * iconv/Makefile (tests): Add tst-iconv7.
710 * iconv/tst-iconv7.c: New file.
711
712 2019-06-03 Joseph Myers <joseph@codesourcery.com>
713
714 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
715
716 2019-06-01 Florian Weimer <fweimer@redhat.com>
717
718 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
719 * sysdeps/unix/sysv/linux/arm/Makefile
720 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
721 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
722 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
723 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
724 compatibility symbols.
725
726 2019-05-31 Florian Weimer <fweimer@redhat.com>
727
728 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
729 system calls for the arm architecture: breakpoint, get_tls,
730 set_tls, usr26, usr32.
731
732 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
733
734 * sysdeps/powerpc/Makefile
735 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
736 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
737 Declare '.machine power7' to get support for ldbrx.
738 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
739 directive based on the directory of the file.
740 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
741 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
742 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
743 '.machine' directive.
744 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
745 (VADDUQM_V7_V8): Remove.
746 (__STRCASECMP): Replace macros with actual instructions.
747 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
748 '.machine' directive.
749 (VCLZD_V8_v7): Remove.
750 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
751
752 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
753
754 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
755 Remove file.
756 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
757
758 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
759
760 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
761 NEARBYINT handling.
762 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
763 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
764 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
765 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
766 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
767 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
768
769 2019-05-28 mansayk <6688000@gmail.com>
770
771 [BZ #24370]
772 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
773
774 2019-05-28 mansayk <6688000@gmail.com>
775
776 [BZ #24369]
777 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
778 (abmon): Likewise, but remove the trailing dots.
779
780 2019-05-28 Joseph Myers <joseph@codesourcery.com>
781
782 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
783
784 2019-05-27 Florian Weimer <fweimer@redhat.com>
785
786 * nptl/nptl-init.c: Add comment.
787
788 2019-05-24 Florian Weimer <fweimer@redhat.com>
789
790 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
791 struct in_addr/struct in6_addr alignment.
792
793 2019-05-23 Joseph Myers <joseph@codesourcery.com>
794
795 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
796 (F_SEAL_FUTURE_WRITE): New macro.
797
798 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
799
800 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
801 * elf/tst-ldconfig-bad-aux-cache.c: New file.
802 * elf/tst-ldconfig_aux-cache.root: New directory.
803 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
804 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
805 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
806
807 2019-05-22 Zack Weinberg <zackw@panix.com>
808
809 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
810 host type.
811 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
812 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
813
814 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
817 Delete.
818
819 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
820 Issue an #error if used with a compiler in SPE-float mode.
821 * sysdeps/powerpc/powerpc32/__longjmp_common.S
822 * sysdeps/powerpc/powerpc32/setjmp_common.S
823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
829 Remove code to preserve SPE register state.
830
831 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
832 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
833 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
834 Remove __SPE__ ifndefs.
835
836 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
837
838 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
839 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
840 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
841 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
842 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
843 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
844 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
845 (INNER_LOOP_ITERS_MEDIUM): New define.
846 (INNER_LOOP_ITERS_SMALL): New define.
847 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
848 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
849 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
850 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
851 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
852
853 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
854
855 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
856 New define.
857 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
858 (SEMTIMEDOP_IPC_ARGS): Likewise.
859
860 2019-05-21 Florian Weimer <fweimer@redhat.com>
861
862 [BZ #24584]
863 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
864 before updating __counter field and release it afterwards. Add
865 overflow check.
866 * iconv/gconv.h (struct __gconv_step): Mention synchronization
867 requirement for __counter member.
868
869 2019-05-21 Florian Weimer <fweimer@redhat.com>
870
871 [BZ #24583]
872 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
873 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
874 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
875 instead of __gconv_release_step.
876 * libio/Makefile (tests): Add tst-wfile-gconv.
877 (tests-container): Add tst-wfile-ascii.
878 (tst-wfile-gconv-ENV): Enable mtrace.
879 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
880 (tests-special): Add tst-wfile-gconv-mem.out.
881 (tst-wfile-gconv.out): Depend on locales.
882 (tst-wfile-gconv-mem.out): Add mtrace rule.
883 * libio/tst-wfile-ascii.c: New file.
884 * libio/tst-wfile-gconv.c: Likewise.
885
886 2019-05-20 Florian Weimer <fweimer@redhat.com>
887
888 [BZ #24588]
889 libio: Remove codecvt vtable.
890 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
891 __libio_codecvt.
892 * libio/iofgetpos.c (_IO_new_fgetpos): Call
893 __libio_codecvt_encoding.
894 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
895 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
896 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
897 * libio/iofwide.c (__libio_codecvt): Remove variable.
898 (_IO_fwide): Do not copy __libio_codecvt.
899 (__libio_codecvt_out): Rename from do_out and export.
900 (do_unshift): Remove function.
901 (__libio_codecvt_in): Rename from do_in and export.
902 (__libio_codecvt_encoding): Rename from do_encoding and export.
903 (do_always_noconv): Remove function.
904 (__libio_codecvt_length): Rename from do_length and export.
905 (do_max_length): Remove function.
906 * libio/libio.h (enum __codecvt_result): Remove definition; moved
907 to libioP.h.
908 (struct _IO_codecvt): Remove fields __codecvt_destr,
909 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
910 __codecvt_do_encoding, __codecvt_do_always_noconv,
911 __codecvt_do_length, __codecvt_do_max_length.
912 * libio/libioP.h (enum __codecvt_result): Define; moved from
913 libio.h.
914 (__libio_codecvt_out, __libio_codecvt_in)
915 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
916 functions.
917 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
918 (_IO_wfile_underflow): Call __libio_codecvt_in.
919 (_IO_wfile_underflow): Likewise.
920 (_IO_wfile_underflow_mmap): Likewise.
921 (_IO_wfile_sync): Call __libio_codecvt_encoding,
922 __libio_codecvt_length.
923 (adjust_wide_data): Call __libio_codecvt_encoding,
924 __libio_codecvt_in.
925 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
926 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
927 __libio_codecvt_length.
928
929 2019-05-20 Florian Weimer <fweimer@redhat.com>
930
931 * support/support.h (support_sbindir_prefix): Declare.
932 (support_install_rootsbindir): Update comment.
933 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
934 * support/support_paths.c (support_sbindir_prefix): Define.
935
936 2019-05-20 Mike Crowe <mac@mcrowe.com>
937
938 * support/timespec.c: Add backslash to correct newline in failure
939 message.
940
941 * support/timespec.h: Correct confusing comment.
942
943 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
944
945 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
946 define.
947 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
948 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
949 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
950 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
951
952 [BZ #24570]
953 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
954 usage.
955
956 2019-05-20 Joseph Myers <joseph@codesourcery.com>
957
958 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
959 (NT_ARM_PACG_KEYS): Likewise.
960
961 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
962
963 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
964 (tcache_put): Remove redundant assert.
965 (tcache_get): Remove redundant asserts.
966 (__libc_malloc): Check tcache count is not zero.
967 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
968
969 2019-05-17 Florian Weimer <fweimer@redhat.com>
970
971 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
972
973 2019-05-16 Joseph Myers <joseph@codesourcery.com>
974
975 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
976 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
977 0x050100].
978 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
979 Likewise.
980 * sysdeps/unix/sysv/linux/sh/kernel-features.h
981 (__ASSUME_STATX): Likewise.
982
983 2019-05-16 Florian Weimer <fweimer@redhat.com>
984
985 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
986 flags argument.
987 (LINE_PARSER): Do not map IPv4 addresses.
988 (internal_nis_gethostent_r): Remove flags argument. Adjust call
989 to parse_line.
990 (_nss_nis_gethostent_r): Always pass AF_INET to
991 internal_nis_gethostent_r.
992 (internal_gethostbyname2_r): Remove flags argument. Adjust call
993 to parse_line.
994 (_nss_nis_gethostbyname2_r): Adjust call to
995 internal_nis_gethostent_r.
996 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
997 call to internal_nis_gethostent_r.
998 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
999 from parse_line.
1000 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
1001 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
1002 Remove flags argument. Do not map IPv4 addresses.
1003 (internal_nisplus_gethostent_r): Adjust call to
1004 _nss_nisplus_parse_hostent.
1005 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1006 to _nss_nisplus_parse_hostent.
1007 (_nss_nisplus_gethostbyname2_r): Adjust call to
1008 internal_gethostbyname2_r.
1009 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
1010 Adjust call to internal_gethostbyname2_r.
1011 (_nss_nisplus_gethostbyaddr_r): Adjust call to
1012 _nss_nisplus_parse_hostent.
1013 (_nss_nisplus_gethostbyname4_r): Adjust call to
1014 internal_gethostbyname2_r.
1015
1016 2019-05-16 Florian Weimer <fweimer@redhat.com>
1017
1018 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
1019 Remove flags.
1020 (LINE_PARSER): Remove address mapping.
1021 (EXTRA_ARGS_VALUE): Remove flags argument.
1022 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
1023 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
1024 gethostbyname3_multi.
1025 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
1026 _nss_files_gethostbyname3_r.
1027 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
1028
1029 2019-05-16 Florian Weimer <fweimer@redhat.com>
1030
1031 * support/support_test_compare_blob.c (report_blob): Report
1032 incorrect NULL blobs.
1033
1034 2019-05-15 Mark Wielaard <mark@klomp.org>
1035
1036 [BZ# 24476]
1037 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
1038 __libc_once_get (once) and static_buf == NULL.
1039 (__dlerror): Check we have a valid key, set result to static_buf
1040 otherwise.
1041
1042 2019-05-15 Andreas Schwab <schwab@suse.de>
1043
1044 [BZ #20568]
1045 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
1046 __codecvt_do_length.
1047 * libio/Makefile (tests): Add tst-wfile-sync.
1048 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
1049 * libio/tst-wfile-sync.c: New file.
1050 * libio/tst-wfile-sync.input: New file.
1051
1052 2019-05-15 Florian Weimer <fweimer@redhat.com>
1053
1054 nss: Turn __nss_database_lookup into a compatibility symbol.
1055 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
1056 __nss_database_lookup.
1057 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
1058 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
1059 __nss_database_lookup.
1060 (__nss_next): Move to …
1061 * nss/compat-lookup.c (nss_next): … here. Change it to fail
1062 unconditionally.
1063 (__nss_database_lookup): New function.
1064 * nss/Versions (GLIBC_2.0): Update comment.
1065 (GLIBC_PRIVATE): Export __nss_database_lookup2.
1066 * grp/initgroups.c (internal_getgrouplist): Call
1067 __nss_database_lookup2 instead of __nss_database_lookup.
1068 * nscd/aicache.c (addhstaiX): Likewise.
1069 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1070 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1071 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
1072 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
1073 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
1074 Likewise.
1075 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
1076 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
1077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1078
1079 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
1080
1081 * support/support.h (support_install_rootsbindir): New variable.
1082 * support/support_paths.c: Likewise.
1083 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
1084
1085 2019-05-15 Florian Weimer <fweimer@redhat.com>
1086
1087 * iconv/gconv.h (__gconv_transliterate): Move declaration …
1088 * iconv/gconv_int.h (__gconv_transliterate): … here.
1089 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
1090 * iconv/skeleton.c: Likewise.
1091
1092 2019-05-14 Florian Weimer <fweimer@redhat.com>
1093
1094 Linux: Add the tgkill function.
1095 * bits/signal_ext.h: New file.
1096 * manual/signal.texi (Signaling Another Process): Document tgkill.
1097 * signal/Makefile (headers): Add bits/signal_ext.h.
1098 * signal/signal.h: Include <bits/signal_ext.h>.
1099 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
1100 (tst-tgkill): Link with libpthread.
1101 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
1102 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
1103 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
1104 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1105 tgkill.
1106 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1107 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1108 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1109 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1110 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1111 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1112 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1113 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1114 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1115 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1116 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1117 Likewise.
1118 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1119 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1120 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1122 Likewise.
1123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1124 Likewise.
1125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
1126 Likewise.
1127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
1128 Likewise.
1129 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1130 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1131 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1132 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1133 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1134 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1135 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1136 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1137
1138 2019-05-14 Carlos O'Donell <carlos@redhat.com>
1139
1140 * manual/search.texi (Tree Search Function): Adjust twalk_r
1141 documentation.
1142
1143 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1144
1145 [BZ #24544]
1146 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
1147 pre-defined value.
1148
1149 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
1150 * support/support.h (support_bindir_prefix): New variable.
1151 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
1152
1153 * config.make.in (bindir): New variable.
1154
1155 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
1156 (lll_trylock): Call __lll_trylock.
1157 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
1158 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
1159 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1160 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1161 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1162 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1163 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1164 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1165 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1166 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1167 lowlevellock-futex.h.
1168
1169 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1170 initialization for LLL_LOCK_INITIALIZER different than 0.
1171 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1172 Assume LLL_LOCK_INITIALIZER being 0.
1173 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1174 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1175 Likewise.
1176 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1177 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1178
1179 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1180 Optimize futex call and add systemtap probe.
1181
1182 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1183 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1184 __libc_disable_asynccancel, __librt_enable_asynccancel,
1185 __libc_disable_asynccancel, __librt_enable_asynccancel,
1186 __librt_disable_asynccancel): Move to ...
1187 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1188 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1189 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1190 * sysdeps/generic/single-thread.h: New file.
1191 * sysdeps/unix/sysdep.h: Include single-thread.h.
1192 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1193 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1194
1195 2019-05-08 Mike FABIAN <mfabian@redhat.com>
1196
1197 [BZ #24535]
1198 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1199 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1200 Unicode 12.1.0.
1201 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1202 * localedata/unicode-gen/PropList.txt: Likewise.
1203 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1204 * localedata/charmaps/UTF-8: Regenerate.
1205 * localedata/locales/i18n_ctype: Likewise.
1206 * localedata/locales/tr_TR: Likewise.
1207 * localedata/locales/translit_circle: Likewise.
1208 * localedata/locales/translit_cjk_compat: Likewise.
1209 * localedata/locales/translit_combining: Likewise.
1210 * localedata/locales/translit_compat: Likewise.
1211 * localedata/locales/translit_font: Likewise.
1212 * localedata/locales/translit_fraction: Likewise.
1213
1214 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1215
1216 [BZ #24531]
1217 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1218 (do_set_tcache_count): Only update if count is small enough.
1219 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1220
1221 2019-05-10 Florian Weimer <fweimer@redhat.com>
1222
1223 * nptl/sem_close.c (struct walk_closure): Define.
1224 (walker): Adjust for __twalk_r.
1225 (sem_close): Call __twalk_r.
1226
1227 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1228
1229 * support/timespec.c (test_timespec_before_impl,
1230 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1231 insted of long int.
1232
1233 2019-05-09 Mike Crowe <mac@mcrowe.com>
1234
1235 * nptl/tst-abstime.c: Use libsupport.
1236
1237 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1238 small bug where only tv.tv_usec was checked which could cause an
1239 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1240 than a second.
1241
1242 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1243 libsupport.
1244
1245 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1246 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1247
1248 * nptl/tst-cond11.c: Use libsupport.
1249
1250 * support/timespec.h: New file. Provide timespec helper functions
1251 along with macros in the style of those in check.h.
1252 * support/timespec.c: New file. Implement check functions declared
1253 in support/timespec.h.
1254 * support/timespec-add.c: New file from gnulib containing
1255 timespec_add implementation that handles overflow.
1256 * support/timespec-sub.c: New file from gnulib containing
1257 timespec_sub implementation that handles overflow.
1258 * support/README: Mention timespec.h.
1259
1260 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1261
1262 [BZ #24537]
1263 * nptl/Makefile: Move tst-eintr1 to xtests.
1264
1265 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1266
1267 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1268 TRUNC handling.
1269 (round_mode): Add definition for TRUNC.
1270 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1271 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1272 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1273 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1274 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1275 Likewise.
1276 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1277 Likewise.
1278 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1279 Likewise.
1280 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1281 Likewise.
1282 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1283 file.
1284 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1285 Likewise.
1286 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1287 Likewise.
1288 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1289 Likewise.
1290 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1291 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1292 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1293 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1294 s_truncf-power5+, and s_truncf-ppc64.
1295 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1296 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1297 file.
1298 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1300 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1301 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1302 file.
1303 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1304 Likewise.
1305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1306 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1307 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1308 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1309 s_truncf-power5+, and s_truncf-ppc64.
1310 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1311 file.
1312 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1313 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1314 Likewise.
1315 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1316 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1317 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1318 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1319 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1320
1321 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1322 ROUND handling.
1323 (round_mode): Add definition for ROUND.
1324 (round_to_integer_float): Likewise.
1325 * sysdeps/powerpc/fpu/s_round.c: New file.
1326 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1327 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1328 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1329 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1330 Likewise.
1331 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1332 Likewise.
1333 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1334 Likewise.
1335 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1336 Likewise.
1337 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1338 file.
1339 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1340 Likewise.
1341 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1342 Likewise.
1343 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1344 Likewise.
1345 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1346 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1347 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1348 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1349 s_roundf-power5+, and s_roundf-ppc64.
1350 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1351 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1352 file.
1353 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1355 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1356 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1357 file.
1358 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1359 Likewise.
1360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1361 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1362 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1363 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1364 s_roundf-power5+, and s_roundf-ppc64.
1365 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1366 file.
1367 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1368 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1369 Likewise.
1370 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1371 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1372 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1373 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1374 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1375
1376 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1377 Add FLOOR option.
1378 (round_mode): Add definition for FLOOR.
1379 * sysdeps/powerpc/fpu/s_floor.c: New file.
1380 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1381 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1382 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1384 Remove file.
1385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1386 Likewise
1387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1388 Likewise.
1389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1390 Likewise.
1391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1392 New file.
1393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1394 Likewise.
1395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1396 Likewise.
1397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1398 Likewise.
1399 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1400 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1401 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1402 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1403 s_floorf-power5+, and s_floorf-ppc64.
1404 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1405 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1406 file.
1407 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1409 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1410 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1411 file.
1412 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1413 Likewise.
1414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1415 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1416 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1417 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1418 s_floorf-power5+, and s_floorf-ppc64.
1419 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1420 file.
1421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1422 file.
1423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1424 Likewise.
1425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1426 Likewise.
1427 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1428 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1429 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1430 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1431
1432 2019-05-08 Mike Crowe <mac@mcrowe.com>
1433
1434 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1435 clock_gettime wrapper for use in tests that fails the test rather
1436 than returning failure.
1437
1438 * support/xtime.h: New file to declare xclock_gettime.
1439
1440 * support/Makefile: Add xclock_gettime.c.
1441
1442 * support/README: Mention xtime.h.
1443
1444 2019-05-08 Florian Weimer <fweimer@redhat.com>
1445
1446 malloc/tst-mallocfork2: Use process-shared barriers.
1447 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1448 (signal_count, sigusr1_sender_pid): Remove.
1449 (iterations): Define constant.
1450 (shared): New variable.
1451 (sigusr1_received): Update comment.
1452 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1453 (signal_sender): Optional use barriers to avoid sending signals
1454 during irrelevant times.
1455 (do_it): Initialize variable shared. Use xfork for error
1456 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1457 the iteration count, independent of signal delivery. Check for
1458 deadlocks in fork. Introduce barriers for reducing signal
1459 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1460 replaced by the barriers. Count signals during fork/free/malloc
1461 and report them.
1462 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1463
1464 2019-05-07 Joseph Myers <joseph@codesourcery.com>
1465
1466 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1467 version to 5.1.
1468 (clock_adjtime64) New syscall.
1469 (clock_getres_time64) Likewise.
1470 (clock_gettime64) Likewise.
1471 (clock_nanosleep_time64) Likewise.
1472 (clock_settime64) Likewise.
1473 (futex_time64) Likewise.
1474 (io_pgetevents_time64) Likewise.
1475 (io_uring_enter) Likewise.
1476 (io_uring_register) Likewise.
1477 (io_uring_setup) Likewise.
1478 (mq_timedreceive_time64) Likewise.
1479 (mq_timedsend_time64) Likewise.
1480 (pidfd_send_signal) Likewise.
1481 (ppoll_time64) Likewise.
1482 (pselect6_time64) Likewise.
1483 (recvmmsg_time64) Likewise.
1484 (rt_sigtimedwait_time64) Likewise.
1485 (sched_rr_get_interval_time64) Likewise.
1486 (semtimedop_time64) Likewise.
1487 (timer_gettime64) Likewise.
1488 (timer_settime64) Likewise.
1489 (timerfd_gettime64) Likewise.
1490 (timerfd_settime64) Likewise.
1491 (utimensat_time64) Likewise.
1492
1493 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1494 version to 9 branch.
1495
1496 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1497
1498 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1499 __memmove_thunderx2 to the list of implementations
1500 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1501 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1502 (__memmove_thunderx2): Rewritten using SIMD ld/st
1503 (__memcpy_thunderx2): Fixed handling overlapping cases.
1504 Used ldp/stp instead of ldr/str if possible. Made loops
1505 tails branchless.
1506
1507 2019-05-03 Florian Weimer <fweimer@redhat.com>
1508
1509 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1510
1511 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1512
1513 [BZ #24506]
1514 * elf/tst-pldd.c (in_str_list): New function.
1515 (do_test): Add default names for ld and libc as one option.
1516
1517 2019-05-02 Florian Weimer <fweimer@redhat.com>
1518
1519 misc: Add twalk_r function.
1520 * include/search.h (__twalk_r): Declare.
1521 * manual/examples/twalk.c: New file.
1522 * manual/search.texi (Tree Search Function): Document twalk_r.
1523 * misc/Versions (2.30): Export twalk_r.
1524 (GLIBC_PRIVATE): Export __twalk_r.
1525 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1526 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1527 (twalk_r): Add weak alias.
1528 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1529 (walk_trace): New variable.
1530 (struct twalk_with_twalk_r_closure): Define.
1531 (twalk_with_twalk_r_action): New function.
1532 (twalk_with_twalk_r): Likewise.
1533 (walk_action): Call walk_trace_add.
1534 (walk_tree_with): Rename from walk_tree. Add walk argument.
1535 (walk_tree): New function.
1536 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1537 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1538 Likewise.
1539 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1540 Likewise.
1541 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1542 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1543 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1544 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1545 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1546 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1547 Likewise.
1548 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1549 Likewise.
1550 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1551 Likewise.
1552 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1553 (GLIBC_2.30): Likewise.
1554 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1555 (GLIBC_2.30): Likewise.
1556 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1557 (GLIBC_2.30): Likewise.
1558 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1559 (GLIBC_2.30): Likewise.
1560 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1561 Likewise.
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1563 (GLIBC_2.30): Likewise.
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1565 (GLIBC_2.30): Likewise.
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1567 (GLIBC_2.30): Likewise.
1568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1569 (GLIBC_2.30): Likewise.
1570 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1571 Likewise.
1572 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1573 Likewise.
1574 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1575 Likewise.
1576 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1577 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1578 Likewise.
1579 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1580 Likewise.
1581 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1582 Likewise.
1583 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1584 Likewise.
1585
1586 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1587
1588 Make mktime etc. compatible with __time64_t
1589 Keep these functions compatible with Gnulib while adding
1590 __time64_t support. The basic idea is to move private API
1591 declarations from include/time.h to time/mktime-internal.h, since
1592 the former file cannot easily be shared with Gnulib whereas the
1593 latter can.
1594 Also, do some other minor cleanup while in the neighborhood.
1595 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1596 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1597 since Gnulib needs it.
1598 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1599 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1600 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1601 (in_time_t_range): New static function.
1602 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1603 so that glibc users are not tempted to use __time64_t.
1604 * time/mktime-internal.h: Rewrite so that it does both glibc
1605 and Gnulib work. Include time.h if not _LIBC.
1606 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1607 (__time64_t): New type or macro, moved here from
1608 posix/bits/types.h.
1609 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1610 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1611 from include/time.h.
1612 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1613 New macros, taken from GNulib.
1614 (__mktime_internal): New prototype, moved here from include/time.h.
1615 * time/mktime.c (mktime_min, mktime_max, convert_time)
1616 (ranged_convert, __mktime_internal, __mktime64):
1617 * time/timegm.c (__timegm64):
1618 Use __time64_t, not time_t.
1619 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1620 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1621 Rename from mktime.
1622 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1623 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1624 for libc_hidden_def.
1625 Include errno.h.
1626 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1627 Rename from timegm.
1628 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1629
1630 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
1631
1632 [BZ #19444]
1633 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1634 from `-Wmaybe-uninitialized'.
1635 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1636
1637 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1638
1639 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1640 function.
1641 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1642 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1643 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1644 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1645 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1647 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1649 Remove file.
1650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1651 Likewise.
1652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1653 Likewise.
1654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1655 Likewise.
1656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1657 New file.
1658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1659 Likewise.
1660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1661 Likewise.
1662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1663 Likewise.
1664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1665 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1666 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1667 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1668 Likewise.
1669 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1670 Likewise.
1671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1672 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1673 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1674 file.
1675 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1676 Likewise.
1677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1678 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1679 * here.
1680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1681 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1682 s_ceilf-power5+, and s_ceilf-ppc64.
1683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1684 file.
1685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1688 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1689 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1690 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1691 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1692
1693 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1694 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1695 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1696
1697 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1698
1699 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1700 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1701 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1702 (sem_getvalue): Likewise.
1703
1704 2019-04-26 Florian Weimer <fweimer@redhat.com>
1705
1706 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1707 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1708
1709 2019-04-26 Florian Weimer <fweimer@redhat.com>
1710
1711 Makeconfig: Move -Wl,-rpath-link options before library references.
1712 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1713 (link-libc): Remove $(link-libc-rpath-link).
1714
1715 2019-04-25 Florian Weimer <fweimer@redhat.com>
1716
1717 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1718 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1719 (+link-static-before-libc): Remove $(CC).
1720 (+link-static, +link-static-tests): Add $(CC).
1721 (+link-before-libc): Remove $(CC).
1722 (+link, +link-pie, +link-pie-printers): Add $(CC).
1723
1724 2019-04-26 Florian Weimer <fweimer@redhat.com>
1725
1726 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1727 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1728 (+link-static-before-libc): Remove $(CC).
1729 (+link-static, +link-static-tests): Add $(CC).
1730 (+link-before-libc): Remove $(CC).
1731 (+link, +link-pie, +link-pie-printers): Add $(CC).
1732
1733 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1734
1735 [BZ#24484]
1736 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1737
1738 2019-04-25 Florian Weimer <fweimer@redhat.com>
1739
1740 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1741 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1742 (bench-link-targets): New variable.
1743 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1744
1745 2019-04-25 Florian Weimer <fweimer@redhat.com>
1746
1747 Also enable BIND_NOW for programs if --enable-bind-now.
1748 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1749 (+link-pie): Use $(link-extra-flags).
1750 (+link-static): Likewise.
1751 [! $(build-pie-default)] (+link): Likewise.
1752 * manual/install.texi (Configuring and compiling): Update
1753 --enable-bind-now description.
1754 * INSTALL: Regenerated.
1755
1756 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1757
1758 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1759 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1760
1761 2019-04-24 Mike Frysinger <vapier@gentoo.org>
1762
1763 [BZ #18465]
1764 * malloc/Makefile (others): Add memusagestat.
1765 ($(objpfx)memusagestat): Delete rule.
1766 (LDLIBS-memusagestat): New variable.
1767
1768 2019-04-24 Florian Weimer <fweimer@redhat.com>
1769
1770 * locale/Makefile (tests-special): Guard setting by
1771 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1772 to run while cross-compiling.
1773
1774 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1775
1776 [BZ #18035]
1777 * elf/Makefile (tests-container): Add tst-pldd.
1778 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1779 (E(find_maps)): Avoid use alloca, use default read file operations
1780 instead of explicit LFS names, and fix infinite loop.
1781 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1782 (get_process_info): Use _Static_assert instead of assert, use default
1783 directory operations instead of explicit LFS names, and free some
1784 leadek pointers.
1785 * elf/tst-pldd.c: New file.
1786
1787 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1788
1789 * malloc/arena.c (do_set_mallopt_check): Removed.
1790
1791 2019-04-23 Florian Weimer <fweimer@redhat.com>
1792
1793 locale: Add LOCPATH diagnostics to the locale program.
1794 * locale/programs/locale.c (setlocale_failed): New variable.
1795 (try_setlocale): New function.
1796 (quote_string): Likewise.
1797 (setlocale_diagnostics): Likewise.
1798 (main): Call try_setlocale instead of setlocale. Call
1799 setlocale_diagnostics.
1800 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1801 (tst-locale-locpath.out): New target.
1802 * locale/tst-locale-locpath.sh: New file.
1803
1804 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1805
1806 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1807 to 2.30 notes.
1808
1809 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1810
1811 [BZ #23741]
1812 * malloc/hooks.c (malloc_check, realloc_check): Use
1813 __builtin_add_overflow on overflow check and adapt to
1814 checked_request2size change.
1815 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1816 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1817 allocation size to PTRDIFF_MAX.
1818 (REQUEST_OUT_OF_RANGE): Remove macro.
1819 (checked_request2size): Change to inline function and limit maximum
1820 requested size to PTRDIFF_MAX.
1821 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1822 maximum allocation size to PTRDIFF_MAX.
1823 (_mid_memalign): Use _int_memalign call for overflow check.
1824 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1825 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1826 limit maximum requested size to PTRDIFF_MAX.
1827 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1828 valloc, pvalloc): Add __attribute_alloc_size__.
1829 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1830 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1831 larger than PTRDIFF_MAX.
1832 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1833 around tests of malloc with negative sizes.
1834 * malloc/tst-posix_memalign.c (do_test): Likewise.
1835 * malloc/tst-pvalloc.c (do_test): Likewise.
1836 * malloc/tst-valloc.c (do_test): Likewise.
1837 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1838 with resulting size allocation larger than PTRDIFF_MAX with
1839 reallocarray_nowarn.
1840 (reallocarray_nowarn): New function.
1841 * NEWS: Mention the malloc function semantic change.
1842
1843 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1844
1845 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1846 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1847
1848 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1849 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1850 * sysdeps/powerpc/fpu/s_fma.c: New file.
1851 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1852
1853 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1854 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1855
1856 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1857 the magic flag store.
1858 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1859 Likewise.
1860 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1861 Likewise.
1862 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1863 Remove rt_sigreturn call.
1864
1865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1866 Remove rt_sigreturn call.
1867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1868 Likewise.
1869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1871
1872 * support/Makefile (libsupport-routines): Add support_subprocess,
1873 xposix_spawn, xposix_spawn_file_actions_addclose, and
1874 xposix_spawn_file_actions_adddup2.
1875 (tst-support_capture_subprocess-ARGS): New rule.
1876 * support/capture_subprocess.h (support_capture_subprogram): New
1877 prototype.
1878 * support/support_capture_subprocess.c (support_capture_subprocess):
1879 Refactor to use support_subprocess and support_capture_poll.
1880 (support_capture_subprogram): New function.
1881 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1882 str_to_write_mode, test_common, parse_int, handle_restart,
1883 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1884 (do_test): Add support_capture_subprogram tests.
1885 * support/subprocess.h: New file.
1886 * support/support_subprocess.c: Likewise.
1887 * support/xposix_spawn.c: Likewise.
1888 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1889 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1890 * support/xspawn.h: Likewise.
1891
1892 2019-04-17 Mike Gerow <gerow@google.com>
1893
1894 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1895 groups limit.
1896
1897 2019-04-11 Florian Weimer <fweimer@redhat.com>
1898
1899 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1900 domain with empty string.
1901 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1902
1903 2019-04-11 Florian Weimer <fweimer@redhat.com>
1904
1905 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1906 comment.
1907 (alloc_buffer_next): Change return type to non-const. Update
1908 comment.
1909
1910 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1911
1912 * manual/time.texi (Formatting Calendar Time): Add missing percent
1913 sign to conversion specifier.
1914
1915 2019-04-09 Carlos O'Donell <carlos@redhat.com>
1916 Kwok Cheung Yeung <kcy@codesourcery.com>
1917
1918 [BZ #16573]
1919 * malloc/mtrace.c: Define prototypes for all hooks.
1920 (set_default_hooks): New function.
1921 (set_trace_hooks): Likewise.
1922 (save_default_hooks): Likewise.
1923 (tr_freehook): Use new s*_hooks functions.
1924 (tr_mallochook): Likewise.
1925 (tr_reallochook): Likewise.
1926 (tr_memalignhook): Likewise.
1927 (mtrace): Likewise.
1928 (muntrace): Likewise.
1929
1930 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1931
1932 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1933 (generic_stpcpy): New function.
1934 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1935 (generic_stpncpy): New function.
1936 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1937 (generic_strcat): New function.
1938 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1939 (generic_strcpy): New function.
1940 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1941 (STUPID_STRNCAT): Remove function.
1942 (generic_strncat): New function.
1943 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1944 (STUPID_STRNCPY): Remove function.
1945 (generic_strncpy): New function.
1946 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1947 (generic_strnlen): New function.
1948 (memchr_strnlen): New function.
1949 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1950 (memchr_strlen): Likewise.
1951
1952 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1953
1954 * benchtests/bench-strstr.c (input): Add realistic input text.
1955 (stupid_strstr): Remove function.
1956 (basic_strstr): Add function.
1957 (twoway_strstr): Add function.
1958 (do_one_test): Add result checking.
1959 (do_test): Use new input text. Remove accidental early matches.
1960 (test_main): Improve range of tests, reduce unaligned cases.
1961
1962 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1963
1964 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1965 (basic_memmem): Add function.
1966 (twoway_memmem): Add function.
1967
1968 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1969
1970 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1971 * benchtests/bench-malloc-thread.c: Likewise.
1972 * benchtests/bench-skeleton.c: Likewise.
1973 * benchtests/bench-strtod.c: Likewise.
1974 * benchtests/bench-timing.h: Likewise.
1975
1976 2019-04-08 Florian Weimer <fweimer@redhat.com>
1977
1978 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1979 definitions.
1980 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1981 RES_INSECURE2 security checks.
1982 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1983 RES_INSECURE2 handling.
1984
1985 2019-04-08 Florian Weimer <fweimer@redhat.com>
1986
1987 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1988 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1989 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1990 GETHOSTBYNAME.
1991 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1992 (tests-internal): Update justification for tst-resolv-res_init,
1993 tst-resolv-res_init-thread.
1994 (tst-res_use_inet6): Remove target.
1995 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1996 * resolv/res_debug.c (p_option): Remove "inet6" support.
1997 * resolv/res_init.c (res_setoptions): Likewise.
1998 * resolv/res_use_inet6.h: Remove file.
1999 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
2000 definition.
2001 (res_use_inet6): Always return false.
2002 * resolv/resolv.h (RES_USE_INET6): Remove definition.
2003 * resolv/resolv_context.h: Adjust file comment.
2004 (struct resolv_context): Update comment on __next field.
2005 (__resolv_context_put): Update comment.
2006 * resolv/tst-res_use_inet6.c: Remove file.
2007 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
2008 "inet6" support.
2009 (test_cases): Adjust test case.
2010 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
2011 (thread_byname2_af_inet6): Use old byname_inet6 code.
2012 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
2013 (gai): Remove do_inet6 argument.
2014 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
2015 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
2016 (thread_gai_unspec_inet6): Remove functions.
2017 (do_test): Adjust thread_funcs.
2018 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
2019 RES_USE_INET6 flag.
2020 (gaih_inet): Do not disable RES_USE_INET6 flag.
2021
2022 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2023
2024 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
2025 and remove redundant code.
2026
2027 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2028
2029 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
2030 New rule.
2031 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
2032 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
2033 Likewise.
2034 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
2035 Likewise.
2036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
2037 Likewise.
2038 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2039 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
2040 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
2041 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
2042 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2043 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
2044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2045 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
2046 wcsrchr-power7.
2047 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
2048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2049 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2050 Remove wcsrchr optimizations.
2051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2052
2053 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
2054 the loop unroll.
2055
2056 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
2057 New rule.
2058 * sysdeps/powerpc/power6/wcschr.c: Remove file.
2059 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
2060 Likewise.
2061 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
2062 Likewise.
2063 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
2064 Likewise.
2065 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2066 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
2067 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
2068 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
2069 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2070 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
2071 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2072 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
2073 wcschr-power7.
2074 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
2075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2076 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2077 Remove wcschr optimizations.
2078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2079
2080 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
2081 the loop unroll.
2082
2083 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
2084 New rule.
2085 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
2086 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
2087 Likewise.
2088 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
2089 Likewise.
2090 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
2091 Likewise.
2092 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2093 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
2094 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
2095 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
2096 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2097 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
2098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2099 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
2100 wcscpy-power7.
2101 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
2102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2103 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2104 Remove wcscpy optimizations.
2105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2106
2107 * include/loop_unroll.h: New file.
2108 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
2109 besides generic implementation.
2110
2111 2019-04-03 DJ Delorie <dj@redhat.com>
2112
2113 * time/tst-strftime3.c (tm_to_printed): Disable warning about
2114 snprintf truncating output.
2115
2116 2019-04-02 DJ Delorie <dj@redhat.com>
2117
2118 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
2119 warning.
2120
2121 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2122
2123 [BZ #22964]
2124 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
2125 era.
2126 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
2127 (mkreftable): Add rules for the new Japanese era and the new dates.
2128
2129 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2130 Rafal Luzynski <digitalfreak@lingonborough.com>
2131
2132 * time/tst-strftime2.c (date_t): Explicitly define the type.
2133 (dates): Use natural month and year numbers to express a date.
2134 (is_before): New function to compare dates.
2135 (mkreftable): Minor improvements to simplify maintenance.
2136 (do_test): Reflect the changes in dates array.
2137
2138 [BZ #24293]
2139 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
2140 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
2141 * time/tst-strftime2.c (locales): Likewise.
2142 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
2143 2010-04-01, and 2011-04-01.
2144 (mkreftable): Add rules for the new locales and the new dates.
2145
2146 2019-04-01 Carlos O'Donell <carlos@redhat.com>
2147
2148 * localedata/locales/ja_JP: Add comments to era entries.
2149
2150 2019-04-01 DJ Delorie <dj@redhat.com>
2151
2152 [BZ #24394]
2153 * time/strptime_l.c (%Ey): Fix fencepost error.
2154 * time/tst-strftime3.c: New.
2155 * time/Makefile (tests): Add tst-strftime3.
2156
2157 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
2158
2159 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
2160 conditional branch to DIVBYZERO. Fix unwind info.
2161 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2162 excb after conditional branch to $powerof2. Add missing unop
2163 instructions and .align directives and reorder instructions to
2164 match __divqu.
2165
2166 2019-04-01 Richard Henderson <rth@twiddle.net>
2167
2168 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2169 Do not redefine.
2170 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2171 Do not redefine.
2172
2173 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
2174
2175 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2176 $libc_cv_riscv_float_abi in `test' invocation.
2177 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2178
2179 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
2180
2181 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2182 asm with builtin.
2183 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2184 Likewise.
2185 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2186 (_GET_SI_FPSCR): Likewise.
2187 (_SET_SI_FPSCR): Likewise.
2188
2189 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2190
2191 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2192 clang 2.8.
2193 (signbit): Use builtin for clang 3.3.
2194 (isinf): Use builtin for clang 3.7.
2195
2196 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2197
2198 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2199
2200 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2201
2202 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2203 quote in printf.
2204
2205 2019-03-25 Mike Crowe <mac@mcrowe.com>
2206
2207 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2208 pthread_rwlock_timedrdlock with calls to
2209 pthread_rwlock_timedwrlock to ensure that the latter is tested
2210 too. Use new function name in diagnostic messages too.
2211
2212 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2213 (do_test) Use libsupport test macros rather than hand-coded
2214 conditionals and error messages. Ensure that sem_init returns zero
2215 rather than not -1. Use <support/test-driver.c> rather than
2216 test-skeleton.c.
2217
2218 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2219 test macros rather than hand-coded conditionals and error messages.
2220 Use <support/test-driver.c> rather than test-skeleton.c.
2221
2222 2019-03-25 Joseph Myers <joseph@codesourcery.com>
2223
2224 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2225
2226 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2227 (NT_MIPS_MSA): Likewise.
2228
2229 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2230
2231 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2232 * benchtests/README: Update description.
2233 * benchtests/bench-timing.h: Default to hp-timing.
2234 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2235 HP_TIMING_PRINT): Remove.
2236 (HP_TIMING_NOW): Add generic implementation.
2237 (hp_timing_t): Change to uint64_t.
2238
2239 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2240 HP_TIMING_INLINE.
2241 * nptl/descr.h: Likewise.
2242 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2243 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2244 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2245 Abstract hp-timing usage with RTLD_* macros.
2246 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2247 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2248 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2249 HP_TIMING_NONAVAIL): Likewise.
2250 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2251 Likewise.
2252 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2253 HP_SMALL_TIMING_AVAIL): Likewise.
2254 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2255 HP_SMALL_TIMING_AVAIL): Likewise.
2256 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2257 HP_SMALL_TIMING_AVAIL): Likewise.
2258 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2259 HP_SMALL_TIMING_AVAIL): Likewise.
2260 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2261 Likewise.
2262 * sysdeps/generic/hp-timing-common.h: Update comment with
2263 HP_TIMING_AVAIL removal.
2264
2265 * include/random-bits.h: New file.
2266 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2267 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2268 random_bits.
2269 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2270 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2271 Likewise.
2272
2273 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2274 * rt/Makefile (clock-routines): Remove get_clockfreq.
2275 * rt/get_clockfreq.c: Remove file.
2276 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2277 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2278 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2279 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2280 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2281
2282 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2283 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2284 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2285 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2286 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2287
2288 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2289 pthread_clock_settime.
2290 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2291 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2292 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2293 * elf/rtld.c (_dl_start_final): Likewise.
2294 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2295 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2296 Remove.
2297 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2298 (_dl_cpuclock_offset): Remove.
2299 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2300 cpuclock_offset_ununsed.
2301 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2302 cpuclock_offset set.
2303 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2304 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2305 * nptl/pthread_clock_gettime.c: Remove file.
2306 * nptl/pthread_clock_settime.c: Likewise.
2307 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2308 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2309 and CLOCK_PROCESS_CPUTIME_ID support.
2310 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2311 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2312 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2313 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2314 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2315 Likewise.
2316 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2317
2318 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2319
2320 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2321 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2322 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2323 New defines.
2324 * sysdeps/s390/memmem-arch13.S: New file.
2325 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2326 if it is only used as fallback.
2327 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2328 * sysdeps/s390/multiarch/ifunc-impl-list.c
2329 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2330
2331 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2332
2333 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2334 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2335 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2336 New defines.
2337 * sysdeps/s390/multiarch/ifunc-impl-list.c
2338 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2339 * sysdeps/s390/strstr-arch13.S: New file.
2340 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2341 if it is only used as fallback.
2342 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2343
2344 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2345
2346 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2347 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2348 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2349 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2350 ifunc selector.
2351 * sysdeps/s390/multiarch/ifunc-impl-list.c
2352 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2353 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2354 S390_IS_ARCH13_MIE3): New defines.
2355
2356 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2357
2358 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2359 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2360 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2361 * sysdeps/s390/configure: Regenerated.
2362
2363 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2364
2365 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2366 Add vxe2, vxp, dflt, sort flags.
2367 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2368 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2369 capabilities.
2370 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2371 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2372 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2373 HWCAP_S390_DFLT): Define.
2374
2375 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2376
2377 [BZ #24372]
2378 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2379 of compiler warning.
2380 * locale/programs/ld-collate.c (collate_output): Likewise.
2381
2382 2019-03-21 DJ Delorie <dj@redhat.com>
2383
2384 [BZ #24372]
2385 * iconv/iconvconfig.c (write_output): Replace floating point math
2386 with integer math to avoid imprecise results.
2387 * locale/programs/ld-collate.c (collate_output): Likewise.
2388
2389 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
2390
2391 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2392 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2393
2394 2019-03-20 mansayk <6688000@gmail.com>
2395
2396 [BZ #24296]
2397 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2398 (abday): Likewise, but remove the trailing dots.
2399
2400 2019-03-19 Joseph Myers <joseph@codesourcery.com>
2401
2402 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2403 macro.
2404 (HWCAP_PACA): Likewise.
2405 (HWCAP_PACG): Likewise.
2406 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2407 Increase to 32.
2408 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2409
2410 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2411
2412 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2413 should be handled.
2414
2415 2019-03-15 Joseph Myers <joseph@codesourcery.com>
2416
2417 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2418 version to 5.0.
2419 (old_getpagesize): New syscall.
2420
2421 2019-03-15 Felix Yan <felixonmars@archlinux.org>
2422
2423 [BZ #24293]
2424 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2425 * localedata/locales/cmn_TW (era): Likewise.
2426 * localedata/locales/hak_TW (era): Likewise.
2427 * localedata/locales/lzh_TW (era): Likewise.
2428 * localedata/locales/nan_TW (era): Likewise.
2429
2430 2019-03-14 Adam Maris <amaris@redhat.com>
2431
2432 * malloc/malloc.c (_int_malloc): Check for large bin list
2433 corruption when inserting unsorted chunk.
2434
2435 2019-03-14 Florian Weimer <fweimer@redhat.com>
2436
2437 Remove obsolete, never-implemented XSI STREAMS declarations.
2438 * manual/terminal.texi (Allocation): Remove portability note and
2439 adjust example.
2440 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2441 _SC_STREAMS.
2442 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2443 * sysdeps/unix/inet/Subdirs (streams): Remove.
2444 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2445 (conformtest-headers-UNIX98): Likewise.
2446 (conformtest-headers-XOPEN2K): Likewise.
2447 (conformtest-headers-POSIX2008): Likewise.
2448 * posix/compat-streams.c: New file.
2449 * posix/Makefile (routines): Add it.
2450 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2451 getpmsg, isastream, putmsg, putpmsg.
2452 (GLIBC_2.30): New section.
2453 * bits/stropts.h: Remove file.
2454 * bits/xtitypes.h: Likewise.
2455 * conform/data/stropts.h-data: Likewise.
2456 * include/stropts.h: Likewise.
2457 * include/sys/stropts.h: Likewise.
2458 * include/xtitypes.h: Likewise.
2459 * streams/Makefile: Likewise.
2460 * streams/fattach.c: Likewise.
2461 * streams/fdetach.c: Likewise.
2462 * streams/getmsg.c: Likewise.
2463 * streams/getpmsg.c: Likewise.
2464 * streams/isastream.c: Likewise.
2465 * streams/putmsg.c: Likewise.
2466 * streams/putpmsg.c: Likewise.
2467 * streams/stropts.h: Likewise.
2468 * streams/sys/stropts.h: Likewise.
2469 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2470 * sysdeps/s390/bits/xtitypes.h: Likewise.
2471 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2472 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2473 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2474 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2475 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2476 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2477 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2478 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2479 * sysdeps/x86/bits/xtitypes.h: Likewise.
2480
2481 2019-03-14 Florian Weimer <fweimer@redhat.com>
2482
2483 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2484 libnss_files.
2485 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2486 but not with libnss_files.
2487 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2488
2489 2019-03-14 Zack Weinberg <zackw@panix.com>
2490
2491 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2492 Specify encoding="utf-8" when opening headers to check.
2493
2494 2019-03-13 Joseph Myers <joseph@codesourcery.com>
2495
2496 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2497 version to 5.0.
2498 (Context.checkout_tar): Handle variable major version for Linux
2499 kernel.
2500
2501 2019-03-13 Florian Weimer <fweimer@redhat.com>
2502
2503 [BZ #24047]
2504 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2505
2506 2019-03-13 Zack Weinberg <zackw@panix.com>
2507
2508 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2509 Move to stdlib.
2510 * include/inttypes.h: Adjust to match.
2511 * include/stdint.h: New wrapper.
2512
2513 2019-03-13 Zack Weinberg <zackw@panix.com>
2514
2515 * scripts/check-obsolete-constructs.py: New test script.
2516 * scripts/check-installed-headers.sh: Remove tests for
2517 obsolete typedefs, superseded by check-obsolete-constructs.py.
2518 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2519 as a special test. Update commentary.
2520 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2521 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2522 Update commentary.
2523 * posix/sys/types.h (__u_intN_t): Remove.
2524 (u_int8_t): Typedef using __uint8_t.
2525 (u_int16_t): Typedef using __uint16_t.
2526 (u_int32_t): Typedef using __uint32_t.
2527 (u_int64_t): Typedef using __uint64_t.
2528
2529 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
2530
2531 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2532 call _dl_procinfo.
2533 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2534 Ignore types other than AT_HWCAP.
2535 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2536 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2537 Likewise.
2538 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2539 in the case of falling back to generic output mechanism.
2540 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2541 Likewise.
2542
2543 2019-03-12 Florian Weimer <fweimer@redhat.com>
2544
2545 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2546
2547 2019-03-12 Florian Weimer <fweimer@redhat.com>
2548
2549 [BZ #24047]
2550 resolv: Enable full ICMP errors for UDP DNS sockets
2551 * resolv/res_enable_icmp.c: New file.
2552 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2553 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2554 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2555 socket.
2556
2557 2019-03-11 Mao Han <han_mao@c-sky.com>
2558
2559 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2560 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2561
2562 2019-03-11 Mao Han <han_mao@c-sky.com>
2563
2564 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2565 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2566 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2567
2568 2019-03-11 Mao Han <han_mao@c-sky.com>
2569
2570 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2571 directly.
2572 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2573 definition.
2574
2575 2019-03-11 Mao Han <han_mao@c-sky.com>
2576
2577 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2578 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2579 in mcontext_t
2580
2581 2019-03-08 Mike FABIAN <mfabian@redhat.com>
2582
2583 [BZ #24307]
2584 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2585 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2586 Unicode 12.0.0.
2587 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2588 * localedata/unicode-gen/PropList.txt: Likewise.
2589 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2590 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2591 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2592 * localedata/charmaps/UTF-8: Regenerate.
2593 * localedata/locales/i18n_ctype: Likewise.
2594 * localedata/locales/tr_TR: Likewise.
2595 * localedata/locales/translit_circle: Likewise.
2596 * localedata/locales/translit_cjk_compat: Likewise.
2597 * localedata/locales/translit_combining: Likewise.
2598 * localedata/locales/translit_compat: Likewise.
2599 * localedata/locales/translit_font: Likewise.
2600 * localedata/locales/translit_fraction: Likewise.
2601
2602 2019-03-07 Joseph Myers <joseph@codesourcery.com>
2603
2604 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2605 than after operators.
2606 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2607 (setitimer_locked): Likewise.
2608 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2609 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2610 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2611 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2612 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2613 (PPC_CPU_SUPPORTED): Likewise.
2614 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2615 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2616 (stat_overflow): Likewise.
2617 (statfs_overflow): Likewise.
2618 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2619 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2620 (eq_ttyname_r): Likewise.
2621 (run_chroot_tests): Likewise.
2622
2623 2019-03-07 Florian Weimer <fweimer@redhat.com>
2624
2625 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2626 header check.
2627
2628 2019-03-07 Martin Liska <mliska@suse.cz>
2629
2630 * math/Makefile: Change location where math-vector-fortran.h is
2631 installed.
2632 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2633 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2634 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2635 * scripts/check-installed-headers.sh: Skip Fortran header files.
2636 * scripts/check-wrapper-headers.py: Likewise.
2637
2638 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2639
2640 * nptl/nptl-init.c (__have_futex_clock_realtime,
2641 __have_futex_clock_realtime): Remove definition.
2642 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2643 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2644 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2645 __ASSUME_FUTEX_CLOCK_REALTIME support.
2646 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2647 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2648 * sysdeps/unix/sysv/linux/kernel-features.h
2649 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2650 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2651 Adjust comment.
2652
2653 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2654
2655 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2656 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2657 __GI___wcscpy and wcscpy.
2658
2659 2019-03-04 Florian Weimer <fweimer@redhat.com>
2660
2661 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2662 declaration.
2663 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2664 defined.
2665
2666 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
2667
2668 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2669 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2670
2671 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2672
2673 [BZ #24162]
2674 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2675 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2676
2677 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2678
2679 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2680 tests.
2681 (do_test): Likewise.
2682 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2683 (do_test_call_varg): Likewise.
2684 (do_test_call_rarg): Likewise.
2685 * sysdeps/ieee754/ldbl-opt/Makefile
2686 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2687 tst-nldbl-error.
2688 ($(objpfx)tst-nldbl-warn.c): New rule.
2689 ($(objpfx)tst-nldbl-error.c): Likewise.
2690 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2691 New variables.
2692
2693 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2694
2695 [BZ #23984]
2696 * include/bits/error-ldbl.h: New file.
2697 * include/error.h: Include stdarg.h. Declare internal functions
2698 __error_internal and __error_at_line_internal.
2699 * misc/Makefile (headers): Add bits/error-ldbl.h.
2700 * misc/bits/error-ldbl.h: New file.
2701 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2702 avoid the inclusion of bits/error.h.
2703 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2704 and __nldbl_error_at_line.
2705 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2706 (__nldbl_error, __ndlbl_error_at_line): New functions.
2707 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2708 Redirect error and error_at_line.
2709 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2711 Likewise.
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2713 Likewise.
2714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2715 Likewise.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2717 Likewise.
2718 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2719 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2720 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2721
2722 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2723
2724 [BZ #23984]
2725 * include/bits/err-ldbl.h: New file.
2726 * include/err.h: Add prototypes for the internal functions:
2727 __vwarnx_internal and __vwarn_internal.
2728 * misc/Makefile (headers): Add bits/err-ldbl.h.
2729 * misc/bits/err-ldbl.h: New file.
2730 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2731 defined, i.e.: when -mlong-double-64 is in use.
2732 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2733 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2734 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2735 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2736 (VA_CALL): New macro.
2737 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2738 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2739 functions.
2740 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2741 declare prototypes for the new functions.
2742 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2744 Likewise.
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2746 Likewise.
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2748 Likewise.
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2750 Likewise.
2751 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2752 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2753 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2754
2755 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2756
2757 * sysdeps/ieee754/ldbl-opt/Makefile
2758 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2759 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2760 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2761
2762 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2763
2764 [BZ #23983]
2765 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2766 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2767 * argp/bits/argp-ldbl.h: New file.
2768 * include/argp.h: Include stdarg.h. Add prototypes for internal
2769 functions: __argp_error_internal and __argp_failure_internal.
2770 * include/bits/argp-ldbl.h: New file.
2771 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2772 __nldbl_argp_error and __nldbl_argp_failure.
2773 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2774 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2775 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2776 Redirect argp_error and argp_failure calls.
2777 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2779 Likewise.
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2781 Likewise.
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2783 Likewise.
2784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2785 Likewise.
2786 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2787 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2788 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2789
2790 2019-03-01 Florian Weimer <fweimer@redhat.com>
2791
2792 [BZ #20419]
2793 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2794 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2795 code, to avoid creating an ABI tag note.
2796 (modules-names-nobuild): Add tst-big-note-lib.
2797
2798 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
2799
2800 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2801 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2802
2803 2019-03-01 Florian Weimer <fweimer@redhat.com>
2804
2805 [BZ #20271]
2806 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2807 (__netlink_assert_response): Add additional missing newlines.
2808
2809 2019-02-28 Joseph Myers <joseph@codesourcery.com>
2810
2811 * sysdeps/powerpc/powerpc32/dl-machine.c
2812 (__elf_machine_fixup_plt): Use space before '('.
2813 (__process_machine_rela): Likewise.
2814 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2815 Likewise.
2816 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2817 Likewise.
2818 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2819 Likewise.
2820 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2821 (pattern): Likewise.
2822 (delta): Likewise.
2823 (check_result): Likewise.
2824 (check_excepts): Likewise.
2825 (check_op): Likewise.
2826 (fail_xr): Likewise.
2827 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2828 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2829 (SCNHSZ): Likewise.
2830 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2831 Likewise.
2832 (ARGS): Likewise.
2833 (__makecontext): Likewise.
2834 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2835 Likewise.
2836
2837 2019-02-28 Florian Weimer <fweimer@redhat.com>
2838
2839 [BZ #23937]
2840 elf: Add test with a local IFUNC resolver.
2841 * elf/ifuncmain9.c: New file.
2842 * elf/ifuncmain9pic.c: Likewise.
2843 * elf/ifuncmain9picstatic.c: Likewise.
2844 * elf/ifuncmain9pie.c: Likewise.
2845 * elf/ifuncmain9static.c: Likewise.
2846 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2847 ifuncmain9static, ifuncmain9picstatic.
2848 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2849 Add ifuncmain9, ifuncmain9pic.
2850 * elf/Makefile [multi-arch && build-shared && have-fpie]
2851 (ifunc-pie-tests): Add ifuncmain9pie.
2852 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2853 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2854 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2855
2856 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2857
2858 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2859 * configure: Regenerated.
2860 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2861
2862 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2863
2864 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2865 symbol as __wcspcy instead of wcscpy.
2866
2867 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2868
2869 * include/stdio.h (__renameat2): New hidden prototype.
2870 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2871 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2872 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2873 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2874
2875 2019-02-27 Joseph Myers <joseph@codesourcery.com>
2876
2877 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2878 if statement.
2879
2880 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2881 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2882 * benchtests/bench-strlen.c (do_test): Likewise.
2883 (test_main): Likewise.
2884 * catgets/gencat.c (read_old): Likewise.
2885 * elf/cache.c (load_aux_cache): Likewise.
2886 * iconvdata/bug-iconv8.c (do_test): Likewise.
2887 * math/test-tgmath-ret.c (do_test): Likewise.
2888 * nis/nis_call.c (rec_dirsearch): Likewise.
2889 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2890 * nptl/tst-audit-threads.c (do_test): Likewise.
2891 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2892 * nss/nss_test1.c (init): Likewise.
2893 * nss/test-netdb.c (test_hosts): Likewise.
2894 * posix/execvpe.c (maybe_script_execute): Likewise.
2895 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2896 * stdio-common/tst-printf.c (do_test): Likewise.
2897 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2898 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2899 * stdlib/qsort.c (STACK_SIZE): Likewise.
2900 * stdlib/test-canon.c (do_test): Likewise.
2901 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2902 * string/memcmp.c (OPSIZ): Likewise.
2903 * string/test-strcpy.c (do_test): Likewise.
2904 (do_random_tests): Likewise.
2905 * string/test-strlen.c (do_test): Likewise.
2906 (test_main): Likewise.
2907 * string/test-strrchr.c (do_test): Likewise.
2908 (do_random_tests): Likewise.
2909 * string/tester.c (test_memrchr): Likewise.
2910 (test_memchr): Likewise.
2911 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2912 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2913 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2914 (read_encoded_value_with_base): Likewise.
2915 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2916 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2917 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2918 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2919 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2920 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2921 Likewise.
2922 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2923 Likewise.
2924 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2925 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2926 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2927 Likewise.
2928 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2929 Likewise.
2930 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2931 Likewise.
2932 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2933 Likewise.
2934 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2935 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2936 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2937 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2938 * time/test_time.c (main): Likewise.
2939
2940 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2941
2942 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2943
2944 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2945 wmemcpy.
2946
2947 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2948 wmemcpy.
2949
2950 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2951
2952 * include/wchar.h (__wcscpy): New prototype.
2953 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2954 (__wcscpy): Route internal symbol to generic implementation.
2955 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2956 Add internal __wcscpy alias.
2957 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2958 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2959 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2960 * wcsmbs/wcscpy.c (wcscpy): Add
2961 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2962 use generic implementation.
2963 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2964
2965 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2966 wmemset.
2967
2968 * sysdeps/m68k/wcpcpy.c: Remove file.
2969 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2970
2971 2019-02-26 Joseph Myers <joseph@codesourcery.com>
2972
2973 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2974 than after operators.
2975 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2976 * sysdeps/mach/hurd/getcwd.c
2977 (__hurd_canonicalize_directory_name_internal): Likewise.
2978 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2979 (pthread_mutex_consistent): Likewise.
2980 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2981 Likewise.
2982 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2983 (__pthread_mutex_transfer_np): Likewise.
2984 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2985 (__pthread_mutex_unlock): Likewise.
2986 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2987 (mtx_owned_p): Likewise.
2988 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2989 (pthread_mutexattr_getrobust): Likewise.
2990 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2991 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2992 Likewise.
2993 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2994 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2995 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2996 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2997 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2998 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2999 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
3000 Likewise.
3001 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
3002 Likewise.
3003 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
3004 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
3005 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
3006 (____longjmp_chk): Likewise.
3007 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
3008 Likewise.
3009 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3010 (INTERNAL_SYSCALL): Likewise.
3011 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3012 (INTERNAL_SYSCALL): Likewise.
3013 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3014 (__get_clockfreq_via_cpuinfo): Likewise.
3015
3016 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
3017 comments.
3018 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
3019 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
3020 (WORD_COPY_BWD): Likewise.
3021 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3022 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3023 Likewise.
3024 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
3025 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
3026 comment.
3027 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
3028
3029 2019-02-25 Joseph Myers <joseph@codesourcery.com>
3030
3031 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
3032 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
3033 rather than after operators.
3034 * elf/cache.c (print_cache): Likewise.
3035 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
3036 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
3037 * hurd/hurdinit.c (_hurd_setproc): Likewise.
3038 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
3039 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
3040 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3041 (reauth_proc): Likewise.
3042 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
3043 (__file_name_split_at): Likewise.
3044 (__directory_name_split_at): Likewise.
3045 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3046 * hurd/port2fd.c (_hurd_port2fd): Likewise.
3047 * iconv/gconv_dl.c (do_print): Likewise.
3048 * inet/netinet/in.h (struct sockaddr_in): Likewise.
3049 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
3050 * locale/setlocale.c (new_composite_name): Likewise.
3051 * malloc/memusagestat.c (main): Likewise.
3052 * misc/fstab.c (fstab_convert): Likewise.
3053 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3054 Likewise.
3055 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
3056 (getgrent_next_file): Likewise.
3057 (internal_getgrnam_r): Likewise.
3058 (internal_getgrgid_r): Likewise.
3059 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
3060 Likewise.
3061 (internal_getgrent_r): Likewise.
3062 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3063 (getpwent_next_nss): Likewise.
3064 (getpwent_next_file): Likewise.
3065 (internal_getpwnam_r): Likewise.
3066 (internal_getpwuid_r): Likewise.
3067 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
3068 Likewise.
3069 (getspent_next_nss): Likewise.
3070 (internal_getspnam_r): Likewise.
3071 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3072 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3073 * string/strchr.c (STRCHR): Likewise.
3074 * string/strchrnul.c (STRCHRNUL): Likewise.
3075 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
3076 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3077 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
3078 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
3079 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
3080 Likewise.
3081 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
3082 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3083 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3084 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
3085 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
3086 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
3087 (open_file): Likewise.
3088 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
3089 (pthread_mutexattr_setprotocol): Likewise.
3090 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3091 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3092 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3093 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3094 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3095 Likewise.
3096 (elf_machine_rela): Likewise.
3097 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3098 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3099 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
3100 * sysdeps/posix/rename.c (rename): Likewise.
3101 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
3102 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
3103 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
3104 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
3105 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3106 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
3107 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
3108 Likewise.
3109 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
3110 Likewise.
3111 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
3112 * time/tzfile.c (__tzfile_compute): Likewise.
3113
3114 2019-02-22 Joseph Myers <joseph@codesourcery.com>
3115
3116 * benchtests/bench-memmem.c (simple_memmem): Break lines before
3117 rather than after operators.
3118 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
3119 * crypt/md5.c (md5_finish_ctx): Likewise.
3120 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
3121 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
3122 * elf/cache.c (load_aux_cache): Likewise.
3123 * elf/dl-load.c (open_verify): Likewise.
3124 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3125 * elf/readelflib.c (process_elf_file): Likewise.
3126 * elf/rtld.c (dl_main): Likewise.
3127 * elf/sprof.c (generate_call_graph): Likewise.
3128 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
3129 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3130 * hurd/dtable.c (reauth_dtable): Likewise.
3131 * hurd/getdport.c (__getdport): Likewise.
3132 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
3133 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
3134 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
3135 Likewise.
3136 * hurd/hurdioctl.c (fioctl): Likewise.
3137 * hurd/hurdselect.c (_hurd_select): Likewise.
3138 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
3139 (STOPSIGS): Likewise.
3140 * hurd/hurdstartup.c (_hurd_startup): Likewise.
3141 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
3142 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3143 * hurd/msgportdemux.c (msgport_server): Likewise.
3144 * hurd/setauth.c (_hurd_setauth): Likewise.
3145 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
3146 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
3147 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3148 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
3149 * login/tst-utmp.c (do_check): Likewise.
3150 (simulate_login): Likewise.
3151 * mach/lowlevellock.h (lll_lock): Likewise.
3152 (lll_trylock): Likewise.
3153 * math/test-fenv.c (ALL_EXC): Likewise.
3154 * math/test-fenvinline.c (ALL_EXC): Likewise.
3155 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
3156 * nis/nis_call.c (__do_niscall3): Likewise.
3157 * nis/nis_callback.c (cb_prog_1): Likewise.
3158 * nis/nis_defaults.c (searchaccess): Likewise.
3159 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3160 * nis/nis_ismember.c (internal_ismember): Likewise.
3161 * nis/nis_local_names.c (nis_local_principal): Likewise.
3162 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3163 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3164 Likewise.
3165 * nis/ypclnt.c (yp_match): Likewise.
3166 (yp_first): Likewise.
3167 (yp_next): Likewise.
3168 (yp_master): Likewise.
3169 (yp_order): Likewise.
3170 * nscd/hstcache.c (cache_addhst): Likewise.
3171 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3172 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3173 (internal_getpwuid_r): Likewise.
3174 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3175 * posix/glob.h (__GLOB_FLAGS): Likewise.
3176 * posix/regcomp.c (peek_token): Likewise.
3177 (peek_token_bracket): Likewise.
3178 (parse_expression): Likewise.
3179 * posix/regexec.c (sift_states_iter_mb): Likewise.
3180 (check_node_accept_bytes): Likewise.
3181 * posix/tst-spawn3.c (do_test): Likewise.
3182 * posix/wordexp-test.c (testit): Likewise.
3183 * posix/wordexp.c (parse_tilde): Likewise.
3184 (exec_comm): Likewise.
3185 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3186 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3187 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3188 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3189 * stdio-common/tst-fileno.c (do_test): Likewise.
3190 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3191 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3192 * stdlib/strtod_l.c (round_and_return): Likewise.
3193 (____STRTOF_INTERNAL): Likewise.
3194 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3195 * string/strcspn.c (STRCSPN): Likewise.
3196 * string/test-memmem.c (simple_memmem): Likewise.
3197 * termios/tcsetattr.c (tcsetattr): Likewise.
3198 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3199 * time/asctime.c (asctime_internal): Likewise.
3200 * time/strptime_l.c (__strptime_internal): Likewise.
3201 * time/sys/time.h (timercmp): Likewise.
3202 * time/tzfile.c (__tzfile_compute): Likewise.
3203
3204 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3205
3206 [BZ #21915]
3207 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
3208
3209 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3210
3211 * argp/argp-help.c (__argp_error_internal): New function,
3212 renamed from __argp_error, but that takes a 'mode_flags'
3213 parameter to control the format of long double parameters.
3214 (__argp_error): Converted into a call __argp_error_internal.
3215 (__argp_failure_internal): New function, renamed from
3216 __argp_failure, but that takes a 'mode_flags' parameter.
3217 (__argp_failure): Converted into a call __argp_failure_internal.
3218 * misc/err.c (__vwarnx_internal): New function, renamed from
3219 vwarnx, but that takes a 'mode_flags' parameter.
3220 (vwarnx): Converted into a call to __vwarnx_internal.
3221 (__vwarn_internal): New function, renamed from vwarn, but that
3222 takes a 'mode_flags' parameter.
3223 (vwarn): Converted into a call to __vwarn_internal.
3224 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3225 call to __vfxprintf with 'mode_flags'.
3226 (__error_internal): New function, renamed from error, but that
3227 takes a 'mode_flags' parameter.
3228 (error): Converted into a call to __error_internal.
3229 (__error_at_line_internal): New function, renamed from
3230 error_at_line, but that takes a 'mode_flags' parameter.
3231 (error_at_line): Converted into a call to
3232 __error_at_line_internal.
3233 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3234 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3235 Likewise.
3236
3237 2019-02-20 Martin Liska <mliska@suse.cz>
3238
3239 * math/Makefile: Install math-vector-fortran.h.
3240 * bits/math-vector-fortran.h: New file.
3241 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3242
3243 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3244
3245 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3246 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3247
3248 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
3249
3250 * nptl/pthread_mutex_trylock.c: Fix comment.
3251
3252 2019-02-19 Carlos O'Donell <carlos@redhat.com>
3253
3254 * nptl/pthread_tryjoin.c: Fix comment.
3255
3256 2019-02-18 Joseph Myers <joseph@codesourcery.com>
3257
3258 [BZ #24231]
3259 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3260 after R_SPARC_H34 case.
3261
3262 2019-02-18 Florian Weimer <fweimer@redhat.com>
3263
3264 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3265 (getanswer): Do not call Dprintf.
3266 (res_gethostbyname2_context): Likewise.
3267 (res_gethostbyaddr_context): Likewise.
3268
3269 2019-02-18 Florian Weimer <fweimer@redhat.com>
3270
3271 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3272 declaration.
3273 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3274 Remove definitions.
3275 * libio/stdfiles.c: Update comment.
3276 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3277 set _IO_stdin, _IO_stdout, _IO_stderr.
3278 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3279 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3280 inline function.
3281 (_IO_deallocate_file): New inline function.
3282 * libio/iolibio.h (_IO_vprintf): Remove definition.
3283 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3284 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3285 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3286 _IO_legacy_file.
3287 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3288 __builtin_expect. Use _IO_legacy_file.
3289
3290 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
3291
3292 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3293 Initialize ctid with a known value and remove update of ctid
3294 after clone.
3295 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3296 as assumed current value of ctid_ptr.
3297
3298 2019-02-16 Florian Weimer <fweimer@redhat.com>
3299
3300 Check that non-sysdeps headers have wrapper headers.
3301 * scripts/check-wrapper-headers.py: New file.
3302 * Makefile (tests-special): Add check-wrapper-headers.out.
3303 (check-wrapper-headers.out): New target.
3304 * Rules (tests-special): Add check-wrapper-headers.out.
3305 (check-wrapper-headers.out): New target.
3306
3307 2019-02-16 Florian Weimer <fweimer@redhat.com>
3308
3309 Add missing header wrappers under include/.
3310 * include/ar.h: New file.
3311 * include/bits/mqueue2.h: Likewise.
3312 * include/bits/stdio.h: Likewise.
3313 * include/bits/stdio2.h: Likewise.
3314 * include/fstab.h: Likewise.
3315 * include/fts.h: Likewise.
3316 * include/lastlog.h: Likewise.
3317 * include/netinet/icmp6.h: Likewise.
3318 * include/netinet/igmp.h: Likewise.
3319 * include/netinet/ip6.h: Likewise.
3320 * include/re_comp.h: Likewise.
3321 * include/regexp.h: Likewise.
3322 * include/rpcsvc/bootparam.h: Likewise.
3323 * include/rpcsvc/yp_prot.h: Likewise.
3324 * include/sys/random.h: Likewise.
3325 * include/sys/stropts.h: Likewise.
3326 * include/sys/ttychars.h: Likewise.
3327 * include/sys/vfs.h: Likewise.
3328 * include/wait.h: Likewise.
3329
3330 2019-02-16 Florian Weimer <fweimer@redhat.com>
3331
3332 * nptl_db/proc_service.h: Move to ...
3333 * sysdeps/nptl/proc_service.h: ... here.
3334 * nptl_db/thread_db.h: Move to ...
3335 * sysdeps/nptl/thread_db.h: ... here.
3336 * nptl/descr.h: Include <thread_db.h>.
3337
3338 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3339
3340 * io/Makefile (tests): Add tst-lockf.
3341 * io/lockf.c (lockf): Use __fcntl and only define for
3342 !__OFF_T_MATCHES_OFF64_T.
3343 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3344 __OFF_T_MATCHES_OFF64_T case.
3345 * io/tst-lockf.c: New file.
3346 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3347 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3348 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3349 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3350 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3352 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3353 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3354 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3355
3356 2019-02-15 Florian Weimer <fweimer@redhat.com>
3357
3358 [BZ #24211]
3359 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3360 pd->result after the thread descriptor has been freed.
3361
3362 2019-02-15 Joseph Myers <joseph@codesourcery.com>
3363
3364 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3365 from function return type.
3366
3367 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3368
3369 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3370
3371 * scripts/test_printers_common.py: Set TERM to a known harmless
3372 value.
3373
3374 2019-02-14 Joseph Myers <joseph@codesourcery.com>
3375
3376 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3377 (xdr_u_int): Likewise.
3378 (xdr_enum): Likewise.
3379 (xdr_bytes): Reword fall-through comment.
3380 (xdr_string): Likewise.
3381
3382 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3383
3384 [BZ #2421]
3385 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3386 (tests): Add tst-join8 tst-join9.
3387 * nptl/lll_timedwait_tid.c: Remove file.
3388 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3389 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3390 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3391 * nptl/pthread_join_common.c (timedwait_tid): New function.
3392 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3393 is set.
3394 * nptl/tst-join5.c (thread_join): New function.
3395 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3396 check.
3397 * nptl/tst-join8.c: New file.
3398 * nptl/tst-join9.c: Likewise.
3399 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3400 lll_futex_timed_wait_cancel): Add generic macros.
3401 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3402 Remove definitions.
3403 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3404 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3405 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3406 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3407 Remove function.
3408 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3409 Likewise.
3410 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3411 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3412 (lll_futex_timed_wait_cancel): New macro.
3413
3414 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3415
3416 * benchtests/Makefile: Add malloc-simple benchmark.
3417 * benchtests/bench-malloc-simple.c: New benchmark.
3418
3419 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3420
3421 * benchtests/bench-memmove.c (do_one_test): Remove unused
3422 ORIG_SRC.
3423 (do_test): Adjust.
3424 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3425 ORIG_SRC.
3426 (do_test): Adjust.
3427
3428 2019-01-13 Jim Wilson <jimw@sifive.com>
3429
3430 [BZ #24040]
3431 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3432 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3433 (func): New.
3434 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3435 call func directly.
3436 * nptl/Makefile (tests): Add tst-unwind-thread.
3437 (CFLAGS-tst-unwind-thread.c): Define.
3438 * nptl/tst-unwind-thread.c: New file.
3439 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3440 as undefined.
3441
3442 2019-02-13 Joseph Myers <joseph@codesourcery.com>
3443
3444 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3445 comment wording.
3446 * nis/nis_call.c (__do_niscall3): Likewise.
3447
3448 * catgets/gencat.c (normalize_line): Use braces around empty
3449 'else' body.
3450 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3451 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3452 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3453 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3454 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3455 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3456 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3457 definition.
3458
3459 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3460 execlp returns.
3461
3462 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3463
3464 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3465 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3466 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3467 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3468 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3469 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3470 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3471 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3472 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3473 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3474 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3475 * benchtests/bench-bcopy.c: Delete file.
3476 * benchtests/bench-bzero.c: Likewise.
3477 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3478 (simple_memccpy): Remove.
3479 (generic_memccpy): Add function.
3480 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3481 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3482 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3483 (generic_mempcpy): Add new function.
3484 * benchtests/bench-memset.c (simple_bzero): Remove.
3485 (builtin_bzero): Remove.
3486 (builtin_memset): Remove.
3487 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3488 (generic_rawmemchr): Add new function.
3489
3490 2019-02-12 Florian Weimer <fweimer@redhat.com>
3491
3492 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3493
3494 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3495
3496 [BZ #24122]
3497 * elf/Makefile (tests): Add tst-audit13.
3498 (modules-names): Add tst-audit13mod1.
3499 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3500 rule.
3501 * elf/tst-audit13.c: New file.
3502 * elf/tst-audit13mod1.c: Likewise.
3503
3504 2019-02-12 Florian Weimer <fweimer@redhat.com>
3505
3506 [BZ #24122]
3507 * elf/rtld.c (unload_audit_module): New function.
3508 (report_audit_module_load_error): Likewise.
3509 (load_audit_module): Likewise. Extracted from dl_main. Call
3510 _dl_close if the laversion symbol cannot be found. Use early
3511 returns for error handling. Add malloc error check. Check for a
3512 zero return value from la_version. Remove spurious comment about
3513 static TLS initialization. Remove useless casts.
3514 (notify_audit_modules_of_loaded_object): New function. Extracted
3515 from dl_main.
3516 (load_audit_module): Likewise.
3517 (dl_main): Call load_audit_modules.
3518
3519 2019-02-12 Joseph Myers <joseph@codesourcery.com>
3520
3521 * elf/dl-exception.c (_dl_exception_create_format): Add
3522 fall-through comments.
3523 * elf/ldconfig.c (parse_conf_include): Likewise.
3524 * elf/rtld.c (print_statistics): Likewise.
3525 * locale/programs/charmap.c (parse_charmap): Likewise.
3526 * misc/mntent_r.c (__getmntent_r): Likewise.
3527 * posix/wordexp.c (parse_arith): Likewise.
3528 (parse_backtick): Likewise.
3529 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3530 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3531 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3532
3533 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
3534
3535 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3536 Use float instead of double.
3537
3538 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3539
3540 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3541
3542 2019-02-08 Joseph Myers <joseph@codesourcery.com>
3543
3544 * sysdeps/powerpc/bits/mathinline.h: Remove.
3545
3546 2019-02-08 Florian Weimer <fweimer@redhat.com>
3547
3548 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3549 * math/bits/math-finite.h: Move to ...
3550 * bits/math-finite.h: ... here.
3551
3552 2019-02-08 Florian Weimer <fweimer@redhat.com>
3553
3554 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3555 * bits/unistd_ext.h: here.
3556
3557 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3558
3559 [BZ #21915]
3560 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3561 * nss/tst-nss-files-hosts-long.c: New file.
3562 * nss/tst-nss-files-hosts-long.root: New directory.
3563 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3564 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3565
3566 2019-02-08 Florian Weimer <fweimer@redhat.com>
3567
3568 * include/bits/unistd_ext.h: Remove file.
3569 * posix/bits/unistd_ext.h: Move to ...
3570 * sysdeps/generic/bits/unistd_ext.h: ... here.
3571
3572 2019-02-08 Florian Weimer <fweimer@redhat.com>
3573
3574 * include/bits/unistd_ext.h: New file.
3575
3576 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3577
3578 * time/tst-strftime2.c: Use array_length macros instead of magic
3579 numbers.
3580
3581 2019-02-08 Florian Weimer <fweimer@redhat.com>
3582
3583 [BZ #24161]
3584 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3585 argument.
3586 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3587 locking if the new do_locking argument is true.
3588 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3589 __run_fork_handlers.
3590
3591 2019-02-08 Florian Weimer <fweimer@redhat.com>
3592
3593 [BZ #6399]
3594 Linux: Add gettid system call wrapper.
3595 * posix/Makefile (headers): Add bits/unistd_ext.h.
3596 * posix/bits/unistd_ext.h: New file.
3597 * posix/unistd.h: Include it.
3598 * manual/process.texi (Process Identification): Document gettid.
3599 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3600 tst-gettid, tst-gettid-kill.
3601 (tst-gettid): Link with $(shared-thread-library).
3602 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3603 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3604 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3605 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3606 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3607 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3608 Add gettid.
3609 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3610 Likewise.
3611 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3612 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3613 Likewise.
3614 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3615 Likewise.
3616 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3617 Likewise.
3618 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3619 Likewise.
3620 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3621 Likewise.
3622 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3623 Likewise.
3624 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3625 Likewise.
3626 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3627 (GLIBC_2.30): Likewise.
3628 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3629 (GLIBC_2.30): Likewise.
3630 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3631 (GLIBC_2.30): Likewise.
3632 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3633 (GLIBC_2.30): Likewise.
3634 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3635 Likewise.
3636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3637 (GLIBC_2.30): Likewise.
3638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3639 (GLIBC_2.30): Likewise.
3640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3641 (GLIBC_2.30): Likewise.
3642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3643 (GLIBC_2.30): Likewise.
3644 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3645 Likewise.
3646 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3647 Likewise.
3648 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3649 Likewise.
3650 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3651 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3652 Likewise.
3653 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3654 Likewise.
3655 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3656 Likewise.
3657 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3658 Likewise.
3659 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3660
3661 2019-02-08 Florian Weimer <fweimer@redhat.com>
3662
3663 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3664 compatibility symbols.
3665
3666 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
3667
3668 [BZ #24180]
3669 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3670 Add compiler barriers and comments.
3671
3672 2019-02-07 Florian Weimer <fweimer@redhat.com>
3673
3674 * include/array_length.h (array_length): Do not use a statement
3675 expression and _Static_assert, so that array_length can be used at
3676 file scope and as a constant expression.
3677
3678 2019-02-07 Florian Weimer <fweimer@redhat.com>
3679
3680 * support/xdlfcn.h (xdlmopen): Declare.
3681 * support/xdlmopen.c: New file.
3682 * support/Makefile (libsupport-routines): Add xdlmopen.
3683
3684 2019-02-06 Joseph Myers <joseph@codesourcery.com>
3685
3686 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3687 before return type, without separate inline.
3688 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3689 * elf/dl-tunables.h (tunable_is_name): Likewise.
3690 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3691 (do_set_top_pad): Likewise.
3692 (do_set_mmap_threshold): Likewise.
3693 (do_set_mmaps_max): Likewise.
3694 (do_set_mallopt_check): Likewise.
3695 (do_set_perturb_byte): Likewise.
3696 (do_set_arena_test): Likewise.
3697 (do_set_arena_max): Likewise.
3698 (do_set_tcache_max): Likewise.
3699 (do_set_tcache_count): Likewise.
3700 (do_set_tcache_unsorted_limit): Likewise.
3701 * nis/nis_subr.c (count_dots): Likewise.
3702 * nptl/allocatestack.c (advise_stack_range): Likewise.
3703 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3704 (do_sin): Likewise.
3705 (reduce_sincos): Likewise.
3706 (do_sincos): Likewise.
3707 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3708 (do_set_elision_enable): Likewise.
3709 (TUNABLE_CALLBACK_FNDECL): Likewise.
3710
3711 2019-02-06 Florian Weimer <fweimer@redhat.com>
3712
3713 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3714 (xdlsym): Use dlerror to detect a NULL symbol.
3715
3716 2019-02-06 Florian Weimer <fweimer@redhat.com>
3717
3718 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3719 <stap-probe.h>.
3720 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3721
3722 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3723
3724 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3725
3726 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3727
3728 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3729 __wmemcmp and weak alias to wmemcmp.
3730
3731 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3732
3733 [BZ #23403]
3734 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3735 TLS_TCB_AT_TP tls variant.
3736 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3737 Add alignment checks.
3738 * support/Makefile (libsupport-routines): Add xposix_memalign and
3739 xpthread_setstack.
3740 * support/support.h: Add xposix_memalign.
3741 * support/xthread.h: Add xpthread_attr_setstack.
3742 * support/xposix_memalign.c: New File.
3743 * support/xpthread_attr_setstack.c: Likewise.
3744
3745 2019-02-05 Florian Weimer <fweimer@redhat.com>
3746
3747 [BZ #24164]
3748 arm: Use "nr" constraint for Systemtap probes, to avoid the
3749 compiler using memory operands for constants, due to the "o"
3750 alternative in the default "nor" constraint.
3751 * include/stap-probe.h [USE_STAP_PROBE]: Include
3752 <stap-probe-machine.h>
3753 * sysdeps/generic/stap-probe-machine.h: New file.
3754 * sysdeps/arm/stap-probe-machine.h: Likewise.
3755
3756 2019-02-04 Joseph Myers <joseph@codesourcery.com>
3757
3758 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3759 with 0, not tcache->entries[tc_idx].
3760
3761 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3762 once.
3763
3764 2019-02-04 Andreas Schwab <schwab@suse.de>
3765
3766 [BZ #16976]
3767 [BZ #17396]
3768 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3769 looking up collating elements match against (wide) character
3770 sequence instead of name. Correct alignment adjustment.
3771 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3772 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3773 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3774 (LOCALES): Add cs_CZ.ISO-8859-2.
3775 * posix/tst-fnmatch4.c: New file.
3776 * posix/tst-fnmatch5.c: New file.
3777 * include/wchar.h (__wmemcmp): Declare.
3778 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3779 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3780 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3781 * sysdeps/s390/wmemcmp.c: Likewise.
3782
3783 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3784
3785 [BZ #24155]
3786 CVE-2019-7309
3787 * NEWS: Updated for CVE-2019-7309.
3788 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3789 upper 32 bits of RDX register for x32. Use unsigned Jcc
3790 instructions, instead of signed.
3791 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3792 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3793
3794 2019-02-04 Florian Weimer <fweimer@redhat.com>
3795
3796 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3797 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3798 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3799 Likewise.
3800 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3801 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3802 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3803 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3804 Likewise.
3805 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3806 Likewise.
3807 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3808 Likewise.
3809 (posix_spawn_file_actions_addopen): Likewise.
3810 (posix_spawn_file_actions_addclose): Likewise.
3811 (posix_spawn_file_actions_adddup2): Likewise.
3812 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3813 qualifiers.
3814 (posix_spawn_file_actions_addfchdir_np): Likewise.
3815
3816 2019-02-04 David Newall <glibc@davidnewall.com>
3817
3818 elf: Implement --preload option for the dynamic linker.
3819 * elf/rtld.c (preloadarg): New variable.
3820 (handle_preload_list): Pass through “where” argument to
3821 do_preload.
3822 (dl_main): Handle "--preload" and add second call to
3823 handle_preload_list.
3824 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3825 (tst-rtld-preload-OBJS): Set variable.
3826 (tst-rtld-preload.out): New target.
3827 * elf/tst-rtld-preload.sh: New file.
3828
3829 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3830
3831 * Makefile (testrun.sh): Exit in case of incorrect argument.
3832
3833 2019-02-04 Florian Weimer <fweimer@redhat.com>
3834
3835 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3836 alignment gaps.
3837
3838 2019-02-03 Florian Weimer <fweimer@redhat.com>
3839
3840 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3841 implicit overflow checks.
3842
3843 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3844
3845 * stdlib/isomac.c: Include <unistd.h>.
3846
3847 2019-02-03 Florian Weimer <fweimer@redhat.com>
3848
3849 * include/time.h (__tzfile_default): Use int, not long int, for
3850 the GMT offsets.
3851 * time/tzfile.c (struct ttinfo): Change type of the offset member
3852 to int.
3853 (__tzfile_read): Remove useless cast.
3854 (__tzfile_default): Adjust prototype.
3855 * time/tzset.c (tz_rule): Change type of the offset member to int.
3856 (parse_offset): Change the type of the sign variable to int.
3857
3858 2019-02-03 Florian Weimer <fweimer@redhat.com>
3859
3860 [BZ #24153]
3861 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3862 * libio/getchar.c (getchar): Likewise.
3863 * libio/getchar_u.c (getchar_unlocked): Likewise.
3864 * libio/getwchar.c (getwchar): Likewise.
3865 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3866 * libio/iogets.c (_IO_gets): Likewise.
3867 * libio/vscanf.c (_IO_vscanf): Likewise.
3868 * libio/vwscanf.c (__vwscanf): Likewise.
3869 * libio/tst-bz24153.c: New file.
3870 * libio/Makefile (tests): Add it.
3871
3872 2019-02-02 Florian Weimer <fweimer@redhat.com>
3873
3874 [BZ #14829]
3875 * manual/resource.texi (Basic Scheduling Functions): Add
3876 portability note. Change process to task throughout the section.
3877 Remove incorrect comment about sched_yield as it affects
3878 tasks/threads, not entire processes.
3879 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3880 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3881
3882 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3883
3884 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3885 * configure: Regenerated.
3886 * manual/install.texi (Tools for Compilation): Update minimum GCC
3887 version.
3888 * INSTALL: Regenerated.
3889
3890 2019-02-01 Florian Weimer <fweimer@redhat.com>
3891
3892 * support/support_test_compare_string.c
3893 (support_test_compare_string): Use "string" in error message.
3894 * support/tst-test_compare_string.c (do_test): Adjust.
3895
3896 2019-02-01 Florian Weimer <fweimer@redhat.com>
3897
3898 * support/support_format_address_family.c
3899 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3900
3901 2019-02-01 Florian Weimer <fweimer@redhat.com>
3902
3903 * manual/socket.texi (Internet Address Formats): Clarify the byte
3904 order of struct sockaddr_in, struct sockaddr_in6. Document
3905 sin6_flowinfo and sin6_scope_id.
3906
3907 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3908
3909 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3910 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3911 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3912 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3913 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3914 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3915
3916 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3917
3918 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3919 [!MEMCHR](MEMCHR): Set to __memchr.
3920 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3921 Add memchr_generic and memchr_nosimd.
3922 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3923 (__libc_ifunc_impl_list): Add memchr ifuncs.
3924 * sysdeps/aarch64/multiarch/memchr.c: New file.
3925 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3926 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3927
3928 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3929
3930 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3931 Add memset_emag.
3932 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3933 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3934 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3935 Add IS_EMAG check for ifunc dispatch.
3936 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3937 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3938
3939 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3940
3941 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3942 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3943 Add emag.
3944 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3945 New macro.
3946
3947 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
3948
3949 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3950
3951 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
3952
3953 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3954 syscall-template file.
3955
3956 2019-01-31 Carlos O'Donell <carlos@redhat.com>
3957 Torvald Riegel <triegel@redhat.com>
3958 Rik Prohaska <prohaska7@gmail.com>
3959
3960 [BZ# 23844]
3961 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3962 tst-rwlock-trywrlock-stall.
3963 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3964 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3965 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3966 Set __wrphase_fute to 1 only if we started the write phase.
3967 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3968 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3969 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3970 * support/xpthread_rwlock_destroy.c: New file.
3971 * support/xthread.h: Declare xpthread_rwlock_destroy.
3972
3973 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3974
3975 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3976 version to 4.0.2.
3977
3978 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3979
3980 [BZ #24051]
3981 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3982 * libio/fileops.c (_IO_new_file_underflow): Likewise
3983 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3984 * libio/putchar.c (putchar): Likewise.
3985 * libio/putchar_u.c (putchar_unlocked): Likewise.
3986 * libio/putwchar.c (putchar): Likewise.
3987 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3988 * libio/tst-bz24051.c: New test.
3989 * libio/Makefile (tests): Add tst-bz24051
3990
3991 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3992
3993 CVE-2019-9169
3994 regex: fix read overrun [BZ #24114]
3995 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3996 https://debbugs.gnu.org/34140
3997 * posix/regexec.c (proceed_next_node):
3998 Do not read past end of input buffer.
3999
4000 2019-01-31 Florian Weimer <fweimer@redhat.com>
4001
4002 [BZ #24059]
4003 * nss/nss_files/files-alias.c (get_next_alias): Handle
4004 continuation line without newline at the end.
4005 * nss/tst-nss-files-alias-truncated.c: New file.
4006 * nss/Makefile [$(build-shared)] (tests): Add
4007 tst-nss-files-alias-truncated.
4008 (tst-nss-files-alias-truncated): Link with libnss_files.so.
4009 * support/namespace.h (struct support_chroot_configuration): Add
4010 aliases member.
4011 (struct support_chroot): Add path_aliases member.
4012 * support/support_chroot.c (support_chroot_create): Handle
4013 aliases.
4014 (support_chroot_free): Free path_aliases.
4015
4016 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4017
4018 * version.h (RELEASE): Set to "development".
4019 (VERSION): Set to "2.29.9000".
4020 * NEWS: Add section for 2.30.
4021
4022 * version.h (RELEASE): Set to "stable".
4023 (VERSION): Set to "2.29".
4024 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
4025
4026 * NEWS: Add the list of bugs fixed in 2.29.
4027 * manual/contrib.texi: Update contributors list with some more
4028 names.
4029 * manual/install.texi: Update latest versions of packages
4030 tested.
4031 * INSTALL: Regenerated.
4032
4033 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4034
4035 * po/be.po: Update translations.
4036 * po/bg.po: Likewise.
4037 * po/ca.po: Likewise.
4038 * po/cs.po: Likewise.
4039 * po/da.po: Likewise.
4040 * po/de.po: Likewise.
4041 * po/el.po: Likewise.
4042 * po/eo.po: Likewise.
4043 * po/es.po: Likewise.
4044 * po/fi.po: Likewise.
4045 * po/fr.po: Likewise.
4046 * po/gl.po: Likewise.
4047 * po/hr.po: Likewise.
4048 * po/hu.po: Likewise.
4049 * po/ia.po: Likewise.
4050 * po/id.po: Likewise.
4051 * po/it.po: Likewise.
4052 * po/ja.po: Likewise.
4053 * po/ko.po: Likewise.
4054 * po/lt.po: Likewise.
4055 * po/nb.po: Likewise.
4056 * po/nl.po: Likewise.
4057 * po/pl.po: Likewise.
4058 * po/pt_BR.po: Likewise.
4059 * po/ru.po: Likewise.
4060 * po/rw.po: Likewise.
4061 * po/sk.po: Likewise.
4062 * po/sl.po: Likewise.
4063 * po/sv.po: Likewise.
4064 * po/tr.po: Likewise.
4065 * po/uk.po: Likewise.
4066 * po/vi.po: Likewise.
4067 * po/zh_CN.po: Likewise.
4068 * po/zh_TW.po: Likewise.
4069
4070 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
4071
4072 [BZ #24130]
4073 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
4074 of $f3 register on $y_is_neg path.
4075
4076 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
4077
4078 [BZ #24110]
4079 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
4080 sigaltstack.ss_flags.
4081
4082 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
4083
4084 [BZ #23758]
4085 * manual/time.texi (strftime): Document "%Ey".
4086 * time/strftime_l.c (__strftime_internal): Set the default width
4087 padding with zero of "%Ey" to 2.
4088
4089 [BZ #24096]
4090 * manual/time.texi (strftime): Document "%EC" and "%EY".
4091 * time/Makefile (tests): Add tst-strftime2.
4092 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
4093 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
4094 override padding for "%Ey".
4095 If an optional flag ('_' or '-') is specified to "%EY", interpret the
4096 "%Ey" in the subformat as if decorated with that flag.
4097 * time/tst-strftime2.c: New file.
4098
4099 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4100
4101 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
4102 are not defined.
4103
4104 [BZ #24122]
4105 * elf/Makefile (tests): Add tst-audit13.
4106 (modules-names): Add tst-audit13mod1.
4107 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4108 rule.
4109 * elf/rtld.c (dl_main): Handle invalid audit module version.
4110 * elf/tst-audit13.c: New file.
4111 * elf/tst-audit13mod1.c: Likewise.
4112
4113 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4114
4115 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
4116 returned by __hurd_at_flags.
4117 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
4118 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
4119 directly instead of __hurd_file_name_lookup.
4120
4121 2019-01-21 Joseph Myers <joseph@codesourcery.com>
4122
4123 * scripts/build-many-glibcs.py (Context.checkout): Default
4124 binutils version to 2.32 branch.
4125
4126 2019-01-21 Florian Weimer <fweimer@redhat.com>
4127
4128 [BZ #20018]
4129 CVE-2016-10739
4130 resolv: Reject trailing characters in host names
4131 * include/arpa/inet.h (__inet_aton_exact): Declare.
4132 (inet_aton): Remove hidden prototype. No longer used internally.
4133 * nscd/gai.c (__inet_aton): Do not define.
4134 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
4135 * nss/digits_dots.c (__inet_aton): Likewise.
4136 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
4137 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
4138 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
4139 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
4140 (tst-resolv-trailing): Likewise.
4141 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
4142 libc.
4143 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
4144 Make static. Add endp parameter.
4145 (__inet_aton_exact): New function.
4146 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
4147 (__inet_addr): Call inet_aton_end.
4148 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
4149 not just IPv6. Call __inet_aton_exact.
4150 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
4151 (tests): Make const. Add additional test cases with trailing
4152 characters.
4153 (do_test): Use array_length.
4154 * resolv/tst-inet_aton_exact.c: New file.
4155 * resolv/tst-resolv-trailing.c: Likewise.
4156 * resolv/tst-resolv-nondecimal.c: Likewise.
4157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
4158
4159 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4160
4161 [BZ# 24097]
4162 CVE-2019-6488
4163 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4164 Clear the upper 32 bits of RSI register.
4165 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4166 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4167 and tst-size_t-wcsnlen.
4168 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4169 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4170
4171 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4172
4173 [BZ# 24097]
4174 CVE-2019-6488
4175 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4176 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4177 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4178 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4179 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4180
4181 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4182
4183 [BZ# 24097]
4184 CVE-2019-6488
4185 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4186 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4187 * sysdeps/x86_64/strcmp.S: Likewise.
4188 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4189 tst-size_t-strncmp and tst-size_t-wcsncmp.
4190 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4191 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4192 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4193
4194 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4195
4196 [BZ# 24097]
4197 CVE-2019-6488
4198 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4199 RDX_LP for length. Clear the upper 32 bits of RDX register.
4200 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4201 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4202 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4203 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4204
4205 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4206
4207 [BZ# 24097]
4208 CVE-2019-6488
4209 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4210 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4211 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4212 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4213
4214 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4215
4216 [BZ# 24097]
4217 CVE-2019-6488
4218 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4219 length. Clear the upper 32 bits of RDX register.
4220 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4221 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4222 Likewise.
4223 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4224 Likewise.
4225 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4226 tst-size_t-wmemchr.
4227 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4228
4229 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4230
4231 [BZ# 24097]
4232 CVE-2019-6488
4233 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4234 length. Clear the upper 32 bits of RDX register.
4235 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4236 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4237 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4238 tst-size_t-wmemcmp.
4239 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4240 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4241
4242 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4243
4244 [BZ# 24097]
4245 CVE-2019-6488
4246 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4247 upper 32 bits of RDX register.
4248 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4249 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4250 tst-size_t-wmemchr.
4251 * sysdeps/x86_64/x32/test-size_t.h: New file.
4252 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4253 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4254
4255 2019-01-18 Florian Weimer <fweimer@redhat.com>
4256
4257 [BZ #24112]
4258 resolv: Do not send queries for non-host-names in nss_dns.
4259 * resolv/nss_dns/dns-host.c (check_name): New function.
4260 (_nss_dns_gethostbyname2_r): Use it.
4261 (_nss_dns_gethostbyname_r): Likewise.
4262 (_nss_dns_gethostbyname4_r): Likewise.
4263
4264 2019-01-21 Florian Weimer <fweimer@redhat.com>
4265
4266 * resolv/inet_addr.c: Reformat to GNU style.
4267 (__inet_addr, __inet_aton): Update comment.
4268
4269 2019-01-18 Florian Weimer <fweimer@redhat.com>
4270
4271 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4272 ("malloc: Use current (C11-style) atomics for fastbin access").
4273 This commit introduces a substantial performance regression on
4274 POWER and Aarch64.
4275 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4276 (REMOVE_FB): Define.
4277 (_int_malloc): Use it and reindent.
4278 (_int_free): Use CAS loop with
4279 catomic_compare_and_exchange_val_rel.
4280 (malloc_consolidate): Use atomic_exchange_acq.
4281
4282
4283 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4284
4285 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4286 -Wl,-z,now.
4287 (LDFLAGS-tst-minsigstksz-2): Likewise.
4288 (LDFLAGS-tst-minsigstksz-3): Likewise.
4289 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4290 (LDFLAGS-tst-minsigstksz-4): Likewise.
4291
4292 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4293
4294 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4295 than "alternate".
4296
4297 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
4298
4299 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4300
4301 2019-01-16 Zack Weinberg <zackw@panix.com>
4302
4303 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4304 (xget_sigstack_location): New test support functions.
4305 * support/xsigstack.c: New file, implementing them.
4306 * support/tst-xsigstack.c: New test for them.
4307 * support/Makefile: Update.
4308
4309 * signal/tst-minsigstksz-1.c
4310 * signal/tst-minsigstksz-2.c
4311 * signal/tst-minsigstksz-3.c
4312 * signal/tst-minsigstksz-3a.c
4313 * signal/tst-minsigstksz-4.c: New tests.
4314 * signal/Makefile: Run them.
4315
4316 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4317
4318 * po/libc.pot: Regenerate.
4319
4320 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4321
4322 * math/libm-test-fma.inc (fma_test_data): Set
4323 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4324
4325 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4326
4327 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4328 (do_test): Changed __vector __int128_t to __vector unsigned int.
4329
4330 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4331
4332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4333 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4334 stpcpy-avx2 and stpncpy-avx2.
4335 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4336 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4337 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4338 and __stpncpy_avx2.
4339 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4340 ifunc-strcpy.h}: rename header for a more generic name.
4341 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4342 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4343 AVX unaligned load is fast and vzeroupper is preferred.
4344 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4345 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4346 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4347 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4348 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4349 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4350
4351 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4352
4353 * argp/argp-help.c: Fix typo in comment.
4354 * misc/sys/cdefs.h: Likewise.
4355 * posix/regexec.c (sift_states_iter_mb): Likewise.
4356 * socket/sockatmark.c: Likewise.
4357 * socket/sys/socket.h: Likewise.
4358 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4359 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4360 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4361 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4362 * sysdeps/unix/sockatmark.c: Likewise.
4363 * time/strptime_l.c: Likewise.
4364
4365 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4366
4367 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4368 missing space after the cast of "_NL_CURRENT".
4369
4370 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4371
4372 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4373 ifdef to fix read of VSCR.
4374 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4375 tst-ucontext-ppc64-vscr.c to test list.
4376 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4377
4378 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4379
4380 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4381 fall-through.
4382
4383 2019-01-09 Jim Wilson <jimw@sifive.com>
4384
4385 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4386
4387 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4388
4389 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4390 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4391 __memcpy_falkor for ares.
4392 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4393 Add new define.
4394 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4395 Add ares cpu.
4396
4397 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4398
4399 [BZ #24066]
4400 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4401 4_FP_W_TYPEs are used for IEEE quad precision.
4402 * soft-fp/extendhftf2.c: Likewise.
4403 * soft-fp/extendsftf2.c: Likewise.
4404 * soft-fp/extendxftf2.c: Likewise.
4405 * soft-fp/trunctfdf2.c: Likewise.
4406 * soft-fp/trunctfhf2.c: Likewise.
4407 * soft-fp/trunctfsf2.c: Likewise.
4408 * soft-fp/trunctfxf2.c: Likewise.
4409 * sysdeps/alpha/ots_cvttx.c: Likewise.
4410 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4411 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4412 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4413 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4414 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4415 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4416 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4417 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4418 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4419 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4420 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4421 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4422 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4423 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4424 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4425 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4426 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4427
4428 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4429
4430 [BZ #24024]
4431 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4432 code with -fmath-errno.
4433 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4434 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4435 * string/test-strerror-errno.c: New file.
4436
4437 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4438
4439 [BZ #24046]
4440 * localedata/locales/en_US (date_fmt): Add, set to
4441 "%a %d %b %Y %r %Z".
4442
4443 2019-01-07 Florian Weimer <fweimer@redhat.com>
4444
4445 [BZ #24063]
4446 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4447 instead of @var{errno}.
4448 (Parsing of Integers): Likewise.
4449 (Parsing of Floats): Likewise.
4450 * manual/filesys.texi (Working with Directory Trees): Likewise.
4451 (Temporary Files): Likewise.
4452 * manual/job.texi (Terminal Access Functions): Likewise.
4453 * manual/llio.texi (Synchronizing I/O): Likewise.
4454 * manual/math.texi (SVID Random): Likewise.
4455 * manual/message.texi (The catgets Functions): Likewise.
4456 (Translation with gettext): Likewise.
4457 (Locating gettext catalog): Likewise.
4458 (Charset conversion in gettext): Likewise.
4459 * manual/nss.texi (NSS Module Function Internals): Likewise.
4460 * manual/search.texi (Hash Search Function): Likewise.
4461 * manual/setjmp.texi (System V contexts): Likewise.
4462 * manual/time.texi (Sleeping): Likewise.
4463 * manual/users.texi (Lookup User): Likewise.
4464 (Lookup Group): Likewise.
4465
4466 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4467
4468 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4469 fix typo.
4470
4471 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
4472
4473 [BZ #19444]
4474 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4475 __builtin_unreachable for default case in switch.
4476 (__ieee754_yn): Likewise.
4477 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4478 (__ieee754_ynl): Likewise.
4479 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4480 (__ieee754_ynl): Likewise.
4481 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4482 (__ieee754_ynl): Likewise.
4483
4484 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4485
4486 * manual/maint.texi: Use @{ and @}.
4487
4488 2019-01-04 Florian Weimer <fweimer@redhat.com>
4489
4490 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4491 function.
4492 (do_in_chroot_1): Call it.
4493 (run_chroot_tests):
4494 Improve error reporting in case it is not possible to create a
4495 collision for the PTY name required by the test.
4496
4497 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4498
4499 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4500 lll_wait_tid with timeout.
4501 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4502 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4503 futex_reltimed_wait_cancelable for cancelabla mode.
4504 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4505 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4506 macros.
4507 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4508 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4509 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4510 SYSCALL_CANCEL_NCS): New macro.
4511 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4512 (lll_timedwait_tid): Remove macro.
4513 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4514 Likewise.
4515 (lll_timedwait_tid): Likewise.
4516 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4517 Likewise.
4518 (lll_timedwait_tid): Likewise.
4519 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4520 Likewise.
4521 (lll_timedwait_tid): Likewise.
4522 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4523 Use INTERNAL_SYSCALL_CANCEL.
4524 * sysdeps/unix/sysv/linux/futex-internal.h
4525 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4526 instead of __pthread_{enable,disable}_asynccancel.
4527 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4528 (lll_futex_wait_cancel): New macro.
4529
4530 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4531 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4532
4533 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4534 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4535
4536 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4537 in backtrace analysis.
4538 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4539 side-effects.
4540 (tf_send): Likewise.
4541
4542 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4543 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4544 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4545 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4546 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4547 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4548 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4549 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4550 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4551 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4552 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4553 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4554 Likewise.
4555 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4556 tst-cancel-wrappers.sh.
4557 (generated): Remove tst-cancel-wrappers.out.
4558 (tst-cancel-wrappers.out): Remove rule.
4559 * nptl/tst-cancel-wrappers.sh: Remove file.
4560
4561 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4562
4563 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4564 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4565 Update.
4566
4567 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4568
4569 [BZ #23640]
4570 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4571 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4572 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4573 close-on-exec reset for adddup2 file action.
4574 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4575
4576 2019-01-03 Zack Weinberg <zackw@panix.com>
4577
4578 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4579 parameter. Only use deprecated scanf when __USE_GNU is defined
4580 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4581 than 201103L, whichever is relevant for the language being compiled.
4582
4583 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4584 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4585 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4586 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4587 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4588
4589 * libio/iovsscanf.c
4590 * libio/fwscanf.c
4591 * libio/iovswscanf.c
4592 * libio/swscanf.c
4593 * libio/vscanf.c
4594 * libio/vwscanf.c
4595 * libio/wscanf.c
4596 * stdio-common/fscanf.c
4597 * stdio-common/scanf.c
4598 * stdio-common/vfscanf.c
4599 * stdio-common/vfwscanf.c
4600 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4601 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4602 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4603 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4604 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4605 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4606 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4607 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4608 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4609 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4610 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4611 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4612 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4613 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4614 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4615
4616 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4617 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4618 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4619 not sscanf.
4620 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4621 with a preprocessor macro.
4622
4623 * stdio-common/bug21.c, stdio-common/scanf14.c:
4624 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4625 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4626 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4627 to xscanf, xfscanf, xsscanf.
4628
4629 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4630 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4631 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4632 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4633 xfscanf, xsscanf.
4634 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4635 override feature selection macros or provide definitions of u_char etc.
4636 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4637 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4638 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4639 with -std=gnu89.
4640
4641 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4642
4643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4644 bits/termios-misc.h.
4645 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4646 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4647 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4648 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4649 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4650 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4651
4652 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4653 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4654 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4655 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4656 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4657 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4658 termios-misc.h.
4659 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4660 (sysdep_headers): Add termios-misc.h.
4661
4662 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4663 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4664 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4665
4666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4667 termios-tcflow.h.
4668 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4669 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4670 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4671 TCSAFLUSH): Move to termios-tcflow.h.
4672 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4673 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4674 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4675 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4676
4677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4678 termios-c_lflag.h.
4679 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4680 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4681 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4682 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4683 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4684 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4685 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4686 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4687 Likewise.
4688 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4689 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4690 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4691 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4692
4693 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4694 termios-c_cflag.h.
4695 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4696 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4697 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4698 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4699 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4700 termios-c_cflag.h.
4701 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4702 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4703 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4704 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4705
4706 [BZ #23783]
4707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4708 termios-baud.h.
4709 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4710 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4711 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4712 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4713 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4714 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4715 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4716 __MAX_BAUD): Move to termios-baud.h.
4717 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4718 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4719 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4720 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4721 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4722
4723 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4724 termios-c_oflag.h.
4725 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4726 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4727 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4728 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4729 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4730 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4731 termios-c_oflag.h.
4732 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4733 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4734 FFR1): Likewise.
4735 [USE_MISC] (XTABS): Likewise.
4736 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4737 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4738 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4739 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4740
4741 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4742 termios-c_iflag.h.
4743 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4744 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4745 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4746 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4747 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4748 IUTF8): Move to termios-c_iflag.h.
4749 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4750 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4751 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4752 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4753
4754 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4755 termios-cc.h.
4756 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4757 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4758 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4759 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4760 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4761 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4762 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4763 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4764 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4765 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4766 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4767 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4768
4769 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4770 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4771 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4772 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4774 termios-struct.h.
4775 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4776 termios-struct.h.
4777 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4778 Likewise.
4779 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4780 Likewise.
4781 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4782 Likewise.
4783 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4784 Likewise.
4785 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4786 _HAVE_C_OSPEED): Define.
4787 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4788 _HAVE_C_OSPEED): Likewise.
4789 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4790 _HAVE_C_OSPEED): Likewise.
4791 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4792 (cfsetospeed): Check for define value instead of existence.
4793 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4794 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4795 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4796 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4797 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4798
4799 [BZ #17783]
4800 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4801 Define.
4802 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4803 (TIOCSER_TEMT): Likewise.
4804 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4805 (TEOCSER_TEMT): Likewise.
4806
4807 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
4808
4809 [BZ #24011]
4810 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4811
4812 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4813
4814 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4815
4816 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4817
4818 * sysdeps/htl/pt-barrierattr-setpshared.c
4819 (pthread_barrierattr_setpshared): Add stub warning.
4820 * sysdeps/htl/pt-condattr-setpshared.c
4821 (pthread_condattr_setpshared): Likewise.
4822 * sysdeps/htl/pt-mutexattr-setpshared.c
4823 (pthread_mutexattr_setpshared): Likewise.
4824 * sysdeps/htl/pt-rwlockattr-setpshared.c
4825 (pthread_rwlockattr_setpshared): Likewise.
4826 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4827 (pthread_mutexattr_setpshared): Likewise.
4828
4829 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4830
4831 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4832 constants to match with Linux 4.20.
4833
4834 * sysdeps/mips/mips32/libm-test-ulps: Update.
4835 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4836
4837 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4838
4839 [BZ #24034]
4840 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4841 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4842 than __typeof (...) for the a_ptr variable.
4843
4844 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4845
4846 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4847 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4848 * libio/Makefile (tests): Add tst-sprintf-ub and
4849 tst-sprintf-chk-ub.
4850 (CFLAGS-tst-sprintf-ub.c): New variable.
4851 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4852 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4853 destination buffer and check for overflows in fortified mode.
4854 * libio/libioP.h (PRINTF_CHK): New macro.
4855 * libio/tst-sprintf-chk-ub.c: New file.
4856 * libio/tst-sprintf-ub.c: Likewise.
4857
4858 2019-01-02 Florian Weimer <fweimer@redhat.com>
4859
4860 [BZ #24018]
4861 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4862 failure.
4863
4864 2019-01-02 Florian Weimer <fweimer@redhat.com>
4865
4866 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4867
4868 2019-01-01 Joseph Myers <joseph@codesourcery.com>
4869
4870 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4871 macro.
4872
4873 * sysdeps/unix/sysv/linux/netpacket/packet.h
4874 (PACKET_IGNORE_OUTGOING): New macro.
4875
4876 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4877 macro.
4878
4879 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4880 version to 4.20.
4881 (riscv_flush_icache): New syscall.
4882
4883 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4884 trailing whitespace removed.
4885 * scripts/config.guess: Update to version 2019-01-01.
4886 * scripts/config.sub: Update to version 2019-01-01.
4887 * scripts/move-if-change: Update from gnulib.
4888
4889 * NEWS: Update copyright dates.
4890 * catgets/gencat.c (print_version): Likewise.
4891 * csu/version.c (banner): Likewise.
4892 * debug/catchsegv.sh: Likewise.
4893 * debug/pcprofiledump.c (print_version): Likewise.
4894 * debug/xtrace.sh (do_version): Likewise.
4895 * elf/ldconfig.c (print_version): Likewise.
4896 * elf/ldd.bash.in: Likewise.
4897 * elf/pldd.c (print_version): Likewise.
4898 * elf/sotruss.sh: Likewise.
4899 * elf/sprof.c (print_version): Likewise.
4900 * iconv/iconv_prog.c (print_version): Likewise.
4901 * iconv/iconvconfig.c (print_version): Likewise.
4902 * locale/programs/locale.c (print_version): Likewise.
4903 * locale/programs/localedef.c (print_version): Likewise.
4904 * login/programs/pt_chown.c (print_version): Likewise.
4905 * malloc/memusage.sh (do_version): Likewise.
4906 * malloc/memusagestat.c (print_version): Likewise.
4907 * malloc/mtrace.pl: Likewise.
4908 * manual/libc.texinfo: Likewise.
4909 * nptl/version.c (banner): Likewise.
4910 * nscd/nscd.c (print_version): Likewise.
4911 * nss/getent.c (print_version): Likewise.
4912 * nss/makedb.c (print_version): Likewise.
4913 * posix/getconf.c (main): Likewise.
4914 * scripts/test-installation.pl: Likewise.
4915 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4916
4917 * All files with FSF copyright notices: Update copyright dates
4918 using scripts/update-copyrights.
4919 * locale/programs/charmap-kw.h: Regenerated.
4920 * locale/programs/locfile-kw.h: Likewise.
4921
4922 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4923
4924 * timezone/zdump.c: Update from tzcode 2018i.
4925 * timezone/zic.c: Likewise.
4926
4927 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4928
4929 regex: improve Gnulib port to AIX
4930 From the glibc point of view, this removes duplicate macro
4931 definitions and is obviously safe.
4932 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4933 * posix/regex_internal.h:
4934 (__attribute__, __attribute_warn_unused_result__):
4935 Remove; already defined elsewhere.
4936
4937 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
4938
4939 [BZ #24027]
4940 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4941 copying operation. (ncopies had the wrong type, resulting in an
4942 integer wraparound and too few elements being copied.)
4943
4944 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4945
4946 [BZ #24022]
4947 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4948 <asm/syscalls.h> exists with __has_include__ before including it.
4949
4950 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4951
4952 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4953 version to 4.20.
4954
4955 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
4956
4957 * hurd/lookup-retry: Include <unistd.h>.
4958 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4959 Release it on return. Handle "pid" magical lookup retry.
4960
4961 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4962
4963 [BZ #10496]
4964 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4965 (t_fmt_ampm): Likewise.
4966 * localedata/locales/aa_ER (t_fmt): Likewise.
4967 (t_fmt_ampm): Likewise.
4968 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4969 (t_fmt_ampm): Likewise.
4970 * localedata/locales/aa_ET (t_fmt): Likewise.
4971 (t_fmt_ampm): Likewise.
4972 * localedata/locales/am_ET (t_fmt): Likewise.
4973 (t_fmt_ampm): Likewise.
4974 * localedata/locales/byn_ER (t_fmt): Likewise.
4975 (t_fmt_ampm): Likewise.
4976 * localedata/locales/om_ET (t_fmt): Likewise.
4977 (t_fmt_ampm): Likewise.
4978 * localedata/locales/sid_ET (t_fmt): Likewise.
4979 (t_fmt_ampm): Likewise.
4980 * localedata/locales/so_DJ (t_fmt): Likewise.
4981 (t_fmt_ampm): Likewise.
4982 * localedata/locales/so_ET (t_fmt): Likewise.
4983 (t_fmt_ampm): Likewise.
4984 * localedata/locales/so_SO (t_fmt): Likewise.
4985 (t_fmt_ampm): Likewise.
4986 * localedata/locales/ti_ER (t_fmt): Likewise.
4987 (t_fmt_ampm): Likewise.
4988 * localedata/locales/ti_ET (t_fmt): Likewise.
4989 (t_fmt_ampm): Likewise.
4990 * localedata/locales/tig_ER (t_fmt): Likewise.
4991 (t_fmt_ampm): Likewise.
4992 * localedata/locales/wal_ET (t_fmt): Likewise.
4993 (t_fmt_ampm): Likewise.
4994
4995 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4996 * localedata/locales/ar_IN (t_fmt): Likewise.
4997 * localedata/locales/bhb_IN (t_fmt): Likewise.
4998 * localedata/locales/bho_IN (t_fmt): Likewise.
4999 * localedata/locales/bi_VU (t_fmt): Likewise.
5000 * localedata/locales/bn_BD (t_fmt): Likewise.
5001 * localedata/locales/bn_IN (t_fmt): Likewise.
5002 * localedata/locales/brx_IN (t_fmt): Likewise.
5003 * localedata/locales/doi_IN (t_fmt): Likewise.
5004 * localedata/locales/en_HK (t_fmt): Likewise.
5005 (t_fmt_ampm): Likewise.
5006 * localedata/locales/en_IN (t_fmt): Likewise.
5007 * localedata/locales/en_PH (t_fmt): Likewise.
5008 * localedata/locales/gu_IN (t_fmt): Likewise.
5009 * localedata/locales/hi_IN (t_fmt): Likewise.
5010 * localedata/locales/hif_FJ (t_fmt): Likewise.
5011 * localedata/locales/hne_IN (t_fmt): Likewise.
5012 * localedata/locales/kn_IN (t_fmt): Likewise.
5013 * localedata/locales/kok_IN (t_fmt): Likewise.
5014 * localedata/locales/ks_IN (t_fmt): Likewise.
5015 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
5016 * localedata/locales/mag_IN (t_fmt): Likewise.
5017 * localedata/locales/mai_IN (t_fmt): Likewise.
5018 * localedata/locales/mjw_IN (t_fmt): Likewise.
5019 * localedata/locales/ml_IN (t_fmt): Likewise.
5020 * localedata/locales/mni_IN (t_fmt): Likewise.
5021 * localedata/locales/mr_IN (t_fmt): Likewise.
5022 * localedata/locales/ms_MY (t_fmt): Likewise.
5023 * localedata/locales/pa_IN (t_fmt): Likewise.
5024 * localedata/locales/raj_IN (t_fmt): Likewise.
5025 * localedata/locales/sa_IN (t_fmt): Likewise.
5026 * localedata/locales/sat_IN (t_fmt): Likewise.
5027 * localedata/locales/sd_IN (t_fmt): Likewise.
5028 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
5029 * localedata/locales/tcy_IN (t_fmt): Likewise.
5030 * localedata/locales/the_NP (t_fmt): Likewise.
5031 * localedata/locales/to_TO (t_fmt): Likewise.
5032 * localedata/locales/ur_IN (t_fmt): Likewise.
5033
5034 * localedata/locales/hif_FJ (d_t_fmt): Set to
5035 "%A %d %b %Y %I:%M:%S %p".
5036 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
5037
5038 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
5039 * localedata/locales/ar_BH (t_fmt): Likewise.
5040 * localedata/locales/ar_DZ (t_fmt): Likewise.
5041 * localedata/locales/ar_EG (t_fmt): Likewise.
5042 * localedata/locales/ar_IQ (t_fmt): Likewise.
5043 * localedata/locales/ar_JO (t_fmt): Likewise.
5044 * localedata/locales/ar_KW (t_fmt): Likewise.
5045 * localedata/locales/ar_LB (t_fmt): Likewise.
5046 * localedata/locales/ar_LY (t_fmt): Likewise.
5047 * localedata/locales/ar_OM (t_fmt): Likewise.
5048 * localedata/locales/ar_QA (t_fmt): Likewise.
5049 * localedata/locales/ar_SD (t_fmt): Likewise.
5050 * localedata/locales/ar_SS (t_fmt): Likewise.
5051 * localedata/locales/ar_SY (t_fmt): Likewise.
5052 * localedata/locales/ar_TN (t_fmt): Likewise.
5053 * localedata/locales/ar_YE (t_fmt): Likewise.
5054
5055 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
5056 (t_fmt_ampm): Likewise.
5057 * localedata/locales/gez_ET (t_fmt): Likewise.
5058 (t_fmt_ampm): Likewise.
5059
5060 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
5061 (t_fmt_ampm): Likewise.
5062 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
5063
5064 * localedata/locales/zh_HK (t_fmt):
5065 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
5066
5067 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
5068 because this locale does not use the 12-hour clock.
5069 (t_fmt): Set to "%Z %H:%M:%S".
5070 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
5071
5072 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
5073 because this locale does not use the 12-hour clock.
5074 (t_fmt): Set to "%H:%M:%S %Z".
5075 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
5076
5077 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
5078 because this locale does not use the 12-hour clock.
5079 (t_fmt): Set to "%T".
5080 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
5081 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
5082
5083 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
5084 because this locale does not use the 12-hour clock.
5085 (t_fmt): Set to "%H:%M:%S %Z".
5086 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
5087
5088 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
5089 because this locale does not use the 12-hour clock.
5090 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
5091 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
5092
5093 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5094
5095 [BZ #10496]
5096 [BZ #23724]
5097 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
5098 (t_fmt_ampm): Likewise.
5099 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
5100 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
5101 (d_fmt): Set to "%-d.%-m.%y".
5102
5103 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5104
5105 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
5106 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
5107 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
5108 Likewise.
5109 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5110 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
5111 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
5112 function.
5113 * support/blob_repeat.c (check_mul_overflow_size_t,
5114 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
5115
5116 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
5117
5118 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
5119
5120 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
5121
5122 regex: simplify Gnulib port
5123 This simplifies the code, by removing stuff intended for porting
5124 to Gnulib but no longer needed there.
5125 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
5126 uses of libc_hidden_def, weak_alias.
5127 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
5128 _Restrict_ except for public-facing headers.
5129 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
5130 Remove; already defined elsewhere.
5131 * posix/regex.c, posix/regex_internal.h:
5132 Use __GNUC_PREREQ instead of rolling our own.
5133 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
5134
5135 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
5136
5137 * benchtests/bench-strlen.c (generic_strlen): New function.
5138 (memchr_strlen): New function.
5139
5140 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5141
5142 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
5143 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5144 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
5145
5146 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5147
5148 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5149
5150 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5151
5152 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
5153 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
5154 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
5155 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
5156 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
5157 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
5158 <sysdeps/ieee754/flt-32/s_sincosf.c>.
5159
5160 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5161
5162 [BZ #24023]
5163 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5164 PLT reference in libc.so.
5165 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5166 _Q_lltoq and _Q_qtod PLT references in libc.so.
5167
5168 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5169
5170 * benchtests/bench-memchr.c: Cleanup defines.
5171 * benchtests/bench-memcmp.c: Likewise.
5172 * benchtests/bench-memset.c: Likewise.
5173 * benchtests/bench-memset-large.c: Likewise.
5174 * benchtests/bench-memset-walk.c: Likewise.
5175 * benchtests/bench-stpcpy.c: Likewise.
5176 * benchtests/bench-stpncpy.c: Likewise.
5177 * benchtests/bench-strcat.c: Likewise.
5178 * benchtests/bench-strchr.c: Likewise.
5179 * benchtests/bench-strcmp.c: Likewise.
5180 * benchtests/bench-strcpy.c: Likewise.
5181 * benchtests/bench-strcspn.c: Likewise.
5182 * benchtests/bench-string.h: Likewise.
5183 * benchtests/bench-strlen.c: Likewise.
5184 * benchtests/bench-strncat.c: Likewise.
5185 * benchtests/bench-strncmp.c: Likewise.
5186 * benchtests/bench-strncpy.c: Likewise.
5187 * benchtests/bench-strnlen.c: Likewise.
5188 * benchtests/bench-strpbrk.c: Likewise.
5189 * benchtests/bench-strrchr.c: Likewise.
5190 * benchtests/bench-strspn.c: Likewise.
5191
5192 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5193
5194 * stdlib/longlong.h: Update from GCC.
5195
5196 [BZ #23993]
5197 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5198 * configure: Regenerated.
5199 * manual/install.texi (Tools for Compilation): Update minimum GCC
5200 version.
5201 * INSTALL: Regenerated.
5202
5203 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
5204
5205 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5206
5207 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
5208
5209 * malloc/malloc.c (mremap_chunk): Additional checks.
5210
5211 2018-12-21 Mao Han <han_mao@c-sky.com>
5212
5213 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5214 * scripts/build-many-glibcs.py: Add C-SKY targets.
5215 * sysdeps/csky/Implies: New file.
5216 * sysdeps/csky/Makefile: Likewise.
5217 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5218 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5219 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5220 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5221 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5222 * sysdeps/csky/abiv2/memmove.S: Likewise.
5223 * sysdeps/csky/abiv2/memset.S: Likewise.
5224 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5225 * sysdeps/csky/abiv2/start.S: Likewise.
5226 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5227 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5228 * sysdeps/csky/abiv2/strlen.S: Likewise.
5229 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5230 * sysdeps/csky/abort-instr.h: Likewise.
5231 * sysdeps/csky/atomic-machine.h: Likewise.
5232 * sysdeps/csky/bits/endian.h: Likewise.
5233 * sysdeps/csky/bits/fenv.h: Likewise.
5234 * sysdeps/csky/bits/link.h: Likewise.
5235 * sysdeps/csky/bits/setjmp.h: Likewise.
5236 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5237 * sysdeps/csky/bsd-setjmp.S: Likewise.
5238 * sysdeps/csky/configure: Likewise.
5239 * sysdeps/csky/configure.ac: Likewise.
5240 * sysdeps/csky/dl-machine.h: Likewise.
5241 * sysdeps/csky/dl-procinfo.c: Likewise.
5242 * sysdeps/csky/dl-procinfo.h: Likewise.
5243 * sysdeps/csky/dl-sysdep.h: Likewise.
5244 * sysdeps/csky/dl-tls.h: Likewise.
5245 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5246 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5247 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5248 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5249 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5250 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5251 * sysdeps/csky/fpu/fegetround.c: Likewise.
5252 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5253 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5254 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5255 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5256 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5257 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5258 * sysdeps/csky/fpu/fesetround.c: Likewise.
5259 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5260 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5261 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5262 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5263 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5264 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5265 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5266 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5267 * sysdeps/csky/fpu_control.h: Likewise.
5268 * sysdeps/csky/gccframe.h: Likewise.
5269 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5270 * sysdeps/csky/ldsodefs.h: Likewise.
5271 * sysdeps/csky/libc-tls.c: Likewise.
5272 * sysdeps/csky/linkmap.h: Likewise.
5273 * sysdeps/csky/machine-gmon.h: Likewise.
5274 * sysdeps/csky/memusage.h: Likewise.
5275 * sysdeps/csky/nofpu/Implies: Likewise.
5276 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5277 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5278 * sysdeps/csky/nptl/Makefile: Likewise.
5279 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5280 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5281 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5282 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5283 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5284 * sysdeps/csky/nptl/tls.h: Likewise.
5285 * sysdeps/csky/preconfigure: Likewise.
5286 * sysdeps/csky/sfp-machine.h: Likewise.
5287 * sysdeps/csky/sotruss-lib.c: Likewise.
5288 * sysdeps/csky/stackinfo.h: Likewise.
5289 * sysdeps/csky/sysdep.h: Likewise.
5290 * sysdeps/csky/tininess.h: Likewise.
5291 * sysdeps/csky/tst-audit.h: Likewise.
5292 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5293 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5294 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5295 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5296 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5297 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5298 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5299 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5300 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5301 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5302 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5303 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5304 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5305 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5306 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5307 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5308 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5309 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5310 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5311 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5312 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5313 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5314 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5315 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5316 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5317 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5318 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5319 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5320 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5321 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5322 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5323 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5324 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5325 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5326 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5327 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5328 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5329 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5330 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5331 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5332 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5333 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5334 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5335 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5336
5337 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5338
5339 * include/time.h (__difftime64): Add.
5340 * time/difftime.c (subtract): convert to 64-bit time.
5341 * time/difftime.c (__difftime64): Add.
5342 * time/difftime.c (__difftime): Wrap around __difftime64.
5343
5344 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5345
5346 * manual/examples/add.c: Remove redundant "if not".
5347 * manual/examples/argp-ex1.c: Likewise.
5348 * manual/examples/argp-ex2.c: Likewise.
5349 * manual/examples/argp-ex3.c: Likewise.
5350 * manual/examples/argp-ex4.c: Likewise.
5351 * manual/examples/atexit.c: Likewise.
5352 * manual/examples/db.c: Likewise.
5353 * manual/examples/dir.c: Likewise.
5354 * manual/examples/dir2.c: Likewise.
5355 * manual/examples/execinfo.c: Likewise.
5356 * manual/examples/filecli.c: Likewise.
5357 * manual/examples/filesrv.c: Likewise.
5358 * manual/examples/fmtmsgexpl.c: Likewise.
5359 * manual/examples/genpass.c: Likewise.
5360 * manual/examples/inetcli.c: Likewise.
5361 * manual/examples/inetsrv.c: Likewise.
5362 * manual/examples/isockad.c: Likewise.
5363 * manual/examples/longopt.c: Likewise.
5364 * manual/examples/memopen.c: Likewise.
5365 * manual/examples/memstrm.c: Likewise.
5366 * manual/examples/mkdirent.c: Likewise.
5367 * manual/examples/mkfsock.c: Likewise.
5368 * manual/examples/mkisock.c: Likewise.
5369 * manual/examples/mygetpass.c: Likewise.
5370 * manual/examples/pipe.c: Likewise.
5371 * manual/examples/popen.c: Likewise.
5372 * manual/examples/rprintf.c: Likewise.
5373 * manual/examples/search.c: Likewise.
5374 * manual/examples/select.c: Likewise.
5375 * manual/examples/setjmp.c: Likewise.
5376 * manual/examples/sigh1.c: Likewise.
5377 * manual/examples/sigusr.c: Likewise.
5378 * manual/examples/stpcpy.c: Likewise.
5379 * manual/examples/strdupa.c: Likewise.
5380 * manual/examples/strftim.c: Likewise.
5381 * manual/examples/subopt.c: Likewise.
5382 * manual/examples/swapcontext.c: Likewise.
5383 * manual/examples/termios.c: Likewise.
5384 * manual/examples/testopt.c: Likewise.
5385 * manual/examples/testpass.c: Likewise.
5386 * manual/examples/timeval_subtract.c: Likewise.
5387
5388 2018-12-19 Joseph Myers <joseph@codesourcery.com>
5389
5390 * sysdeps/x86/fpu/math_private.h: New file.
5391 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5392
5393 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5394 definition.
5395 (cosh): Likewise.
5396 (tanh): Likewise.
5397
5398 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5399
5400 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5401 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5402 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5403 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5404 fields.
5405 (_dl_show_auxv): Give a special treatment to
5406 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5407 and AT_L3_CACHEGEOMETRY.
5408 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5409 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5410 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5411 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5412
5413 2018-12-19 Andreas Schwab <schwab@suse.de>
5414
5415 * nscd/connections.c (check_use): Don't abort on invalid len.
5416
5417 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5418
5419 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5420 values in the 64bit value cases.
5421
5422 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5423
5424 * include/time.h
5425 (__ctime64_r): Add.
5426 * time/ctime_r.c
5427 (__ctime64_r): Add.
5428 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5429
5430 * include/time.h
5431 (__ctime64): Add.
5432 * time/gmtime.c
5433 (__ctime64): Add.
5434 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5435
5436 * include/time.h
5437 (__gmtime64_r): Add.
5438 * time/gmtime.c
5439 (__gmtime64_r): Add.
5440 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5441
5442 * include/time.h
5443 (__gmtime64): Add.
5444 * time/gmtime.c
5445 (__gmtime64): Add.
5446 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5447
5448 * include/time.h
5449 (__localtime64_r): Add.
5450 * time/localtime.c
5451 (__localtime64_r): Add.
5452 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5453
5454 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5455
5456 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5457 kernel_sigction definition.
5458
5459 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5460
5461 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5462
5463 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5464 __syscall_rt_sigaction.
5465 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5466 (kernel_sigaction): Use Linux generic defintion.
5467 (STUB): Define.
5468 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5469 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5470 (__syscall_rt_sigaction): Remove implementation.
5471 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5472 hidden.
5473 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5474 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5475 INTERNAL_SYSCALL): Remove definitions.
5476 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5477 action and signal set size.
5478 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5479 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5480
5481 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5482 James Clarke <jrtc27@jrtc27.com>
5483
5484 [BZ #23967]
5485 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5486 Define if SA_RESTORER is defined.
5487 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5488 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5489 already defined.
5490 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5491 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5492 definitions.
5493 (HAS_SA_RESTORER): Define.
5494 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5495 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5496 (HAS_SA_RESTORER): Define.
5497 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5498 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5499 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5500 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5501 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5502
5503 2018-12-18 Joseph Myers <joseph@codesourcery.com>
5504
5505 * sysdeps/unix/sysv/linux/kernel-features.h
5506 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5507 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5508 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5509 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5510 (__ASSUME_ST_INO_64_BIT): Likewise.
5511 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5512 <kernel-features.h>.
5513 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5514 Remove conditional code.
5515 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5516 <kernel-features.h>.
5517 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5518 Remove conditional code.
5519 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5520 <kernel-features.h>.
5521 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5522 Remove conditional code.
5523 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5524 <kernel-features.h>.
5525 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5526 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5527
5528 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5529
5530 * sysdeps/s390/multiarch/ifunc-resolve.h
5531 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5532 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5533 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5534 Delete macro definition.
5535 (s390_libc_ifunc_init): Rename to
5536 s390_libc_ifunc_expr_stfle_init.
5537 * sysdeps/s390/bzero: Use
5538 s390_libc_ifunc_expr_stfle_init instead of
5539 s390_libc_ifunc_init.
5540 * sysdeps/s390/memcmp.c: Likewise.
5541 * sysdeps/s390/memcpy.c: Likewise.
5542 * sysdeps/s390/mempcpy.c: Likewise.
5543 * sysdeps/s390/memset.c: Likewise.
5544
5545 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5546
5547 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5548 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5549
5550 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5551
5552 * sysdeps/s390/multiarch/Makefile
5553 (sysdep_routines): Remove wmemcmp variants.
5554 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5555 * sysdeps/s390/multiarch/ifunc-impl-list.c
5556 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5557 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5558 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5559 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5560 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5561 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5562 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5563 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5564
5565 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5566
5567 * sysdeps/s390/multiarch/Makefile
5568 (sysdep_routines): Remove wmemset variants.
5569 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5570 * sysdeps/s390/multiarch/ifunc-impl-list.c
5571 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5572 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5573 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5574 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5575 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5576 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5577 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5578 * sysdeps/s390/ifunc-wmemset.h: New file.
5579
5580 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5581
5582 * sysdeps/s390/multiarch/Makefile
5583 (sysdep_routines): Remove wmemchr variants.
5584 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5585 * sysdeps/s390/multiarch/ifunc-impl-list.c
5586 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5587 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5588 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5589 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5590 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5591 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5592 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5593 * sysdeps/s390/ifunc-wmemchr.h: New file.
5594
5595 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5596
5597 * sysdeps/s390/multiarch/Makefile
5598 (sysdep_routines): Remove wcscspn variants.
5599 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5600 * sysdeps/s390/multiarch/ifunc-impl-list.c
5601 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5602 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5603 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5604 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5605 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5606 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5607 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5608 * sysdeps/s390/ifunc-wcscspn.h: New file.
5609
5610 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5611
5612 * sysdeps/s390/multiarch/Makefile
5613 (sysdep_routines): Remove wcspbrk variants.
5614 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5615 * sysdeps/s390/multiarch/ifunc-impl-list.c
5616 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5617 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5618 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5619 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5620 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5621 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5622 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5623 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5624
5625 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5626
5627 * sysdeps/s390/multiarch/Makefile
5628 (sysdep_routines): Remove wcsspn variants.
5629 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5630 * sysdeps/s390/multiarch/ifunc-impl-list.c
5631 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5632 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5633 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5634 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5635 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5636 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5637 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5638 * sysdeps/s390/ifunc-wcsspn.h: New file.
5639
5640 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5641
5642 * sysdeps/s390/multiarch/Makefile
5643 (sysdep_routines): Remove wcsrchr variants.
5644 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5645 * sysdeps/s390/multiarch/ifunc-impl-list.c
5646 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5647 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5648 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5649 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5650 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5651 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5652 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5653 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5654
5655 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5656
5657 * sysdeps/s390/multiarch/Makefile
5658 (sysdep_routines): Remove wcschrnul variants.
5659 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5660 * sysdeps/s390/multiarch/ifunc-impl-list.c
5661 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5662 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5663 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5664 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5665 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5666 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5667 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5668 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5669
5670 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5671
5672 * sysdeps/s390/multiarch/Makefile
5673 (sysdep_routines): Remove wcschr variants.
5674 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5675 * sysdeps/s390/multiarch/ifunc-impl-list.c
5676 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5677 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5678 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5679 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5680 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5681 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5682 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5683 * sysdeps/s390/ifunc-wcschr.h: New file.
5684
5685 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5686
5687 * sysdeps/s390/multiarch/Makefile
5688 (sysdep_routines): Remove wcsncmp variants.
5689 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5690 * sysdeps/s390/multiarch/ifunc-impl-list.c
5691 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5692 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5693 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5694 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5695 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5696 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5697 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5698 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5699
5700 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5701
5702 * sysdeps/s390/multiarch/Makefile
5703 (sysdep_routines): Remove wcscmp variants.
5704 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5705 * sysdeps/s390/multiarch/ifunc-impl-list.c
5706 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5707 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5708 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5709 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5710 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5711 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5712 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5713 * sysdeps/s390/ifunc-wcscmp.h: New file.
5714
5715 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5716
5717 * sysdeps/s390/multiarch/Makefile
5718 (sysdep_routines): Remove wcsncat variants.
5719 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5720 * sysdeps/s390/multiarch/ifunc-impl-list.c
5721 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5722 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5723 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5724 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5725 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5726 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5727 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5728 * sysdeps/s390/ifunc-wcsncat.h: New file.
5729
5730 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5731
5732 * sysdeps/s390/multiarch/Makefile
5733 (sysdep_routines): Remove wcscat variants.
5734 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5735 * sysdeps/s390/multiarch/ifunc-impl-list.c
5736 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5737 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5738 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5739 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5740 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5741 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5742 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5743 * sysdeps/s390/ifunc-wcscat.h: New file.
5744
5745 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5746
5747 * sysdeps/s390/multiarch/Makefile
5748 (sysdep_routines): Remove wcpncpy variants.
5749 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5750 * sysdeps/s390/multiarch/ifunc-impl-list.c
5751 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5752 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5753 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5754 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5755 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5756 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5757 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5758 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5759
5760 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5761
5762 * sysdeps/s390/multiarch/Makefile
5763 (sysdep_routines): Remove wcsncpy variants.
5764 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5765 * sysdeps/s390/multiarch/ifunc-impl-list.c
5766 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5767 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5768 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5769 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5770 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5771 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5772 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5773 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5774
5775 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5776
5777 * sysdeps/s390/multiarch/Makefile
5778 (sysdep_routines): Remove wcpcpy variants.
5779 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5780 * sysdeps/s390/multiarch/ifunc-impl-list.c
5781 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5782 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5783 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5784 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5785 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5786 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5787 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5788 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5789
5790 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5791
5792 * sysdeps/s390/multiarch/Makefile
5793 (sysdep_routines): Remove wcscpy variants.
5794 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5795 * sysdeps/s390/multiarch/ifunc-impl-list.c
5796 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5797 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5798 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5799 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5800 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5801 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5802 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5803 * sysdeps/s390/ifunc-wcscpy.h: New file.
5804
5805 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5806
5807 * sysdeps/s390/multiarch/Makefile
5808 (sysdep_routines): Remove wcsnlen variants.
5809 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5810 * sysdeps/s390/multiarch/ifunc-impl-list.c
5811 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5812 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5813 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5814 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5815 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5816 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5817 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5818 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5819
5820 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5821
5822 * sysdeps/s390/multiarch/Makefile
5823 (sysdep_routines): Remove wcslen variants.
5824 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5825 * sysdeps/s390/multiarch/ifunc-impl-list.c
5826 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5827 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5828 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5829 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5830 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5831 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5832 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5833 * sysdeps/s390/ifunc-wcslen.h: New file.
5834
5835 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5836
5837 * sysdeps/s390/multiarch/Makefile
5838 (sysdep_routines): Remove memrchr variants.
5839 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5840 * sysdeps/s390/multiarch/ifunc-impl-list.c
5841 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5842 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5843 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5844 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5845 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5846 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5847 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5848 * sysdeps/s390/ifunc-memrchr.h: New file.
5849
5850 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5851
5852 * sysdeps/s390/multiarch/Makefile
5853 (sysdep_routines): Remove memccpy variants.
5854 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5855 * sysdeps/s390/multiarch/ifunc-impl-list.c
5856 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5857 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5858 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5859 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5860 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5861 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5862 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5863 * sysdeps/s390/ifunc-memccpy.h: New file.
5864
5865 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5866
5867 * sysdeps/s390/multiarch/Makefile
5868 (sysdep_routines): Remove rawmemchr variants.
5869 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5870 * sysdeps/s390/multiarch/ifunc-impl-list.c
5871 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5872 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5873 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5874 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5875 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5876 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5877 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5878 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5879
5880 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5881
5882 * sysdeps/s390/multiarch/Makefile
5883 (sysdep_routines): Remove memchr variants.
5884 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5885 * sysdeps/s390/multiarch/ifunc-impl-list.c
5886 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5887 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5888 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5889 * sysdeps/s390/multiarch/memchr.c: Move to ...
5890 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5891 * sysdeps/s390/ifunc-memchr.h: New file.
5892 * sysdeps/s390/s390-64/memchr.S: Move to ...
5893 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5894 for 31/64bit and ifunc handling.
5895 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5896 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5897 * sysdeps/s390/s390-32/memchr.S: Likewise.
5898
5899 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5900
5901 * sysdeps/s390/multiarch/Makefile
5902 (sysdep_routines): Remove strcspn variants.
5903 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5904 * sysdeps/s390/multiarch/ifunc-impl-list.c
5905 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5906 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5907 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5908 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5909 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5910 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5911 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5912 * sysdeps/s390/ifunc-strcspn.h: New file.
5913
5914 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5915
5916 * sysdeps/s390/multiarch/Makefile
5917 (sysdep_routines): Remove strpbrk variants.
5918 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5919 * sysdeps/s390/multiarch/ifunc-impl-list.c
5920 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5921 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5922 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5923 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5924 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5925 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5926 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5927 * sysdeps/s390/ifunc-strpbrk.h: New file.
5928
5929 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5930
5931 * sysdeps/s390/multiarch/Makefile
5932 (sysdep_routines): Remove strspn variants.
5933 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5934 * sysdeps/s390/multiarch/ifunc-impl-list.c
5935 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5936 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5937 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5938 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5939 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5940 * sysdeps/s390/multiarch/strspn.c: Move to ...
5941 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5942 * sysdeps/s390/ifunc-strspn.h: New file.
5943
5944 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5945
5946 * sysdeps/s390/multiarch/Makefile
5947 (sysdep_routines): Remove strrchr variants.
5948 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5949 * sysdeps/s390/multiarch/ifunc-impl-list.c
5950 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5951 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5952 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5953 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5954 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5955 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5956 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5957 * sysdeps/s390/ifunc-strrchr.h: New file.
5958
5959 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5960
5961 * sysdeps/s390/multiarch/Makefile
5962 (sysdep_routines): Remove strchrnul variants.
5963 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5964 * sysdeps/s390/multiarch/ifunc-impl-list.c
5965 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5966 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5967 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5968 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5969 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5970 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5971 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5972 * sysdeps/s390/ifunc-strchrnul.h: New file.
5973
5974 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5975
5976 * sysdeps/s390/multiarch/Makefile
5977 (sysdep_routines): Remove strchr variants.
5978 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5979 * sysdeps/s390/multiarch/ifunc-impl-list.c
5980 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5981 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5982 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5983 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5984 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5985 * sysdeps/s390/multiarch/strchr.c: Move to ...
5986 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5987 * sysdeps/s390/ifunc-strchr.h: New file.
5988
5989 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5990
5991 * sysdeps/s390/multiarch/Makefile
5992 (sysdep_routines): Remove strncmp variants.
5993 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5994 * sysdeps/s390/multiarch/ifunc-impl-list.c
5995 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5996 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5997 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5998 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5999 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
6000 * sysdeps/s390/multiarch/strncmp.c: Move to ...
6001 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
6002 * sysdeps/s390/ifunc-strncmp.h: New file.
6003
6004 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6005
6006 * sysdeps/s390/multiarch/Makefile
6007 (sysdep_routines): Remove strcmp variants.
6008 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
6009 * sysdeps/s390/multiarch/ifunc-impl-list.c
6010 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
6011 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
6012 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
6013 * sysdeps/s390/multiarch/strcmp.c: Move to ...
6014 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
6015 * sysdeps/s390/ifunc-strcmp.h: New file.
6016 * sysdeps/s390/s390-64/strcmp.S: Move to ...
6017 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
6018 for 31/64bit and ifunc handling.
6019 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
6020 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6021 * sysdeps/s390/s390-32/strcmp.S: Likewise.
6022
6023 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6024
6025 * sysdeps/s390/multiarch/Makefile
6026 (sysdep_routines): Remove strncat variants.
6027 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
6028 * sysdeps/s390/multiarch/ifunc-impl-list.c
6029 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
6030 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
6031 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
6032 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
6033 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
6034 * sysdeps/s390/multiarch/strncat.c: Move to ...
6035 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
6036 * sysdeps/s390/ifunc-strncat.h: New file.
6037
6038 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6039
6040 * sysdeps/s390/multiarch/Makefile
6041 (sysdep_routines): Remove strcat variants.
6042 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
6043 * sysdeps/s390/multiarch/ifunc-impl-list.c
6044 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
6045 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
6046 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
6047 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
6048 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
6049 * sysdeps/s390/multiarch/strcat.c: Move to ...
6050 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
6051 * sysdeps/s390/ifunc-strcat.h: New file.
6052
6053 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6054
6055 * sysdeps/s390/multiarch/Makefile
6056 (sysdep_routines): Remove stpncpy variants.
6057 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
6058 * sysdeps/s390/multiarch/ifunc-impl-list.c
6059 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
6060 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
6061 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
6062 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
6063 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
6064 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
6065 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
6066 * sysdeps/s390/ifunc-stpncpy.h: New file.
6067
6068 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6069
6070 * sysdeps/s390/multiarch/Makefile
6071 (sysdep_routines): Remove strncpy variants.
6072 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
6073 * sysdeps/s390/multiarch/ifunc-impl-list.c
6074 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
6075 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
6076 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
6077 * sysdeps/s390/multiarch/strncpy.c: Move to ...
6078 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
6079 * sysdeps/s390/ifunc-strncpy.h: New file.
6080 * sysdeps/s390/s390-64/strncpy.S: Move to ...
6081 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
6082 and adjust ifunc handling.
6083 * sysdeps/s390/s390-32/strncpy.S: Move to ...
6084 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
6085 and adjust ifunc handling.
6086 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
6087 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6088
6089 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6090
6091 * sysdeps/s390/multiarch/Makefile
6092 (sysdep_routines): Remove stpcpy variants.
6093 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
6094 * sysdeps/s390/multiarch/ifunc-impl-list.c
6095 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
6096 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
6097 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
6098 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
6099 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
6100 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
6101 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
6102 * sysdeps/s390/ifunc-stpcpy.h: New file.
6103
6104 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6105
6106 * sysdeps/s390/multiarch/Makefile
6107 (sysdep_routines): Remove strcpy variants.
6108 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
6109 * sysdeps/s390/multiarch/ifunc-impl-list.c
6110 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
6111 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
6112 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
6113 * sysdeps/s390/multiarch/strcpy.c: Move to ...
6114 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
6115 * sysdeps/s390/ifunc-strcpy.h: New file.
6116 * sysdeps/s390/s390-64/strcpy.S: Move to ...
6117 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
6118 for 31/64bit and ifunc handling.
6119 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
6120 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6121 * sysdeps/s390/s390-32/strcpy.S: Likewise.
6122
6123 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6124
6125 * sysdeps/s390/multiarch/Makefile
6126 (sysdep_routines): Remove strnlen variants.
6127 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
6128 * sysdeps/s390/multiarch/ifunc-impl-list.c
6129 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
6130 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
6131 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
6132 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
6133 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
6134 * sysdeps/s390/multiarch/strnlen.c: Move to ...
6135 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
6136 * sysdeps/s390/ifunc-strnlen.h: New file.
6137
6138 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6139
6140 * sysdeps/s390/multiarch/Makefile
6141 (sysdep_routines): Remove strlen variants.
6142 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
6143 * sysdeps/s390/multiarch/ifunc-impl-list.c
6144 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
6145 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
6146 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
6147 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
6148 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
6149 * sysdeps/s390/multiarch/strlen.c: Move to ...
6150 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
6151 * sysdeps/s390/ifunc-strlen.h: New file.
6152
6153 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6154
6155 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
6156 * sysdeps/s390/multiarch/ifunc-impl-list.c
6157 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
6158 * sysdeps/s390/ifunc-memmem.h: New file.
6159 * sysdeps/s390/memmem.c: Likewise.
6160 * sysdeps/s390/memmem-c.c: Likewise.
6161 * sysdeps/s390/memmem-vx.c: Likewise.
6162
6163 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6164
6165 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6166 * sysdeps/s390/multiarch/ifunc-impl-list.c
6167 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6168 * sysdeps/s390/ifunc-strstr.h: New file.
6169 * sysdeps/s390/strstr.c: Likewise.
6170 * sysdeps/s390/strstr-c.c: Likewise.
6171 * sysdeps/s390/strstr-vx.c: Likewise.
6172
6173 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6174
6175 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6176 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6177 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6178 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6179 New defines.
6180 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6181 * sysdeps/s390/memmove-c.c: New file.
6182 * sysdeps/s390/memmove.c: Likewise.
6183 * sysdeps/s390/multiarch/ifunc-impl-list.c
6184 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6185
6186 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6187
6188 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6189 * sysdeps/s390/configure.ac: Add check for z13 support.
6190 * sysdeps/s390/configure: Regenerated.
6191
6192 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6193
6194 * sysdeps/s390/memcopy.h: New file.
6195
6196 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6197
6198 * sysdeps/s390/s390-32/bcopy.S: Remove.
6199 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6200
6201 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6202
6203 * sysdeps/s390/ifunc-memcpy.h: New File.
6204 * sysdeps/s390/memcpy.S: Move to ...
6205 * sysdeps/s390/memcpy-z900.S ... here.
6206 Move implementations from memcpy-s390x.s to here.
6207 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6208 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6209 Remove memcpy/mempcpy variants.
6210 * sysdeps/s390/Makefile (sysdep_routines):
6211 Add memcpy/mempcpy variants.
6212 * sysdeps/s390/multiarch/ifunc-impl-list.c
6213 (__libc_ifunc_impl_list): Adjust ifunc variants for
6214 memcpy and mempcpy.
6215 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6216 to ...
6217 * sysdeps/s390/memcpy.c: ... here.
6218 Adjust ifunc variants for memcpy.
6219 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6220 * sysdeps/s390/mempcpy.c: ... here.
6221 Adjust ifunc variants for mempcpy.
6222 * sysdeps/s390/mempcpy.S: Delete file.
6223
6224 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6225
6226 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6227 * sysdeps/s390/memcpy.S: ... here.
6228 Adjust to be usable for 31/64bit.
6229 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6230 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6231 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6232 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6233 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6234 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6235 Adjust to be usable for 31/64bit.
6236 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6237 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6238 * sysdeps/s390/multiarch/memcpy.c: ... here.
6239 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6240
6241 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6242
6243 * sysdeps/s390/ifunc-memcmp.h: New File.
6244 * sysdeps/s390/memcmp.S: Move to ...
6245 * sysdeps/s390/memcmp-z900.S ... here.
6246 Move implementations from memcmp-s390x.s to here.
6247 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6248 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6249 Remove memcmp variants.
6250 * sysdeps/s390/Makefile (sysdep_routines):
6251 Add memcmp variants.
6252 * sysdeps/s390/multiarch/ifunc-impl-list.c
6253 (__libc_ifunc_impl_list): Adjust ifunc variants for
6254 memcmp.
6255 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6256 to ...
6257 * sysdeps/s390/memcmp.c: ... here.
6258 Adjust ifunc variants for memcmp.
6259
6260 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6261
6262 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6263 * sysdeps/s390/memcmp.S: ... here.
6264 Adjust to be usable for 31/64bit.
6265 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6266 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6267 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6268 Remove memcmp.
6269 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6270 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6271 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6272 Adjust to be usable for 31/64bit.
6273 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6274 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6275 * sysdeps/s390/multiarch/memcmp.c: ... here.
6276 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6277
6278 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6279
6280 * sysdeps/s390/s390-32/bzero.S: Delete file.
6281 * sysdeps/s390/s390-64/bzero.S: Likewise.
6282 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6283 * sysdeps/s390/bzero.c: New file.
6284 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6285 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6286 * sysdeps/s390/multiarch/ifunc-impl-list.c
6287 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6288
6289 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6290
6291 * sysdeps/s390/ifunc-memset.h: New File.
6292 * sysdeps/s390/memset.S: Move to ...
6293 * sysdeps/s390/memset-z900.S ... here.
6294 Move implementations from memset-s390x.s to here.
6295 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6296 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6297 Remove memset variants.
6298 * sysdeps/s390/Makefile (sysdep_routines):
6299 Add memset variants.
6300 * sysdeps/s390/multiarch/ifunc-impl-list.c
6301 (__libc_ifunc_impl_list): Adjust ifunc variants for
6302 memset.
6303 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6304 to ...
6305 * sysdeps/s390/memset.c: ... here.
6306 Adjust ifunc variants for memset.
6307
6308 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6309
6310 * sysdeps/s390/s390-64/memset.S: Move to ...
6311 * sysdeps/s390/memset.S: ... here.
6312 Adjust to be usable for 31/64bit.
6313 * sysdeps/s390/s390-32/memset.S: Delete File.
6314 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6315 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6316 Remove memset.
6317 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6318 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6319 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6320 Adjust to be usable for 31/64bit.
6321 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6322 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6323 * sysdeps/s390/multiarch/memset.c: ... here.
6324 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6325
6326 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6327
6328 * sysdeps/s390/multiarch/ifunc-resolve.h
6329 (s390_libc_ifunc_init, s390_libc_ifunc,
6330 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6331
6332 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6333
6334 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6335 * sysdeps/s390/configure.ac: Add check for z10 support.
6336 * sysdeps/s390/configure: Regenerated.
6337
6338 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6339
6340 * sysdeps/i386/atomic-machine.h: Merged with ...
6341 * sysdeps/x86_64/atomic-machine.h: To ...
6342 * sysdeps/x86/atomic-machine.h: This. New file.
6343
6344 2018-12-18 Florian Weimer <fweimer@redhat.com>
6345
6346 Rewrite locale/gen-translit.pl in Python.
6347 * locale/Makefile (generated): Add C-translit.h.
6348 (before-compile): Add $(objpfx)C-translit.h.
6349 (C-translit.h): Move to $(objpfx). Create target directory.
6350 Build using Python script.
6351 * locale/gen-translit.py: New file.
6352 * locale/gen-translit.pl: Remove file.
6353 * locale/C-translit.h.in: Change comment character to '#' for
6354 easier parsing without a C preprocessor.
6355 * locale/C-translit.h: Remove generated file.
6356 * manual/install.texi (Tools for Compilation): Do not mention
6357 C-translit.h.
6358 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6359 Remove locale/C-translit.h.
6360 * scripts/update-copyrights: Likewise.
6361 * INSTALL: Regenerate.
6362
6363 2018-12-18 Florian Weimer <fweimer@redhat.com>
6364
6365 [BZ #23995]
6366 * localedata/locales/bi_VU: Remove executable bit from file.
6367
6368 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6369
6370 * include/time.h
6371 (__localtime64): Add.
6372 * manual/maint.texi: Document Y2038 symbol handling.
6373 * time/localtime.c
6374 (__localtime64): Add.
6375 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6376
6377 2018-12-17 Joseph Myers <joseph@codesourcery.com>
6378
6379 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6380 Do not clobber r12.
6381
6382 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6383 to allow extra macros from first or second sources.
6384 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6385 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6386 (tests-special): Add $(objpfx)tst-mman-consts.out.
6387 ($(objpfx)tst-mman-consts.out): New makefile target.
6388
6389 2018-12-17 Mao Han <han_mao@c-sky.com>
6390
6391 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6392 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6393 without stat64 system call support.
6394 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6395 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6396 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6397 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6398 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6399 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6400 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6401 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6402 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6403 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6404 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6405
6406 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6407
6408 regex: fix storage-exhaustion error
6409 [BZ #18040]
6410 * posix/regexec.c (get_subexp):
6411 Do not continue if storage is exhausted.
6412
6413 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
6414
6415 regex: fix heap-use-after-free error
6416 [BZ #18040]
6417 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6418 https://debbugs.gnu.org/32592
6419 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6420 call extend_buffers which reallocates the re_string_t internal buffer.
6421 Local variable 'buf' was not updated in such case, resulting in
6422 use-after-free.
6423 * posix/regexec.c (get_subexp): Update 'buf' after call to
6424 get_subexp_sub.
6425
6426 2018-12-15 Florian Weimer <fweimer@redhat.com>
6427
6428 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6429 (minimum_stride_size): Use it.
6430 (support_blob_repeat_allocate): Likewise.
6431
6432 2018-12-14 Joseph Myers <joseph@codesourcery.com>
6433
6434 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6435 definition.
6436 (acosh): Likewise.
6437 (atanh): Likewise.
6438
6439 2018-12-14 Florian Weimer <fweimer@redhat.com>
6440
6441 * manual/process.texi (Process Creation Concepts): Remove
6442 documentation of process (ID) lifetime. List more process
6443 creation functions. Reference Process Identification section.
6444 (Process Identification): Add information about process ID
6445 lifetime. Describe Linux thread/task IDs.
6446 * manual/signal.texi (Signaling Another Process): Mention that the
6447 signal is always sent to the process.
6448
6449 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6450
6451 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6452 and tst-ldbl-efgcvt.
6453 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6454 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6455 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6456 (fcvt_tests, output_error, output_r_error, do_test): Use the
6457 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6458 select the type of floating-point variables and arguments; to
6459 produce extra tests for double and conversion specifiers for
6460 printf; and to set the names of called functions.
6461 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6462 in tst-efgcvt-template.c.
6463 * misc/tst-ldbl-efgcvt.c: Likewise.
6464
6465 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
6466
6467 * nss/Makefile (tst-nss-test3.out): New rule.
6468
6469 2018-12-13 Joseph Myers <joseph@codesourcery.com>
6470
6471 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6472 clobber sp.
6473
6474 2018-12-13 fanjinke <fanjinke@hygon.cn>
6475
6476 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6477 "HygonGenuine".
6478
6479 2018-12-13 Andreas Schwab <schwab@suse.de>
6480
6481 [BZ #23861]
6482 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
6483 (__pthread_rwlock_rdlock_full): Update expected value for
6484 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6485 * nptl/tst-rwlock-pwn.c: New file.
6486 * nptl/Makefile (tests): Add tst-rwlock-pwn.
6487
6488 2018-12-12 Joseph Myers <joseph@codesourcery.com>
6489
6490 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6491 definition.
6492
6493 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6494
6495 * benchtests/scripts/compare_bench.py (do_compare): write to
6496 stderr in casestat is not present.
6497 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6498 stderr in case timings field is not present. Also string showing
6499 the output filename goes into the stderr.
6500
6501 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6502
6503 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6504 and ZeroDivisorError exceptions.
6505 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6506 argument to loop through user provided statistics.
6507 * benchtests/scripts/compare_bench.py (main): Include the --stats
6508 argument.
6509
6510 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6511
6512 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6513 instead of return.
6514
6515 2018-12-12 Florian Weimer <fweimer@redhat.com>
6516
6517 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6518 clause to copyright header.
6519
6520 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6521
6522 [BZ #23614]
6523 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6524 registers saved in the stack frame.
6525 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6526 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6527
6528 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6529
6530 * include/bits/monetary-ldbl.h: New file.
6531 * include/bits/printf-ldbl.h: Likewise.
6532 * include/bits/stdio-ldbl.h: Likewise.
6533 * include/bits/stdlib-ldbl.h: Likewise.
6534 * include/bits/syslog-ldbl.h: Likewise.
6535 * include/bits/wchar-ldbl.h: Likewise.
6536
6537 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6538
6539 * libio/libio.h: Remove redirection for _IO_vfprintf.
6540
6541 2018-12-11 Andreas Schwab <schwab@suse.de>
6542
6543 * Makerules: Remove all references to abilist-pattern.
6544 (update-all-abi): Simplify find expression.
6545
6546 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6547
6548 [BZ #23961]
6549 * math/auto-libm-test-in: Add new test case.
6550 * math/auto-libm-test-out-pow: Regenerated.
6551 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6552
6553 2018-12-10 DJ Delorie <dj@redhat.com>
6554
6555 [BZ #23948]
6556 * support/test-container.c: Move postclean step to before we
6557 change namespaces.
6558
6559 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6560
6561 * scripts/gen-as-const.py (main): Handle --python option.
6562 * scripts/gen-py-const.awk: Remove.
6563 * Makerules (py-const-script): Use gen-as-const.py.
6564 ($(py-const)): Likewise.
6565 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6566 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6567 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6568 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6569 ~PTHREAD_MUTEX_NO_ELISION_NP.
6570 * manual/README.pretty-printers: Update reference to
6571 gen-py-const.awk.
6572
6573 * scripts/glibcextract.py: New file.
6574 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6575 or tempfile. Import glibcexctract.
6576 (compute_c_consts): Remove. Moved to glibcextract.py.
6577 (gen_test): Update reference to compute_c_consts.
6578 (main): Likewise.
6579 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6580 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6581 * sysdeps/unix/sysv/linux/Makefile
6582 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6583 Redirect stderr as well as stdout.
6584
6585 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6586
6587 [BZ #19767]
6588 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
6589 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6590 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
6591 ALWAYS_USE_VSYSCALL.
6592 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
6593 ALWAYS_USE_VSYSCALL.
6594 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6595 ALWAYS_USE_VSYSCALL.
6596
6597 2018-12-10 Florian Weimer <fweimer@redhat.com>
6598
6599 [BZ #23972]
6600 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6601 offset instead of count for clarity. Fix typo in comment.
6602 (__old_getdents64): Keep track of previous offset. Use it to call
6603 handle_overflow.
6604 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6605 that d_off is never zero.
6606
6607 2018-12-10 Andreas Schwab <schwab@suse.de>
6608
6609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6610 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6612 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6613 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6614
6615 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6616
6617 * timezone/private.h: Update from tzcode 2018g.
6618 * timezone/tzfile.h: Likewise.
6619 * timezone/tzselect.ksh: Likewise.
6620 * timezone/zdump.c: Likewise.
6621 * timezone/zic.c: Likewise.
6622
6623 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6624
6625 [BZ #23490]
6626 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6627 (do_test): Adjust buffer size and fix format.
6628
6629 2018-12-07 DJ Delorie <dj@redhat.com>
6630
6631 [BZ #23907]
6632 * malloc/tst-tcfree3.c: New.
6633 * malloc/Makefile: Add it.
6634
6635 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6636
6637 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6638
6639 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6640
6641 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6642 used as a mask for the mode argument of __vfscanf_internal and
6643 __vfwscanf_internal.
6644 * stdio-common/vfscanf-internal.c
6645 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6646 (__strtof128_internal): Define to __wcstof128_internal.
6647 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6648 __strtof128_internal or __wcstof128_internal when the format of
6649 long double is the same as _Float128.
6650
6651 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6652
6653 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6654 * posix/confstr.c (confstr): Rename to __confstr.
6655 (__confstr): Add hidden def.
6656 (confstr): Add weak alias for __confstr.
6657 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6658 confstr.
6659
6660 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6661
6662 * NEWS: Mention getcpu.
6663 * include/sched.h (__getcpu): New libc_hidden_proto.
6664 * manual/resource.texi: Document getcpu.
6665 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6666 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6667 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6668 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6669 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6670 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6671 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6672 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6673 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6674 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6675 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6676 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6677 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6678 Likewise.
6679 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6680 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6681 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6683 Likewise.
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6685 Likewise.
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6687 Likewise.
6688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6689 Likewise.
6690 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6691 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6692 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6693 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6694 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6695 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6696 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6697 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6698 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6699 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6700 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6701 Also check getcpu.
6702
6703 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6704
6705 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6706 functions.
6707 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6708
6709 2018-12-07 Florian Weimer <fweimer@redhat.com>
6710
6711 [BZ #17405]
6712 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6713 * posix/Versions (GLIBC_2.29): Export
6714 posix_spawn_file_actions_addfchdir_np.
6715 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6716 * posix/spawn_faction_destroy.c
6717 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6718 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6719 and the field action.fchdir_action.
6720 * posix/tst-spawn-chdir.c (add_chdir): New function.
6721 (do_test): Add do_fchdir loop. Call add_chdir.
6722 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6723 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6724 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6725 posix_spawn_file_actions_addfchdir_np.
6726 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6727 Likewise.
6728 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6729 Likewise.
6730 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6731 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6732 Likewise.
6733 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6734 Likewise.
6735 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6736 Likewise.
6737 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6738 Likewise.
6739 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6740 Likewise.
6741 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6742 Likewise.
6743 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6744 (GLIBC_2.29): Likewise.
6745 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6746 (GLIBC_2.29): Likewise.
6747 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6748 (GLIBC_2.29): Likewise.
6749 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6750 (GLIBC_2.29): Likewise.
6751 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6752 Likewise.
6753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6754 (GLIBC_2.29): Likewise.
6755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6756 (GLIBC_2.29): Likewise.
6757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6758 (GLIBC_2.29): Likewise.
6759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6760 (GLIBC_2.29): Likewise.
6761 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6762 Likewise.
6763 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6764 Likewise.
6765 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6766 Likewise.
6767 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6768 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6769 Likewise.
6770 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6771 Likewise.
6772 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6773 Likewise.
6774 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6775 Likewise.
6776
6777 2018-12-06 Joseph Myers <joseph@codesourcery.com>
6778
6779 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6780 trailing whitespace removed.
6781 * scripts/config.guess: Update to version 2018-11-28.
6782 * scripts/config.sub: Update to version 2018-11-28.
6783 * scripts/install-sh: Update to version 2018-03-11.20.
6784 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6785 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6786
6787 2018-12-07 Florian Weimer <fweimer@redhat.com>
6788
6789 [BZ #23927]
6790 CVE-2018-19591
6791 * inet/tst-if_index-long.c: New file.
6792 * inet/Makefile (tests): Add tst-if_index-long.
6793
6794 2018-12-07 Florian Weimer <fweimer@redhat.com>
6795
6796 * support/check.h (support_record_failure_is_failed): Declare.
6797 * support/descriptors.h: New file.
6798 * support/support_descriptors.c: Likewise.
6799 * support/tst-support_descriptors.c: Likewise.
6800 * support/support_record_failure.c
6801 (support_record_failure_is_failed): New function.
6802 * support/Makefile (libsupport-routines): Add support_descriptors.
6803 (tests): Add tst-support_descriptors.
6804
6805 2018-12-05 Zack Weinberg <zackw@panix.com>
6806 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6807
6808 * stdio-common/vfprintf-internal.c
6809 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6810 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6811 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6812 and __no_long_double.
6813 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6814 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6815 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6816 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6817 and __nldbl_*syslog* functions.
6818 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6819 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6820 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6821 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6822 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6823 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6824 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6825 (__nldbl_vwprintf, __nldbl_wprintf):
6826 Directly call the appropriate __v*printf_internal routine, passing
6827 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6828 variable names.
6829 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6830 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6831 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6832 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6833 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6834 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6835 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6836 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6837 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6838 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6839 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6840 (__nldbl_syslog, __nldbl_vsyslog):
6841 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6842 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6843 appropriate.
6844 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6845 appropriate.
6846
6847 2018-12-05 Zack Weinberg <zackw@panix.com>
6848 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6849
6850 [BZ #11319]
6851 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6852 Moved here from debug/vsprintf_chk.c.
6853 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6854 and completion logic for the strfile to match exactly what
6855 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6856 _IO_str_init_static_internal instead of maxlen-1.
6857 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6858 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6859 __vsprintf_internal.
6860
6861 * debug/vsprintf_chk.c (__vsprintf_chk)
6862 * debug/sprintf_chk.c (__sprintf_chk):
6863 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6864 'flags' argument is positive, and slen as maxlen. No need to lock
6865 the FILE and/or construct a temporary FILE. Minimize and normalize
6866 header inclusions and variable names. Do not libc_hidden_def anything.
6867
6868 * debug/asprintf_chk.c (__asprintf_chk)
6869 * debug/dprintf_chk.c (__dprintf_chk)
6870 * debug/fprintf_chk.c (__fprintf_chk)
6871 * debug/fwprintf_chk.c (__fwprintf_chk)
6872 * debug/printf_chk.c (__printf_chk)
6873 * debug/snprintf_chk.c (__snprintf_chk)
6874 * debug/swprintf_chk.c (__swprintf_chk)
6875 * debug/vasprintf_chk.c (__vasprintf_chk)
6876 * debug/vdprintf_chk.c (__vdprintf_chk)
6877 * debug/vfprintf_chk.c (__vfprintf_chk)
6878 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6879 * debug/vprintf_chk.c (__vprintf_chk)
6880 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6881 * debug/vswprintf_chk.c (__vswprintf_chk)
6882 * debug/vwprintf_chk.c (__vwprintf_chk)
6883 * debug/wprintf_chk.c (__wprintf_chk):
6884 Directly call the corresponding vxxprintf_internal function, passing
6885 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6886 the FILE and/or construct a temporary FILE. Minimize and normalize
6887 header inclusions and variable names. Do not libc_hidden_def anything.
6888
6889 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6890 __obstack_vprintf_internal.
6891 (__obstack_vprintf_chk): Convert into a wrapper that calls
6892 __obstack_vprintf_internal (these two functions already had the
6893 same code) and move to new file...
6894 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6895 file.
6896 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6897 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6898 * debug/Makefile (routines): Add vobprintf_chk.
6899
6900 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6901 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6902 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6903 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6904 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6905 (__nldbl___obstack_vfprintf_chk):
6906 Directly call the corresponding vxxprintf_internal function,
6907 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6908 duplicate comparison of slen with 0 or maxlen from the corresponding
6909 non-__nldbl function.
6910
6911 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6912 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6913 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6914 Remove libc_hidden_proto.
6915
6916 * stdio-common/vfprintf-internal.c
6917 (__vfprintf_internal, __vfwprintf_internal):
6918 Do not check _IO_FLAGS2_FORTIFY.
6919 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6920 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6921 a comment explaining why it has the maxlen argument.
6922 (_IO_acquire_lock_clear_flags2_fct): Remove.
6923 (_IO_acquire_lock_clear_flags2): Remove.
6924 (_IO_release_lock): Remove conditional statement which will
6925 now never execute.
6926 (_IO_acquire_lock): Remove variable which is now unused.
6927 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6928 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6929
6930 * stdio-common/Makefile (tests): Add tst-bz11319 and
6931 tst-bz11319-fortify2.
6932 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6933 * stdio-common/tst-bz11319-fortify2.c: New file.
6934 * stdio-common/tst-bz11319.c: Likewise.
6935
6936 2018-12-05 Zack Weinberg <zackw@panix.com>
6937 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6938
6939 * misc/syslog.c: Include libioP.h, not iolibio.h.
6940 (__vsyslog_internal): New function with the former body of
6941 __vsyslog_chk; takes mode_flags argument same as
6942 __v*printf_internal. Call __vfprintf_internal directly.
6943
6944 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6945 Remove libc_hidden_def.
6946 (__syslog, __syslog_chk): Use __vsyslog_internal.
6947 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6948
6949 * include/sys/syslog.h: Add multiple inclusion guard.
6950 Add prototype for __vsyslog_internal.
6951 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6952
6953 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6954 Use __vsyslog_internal.
6955
6956 2018-12-05 Zack Weinberg <zackw@panix.com>
6957 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6958
6959 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6960 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6961 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6962 New functions.
6963 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6964 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6965
6966 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6967 Include wctype.h here if COMPILE_WPRINTF is defined.
6968 Define __vfprintf_internal or __vfwprintf_internal, depending
6969 on COMPILE_WPRINTF.
6970 Temporarily, on entry to this function, update mode_flags
6971 according to the environmental settings corresponding to
6972 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6973 Throughout, check mode_flags instead of __ldbl_is_dbl and
6974 _IO_FLAGS2_FORTIFY on the destination FILE.
6975 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6976 Include vfprintf-internal.c. Don't include wctype.h.
6977 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6978 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6979 and vfprintf.
6980 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6981 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6982 and vfwprintf.
6983 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6984
6985 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6986 and add mode_flags argument; use __vfprintf_internal.
6987 (__vdprintf): New function. Alias vdprintf to this.
6988 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6989 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6990 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6991 (__obstack_printf): Use __obstack_printf_internal.
6992 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6993 public aliases __vsnprintf and vsnprintf.
6994 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6995 called internally.
6996 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6997 public aliases _IO_vsprintf and vsprintf.
6998 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6999 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
7000 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
7001 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
7002 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
7003
7004 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
7005 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
7006 * stdio-common/fprintf.c, stdio-common/fxprintf.c
7007 * stdio-common/printf.c: Use __vfprintf_internal.
7008
7009 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
7010 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
7011 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
7012
7013 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
7014 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
7015 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
7016 __vfwprintf_internal.
7017
7018 * libio/libio.h: Remove libc_hidden_proto and declaration for
7019 _IO_vfprintf.
7020 Remove declaration of _IO_vfwprintf.
7021 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
7022 _IO_vsprintf.
7023 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
7024 _IO_obstack_printf.
7025 * include/stdio.h: Add prototype for __vasprintf.
7026 (__vsnprintf): Remove declaration, because there are no more
7027 internal calls.
7028 * include/wchar.h (__vfwprintf, __vswprintf): Remove
7029 declaration, because there are no more internal calls.
7030
7031 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
7032 __vsnprintf_internal, instead of _IO_vsnprintf.
7033 * argp/argp-help.c (__argp_error, __argp_failure): Use
7034 __vasprintf_internal, instead of _IO_vasprintf.
7035 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
7036 redefine, because there are no more internal calls.
7037
7038 2018-12-05 Zack Weinberg <zackw@panix.com>
7039 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7040
7041 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
7042 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
7043 Include libio/strfile.h instead of libioP.h.
7044 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
7045 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
7046 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
7047 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
7048 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
7049 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
7050 necessary. Do not set __no_long_double. Normalize variable names.
7051 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
7052 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
7053 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
7054 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
7055 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
7056 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
7057 Call __vfscanf_internal / __vfwscanf_internal directly, passing
7058 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
7059 Do not set __no_long_double. Normalize variable names.
7060
7061 2018-12-05 Zack Weinberg <zackw@panix.com>
7062 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7063
7064 * stdio-common/isoc99_scanf.c
7065 * stdio-common/isoc99_fscanf.c
7066 * stdio-common/isoc99_sscanf.c
7067 * stdio-common/isoc99_vscanf.c
7068 * stdio-common/isoc99_vfscanf.c
7069 * stdio-common/isoc99_vsscanf.c
7070 * wcsmbs/isoc99_wscanf.c
7071 * wcsmbs/isoc99_fwscanf.c
7072 * wcsmbs/isoc99_swscanf.c
7073 * wcsmbs/isoc99_vwscanf.c
7074 * wcsmbs/isoc99_vfwscanf.c
7075 * wcsmbs/isoc99_vswscanf.c:
7076 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
7077 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
7078 No need to lock and unlock the FILE passed to that function.
7079
7080 * stdio-common/vfscanf-internal.c
7081 (__vfscanf_internal, __vfwscanf_internal):
7082 Don't look at _IO_FLAGS2_SCANF_STD.
7083 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
7084 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
7085 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
7086
7087 2018-12-05 Zack Weinberg <zackw@panix.com>
7088 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7089
7090 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
7091 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
7092 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
7093 * libio/strfile.h: Add multiple inclusion guard.
7094 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
7095
7096 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
7097 consistency with the other version of this file.
7098 (ldbl_compat_symbol): New macro.
7099 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
7100 New macro.
7101
7102 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
7103 Define __vfscanf_internal or __vfwscanf_internal, depending on
7104 COMPILE_WSCANF; don't define any other public symbols.
7105 Remove errval and code to set errp.
7106 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
7107 as the mode_flags argument.
7108 (encode_error, conv_error, input_error): Don't set errval.
7109 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
7110 Include vfscanf-internal.c.
7111 * stdio-common/vfscanf.c: New file defining the public entry
7112 point vfscanf, which calls __vfscanf_internal.
7113 * stdio-common/vfwscanf.c: New file defining the public entry
7114 point vfwscanf, which calls __vfwscanf_internal.
7115
7116 * stdio-common/iovfscanf.c: New file.
7117 * stdio-common/iovfwscanf.c: Likewise.
7118
7119 * stdio-common/Makefile (routines): Add vfscanf-internal,
7120 vfwscanf-internal, iovfscanf, iovfwscanf.
7121 * stdio-common/Versions: Mention GLIBC_2.29, so that
7122 it can be used in SHLIB_COMPAT expressions.
7123 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
7124 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
7125 Call __vfscanf_internal, instead of _IO_vfscanf.
7126 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
7127 _IO_vfscanf.
7128 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
7129 _IO_vfwscanf.
7130
7131 * libio/iovsscanf.c: Clean up includes, when possible. Use
7132 _IO_strfile_read or _IO_strfile_readw, when needed. Call
7133 __vfscanf_internal or __vfwscanf_internal directly.
7134 * libio/iovswscanf.c: Likewise.
7135 * libio/swscanf.c: Likewise.
7136 * libio/vscanf.c: Likewise.
7137 * libio/vwscanf.c: Likewise.
7138 * libio/wscanf.c: Likewise.
7139 * stdio-common/isoc99_fscanf.c: Likewise.
7140 * stdio-common/isoc99_scanf.c: Likewise.
7141 * stdio-common/isoc99_sscanf.c: Likewise.
7142 * stdio-common/isoc99_vfscanf.c: Likewise.
7143 * stdio-common/isoc99_vscanf.c: Likewise.
7144 * stdio-common/isoc99_vsscanf.c: Likewise.
7145 * stdio-common/scanf.c: Likewise.
7146 * stdio-common/sscanf.c: Likewise.
7147 * wcsmbs/isoc99_fwscanf.c: Likewise.
7148 * wcsmbs/isoc99_swscanf.c: Likewise.
7149 * wcsmbs/isoc99_vfwscanf.c: Likewise.
7150 * wcsmbs/isoc99_vswscanf.c: Likewise.
7151 * wcsmbs/isoc99_vwscanf.c: Likewise.
7152 * wcsmbs/isoc99_wscanf.c: Likewise.
7153
7154 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
7155
7156 * include/time.h
7157 (__tz_compute): Replace time_t with __time64_t.
7158 (__tz_convert): Replace time_t* with __time64_t.
7159 (__offtime): Replace time_t* with __time64_t.
7160 * time/gmtime.c
7161 (__gmtime_r): Adjust call to __tz_convert.
7162 (gmtime): Likewise.
7163 * time/localtime.c
7164 (__localtime_r): Likewise.
7165 (localtime): Likewise.
7166 * time/offtime.c: Replace time_t with __time64_t.
7167 * time/tzset.c: Likewise.
7168
7169 2018-12-04 Joseph Myers <joseph@codesourcery.com>
7170
7171 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7172 dynamic linker unless [$(run-built-tests) = yes].
7173
7174 2018-12-03 DJ Delorie <dj@delorie.com>
7175
7176 * support/test-container.c (check_for_unshare_hints): New.
7177 (main): Call it if unshare fails. Add support for "su" scriptlet
7178 command.
7179
7180 2018-12-03 Joseph Myers <joseph@codesourcery.com>
7181
7182 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7183 'START' to indicate that start text should be output.
7184 (gen_test): Likewise.
7185 (main): Generate 'START' for first symbol or '--' line, or at end
7186 of input if not previously generated.
7187
7188 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7189
7190 [BZ #19767]
7191 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7192 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7193 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7194 ALWAYS_USE_VSYSCALL.
7195
7196 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7197
7198 [BZ #23913]
7199 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7200 new_argv by one.
7201
7202 2018-12-03 Carlos O'Donell <carlos@redhat.com>
7203
7204 [BZ #23923]
7205 * locale/programs/localedef.c: Declare boolean hard_links default true.
7206 (options): Add --no-hard-links option.
7207 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7208 * locale/programs/localedef.h: Declare prototype for hard_links.
7209 * locale/programs/locfile.c (write_locale_data): Don't use hard
7210 links if hard_links is false.
7211
7212 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7213
7214 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7215 cpu_features_basic.
7216 (__cache_sysconf): Likewise.
7217 (init_cacheinfo): Likewise.
7218 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7219 populate COMMON_CPUID_INDEX_80000007 and
7220 COMMON_CPUID_INDEX_80000008.
7221 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7222 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7223 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7224 (init_cpu_features): Use _Static_assert on
7225 index_arch_Fast_Unaligned_Load.
7226 __get_cpuid_registers and __get_arch_feature. Updated for
7227 cpu_features_basic. Set stepping in cpu_features.
7228 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7229 (FEATURE_INDEX_2): New.
7230 (FEATURE_INDEX_MAX): Changed to enum.
7231 (COMMON_CPUID_INDEX_D_ECX_1): New.
7232 (COMMON_CPUID_INDEX_80000007): Likewise.
7233 (COMMON_CPUID_INDEX_80000008): Likewise.
7234 (cpuid_registers): Likewise.
7235 (cpu_features_basic): Likewise.
7236 (CPU_FEATURE_USABLE): Likewise.
7237 (bit_arch_XXX_Usable): Likewise.
7238 (cpu_features): Use cpuid_registers and cpu_features_basic.
7239 (bit_arch_XXX): Reweritten.
7240 (bit_cpu_XXX): Likewise.
7241 (index_cpu_XXX): Likewise.
7242 (reg_XXX): Likewise.
7243 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7244 <support/check.h>.
7245 (CHECK_CPU_FEATURE): New.
7246 (CHECK_CPU_FEATURE_USABLE): Likewise.
7247 (cpu_kinds): Likewise.
7248 (do_test): Print vendor, family, model and stepping. Check
7249 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7250 (TEST_FUNCTION): Removed.
7251 Include <support/test-driver.c> instead of
7252 "../../test-skeleton.c".
7253 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7254 Check POPCNT instead of POPCOUNT.
7255 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7256
7257 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7258
7259 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7260 there is no element in `consts'.
7261
7262 2018-12-01 Florian Weimer <fweimer@redhat.com>
7263
7264 * support/support_capture_subprocess.c
7265 (support_capture_subprocess): Check that pipe descriptors have
7266 expected values. Close original pipe descriptors in subprocess.
7267
7268 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7269
7270 [BZ #23032]
7271 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7272 attr with __pthread_default_barrierattr.
7273 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7274 attr with __pthread_default_condattr.
7275 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7276 attr with __pthread_default_mutexattr.
7277 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7278 attr with __pthread_default_rwlockattr.
7279
7280 2018-12-01 Kemi Wang <kemi.wang@intel.com>
7281
7282 * manual/tunables.texi (POSIX Thread Tunables): New node.
7283 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7284 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7285 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7286 __pthread_tunables_init.
7287 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7288 (max_adaptive_count): Define.
7289 * nptl/pthread_mutex_conf.c: New file.
7290 * nptl/pthread_mutex_conf.h: New file.
7291 * sysdeps/generic/adaptive_spin_count.h: New file.
7292 * sysdeps/nptl/dl-tunables.list: New file.
7293 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7294 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7295 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7296 Likewise.
7297
7298 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7299
7300 [BZ #20544]
7301 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7302 * stdlib/on_exit.c (__on_exit): Likewise.
7303 * stdlib/Makefile (tests): Add tst-bz20544.
7304 * stdlib/tst-bz20544.c: New test.
7305
7306 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7307
7308 [BZ #19767]
7309 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7310 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7311 New.
7312
7313 2018-11-30 Florian Weimer <fweimer@redhat.com>
7314
7315 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7316 Extend error logging.
7317 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7318 symbol.
7319
7320 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7321
7322 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7323 __sigismember instead of sigismember.
7324 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7325 cancel_handler): New definitions.
7326 (do_system): Use posix_spawn instead of fork and execl and remove
7327 reentracy code.
7328 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7329 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7330 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7331 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7332 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7333 * sysdeps/unix/sysv/linux/system.c: Likewise.
7334
7335 [BZ #22834]
7336 [BZ #17490]
7337 * NEWS: Add new semantic for atfork with popen and system.
7338 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7339 fork and execl.
7340
7341 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7342
7343 [BZ #23690]
7344 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7345 modification order when accessing reloc_result->addr.
7346 * include/link.h (reloc_result): Add field init.
7347 * nptl/Makefile (tests): Add tst-audit-threads.
7348 (modules-names): Add tst-audit-threads-mod1 and
7349 tst-audit-threads-mod2.
7350 Add rules to build tst-audit-threads.
7351 * nptl/tst-audit-threads-mod1.c: New file.
7352 * nptl/tst-audit-threads-mod2.c: Likewise.
7353 * nptl/tst-audit-threads.c: Likewise.
7354 * nptl/tst-audit-threads.h: Likewise.
7355
7356 2018-11-30 Joseph Myers <joseph@codesourcery.com>
7357
7358 * scripts/gen-as-const.py: New file.
7359 * scripts/gen-as-const.awk: Remove.
7360 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7361 gen-as-const.py.
7362 ($(objpfx)test-as-const-%.c): Likewise.
7363
7364 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7365
7366 * elf/dl-exception.c: Include <_itoa.h>.
7367
7368 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7369
7370 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7371 returned by __f_setlk.
7372
7373 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7374 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7375
7376 * elf/Makefile (tests-internal): Add tst-create_format1.
7377 * elf/dl-exception.c (_dl_exception_create_format): Support
7378 %x, %lx and %zx.
7379 * elf/tst-create_format1.c: New file.
7380
7381 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7382
7383 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7384 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7385 gnulib.)
7386 * argp/argp-help.c (__argp_failure): Likewise.
7387
7388 2018-11-29 Mao Han <han_mao@c-sky.com>
7389
7390 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7391 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7392 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7393 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7394 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7395 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7396 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7397 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7398 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7399 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7400 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7401 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7402 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7403 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7404 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7405 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7406 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7407 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7408 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7409 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7410 (R_CKCORE_TLS_TPOFF32): New defines.
7411
7412 2018-11-29 Florian Weimer <fweimer@redhat.com>
7413
7414 * posix/Makefile (before-compile): Remove testcases.h and
7415 ptestcases.h.
7416 (generated): Add testcases.h and ptestcases.h.
7417 (testcases.h, ptestcases.h): Move to $(objpfx).
7418 (runtests.o): Add dependency on testcases.h.
7419 (runptests.o): Add dependency on ptestcases.h.
7420 * posix/testcases.h, posix/ptestcases.h: Remove files.
7421 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7422 not touch posix/testcases.h and posix/ptestcases.h.
7423
7424 2018-11-28 Florian Weimer <fweimer@redhat.com>
7425
7426 support: Add signal support to support_capture_subprocess_check.
7427 * support/capture_subprocess.h (support_capture_subprocess_check):
7428 Adjust comment and rename parameter.
7429 * support/support_capture_subprocess_check.c
7430 (print_actual_status): New function.
7431 (support_capture_subprocess_check): Support negative
7432 status_or_signal. Call print_actual_status.
7433 * support/tst-support_capture_subprocess.c (do_test): Call
7434 support_capture_subprocess_check.
7435 * libio/tst-vtables-common.c (termination_status)
7436 (init_termination_status): Remove.
7437 (check_for_termination): Adjust support_capture_subprocess_check
7438 call.
7439 (do_test): Remove call to init_termination_status.
7440
7441 2018-11-28 Joseph Myers <joseph@codesourcery.com>
7442
7443 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7444 source directory instead of a copy.
7445 (CommandList.create_copy_dir): Remove.
7446
7447 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
7448
7449 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7450
7451 2018-11-28 Florian Weimer <fweimer@redhat.com>
7452
7453 * support/support.h (support_quote_string): Do not use str
7454 parameter name.
7455
7456 2018-11-27 Joseph Myers <joseph@codesourcery.com>
7457
7458 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7459 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7460
7461 2018-11-27 Florian Weimer <fweimer@redhat.com>
7462
7463 * support/support.h (support_quote_string): Declare.
7464 * support/support_quote_string.c: New file.
7465 * support/tst-support_quote_string.c: Likewise.
7466 * support/Makefile (libsupport-routines): Add
7467 support_quote_string.
7468 (tests): Add tst-support_quote_string.
7469
7470 2018-11-27 Florian Weimer <fweimer@redhat.com>
7471
7472 [BZ #23927]
7473 CVE-2018-19591
7474 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7475 descriptor leak in case of ENODEV error.
7476
7477 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7478
7479 [BZ #19767]
7480 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7481 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7482 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7483
7484 2018-11-26 Carlos O'Donell <carlos@redhat.com>
7485
7486 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7487 Error for unknown lines.
7488
7489 2018-11-26 Joseph Myers <joseph@codesourcery.com>
7490
7491 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7492 Touch additional files.
7493
7494 2018-11-26 Florian Weimer <fweimer@redhat.com>
7495
7496 [BZ #23907]
7497 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7498 double-frees.
7499
7500 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7501
7502 [BZ #19767]
7503 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7504 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7505 SHARED. Include sysdep.h.
7506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7507 ALWAYS_USE_VSYSCALL.
7508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7509 ALWAYS_USE_VSYSCALL.
7510
7511 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7512
7513 [BZ #19767]
7514 * nptl/Makefile (tests-static): Add tst-cond11-static.
7515 (tests): Likewise.
7516 * nptl/tst-cond11-static.c: New File.
7517 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7518 tst-affinity-static.
7519 (tests): Likewise.
7520 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7521 instead of SHARED.
7522 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7523 (USE_VSYSCALL): Likewise.
7524 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7525 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7526 instead of SHARED.
7527 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7528 SHARED.
7529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7530 New.
7531
7532 2018-11-23 Joseph Myers <joseph@codesourcery.com>
7533
7534 [BZ #23915]
7535 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7536 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7537 Undefine.
7538
7539 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7540
7541 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7542 (tst-cet-legacy-1a-ARGS): New.
7543 ($(objpfx)tst-cet-legacy-1a): New target.
7544 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7545
7546 2018-11-22 Joseph Myers <joseph@codesourcery.com>
7547
7548 * conform/conformtest.py (CompileSubTest.__init__): Set
7549 self.run_early to False.
7550 (ExecuteSubTest.__init__): Likewise.
7551 (HeaderTests.run): Try running all non-optional, non-XFAILed
7552 compilation tests in a single execution of the compiler.
7553
7554 * conform/conformtest.py (CompileSubTest): New class.
7555 (ExecuteSubTest): Likewise.
7556 (ElementTest.run): Rename to gen_subtests. Append tests to
7557 self.subtests instead of running them.
7558 (ConstantTest.run): Likewise.
7559 (SymbolTest.run): Likewise.
7560 (TypeTest.run): Likewise.
7561 (TagTest.run): Likewise.
7562 (FunctionTest.run): Likewise.
7563 (VariableTest.run): Likewise.
7564 (MacroFunctionTest.run): Likewise.
7565 (MacroStrTest.run): Likewise.
7566 (HeaderTests.handle_test_line): Generate subtests for tests.
7567 (HeaderTests.run): Run subtests for tests.
7568
7569 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7570
7571 * math/Versions (GLIBC_2.29): Add pow.
7572 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7573 symbol.
7574 * math/w_pow.c: New file.
7575 * sysdeps/i386/fpu/w_pow.c: New file.
7576 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7577 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7578 and add necessary aliases.
7579 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7580 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7581 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7582 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7583 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7584 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7585 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7586 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7587 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7588 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7589 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7590 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7591 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7592 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7593 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7598 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7599 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7600 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7601 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7602 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7603 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7604 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7605 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7606 __pow.
7607 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7608 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7609 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7610
7611 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7612
7613 * math/Versions (GLIBC_2.29): Add log2.
7614 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7615 symbol.
7616 * math/w_log2.c: New file.
7617 * sysdeps/i386/fpu/w_log2.c: New file.
7618 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7619 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7620 and add necessary aliases.
7621 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7622 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7623 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7624 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7625 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7626 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7627 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7628 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7629 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7630 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7631 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7632 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7633 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7634 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7635 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7640 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7641 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7642 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7643 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7644 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7645 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7646 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7647
7648 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7649
7650 * math/Versions (GLIBC_2.29): Add log.
7651 * math/w_log_compat.c (__log_compat): Change to versioned compat
7652 symbol.
7653 * math/w_log.c: New file.
7654 * sysdeps/i386/fpu/w_log.c: New file.
7655 * sysdeps/ia64/fpu/e_log.S: Update.
7656 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7657 and add necessary aliases.
7658 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7659 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7660 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7661 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7662 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7663 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7664 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7665 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7666 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7667 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7668 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7669 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7670 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7671 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7672 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7677 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7678 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7679 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7680 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7681 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7682 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7683 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7684 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7685 __log.
7686 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7687 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7688 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7689 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7690
7691 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7692
7693 * math/Versions (GLIBC_2.29): Add exp and exp2.
7694 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7695 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7696 * math/w_exp_compat.c (__exp_compat): Likewise.
7697 * math/w_exp.c: New file.
7698 * math/w_exp2.c: New file.
7699 * sysdeps/i386/fpu/w_exp.c: New file.
7700 * sysdeps/i386/fpu/w_exp2.c: New file.
7701 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7702 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7703 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7704 and add necessary aliases.
7705 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7706 and add necessary aliases.
7707 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7708 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7709 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7710 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7711 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7712 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7713 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7714 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7715 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7716 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7717 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7718 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7719 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7720 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7721 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7722 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7723 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7728 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7729 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7730 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7731 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7732 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7733 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7734 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7735 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7736 (__ieee754_exp): Rename to __exp.
7737 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7738 (__ieee754_exp): Rename to __exp.
7739 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7740 (__ieee754_exp): Rename to __exp.
7741 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7742 __exp.
7743 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7744
7745 2018-11-20 DJ Delorie <dj@redhat.com>
7746
7747 * malloc/malloc.c (tcache_entry): Add key field.
7748 (tcache_put): Set it.
7749 (tcache_get): Likewise.
7750 (_int_free): Check for double free in tcache.
7751 * malloc/tst-tcfree1.c: New.
7752 * malloc/tst-tcfree2.c: New.
7753 * malloc/Makefile: Run the new tests.
7754 * manual/probes.texi: Document memory_tcache_double_free probe.
7755
7756 * dlfcn/dlerror.c (check_free): Prevent double frees.
7757
7758 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7759
7760 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7761
7762 2018-11-20 Joseph Myers <joseph@codesourcery.com>
7763
7764 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7765 in tests. Use names for format arguments.
7766 (ConstantTest.run): Likewise.
7767 (SymbolTest.run): Likewise.
7768 (TypeTest.run): Likewise.
7769 (TagTest.run): Likewise.
7770 (FunctionTest.run): Likewise.
7771 (VariableTest.run): Likewise.
7772 (MacroFunctionTest.run): Likewise.
7773 (MacroStrTest.run): Likewise.
7774 (HeaderTests.__init__): Set self.num_tests.
7775 (HeaderTests.handle_test_line): Set test.num. Increment
7776 self.num_tests.
7777
7778 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7779
7780 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7781 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7782 SEEK_SET.
7783
7784 2018-11-19 Mao Han <han_mao@c-sky.com>
7785
7786 * scripts/config.guess: Update to version 2018-08-29.
7787 * scripts/config.sub: Update to version 2018-08-29.
7788
7789 2018-11-19 Florian Weimer <fweimer@redhat.com>
7790
7791 support: Print timestamps in timeout handler.
7792 * support/support_test_main.c (print_timestamp): New function.
7793 (signal_handler): Use it to print the termination time and the
7794 time of the last write to standard output.
7795
7796 2018-11-16 Zack Weinberg <zackw@panix.com>
7797 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7798
7799 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7800 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7801 argument.
7802 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7803 and add flags argument. Check flags instead of __ldbl_is_dbl when
7804 deciding whether to set is_long_double.
7805 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7806 passing zero for flags argument.
7807 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7808
7809 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7810 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7811 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7812 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7813 variable names. Remove libc_hidden_def/libc_hidden_proto from
7814 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7815 longer called from within the library.
7816 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7817 for __nldbl___vstrfmon_l, declare it explicitly.
7818
7819 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7820
7821 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7822
7823 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7824 macros
7825 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7826 F_SETLK64, F_SETLKW64, respectively.
7827 * sysdeps/mach/hurd/f_setlk.c: New file.
7828 * sysdeps/mach/hurd/f_setlk.h: New file.
7829 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7830 f_setlk.
7831 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7832 (__libc_fcntl): Move non-flock operations to...
7833 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7834 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7835
7836 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7837
7838 mktime: DEBUG_MKTIME cleanup
7839 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7840 And it’s no longer needed now that glibc and Gnulib both have
7841 their own testing mechanisms for mktime.
7842 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7843
7844 mktime: fix non-EOVERFLOW errno handling
7845 [BZ#23789]
7846 mktime was not properly reporting failures when the underlying
7847 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7848 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7849 The problem could happen on non-glibc platforms, with Gnulib.
7850 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7851 (tm_diff): ... this simpler function, which does not change errno.
7852 All callers changed to deal with errno themselves.
7853 (ranged_convert, __mktime_internal): Return failure immediately if
7854 the underlying function reports any failure other than EOVERFLOW.
7855 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7856 gap code fails.
7857
7858 mktime: fix bug with Y2038 DST transition
7859 [BZ#23789]
7860 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7861 mishandle a DST transition that jumps over the Y2038 boundary.
7862 No such DST transitions are known so this is only a theoretical
7863 bug, but we might as well do things right.
7864
7865 mktime: make more room for overflow
7866 [BZ#23789]
7867 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7868 This is so that we can add tm_diff results to a previous guess,
7869 which will be useful in a later patch.
7870
7871 mktime: simplify offset guess
7872 [BZ#23789]
7873 * time/mktime.c (__mktime_internal): Omit excess precision.
7874
7875 mktime: new test for mktime failure
7876 [BZ#23789]
7877 Based on a test suggested by Albert Aribaud in:
7878 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7879 * time/Makefile (tests): Add bug-mktime4.
7880 * time/bug-mktime4.c: New file.
7881
7882 mktime: fix EOVERFLOW bug
7883 [BZ#23789]
7884 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7885 Include libc-config.h, not config.h, for __set_errno.
7886 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7887
7888 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7889
7890 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7891 __attribute_copy__ to copy attributes from name. Drop static qualifier
7892 to avoid warnings about leaf attribute not having effect on static
7893 functions.
7894
7895 2018-11-13 Florian Weimer <fweimer@redhat.com>
7896
7897 * malloc/malloc.c (fastbin_push_entry): New function.
7898 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7899 (REMOVE_FB): Remove macro.
7900 (_int_malloc): Use fastbin_pop_entry and reindent.
7901 (_int_free): Use fastbin_push_entry.
7902 (malloc_consolidate): Use atomic_exchange_acquire.
7903
7904 2018-11-13 Joseph Myers <joseph@codesourcery.com>
7905
7906 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7907 alias attribute, not with strong_alias.
7908
7909 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7910 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7911 with additional parameter thread.
7912 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7913 in terms of __hidden_ver2.
7914 (hidden_tls_def): New macro.
7915 (libc_hidden_tls_def): Likewise.
7916 (rtld_hidden_tls_def): Likewise.
7917 (libm_hidden_tls_def): Likewise.
7918 (libmvec_hidden_tls_def): Likewise.
7919 (libresolv_hidden_tls_def): Likewise.
7920 (librt_hidden_tls_def): Likewise.
7921 (libdl_hidden_tls_def): Likewise.
7922 (libnss_files_hidden_tls_def): Likewise.
7923 (libnsl_hidden_tls_def): Likewise.
7924 (libnss_nisplus_hidden_tls_def): Likewise.
7925 (libutil_hidden_tls_def): Likewise.
7926 (libutil_hidden_tls_def): Likweise.
7927 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7928 libc_hidden_tls_def.
7929 (__sim_disabled_exceptions_thread): Likewise.
7930 (__sim_round_mode_thread): Likewise.
7931
7932 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7933 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7934 copy attributes from name.
7935
7936 2018-11-12 Joseph Myers <joseph@codesourcery.com>
7937
7938 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7939 Use __attribute_copy__ to copy attributes from name.
7940
7941 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7942 with __hidden_ver1 call.
7943 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7944 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7945 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7946 (__cosf): Do not declare here.
7947 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7948 (__sincosf): Do not declare here.
7949 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7950 (__sinf): Do not declare here.
7951
7952 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7953 (__BIG_ENDIAN): Likewise.
7954 (__BYTE_ORDER): Likewise.
7955 (strong_alias): Likewise.
7956 (_strong_alias): Likewise.
7957
7958 2018-11-12 Florian Weimer <fweimer@redhat.com>
7959
7960 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7961 function. Move after the definition of in_smallbin_range. Do not
7962 use __builtin_expect for paths that lead to a noreturn function.
7963 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7964 because it is unclear whether this is in fact an unlikely
7965 condition.
7966 (_int_malloc, _int_free): Adjust.
7967 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7968 variables.
7969 * malloc/arena.c (heap_trim): Likewise.
7970
7971 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7972
7973 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7974 it, free it if needed.
7975 (reauthenticate): Test and use ccwdir.
7976 (child_init_port): In non-resetids case, test and use ccwdir.
7977 (child_chdir): New nested function to set ccwdir.
7978 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7979 * hurd/hurd/port.h (_hurd_port_move): New function.
7980 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7981 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
7982 * hurd/Versions (_hurd_port_move): Export function.
7983 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7984 symbol.
7985 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7986 of dtablesize for allocating dtable_cloexec.
7987
7988 2018-11-09 Martin Sebor <msebor@redhat.com>
7989
7990 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7991 it's already defined.
7992 (_strong_alias): Use __attribute_copy__.
7993 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7994 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7995 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7996 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7997 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7998 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7999 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
8000 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
8001 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
8002 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
8003 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
8004 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
8005 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
8006 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
8007 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
8008 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
8009 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
8010 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
8011 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
8012
8013 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8014
8015 * misc/tst-efgcvt.c: Include support/check.h and
8016 support/test-driver.c. Do not include test-skeleton.c.
8017 (error_count): Remove.
8018 (output_error): Replace increments to error_count with calls to
8019 support_record_failure.
8020 (output_r_error): Likewise.
8021 (special): Likewise.
8022 (do_test): Unconditionally return zero.
8023 (TEST_FUNCTION): Remove.
8024
8025 2018-11-09 Joseph Myers <joseph@codesourcery.com>
8026
8027 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
8028 not $(@D)/scratch.
8029 ($(linknamespace-header-tests)): Likewise.
8030
8031 * conform/conformtest.py: New file.
8032 * conform/conformtest.pl: Remove.
8033 * conform/GlibcConform.pm: Likewise.
8034 * conform/glibcconform.py (KEYWORDS_C90): New constant.
8035 (KEYWORDS_C99): Likewise.
8036 (KEYWORDS): Likewise.
8037 * conform/Makefile ($(conformtest-header-tests)): Use
8038 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
8039 option. Use --header instead of --headers.
8040 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
8041 function entries.
8042 * conform/data/spawn.h-data: Likewise.
8043 * conform/data/fcntl.h-data (openat): Add space after function
8044 name.
8045 * conform/data/wchar.h-data (wcscasecmp): Likewise.
8046 (wcscasecmp_l): Likewise.
8047 * conform/data/termios.h-data (c_cc): Add space after element
8048 name.
8049
8050 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8051
8052 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
8053 instead of manually comparing and reporting mismatching strings.
8054 * misc/tst-ldbl-error.c (do_one_test): Likewise.
8055 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
8056
8057 2018-11-08 Joseph Myers <joseph@codesourcery.com>
8058
8059 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
8060 __ASSUME_SOCKETCALL.
8061 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8062 (__ASSUME_SOCKETCALL): Remove.
8063 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8064 (__ASSUME_SOCKETCALL): Likewise.
8065 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8066 (__ASSUME_SOCKETCALL): Likewise.
8067 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8068 (__ASSUME_SOCKETCALL): Likewise.
8069 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8070 (__ASSUME_SOCKETCALL): Likewise.
8071 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8072 (__ASSUME_SOCKETCALL): Likewise.
8073 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8074 (__ASSUME_SOCKETCALL): Likewise.
8075
8076 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
8077
8078 [BZ #23509]
8079 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
8080 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
8081 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
8082 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
8083 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
8084 lc_unknown.
8085
8086 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
8087
8088 [BZ #17630]
8089 * resolv/tst-resolv-network.c: Add test for getnetbyname.
8090
8091 2018-11-07 Joseph Myers <joseph@codesourcery.com>
8092
8093 [BZ #23867]
8094 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8095 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8096 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8097 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8098
8099 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8100
8101 * support/support_test_compare_string.c
8102 (support_test_compare_string): Fix printf format.
8103
8104 2018-11-07 Florian Weimer <fweimer@redhat.com>
8105
8106 Implement TEST_COMPARE_STRING.
8107 * support/check.h (TEST_COMPARE_STRING): Define.
8108 (support_test_compare_string): Declare.
8109 * support/Makefile (libsupport-routines): Add
8110 support_test_compare_string.
8111 (tests): Add tst-test_compare_string.
8112 * support/support_test_compare_string.c: New file.
8113 * support/tst-test_compare_string.c: Likewise.
8114
8115 2018-11-07 Andreas Schwab <schwab@suse.de>
8116
8117 [BZ #23864]
8118 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
8119 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
8120 Undef.
8121
8122 2018-11-06 Joseph Myers <joseph@codesourcery.com>
8123
8124 [BZ #23862]
8125 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8126 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
8127 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
8128 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
8129 Likewise.
8130
8131 2018-11-06 Florian Weimer <fweimer@redhat.com>
8132
8133 [BZ #17405]
8134 * posix/Makefile (routines): Add spawn_faction_addchdir.
8135 (tests): Add tst-spawn-chdir.
8136 * posix/Versions (GLIBC_2.29): Add
8137 posix_spawn_file_actions_addchdir_np.
8138 * posix/spawn_faction_addchdir.c: New file.
8139 * posix/spawn_faction_destroy.c
8140 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
8141 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
8142 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
8143 chdir_action.
8144 * posix/tst-spawn-chdir.c: New file.
8145 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
8146 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8147 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8148 posix_spawn_file_actions_addchdir_np.
8149 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8150 Likewise.
8151 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8152 Likewise.
8153 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8154 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8155 Likewise.
8156 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8157 Likewise.
8158 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8159 Likewise.
8160 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8161 Likewise.
8162 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8163 Likewise.
8164 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8165 Likewise.
8166 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8167 (GLIBC_2.29): Likewise.
8168 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8169 (GLIBC_2.29): Likewise.
8170 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8171 (GLIBC_2.29): Likewise.
8172 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8173 (GLIBC_2.29): Likewise.
8174 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8175 Likewise.
8176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8177 (GLIBC_2.29): Likewise.
8178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8179 (GLIBC_2.29): Likewise.
8180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8181 (GLIBC_2.29): Likewise.
8182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8183 (GLIBC_2.29): Likewise.
8184 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8185 Likewise.
8186 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8187 Likewise.
8188 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8189 Likewise.
8190 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8191 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8192 Likewise.
8193 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8194 Likewise.
8195 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8196 Likewise.
8197 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8198 Likewise.
8199
8200 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8201
8202 * misc/Makefile (tests): Add tst-ldbl-error.
8203 * misc/tst-ldbl-error.c: New file.
8204
8205 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8206
8207 * misc/Makefile (tests): Add tst-ldbl-warn.
8208 * misc/tst-ldbl-warn.c: New file.
8209
8210 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8211
8212 * argp/Makefile (tests): Add tst-ldbl-argp.
8213 * argp/tst-ldbl-argp.c: New file.
8214
8215 2018-11-05 Arjun Shankar <arjun@redhat.com>
8216
8217 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8218 __gconv_path_elem and call __gconv_get_path unconditionally.
8219
8220 2018-11-05 Andreas Schwab <schwab@suse.de>
8221
8222 [BZ #22927]
8223 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8224 creating the first helper thread failed.
8225
8226 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8227
8228 * sysdeps/mach/hurd/msync.c: New file.
8229
8230 2018-11-02 Florian Weimer <fweimer@redhat.com>
8231
8232 * support/shell-container.c (copy_func): Call
8233 support_copy_file_range instead of copy_file_range to support
8234 cross-device copies.
8235
8236 2018-11-02 Florian Weimer <fweimer@redhat.com>
8237
8238 * support/test-container.c: Include <libc-pointer-arith.h> for
8239 ALIGN_UP.
8240
8241 2018-11-01 Zong Li <zong@andestech.com>
8242
8243 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8244 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8245 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8246 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8247
8248 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8249 variable to avoid overlap arguments.
8250
8251 2018-11-01 Joseph Myers <joseph@codesourcery.com>
8252
8253 * posix/bug-regex22.c (main): Use puts with distinct error
8254 messages for unexpected success of re_compile_pattern, not printf
8255 with NULL argument to %s.
8256
8257 * stdio-common/bug22.c: Include <libc-diag.h>.
8258 (do_test): Disable -Wformat-overflow= warnings around fprintf
8259 calls outputting more than INT_MAX characters.
8260 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8261 around printf call with NULL %s argument.
8262
8263 [BZ #23848]
8264 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8265 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8266 Undefine.
8267 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8268 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8269 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8270 (__ASSUME_SENDTO_SYSCALL): Likewise.
8271 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8272 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8273 [!__arch64__].
8274 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8275 (__ASSUME_CONNECT_SYSCALL): Likewise.
8276 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8277 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8278 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8279 Define.
8280 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8281 Likewise.
8282 [__LINUX_KERNEL_VERSION >= 0x040400]
8283 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8284 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8285 Remove.
8286 (listen): Likewise.
8287 (setsockopt): Likewise.
8288
8289 2018-11-01 Fredrik Noring <noring@nocrew.org>
8290
8291 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8292 with the ISA override.
8293
8294 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8295
8296 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8297 #endif.
8298
8299 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8300
8301 * manual/errno.texi (EIEIO): Document how translators should
8302 translate the error message.
8303 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8304 printing trailing whitespaces refused by git.
8305 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8306 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8307 * hurd/Makefile (user-interfaces): Add pci.
8308
8309 2018-10-30 Joseph Myers <joseph@codesourcery.com>
8310
8311 * conform/linknamespace.py: New file.
8312 * conform/linknamespace.pl: Remove file.
8313 * conform/Makefile ($(linknamespace-header-tests)): Use
8314 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8315 option.
8316
8317 2018-10-30 Florian Weimer <fweimer@redhat.com>
8318
8319 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8320 memory leaks.
8321
8322 2018-10-30 Florian Weimer <fweimer@redhat.com>
8323
8324 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8325
8326 2018-10-30 Florian Weimer <fweimer@redhat.com>
8327
8328 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8329 support_blob_repeat.
8330
8331 2018-10-30 Florian Weimer <fweimer@redhat.com>
8332
8333 Avoid spurious test failures in stdlib/test-bz22786.
8334 * support/Makefile (libsupport-routines): Add blob_repeat.
8335 (tests): Add tst-support_blob_repeat.
8336 * support/blob_repeat.h: New file.
8337 * support/blob_repeat.c: Likewise.
8338 * support/tst-support_blob_repeat.c: Likewise.
8339 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8340 support_blob_repeat_allocate.
8341
8342 2018-10-30 Andreas Schwab <schwab@suse.de>
8343
8344 [BZ #23125]
8345 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8346 Don't use tail call.
8347 * elf/tst-unwind-main.c: New file.
8348 * elf/Makefile (tests): Add tst-unwind-main.
8349 (CFLAGS-tst-unwind-main.c): Define.
8350
8351 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
8352
8353 [BZ #23791]
8354 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8355 n_cs_precedes to 0.
8356 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8357
8358 2018-10-29 Joseph Myers <joseph@codesourcery.com>
8359
8360 * conform/glibcconform.py: Do not import shutil.
8361 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8362 of mkdtemp.
8363
8364 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8365 critic_missing for versions before 3.4.
8366 * configure: Regenerated.
8367 * manual/install.texi (Tools for Compilation): Document
8368 requirement for Python to build glibc.
8369 * INSTALL: Regenerated.
8370 * Rules [PYTHON]: Make code unconditional.
8371 * benchtests/Makefile [PYTHON]: Likewise.
8372 * conform/Makefile [PYTHON]: Likewise.
8373 * manual/Makefile [PYTHON]: Likewise.
8374 * math/Makefile [PYTHON]: Likewise.
8375
8376 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8377
8378 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
8379 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
8380 answer to interrupt_operation, return EIEIO instead of EINTR.
8381 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8382 _hurd_intr_rpc_msg_about_to global point to start of controlled
8383 assembly snippet. Make it check canceled flag.
8384 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8385 the _hurd_intr_rpc_msg_about_to point.
8386 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8387 issue, remove cancel flag check.
8388
8389 2018-10-26 Joseph Myers <joseph@codesourcery.com>
8390
8391 * scripts/build-many-glibcs.py: Remove compatibility for missing
8392 os.cpu_count and re.fullmatch.
8393
8394 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8395
8396 [BZ #23822]
8397 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8398 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8399 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8400
8401 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8402
8403 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8404 macro.
8405
8406 2018-10-25 Florian Weimer <fweimer@redhat.com>
8407
8408 [BZ #23562]
8409 [BZ #23821]
8410 XFAIL siginfo_t si_band conform test on sparc64.
8411 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8412 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8413 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8414 (conformtest-xfail-conds): Add sparc64-linux.
8415 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8416 sparc64.
8417 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8418
8419 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8420
8421 * elf/elf.h (NT_MIPS_DSP): New macro.
8422 (NT_MIPS_FP_MODE): Likewise.
8423
8424 2018-10-25 Zong Li <zong@andestech.com>
8425
8426 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8427 name by adding the file extension (.so).
8428
8429 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8430
8431 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8432 (test-xfail-ISO11/threads.h/linknamespace,
8433 test-xfail-ISO11/threads.h/conform): Add.
8434
8435 2018-10-24 Joseph Myers <joseph@codesourcery.com>
8436
8437 * math/gen-libm-test.py: Import os.
8438 (ALL_FLOATS_MANUAL): New constant.
8439 (ALL_FLOATS_SUFFIX): Likewise.
8440 (Ulps.all_functions): New function.
8441 (real_all_ulps): Likewise.
8442 (generate_err_table_sub): Likewise.
8443 (generate_err_table): Likewise.
8444 (main): Handle -s and -m options.
8445 * manual/libm-err-tab.pl: Remove.
8446 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8447 instead of libm-err-tab.pl.
8448 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8449 != no].
8450 * manual/install.texi (Tools for Compilation): Document
8451 requirement for Python to build manual.
8452 * INSTALL: Regenerated.
8453
8454 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8455
8456 * bits/time64.h: New file.
8457 * include/time.h: Replace internal_time_t with __time64_t.
8458 * posix/bits/types (__time64_t): Add.
8459 * stdlib/Makefile: Add bits/time64.h to includes.
8460 * time/tzfile.c: Replace internal_time_t with __time64_t.
8461
8462 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8463
8464 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8465 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8466 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8467 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8468 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8469 prototype.
8470 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8471 * posix/spawn_faction_addclose.c
8472 (__posix_spawn_file_actions_addclose): Add hidden definition.
8473 * posix/spawn_faction_adddup2.c
8474 (__posix_spawn_file_actions_adddup2): Likewise.
8475 * posix/spawn_faction_destroy.c
8476 (__posix_spawn_file_actions_destroy): Likewise.
8477 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8478 Likewise.
8479 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8480 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8481 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8482 Likewise.
8483 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8484 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8485 Likewise.
8486
8487 2018-10-24 Andreas Schwab <schwab@suse.de>
8488
8489 [BZ #18093]
8490 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8491 format cache.
8492 * elf/cache.c (print_cache): Likewise.
8493
8494 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8495
8496 * bits/timesize.h: New file.
8497 * stdlib/Makefile (headers): Add bits/timesize.h.
8498 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8499 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8500 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8501 (__SEM_PAD_AFTER_TIME): Likewise.
8502 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8503 (__SHM_PAD_AFTER_TIME): Likewise.
8504 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8505 (__MSQ_PAD_BEFORE_TIME): Likewise.
8506 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8507 (__SEM_PAD_BEFORE_TIME): Likewise.
8508 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8509 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8510 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
8511 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8512 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8513 (__MSQ_PAD_BEFORE_TIME): Likewise.
8514 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8515 (__SEM_PAD_BEFORE_TIME): Likewise.
8516 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8517 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8518 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8519 (__MSQ_PAD_BEFORE_TIME): Likewise.
8520 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8521 (__SEM_PAD_BEFORE_TIME): Likewise.
8522 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8523 (__SHM_PAD_BEFORE_TIME): Likewise.
8524 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8525 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8526 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8527
8528 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8529
8530 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8531 USE_RDTSCP is defined.
8532 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8533 USE_RDTSCP is defined.
8534
8535 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8536
8537 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8538 defined.
8539
8540 [BZ #23709]
8541 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8542 independently of other flags.
8543
8544 2018-10-23 Florian Weimer <fweimer@redhat.com>
8545
8546 * time/tst-mktime2.c (N_STRINGS): Remove.
8547 (set_timezone): New function.
8548 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8549 (mktime_test1): Report localtime failure and check errno value.
8550 Use TEST_COMPARE.
8551 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8552 (do_test): Remove alarm call. Use set_timezone and array_length.
8553
8554 2018-10-23 Andreas Schwab <schwab@suse.de>
8555
8556 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8557 (__start_context): Use END instead of PSEUDO_END.
8558
8559 2018-10-22 Joseph Myers <joseph@codesourcery.com>
8560
8561 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8562 version to 4.19.
8563
8564 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8565 version to 4.19.
8566
8567 [BZ #23793]
8568 * wcsmbs/c32rtomb.c: New file.
8569 * wcsmbs/mbrtoc32.c: Likewise.
8570 * wcsmbs/tst-c32-state.c: Likewise.
8571 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8572 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8573 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8574 (tests): Add tst-c32-state.
8575 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8576 $(gen-locales).
8577
8578 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8579
8580 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8581 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8582
8583 2018-10-19 Joseph Myers <joseph@codesourcery.com>
8584
8585 [BZ #23794]
8586 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8587 pair and return 0 in that case, and use saved character to
8588 interpret following character.
8589 * wcsmbs/tst-c16-surrogate.c: New file.
8590 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8591 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8592 Depend on $(gen-locales)
8593
8594 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8595
8596 [BZ #23562]
8597 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8598 (struct siginfo_t): Use correct type for si_band.
8599
8600 2018-10-19 Florian Weimer <fweimer@redhat.com>
8601
8602 [BZ #23689]
8603 * resource/bits/types/struct_rusage.h (struct rusage): Update
8604 comment on struct. Remove extraneous field comment.
8605
8606 2018-10-18 David S. Miller <davem@davemloft.net>
8607
8608 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8609 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8610 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8611 sysdep_routines in subdir elf.
8612 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8613 version for __vdso_clock_gettime.
8614 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8615 Define.
8616 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8617 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8618
8619 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8620
8621 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8622
8623 * sysdeps/i386/init-arch.h: Removed.
8624 * sysdeps/i386/i586/init-arch.h: Likewise.
8625 * sysdeps/i386/i686/init-arch.h: Likewise.
8626 * sysdeps/i386/i686/hp-timing.h: Likewise.
8627 * sysdeps/x86_64/hp-timing.h: Likewise.
8628 * sysdeps/i386/isa.h: New file.
8629 * sysdeps/i386/i586/isa.h: Likewise.
8630 * sysdeps/i386/i686/isa.h: Likewise.
8631 * sysdeps/x86_64/isa.h: Likewise.
8632 * sysdeps/x86/hp-timing.h: New file.
8633 * sysdeps/x86/init-arch.h: Include <isa.h>.
8634
8635 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8636
8637 * math/libm-test-pow.inc (pow_test_data): Do not allow
8638 divide-by-zero exception for pow(+/- 0, -Inf).
8639
8640 2018-10-17 Zack Weinberg <zackw@panix.com>
8641
8642 * manual/job.texi (Job Control is Optional): Remove node, as
8643 job control has not been optional in quite some time.
8644 (Job Control): Mention briefly that systems older than
8645 POSIX.1-2001 might not support job control.
8646 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8647 defined on systems conforming to POSIX.1-2001.
8648
8649 2018-10-17 Arjun Shankar <arjun@redhat.com>
8650
8651 [BZ #22062]
8652 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8653 indentation.
8654 * (__gconv_read_conf): Mark function static.
8655 * (once): New static variable.
8656 * (__gconv_load_conf): New function.
8657 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8658 * iconv/gconv_db.c (once): Remove static variable.
8659 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8660 __gconv_read_conf.
8661 * (__gconv_find_transform): Likewise.
8662 * iconv/tst-iconv-mt.c: New test.
8663 * iconv/Makefile: Add tst-iconv_mt.
8664
8665 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8666
8667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8668 bits/shm-pad.h.
8669 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8670 (shmatt_t): Define as __syscall_ulong_t.
8671 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8672 and [__SHM_PAD_AFTER_TIME].
8673 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8674 Define shm_segsz and associated padding based on
8675 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8676 Use __syscall_ulong_t instead of unsigned long int.
8677 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8678 unsigned long int.
8679 [__USE_MISC] (struct shm_info): Likewise.
8680 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8681 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8682 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8683 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8684 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8685 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8686 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8687 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8688 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8689 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8690 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8691
8692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8693 bits/shmlba.h.
8694 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8695 (SHMLBA): Remove macro.
8696 (__getpagesize): Remove function declaration.
8697 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8698 <bits/shmlba.h>.
8699 (SHMLBA): Remove macro.
8700 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8701 <bits/shmlba.h>.
8702 (SHMLBA): Remove macro.
8703 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8704 <bits/shmlba.h>.
8705 (SHMLBA): Remove macro.
8706 (__getpagesize): Remove function declaration.
8707 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8708 <bits/shmlba.h>.
8709 (SHMLBA): Remove macro.
8710 (__getshmlba): Remove function declaration.
8711 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8712 (SHMLBA): Remove macro.
8713 (__getpagesize): Remove function declaration.
8714 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8715 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8716 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8717 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8718 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8719 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8720 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8721 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8722 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8723 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8724
8725 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
8726
8727 [BZ #23275]
8728 * nptl/tst-mutex10.c: New File.
8729 * nptl/Makefile (tests): Add tst-mutex10.
8730 (tst-mutex10-ENV): New variable.
8731 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8732 Ensure that elision path is used if elision is available.
8733 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8734 Likewise.
8735 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8736 Likewise.
8737 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8738 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8739 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8740 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8741 Likewise.
8742 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8743 (__pthread_mutex_cond_lock_adjust): Likewise.
8744 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8745 Likewise.
8746 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8747 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8748 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8749 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8750 Add comments.
8751 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8752 Use atomic_load_relaxed and atomic_store_relaxed.
8753 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8754 Use atomic_store_relaxed.
8755
8756 2018-10-17 Andreas Schwab <schwab@suse.de>
8757
8758 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8759 * crypt/badsalttest.c (TIMEOUT): Likewise.
8760 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8761 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8762 * io/test-lfs.c (TIMEOUT): Likewise.
8763 * libio/tst-atime.c (TIMEOUT): Likewise.
8764 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8765 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8766 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8767 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8768 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8769 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8770 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8771 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8772 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8773 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8774 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8775 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8776 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8777 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8778 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8779 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8780 * nptl/tst-once2.c (TIMEOUT): Likewise.
8781 * nptl/tst-once3.c (TIMEOUT): Likewise.
8782 * nptl/tst-once4.c (TIMEOUT): Likewise.
8783 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8784 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8785 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8786 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8787 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8788 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8789 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8790 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8791 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8792 * posix/tst-chmod.c (TIMEOUT): Likewise.
8793 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8794 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8795 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8796 * posix/tst-regex2.c (TIMEOUT): Likewise.
8797 * posix/tst-waitid.c (TIMEOUT): Likewise.
8798 * rt/tst-aio.c (TIMEOUT): Likewise.
8799 * rt/tst-aio10.c (TIMEOUT): Likewise.
8800 * rt/tst-aio4.c (TIMEOUT): Likewise.
8801 * rt/tst-aio5.c (TIMEOUT): Likewise.
8802 * rt/tst-aio6.c (TIMEOUT): Likewise.
8803 * rt/tst-aio64.c (TIMEOUT): Likewise.
8804 * rt/tst-aio7.c (TIMEOUT): Likewise.
8805 * rt/tst-aio9.c (TIMEOUT): Likewise.
8806 * rt/tst-clock.c (TIMEOUT): Likewise.
8807 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8808 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8809 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8810 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8811 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8812 * rt/tst-timer4.c (TIMEOUT): Likewise.
8813 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8814 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8815 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8816 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8817 * time/tst-ftime.c (TIMEOUT): Likewise.
8818 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8819
8820 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
8821
8822 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8823 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8824 for thunderX2.
8825
8826 2018-10-15 Joseph Myers <joseph@codesourcery.com>
8827
8828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8829 bits/sem-pad.h.
8830 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8831 instead of <bits/wordsize.h>.
8832 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8833 and [__SEM_PAD_AFTER_TIME].
8834 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8835 __syscall_ulong_t instead of unsigned long int.
8836 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8837 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8838 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8839 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8840 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8841 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8842 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8843 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8844 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8845 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8846 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8847
8848 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8849
8850 regex: simplify by using intprops.h
8851 [BZ#23744]
8852 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8853 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8854 intprops.h defines them.
8855
8856 regex: __builtin_expect → __glibc_unlikely
8857 [BZ#23744]
8858 This refactoring was prompted by a problem when the regex code is
8859 used as part of Gnulib and when the builder’s compiler does not grok
8860 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8861 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8862 Although this refactoring does not fix the problem directly,
8863 we might as well have Gawk use the now-preferred glibc style for when
8864 __builtin_expect is unavailable.
8865 * posix/regex_internal.h (BE): Remove.
8866 All uses replaced by __glibc_unlikely or __glibc_likely.
8867
8868 2018-10-11 Joseph Myers <joseph@codesourcery.com>
8869
8870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8871 bits/msq-pad.h.
8872 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8873 instead of <bits/wordsize.h>.
8874 (msgqnum_t): Define as __syscall_ulong_t.
8875 (msglen_t): Likewise.
8876 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8877 and [__MSQ_PAD_AFTER_TIME].
8878 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8879 __syscall_ulong_t instead of unsigned long int.
8880 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8881 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8882 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8883 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8884 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8885 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8886 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8887 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8888 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8889 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8890 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8891
8892 2018-10-10 Joseph Myers <joseph@codesourcery.com>
8893
8894 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8895 (struct shmid_ds): Condition padding after time fields on
8896 [__WORDSIZE == 32].
8897 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8898 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8899 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8900
8901 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8902 (struct semid_ds): Condition padding after time fields on
8903 [__WORDSIZE == 32].
8904 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8905 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8906 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8907 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8908
8909 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8910 (struct msqid_ds): Condition padding after time fields on
8911 [__WORDSIZE == 32].
8912 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8913 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8914 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8915 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8916
8917 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8918
8919 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8920
8921 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8922
8923 * libio/tst-readline.c (TIMEOUT): Define.
8924
8925 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8926
8927 mktime fix for Gnulib + coreutils
8928 [BZ#23745]
8929 This fix affects only Gnulib. Problem discovered when
8930 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8931 * time/mktime.c:
8932 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8933 Do not define since it is not used. Defining an unused static
8934 function prompts a warning from GCC when Coreutils is configured
8935 with --enable-gcc-warnings.
8936
8937 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8938
8939 * benchtests/scripts/compare_bench.py (main): set float type on
8940 threshold argument.
8941
8942 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8943
8944 [BZ #23740]
8945 * localedata/locales/kl_GL (mon): Update, the relative case.
8946 (alt_mon): Add, fill with month names in the nominative case.
8947 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8948 (d_fmt): Set to "%b %d %Y".
8949
8950 2018-10-04 Joseph Myers <joseph@codesourcery.com>
8951
8952 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8953 <bits/mman-linux.h>.
8954 (PROT_READ): Don't define here.
8955 (PROT_WRITE): Likewise.
8956 (PROT_EXEC): Likewise.
8957 (PROT_NONE): Likewise.
8958 (PROT_GROWSDOWN): Likewise.
8959 (PROT_GROWSUP): Likewise.
8960 (MAP_SHARED): Likewise.
8961 (MAP_PRIVATE): Likewise.
8962 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8963 [__USE_MISC] (MAP_FILE): Likewise.
8964 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8965 [__USE_MISC] (MAP_ANON): Likewise.
8966 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8967 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8968 (MCL_CURRENT): Likewise.
8969 (MCL_FUTURE): Likewise.
8970 (MCL_ONFAULT): Likewise.
8971 [__USE_MISC] (MADV_NORMAL): Likewise.
8972 [__USE_MISC] (MADV_RANDOM): Likewise.
8973 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8974 [__USE_MISC] (MADV_WILLNEED): Likewise.
8975 [__USE_MISC] (MADV_DONTNEED): Likewise.
8976 [__USE_MISC] (MADV_FREE): Likewise.
8977 [__USE_MISC] (MADV_REMOVE): Likewise.
8978 [__USE_MISC] (MADV_DONTFORK): Likewise.
8979 [__USE_MISC] (MADV_DOFORK): Likewise.
8980 [__USE_MISC] (MADV_HWPOISON): Likewise.
8981 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8982 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8983 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8984 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8985 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8986 (__MAP_ANONYMOUS): New macro.
8987 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8988 <bits/mman-linux.h> inclusion.
8989 (MAP_FIXED): Likewise.
8990 (MS_SYNC): Likewise.
8991 (MS_ASYNC): Likewise.
8992 (MS_INVALIDATE): Likewise.
8993 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8994 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8995 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8996 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8997 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8998 [__USE_MISC] (MADV_DODUMP): Likewise.
8999 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9000 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9001
9002 [BZ #23735]
9003 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
9004 Define.
9005 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
9006 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
9007 Add test-nldbl-redirect.
9008 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
9009 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
9010 $(objpfx)libnldbl_nonshared.a.
9011
9012 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
9013
9014 * support/support.h (support_objdir_elf_ldso): New variable.
9015 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
9016 * support/Makefile (CFLAGS-support_paths.c): Add definition
9017 for OBJDIR_ELF_LDSO_PATH.
9018 * support/test-container.c (main): Search for the ld.so
9019 which is also used by the testsuite.
9020
9021 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
9022
9023 [BZ #20209]
9024 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
9025 should be "sap" rather than "sab".
9026 (day): Fix spelling of Sunday, should be "sapaat" rather than
9027 "sabaat".
9028
9029 2018-10-02 Joseph Myers <joseph@codesourcery.com>
9030
9031 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9032
9033 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
9034
9035 [BZ #19444]
9036 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
9037 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
9038 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
9039
9040 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9041
9042 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
9043
9044 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
9045
9046 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
9047 Add -mrtm.
9048 (CFLAGS-elision-unlock.c): Likewise.
9049 (CFLAGS-elision-timed.c): Likewise.
9050 (CFLAGS-elision-trylock.c): Likewise.
9051 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
9052
9053 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9054
9055 [BZ #21037]
9056 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
9057 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
9058 new fd_to_filename interface.
9059 * libio/freopen64.c (freopen64): Likewise.
9060 * libio/tst-memstream.h: New file.
9061 * libio/tst-memstream4.c: Likewise.
9062 * libio/tst-wmemstream4.c: Likewise.
9063 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
9064 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
9065 and remove internal dynamic allocation.
9066
9067 2018-10-01 Joseph Myers <joseph@codesourcery.com>
9068
9069 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
9070 (MREMAP_MAYMOVE): Do not define here.
9071 [__USE_GNU] (MREMAP_FIXED): Likewise.
9072 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
9073 (MREMAP_MAYMOVE): Define here instead.
9074 [__USE_GNU] (MREMAP_FIXED): Likewise.
9075 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
9076 (MREMAP_MAYMOVE): Remove.
9077 [__USE_GNU] (MREMAP_FIXED): Likewise.
9078
9079 2018-09-28 Joseph Myers <joseph@codesourcery.com>
9080
9081 * math/fromfp.h: Do not include <math_private.h>.
9082 * math/s_cacosh_template.c: Likewise.
9083 * math/s_casin_template.c: Likewise.
9084 * math/s_casinh_template.c: Likewise.
9085 * math/s_ccos_template.c: Likewise.
9086 * math/s_cproj_template.c: Likewise.
9087 * math/s_fdim_template.c: Likewise.
9088 * math/s_fmaxmag_template.c: Likewise.
9089 * math/s_fminmag_template.c: Likewise.
9090 * math/s_iseqsig_template.c: Likewise.
9091 * math/s_ldexp_template.c: Likewise.
9092 * math/s_nextdown_template.c: Likewise.
9093 * math/w_log1p_template.c: Likewise.
9094 * math/w_scalbln_template.c: Likewise.
9095 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9096 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9097 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9098 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9099 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9100 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9101 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9102 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9103 * sysdeps/i386/fpu/s_atanl.c: Likewise.
9104 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9105 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9106 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9107 * sysdeps/i386/fpu/s_logbl.c: Likewise.
9108 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9109 * sysdeps/i386/fpu/s_significandl.c: Likewise.
9110 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
9111 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
9112 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9113 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9114 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9116 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9117 * sysdeps/ieee754/k_standardf.c: Likewise.
9118 * sysdeps/ieee754/k_standardl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9121 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9127 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9128 * sysdeps/ieee754/s_signgam.c: Likewise.
9129 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9130 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
9131 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
9132 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9133 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9134 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9135 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9136 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9137 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9138 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9139 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9140 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9141 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9142 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9143 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9144 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9145 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9146 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9147 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9148 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9149 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9150 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9151 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9152 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9153 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9154 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9155 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9156 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9157 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9158 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9159 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9160 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9161 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9162 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9163 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9164 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9165 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9166 <math_private.h>.
9167 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9168
9169 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9170
9171 [BZ #23716]
9172 * sysdeps/i386/dl-cet.c: Removed.
9173 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9174 prototype.
9175 (_dl_runtime_profile_shstk): Likewise.
9176 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9177 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9178
9179 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9180
9181 [BZ #23579]
9182 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9183 do_test_with_invalid_iov): New tests.
9184 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9185 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9186 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9187 errno is ENOSYS.
9188 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9189 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9190 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9191
9192 2018-09-27 Joseph Myers <joseph@codesourcery.com>
9193
9194 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9195 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9196 (MATH_REDIRECT_BINARY_ARGS): New macro.
9197 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9198 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9199 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9200 header inclusion.
9201 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9202 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9203 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9204 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9209 Likewise.
9210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9211 Likewise.
9212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9214 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9215 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9217 Likewise.
9218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9219 Likewise.
9220 * sysdeps/generic/math_private_calls.h
9221 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9222 Do not declare and define as an inline function.
9223 * math/divtc3.c (__divtc3): Use copysign functions instead of
9224 __copysign variants.
9225 * math/multc3.c (__multc3): Likewise.
9226 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9227 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9228 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9229 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9230 Likewise.
9231 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9232 (__ieee754_yn): Likewise.
9233 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9234 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9235 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9236 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9237 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9238 (__sin): Likewise.
9239 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9240 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9241 Likewise.
9242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9243 Likewise.
9244 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9245 Likewise.
9246 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9247 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9248 Likewise.
9249 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9250 (__ieee754_ynf): Likewise.
9251 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9252 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9253 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9254 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9255 Likewise.
9256 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9257 (__ieee754_ynl): Likewise.
9258 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9259 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9260 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9261 Likewise.
9262 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9263 (__ieee754_ynl): Likewise.
9264 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9265 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9266 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9267 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9268 Likewise.
9269 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9270 (__ieee754_ynl)
9271 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9272 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9273 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9274 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9275 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9276
9277 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9278 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9279 using MATH_REDIRECT.
9280 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9281 header inclusion.
9282 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9283 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9284 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9285 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9286 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9287 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9288 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9293 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9294 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9295 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9296 (round): Redirect to __round.
9297 (__roundl): Call round instead of __round.
9298 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9299 Remove macro.
9300 [_ARCH_PWR5X] (__roundf): Likewise.
9301 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9302 functions instead of __round variants.
9303 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9304 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9305 Likewise.
9306 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9307 Likewise.
9308 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9309 Likewise.
9310 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9311 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9312 __lroundl.
9313 (__ieee754_expl): Call roundl instead of __roundl.
9314
9315 2018-09-27 Andreas Schwab <schwab@suse.de>
9316
9317 [BZ #23717]
9318 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9319 (do_test): Make st1 static.
9320
9321 2018-09-26 Andreas Schwab <schwab@suse.de>
9322
9323 [BZ #23707]
9324 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9325 * elf/Makefile (tests): Add tst-unwind-ctor.
9326 (modules-names): Add tst-unwind-ctor-lib.
9327 ($(objpfx)tst-unwind-ctor): Depend on
9328 $(objpfx)tst-unwind-ctor-lib.so.
9329
9330 2018-09-26 Joseph Myers <joseph@codesourcery.com>
9331
9332 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9333 file. Most contents moved from ....
9334 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9335 and include <bits/mman-map-flags-generic.h>.
9336 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9337 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9338 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9339 <bits/mman-map-flags-generic.h>.
9340 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9341 macros defined in <bits/mman-map-flags-generic.h>.
9342 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9343 <bits/mman-map-flags-generic.h>.
9344 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9345 defined in <bits/mman-map-flags-generic.h>.
9346
9347 2018-09-26 Andreas Schwab <schwab@suse.de>
9348
9349 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9350 output.
9351
9352 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9353 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9354 Fangrui Song <maskray@google.com>
9355
9356 [BZ #20480]
9357 * config.make.in (have-textrel_ifunc): New define.
9358 * configure.ac: Add check if linker supports textrel relocation with
9359 ifunc.
9360 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9361 tst-ifunc-textrel.
9362 (CFLAGS-tst-ifunc-textrel.c): New rule.
9363 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9364 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9365 * elf/tst-ifunc-textrel.c: New file.
9366
9367 2018-09-25 Joseph Myers <joseph@codesourcery.com>
9368
9369 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9370 <bits/procfs-prregset.h>.
9371 (prgregset_t): Define using __prgregset_t.
9372 (prfpregset_t): Define using __prfpregset_t.
9373 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9374 (sysdep_headers): Add bits/procfs-prregset.h.
9375 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9376 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9377 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9378 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9379
9380 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9381 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9382 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9383 pr_uid and pr_gid.
9384 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9385 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9386 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9387 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9388 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9389 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9390 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9391 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9392 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9393 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9394 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9395 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9396 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9397 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9398 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9399 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9400 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9401 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9402 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9403 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9404 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9405 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9406 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9407 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9408
9409 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9410 AArch64 version. Include <bits/procfs.h>.
9411 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9412 (sysdep_headers): Add bits/procfs.h.
9413 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9414 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9415 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9416 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9417 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9418 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9419 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9420 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9421 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9422 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9423 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9424 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9425 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9426 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9427 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9428 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9429 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9430
9431 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9432
9433 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9434 Use libsupport.
9435
9436 2018-09-25 Arjun Shankar <arjun@redhat.com>
9437
9438 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9439 (__gconv_max_path_elem_len): Likewise.
9440 (__gconv_nmodules): Likewise.
9441 (__gconv_get_path): Likewise.
9442 (path_elem): Move to ...
9443 * iconv/gconv_conf.c: ... here.
9444 (__gconv_get_path): Mark function static.
9445 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9446 * iconv/gconv_open.c: ... here.
9447
9448 2018-09-24 Andreas Schwab <schwab@suse.de>
9449
9450 * scripts/haveversions.awk: New file.
9451 * Makerules ($(common-objpfx)Versions.def)
9452 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9453 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9454 Move rules ...
9455 * Makeconfig ($(common-objpfx)Versions.def)
9456 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9457 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9458 ... here.
9459 ($(common-objpfx)Versions.mk): New rule. Include it.
9460 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9461 Emit error if build-obsolete-nsl = yes.
9462 * manual/install.texi (Configuring and compiling): Describe
9463 --enable-obsolete-nsl as unavaiable after version 2.28.
9464 * INSTALL: Regenerate.
9465
9466 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9467
9468 * NEWS: Add note about new TLE support on powerpc64le.
9469 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9470 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9471 __ununsed1.
9472 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9473 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9474 * sysdeps/powerpc/powerpc32/sysdep.h,
9475 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9476 ABORT_TRANSACTION): Remove macros.
9477 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9478 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9479 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9481 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9482 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9483 usage.
9484 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9485
9486 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9487
9488 [BZ #10425]
9489 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9490 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9491 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9492 which is the same as in it_IT.
9493 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9494 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9495
9496 2018-09-20 Joseph Myers <joseph@codesourcery.com>
9497
9498 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9499 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9500 using MATH_REDIRECT.
9501 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9502 header inclusion.
9503 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9504 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9505 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9506 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9507 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9513 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9514 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9515 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9516 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9517 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9518 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9519 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9521 (ceil): Redirect to __ceil.
9522 (floor): Redirect to __floor.
9523 (trunc): Redirect to __trunc.
9524 (__truncl): Call trunc instead of __trunc.
9525 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9526 Remove macro.
9527 [_ARCH_PWR5X] (__truncf): Likewise.
9528 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9529 trunc functions instead of __trunc variants.
9530 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9531 Likewise.
9532 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9533 Likewise.
9534 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9535 Likewise.
9536 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9537 Likewise.
9538
9539 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9540 [__i586__ || __pentium__].
9541 [__i486__]: Handle explicitly.
9542 (HAS_CPUID): Define to 1 if above macros are undefined.
9543 (HAS_I586): Likewise.
9544 (HAS_I686): Likewise.
9545
9546 2018-09-20 Florian Weimer <fweimer@redhat.com>
9547
9548 * misc/tst-gethostid.c: New file.
9549 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9550 (tst-gethostid): Link with -ldl.
9551
9552 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9553
9554 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9555 value from gethostbyname_r.
9556
9557 2018-09-19 Carlos O'Donell <carlos@redhat.com>
9558
9559 * stdlib/tst-setcontext9.c (f1): Rename to...
9560 (f1a): ... this.
9561 (f1b): New function implementing lower half of f1 in alternate stack.
9562
9563 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9564
9565 Fix mktime localtime offset confusion
9566 [BZ #23603]
9567 * include/time.h (__mktime_internal): The localtime offset is now
9568 of type long int instead of time_t. This is the longstanding type
9569 in glibc, and it is more than enough to represent difference
9570 between localtime and gmtime even if it is 32 bits and time_t is
9571 64. Changing it now will let us avoid an unnecessary change when
9572 time_t is widened to 64 bits on 32-bit platforms.
9573 * time/mktime-internal.h (mktime_offset_t): Now long int.
9574
9575 Merge mktime, timegm from upstream Gnulib
9576 [BZ #23603][BZ #16346]
9577 This fixes some obscure problems with integer overflow.
9578 Although it looks scary, it is almost all a byte-for-byte copy
9579 from Gnulib, and the Gnulib code has been tested reasonably well.
9580 * include/intprops.h: New file, copied from Gnulib.
9581 * include/verify.h, time/mktime-internal.h:
9582 New tiny files, simplified from Gnulib.
9583 * time/mktime.c: Copy from Gnulib. This has the following changes:
9584 Do not include config.h if DEBUG_MKTIME is nonzero.
9585 Include stdbool.h, intprops.h, verify.h.
9586 Include string.h only if needed.
9587 Include stdlib.h on MS-Windows.
9588 Include mktime-internal.h.
9589 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9590 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9591 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9592 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9593 simplify later conditionals; default the others to zero. Use
9594 these conditionals to express only the code needed on the current
9595 platform. In uses of these conditionals, explicitly spell out how
9596 _LIBC affects things, so it’s easier to review from a glibc
9597 viewpoint.
9598 (WRAPV): Remove; no longer needed now that we have
9599 systematic overflow checking.
9600 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9601 compartmentalize tzset issues. Move system-dependent tzsettish
9602 code here from mktime.
9603 (verify): Remove; now done by verify.h. All uses changed.
9604 (long_int): Use a more-conservative definition, to avoid
9605 integer overflow.
9606 (SHR): Remove, replacing with ...
9607 (shr): New function, which means we needn’t worry about side
9608 effects in args, and conversion analysis is simpler.
9609 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9610 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9611 (time_t_avg, time_t_add_ok): Remove.
9612 (mktime_min, mktime_max): New constants.
9613 (leapyear, isdst_differ): Use bool for booleans.
9614 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9615 Use long_int, not time_t, for mktime differences.
9616 (long_int_avg): New function, replacing time_t_avg.
9617 INT_ADD_WRAPV replaces time_t_add_ok.
9618 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9619 All uses changed.
9620 (convert_time): New function.
9621 (ranged_convert): Use it.
9622 (__mktime_internal): Last arg now points to mktime_offset_t, not
9623 time_t. All uses changed. This is a no-op on glibc, where
9624 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9625 offset guess. Directly check for integer overflow instead of
9626 using a heuristic that works only 99.9...% of the time.
9627 Access *OFFSET only once, to avoid an unlikely race if the
9628 compiler delays a load and if this cascades into a signed integer
9629 overflow.
9630 (mktime): Move tzsettish code to my_tzset, and move
9631 localtime_offset to within mktime so that it doesn’t
9632 need a separate ifdef.
9633 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9634 instead of localtime.
9635 * time/timegm.c: Copy from Gnulib. This has the following changes:
9636 Include mktime-internal.h.
9637 [!_LIBC]: Include config.h and time.h. Do not include
9638 timegm.h or time_r.h. Make __mktime_internal a macro,
9639 and include mktime-internal.h to get its declaration.
9640 (timegm): Temporary is now mktime_offset_t, not time_t.
9641 This affects only Gnulib.
9642
9643 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9644
9645 [BZ #23637]
9646 * string/test-strstr.c (pr23637): New function.
9647 (test_main): Add tests with longer needles.
9648 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9649 * string/strstr.c (AVAILABLE): Likewise.
9650
9651 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9652
9653 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9654
9655 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9656
9657 * NEWS: Mention pow improvements.
9658 * math/Makefile (type-double-routines): Add e_pow_log_data.
9659 * sysdeps/generic/math_private.h (__exp1): Remove.
9660 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9661 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9662 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9663 contraction.
9664 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9665 (exp_inline): Remove.
9666 (__ieee754_exp): Only single double input is handled.
9667 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9668 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9669 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9670 (__pow_log_data): Define.
9671 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9672 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9673 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9674 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9675 contraction.
9676 (CFLAGS-e_pow-fma4.c): Likewise.
9677
9678 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9679
9680 Simplify tzfile fstat failure code
9681 [BZ #21716]
9682 * time/tzfile.c (__tzfile_read): Simplify slightly.
9683
9684 Fix tzfile low-memory assertion failure
9685 [BZ #21716]
9686 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9687 when registering time zone abbreviations.
9688
9689 2018-09-18 Joseph Myers <joseph@codesourcery.com>
9690
9691 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9692 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9693 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9694 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9695 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9696 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9697 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9698 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9699 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9700
9701 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9702 __ceil.
9703 (__ceill): Call ceil instead of __ceil.
9704 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9705 __floor.
9706 (__floorl): Call floor instead of __floor.
9707
9708 2018-09-17 Joseph Myers <joseph@codesourcery.com>
9709
9710 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9711 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9712 using MATH_REDIRECT.
9713 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9714 header inclusion.
9715 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9716 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9717 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9718 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9719 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9720 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9721 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9722 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9727 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9728 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9729 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9731 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9732 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9733 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9734 Remove macro.
9735 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9736 functions instead of __ceil variants.
9737 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9738 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9739 Likewise.
9740 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9741 Likewise.
9742 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9743 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9744 Likewise.
9745 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9746 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9747
9748 [BZ #21286]
9749 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9750 constant.
9751 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9752 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9753 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9754 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9755 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9756 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9757 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9758 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9759 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9760 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9761 (ILL_BADIADDR): Remove constant.
9762 (TRAP_BRANCH): Likewise.
9763 (TRAP_HWBKPT): Likewise.
9764
9765 2018-09-14 Joseph Myers <joseph@codesourcery.com>
9766
9767 [BZ #23656]
9768 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9769 Remove [_MIPS_SIM = _ABIN32] conditional case.
9770 (struct elf_prpsinfo): Likewise.
9771
9772 [BZ #23649]
9773 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9774 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9775 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9776 Likewise.
9777 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9778 elf_prpsinfo): Likewise.
9779 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9780 elf_prpsinfo): Likewise.
9781 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9782 Likewise.
9783
9784 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9785 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9786 using MATH_REDIRECT.
9787 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9788 header inclusion.
9789 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9790 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9791 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9792 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9793 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9794 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9795 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9796 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9797 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9798 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9799 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9800 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9801 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9802 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9803 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9804 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9805 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9806 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9807 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9810 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9811 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9812 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9813 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9814 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9815 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9816 __rint variants.
9817 * math/e_scalbf.c (invalid_fn): Likewise.
9818 * math/e_scalbl.c (invalid_fn): Likewise.
9819 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9820 Likewise.
9821 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9822 Likewise.
9823 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9824 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9825 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9826 Likewise.
9827 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9828 Likewise.
9829 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9830 Likewise.
9831 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9832 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9833
9834 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9835 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9836 New macro.
9837 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9838 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9839 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9840 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9841 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9842 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9843 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9844 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9845 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9846 && !NO_MATH_REDIRECT] (floor): Likewise.
9847 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9848 header inclusion.
9849 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9850 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9851 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9852 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9853 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9854 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9855 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9856 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9861 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9862 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9865 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9866 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9867 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9868 Remove macro.
9869 [_ARCH_PWR5X] (__floorf): Likewise.
9870 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9871 inline function.
9872 [__SSE4_1__] (__floorf): Likewise.
9873 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9874 instead of __floor variants.
9875 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9876 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9877 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9878 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9879 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9880 * math/w_tgamma_compat.c (__tgamma): Likewise.
9881 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9882 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9883 * math/w_tgammal_compat.c (__tgammal): Likewise.
9884 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9885 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9886 Likewise.
9887 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9888 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9889 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9890 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9891 Likewise.
9892 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9893 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9894 Likewise.
9895 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9896 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9897 Likewise.
9898 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9899 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9900 Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9902 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9903 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9904 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9905 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9906 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9907
9908 2018-09-12 Joseph Myers <joseph@codesourcery.com>
9909
9910 * elf/Makefile (modules-names-tests): New variable.
9911
9912 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9913
9914 * NEWS: Mention log2 improvements.
9915 * math/Makefile (type-double-routines): Add e_log2_data.
9916 * sysdeps/i386/fpu/e_log2_data.c: New file.
9917 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9918 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9919 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9920 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9921 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9922 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9923
9924 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9925
9926 * NEWS: Mention log improvement.
9927 * math/Makefile (type-double-routines): Add e_log_data.
9928 * sysdeps/i386/fpu/e_log_data.c: New file.
9929 * sysdeps/ia64/fpu/e_log_data.c: New file.
9930 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9931 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9932 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9933 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9934 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9935 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9936
9937 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9938 Xuepeng Guo <xuepeng.guo@intel.com>
9939
9940 [BZ #23606]
9941 * sysdeps/i386/start.S: Include <sysdep.h>
9942 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9943 enabled. Add cfi_undefined (eip).
9944
9945 2018-09-11 Joseph Myers <joseph@codesourcery.com>
9946
9947 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9948 (MOVQ): Likewise.
9949 (EXTRACT_WORDS64): Likewise.
9950 (INSERT_WORDS64): Likewise.
9951 (GET_FLOAT_WORD): Likewise.
9952 (SET_FLOAT_WORD): Likewise.
9953
9954 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9955 argument.
9956 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9957 build, but not for second build if --full-gcc. Use
9958 --enable-languages=all for second build if --full-gcc.
9959 (get_parser): Add --full-gcc option.
9960 (main): Update call to Context.
9961
9962 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9963
9964 [BZ #10797]
9965 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9966 Single Quotation Mark).
9967 (thousands_sep): Likewise.
9968 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9969 * localedata/locales/it_IT (thousands_sep): Use ".".
9970 (grouping): Use "3;3".
9971
9972 2018-09-10 Joseph Myers <joseph@codesourcery.com>
9973
9974 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9975 x86_64 and i686 configs using --enable-obsolete-rpc
9976 --enable-obsolete-nsl.
9977
9978 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9979
9980 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9981
9982 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9983
9984 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9985 Increment size of new_argv by one.
9986
9987 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9988
9989 [BZ #17426]
9990 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9991 * localedata/locales/ar_IN (d_fmt): Likewise.
9992 * localedata/locales/bhb_IN (d_fmt): Likewise.
9993 * localedata/locales/bho_IN (d_fmt): Likewise.
9994 * localedata/locales/bn_BD (d_fmt): Likewise.
9995 * localedata/locales/bn_IN (d_fmt): Likewise.
9996 * localedata/locales/doi_IN (d_fmt): Likewise.
9997 * localedata/locales/gu_IN (d_fmt): Likewise.
9998 * localedata/locales/hi_IN (d_fmt): Likewise.
9999 * localedata/locales/hne_IN (d_fmt): Likewise.
10000 * localedata/locales/kn_IN (d_fmt): Likewise.
10001 * localedata/locales/mag_IN (d_fmt): Likewise.
10002 * localedata/locales/mai_IN (d_fmt): Likewise.
10003 * localedata/locales/mjw_IN (d_fmt): Likewise.
10004 * localedata/locales/ml_IN (d_fmt): Likewise.
10005 * localedata/locales/mni_IN (d_fmt): Likewise.
10006 * localedata/locales/mr_IN (d_fmt): Likewise.
10007 * localedata/locales/pa_IN (d_fmt): Likewise.
10008 * localedata/locales/raj_IN (d_fmt): Likewise.
10009 * localedata/locales/sat_IN (d_fmt): Likewise.
10010 * localedata/locales/sd_IN (d_fmt): Likewise.
10011 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
10012 * localedata/locales/ta_IN (d_fmt): Likewise.
10013 * localedata/locales/ta_LK (d_fmt): Likewise.
10014 * localedata/locales/tcy_IN (d_fmt): Likewise.
10015 * localedata/locales/ur_IN (d_fmt): Likewise.
10016
10017 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
10018 * localedata/locales/ks_IN (d_fmt): Likewise.
10019 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
10020
10021 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
10022 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
10023 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
10024 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
10025
10026 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
10027
10028 * NEWS: Mention exp and exp2 improvements.
10029 * math/Makefile (libm-support): Remove t_exp.
10030 (type-double-routines): Add math_err and e_exp_data.
10031 * sysdeps/aarch64/libm-test-ulps: Update.
10032 * sysdeps/arm/libm-test-ulps: Update.
10033 * sysdeps/i386/fpu/e_exp_data.c: New file.
10034 * sysdeps/i386/fpu/math_err.c: New file.
10035 * sysdeps/i386/fpu/t_exp.c: Remove.
10036 * sysdeps/ia64/fpu/e_exp_data.c: New file.
10037 * sysdeps/ia64/fpu/math_err.c: New file.
10038 * sysdeps/ia64/fpu/t_exp.c: Remove.
10039 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
10040 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
10041 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
10042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
10043 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
10044 * sysdeps/ieee754/dbl-64/math_config.h: New file.
10045 * sysdeps/ieee754/dbl-64/math_err.c: New file.
10046 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
10047 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
10048 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
10049 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
10050 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
10051 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
10052 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
10053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10055
10056 2018-09-05 Joseph Myers <joseph@codesourcery.com>
10057
10058 * sysdeps/alpha/fpu/math_private.h: Remove.
10059
10060 * sysdeps/generic/math_private.h
10061 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
10062 Move this inline function ....
10063 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
10064 * include/math.h [!_ISOMAC]: To here....
10065
10066 2018-09-04 Joseph Myers <joseph@codesourcery.com>
10067
10068 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
10069 code ....
10070 [!FE_HAVE_ROUNDING_MODES]: And this code ....
10071 * include/fenv.h [!_ISOMAC]: ... to here.
10072 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
10073 (feraiseexcept): Likewise.
10074 * math/fromfp.h: Do not include <fenv_private.h>.
10075 * math/s_cexp_template.c: Likewise.
10076 * math/s_csin_template.c: Likewise.
10077 * math/s_csinh_template.c: Likewise.
10078 * math/s_ctan_template.c: Likewise.
10079 * math/s_ctanh_template.c: Likewise.
10080 * math/s_iseqsig_template.c: Likewise.
10081 * math/w_acos_compat.c: Likewise.
10082 * math/w_acosf_compat.c: Likewise.
10083 * math/w_acosl_compat.c: Likewise.
10084 * math/w_asin_compat.c: Likewise.
10085 * math/w_asinf_compat.c: Likewise.
10086 * math/w_asinl_compat.c: Likewise.
10087 * math/w_j0_compat.c: Likewise.
10088 * math/w_j0f_compat.c: Likewise.
10089 * math/w_j0l_compat.c: Likewise.
10090 * math/w_j1_compat.c: Likewise.
10091 * math/w_j1f_compat.c: Likewise.
10092 * math/w_j1l_compat.c: Likewise.
10093 * math/w_jn_compat.c: Likewise.
10094 * math/w_jnf_compat.c: Likewise.
10095 * math/w_log10_compat.c: Likewise.
10096 * math/w_log10f_compat.c: Likewise.
10097 * math/w_log10l_compat.c: Likewise.
10098 * math/w_log2_compat.c: Likewise.
10099 * math/w_log2f_compat.c: Likewise.
10100 * math/w_log2l_compat.c: Likewise.
10101 * math/w_log_compat.c: Likewise.
10102 * math/w_logf_compat.c: Likewise.
10103 * math/w_logl_compat.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10106 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10109 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10110 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10111 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10112 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10113 * sysdeps/ieee754/k_standardl.c: Likewise.
10114 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10115 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10116 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10117 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10118 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10119 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10120 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10121 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10122 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10123 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10124 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10125 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10126 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10127 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10128 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10129 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10130 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10131 * math/w_ilogb_template.c: Include <fenv.h> instead of
10132 <fenv_private.h>.
10133 * math/w_llogb_template.c: Likewise.
10134 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10135 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10136
10137 2018-09-03 Joseph Myers <joseph@codesourcery.com>
10138
10139 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
10140 * math/fromfp.h: Include <fenv_private.h>.
10141 * math/math-narrow.h: Likewise.
10142 * math/s_cexp_template.c: Likewise.
10143 * math/s_csin_template.c: Likewise.
10144 * math/s_csinh_template.c: Likewise.
10145 * math/s_ctan_template.c: Likewise.
10146 * math/s_ctanh_template.c: Likewise.
10147 * math/s_iseqsig_template.c: Likewise.
10148 * math/w_acos_compat.c: Likewise.
10149 * math/w_acosf_compat.c: Likewise.
10150 * math/w_acosl_compat.c: Likewise.
10151 * math/w_asin_compat.c: Likewise.
10152 * math/w_asinf_compat.c: Likewise.
10153 * math/w_asinl_compat.c: Likewise.
10154 * math/w_ilogb_template.c: Likewise.
10155 * math/w_j0_compat.c: Likewise.
10156 * math/w_j0f_compat.c: Likewise.
10157 * math/w_j0l_compat.c: Likewise.
10158 * math/w_j1_compat.c: Likewise.
10159 * math/w_j1f_compat.c: Likewise.
10160 * math/w_j1l_compat.c: Likewise.
10161 * math/w_jn_compat.c: Likewise.
10162 * math/w_jnf_compat.c: Likewise.
10163 * math/w_llogb_template.c: Likewise.
10164 * math/w_log10_compat.c: Likewise.
10165 * math/w_log10f_compat.c: Likewise.
10166 * math/w_log10l_compat.c: Likewise.
10167 * math/w_log2_compat.c: Likewise.
10168 * math/w_log2f_compat.c: Likewise.
10169 * math/w_log2l_compat.c: Likewise.
10170 * math/w_log_compat.c: Likewise.
10171 * math/w_logf_compat.c: Likewise.
10172 * math/w_logl_compat.c: Likewise.
10173 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10174 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10175 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10176 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10177 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10178 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10179 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10180 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10181 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10182 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10183 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10184 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10185 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10186 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10187 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10188 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10189 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10190 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10191 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10192 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10193 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10194 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10195 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10196 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10197 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10198 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10199 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10200 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10201 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10202 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10203 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10204 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10205 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10206 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10207 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10208 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10209 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10210 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10211 * sysdeps/ieee754/k_standardl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10213 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10214 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10215 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10216 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10217 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10218 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10222 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10223 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10232 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10237 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10238 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10242 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10243 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10248 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10249 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10250 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10251 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10252 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10253 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10254 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10255 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10256 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10257 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10258 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10259 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10260 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10261 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10262 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10263 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10264 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10265 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10266 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10267 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10268 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10269 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10270 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10271 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10272 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10273 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10274 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10275 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10276 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10277 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10278 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10279 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10280 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10281 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10282 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10283
10284 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10285
10286 [BZ #20271]
10287 * include/stdio.h (__libc_fatal): Mention newline in comment.
10288 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10289 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10290 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10291 * nss/nsswitch.c (__nss_next2): Likewise.
10292 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10293 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10294 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10295 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10296 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10297 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10298 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10299 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10300 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10301 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10302 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10303 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10304 (__netlink_assert_response): Likewise.
10305
10306 2018-08-31 Joseph Myers <joseph@codesourcery.com>
10307
10308 * conform/glibcconform.py: New file.
10309 * conform/list-header-symbols.py: Likewise.
10310 * conform/list-header-symbols.pl: Remove.
10311 * conform/Makefile (tests-special): Only add linknamespace tests
10312 if [PYTHON].
10313 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10314
10315 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10316
10317 [BZ #23597]
10318 * support/Makefile (libsupport-routines): Add
10319 support_copy_file_range and xcopy_file_range.
10320 * support/support.h: Include <sys/types.h>.
10321 (support_copy_file_range): New prototype.
10322 * support/support_copy_file_range.c: New file. Copied and
10323 modified from io/copy_file_range-compat.c.
10324 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10325 instead of copy_file_range.
10326 * support/xcopy_file_range.c: New file.
10327 * support/xunistd.h (xcopy_file_range): New prototype.
10328
10329 2018-08-30 Carlos O'Donell <carlos@redhat.com>
10330
10331 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10332 xpthread_create and xpthread_join.
10333
10334 2018-08-30 Florian Weimer <fweimer@redhat.com>
10335
10336 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10337
10338 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
10339
10340 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10341 if malloc fails.
10342
10343 2018-08-29 Joseph Myers <joseph@codesourcery.com>
10344
10345 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10346 and minus_oflow as non-finite.
10347
10348 2018-08-28 Joseph Myers <joseph@codesourcery.com>
10349
10350 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10351 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10352 moved to fenv_private.h except for ...
10353 (TOINT_INTRINSICS): Kept in math_private.h.
10354 (roundtoint): Likewise.
10355 (converttoint): Likewise.
10356 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10357 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10358 * sysdeps/arm/math_private.h: Remove.
10359 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10360 ....
10361 * sysdeps/generic/math_private.h: ... this file. Include
10362 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10363 Include <fenv_private.h>. Remove functions and macros moved to
10364 fenv_private.h.
10365 * sysdeps/i386/fpu/math_private.h: Remove.
10366 * sysdeps/mips/math_private.h: Move to ....
10367 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10368 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10369 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10370 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10371 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10372 * sysdeps/powerpc/fpu/math_private.h: Do not include
10373 <fenv_private.h>.
10374 * sysdeps/riscv/rvf/math_private.h: Move to ....
10375 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10376 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10377 <fenv_private.h>.
10378 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10379 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10380 * sysdeps/sparc/fpu/math_private.h: Remove.
10381 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10382 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10383 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10384 <fenv_private.h>.
10385 * sysdeps/x86_64/fpu/math_private.h: Do not include
10386 <sysdeps/i386/fpu/fenv_private.h>.
10387
10388 2018-08-28 Florian Weimer <fweimer@redhat.com>
10389
10390 [BZ #23578]
10391 * posix/tst-regcomp-truncated.c: New file.
10392 * posix/Makefile (tests): Add it.
10393 (tst-regcomp-truncated.out): Depend on generated locales.
10394
10395 2018-08-28 Florian Weimer <fweimer@redhat.com>
10396
10397 * support/test-container.c (main): Treat unshare failure with
10398 EPERM as an unsupported test.
10399
10400 2018-08-28 Florian Weimer <fweimer@redhat.com>
10401
10402 [BZ #23520]
10403 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10404 * nscd/netgroupcache.c
10405 (addgetnetgrentX): Add tofreep parameter. Do not free
10406 heap-allocated buffer.
10407 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10408 (addgetnetgrentX_ignore): New function.
10409 (addgetnetgrent): Call it.
10410 (readdgetnetgrent): Likewise.
10411
10412 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10413
10414 * string/memmem.c: Use memcmp for first match.
10415
10416 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10417
10418 [BZ #17426]
10419 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10420
10421 2018-08-27 DJ Delorie <dj@redhat.com>
10422
10423 * support/Makefile (others): Don't list programs explicitly as a
10424 dependency of "others".
10425
10426 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10427
10428 * sysdeps/generic/math-tests-trap-force.h: New file.
10429 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10430 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10431 * sysdeps/powerpc/math-tests.h: Remove file.
10432 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10433
10434 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10435 Torvald Riegel <triegel@redhat.com>
10436
10437 [BZ #23538]
10438 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10439 Update r to include the set wake-request flag if waiters are
10440 remaining after spinning.
10441
10442 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10443
10444 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10445
10446 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10447
10448 [BZ #23578]
10449 regex: fix uninitialized memory access
10450 I introduced this bug into gnulib in commit
10451 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10452 eventually it was merged into glibc. The bug was found by
10453 project-repo <bugs@feusi.co> and reported here:
10454 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10455 Diagnosis and draft fix reported by Assaf Gordon here:
10456 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10457 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10458 * posix/regex_internal.c (build_wcs_upper_buffer):
10459 Fix bug when mbrtowc returns 0.
10460
10461 2018-08-24 Carlos O'Donell <carlos@redhat.com>
10462
10463 * po/be.po: Update translation.
10464
10465 2018-08-24 DJ Delorie <dj@delorie.com>
10466
10467 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10468 $(libunwind).
10469
10470 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10471
10472 [BZ #23400]
10473 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10474 create temporary files in source tree.
10475
10476 2018-08-24 Joseph Myers <joseph@codesourcery.com>
10477
10478 * sysdeps/generic/math-tests-trap.h: New file.
10479 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10480 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10481 * sysdeps/aarch64/math-tests.h: Remove file.
10482 * sysdeps/arm/math-tests.h: Likewise.
10483 * sysdeps/riscv/math-tests.h: Likewise.
10484 * sysdeps/aarch64/math-tests-trap.h: New file.
10485 * sysdeps/arm/math-tests-trap.h: Likewise.
10486 * sysdeps/riscv/math-tests-trap.h: Likewise.
10487
10488 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10489
10490 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10491 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10492 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10493 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10494 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10495 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10496 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10497 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10498 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10499 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10500 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10501 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10502 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10503 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10504 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10505 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10506 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10507 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10508
10509 2018-08-23 Joseph Myers <joseph@codesourcery.com>
10510
10511 * sysdeps/generic/math-tests-exceptions.h: New file.
10512 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10513 (EXCEPTION_TESTS_float): Do not define here.
10514 (EXCEPTION_TESTS_double): Likewise.
10515 (EXCEPTION_TESTS_long_double): Likewise.
10516 (EXCEPTION_TESTS_float128): Likewise.
10517 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10518 Likewise.
10519 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10520 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10521 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10522 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10523 * sysdeps/mips/math-tests.h: Likewise.
10524 * sysdeps/nios2/math-tests.h: Likewise.
10525 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10526 (EXCEPTION_TESTS_float): Do not define here.
10527 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10528 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10529 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10530
10531 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10532
10533 * NEWS: Move optimized sinf entry to 2.29.
10534
10535 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10536
10537 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10538
10539 2018-08-22 DJ Delorie <dj@redhat.com>
10540
10541 * Makefile (testroot.pristine): New rules to initialize the
10542 test-in-container "testroot".
10543 * Makerules (all-testsuite): Add tests-container.
10544 * Rules (tests-expected): Add tests-container.
10545 (binaries-all-tests): Likewise.
10546 (tests-container): New, run these tests in the testroot container.
10547 * support/Makefile (others): Add *-container, support_paths.c,
10548 xmkdirp, and links-dso-program.
10549 * support/links-dso-program-c.c: New.
10550 * support/links-dso-program.cc: New.
10551 * support/test-container.c: New.
10552 * support/shell-container.c: New.
10553 * support/echo-container.c: New.
10554 * support/true-container.c: New.
10555 * support/xmkdirp.c: New.
10556 * support/xsymlink.c: New.
10557 * support/support_paths.c: New.
10558 * support/support.h: Add support paths prototypes.
10559 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10560
10561 * nss/tst-nss-test3.c: Convert to test-in-container.
10562 * nss/tst-nss-test3.root/: New.
10563
10564 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10565
10566 regex: port Gnulib code to z/OS POSIX environment
10567 Problem reported by Arnold Robbins in:
10568 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10569 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10570 Undef.
10571
10572 2018-08-22 Joseph Myers <joseph@codesourcery.com>
10573
10574 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10575 (ROUNDING_TESTS_double): Remove.
10576 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10577 (ROUNDING_TESTS_double): Remove.
10578 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10579 (ROUNDING_TESTS_double): Remove.
10580 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10581 (ROUNDING_TESTS_float): Remove.
10582 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10583 (ROUNDING_TESTS_float): Remove.
10584 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10585 (ROUNDING_TESTS_float): Remove.
10586 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10587 !TEST_MATHVEC here.
10588 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10589 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10590
10591 * sysdeps/generic/math-tests-rounding.h: New file.
10592 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10593 (ROUNDING_TESTS_float): Do not define here.
10594 (ROUNDING_TESTS_double): Likewise.
10595 (ROUNDING_TESTS_long_double): Likewise.
10596 (ROUNDING_TESTS_float128): Likewise.
10597 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10598 (ROUNDING_TESTS_double): Undefine before defining.
10599 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10600 (ROUNDING_TESTS_double): Undefine before defining.
10601 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10602 (ROUNDING_TESTS_double): Undefine before defining.
10603 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10604 (ROUNDING_TESTS_float): Undefine before defining.
10605 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10606 (ROUNDING_TESTS_float): Undefine before defining.
10607 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10608 (ROUNDING_TESTS_float): Undefine before defining.
10609 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10610 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10611 not define here.
10612 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10613 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10614 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10615 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10616 (ROUNDING_TESTS_float): Do not define here.
10617 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10618 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10619 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10620 (ROUNDING_TESTS_float): Likewise.
10621 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10622 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10623 * sysdeps/mips/math-tests.h [__mips_soft_float]
10624 (ROUNDING_TESTS_float): Likewise.
10625 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10626 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10627 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10628 (ROUNDING_TESTS_double): Likewise.
10629 (ROUNDING_TESTS_long_double): Likewise.
10630
10631 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
10632
10633 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10634 (PF_XDP): New macro.
10635 (AF_XDP): New macro.
10636 (SOL_XDP): New macro.
10637
10638 2018-08-21 Joseph Myers <joseph@codesourcery.com>
10639
10640 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10641 (TCP_INQ): Likewise.
10642 (TCP_CM_INQ): Likewise.
10643 (TCP_REPAIR_ON): Likewise.
10644 (TCP_REPAIR_OFF): Likewise.
10645 (TCP_REPAIR_OFF_NO_WP): Likewise.
10646 (struct tcp_zerocopy_receive): New type.
10647
10648 2018-08-21 Florian Weimer <fweimer@redhat.com>
10649
10650 * support/support.h (support_descriptor_supports_holes): Declare.
10651 * support/Makefile (libsupport-routines): Add
10652 support_descriptor_supports_holes.
10653 * support/support_descriptor_supports_holes.c: New file.
10654 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10655 and stop testing if holes are not supported.
10656 * io/test-lfs.c (do_prepare): Likewise.
10657 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10658 Likewise.
10659 * timezone/tst-tzset.c (create_tz_file): Likewise.
10660 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10661 variable.
10662 (do_prepare): Set it.
10663 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10664
10665 2018-08-21 Florian Weimer <fweimer@redhat.com>
10666
10667 [BZ #17248]
10668 * Makeconfig (+cflags): Do not sort (and deduplicate).
10669
10670 2018-08-21 Florian Weimer <fweimer@redhat.com>
10671
10672 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10673 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10674
10675 2018-08-20 Florian Weimer <fweimer@redhat.com>
10676
10677 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10678 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10679
10680 2018-08-20 Joseph Myers <joseph@codesourcery.com>
10681
10682 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10683 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10684 and ssi_arch members.
10685
10686 * elf/elf.c (NT_VMCOREDD): New macro.
10687 (AT_MINSIGSTKSZ): Likewise.
10688
10689 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10690
10691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10692 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10693 s_cosf-ppc64 and s_cosf-power8.
10694 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10695 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10696 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10697 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10704 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10705 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10706
10707 2018-08-17 Florian Weimer <fweimer@redhat.com>
10708
10709 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10710
10711 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10712
10713 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10714
10715 2018-08-16 Florian Weimer <fweimer@redhat.com>
10716
10717 * configure.ac: Add --with-nonshared-cflags option.
10718 * config.make.in (extra-nonshared-cflags): Set variable.
10719 * Makeconfig (CFLAGS-.oS): Use it.
10720 * manual/install.texi (Configuring and compiling): Document
10721 --with-nonshared-cflags.
10722 * configure: Regenerate.
10723 * INSTALL: Likewise.
10724
10725 2018-08-16 Florian Weimer <fweimer@redhat.com>
10726
10727 * Makeconfig (ASFLAGS): Always append required assembler flags.
10728
10729 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
10730
10731 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10732 (malloc_consolidate): Likewise.
10733
10734 2018-08-16 Pochang Chen <johnchen902@gmail.com>
10735
10736 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10737
10738 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10739
10740 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10741 every strlen call.
10742
10743 * benchtests/bench-strlen.c: Print performance numbers in json.
10744
10745 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10746
10747 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10748 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10749 only for little endian.
10750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10751 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10752 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10753 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10754 Add check for little endian.
10755 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10756 (__strcmp_power9): Add check for little endian.
10757 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10758 Add check for little endian.
10759 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10760 (__strncmp_power9): Add check for little endian.
10761 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10762 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10763 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10764 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10765 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10766
10767 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10768
10769 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10770 [!STRLEN](STRLEN): Set to __strlen.
10771 * sysdeps/aarch64/multiarch/strlen.c: New file.
10772 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10773 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10774 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10775 (__libc_ifunc_impl_list): Add strlen.
10776 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10777 strlen_generic and strlen_asimd.
10778
10779 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10780
10781 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10782 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10783 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10784
10785 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10786
10787 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10788
10789 2018-08-14 Florian Weimer <fweimer@redhat.com>
10790
10791 [BZ #23519]
10792 * include/stdio.h (__vfxprintf): Declare.
10793 * stdio-common/fxprintf.c (__vfxprintf): New function.
10794 (__fxprintf): Call it.
10795 * misc/err.c (convert_and_print): Remove function.
10796 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10797 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10798 * misc/Makefile (tests): Add tst-warn-wide.
10799 * misc/tst-warn-wide.c: New file.
10800
10801 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10802 Szabolcs Nagy <szabolcs.nagy@arm.com>
10803
10804 * NEWS: Mention sinf, cosf, sincosf.
10805 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10806 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10807 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10808 constants rather than including generic sincosf.h.
10809 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10810 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10811 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10812 (reduced_cos): Remove.
10813 (sinf_poly): New function.
10814 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10815
10816 2018-08-14 Florian Weimer <fweimer@redhat.com>
10817
10818 [BZ #23521]
10819 [BZ #23522]
10820 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10821 processing, bail out if no room, and close the stream before
10822 returning ERANGE.
10823 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10824 (tst-nss-files-alias-leak): Link with libdl.
10825 (tst-nss-files-alias-leak.out): Depend on nss_files.
10826
10827 * nss/tst-nss-files-alias-leak.c: New file.
10828
10829 2018-08-14 Florian Weimer <fweimer@redhat.com>
10830
10831 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10832 server_user, stat_user.
10833
10834 2018-08-13 Joseph Myers <joseph@codesourcery.com>
10835
10836 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10837 version to 4.18.
10838 (io_pgetevents): New syscall.
10839 (rseq): Likewise.
10840
10841 * manual/install.texi (Configuring and compiling): Do not list
10842 tools used for testing pretty printers here.
10843 (Tools for Compilation): List Python, PExpect and GDB here.
10844 Update descriptions of uses of Perl and Python.
10845 * INSTALL: Regenerate.
10846
10847 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10848 version to 4.18.
10849
10850 2018-08-13 Florian Weimer <fweimer@redhat.com>
10851
10852 * misc/error.c (error): Add missing va_end call.
10853 (error_at_line): Likewise.
10854
10855 2018-08-13 Florian Weimer <fweimer@redhat.com>
10856
10857 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10858
10859 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10860
10861 * benchtests/scripts/benchout.schema.json (properties): Add
10862 new properties.
10863
10864 * benchtests/bench-skeleton.c (main): Add duration and
10865 iterations attributes.
10866
10867 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10868
10869 regex: Gnulib unibyte RRI uses bytes not chars
10870 Adjust the non-glibc code to agree with what Gawk needs for
10871 rational range interpretation (RRI) for regular expression ranges.
10872 In unibyte locales, Gawk wants ranges to use the underlying byte
10873 rather than the character code point. This change does not affect
10874 glibc proper.
10875 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10876 In unibyte locales, use the byte value rather than
10877 running it through btowc.
10878
10879 2018-08-10 Joseph Myers <joseph@codesourcery.com>
10880
10881 * sysdeps/generic/math-tests-snan.h: New file.
10882 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10883 (SNAN_TESTS_float): Do not define here.
10884 (SNAN_TESTS_double): Likewise.
10885 (SNAN_TESTS_long_double): Likewise.
10886 (SNAN_TESTS_float128): Likewise.
10887 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10888 * sysdeps/i386/fpu/math-tests.h: Remove file.
10889 * sysdeps/ia64/math-tests-snan.h: New file.
10890 * sysdeps/ia64/math-tests.h: Remove file.
10891 * sysdeps/x86/math-tests.h: Likewise.
10892 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10893
10894 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10895 Szabolcs Nagy <szabolcs.nagy@arm.com>
10896
10897 * math/Makefile: Add s_sincosf_data.c.
10898 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10899 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10900 (sincosf_poly): Likewise.
10901 (reduce_small): Likewise.
10902 (reduce_large): Likewise.
10903 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10904 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10905 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10906 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10907
10908 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10909 Szabolcs Nagy <szabolcs.nagy@arm.com>
10910
10911 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10912 (converttoint): Use lround.
10913 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10914 document the semantics when TOINT_INTRINSICS is set.
10915 (converttoint): Likewise.
10916 (TOINT_RINT): Remove.
10917 (TOINT_SHIFT): Remove.
10918 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10919 path.
10920
10921 2018-08-10 Florian Weimer <fweimer@redhat.com>
10922
10923 [BZ #23497]
10924 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10925 function.
10926 (__old_getdents64): Use getdents64. Convert entries without
10927 moving them.
10928 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10929 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10930 tst-readdir64-compat.
10931
10932 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10933
10934 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10935 Fix unwind.
10936
10937 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10938
10939 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10940 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10941 code to s390x-mcount.h and #include it.
10942 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10943 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10944 (__fentry__): Add.
10945
10946 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10947
10948 * stdlib/Versions: Remove __fentry__.
10949 * sysdeps/i386/Versions: Add __fentry__.
10950 * sysdeps/x86_64/Versions: Add __fentry__.
10951
10952 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10953
10954 * sysdeps/s390/Makefile: Register the new tests.
10955 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10956 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10957 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10958 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10959 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10960 * sysdeps/s390/tst-dl-runtime.c: New file.
10961
10962 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10963
10964 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10965 Do not clobber R0.
10966
10967 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10968
10969 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10970 Do not clobber R0.
10971
10972 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10973
10974 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10975 Do not clobber R0.
10976
10977 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10978
10979 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10980 Do not clobber R0.
10981
10982 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10983
10984 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10985 Use symbolic offsets for stack variables.
10986
10987 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10988
10989 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10990 Use symbolic offsets for stack variables.
10991
10992 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10993
10994 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10995 Use symbolic offsets for stack variables.
10996
10997 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10998
10999 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11000 Use symbolic offsets for stack variables.
11001
11002 2018-08-09 Joseph Myers <joseph@codesourcery.com>
11003
11004 * math/gen-libm-test.py: New file.
11005 * math/gen-libm-test.pl: Remove.
11006 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
11007 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
11008 gen-libm-test.pl.
11009 ($(libm-test-c-noauto-obj)): Likewise.
11010 ($(libm-test-c-auto-obj)): Likewise.
11011 ($(libm-test-c-narrow-obj)): Likewise.
11012 (regen-ulps): Likewise.
11013 * math/README.libm-test: Update references to gen-libm-test.pl.
11014 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
11015 referencing gen-libm-test.pl.
11016 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
11017 * math/libm-test-support.c: Likewise.
11018 * math/libm-test-support.h: Likewise.
11019 * sysdeps/generic/libm-test-ulps: Likewise.
11020
11021 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
11022
11023 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
11024 Fix value.
11025
11026 2018-08-08 Joseph Myers <joseph@codesourcery.com>
11027
11028 * math/libm-test-nextdown.inc (do_test): Move comment to ....
11029 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
11030
11031 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11032
11033 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
11034 symbols.
11035 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
11036 __pthread_setspecific): Add hidden proto.
11037 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
11038 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
11039
11040 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11041
11042 * benchtests/bench-string.h (buf1_size, buf2_size): New
11043 variables.
11044 (init_sizes): New function.
11045 (test_init): Use it.
11046 (alloc_buf, exit_error): New functions.
11047 (alloc_bufs): Use ALLOC_BUF.
11048 (realloc_bufs): Remove.
11049 * benchtests/bench-memcmp.c (do_test): Adjust.
11050 * benchtests/bench-memset-large.c (do_test): Likewise.
11051 * benchtests/bench-memset-walk.c (do_test): Likewise.
11052 * benchtests/bench-memset.c (do_test): Likewise.
11053 * benchtests/bench-strncmp.c (do_test): Likewise.
11054
11055 2018-08-06 Andreas Schwab <schwab@suse.de>
11056
11057 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
11058 of CONST_THREAD_AREA.
11059
11060 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
11061
11062 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
11063 (STATE_SAVE_MASK): Likewise.
11064 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
11065 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
11066 (STATE_SAVE_MASK): Likewise.
11067 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
11068 instead of <cpu-features.h>.
11069
11070 2018-08-03 DJ Delorie <dj@redhat.com>
11071
11072 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
11073 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
11074
11075 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
11076
11077 2018-08-03 Joseph Myers <joseph@codesourcery.com>
11078
11079 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
11080 after TEST_* calls.
11081 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
11082 * math/libm-test-logb.inc (logb_test_data): Likewise.
11083
11084 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
11085
11086 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
11087 * string/strstr.c (AVAILABLE): Likewise.
11088
11089 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11090
11091 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
11092 <init-arch.h>.
11093 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
11094 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
11095 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
11096
11097 2018-08-03 Carlos O'Donell <carlos@redhat.com>
11098
11099 * po/be.po: Update translation.
11100
11101 * po/be.po: Update translation.
11102
11103 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11104
11105 * sysdeps/x86/cpu-features-offsets.sym
11106 (rtld_global_ro_offsetof): Removed.
11107 (CPU_FEATURES_SIZE): Likewise.
11108 (CPUID_OFFSET): Likewise.
11109 (CPUID_SIZE): Likewise.
11110 (CPUID_EAX_OFFSET): Likewise.
11111 (CPUID_EBX_OFFSET): Likewise.
11112 (CPUID_ECX_OFFSET): Likewise.
11113 (CPUID_EDX_OFFSET): Likewise.
11114 (FAMILY_OFFSET): Likewise.
11115 (MODEL_OFFSET): Likewise.
11116 (FEATURE_OFFSET): Likewise.
11117 (FEATURE_SIZ): Likewise.
11118 (COMMON_CPUID_INDEX_1): Likewise.
11119 (COMMON_CPUID_INDEX_7): Likewise.
11120 (FEATURE_INDEX_1): Likewise.
11121 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
11122
11123 2018-08-02 Carlos O'Donell <carlos@redhat.com>
11124
11125 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
11126 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
11127 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
11128 (install-locales): Depend on install-locale-archive.
11129 (install-locale-archive): Define.
11130 (install-locale-files): Define.
11131 (build-one-locale): Define macro.
11132 * manual/install.texi (Running make install): Document.
11133 * manual/INSTALL: Regenerate.
11134
11135 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
11136
11137 * benchtests/scripts/compare_strings.py: Import traceback.
11138 (parse_file): Pretty-print error.
11139
11140 * NEWS: Mention the change.
11141 * elf/dl-tunables.list: Rename tune namespace to cpu.
11142 * sysdeps/powerpc/dl-tunables.list: Likewise.
11143 * sysdeps/x86/dl-tunables.list: Likewise.
11144 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
11145 cpu.name.
11146 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
11147 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
11148 * manual/README.tunables: Likewise.
11149 * manual/tunables.texi: Likewise.
11150 * sysdeps/powerpc/cpu-features.c: Likewise.
11151 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
11152 (init_cpu_features): Likewise.
11153 * sysdeps/x86/cpu-features.c: Likewise.
11154 * sysdeps/x86/cpu-features.h: Likewise.
11155 * sysdeps/x86/cpu-tunables.c: Likewise.
11156 * sysdeps/x86_64/Makefile: Likewise.
11157 * sysdeps/x86/dl-cet.c: Likewise.
11158
11159 2018-08-02 Joseph Myers <joseph@codesourcery.com>
11160
11161 [BZ #23479]
11162 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11163 [__mips_hard_float].
11164 (FE_UNDERFLOW): Likewise.
11165 (FE_OVERFLOW): Likewise.
11166 (FE_DIVBYZERO): Likewise.
11167 (FE_INVALID): Likewise.
11168 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11169 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11170 (FE_UPWARD): Likewise.
11171 (FE_DOWNWARD): Likewise.
11172 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11173 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11174 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11175 [__mips_hard_float].
11176 (FP_ROUNDMODE): Likewise.
11177 (FP_RND_NEAREST): Likewise.
11178 (FP_RND_ZERO): Likewise.
11179 (FP_RND_PINF): Likewise.
11180 (FP_RND_MINF): Likewise.
11181 (FP_EX_INVALID): Likewise.
11182 (FP_EX_OVERFLOW): Likewise.
11183 (FP_EX_UNDERFLOW): Likewise.
11184 (FP_EX_DIVZERO): Likewise.
11185 (FP_EX_INEXACT): Likewise.
11186 (FP_INIT_ROUNDMODE): Likewise.
11187 * sysdeps/mips/nofpu/fesetenv.c: New file.
11188 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11189
11190 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11191
11192 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11193 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11194 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11195 conditional on [FE_UPWARD].
11196
11197 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11198
11199 regex: fix memory leak in Gnulib
11200 Problem and fix reported by Assaf Gordon in:
11201 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11202 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11203 range_ends members too, as they are defined in 'struct
11204 re_charset_t' even if not _LIBC. This affects only Gnulib.
11205
11206 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11207
11208 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11209 ...
11210 (get_common_indices): This.
11211 (init_cpu_features): Updated.
11212
11213 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11214
11215 * sysdeps/generic/math-tests-snan-payload.h: New file.
11216 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11217 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11218 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11219 * sysdeps/generic/math-tests.h: Include
11220 <math-tests-snan-payload.h>.
11221 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11222 * sysdeps/hppa/math-tests.h: Remove file.
11223 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11224 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11225 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11226 Likewise.
11227
11228 * sysdeps/generic/math-tests-snan-cast.h: New file.
11229 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11230 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11231 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11232 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11233
11234 2018-08-01 Carlos O'Donel <carlos@redhat.com>
11235
11236 * version.h (RELEASE): Set to "development".
11237 (VERSION): Set to "2.28.9000".
11238 * NEWS (2.29): New section.
11239
11240 * version.h (RELEASE): Set to "stable".
11241 (VERSION): Set to "2.28".
11242 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11243 * NEWS: Add the list of bugs fixed in 2.28.
11244
11245 * po/ca.po: Update to latest version.
11246 * po/cs.po: Likewise
11247 * po/da.po: Likewise
11248 * po/el.po: Likewise
11249 * po/eo.po: Likewise
11250 * po/es.po: Likewise
11251 * po/fi.po: Likewise
11252 * po/fr.po: Likewise
11253 * po/gl.po: Likewise
11254 * po/hu.po: Likewise
11255 * po/ia.po: Likewise
11256 * po/id.po: Likewise
11257 * po/it.po: Likewise
11258 * po/ja.po: Likewise
11259 * po/ko.po: Likewise
11260 * po/lt.po: Likewise
11261 * po/nb.po: Likewise
11262 * po/nl.po: Likewise
11263 * po/pt_BR.po: Likewise
11264 * po/ru.po: Likewise
11265 * po/rw.po: Likewise
11266 * po/sk.po: Likewise
11267 * po/sl.po: Likewise
11268 * po/tr.po: Likewise
11269 * po/zh_CN.po: Likewise
11270 * po/zh_TW.po: Likewise
11271
11272 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11273
11274 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11275 initialization...
11276 (init): ... before initializing libpthread.
11277
11278 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11279 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11280 (__mach_setup_tls): ... new function.
11281 (mach_setup_tls): New alias.
11282 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11283 __mach_setup_thread.
11284 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11285 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11286 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11287 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11288
11289 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11290
11291 * manual/install.texi: Update versions.
11292 * INSTALL: Regenerate.
11293
11294 * manual/contrib.texi (Contributors): Update contributions.
11295
11296 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11297
11298 * po/be.po: Update translations.
11299
11300 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11301
11302 * sysdeps/sh/libm-test-ulps: Update.
11303
11304 2018-07-30 Carlos O'Donell <carlos@redhat.com>
11305
11306 * po/bg.po: Update translations.
11307 * po/de.po: Likewise.
11308 * po/hr.po: Likewise.
11309 * po/pt_BR.po: Likewise.
11310 * po/sv.po: Likewise.
11311 * po/vi.po: Likewise.
11312
11313 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11314
11315 [BZ #23467]
11316 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11317 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11318 (CFLAGS-tst-cet-property-1.o): New.
11319 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11320 ($(objpfx)tst-cet-property-2): Likewise.
11321 ($(objpfx)tst-cet-property-2.out): Likewise.
11322 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11323 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11324 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11325 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11326 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11327
11328 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11329
11330 [BZ #23458]
11331 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11332
11333 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11334
11335 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11336 __sbrk): Do not set attribute_hidden.
11337 * sysdeps/mach/hurd/not-errno.h: New file.
11338 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11339 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11340
11341 2018-07-27 Carlos O'Donell <carlos@redhat.com>
11342
11343 * po/uk.po: Update translations.
11344 * po/cs.po: Likewise.
11345 * po/pl.po: Likewise.
11346
11347 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11348
11349 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11350 parse beyond the note end.
11351
11352 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11353
11354 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11355 kernel does not support OFD locks.
11356 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11357
11358 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11359
11360 * sysdeps/mach/hurd/Versions (libc): Make __access and
11361 __access_noerrno external so they can override the ld symbols.
11362 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11363 __writev, __open64, __access_noerrno extern so they can be overrided.
11364 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11365 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11366
11367 2018-07-26 Carlos O'Donell <carlos@redhat.com>
11368
11369 * po/libc.pot: Regenerate.
11370
11371 2018-07-26 Joseph Myers <joseph@codesourcery.com>
11372
11373 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11374
11375 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11376
11377 [BZ #23459]
11378 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11379 function.
11380 (init_cpu_features): Call get_extended_indices for both Intel
11381 and AMD CPUs.
11382 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11383 Remove "for AMD" comment.
11384
11385 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11386
11387 [BZ # 23456]
11388 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11389 COMMON_CPUID_INDEX_80000001.
11390
11391 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
11392
11393 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11394 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11395
11396 2018-07-26 Florian Weimer <fweimer@redhat.com>
11397
11398 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11399 aliases for symbols not in the implementation namespace.
11400
11401 2018-07-25 Carlos O'Donell <carlos@redhat.com>
11402
11403 [BZ #23393]
11404 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11405 lowercase in LATIN script.
11406 * localedata/Makefile (test-input): Add en_US.UTF-8.
11407 * localedata/en_US.UTF-8.in: New file.
11408 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11409 and restore old tests.
11410 * posix/tst-regexloc.c (do_test): Add back range expression test.
11411
11412 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11413
11414 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11415
11416 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11417
11418 * nptl/threads.h: Move to ...
11419 * sysdeps/nptl/threads.h: ... here.
11420 * sysdeps/hurd/stdc-predef.h: New file.
11421
11422 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11423
11424 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11425 tst-cet-setcontext-1 if CET is enabled.
11426 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11427 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11428
11429 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11430
11431 * include/threads.h: Move to ...
11432 * sysdeps/nptl/threads.h: ... here.
11433 * sysdeps/htl/threads.h: New file.
11434 * conform/Makefile (linknamespace-libs-ISO11): Use
11435 static-thread-library instead of linking libpthread.
11436 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11437
11438 2018-07-25 Florian Weimer <fweimer@redhat.com>
11439
11440 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11441 nanoseconds into seconds.
11442 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11443 (do_test): Likewise.
11444 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11445 (do_test): Likewise. Avoid nanosecond overflow and spurious
11446 timeouts due to system load.
11447 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11448 (child_wait): Increment it.
11449 (do_test): Wait as long as necessary until all expected threads
11450 have arrived.
11451
11452 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11453 H.J. Lu <hongjiu.lu@intel.com>
11454
11455 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11456 __ssp.
11457 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11458 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11459 (__push___start_context): New.
11460 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11461 <asm/prctl.h>.
11462 (__getcontext): Record the current shadow stack base. Save the
11463 caller's shadow stack pointer and base.
11464 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11465 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11466 (__push___start_context): New prototype.
11467 (__makecontext): Call __push___start_context to allocate a new
11468 shadow stack, push __start_context onto the new stack as well
11469 as the new shadow stack.
11470 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11471 <asm/prctl.h>.
11472 (__setcontext): Restore the target shadow stack.
11473 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11474 <asm/prctl.h>.
11475 (__swapcontext): Record the current shadow stack base. Save
11476 the caller's shadow stack pointer and base. Restore the target
11477 shadow stack.
11478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11479 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11480 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11481
11482 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11483
11484 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11485 tst-setcontext8 and tst-setcontext9.
11486 * stdlib/tst-setcontext6.c: New file.
11487 * stdlib/tst-setcontext7.c: Likewise.
11488 * stdlib/tst-setcontext8.c: Likewise.
11489 * stdlib/tst-setcontext9.c: Likewise.
11490
11491 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11492
11493 * stdlib/Makefile ((tests): Add tst-setcontext5.
11494 * stdlib/tst-setcontext5.c: New file.
11495
11496 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11497
11498 * stdlib/Makefile (tests): Add tst-setcontext4.
11499 * stdlib/tst-setcontext4.c: New file.
11500
11501 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11502
11503 * stdlib/Makefile (tests): Add tst-swapcontext1.
11504 * stdlib/tst-swapcontext1.c: New test.
11505
11506 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11507
11508 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11509 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11510 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11511 and tst-cet-legacy-4c.
11512 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11513 and tst-cet-legacy-mod-4.
11514 (CFLAGS-tst-cet-legacy-2.c): New.
11515 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11516 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11517 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11518 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11519 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11520 ($(objpfx)tst-cet-legacy-1): Likewise.
11521 ($(objpfx)tst-cet-legacy-2): Likewise.
11522 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11523 ($(objpfx)tst-cet-legacy-2a): Likewise.
11524 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11525 ($(objpfx)tst-cet-legacy-4): Likewise.
11526 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11527 ($(objpfx)tst-cet-legacy-4a): Likewise.
11528 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11529 (tst-cet-legacy-4a-ENV): Likewise.
11530 ($(objpfx)tst-cet-legacy-4b): Likewise.
11531 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11532 (tst-cet-legacy-4b-ENV): Likewise.
11533 ($(objpfx)tst-cet-legacy-4c): Likewise.
11534 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11535 (tst-cet-legacy-4c-ENV): Likewise.
11536 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11537 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11538 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11539 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11540 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11541 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11542 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11543 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11544 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11545 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11546 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11547
11548 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11549
11550 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11551 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11552 with ssp_base.
11553 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11554 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11555 with ssp_base.
11556
11557 2018-07-25 Andreas Schwab <schwab@suse.de>
11558
11559 [BZ #23442]
11560 * locale/weightwc.h (findidx): Handle the case where usrc is a
11561 prefix of cp but one character too short.
11562
11563 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11564
11565 * NEWS: Add ISO C threads addition.
11566
11567 2018-07-24 Florian Weimer <fweimer@redhat.com>
11568
11569 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11570 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11571 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11572 4.13.
11573
11574 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11575
11576 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11577 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11578 <sys/prctl.h> and <asm/prctl.h>.
11579 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11580 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11581 and <asm/prctl.h>.
11582 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11583 ARCH_CET_LEGACY_BITMAP.
11584 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11585 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11586 * sysdeps/x86/libc-start.c: Include <startup.h>.
11587
11588 2018-07-24 Florian Weimer <fweimer@redhat.com>
11589
11590 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11591 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11592
11593 2018-07-24 Rical Jasan <rj@2c3t.io>
11594 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11595 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11596
11597 [BZ #14092]
11598 * manual/debug.texi: Update adjacent chapter name.
11599 * manual/probes.texi: Likewise.
11600 * manual/threads.texi (ISO C Threads): New section.
11601 (POSIX Threads): Convert to a section.
11602
11603 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11604 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11605
11606 [BZ# 14092]
11607 * nptl/Makefile (tests): Add new test files.
11608 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11609 * nptl/tst-cnd-basic.c: Likewise.
11610 * nptl/tst-cnd-broadcast.c: Likewise.
11611 * nptl/tst-cnd-timedwait.c: Likewise.
11612 * nptl/tst-mtx-basic.c: Likewise.
11613 * nptl/tst-mtx-recursive.c: Likewise.
11614 * nptl/tst-mtx-timedlock.c: Likewise.
11615 * nptl/tst-mtx-trylock.c: Likewise.
11616 * nptl/tst-thrd-basic.c: Likewise.
11617 * nptl/tst-thrd-detach.c: Likewise.
11618 * nptl/tst-thrd-sleep.c: Likewise.
11619 * nptl/tst-tss-basic.c: Likewise.
11620
11621 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11622
11623 [BZ #14092]
11624 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11625 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11626 symbols.
11627 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11628 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11629 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11630 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11631 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11632 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11633 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11634 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11635 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11636 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11637 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11638 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11640 Likewise.
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11642 Likewise.
11643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11644 Likewise.
11645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11646 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11647 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11648 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11649 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11650 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11651 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11652 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11653 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11654 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11655 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11656 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11657 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11658 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11659 Likewise.
11660 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11661 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11662 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11663 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11664 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11665 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11666 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11667 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11668 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11669 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11670 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11671 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11672 ikewise.
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11675 Likewise.
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11677 Likewise.
11678 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11679 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11680 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11681 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11682 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11683 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11684 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11685 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11686
11687 [BZ #14092]
11688 * conform/data/threads.h-data (thread_local): New macro.
11689 (TSS_DTOR_ITERATIONS): Likewise.
11690 (tss_t): New type.
11691 (tss_dtor_t): Likewise.
11692 (tss_create): New function.
11693 (tss_get): Likewise.
11694 (tss_set): Likewise.
11695 (tss_delete): Likewise.
11696 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11697 tss_get, and tss_set objects.
11698 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11699 * nptl/tss_create.c: New file.
11700 * nptl/tss_delete.c: Likewise.
11701 * nptl/tss_get.c: Likewise.
11702 * nptl/tss_set.c: Likewise.
11703 * sysdeps/nptl/threads.h (thread_local): New define.
11704 (TSS_DTOR_ITERATIONS): Likewise.
11705 (tss_t): New typedef.
11706 (tss_dtor_t): Likewise.
11707 (tss_create): New prototype.
11708 (tss_get): Likewise.
11709 (tss_set): Likewise.
11710 (tss_delete): Likewise.
11711
11712 [BZ #14092]
11713 * conform/data/threads.h-data (cnd_t): New type.
11714 (cnd_init): New function.
11715 (cnd_signal): Likewise.
11716 (cnd_broadcast): Likewise.
11717 (cnd_wait): Likewise.
11718 (cnd_timedwait): Likewise.
11719 (cnd_destroy): Likewise.
11720 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11721 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11722 object.
11723 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11724 * nptl/cnd_broadcast.c: New file.
11725 * nptl/cnd_destroy.c: Likewise.
11726 * nptl/cnd_init.c: Likewise.
11727 * nptl/cnd_signal.c: Likewise.
11728 * nptl/cnd_timedwait.c: Likewise.
11729 * nptl/cnd_wait.c: Likewise.
11730 * sysdeps/nptl/threads.h (cnd_t): New type.
11731 (cnd_init): New prototype.
11732 (cnd_signa): Likewise.
11733 (cnd_broadcast): Likewise.
11734 (cnd_wait): Likewise.
11735 (cnd_timedwait): Likewise.
11736 (cnd_destroy): Likewise.
11737
11738 [BZ #14092]
11739 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11740 (once_flag): New type.
11741 (call_once): New function.
11742 * nptl/Makefile (libpthread-routines): Add call_once object.
11743 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11744 * nptl/call_once.c: New file.
11745 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11746 (once_flag): New type.
11747 (call_once): New prototype.
11748
11749 [BZ #14092]
11750 * conform/data/threads.h-data (mtx_plain): New constant.
11751 (mtx_recursive): Likewise.
11752 (mtx_timed): Likewise.
11753 (mtx_t): New type.
11754 (mtx_init): New function.
11755 (mtx_lock): Likewise.
11756 (mtx_timedlock): Likewise.
11757 (mtx_trylock): Likewise.
11758 (mtx_unlock): Likewise.
11759 (mtx_destroy): Likewise.
11760 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11761 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11762 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11763 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11764 * nptl/mtx_destroy.c: New file.
11765 * nptl/mtx_init.c: Likewise.
11766 * nptl/mtx_lock.c: Likewise.
11767 * nptl/mtx_timedlock.c: Likewise.
11768 * nptl/mtx_trylock.c: Likewise.
11769 * nptl/mtx_unlock.c: Likewise.
11770 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11771 (mtx_recursive): Likewise.
11772 (mtx_timed): Likewise.
11773 (mtx_t): New type.
11774 (mtx_init): New prototype.
11775 (mtx_lock): Likewise.
11776 (mtx_timedlock): Likewise.
11777 (mtx_trylock): Likewise.
11778 (mtx_unlock): Likewise.
11779 (mtx_destroy): Likewise.
11780
11781 [BZ #14092]
11782 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11783 (linknamespace-libs-ISO11): Add libpthread.a.
11784 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11785 functions.
11786 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11787 * nptl/Makefile (headers): Add threads.h.
11788 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11789 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11790 thrd_yield.
11791 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11792 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11793 thrd_join, thrd_sleep, and thrd_yield symbols.
11794 * nptl/descr.h (struct pthread): Add c11 field.
11795 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11796 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11797 routine with expected function prototype.
11798 (__pthread_create_2_1): Add C11 threads check based on attribute
11799 value.
11800 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11801 * nptl/thrd_create.c: New file.
11802 * nptl/thrd_current.c: Likewise.
11803 * nptl/thrd_detach.c: Likewise.
11804 * nptl/thrd_equal.c: Likewise.
11805 * nptl/thrd_exit.c: Likewise.
11806 * nptl/thrd_join.c: Likewise.
11807 * nptl/thrd_priv.h: Likewise.
11808 * nptl/thrd_sleep.c: Likewise.
11809 * nptl/thrd_yield.c: Likewise.
11810 * include/threads.h: Likewise.
11811
11812 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11813
11814 * bits/indirect-return.h: New file.
11815 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11816 * sysdeps/x86/bits/indirect-return.h: Likewise.
11817 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11818 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11819 (swapcontext): Add __INDIRECT_RETURN.
11820 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11821 (prepare_test_buffer): Use it.
11822
11823 2018-07-24 Andreas Schwab <schwab@suse.de>
11824
11825 [BZ #23448]
11826 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11827 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11828
11829 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11830
11831 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11832 Redefine if shadow stack is enabled.
11833 (SYSCALL_ERROR_LABEL): Likewise.
11834 (__vfork): Pop shadow stack and jump back to to caller directly
11835 when shadow stack is in use.
11836 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11837 Redefine if shadow stack is enabled.
11838 (SYSCALL_ERROR_LABEL): Likewise.
11839 (__vfork): Pop shadow stack and jump back to to caller directly
11840 when shadow stack is in use.
11841
11842 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11843
11844 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11845 enabled.
11846 (foo): Likewise.
11847 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11848 (foo): Likewise.
11849
11850 2018-07-20 Joseph Myers <joseph@codesourcery.com>
11851
11852 * scripts/build-many-glibcs.py (Context.checkout): Default
11853 binutils version to 2.31 branch.
11854
11855 2018-07-20 Zong Li <zong@andestech.com>
11856
11857 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11858 URL of gcc's tarball.
11859
11860 2018-07-20 Florian Weimer <fweimer@redhat.com>
11861
11862 [BZ #23396]
11863 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11864 not compare an extra byte after the end of the weights.
11865
11866 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11867
11868 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11869 to 1.
11870 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11871 hidden prototypes.
11872 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11873 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
11874 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11875 list of libraries whose stack executability is expected.
11876 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11877 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11878 variable.
11879 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11880 libc.so libpthread.so.
11881
11882 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11883
11884 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11885 SOCK_NONBLOCK.
11886 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11887 and SOCK_NONBLOCK.
11888 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11889 implement __pipe2.
11890 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
11891
11892 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11893
11894 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11895 library to improve command line parsing.
11896 (__main__): make schema file as optional parameter (--schema),
11897 defaulting to benchtests/scripts/benchout.schema.json.
11898 (main): move out of the parsing stuff to __main_  and leave it
11899 only as caller of main comparison functions.
11900
11901 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11902
11903 * NEWS: Add a note for Intel CET status.
11904 * manual/install.texi: Likewise.
11905 * INSTALL: Regenerated.
11906
11907 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11908
11909 [BZ #23140]
11910 * localedata/locales/oc_FR (mon): Rename to...
11911 (alt_mon): This, then update October (typo fix).
11912 (mon): New content (genitive case, month names preceded by
11913 "de" or "d’").
11914
11915 [BZ #23422]
11916 * localedata/locales/oc_FR (abday): Update all items.
11917 (day): Update Wednesday and Saturday (typo fixes).
11918 (abmon): Update all items, except May.
11919 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11920 (LC_IDENTIFICATION): Bump the revision number and date.
11921 Keep the "category" entries in alphabetic order.
11922 (LC_ADDRESS): Remove no longer needed comment.
11923 (LC_COLLATE): Use “copy "ca_ES"”.
11924 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11925 "name_mrs".
11926
11927 2018-07-18 Joseph Myers <joseph@codesourcery.com>
11928
11929 * grp/tst_fgetgrent.c: Include <unistd.h>.
11930 (main): Use mkstemp instead of tmpnam.
11931 * io/test-utime.c (main): Likewise.
11932 * posix/annexc.c (macrofile): Change to modifiable array.
11933 (main): Remove macrofile here.
11934 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11935 macrofile here.
11936 (check_header): Do not remove macrofile here.
11937 * posix/bug-getopt1.c: Include <stdlib.h>.
11938 (do_test): Use mkstemp instead of tmpnam.
11939 * posix/bug-getopt2.c: Include <stdlib.h>.
11940 (do_test): Use mkstemp instead of tmpnam.
11941 * posix/bug-getopt3.c: Include <stdlib.h>.
11942 (do_test): Use mkstemp instead of tmpnam.
11943 * posix/bug-getopt4.c: Include <stdlib.h>.
11944 (do_test): Use mkstemp instead of tmpnam.
11945 * posix/bug-getopt5.c: Include <stdlib.h>.
11946 (do_test): Use mkstemp instead of tmpnam.
11947 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11948 (main): Use mkstemp instead of tmpnam.
11949 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11950 (main): Use mkstemp instead of tmpnam.
11951 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11952 (main): use mkstemp instead of tmpnam.
11953 * stdlib/isomac.c (macrofile): Change to modifiable array.
11954 (main): Remove macrofile here.
11955 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11956 macrofile here.
11957 (check_header): Do not remove macrofile here.
11958
11959 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11960
11961 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11962 glibc.tune.x86_shstk.
11963
11964 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11965
11966 * NEWS: Mention --enable-cet.
11967 * manual/install.texi: Document --enable-cet.
11968 * INSTALL: Regenerated.
11969
11970 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11971
11972 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11973 Add _CET_NOTRACK before indirect jump to jump table.
11974
11975 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11976
11977 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11978 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11979 to jump table.
11980
11981 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11982
11983 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11984 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11985 to jump table.
11986
11987 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11988
11989 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11990 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11991 to jump table.
11992
11993 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11994
11995 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11996 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11997 to jump table.
11998
11999 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12000
12001 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
12002 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12003 to jump table.
12004 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
12005
12006 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12007
12008 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
12009 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12010 to jump table.
12011
12012 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12013
12014 * sysdeps/i386/i686/multiarch/memset-sse2.S
12015 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12016 to jump table.
12017
12018 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12019
12020 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
12021 indirect jump to jump table.
12022
12023 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12024
12025 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
12026 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12027 to jump table.
12028 (MEMCPY): Likewise.
12029
12030 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12031
12032 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
12033 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12034 to jump table.
12035 (MEMCPY): Likewise.
12036
12037 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12038
12039 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12040 _CET_NOTRACK before indirect jump to jump table.
12041
12042 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12043
12044 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
12045 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12046 to jump table.
12047
12048 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12049
12050 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
12051 indirect jump to jump table.
12052
12053 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
12054
12055 [BZ #22241]
12056 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
12057 (LOCALES): Likewise.
12058 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
12059 * localedata/locales/sah_RU: New file.
12060 * localedata/sah_RU.UTF-8.in: New file.
12061
12062 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12063
12064 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
12065 "sysdep.h".
12066 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12067 _CET_ENDBR to indirect jump targets and adjust jump destination
12068 for _CET_ENDBR.
12069 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
12070 "sysdep.h".
12071 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12072 _CET_ENDBR to indirect jump targets and adjust jump destination
12073 for _CET_ENDBR.
12074 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
12075 "sysdep.h".
12076 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
12077 _CET_ENDBR to indirect jump targets and adjust jump destination
12078 for _CET_ENDBR.
12079
12080 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12081
12082 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12083 _CET_ENDBR.
12084
12085 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12086
12087 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
12088 _CET_ENDBR.
12089 (_dl_tlsdesc_undefweak): Likewise.
12090 (_dl_tlsdesc_dynamic): Likewise.
12091 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
12092 (_dl_tlsdesc_resolve_rel): Likewise.
12093 (_dl_tlsdesc_resolve_rela): Likewise.
12094 (_dl_tlsdesc_resolve_hold): Likewise.
12095 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
12096 (_dl_tlsdesc_undefweak): Likewise.
12097 (_dl_tlsdesc_dynamic): Likewise.
12098 (_dl_tlsdesc_resolve_rela): Likewise.
12099 (_dl_tlsdesc_resolve_hold): Likewise.
12100
12101 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12102
12103 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
12104 (_fini): Likewise.
12105 * sysdeps/x86_64/crti.S (_init): Likewise.
12106 (_fini): Likewise.
12107
12108 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
12109
12110 [BZ #23140]
12111 * localedata/locales/os_RU (mon): Rename to...
12112 (alt_mon): This.
12113 (mon): Import from CLDR (genitive case).
12114
12115 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12116
12117 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
12118 cet-tunables.h> when CET is enabled.
12119
12120 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
12121
12122 [BZ #21598]
12123 * configure.ac: Add --enable-cet.
12124 * configure: Regenerated.
12125 * elf/Makefille (all-built-dso): Add a comment.
12126 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
12127 Include <dl-prop.h>.
12128 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
12129 segment.
12130 * elf/dl-open.c: Include <dl-prop.h>.
12131 (dl_open_worker): Call _dl_open_check.
12132 * elf/rtld.c: Include <dl-prop.h>.
12133 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
12134 _rtld_main_check.
12135 * sysdeps/generic/dl-prop.h: New file.
12136 * sysdeps/i386/dl-cet.c: Likewise.
12137 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
12138 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
12139 * sysdeps/x86/cet-tunables.h: Likewise.
12140 * sysdeps/x86/check-cet.awk: Likewise.
12141 * sysdeps/x86/configure: Likewise.
12142 * sysdeps/x86/configure.ac: Likewise.
12143 * sysdeps/x86/dl-cet.c: Likewise.
12144 * sysdeps/x86/dl-procruntime.c: Likewise.
12145 * sysdeps/x86/dl-prop.h: Likewise.
12146 * sysdeps/x86/libc-start.h: Likewise.
12147 * sysdeps/x86/link_map.h: Likewise.
12148 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
12149 _CET_ENDBR.
12150 (_dl_runtime_profile): Likewise.
12151 (_dl_runtime_resolve_shstk): New.
12152 (_dl_runtime_profile_shstk): Likewise.
12153 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
12154 if CET is enabled.
12155 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
12156 (CFLAGS-.os): Likewise.
12157 (CFLAGS-.op): Likewise.
12158 (CFLAGS-.oS): Likewise.
12159 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
12160 is enabled.
12161 (tests-special): Add $(objpfx)check-cet.out.
12162 (cet-built-dso): New.
12163 (+$(cet-built-dso:=.note)): Likewise.
12164 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12165 ($(objpfx)check-cet.out): New.
12166 (generated): Add check-cet.out.
12167 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12168 <cet-tunables.h>.
12169 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12170 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12171 (init_cpu_features): Call get_cet_status to check CET status
12172 and update dl_x86_feature_1 with CET status. Call
12173 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12174 (set_x86_shstk). Disable and lock CET in libc.a.
12175 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12176 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12177 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12178 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12179 (_CET_ENDBR): Define if not defined.
12180 (ENTRY): Add _CET_ENDBR.
12181 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12182 x86_shstk.
12183 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12184 _CET_ENDBR.
12185 (_dl_runtime_profile): Likewise.
12186
12187 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12188
12189 [BZ #21895]
12190 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12191 restore r2 on longjmp.
12192 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12193 test list.
12194 Added rules to build test tst-setjmp-bug21895-static.
12195 Added module setjmp-bug21895 and rules to build a shared object from it.
12196 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12197 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12198
12199 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12200
12201 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12202 * benchtests/bench-strstr.c: Likewise.
12203 * string/memmem.c (FASTSEARCH): Define.
12204 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12205 Add support for FASTSEARCH.
12206 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12207 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12208 (FASTSEARCH): Define.
12209 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12210 * string/test-strstr.c: Likewise.
12211
12212 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12213
12214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12215 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12216
12217 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12218 H.J. Lu <hongjiu.lu@intel.com>
12219
12220 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12221 (__longjmp): Restore shadow stack pointer if shadow stack is
12222 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12223 isn't defined for __longjmp_cancel.
12224 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12225 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12226 and SHADOW_STACK_POINTER_OFFSET is defined.
12227 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12228 (setjmp): Save shadow stack pointer if shadow stack is enabled
12229 and SHADOW_STACK_POINTER_OFFSET is defined.
12230 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
12231 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12232 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12233 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12234 <jmp_buf-ssp.h>.
12235 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12236 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12237 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12238 Remove jmp_buf-ssp.sym.
12239 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12240 <jmp_buf-ssp.h>.
12241 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12242 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12243 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12244 jmp_buf-ssp.sym.
12245 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12246 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12247 (__longjmp): Restore shadow stack pointer if shadow stack is
12248 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12249 isn't defined for __longjmp_cancel.
12250 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12251 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12252 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12253
12254 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12255
12256 [BZ #22563]
12257 * nptl/pthread_create.c: Include <tls-setup.h>.
12258 (__pthread_create_2_1): Call tls_setup_tcbhead.
12259 * sysdeps/generic/tls-setup.h: New file.
12260 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12261 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12262 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12263 Likewise.
12264 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12265 to feature_1.
12266 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12267 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12268 (X86_FEATURE_1_SHSTK): Likewise.
12269 (CET_ENABLED): Likewise.
12270 (IBT_ENABLED): Likewise.
12271 (SHSTK_ENABLED): Likewise.
12272
12273 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12274
12275 [BZ #23208]
12276 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12277 (LOCALES): Likewise.
12278 * localedata/dsb_DE.UTF-8.in: New file.
12279 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12280
12281 2018-07-12 Florian Weimer <fweimer@redhat.com>
12282
12283 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12284 __mprotect, not mprotect.
12285
12286 2018-07-11 Florian Weimer <fweimer@redhat.com>
12287
12288 * io/Makefile (headers): Add bits/statx.h.
12289
12290 2018-07-10 Mike FABIAN <mfabian@redhat.com>
12291
12292 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12293 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12294 and headers.
12295 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12296 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12297 for utf8_gen.py
12298
12299 2018-07-10 Florian Weimer <fweimer@redhat.com>
12300
12301 * io/Makefile (routines): Add statx.
12302 (tests-internal): Add tst-statx.
12303 * io/Versions (GLIBC_2.28): Export statx.
12304 * io/bits/statx.h: New file.
12305 * io/sys/stat.h [__USE_GNU]: Include it.
12306 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12307 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12308 Define.
12309 * io/statx.c: New file.
12310 * io/statx_generic.: Likewise.
12311 * io/tst-statx.: Likewise.
12312 * include/bits/statx.h: Likewise.
12313 * sysdeps/unix/sysv/linux/kernel-features.h
12314 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12315 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12316 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12317 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12318 Undefine.
12319 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12320 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12321 * sysdeps/unix/sysv/linux/statx.c: New file.
12322 * manual/filesys.texi: Note that statx is undocumented.
12323 * sysdeps/**/libc*.abilist: Update.
12324
12325 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12326
12327 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12328 a kernel issue which lead to test failure in some cases.
12329
12330 2018-07-10 Florian Weimer <fweimer@redhat.com>
12331
12332 [BZ #23036]
12333 * posix/regexec.c (check_node_accept_bytes): When comparing
12334 weights, do not compare an extra byte after the end of the
12335 weights.
12336
12337 2018-07-10 Florian Weimer <fweimer@redhat.com>
12338
12339 * libio/readline.c: Fix copyright year.
12340 * libio/tst-readline.c Likewise.
12341 * nss/tst-nss-files-hosts-getent.c: Likewise.
12342
12343 2018-07-06 Florian Weimer <fweimer@redhat.com>
12344
12345 [BZ #18991]
12346 * nss/nss_files/files-XXX.c (internal_getent): Use
12347 __libc_readline_unlocked. Seek back to the start of the line if
12348 parsing failes with ERANGE.
12349 (get_contents_ret, get_contents): Remove.
12350 * nss/tst-nss-files-hosts-getent.c: New file.
12351 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12352 (tst-nss-files-hosts-getent): Link with -ldl.
12353
12354 2018-07-06 Florian Weimer <fweimer@redhat.com>
12355
12356 * include/stdio.h (__libc_readline_unlocked): Declare.
12357 (__ftello64, __fseeko64): Declare aliases.
12358 * libio/readline.c: New file.
12359 * libio/tst-readline.c: Likewise.
12360 (routines): Add readline.
12361 (tests-internal): Add tst-readlime.
12362 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12363 __libc_readline_unlocked.
12364 * libio/fseeko.c (__fseeko): Rename from fseeko.
12365 (fseeko): Add alias.
12366 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12367 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12368 (fseeko64): Add alias.
12369 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12370 * libio/ftello64.c (__ftello64): Rename from ftello64.
12371 (ftello64): Add alias.
12372
12373 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12374
12375 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12376 HWCAP_ATOMICS.
12377
12378 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12379
12380 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12381 Use dl_hwcap without masking.
12382 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12383 Remove HWCAP_CPUID.
12384
12385 2018-07-06 Florian Weimer <fweimer@redhat.com>
12386
12387 * conform/conformtest.pl (checknamespace): Escape literal braces
12388 in regular expressions.
12389
12390 2018-07-06 Amit Pawar <amit.pawar@amd.com>
12391
12392 * sysdeps/x86/cpu-features.c (get_common_indeces):
12393 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12394 * sysdeps/x86/cpu-features.c (init_cpu_features):
12395 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12396
12397 2018-07-05 Florian Weimer <fweimer@redhat.com>
12398
12399 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12400 protector.
12401 (CFLAGS-elf-init.oS): Likewise.
12402
12403 2018-07-05 Florian Weimer <fweimer@redhat.com>
12404 Carlos O'Donell <carlos@redhat.com>
12405
12406 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12407 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12408 with stack protector enabled because there is no risk of infinite
12409 recursion.
12410
12411 2018-07-05 Maciej W. Rozycki <macro@mips.com>
12412
12413 [BZ #19818]
12414 [BZ #23307]
12415 * libc-abis (ABSOLUTE): New ABI.
12416 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12417 * NEWS: Mention the new ABI.
12418
12419 2018-07-05 Florian Weimer <fweimer@redhat.com>
12420
12421 [BZ # 17662]
12422 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12423 (RENAME_WHITEOUT): Define.
12424 [__USE_GNU] (renameat2): Declare.
12425 * stdio-common/Makefile (routines): Add renameat2.
12426 (tests): Add tst-renameat2.
12427 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12428 * stdio-common/renameat2.c: New file.
12429 * stdio-common/tst-renameat2.c: Likewise.
12430 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12431 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12432 undocumented.
12433 * sysdeps/unix/sysv/linux/kernel-features.h
12434 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12435 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12436 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12437 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12438 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12439 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12440 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12441 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12442 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12443 * include/stdio.h (__renameat): Add alias for renameat.
12444 * stdio-common/renameat.c (__renameat): Rename from renameat.
12445 Add hidden definition and alias.
12446 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12447 * sysdeps/mach/hurd/renameat.c: Likewise.
12448 * sysdeps/**/libc*.abilist: Add renameat2.
12449
12450 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12451
12452 * posix/bug-regex33.c: Fix build after regex sync.
12453
12454 2018-07-04 Carlos O'Donell <carlos@redhat.com>
12455
12456 [BZ #23164]
12457 * localedata/tst-langinfo-setlocale.c: New file.
12458 * localedata/tst-langinfo-setlocale-static.c: New file.
12459 * localedata/tst-langinfo-newlocale.c: New file.
12460 * localedata/tst-langinfo-newlocale-static.c: New file.
12461 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12462 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12463 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12464 (tests-static): Remove tst-langinfo-static. Add
12465 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12466 (tests-special): Remove $(objpfx)tst-langinfo.out,
12467 $(objpfx)tst-langinfo-static.out. Add
12468 $(objpfx)tst-langinfo-setlocale.out,
12469 $(objpfx)tst-langinfo-newlocale.out,
12470 $(objpfx)tst-langinfo-setlocale-static.out,
12471 $(objpfx)tst-langinfo-newlocale-static.out.
12472 ($(objpfx)tst-langinfo.out): Remove.
12473 ($(objpfx)tst-langinfo-static.out): Remove.
12474 ($(objpfx)tst-langinfo-newlocale.out): New target.
12475 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12476 (test-xfail-tst-langinfo-newlocale-static): Add.
12477 ($(objpfx)tst-langinfo-setlocale.out): New target.
12478 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12479 * localedata/tst-langinfo.c: Call test_locale.
12480 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12481 data.
12482
12483 2018-07-04 Florian Weimer <fweimer@redhat.com>
12484
12485 testrun.sh: Implement --tool=strace, --tool=valgrind
12486 * Makefile (testrun-script): Define variable.
12487 (testrun.sh): Use variable.
12488 * manual/install.texi (Tools for Compilation): make 4.0 or later
12489 is required.
12490 * configure.ac: Check for make 4.0 or later.
12491 * INSTALL: Regenerate.
12492 * configure: Likewise.
12493
12494 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12495
12496 [BZ #23233]
12497 [BZ #21163]
12498 [BZ #18986]
12499 [BZ #13762]
12500 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12501 * posix/PCRE.tests: Remove invalid test.
12502 * posix/bug-regex28.c: Fix expected values for used syntax.
12503 * posix/bug-regex37.c: New file.
12504 * posix/bug-regex38.c: Likewise.
12505 * posix/regcomp.c: Sync with gnulib.
12506 * posix/regex.c: Likewise.
12507 * posix/regex.h: Likewise.
12508 * posix/regex_internal.c: Likewise.
12509 * posix/regex_internal.h: Likewise.
12510 * posix/regexec.c: Likewise.
12511
12512 2018-06-26 Mike FABIAN <mfabian@redhat.com>
12513
12514 [BZ #23308]
12515 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12516 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12517 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12518 * localedata/unicode-gen/PropList.txt: likewise.
12519 * localedata/unicode-gen/UnicodeData.txt: likewise.
12520 * localedata/charmaps/UTF-8: Regenerate.
12521 * localedata/locales/i18n_ctype: likewise.
12522 * localedata/locales/tr_TR: likewise.
12523 * localedata/locales/translit_circle: likewise.
12524 * localedata/locales/translit_cjk_compat: likewise.
12525 * localedata/locales/translit_combining: likewise.
12526 * localedata/locales/translit_compat: likewise.
12527 * localedata/locales/translit_font: likewise.
12528 * localedata/locales/translit_fraction: likewise.
12529
12530 2018-07-03 Florian Weimer <fweimer@redhat.com>
12531
12532 [BZ #23363]
12533 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12534 * stdio-common/tst-printf.sh: Adjust expected output.
12535 * LICENSES: Update.
12536
12537 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12538
12539 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12540 symbol.
12541
12542 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12543
12544 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12545 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12546 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12547 * stdio-common/tst-printfsz-islongdouble.c: New file.
12548 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12549 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12550 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12551 [subdir == stdio-common] (tests-internal): Add
12552 test-printf-size-ieee128, and test-printf-size-ibm128.
12553 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12554 (CFLAGS-test-printf-size-ibm128.c): New variables.
12555 [subdir == stdio-common] (tests-special): Add
12556 $(objpfx)test-printf-size-ieee128.out and
12557 $(objpfx)test-printf-size-ibm128.out.
12558 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12559 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12560 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12561 __printf_sizeieee128.
12562 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12563 New file.
12564 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12565 Likewise.
12566 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12567 Likewise.
12568
12569 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12570
12571 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12572 (exp2f_inline): Likewise.
12573 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12574 (__math_uflowf): Likewise.
12575 (__math_may_uflowf): Likewise.
12576 (__math_divzerof): Likewise.
12577 (__math_invalidf): Likewise.
12578 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12579 (__math_oflowf): Likewise.
12580 (__math_uflowf): Likewise.
12581 (__math_may_uflowf): Likewise.
12582 (__math_divzerof): Likewise.
12583 (__math_invalidf): Likewise.
12584
12585 2018-06-29 DJ Delorie <dj@redhat.com>
12586 Carlos O'Donell <carlos@redhat.com>
12587
12588 [BZ #23329]
12589 * include/libc-symbols.h: Comment the freeres framework.
12590 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12591 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12592 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12593 * dlfcn/dlerror.c: Include libc-symbols.h
12594 (__dlerror_main_freeres): New function.
12595 * dlfcn/dlfreeres.c: New file.
12596 * dlfcn/sdlfreeres.c: New file.
12597 * include/dlfcn.h: Declare __dlerror_main_freeres.
12598 * malloc/set-freeres.c: Declare __libdl_freeres, and
12599 __libpthread_freeres.
12600 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12601 the releavant libraries are loaded.
12602 * malloc/thread-freeres.c: Add comments.
12603 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12604 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12605 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12606 (__free_stacks): Rename to...
12607 (free_stacks): ...this. Mark static.
12608 (queue_stack): Call free_stacks.
12609 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12610 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12611 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12612 ptr_freeres element from struct.
12613 (pthread_functions): Remove .ptr_freeres from struct initializer.
12614 [SHARED] (nptl_freeres): Remove.
12615 * nptl/nptlfreeres.c: New file.
12616 * nptl/pthreadP.h
12617 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12618 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12619 attribute_hidden.
12620 (__free_stacks): Rename to...
12621 (__nptl_stacks_freeres): ...this.
12622 (__shm_directory_freeres): Declare.
12623 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12624 (__nptl_unwind_freeres): ...this.
12625 * resolv/res-close.c: Add comment.
12626 * resolv/resolv_conf.c: Include libc-symbols.h.
12627 * string/strerror_l.c: Include libc-symbols.h.
12628 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12629 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12630 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12631 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12632
12633 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12634
12635 * stdlib/tst-strfmon_l.c: Add tests for long double.
12636
12637 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
12638
12639 [BZ #23208]
12640 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12641 * localedata/locales/dsb_DE: New file.
12642
12643 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12644
12645 [BZ #23140]
12646 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12647 genitive case).
12648 (alt_mon): New entry, import from CLDR (nominative case).
12649
12650 2018-06-29 Sylvain Lesage <severo@rednegra.net>
12651
12652 [BZ #22996]
12653 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12654
12655 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12656
12657 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12658 Use vector registers.
12659
12660 * sysdeps/aarch64/multiarch/memmove_falkor.S
12661 (__memcpy_falkor): Use vector registers.
12662
12663 2018-06-29 Martin Sebor <msebor@redhat.com>
12664
12665 * manual/stdio.texi (Customizing Printf): Mention interaction
12666 with GCC built-ins.
12667
12668 2018-06-29 Maciej W. Rozycki <macro@mips.com>
12669
12670 [BZ #23307]
12671 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12672 `st_value' is 0 if `st_shndx' is SHN_ABS.
12673 * elf/tst-absolute-zero.c: New file.
12674 * elf/tst-absolute-zero-lib.c: New file.
12675 * elf/tst-absolute-zero-lib.lds: New file.
12676 * elf/Makefile (tests): Add `tst-absolute-zero'.
12677 (modules-names): Add `tst-absolute-zero-lib'.
12678 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12679 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12680 ($(objpfx)tst-absolute-zero: New dependency.
12681
12682 2018-06-29 Zack Weinberg <zackw@panix.com>
12683
12684 * configure.ac: New command-line option --disable-crypt.
12685 Force --disable-nss-crypt when --disable-crypt is given, with a
12686 warning if it was explicitly enabled.
12687 * configure: Regenerate.
12688 * config.make.in: New boolean substitution variable $(build-crypt).
12689 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12690 when $(build-crypt).
12691 * manual/install.texi: Document --disable-crypt.
12692 * INSTALL: Regenerate.
12693
12694 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12695 which is never set.
12696 * conform/Makefile: Only include libcrypt.a in
12697 linknamespace-libs-xsi and linknamespace-libs-XPG4
12698 when $(build-crypt).
12699 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12700 USE_CRYPT to 1 when $(build-crypt).
12701 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12702 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12703 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12704
12705 2018-06-29 Zack Weinberg <zackw@panix.com>
12706
12707 * crypt/crypt.h, posix/unistd.h: Update comments and
12708 prototypes for crypt and crypt_r.
12709
12710 * manual/crypt.texi (Cryptographic Functions): New initial
12711 exposition.
12712 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12713 (Unpredictable Bytes): Improve initial exposition. Clarify error
12714 behavior of getentropy and getrandom.
12715 * manual/examples/genpass.c: Generate a salt using getentropy
12716 instead of the current time. Use hash $5$ (SHA-2-256).
12717 * manual/examples/testpass.c: Demonstrate validation against
12718 hashes generated with three different one-way functions.
12719
12720 * manual/intro.texi: crypt.texi does not need an overview
12721 anymore.
12722
12723 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12724 * manual/terminal.texi: Consistently refer to "passphrases"
12725 * instead of "passwords", and to the "user database" instead
12726 * of the "password database".
12727 * manual/users.texi: Similarly. Add notes about how actual
12728 passphrase hashes are now stored in the shadow database.
12729 Remove 20-year-old junk todo note.
12730
12731 2018-06-29 Zack Weinberg <zackw@panix.com>
12732
12733 * manual/crypt.texi: Use a normal top-level @node declaration.
12734 Move most of the introductory text to the 'crypt' section.
12735 Move the example programs below the @deftypefun for 'crypt_r'.
12736 Move the 'getpass' section...
12737 * manual/terminal.texi: ...here.
12738
12739 2018-06-29 Zack Weinberg <zackw@panix.com>
12740 Florian Weimer <fweimer@redhat.com>
12741
12742 * posix/unistd.h: Do not declare encrypt.
12743 (_XOPEN_CRYPT): Remove macro definition.
12744 (crypt): Declare only for _USE_MISC.
12745 * stdlib/stdlib.h: Do not declare setkey.
12746 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12747 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12748
12749 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12750 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12751 into compat symbols. Don't define initial_perm if it's not
12752 going to be used.
12753 * crypt/cert.c: Link explicitly with the expected versions for
12754 setkey and encrypt. If they are not available at all, mark
12755 the test as unsupported.
12756
12757 * sunrpc/des_crypt.c: Unconditionally block linkage with
12758 cbc_crypt and ecb_crypt for new binaries.
12759 * sunrpc/des_soft.c: Unconditionally block linkage with
12760 des_setparity for new binaries.
12761
12762 * manual/crypt.texi: Remove the entire "DES Encryption"
12763 section. Also remove the paragraph talking about FIPS 140-2
12764 from the introduction.
12765 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12766 of libgcrypt for "real" encryption, not DES.
12767 * manual/conf.texi (Constants for Sysconf): Mention that
12768 _XOPEN_CRYPT is no longer impelemented.
12769
12770 * conform/data/unistd.h-data: Remove crypt function declaration.
12771
12772 2018-06-29 Florian Weimer <fweimer@redhat.com>
12773
12774 [BZ #23351]
12775 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12776 (disallow_malloc_check): Remove variable.
12777 (__malloc_check_init): Adjust.
12778 (malloc_set_state): Update comment.
12779 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12780 declarations.
12781
12782 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12783
12784 [BZ #23140]
12785 * localedata/locales/ast_ES (mon): Rename to...
12786 (alt_mon): This.
12787 (mon): Import from CLDR (genitive case).
12788
12789 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12790 Jakub Sitnicki <jkbs@redhat.com>
12791
12792 [BZ #21812]
12793 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12794 on NLM_F_DUMP_INTR.
12795
12796 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12797
12798 * manual/llio.texi: Remove spurious space.
12799
12800 2018-06-28 Florian Weimer <fweimer@redhat.com>
12801
12802 [BZ #23349]
12803 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12804 _STRUCT_TIMESPEC.
12805
12806 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12807
12808 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
12809 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
12810 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12811 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12812 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12813 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12814 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12815
12816 2018-06-27 Maciej W. Rozycki <macro@mips.com>
12817
12818 [BZ #23266]
12819 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12820 Copy and null-terminate entries that are not terminated, in
12821 addition to empty ones.
12822
12823 2018-06-27 Florian Weimer <fweimer@redhat.com>
12824
12825 [BZ #18023]
12826 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12827 (extend_alloca_account): Remove.
12828 * manual/stdio.texi (Variable Arguments Output): Update comment.
12829
12830 2018-06-27 Joseph Myers <joseph@codesourcery.com>
12831
12832 * nptl/sockperf.c: Remove file.
12833
12834 2018-06-27 Florian Weimer <fweimer@redhat.com>
12835
12836 [BZ #18023]
12837 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12838 scratch_buffer instead of extend_alloca.
12839
12840 2018-06-27 Florian Weimer <fweimer@redhat.com>
12841
12842 [BZ #18023]
12843 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12844 scratch_buffer instead of extend_alloca. Update comments.
12845
12846 2018-06-27 Florian Weimer <fweimer@redhat.com>
12847
12848 [BZ #18023]
12849 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12850 instead of extend_alloca.
12851
12852 2018-06-26 Joseph Myers <joseph@codesourcery.com>
12853
12854 [BZ #13888]
12855 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12856 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12857 /tmp.
12858 * scripts/test-installation.pl: Put temporary files in build
12859 directory, not /tmp.
12860 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12861 (CFLAGS-bug4.c): Likewise.
12862 (CFLAGS-bug5.c): Likewise.
12863 (CFLAGS-test-fseek.c): Likewise.
12864 (CFLAGS-test-popen.c): Likewise.
12865 (CFLAGS-test_rdwr.c): Likewise.
12866 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12867 /tmp.
12868 * stdio-common/bug4.c (main): Likewise.
12869 * stdio-common/bug5.c (main): Likewise.
12870 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12871 * stdio-common/test-popen.c (do_test): Likewise.
12872 * stdio-common/test_rdwr.c (main): Likewise.
12873
12874 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
12875
12876 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12877 (sem_open): Set sem.newsem.pad to zero for valgrind.
12878
12879 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12880
12881 [BZ #20251]
12882 * NEWS: Mention fcntl64 addition.
12883 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12884 * login/utmp_file.c: Likewise.
12885 * sysdeps/posix/fdopendir.c: Likewise.
12886 * sysdeps/posix/opendir.c: Likewise.
12887 * sysdeps/unix/pt-fcntl.c: Likewise.
12888 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12889 __fcntl64_nocancel_adjusted): New prototype.
12890 (__fcntl_nocancel_adjusted): Remove prototype.
12891 * io/Makefile (routines): Add fcntl64.
12892 (CFLAGS-fcntl64.c): New rule.
12893 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12894 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12895 * io/fcntl.h (fcntl64): Add prototype and redirect if
12896 __USE_FILE_OFFSET64 is defined.
12897 * io/fcntl64.c: New file.
12898 * manual/llio.text: Add a note for which commands fcntl acts a
12899 cancellation point.
12900 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12901 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12902 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12903 New symbols.
12904 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12905 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12906 non-LFS case.
12907 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12908 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12909 to __fcntl64_nocancel.
12910 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12911 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12912 to __fcntl64_nocancel.
12913 * sysdeps/generic/not-cancel.h: Likewise.
12914 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12915 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12916 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12917 (fcntl64): New symbol.
12918 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12919 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12920 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12923 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12924 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12925 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12926 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12927 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12928 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12929 fcntl64): Likewise.
12930 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12931 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12932 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12933 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12934 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12935 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12936 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12937 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12938 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12940 Likewise.
12941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12942 Likewise.
12943 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12944 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12945 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12946
12947 2018-06-26 Florian Weimer <fweimer@redhat.com>
12948
12949 Run thread shutdown functions in an explicit order.
12950 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12951 definition.
12952 (__libc_thread_freeres): Call thread shutdown functions
12953 explicitly.
12954 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12955 * include/string.h (__strerror_thread_freeres): Declare.
12956 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12957 arena_thread_freeres. No longer static. Remove thread shutdown
12958 hook registration.
12959 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12960 Declare.
12961 * resolv/res-close.c (__res_thread_freeres): Renamed from
12962 res_thread_freeres. No longer static. Remove thread shutdown
12963 hook registration.
12964 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12965 * resolv/resolv_conf.c (freeres): Remove incorrect section
12966 attribute and use libc_freeres_fn.
12967 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12968 strerror_thread_freeres. No longer static. Remove thread
12969 shutdown hook registration.
12970 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12971 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12972 shutdown hook registration.
12973 * Makerules (shlib.lds): Do not provide section boundary symbols
12974 for __libc_thread_subfreeres.
12975 * manual/memory.texi (Basic Allocation): Update comment.
12976
12977 2018-06-26 Florian Weimer <fweimer@redhat.com>
12978
12979 Remove always-defined _RPC_THREAD_SAFE_ macro.
12980 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12981 Do not define _RPC_THREAD_SAFE_.
12982 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12983 conditional.
12984 * sunrpc/clnt_perr.c: Likewise.
12985 * sunrpc/clnt_raw.c: Likewise.
12986 * sunrpc/clnt_simp.c: Likewise.
12987 * sunrpc/key_call.c: Likewise.
12988 * sunrpc/rpc_common.c: Likewise.
12989 * sunrpc/rpc_main.c: Likewise.
12990 * sunrpc/rpc_thread.c: Likewise.
12991 * sunrpc/svc.c: Likewise.
12992 * sunrpc/svc_raw.c: Likewise.
12993 * sunrpc/svc_simple.c: Likewise.
12994 * sumrpc/svcauth_des.c: Likewise.
12995
12996 2018-06-26 Florian Weimer <fweimer@redhat.com>
12997
12998 * libio/Makefile (tests-internal): Add tst-vtables,
12999 tst-vtables-interposed.
13000 * libio/tst-vtables.c: New file.
13001 * libio/tst-vtables-common.c: Likewise.
13002 * libio/tst-vtables-interposed.c: Likewise.
13003
13004 2018-06-26 Florian Weimer <fweimer@redhat.com>
13005
13006 * support/support_test_main.c (support_test_main): Only call
13007 setvbuf if not disables.
13008 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
13009 * support/test-driver.h (struct test_config): Add no_setvbuf member.
13010
13011 2018-06-26 Florian Weimer <fweimer@redhat.com>
13012
13013 [BZ #23313]
13014 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
13015
13016 2018-06-25 Florian Weimer <fweimer@redhat.com>
13017
13018 [BZ #18023]
13019 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13020 Use struct scratch_buffer instead of extend_alloca.
13021
13022 2018-06-25 Florian Weimer <fweimer@redhat.com>
13023
13024 [BZ #18023]
13025 * nss/getent.c (initgroups_keys): Use dynarray instead of
13026 extend_alloca.
13027
13028 2018-06-25 Florian Weimer <fweimer@redhat.com>
13029
13030 [BZ #18023]
13031 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
13032 Use struct scratch_buffer instead of extend_alloca.
13033
13034 2018-06-25 Florian Weimer <fweimer@redhat.com>
13035
13036 [BZ #18023]
13037 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
13038 back to malloc directly, without stack allocations.
13039
13040 2018-06-25 Florian Weimer <fweimer@redhat.com>
13041
13042 [BZ #18023]
13043 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
13044 of extend_alloca.
13045
13046 2018-06-25 Florian Weimer <fweimer@redhat.com>
13047
13048 [BZ #18023]
13049 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
13050 of extend_alloca.
13051 * nscd/hstcache.c (addhstbyX): Likewise.
13052 * nscd/pwdcache.c (addpwbyX): Likewise.
13053 * nscd/servicescache.c (addservbyX): Likewise.
13054
13055 2018-06-25 Florian Weimer <fweimer@redhat.com>
13056
13057 [BZ #18023]
13058 * nscd/connections.c (read_cmdline): New function.
13059 (restart): Use it. Update comment.
13060
13061 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13062
13063 [BZ #23140]
13064 * localedata/locales/csb_PL (mon): Rename to...
13065 (alt_mon): This.
13066 (abmon): Rename to...
13067 (ab_alt_mon): This.
13068 (mon): Add with proper genitive forms, copy from Wikipedia.
13069 (abmon): Likewise.
13070
13071 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13072
13073 [BZ #19485]
13074 * localedata/locales/csb_PL (mon): Fix typos:
13075 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
13076 (yesstr): Add, value is "jo".
13077 (nostr): Add, value is "nié".
13078
13079 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13080
13081 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
13082 all log1p and significand functions on m680x0.
13083 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
13084 of s_significand.c..
13085 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13086 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
13087 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
13088 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
13089 s_log1p.c and include it..
13090
13091 2018-06-21 Vincent Chen <vincentc@andestech.com>
13092
13093 * elf/elf.h (R_NDS32_NONE): New define.
13094 (R_NDS32_32_RELA): Likewise.
13095 (R_NDS32_COPY): Likewise.
13096 (R_NDS32_GLOB_DAT): Likewise.
13097 (R_NDS32_JUMP_SLOT): Likewise.
13098 (R_NDS32_RELATIVE): Likewise.
13099 (R_NDS32_TLS_TPOFF): Likewise.
13100 (R_NDS32_TLS_DESC): Likewise.
13101
13102 2018-06-21 Mark Wielaard <mark@klomp.org>
13103
13104 * elf/elf.h (R_BPF_MAP_FD): Removed.
13105 (R_BPF_64_64, R_BPF_64_32): New.
13106
13107 2018-06-21 Florian Weimer <fweimer@redhat.com>
13108
13109 [BZ #23253]
13110 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
13111 Renamed from libc_feholdsetround_ctx.
13112 (default_libc_feresetround_ctx): Renamed from
13113 libc_feresetround_ctx.
13114 (default_libc_feholdsetround_noex_ctx): Renamed from
13115 libc_feholdsetround_noex_ctx.
13116 (default_libc_feresetround_noex_ctx): Renamed from
13117 libc_feresetround_noex_ctx.
13118 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
13119 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
13120 forwardning to the old implementations under the new names.
13121 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
13122 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
13123 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
13124 (libc_feresetround_ctx): Forward to default implements for i386
13125 and MATH_SET_BOTH_ROUNDING_MODES.
13126 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
13127 Add -DMATH_SET_BOTH_ROUNDING_MODES.
13128
13129 2018-06-20 Joseph Myers <joseph@codesourcery.com>
13130
13131 * string/tst-cmp.c: Include <libc-diag.h>.
13132 (strncmp_max): Disable -Wstringop-overflow= around call to
13133 strncmp.
13134 (strncasecmp_max): Disable -Wstringop-overflow= around call to
13135 strncasecmp.
13136
13137 * string/bug-strpbrk1.c: Include <libc-diag.h>.
13138 (main): Disable -Wunused-value around call to strpbrk.
13139 * string/bug-strspn1.c: Include <libc-diag.h>.
13140 (main): Disable -Wunused-value around call to strspn.
13141
13142 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13143 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13144
13145 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
13146 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
13147
13148 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13149
13150 * math/Makefile (libm-calls): Move s_significandF to...
13151 (gen-libm-calls): ... here.
13152 * math/s_significand_template.c: New file.
13153 * math/s_significand.c: Removed.
13154 * math/s_significandf.c: Removed.
13155 * math/s_significandl.c: Removed.
13156 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
13157 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
13158
13159 * math/e_exp2_template.c (declare_mgen_finite_alias,
13160 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13161 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13162 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13163
13164 2018-06-20 Florian Weimer <fweimer@redhat.com>
13165
13166 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13167
13168 2018-06-19 Joseph Myers <joseph@codesourcery.com>
13169
13170 [BZ #23280]
13171 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13172 floating-point number to strtod functions rather than possibly
13173 negating result of those functions.
13174 * stdio-common/tst-scanf-round.c: New file.
13175 * stdio-common/Makefile (tests): Add tst-scanf-round.
13176 ($(objpfx)tst-scanf-round): Depend on $(libm).
13177
13178 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13179
13180 * sysdeps/mach/hurd/localplt.data: Move to...
13181 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13182 R_386_GLOB_DAT like on Linux i386.
13183
13184 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13185
13186 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13187 (SHM_STAT_ANY): New macro.
13188 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13189 (SHM_STAT_ANY): Likewise.
13190 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13191 (SHM_STAT_ANY): Likewise.
13192 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13193 (SHM_STAT_ANY): Likewise.
13194 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13195 (SHM_STAT_ANY): Likewise.
13196 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13197 (SHM_STAT_ANY): Likewise.
13198 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13199 (SHM_STAT_ANY): Likewise.
13200 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13201 (SHM_STAT_ANY): Likewise.
13202 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13203 (SHM_STAT_ANY): Likewise.
13204 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13205 (SHM_STAT_ANY): Likewise.
13206 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13207 (SHM_STAT_ANY): Likewise.
13208 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13209 (SHM_STAT_ANY): Likewise.
13210
13211 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13212 (SEM_STAT_ANY): New macro.
13213 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13214 (SEM_STAT_ANY): Likewise.
13215 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13216 (SEM_STAT_ANY): Likewise.
13217 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13218 (SEM_STAT_ANY): Likewise.
13219 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13220 (SEM_STAT_ANY): Likewise.
13221 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13222 (SEM_STAT_ANY): Likewise.
13223 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13224 (SEM_STAT_ANY): Likewise.
13225 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13226 (SEM_STAT_ANY): Likewise.
13227 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13228 (SEM_STAT_ANY): Likewise.
13229 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13230 (SEM_STAT_ANY): Likewise.
13231
13232 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13233 (MSG_STAT_ANY): New macro.
13234 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13235 (MSG_STAT_ANY): Likewise.
13236 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13237 (MSG_STAT_ANY): Likewise.
13238 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13239 (MSG_STAT_ANY): Likewise.
13240 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13241 (MSG_STAT_ANY): Likewise.
13242 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13243 (MSG_STAT_ANY): Likewise.
13244 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13245 (MSG_STAT_ANY): Likewise.
13246 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13247 (MSG_STAT_ANY): Likewise.
13248 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13249 (MSG_STAT_ANY): Likewise.
13250 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13251 (MSG_STAT_ANY): Likewise.
13252
13253 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13254 (MAP_TYPE): Change value to 0x2b.
13255
13256 2018-06-18 Florian Weimer <fweimer@redhat.com>
13257
13258 [BZ #15722]
13259 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13260 socket with SOCK_CLOEXEC.
13261
13262 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13263
13264 [BZ #23303]
13265 * sysdeps/powerpc/powerpc64/le/Makefile
13266 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13267 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13268 (gnulib-tests): Also add $(f128-loader-link) for
13269 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13270
13271 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13272
13273 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13274 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13275 of sendfile.
13276 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13277 (sendfile64): New strong alias.
13278 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13279 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13280 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
13281 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13282 attribute.
13283 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13284 ___pthread_get_cleanup_stack.
13285 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
13286 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13287 * mach/shortcut.awk: Make syscall stubs include
13288 <mach-shortcuts-hidden.h> and add hidden definition.
13289 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
13290 (__mach_msg): Add hidden prototype.
13291 * mach/msg.c: Include <mach.h>.
13292 (__mach_msg): Add hidden definition.
13293 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13294 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13295 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13296 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
13297 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13298 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
13299 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13300 prototype and definition.
13301 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13302 hidden target for _hurd_self_sigstate.
13303
13304 2018-06-15 Joseph Myers <joseph@codesourcery.com>
13305
13306 [BZ #23007]
13307 * stdlib/tst-strtod-nan-sign-main.c: New file.
13308 * stdlib/tst-strtod-nan-sign.c: Likewise.
13309 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13310 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13311 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13312 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13313 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13314
13315 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13316
13317 [BZ #23007]
13318 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13319 appropriate sign.
13320
13321 2018-06-14 Florian Weimer <fweimer@redhat.com>
13322
13323 [BZ #23290]
13324 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13325 that the result stays within the ISO-8859-1 range.
13326 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13327 characters are defined in IBM273.
13328
13329 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13330
13331 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13332 __mach_task_self): Remove attribute_hidden.
13333
13334 2018-06-14 Joseph Myers <joseph@codesourcery.com>
13335
13336 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13337 ignore -Wrestrict for one test.
13338
13339 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13340 Szabolcs Nagy <szabolcs.nagy@arm.com>
13341
13342 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13343
13344 2018-06-14 Florian Weimer <fweimer@redhat.com>
13345
13346 * scripts/update-abilist.sh: Accept empty list of files to patch.
13347
13348 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13349
13350 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13351 test-xfail-check-abi-libmachuser): Add.
13352 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13353 __libc_read and __libc_write to __read and __write.
13354 * sysdeps/hurd/include/hurd/port.h: New file.
13355 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13356 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13357 __thread_switch, __evc_wait): Move declarations to...
13358 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13359 attribute_hidden.
13360 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13361 use PLT to call _hurd_self_sigstate.
13362
13363 2018-06-13 Joseph Myers <joseph@codesourcery.com>
13364
13365 [BZ #23279]
13366 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13367 MAX_EXP as overflowing.
13368 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13369 overflow flag.
13370 (round_str): Output also whether result overflows in each rounding
13371 mode.
13372 * stdlib/tst-strtod-round-data: Add more tests.
13373 * stdlib/tst-strtod-round-data.h: Regenerated.
13374 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13375 (TEST): Handle extra arguments for overflow flags.
13376 (struct test_overflow): New type.
13377 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13378 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13379 (test_in_one_mode): Take argument with overflow information.
13380 (do_test): Update calls to test_in_one_mode.
13381
13382 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13383
13384 * elf/dl-load (_dl_dst_substitute): Correct comment.
13385 (_dl_dst_count): Likewise.
13386
13387 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13388 lll_futex_timed_wait.
13389
13390 2018-06-12 Joseph Myers <joseph@codesourcery.com>
13391
13392 [BZ #23277]
13393 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13394 attribute.
13395 * math/test-nan-const.c: New file.
13396 * math/Makefile (tests): Add test-nan-const.
13397 (CFLAGS-test-nan-const.c): New variable.
13398
13399 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13400
13401 * benchtests/scripts/compare_strings.py (process_results): Add
13402 funcs argument. Compare only functions which are selected.
13403 (main): Check if base function is among selected functions.
13404 Pass selected functions to process_results.
13405 (__main__): Add -f/--functions argument.
13406
13407 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13408 Hongbo Zhang <hongbo.zhang@linaro.org>
13409
13410 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13411 __memcpy_falkor for phecda core.
13412 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13413 __memmove_falkor for phecda core.
13414 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13415 __memset_falkor for phecda core.
13416 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13417 for phecda core.
13418 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13419 macro to identify phecda core.
13420
13421 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13422 Andreas Schwab <schwab@suse.de>
13423 Dmitry V. Levin <ldv@altlinux.org>
13424 Florian Weimer <fweimer@redhat.com>
13425
13426 [BZ #23102]
13427 [BZ #21942]
13428 [BZ #18018]
13429 [BZ #23259]
13430 CVE-2011-0536
13431 * elf/dl-dst.h: Remove DL_DST_COUNT.
13432 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13433 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13434 (is_dst): Comment. Support ELF gABI.
13435 (_dl_dst_count): Comment. Simplify and count DSTs.
13436 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13437 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13438 locals.
13439
13440 2018-06-12 Zack Weinberg <zackw@panix.com>
13441
13442 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13443 * sysdeps/unix/sysv/linux/dl-sysdep.c
13444 Include not-cancel.h. Use __close_nocancel instead of __close,
13445 __open64_nocancel instead of __open, __read_nocancel instead of
13446 __libc_read, and __write_nocancel instead of __libc_write.
13447
13448 * csu/check_fds.c (check_one_fd)
13449 * sysdeps/posix/fdopendir.c (__fdopendir)
13450 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
13451 instead of __fcntl and/or __libc_fcntl.
13452
13453 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13454 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
13455 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
13456 Use __open64_nocancel instead of __open_nocancel.
13457
13458 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13459 hidden_proto declarations to the end and issue them if either
13460 IS_IN(libc) or IS_IN(rtld).
13461 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13462 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13463 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13464 read_nocancel, waitpid_nocancel, write_nocancel.
13465
13466 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13467 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13468 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
13469
13470 * nptl/pt-fcntl.c: New file.
13471 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13472 (libpthread-routines): Add pt-fcntl.
13473 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13474 (__libc_fcntl): Remove attribute_hidden.
13475 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13476 __fcntl_nocancel_adjusted, not fcntl_common.
13477 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
13478 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13479 to fcntl_nocancel.c.
13480 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13483 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13484
13485 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13486 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13487 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13488 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13489 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13490 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13491 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13492 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13493 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13494 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13495 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13496 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13497 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13498 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13499 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13500 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13501 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13502 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13503 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13504 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13505
13506 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13507 libpthread-routines.
13508 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13509 defines nothing.
13510
13511 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13512 __libc_read, and __write instead of __libc_write. Define
13513 __open64 in addition to __open.
13514
13515 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13516
13517 [BZ #23250]
13518 [BZ #10686]
13519 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13520 to _private_tm[3] and add __glibc_reserved2.
13521 Add _Static_assert of offset of __private_ss == 0x30.
13522 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13523 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13524
13525 2018-06-12 Florian Weimer <fweimer@redhat.com>
13526
13527 x86: Make strncmp usable from rtld.
13528 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13529 __strncmp_ia32 if in libc (and not in rtld).
13530 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13531 strncmp if not in libc (and not to __strncmp_sse2).
13532
13533 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13534
13535 [BZ #23140]
13536 * localedata/locales/gd_GB (mon): Rename to...
13537 (alt_mon): This.
13538 (mon): Import from CLDR (genitive case).
13539 * localedata/locales/hsb_DE (mon): Rename to...
13540 (alt_mon): This.
13541 (mon): Import from CLDR (genitive case).
13542 * localedata/locales/wa_BE (mon): Rename to...
13543 (alt_mon): This.
13544 (mon): Add, fill with the proper genitive forms, but CLDR data
13545 is incomplete; completed according to the comments in this file.
13546 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13547
13548 * localedata/locales/wa_BE (country_name): Reword
13549 "Beljike" -> "Beldjike".
13550
13551 2018-06-11 Joseph Myers <joseph@codesourcery.com>
13552
13553 [BZ #23272]
13554 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13555 cases of non-finite arguments.
13556 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13557
13558 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
13559
13560 [BZ #23174]
13561 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13562
13563 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13564
13565 [BZ #23264]
13566 * include/unistd.h (__execvpex): New prototype.
13567 * posix/Makefile (tests): Add tst-spawn4.
13568 (tests-internal): Add tst-spawn4-compat.
13569 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13570 * posix/tst-spawn4-compat.c: New file.
13571 * posix/tst-spawn4.c: Likewise.
13572 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13573 binaries as shell scripts.
13574 * sysdeps/posix/spawni.c (__spawni): Likewise.
13575
13576 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13577
13578 [BZ #23145]
13579 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13580 ($(all-built-dso:=.dynsym): New target.
13581 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13582 ($(objpfx)check-initfini.out): New target.
13583 (generated): Add check-initfini.out.
13584 * scripts/check-initfini.awk: New file.
13585 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13586 (_fini): Likewise.
13587 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13588 (_fini): Likewise.
13589 * sysdeps/arm/crti.S (_init): Mark as hidden.
13590 (_fini): Likewise.
13591 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13592 (_fini): Likewise.
13593 * sysdeps/i386/crti.S (_init): Mark as hidden.
13594 (_fini): Likewise.
13595 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13596 (_fini): Likewise.
13597 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13598 (_fini): Likewise.
13599 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13600 (_fini): Likewise.
13601 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13602 (_fini): Likewise.
13603 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13604 (_fini): Likewise.
13605 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13606 (_fini): Likewise.
13607 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13608 (_fini): Likewise.
13609 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13610 (_fini): Likewise.
13611 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13612 (_fini): Likewise.
13613 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13614 (_fini): Likewise.
13615 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13616 (_fini): Likewise.
13617 * sysdeps/sh/crti.S (_init): Mark as hidden.
13618 (_fini): Likewise.
13619 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13620 (_fini): Likewise.
13621 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13622 (_fini): Likewise.
13623
13624 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13625
13626 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13627 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13628 and TF redirection to KFtype and KF only when the default
13629 long double type is not the IEEE 128-bit floating point type.
13630
13631 2018-06-05 Joseph Myers <joseph@codesourcery.com>
13632
13633 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13634 macro.
13635 (HWCAP_USCAT): Likewise.
13636 (HWCAP_ILRCPC): Likewise.
13637 (HWCAP_FLAGM): Likewise.
13638 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13639 Increase to 28.
13640 (_dl_aarch64_cap_flags): Add new flag names.
13641
13642 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13643 (MAP_FIXED_NOREPLACE): New macro.
13644 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13645 (MAP_FIXED_NOREPLACE): Likewise.
13646 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13647 (MAP_FIXED_NOREPLACE): Likewise.
13648 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13649 (MAP_FIXED_NOREPLACE): Likewise.
13650 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13651 (MAP_FIXED_NOREPLACE): Likewise.
13652 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13653 (MAP_FIXED_NOREPLACE): Likewise.
13654 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13655 (MAP_FIXED_NOREPLACE): Likewise.
13656 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13657 (MAP_FIXED_NOREPLACE): Likewise.
13658 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13659 (MAP_FIXED_NOREPLACE): Likewise.
13660 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13661 (MAP_FIXED_NOREPLACE): Likewise.
13662 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13663 (MAP_FIXED_NOREPLACE): Likewise.
13664 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13665 (MAP_FIXED_NOREPLACE): Likewise.
13666 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13667 (MAP_FIXED_NOREPLACE): Likewise.
13668 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13669 (MAP_FIXED_NOREPLACE): Likewise.
13670 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13671 (MAP_FIXED_NOREPLACE): Likewise.
13672
13673 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13674 version to 4.17.
13675
13676 2018-06-04 Joseph Myers <joseph@codesourcery.com>
13677
13678 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13679 version to 4.17
13680
13681 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13682
13683 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13684 int.
13685 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13686
13687 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13688
13689 * benchtests/scripts/compare_string.py: (process_results) Catch
13690 exception in non-existent base_func and catch exception in
13691 non-existent attribute.
13692 (parse_file) Catch exception if input file does not exist.
13693
13694 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13695
13696 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13697 options to avoid diff calculation and omit header, respectively.
13698 (main): process --no-diff and --no-header
13699
13700 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13701 H.J. Lu <hongjiu.lu@intel.com>
13702
13703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13704 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13705 wcsncmp-sse2.
13706 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13707 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13708 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13709 and __wcsncmp_sse2.
13710 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13711 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13712 AVX unaligned load is fast and vzeroupper is preferred.
13713 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13714 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13715 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13716 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13717 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13718 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13719 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13720 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13721 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13722 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13723 is undefined.
13724
13725 2018-06-01 Florian Weimer <fweimer@redhat.com>
13726
13727 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13728 configuring with --disable-multi-arch, building with
13729 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13730 Haswell-era CPU.
13731
13732 2018-06-01 Florian Weimer <fweimer@redhat.com>
13733
13734 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13735 results from building with “-march=x86-64 -mtune=generic
13736 -mfpmath=sse” and running on a Haswell-era CPU.
13737
13738 2018-06-01 Joseph Myers <joseph@codesourcery.com>
13739
13740 [BZ #18473]
13741 * soft-fp/sqrttf2.c: Remove file.
13742 * soft-fp/sqrtdf2.c: Move to ....
13743 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13744 <shlib-compat.h>.
13745 (__sqrtdf2): Make conditional on
13746 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13747 symbol.
13748 * soft-fp/sqrtsf2.c: Move to ....
13749 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13750 <shlib-compat.h>.
13751 (__sqrtsf2): Make conditional on
13752 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13753 symbol.
13754 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13755 (gcc-double-routines): Remove sqrtdf2.
13756 (gcc-quad-routines): Remove sqrttf2.
13757 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13758 Do not filter out sqrtsf2 and sqrtdf2.
13759 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13760 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13761
13762 2018-06-01 Florian Weimer <fweimer@redhat.com>
13763
13764 * sysdeps/generic/libcidn.abilist: Remove file.
13765
13766 2018-06-01 Florian Weimer <fweimer@redhat.com>
13767
13768 [BZ #23236]
13769 * libio/strfile.h (struct _IO_str_fields): Rename members to
13770 discourage their use and add comment.
13771 (_IO_STR_DYNAMIC): Remove unused macro.
13772 * libio/strops.c (_IO_str_init_static_internal): Do not use
13773 callback pointers. Call malloc and free.
13774 (_IO_str_overflow): Do not use callback pointers. Call malloc
13775 and free.
13776 (enlarge_userbuf): Likewise.
13777 (_IO_str_finish): Call free.
13778 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13779 _allocate_buffer_unused.
13780 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13781 and free.
13782 (enlarge_userbuf): Likewise.
13783 (_IO_wstr_finish): Call free.
13784 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13785 _allocate_buffer_unused, _free_buffer_unused.
13786 * libio/memstream.c (__open_memstream): Likewise.
13787 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13788 * libio/wmemstream.c (open_wmemstream): Likewise.
13789
13790 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13791
13792 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13793 AMD Ryzen 7 1800X.
13794
13795 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13796
13797 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13798 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13799 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13800 New file.
13801 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13802 Likewise.
13803 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13804
13805 2018-05-29 Florian Weimer <fweimer@redhat.com>
13806
13807 * support/Makefile (libsupport-routines): Add
13808 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13809 xpthread_barrierattr_setpshared.
13810 * support/xpthread_barrierattr_destroy.c: New file.
13811 * support/xpthread_barrierattr_init.c: Likewise.
13812 * support/xpthread_barrierattr_setpshared.c: Likewise.
13813
13814 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13815
13816 [BZ #23206]
13817 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13818 _r_debug and update DT_DEBUG for debugger.
13819
13820 2018-05-29 Florian Weimer <fweimer@redhat.com>
13821
13822 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13823 (tst-strtod5i.out): Likewise.
13824
13825 2018-05-25 Joseph Myers <joseph@codesourcery.com>
13826
13827 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13828 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13829 (sparc64-quad-routines): New variable. Moved from ....
13830 [$(subdir) = soft-fp] (sysdep_routines): Add
13831 $(sparc64-quad-routines). Moved from ....
13832 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13833 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13834 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13835 moved from ....
13836 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13837 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13838 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13839 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13840 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13841 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13842 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13843 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13844 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13845 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13846 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13847 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13848 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13849 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13850 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13851 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13852 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13853 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13854 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13855 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13856 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13857 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13858 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13859 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13860 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13861 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13862 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13863 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13864 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13865 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13866 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13867 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13868 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13869 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13870 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13871 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13872 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13873 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13874 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13875 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13876 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13877 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13878 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13879 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13880 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13881 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13882 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13883 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13884 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13885 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13886 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13887 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13888 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13889 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13890 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13891 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13892 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13893 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13894
13895 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13896 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13897 (sparc32-quad-routines): New variable. Moved from ....
13898 [$(subdir) = soft-fp] (sysdep_routines): Add
13899 $(sparc32-quad-routines). Moved from ....
13900 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13901 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13902 moved from ....
13903 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13904 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13905 * sysdeps/sparc/sparc32/q_add.c: ... here.
13906 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13907 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13908 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13909 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13910 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13911 * sysdeps/sparc/sparc32/q_div.c: ... here.
13912 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13913 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13914 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13915 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13916 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13917 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13918 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13919 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13920 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13921 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13922 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13923 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13924 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13925 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13926 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13927 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13928 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13929 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13930 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13931 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13932 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13933 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13934 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13935 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13936 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13937 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13938 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13939 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13940 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13941 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13942 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13943 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13944 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13945 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13946 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13947 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13948 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13949 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13950 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13951 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13952 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13953 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13954 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13955 * sysdeps/sparc/sparc32/q_util.c: ... here.
13956 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13957 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13958 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13959 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13960
13961 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13962 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13963
13964 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13965 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13966 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13967 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13968
13969 2018-05-24 Joseph Myers <joseph@codesourcery.com>
13970
13971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13972 powerpc/soft-fp.
13973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13974 Likewise.
13975 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13976 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13977
13978 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13979
13980 [BZ #23171]
13981 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13982 double version.
13983
13984 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13985
13986 * sysdeps/sh/Implies: Remove sh/soft-fp.
13987 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13988 * sysdeps/sh/sfp-machine.h: ... here.
13989
13990 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13991
13992 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13993 (__mempcpy_erms): Skip zero length.
13994 (__memmove_erms): Likewise.
13995 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13996 (__memset_erms): Likewise.
13997
13998 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13999
14000 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
14001 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14002 Add functions moved from ....
14003 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
14004 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
14005 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
14006 from ....
14007 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
14008 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
14009 * sysdeps/alpha/e_sqrtl.c: ... here.
14010 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
14011 * sysdeps/alpha/local-soft-fp.h: ... here.
14012 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
14013 * sysdeps/alpha/ots_add.c: ... here.
14014 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
14015 * sysdeps/alpha/ots_cmp.c: ... here.
14016 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
14017 * sysdeps/alpha/ots_cmpe.c: ... here.
14018 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
14019 * sysdeps/alpha/ots_cvtqux.c: ... here.
14020 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
14021 * sysdeps/alpha/ots_cvtqx.c: ... here.
14022 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
14023 * sysdeps/alpha/ots_cvttx.c: ... here.
14024 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
14025 * sysdeps/alpha/ots_cvtxq.c: ... here.
14026 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
14027 * sysdeps/alpha/ots_cvtxt.c: ... here.
14028 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
14029 * sysdeps/alpha/ots_div.c: ... here.
14030 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
14031 * sysdeps/alpha/ots_mul.c: ... here.
14032 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
14033 * sysdeps/alpha/ots_nintxq.c: ... here.
14034 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
14035 * sysdeps/alpha/ots_sub.c: ... here.
14036 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
14037 * sysdeps/alpha/sfp-machine.h: ... here.
14038
14039 2018-05-23 Florian Weimer <fweimer@redhat.com>
14040
14041 [BZ #19728]
14042 [BZ #19729]
14043 [BZ #22247]
14044 CVE-2016-6261
14045 CVE-2016-6263
14046 CVE-2017-14062
14047 Switch to extern IDNA implementation (libidn2).
14048 * libidn: Remove subdirectory.
14049 * LICENSES: Do not mention licensing conditions for the removed
14050 libidn code.
14051 * config.h.in (HAVE_LIBIDN): Remove.
14052 * include/dlfcn.h (__libc_dlopen): Update comment.
14053 * include/idna.h: Remove file.
14054 * inet/Makefile (routines): Add idna.
14055 (tests-static, tests-internal): Add tst-idna_name_classify.
14056 (LOCALES): Generate locales for tests.
14057 (tst-idna_name_classify.out): Depend on generated locales.
14058 * inet/idna_name_classify.c: New file.
14059 * inet/tst-idna_name_classify.c: Likewise.
14060 * inet/net-internal.h (__idna_to_dns_encoding)
14061 (__idna_from_dns_encoding): Declare.
14062 * inet/net-internal.h (enum idna_name_classification): Define.
14063 (__idna_name_classify): Declare.
14064 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
14065 __idna_from_dns_encoding.
14066 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
14067 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
14068 name as a fallback in case of encoding errors.
14069 (getnameinfo): Use DEPRECATED_NI_IDN.
14070 * inet/idna.c: New file.
14071 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
14072 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
14073 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
14074 (modules-names): Add tst-no-libidn2.
14075 (extra-test-objs): Add tst-no-libidn2.os.
14076 (LDFLAGS-tst-no-libidn2.so): Set soname.
14077 (LOCALES): Set, and generate locales.
14078 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
14079 (tst-resolv-ai_idn-latin1): Likewise.
14080 (tst-resolv-ai_idn-nolibidn2): Likewise.
14081 (tst-resolv-ai_idn.out): Depend on locales.
14082 (tst-resolv-ai_idn-latin1.out): Depend on locales.
14083 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
14084 tst-no-libidn2.so.
14085 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
14086 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
14087 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
14088 * resolv/tst-resolv-ai_idn.c: New file.
14089 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
14090 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
14091 * resolv/tst-no-libidn2.c: Likewise.
14092 * support/support_format_addrinfo.c (format_ai_flags): Do not
14093 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
14094 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
14095 (gaih_inet): Call __idna_to_dns_encoding and
14096 __idna_from_dns_encoding, and use the original (punycode) name if
14097 __idna_from_dns_encoding fails due to an encoding error.
14098 (getaddrinfo): Use DEPRECATED_AI_IDN.
14099 * sysdeps/unix/inet/Subdirs (libidn): Remove.
14100 * sysdeps/unix/inet/configure: Remove file.
14101 * sysdeps/unix/inet/configure.ac: Likewise.
14102
14103 2018-05-23 Florian Weimer <fweimer@redhat.com>
14104
14105 Implement allocate_once.
14106 * include/allocate_once.h: New file.
14107 * misc/allocate_once.c: Likewise.
14108 * misc/tst-allocate_once.c: Likewise.
14109 * misc/Makefile (routines): Add allocate_once.
14110 (tests-internal): Add tst-allocate_once.
14111 (generated): Add tst-allocate_once.mtrace,
14112 tst-allocate_once-mem.out.
14113 (tests-special): Add tst-allocate_once-mem.out.
14114 (tst-allocate_once-ENV): Set MALLOC_TRACE.
14115 (tst-allocate_once-mem.out): Call mtrace.
14116 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
14117
14118 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14119
14120 [BZ #23196]
14121 * string/test-memcpy.c (do_test1): New function.
14122 (test_main): Call it.
14123
14124 2018-05-23 Andreas Schwab <schwab@suse.de>
14125
14126 [BZ #23196]
14127 CVE-2018-11237
14128 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
14129 (L(preloop_large)): Save initial destination pointer in %r11 and
14130 use it instead of %rax after the loop.
14131 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
14132
14133 2018-05-22 Joseph Myers <joseph@codesourcery.com>
14134
14135 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
14136 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
14137 -I../soft-fp. Moved from ....
14138 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
14139 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
14140 * sysdeps/aarch64/e_sqrtl.c: ... here.
14141 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
14142 * sysdeps/aarch64/sfp-machine.h: ... here.
14143
14144 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
14145 -Wmaybe-uninitialized around access to fq[0].
14146 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14147 Likewise.
14148
14149 [BZ #18471]
14150 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
14151 aliases for non-libc case of versioned symbols.
14152 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
14153 (llseek): Define as compat symbol if
14154 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
14155 with link warning.
14156 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
14157 Make into a compat symbol, disabled for minimum symbol version
14158 GLIBC_2.28 and later.
14159 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
14160
14161 2018-05-22 Florian Weimer <fweimer@redhat.com>
14162
14163 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14164 not add -mpreferred-stack-boundary=4.
14165 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14166 (stack-align-test-flags): Likewise.
14167 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14168 Likewise.
14169 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14170 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14171 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14172 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14173 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14174 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14175 (CFLAGS-tst-align2.c): Likewise.
14176
14177 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14178
14179 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14180 (index_arch_Prefer_FSRM): Likewise.
14181 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14182 Also check Prefer_FSRM.
14183 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14184 Also return OPTIMIZE (erms) for Prefer_FSRM.
14185
14186 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14187
14188 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14189 (index_cpu_FSRM): Likewise.
14190 (reg_FSRM): Likewise.
14191
14192 2018-05-18 Joseph Myers <joseph@codesourcery.com>
14193
14194 * math/gen-tgmath-tests.py: Import sys.
14195 (Tests.__init__): Initialize macros_seen.
14196 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14197 if requested to do so for this macro.
14198 (Tests.add_all_tests): Take argument for macro for which to
14199 generate tests.
14200 (Tests.check_macro_list): New function.
14201 (main): Handle check-list argument and argument specifying macro
14202 for which to generate tests.
14203 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14204 [PYTHON] (tgmath3-macro-tests): Likewise.
14205 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14206 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14207 not test-tgmath3.c.
14208 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14209 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14210 to CFLAGS.
14211 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14212 [PYTHON] ($(foreach
14213 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14214 rule.
14215 [PYTHON] (tests-special): Add
14216 $(objpfx)test-tgmath3-macro-list.out.
14217 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14218
14219 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14220 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14221 later.
14222
14223 [BZ #22639]
14224 * time/tzset.c (SECSPERDAY): Cast to time_t.
14225 * time/tst-y2039.c: New file.
14226 * time/Makefile (tests): Add tst-y2039.
14227
14228 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14229
14230 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14231 (PREFETCH_ONE_SET): Remove duplicate line.
14232
14233 2018-05-17 Florian Weimer <fweimer@redhat.com>
14234
14235 * sysdeps/generic/math-type-macros-double.h: Include
14236 <math-nan-payload-double.h> after <libm-alias-double.h>.
14237 * sysdeps/generic/math-type-macros-float.h: Include
14238 <math-nan-payload-float.h> after <libm-alias-float.h>.
14239 * sysdeps/generic/math-type-macros-float128.h: Include
14240 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14241 * sysdeps/generic/math-type-macros-ldouble.h: Include
14242 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14243
14244 2018-05-17 Andreas Schwab <schwab@suse.de>
14245
14246 * resolv/res_send.c (__res_context_send): Don't set errno when
14247 returing error after malloc failure.
14248
14249 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14250
14251 * nptl/allocatestack.c (allocate_stack): Remove the
14252 !__ASSUME_PRIVATE_FUTEX paths.
14253 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14254 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14255 Likewise.
14256 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14257 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14258 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14259 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14260 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14261 !__ASSUME_PRIVATE_FUTEX path.
14262 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14263 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14264 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14265 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14266 !__ASSUME_PRIVATE_FUTEX macros.
14267 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14268 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14269 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14270 * sysdeps/unix/sysv/linux/kernel-features.h
14271 (__ASSUME_PRIVATE_FUTEX): Removed.
14272
14273 2018-05-17 Joseph Myers <joseph@codesourcery.com>
14274
14275 * math/Makefile (libm-narrow-fns): Add div.
14276 (libm-test-funcs-narrow): Likewise.
14277 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14278 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14279 * math/gen-auto-libm-tests.c (test_functions): Add div.
14280 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14281 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14282 (NARROW_DIV_TRIVIAL): Likewise.
14283 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14284 macro.
14285 (__ddivl): Likewise.
14286 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14287 ddiv.
14288 (CFLAGS-nldbl-ddiv.c): New variable.
14289 (CFLAGS-nldbl-fdiv.c): Likewise.
14290 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14291 __nldbl_ddivl.
14292 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14293 prototype.
14294 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14295 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14296 * math/auto-libm-test-in: Add tests of div.
14297 * math/auto-libm-test-out-narrow-div: New generated file.
14298 * math/libm-test-narrow-div.inc: New file.
14299 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14300 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14301 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14302 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14303 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14304 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14305 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14306 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14307 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14308 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14309 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14310 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14311 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14312 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14313 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14314 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14315 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14316 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14318 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14319 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14320 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14321 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14322 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14323 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14324 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14325 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14326 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14327 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14328 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14329 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14330 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14335 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14336 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14337 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14338 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14339 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14340 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14341 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14342 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14343
14344 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14345
14346 [BZ #23178]
14347 * nscd/nscd-client.h (sendfileall): Remove prototype.
14348 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14349 (handle_request): Use writeall instead of sendfileall.
14350 * nscd/aicache.c (addhstaiX): Likewise.
14351 * nscd/grpcache.c (cache_addgr): Likewise.
14352 * nscd/hstcache.c (cache_addhst): Likewise.
14353 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14354 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14355 * nscd/pwdcache.c (cache_addpw): Likewise.
14356 * nscd/servicescache.c (cache_addserv): Likewise.
14357 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14358 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14359 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14360 Remove define.
14361
14362 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14363
14364 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14365 Include <string/strncat.c>.
14366 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14367 alias.
14368 (__GI___strncat): New hidden alias.
14369
14370 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14371
14372 * sysdeps/mips/mips32/libm-test-ulps: Update.
14373 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14374
14375 2018-05-16 Florian Weimer <fweimer@redhat.com>
14376
14377 * support/Makefile (libsupport-routines): Add support_quote_blob,
14378 support_test_compare_blob.
14379 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14380 * support/check.h (TEST_COMPARE_BLOB): Define.
14381 (support_test_compare_blob): Declare.
14382 * support/support.h (support_quote_blob): Declare.
14383 * support/support_quote_blob.c: New file.
14384 * support/support_test_compare_blob.c: Likewise.
14385 * support/tst-support_quote_blob.c: Likewise.
14386 * support/tst-test_compare_blob.c: Likewise.
14387
14388 2018-05-16 Florian Weimer <fweimer@redhat.com>
14389
14390 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14391 of <strtod_nan_double.h>.
14392 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14393 instead of SET_MANTISSA.
14394 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14395 of include <strtod_nan_float.h>.
14396 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14397 instead of <strtod_nan_ldouble.h>.
14398 * stdlib/strtod_nan_double.h: Move to ...
14399 * sysdeps/generic/math-nan-payload-double.h: ... here.
14400 (FLOAT): Remove definition.
14401 (SET_MANTISSA): Rename to ...
14402 (SET_NAN_PAYLOAD): ... this.
14403 * stdlib/strtod_nan_float.h: Move to ...
14404 * sysdeps/generic/math-nan-payload-float.h: ... here.
14405 (FLOAT): Remove definition.
14406 (SET_MANTISSA): Rename to ...
14407 (SET_NAN_PAYLOAD): ... this.
14408 * sysdeps/generic/math-type-macros-double.h: Include
14409 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14410 instead of <math-svid-compat.h>.
14411 * sysdeps/generic/math-type-macros-float.h: Include
14412 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14413 instead of <math-svid-compat.h>.
14414 * sysdeps/generic/math-type-macros-float128.h: Include
14415 <math-nan-payload-float128.h>.
14416 * sysdeps/generic/math-type-macros-ldouble.h: Include
14417 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14418 instead of <math-svid-compat.h>.
14419 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14420 check for definition.
14421 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14422 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14423 Include <ieee754_float128.h>.
14424 (FLOAT): Remove definition.
14425 (SET_MANTISSA): Rename to ...
14426 (SET_NAN_PAYLOAD): ... this.
14427 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14428 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14429 Do not include <float128_private.h>.
14430 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14431 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14432 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14433 (FLOAT): Remove definition.
14434 (SET_MANTISSA): Rename to ...
14435 (SET_NAN_PAYLOAD): ... this.
14436 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14437 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14438 (FLOAT): Remove definition.
14439 (SET_MANTISSA): Rename to ...
14440 (SET_NAN_PAYLOAD): ... this.
14441 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14442 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14443 (FLOAT): Remove definition.
14444 (SET_MANTISSA): Rename to ...
14445 (SET_NAN_PAYLOAD): ... this.
14446 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14447 of "../stdlib/strtod_nan_double.h".
14448 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14449 of "../stdlib/strtod_nan_float.h".
14450 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14451 instead of "../stdlib/strtod_nan_ldouble.h".
14452 * manual/arith.texi (Parsing of Floats): Adjust comment.
14453
14454 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14455
14456 * math/Makefile (libm-narrow-fns): Add mul.
14457 (libm-test-funcs-narrow): Likewise.
14458 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14459 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14460 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14461 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14462 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14463 (NARROW_MUL_TRIVIAL): Likewise.
14464 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14465 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14466 macro.
14467 (__dmull): Likewise.
14468 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14469 dmul.
14470 (CFLAGS-nldbl-dmul.c): New variable.
14471 (CFLAGS-nldbl-fmul.c): Likewise.
14472 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14473 __nldbl_dmull.
14474 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14475 prototype.
14476 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14477 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14478 * math/auto-libm-test-in: Add tests of mul.
14479 * math/auto-libm-test-out-narrow-mul: New generated file.
14480 * math/libm-test-narrow-mul.inc: New file.
14481 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14482 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14483 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14484 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14485 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14486 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14487 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14488 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14489 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14490 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14491 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14492 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14493 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14494 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14495 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14496 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14497 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14498 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14500 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14501 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14502 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14503 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14504 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14505 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14506 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14507 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14508 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14509 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14510 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14511 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14512 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14517 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14518 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14519 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14520 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14521 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14522 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14523 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14524 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14525
14526 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14527
14528 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14529 with *%eax in call.
14530
14531 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14532
14533 * sysdeps/i386/ldsodefs.h: Removed.
14534 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14535 * sysdeps/x86/ldsodefs.h: This.
14536 (La_i86_regs): New.
14537 (La_i86_retval): Likewise.
14538 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14539 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14540
14541 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14542
14543 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14544 unnecessary testl.
14545
14546 2018-05-13 Alan Modra <amodra@gmail.com>
14547
14548 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14549 R_PARISC_TLS_DTPOFF32 reloc addend.
14550
14551 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14552
14553 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14554 * math/math.h: Restrict the prototype definition for the functions
14555 issignaling(_Float128) and iszero(_Float128); and template
14556 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14557 __HAVE_FLOAT128_UNLIKE_LDBL.
14558 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14559 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14560 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14561 __f128() constants; define the type _Float128 as long double;
14562 and reuse long double in __CFLOAT128.
14563
14564 2018-05-11 Joseph Myers <joseph@codesourcery.com>
14565
14566 * sysdeps/generic/math_private.h: Do not include
14567 <math-barriers.h>.
14568 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14569 <math_private.h>.
14570 * math/fromfp.h: Include <math-barriers.h>.
14571 * math/math-narrow.h: Likewise.
14572 * math/s_nextafter.c: Likewise.
14573 * math/s_nexttowardf.c: Likewise.
14574 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14575 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14576 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14577 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14578 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14579 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14580 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14582 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14583 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14584 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14585 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14587 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14588 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14589 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14590 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14591 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14592 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14593 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14594 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14595 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14596 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14597 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14598 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14599 * sysdeps/ieee754/k_standardl.c: Likewise.
14600 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14601 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14602 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14603 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14604 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14605 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14606 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14607 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14608 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14609 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14610 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14611 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14612 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14613 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14614 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14615 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14616 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14617 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14618 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14619 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14620 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14621 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14622
14623 2018-05-11 Florian Weimer <fweimer@redhat.com>
14624
14625 Use 64-bit epoch values in the time zone file parser.
14626 * include/time.h (internal_time_t): Define.
14627 (__tzfile_compute): Use it.
14628 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14629 member.
14630 (transitions): Switch to internal_time_t.
14631 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14632 types.
14633 (__tzfile_compute): Use internal_time_t for timer argument. Check
14634 for truncation before calling __offtime.
14635
14636 2018-05-11 Florian Weimer <fweimer@redhat.com>
14637
14638 [BZ #23166]
14639 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14640 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14641 Likewise.
14642 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14643 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14644 export without --enable-obsolete-rpc.
14645 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14646 symbol. This should not have been exported, ever.
14647
14648 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14649
14650 [BZ #23152]
14651 * localedata/locales/gd_GB (abmon): Fix typo in May:
14652 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14653
14654 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14655
14656 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14657 Use multiple registers to copy data in loop tail.
14658
14659 * sysdeps/aarch64/multiarch/memmove_falkor.S
14660 (__memmove_falkor): Use multiple registers to move data in
14661 loop tail.
14662
14663 2018-05-10 Joseph Myers <joseph@codesourcery.com>
14664
14665 * math/math-underflow.h: New file.
14666 * sysdeps/generic/math_private.h: Do not include <float.h>.
14667 (fabs_tg): Remove macro. Moved to math-underflow.h.
14668 (min_of_type_f): Likewise.
14669 (min_of_type_): Likewise.
14670 (min_of_type_l): Likewise.
14671 (min_of_type_f128): Likewise.
14672 (min_of_type): Likewise.
14673 (math_check_force_underflow): Likewise.
14674 (math_check_force_underflow_nonneg): Likewise.
14675 (math_check_force_underflow_complex): Likewise.
14676 * math/e_exp2_template.c: Include <math-underflow.h>.
14677 * math/k_casinh_template.c: Likewise.
14678 * math/s_catan_template.c: Likewise.
14679 * math/s_catanh_template.c: Likewise.
14680 * math/s_ccosh_template.c: Likewise.
14681 * math/s_cexp_template.c: Likewise.
14682 * math/s_clog10_template.c: Likewise.
14683 * math/s_clog_template.c: Likewise.
14684 * math/s_csin_template.c: Likewise.
14685 * math/s_csinh_template.c: Likewise.
14686 * math/s_csqrt_template.c: Likewise.
14687 * math/s_ctan_template.c: Likewise.
14688 * math/s_ctanh_template.c: Likewise.
14689 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14690 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14691 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14692 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14693 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14694 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14695 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14696 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14697 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14698 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14699 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14700 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14701 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14704 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14705 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14706 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14707 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14708 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14709 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14710 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14711 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14712 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14713 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14714 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14715 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14716 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14717 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14718 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14719 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14720 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14721 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14722 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14723 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14724 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14725 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14726 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14727 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14728 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14729 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14730 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14731 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14732 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14733 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14734 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14735 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14736 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14737 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14738 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14739 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14740 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14741 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14742 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14743 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14744 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14745 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14746 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14747 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14748 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14749 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14750 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14751 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14752 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14753 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14754 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14755 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14756 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14757 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14758 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14759 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14760 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14761 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14762 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14763 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14764 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14765 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14766 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14767 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14768 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14769 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14770 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14771 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14772 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14773
14774 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14775
14776 * sysdeps/generic/math-barriers.h: New file.
14777 * sysdeps/generic/math_private.h [!math_opt_barrier]
14778 (math_opt_barrier): Move to math-barriers.h.
14779 [!math_opt_barrier] (math_force_eval): Likewise.
14780 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14781 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14782 math-barriers.h.
14783 (math_force_eval): Likewise.
14784 * sysdeps/alpha/fpu/math-barriers.h: New file.
14785 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14786 math-barriers.h.
14787 (math_force_eval): Likewise.
14788 * sysdeps/x86/fpu/math-barriers.h: New file.
14789 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14790 math-barriers.h.
14791 (math_force_eval): Likewise.
14792 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14793 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14794 multiple-include guard for rename.
14795 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14796 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14797 math-barriers.h.
14798 (math_force_eval): Likewise.
14799
14800 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14801
14802 [BZ #22786]
14803 CVE-2018-11236
14804 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14805 computation.
14806 * stdlib/Makefile (test-bz22786): New test.
14807 * stdlib/test-bz22786.c: New test.
14808
14809 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14810
14811 * include/math-narrow-eval.h: New file. Contents moved from ....
14812 * sysdeps/generic/math_private.h: ... here.
14813 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14814 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14815 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14816 * stdlib/strtod_l.c: Likewise.
14817 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14818 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14819 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14823 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14824 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14825 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14826 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14827 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14828 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14829 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14830 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14831 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14832 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14833 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14834 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14835 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14836 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14837 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14838 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14839 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14840 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14841 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14842 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14843 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14844 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14845 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14846
14847 2018-05-08 Andreas Schwab <schwab@suse.de>
14848
14849 * sysdeps/nptl/internaltypes.h: Fix comment.
14850
14851 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14852
14853 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14854 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14855 hidden.
14856
14857 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14858
14859 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14860 of I into loop header.
14861 * benchtests/bench-memmove-walk.c
14862 (test_main): Likewise.
14863
14864 2018-05-07 Alexandre Oliva <oliva@gnu.org>
14865
14866 Revert:
14867 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14868 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14869
14870 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14871
14872 [BZ #20419]
14873 * elf/dl-load.c (open_verify): Fix stack overflow.
14874 * elf/Makefile (tst-big-note): New test.
14875 * elf/tst-big-note-lib.S: New.
14876 * elf/tst-big-note.c: New.
14877
14878 2018-05-04 Joseph Myers <joseph@codesourcery.com>
14879
14880 * scripts/abilist.awk: Ignore absolute symbols.
14881 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14882 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14883 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14884 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14885 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14886 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14887 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14888 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14889 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14890 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14891 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14892 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14893 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14894 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14895 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14896 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14897 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14898 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14899 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14900 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14901 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14902 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14903 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14904 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14905 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14906 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14907 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14908 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14909 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14910 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14911 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14912 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14913 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14914 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14915 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14916 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14917 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14918 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14919 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14920 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14921 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14922 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14923 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14924 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14925 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14926 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14927 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14928 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14929 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14930 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14931 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14932 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14933 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14934 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14935 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14936 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14937 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14938 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14939 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14940 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14941 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14942 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14943 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14944 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14945 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14946 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14947 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14948 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14949 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14950 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14951 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14952 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14953 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14954 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14955 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14956 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14957 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14958 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14959 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14960 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14961 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14962 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14963 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14964 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14965 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14966 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14967 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14968 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14969 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14970 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14971 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14972 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14973 Likewise.
14974 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14975 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14976 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14977 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14978 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14979 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14980 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14981 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14982 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14983 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14984 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14985 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14986 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14987 Likewise.
14988 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14989 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14990 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14991 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14992 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14993 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14994 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14995 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14996 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14997 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14998 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14999 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
15000 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
15001 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
15002 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15003 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
15004 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
15005 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15006 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
15007 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15008 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
15009 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
15010 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
15011 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
15012 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15013 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
15014 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15015 Likewise.
15016 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
15017 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
15019 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
15020 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15021 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
15024 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
15025 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
15026 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15030 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
15031 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
15032 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
15033 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
15034 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15035 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15036 Likewise.
15037 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
15038 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
15039 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
15040 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15041 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15043 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
15044 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
15045 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
15046 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
15047 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15048 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
15049 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
15050 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15051 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
15052 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
15053 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
15054 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
15055 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15056 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
15058 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15059 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
15060 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15061 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
15062 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
15063 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
15064 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
15065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
15068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15069 Likewise.
15070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
15071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
15072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
15073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
15074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15075 Likewise.
15076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
15077 Likewise.
15078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
15079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15080 Likewise.
15081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
15082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15083 Likewise.
15084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15085 Likewise.
15086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15089 Likewise.
15090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15091 Likewise.
15092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
15093 Likewise.
15094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
15095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15098 Likewise.
15099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
15100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
15101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
15102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
15105 Likewise.
15106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
15107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15108 Likewise.
15109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15110 Likewise.
15111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15112 Likewise.
15113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
15114 Likewise.
15115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
15116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
15117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15118 Likewise.
15119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15120 Likewise.
15121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15122 Likewise.
15123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
15124 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15125 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
15126 Likewise.
15127 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15128 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15129 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15131 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15132 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15133 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15134 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
15135 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15136 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
15137 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15138 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
15139 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
15140 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15141 Likewise.
15142 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15143 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
15145 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15146 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
15147 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15148 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
15149 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
15150 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
15151 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
15152 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
15153 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15154 Likewise.
15155 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15156 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
15157 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
15158 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15159 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
15160 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15161 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15162 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15163 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15164 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15165 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15166 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15167 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15168 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15169 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15170 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15171 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15172 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15173 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15174 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15175 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15176 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15177 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15178 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15179 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15180 Likewise.
15181 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15182 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15183 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15184 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15185 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15186 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15187 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15188 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15189 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15190 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15191 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15192 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15193 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15194 Likewise.
15195 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15196 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15197 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15198 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15199 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15200 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15201 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15202 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15203 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15204 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15205 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15206 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15207 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15208 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15209 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15210 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15211 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15212 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15213 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15214 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15215 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15216 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15217 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15218 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15219 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15220 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15221 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15222 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15223 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15224 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15225 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15226 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15227 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15228 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15229 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15230 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15231 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15232 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15233
15234 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15235
15236 [BZ #23137]
15237 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15238 Use atomic_load_acquire to load __tid.
15239
15240 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15241
15242 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15243 Restore the pointer into %rdx, after syscall and use %rdx,
15244 instead of %rsi, to restore context.
15245
15246 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15247
15248 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15249 Pop the pointer into %rdx after syscall and use %rdx, instead
15250 of %rsi, to restore context.
15251
15252 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15253
15254 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15255 handlers after setjmp.
15256 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15257 defined.
15258 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15259 <libc-pointer-arith.h>.
15260 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15261 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15262 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15263 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15264 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15265 * sysdeps/x86/__longjmp_cancel.S: New file.
15266 * sysdeps/x86/longjmp.c: Likewise.
15267 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15268
15269 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15270
15271 * NEWS: Add ustat.h deprecation entry.
15272 * bits/ustat.h: Remove file.
15273 * misc/sys/ustat.h: Likewise.
15274 * misc/ustat.h: Likewise.
15275 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15276 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15277 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15278 compatibility mode.
15279 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15280 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15281 generic Linux implementation.
15282
15283 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15284
15285 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15286 * math/w_expl_compat.c: Likewise.
15287 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15288
15289 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15290
15291 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15292
15293 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15294
15295 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15296 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15297 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15298 Remove.
15299 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15301 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15302 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15303 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15304 and SYSCALL_LL64.
15305
15306 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15307
15308 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15309
15310 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15311 * math/w_asin_template.c: Likewise.
15312 * math/w_atanh_template.c: Likewise.
15313
15314 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15315
15316 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15317 to powerpc/powerpc64/be for big-endian.
15318 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15319 little-endian.
15320
15321 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15322 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15323 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15324 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15325 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15326 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15327 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15328 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15329 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15330 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15331 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15332 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15333 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15334 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15335 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15336 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15337 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15338 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15339 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15340 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15341 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15342 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15343 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15344 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15345 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15346 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15347 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15348 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15349 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15350 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15351 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15352 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15353
15354 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15355 adjusted to imply powerpc64 and older processors on powerpc64/be.
15356 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15357 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15358 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15359 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15360 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15361 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15362 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15363 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15364 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15365 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15366 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15367 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15368 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15369 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15370 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15371 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15372 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15373 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15374 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15375 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15376 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15377 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15378 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15379 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15380 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15381 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15382 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15383 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15384 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15385 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15386 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15387
15388 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15389 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15390 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15391 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15392
15393 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15394 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15395 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15396 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15397
15398 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15399 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15400 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15401 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15402 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15403 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15404 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15405 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15406 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15407 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15408 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15409
15410 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15411 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15412 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15413 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15414 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15415 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15416 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15417 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15418 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15419 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15420 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15421
15422 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15423 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15424 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15425 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15426 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15427 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15428 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15429 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15430 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15431 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15432 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15433 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15434
15435 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15436 and adjusted to imply olders processors.
15437 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15438 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15439 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15440 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15441 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15442 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15443 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15444 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15445 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15446 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15447 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15448
15449 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15450 powerpc64/le.
15451 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15452 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15453
15454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15455 powerpc64le.
15456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15458
15459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15460 powerpc64/be.
15461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15464
15465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15466 powerpc64 and adjusted.
15467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15470 Likewise.
15471
15472 2018-04-27 Joseph Myers <joseph@codesourcery.com>
15473
15474 * sysdeps/tile: Remove.
15475 * sysdeps/unix/sysv/linux/tile: Likewise.
15476 * README (tilegx-*-linux-gnu): Remove from list of supported
15477 configurations.
15478 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15479 contribution of support for generic Linux kernel syscall
15480 interface.
15481 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15482 tilegx configurations.
15483 (Config.install_linux_headers): Do not handle tile.
15484 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15485 in comment.
15486 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15487 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15488 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15489 conditional undefine and redefine.
15490 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15491 in comment.
15492 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15493 conditional undefine and redefine.
15494
15495 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15496
15497 * signal/tst-sigaction.c: New file to test BZ #23069.
15498 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15499
15500 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15501
15502 [BZ #22766]
15503 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15504 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15505 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15506 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15507
15508 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15509
15510 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15511 _DIRENT_MATCHES_DIRENT64 is not defined.
15512 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15513 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15514 is defined.
15515 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15516 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15517
15518 2018-04-25 Joseph Myers <joseph@codesourcery.com>
15519
15520 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15521 version to GCC 8 branch.
15522
15523 2018-04-24 Joseph Myers <joseph@codesourcery.com>
15524
15525 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15526 (check_no_hidden): Use type of original function when declaring
15527 alias.
15528
15529 * sysdeps/unix/sysv/linux/sys/ptrace.h
15530 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15531 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15532 (struct __ptrace_seccomp_metadata): New type.
15533 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15534 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15535 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15536 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15537 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15538 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15539 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15540 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15541 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15542 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15543 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15544 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15545 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15546 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15547 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15548 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15549
15550 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15551
15552 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15553 defined.
15554 * dirent/versionsort.c (versionsort): Likewise.
15555 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15556 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15557 * dirent/versionsort64.c (versionsort64): Likewise.
15558 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15559 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15560 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15561 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15562 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15563 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15564 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15565 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15566 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15567 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15570 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15571 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15572
15573 2018-04-23 Joseph Myers <joseph@codesourcery.com>
15574
15575 * elf/elf.h (NT_PPC_PKEY): New macro.
15576
15577 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
15578
15579 [BZ #23094]
15580 * localedata/locales/hr_HR: fix thousands_sep and
15581 mon_thousands_sep
15582
15583 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15584
15585 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15586 (XTABS): Define to TAB3.
15587
15588 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15589
15590 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15591
15592 * dirent/scandir-tail-common.c: New file.
15593 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15594 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15595 * dirent/scandir.c: Use scandir-tail-common.c.
15596 * dirent/scandirat.c: Likewise.
15597 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15598 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15599 if _DIRENT_MATCHES_DIRENT64 is defined.
15600 * dirent/scandirat64.c (scandirat64): Likewise.
15601 * include/dirent.h (__scandir_tail): Only define iff
15602 _DIRENT_MATCHES_DIRENT64 is not defined.
15603 (__scandir64_tail): Define regardless.
15604 (__scandirat, scandirat64): Remove libc_hidden_proto.
15605 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15606 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15608 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15609 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15610 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15611 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15612
15613 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15614
15615 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15616 New macro.
15617 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15618 Increase to 24.
15619 (_dl_aarch64_cap_flags): Add asimdfhm.
15620
15621 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15622
15623 * sysdeps/nios2/libm-test-ulps: Update.
15624
15625 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15626
15627 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15628 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15629
15630 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15631 requirements.
15632 (_DIRENT_MATCHES_DIRENT64): Undef
15633 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15634 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15635 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15636 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15637 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15638 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15639 use getdents64 syscalls as base.
15640 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15641 symbol if required.
15642 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15643 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15644 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15645 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15646 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15647 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15648 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15649 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15650 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15651 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15652 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15653
15654 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15655
15656 * scripts/test_printers_common.py (init_test): Disable lock elision.
15657
15658 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15659
15660 * math/test-tgmath.c (count_double, count_float,
15661 count_ldouble, count_cdouble, count_cfloat,
15662 count_cldouble): Use volatile int.
15663
15664 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15665
15666 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15667 (conformtest-xfail-conds): Add i386-gnu.
15668 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
15669 i386-gnu.
15670 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15671 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15672 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15673 msqid_ds.msg_lrpid): Likewise.
15674 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15675 Likewise.
15676 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15677 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
15678 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15679 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15680 unsigned int.
15681 (struct statvfs64): Likewise.
15682 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15683 Likewise.
15684 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15685 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15686 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15687 instead of wait_queue.
15688 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15689 instead of vm_area_struct.
15690 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15691 struct sched_param definition to it.
15692 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15693 * bits/types/struct_sched_param.h: New file.
15694 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15695 <bits/types/struct_sched_param.h> instead of <sched.h>.
15696 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
15697 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15698 generic version but include <bits/pthreadtypes.h> to make struct
15699 sigevent's sigev_notify_attributes field a pthread_attr_t*.
15700 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15701 non-compliant.
15702 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15703 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15704 [__USE_XOPEN] (OFDEL): New macro.
15705 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
15706 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
15707 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15708 prototypes.
15709 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15710 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
15711 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15712 non-compliant.
15713 * sysdeps/i386/sys/ucontext.h: Likewise.
15714 * sysdeps/m68k/sys/ucontext.h: Likewise.
15715 * sysdeps/mips/sys/ucontext.h: Likewise.
15716 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
15717 * sysdeps/mach/hurd/i386/Makefile
15718 (test-xfail-POSIX/fcntl.h/conform): Add.
15719 (test-xfail-POSIX/signal.h/conform): Add.
15720 (test-xfail-POSIX/semaphore.h/conform): Add.
15721 (test-xfail-POSIX/regex.h/conform): Add.
15722 (test-xfail-POSIX/aio.h/conform): Add.
15723 (test-xfail-POSIX/mqueue.h/conform): Add.
15724 (test-xfail-POSIX/sys/types.h/conform): Add.
15725 (test-xfail-UNIX98/fcntl.h/conform): Add.
15726 (test-xfail-UNIX98/netdb.h/conform): Add.
15727 (test-xfail-UNIX98/signal.h/conform): Add.
15728 (test-xfail-UNIX98/semaphore.h/conform): Add.
15729 (test-xfail-UNIX98/regex.h/conform): Add.
15730 (test-xfail-UNIX98/aio.h/conform): Add.
15731 (test-xfail-UNIX98/ftw.h/conform): Add.
15732 (test-xfail-UNIX98/mqueue.h/conform): Add.
15733 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15734 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15735 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15736 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15737 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15738 (test-xfail-UNIX98/sys/types.h/conform): Add.
15739 (test-xfail-UNIX98/stdlib.h/conform): Add.
15740 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15741 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15742 (test-xfail-POSIX2008/netdb.h/conform): Add.
15743 (test-xfail-POSIX2008/signal.h/conform): Add.
15744 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15745 (test-xfail-POSIX2008/regex.h/conform): Add.
15746 (test-xfail-POSIX2008/aio.h/conform): Add.
15747 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15748 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15749 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15750 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15751 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15752 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15753 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15754 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15755 (test-xfail-XOPEN2K/signal.h/conform): Add.
15756 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15757 (test-xfail-XOPEN2K/regex.h/conform): Add.
15758 (test-xfail-XOPEN2K/aio.h/conform): Add.
15759 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15760 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15761 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15762 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15763 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15764 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15765 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15766 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15767 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15768 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15769 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15770 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15771 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15772 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15773 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15774 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15775 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15776 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15777 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15778 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15779 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15780 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15781 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15782 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15783 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15784 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
15785 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15786 i386-gnu.
15787 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15788 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
15789
15790 2018-04-18 Joseph Myers <joseph@codesourcery.com>
15791
15792 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15793 --enable-obsolete for powerpc-linux-gnuspe.
15794
15795 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15796
15797 * conform/data/sys/un.h-data: Allow sun_ prefix.
15798 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
15799 prototypes.
15800 * sysdeps/mach/include/mach.h: Likewise.
15801 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15802 * sysdeps/mach/include/mach_error.h: Likewise.
15803
15804 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15805
15806 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15807 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15808 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15809 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15810
15811 2018-04-16 Andreas Schwab <schwab@suse.de>
15812
15813 [BZ #19527]
15814 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15815
15816 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15817
15818 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15819 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15820
15821 2018-04-12 DJ Delorie <dj@redhat.com>
15822
15823 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15824 version to 4.16.
15825
15826 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15827
15828 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15829 (struct kernel_sigaction): Use the same definition on 31bit as is used
15830 on 64bit.
15831
15832 2018-04-09 Florian Weimer <fweimer@redhat.com>
15833
15834 [BZ #23037]
15835 * resolv/res_send.c (send_dg): Use designated initializers instead
15836 of assignment to zero-initialize other fields of struct mmsghdr.
15837
15838 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15839
15840 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15841 __READDIR_ALIAS): Undefine after usage.
15842 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15843 __READDIR_R_ALIAS): Likewise.
15844 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15845 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15846 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15847 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15848 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15849 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15850 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15851 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15852 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15853 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15854 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15855 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15856 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15857 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15858 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15859 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15860 * sysdeps/unix/sysv/linux/readdir.c: New file.
15861 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15862 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15863 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15864
15865 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15866
15867 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15868
15869 * manual/charset.texi (Converting a Character): Fix typo.
15870
15871 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15872
15873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15874
15875 * sysdeps/arm/libm-test-ulps: Update.
15876
15877 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15878 as base implementation.
15879 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15880 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15881 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15882 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15883 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15884 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15885 remove unrequired definitions and update comments.
15886 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15887 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15888 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15889 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15890 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15891 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15892 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15893 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15894 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15895 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15896 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15897 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15898 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15899 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15900 and RESET_SA_RESTORER hooks.
15901
15902 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15903
15904 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15905
15906 2018-04-05 Florian Weimer <fweimer@redhat.com>
15907
15908 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15909 integer overflow, memory leak on error, and indeterminate errno
15910 value. Add a null wide character to terminate the result string.
15911 * manual/charset.texi (Converting a Character): Mention embedded
15912 null bytes in the mbrtowc input string. Explain what happens in
15913 the -2 result case. Do not claim that mbrtowc is simple or
15914 obvious to use. Adjust the description of the code example. Use
15915 @code, not @var, for concrete variables.
15916
15917 2018-04-05 Florian Weimer <fweimer@redhat.com>
15918
15919 * manual/examples/mbstouwcs.c: New file.
15920 * manual/charset.texi (Converting a Character): Include it.
15921
15922 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15923
15924 * include/dirent.h (dirfd): Add hidden proto.
15925 * dirent/dirfd.c (dirfd): Add hidden def.
15926 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15927 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
15928
15929 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15930
15931 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15932 sin, cos and sincos to 1 ULP.
15933
15934 2018-04-04 Maciej W. Rozycki <macro@mips.com>
15935
15936 [BZ #19818]
15937 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15938 symbols.
15939 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15940 * elf/tst-absolute-sym.c: New file.
15941 * elf/tst-absolute-sym-lib.c: New file.
15942 * elf/tst-absolute-sym-lib.lds: New file.
15943 * elf/Makefile (tests): Add `tst-absolute-sym'.
15944 (modules-names): Add `tst-absolute-sym-lib'.
15945 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15946 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15947 ($(objpfx)tst-absolute-sym): New dependency.
15948
15949 [BZ #19818]
15950 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15951 parameter.
15952 (SYMBOL_ADDRESS): New macro.
15953 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15954 SYMBOL_ADDRESS for symbol address calculation.
15955 * elf/dl-runtime.c (_dl_fixup): Likewise.
15956 (_dl_profile_fixup): Likewise.
15957 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15958 * elf/rtld.c (dl_main): Likewise.
15959 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15960 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15961 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15962 (elf_machine_rela): Likewise.
15963 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15964 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15965 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15966 (elf_machine_rela): Likewise.
15967 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15968 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15969 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15970 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15971 Likewise.
15972 (elf_machine_reloc): Likewise.
15973 (elf_machine_got_rel): Likewise.
15974 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15975 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15976 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15977 Likewise.
15978 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15979 Likewise.
15980 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15981 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15982 Likewise.
15983 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15984 Likewise.
15985 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15986 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15987 Likewise.
15988 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15989 Likewise.
15990 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15992
15993 2018-04-04 Zack Weinberg <zackw@panix.com>
15994
15995 * sysdeps/generic/internal-signals.h: Include signal.h,
15996 sigsetops.h, and stdbool.h.
15997 (__libc_signal_block_all): Actually block all signals.
15998 (__libc_signal_block_app): Likewise.
15999 (__libc_signal_restore_set): Actually restore the signal mask.
16000
16001 2018-04-04 Florian Weimer <fweimer@redhat.com>
16002
16003 inet: Actually build and run tst-deadline.
16004 * inet/Makefile (tests-internal): Add tst-deadline and do not
16005 overwrite the variable.
16006 (tests-static-internal): Remove variable.
16007
16008 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
16009
16010 [BZ #22947]
16011 * bits/uio-ext.h (RWF_APPEND): New.
16012 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
16013 * manual/llio.texi: Document RWF_APPEND.
16014 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
16015 (RWF_SUPPORTED): Add RWF_APPEND.
16016
16017 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16018
16019 [BZ #22391]
16020 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
16021 check for internal nptl signals.
16022 * nptl/sigaction.c (__sigaction): Likewise.
16023 * signal/sigaddset.c (sigaddset): Likewise.
16024 * signal/sigdelset.c (sigdelset): Likewise.
16025 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16026 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
16027 value.
16028 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
16029 to filter out internal nptl signals.
16030 * signal/tst-sigset.c (do_test): Check ech signal indidually and
16031 also check realtime signals using standard macros.
16032 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
16033 __is_internal_signal, __libc_signal_block_all,
16034 __libc_signal_block_app, __libc_signal_restore_set): New functions.
16035 * sysdeps/nptl/sigfillset.c: Remove file.
16036 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
16037 Change return to bool.
16038 (__clear_internal_signals): Remove SIGTIMER clean since it is
16039 equal to SIGCANEL on Linux.
16040 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
16041 signal set was constructed using standard functions.
16042
16043 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16044
16045 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
16046 ifname is too long.
16047 * hurd/hurdsig.c (interrupted_reply_port_location): Use
16048 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
16049 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
16050 hidden def.
16051 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
16052 * signal/sigaddset.c: Include <sigsetopts.h>.
16053 * signal/sigdelset.c: Likewise.
16054
16055 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16056
16057 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
16058 (__cos): Likewise.
16059 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
16060 logic as sin and cos.
16061
16062 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16063
16064 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
16065 inputs. Return correct sign.
16066 (do_sincos): Remove small input check before do_sin, let do_sin set
16067 the sign.
16068 (__sin): Likewise.
16069 (__cos): Likewise.
16070
16071 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16072
16073 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
16074 (do_cos_slow): Likewise.
16075 (do_sin_slow): Likewise.
16076 (reduce_and_compute): Likewise.
16077 (slow): Likewise.
16078 (slow1): Likewise.
16079 (slow2): Likewise.
16080 (sloww): Likewise.
16081 (sloww1): Likewise.
16082 (sloww2): Likewise.
16083 (bslow): Likewise.
16084 (bslow1): Likewise.
16085 (bslow2): Likewise.
16086 (cslow2): Likewise.
16087
16088 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16089
16090 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
16091 (do_cos): Remove corp parameter and calculations.
16092 (do_sin): Likewise.
16093 (do_sincos): Remove cor variable.
16094 (__sin): Use do_sincos for huge inputs.
16095 (__cos): Likewise.
16096 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16097 (reduce_and_compute_sincos): Remove unused function.
16098
16099 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16100
16101 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
16102 reduce_sincos, improve accuracy to 136 bits.
16103 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
16104 (__sin): Use improved reduction and simplified do_sincos calculation.
16105 (__cos): Likewise.
16106 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16107
16108 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16109
16110 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
16111 (do_sincos_2): Likewise.
16112 (__sin): Remove middle range reduction case.
16113 (__cos): Likewise.
16114 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
16115 reduction case.
16116
16117 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16118
16119 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
16120 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
16121 inputs.
16122 (__cos): Likewise.
16123 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
16124
16125 2018-04-03 Joseph Myers <joseph@codesourcery.com>
16126
16127 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16128 version to 4.16
16129
16130 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16131
16132 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
16133 Remove definitions.
16134 (opendir_oflags): Use O_DIRECTORY regardless.
16135 (__opendir, __opendirat): Remove need_isdir_precheck usage.
16136 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
16137
16138 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16139
16140 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
16141 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
16142 macros.
16143 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
16144 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
16145 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
16146 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
16147 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
16148 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
16149
16150 * htl/Makefile: Bump licence to LGPL 2.1+.
16151 * htl/alloca_cutoff.c: Likewise.
16152 * htl/cthreads-compat.c: Likewise.
16153 * htl/lockfile.c: Likewise.
16154 * htl/pt-alloc.c: Likewise.
16155 * htl/pt-cancel.c: Likewise.
16156 * htl/pt-cleanup.c: Likewise.
16157 * htl/pt-create.c: Likewise.
16158 * htl/pt-dealloc.c: Likewise.
16159 * htl/pt-detach.c: Likewise.
16160 * htl/pt-exit.c: Likewise.
16161 * htl/pt-getattr.c: Likewise.
16162 * htl/pt-initialize.c: Likewise.
16163 * htl/pt-internal.h: Likewise.
16164 * htl/pt-join.c: Likewise.
16165 * htl/pt-self.c: Likewise.
16166 * htl/pt-setcancelstate.c: Likewise.
16167 * htl/pt-setcanceltype.c: Likewise.
16168 * htl/pt-sigmask.c: Likewise.
16169 * htl/pt-spin-inlines.c: Likewise.
16170 * htl/pt-testcancel.c: Likewise.
16171 * htl/pt-yield.c: Likewise.
16172 * htl/tests/test-1.c: Likewise.
16173 * htl/tests/test-10.c: Likewise.
16174 * htl/tests/test-11.c: Likewise.
16175 * htl/tests/test-12.c: Likewise.
16176 * htl/tests/test-13.c: Likewise.
16177 * htl/tests/test-14.c: Likewise.
16178 * htl/tests/test-15.c: Likewise.
16179 * htl/tests/test-16.c: Likewise.
16180 * htl/tests/test-17.c: Likewise.
16181 * htl/tests/test-2.c: Likewise.
16182 * htl/tests/test-3.c: Likewise.
16183 * htl/tests/test-4.c: Likewise.
16184 * htl/tests/test-5.c: Likewise.
16185 * htl/tests/test-6.c: Likewise.
16186 * htl/tests/test-7.c: Likewise.
16187 * htl/tests/test-8.c: Likewise.
16188 * htl/tests/test-9.c: Likewise.
16189 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16190 * sysdeps/htl/bits/cancelation.h: Likewise.
16191 * sysdeps/htl/bits/pthread-np.h: Likewise.
16192 * sysdeps/htl/bits/pthread.h: Likewise.
16193 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16194 * sysdeps/htl/bits/semaphore.h: Likewise.
16195 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16196 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16197 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16198 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16199 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16200 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16201 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16202 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16203 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16204 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16205 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16206 * sysdeps/htl/old_pt-atfork.c: Likewise.
16207 * sysdeps/htl/pt-atfork.c: Likewise.
16208 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16209 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16210 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16211 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16212 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16213 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16214 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16215 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16216 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16217 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16218 * sysdeps/htl/pt-attr-init.c: Likewise.
16219 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16220 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16221 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16222 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16223 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16224 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16225 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16226 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16227 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16228 * sysdeps/htl/pt-attr.c: Likewise.
16229 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16230 * sysdeps/htl/pt-barrier-init.c: Likewise.
16231 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16232 * sysdeps/htl/pt-barrier.c: Likewise.
16233 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16234 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16235 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16236 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16237 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16238 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16239 * sysdeps/htl/pt-cond-init.c: Likewise.
16240 * sysdeps/htl/pt-cond-signal.c: Likewise.
16241 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16242 * sysdeps/htl/pt-cond-wait.c: Likewise.
16243 * sysdeps/htl/pt-cond.c: Likewise.
16244 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16245 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16246 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16247 * sysdeps/htl/pt-condattr-init.c: Likewise.
16248 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16249 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16250 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16251 * sysdeps/htl/pt-equal.c: Likewise.
16252 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16253 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16254 * sysdeps/htl/pt-getschedparam.c: Likewise.
16255 * sysdeps/htl/pt-getspecific.c: Likewise.
16256 * sysdeps/htl/pt-init-specific.c: Likewise.
16257 * sysdeps/htl/pt-key-create.c: Likewise.
16258 * sysdeps/htl/pt-key-delete.c: Likewise.
16259 * sysdeps/htl/pt-key.h: Likewise.
16260 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16261 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16262 * sysdeps/htl/pt-mutex-init.c: Likewise.
16263 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16264 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16265 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16266 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16267 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16268 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16269 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16270 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16271 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16272 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16273 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16274 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16275 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16276 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16277 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16278 * sysdeps/htl/pt-mutexattr.c: Likewise.
16279 * sysdeps/htl/pt-once.c: Likewise.
16280 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16281 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16282 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16283 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16284 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16285 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16286 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16287 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16288 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16289 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16290 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16291 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16292 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16293 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16294 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16295 * sysdeps/htl/pt-setschedparam.c: Likewise.
16296 * sysdeps/htl/pt-setschedprio.c: Likewise.
16297 * sysdeps/htl/pt-setspecific.c: Likewise.
16298 * sysdeps/htl/pt-spin.c: Likewise.
16299 * sysdeps/htl/pt-startup.c: Likewise.
16300 * sysdeps/htl/pthread.h: Likewise.
16301 * sysdeps/htl/sem-close.c: Likewise.
16302 * sysdeps/htl/sem-destroy.c: Likewise.
16303 * sysdeps/htl/sem-getvalue.c: Likewise.
16304 * sysdeps/htl/sem-init.c: Likewise.
16305 * sysdeps/htl/sem-open.c: Likewise.
16306 * sysdeps/htl/sem-post.c: Likewise.
16307 * sysdeps/htl/sem-timedwait.c: Likewise.
16308 * sysdeps/htl/sem-trywait.c: Likewise.
16309 * sysdeps/htl/sem-unlink.c: Likewise.
16310 * sysdeps/htl/sem-wait.c: Likewise.
16311 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16312 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16313 * sysdeps/mach/htl/pt-block.c: Likewise.
16314 * sysdeps/mach/htl/pt-spin.c: Likewise.
16315 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16316 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16317 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16318 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16319 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16320 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16321 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16322 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16323 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16324 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16325 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16326 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16327 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16328 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16329 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16330 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16331 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16332 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16333 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16334 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16335 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16336 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16337 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16338 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16339 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16340 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16341 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16342 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16343 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16344 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16345 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16346 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16347 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16348 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16349 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16350 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16351 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16352 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16353 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16354 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16355 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16356 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16357 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16358
16359 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16360 * README: Remove the mention of out-of-tree patches needed for
16361 GNU/Hurd.
16362
16363 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16364 (UTIME_NOW, UTIME_OMIT): Define macros.
16365
16366 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16367 instead of pthread_detach.
16368 (__cthread_fork): Call __pthread_create instead of pthread_create.
16369 (__cthread_keycreate): Call __pthread_key_create instead of
16370 pthread_key_create.
16371 (__cthread_getspecific): Call __pthread_getspecific instead of
16372 pthread_getspecific.
16373 (__cthread_setspecific): Call __pthread_setspecific instead of
16374 pthread_setspecific.
16375 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16376 __pthread_mutex_unlock instead of pthread_mutex_lock and
16377 pthread_mutex_unlock.
16378 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16379 ___pthread_get_cleanup_stack.
16380 (__pthread_get_cleanup_stack): New strong alias.
16381 * htl/pt-create.c: Include <pthreadP.h>.
16382 (entry_point): Call __pthread_exit instead of pthread_exit.
16383 (pthread_create): Rename to __pthread_create.
16384 (pthread_create): New strong alias.
16385 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16386 (pthread_detach): New strong alias.
16387 (__pthread_detach): Call __pthread_cond_broadcast instead of
16388 pthread_cond_broadcast.
16389 * htl/pt-exit.c: Include <pthreadP.h>.
16390 (__pthread_exit): Call __pthread_setcancelstate and
16391 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16392 __pthread_get_cleanup_stack.
16393 * htl/pt-testcancel.c: Include <pthreadP.h>.
16394 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16395 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16396 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16397 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16398 pthread_attr_getstacksize.
16399 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16400 Rename to __pthread_attr_getstackaddr.
16401 (pthread_attr_getstackaddr): New strong alias.
16402 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16403 Rename to __pthread_attr_getstacksize.
16404 (pthread_attr_getstacksize): New strong alias.
16405 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16406 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16407 (pthread_attr_setstack): New strong alias.
16408 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16409 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16410 pthread_attr_getstacksize, pthread_attr_setstacksize and
16411 pthread_attr_setstackaddr.
16412 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16413 Rename to __pthread_attr_setstackaddr.
16414 (pthread_attr_setstackaddr): New strong alias.
16415 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16416 Rename to __pthread_attr_setstacksize.
16417 (pthread_attr_setstacksize): New strong alias.
16418 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16419 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16420 pthread_exit.
16421 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16422 (__pthread_key_create): New hidden def.
16423 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16424 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16425 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16426 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16427 __pthread_setspecific, __pthread_setcancelstate,
16428 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16429 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16430 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16431 declarations.
16432 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16433 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16434 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16435 (pthread_attr_setstackaddr): New strong alias.
16436 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16437 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16438 (pthread_attr_setstacksize): New strong alias.
16439 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16440 (call_exit): Call __pthread_exit instead of pthread_exit.
16441 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16442 (_pthread_mutex_init): New hidden definition.
16443 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16444 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16445 instead of pthread_attr_init and pthread_attr_setstack.
16446
16447 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16448 __vm_deallocate instead of vm_allocate and vm_deallocate.
16449 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16450 setenv.
16451 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16452 of geteuid.
16453 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16454 strdup.
16455 * hurd/siginfo.c: Include <libioP.h>.
16456 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16457 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16458 munmap.
16459 * mach/devstream.c: Include <libioP.h>.
16460 (dealloc_ref): Call __mach_port_deallocate instead of
16461 mach_port_deallocate.
16462 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16463 Call __mach_port_deallocate instead of mach_port_deallocate.
16464 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16465 pathconf.
16466 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16467 munmap.
16468 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16469 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16470 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16471 of munmap.
16472 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16473 of close.
16474 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16475 instead of sysconf.
16476 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16477 __clock_gettime instead of clock_gettime.
16478 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16479 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16480 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16481 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16482 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16483 tcgetattr.
16484 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16485 __clock_gettime and __nanosleep instead of clock_gettime and
16486 nanosleep.
16487 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16488 __hurd_catch_signal.
16489 (hurd_catch_signal): New strong alias.
16490 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16491 __hurd_catch_signal instead of hurd_catch_signal.
16492 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16493 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16494 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16495 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16496 (_hurd_thread_sigstate): Add hidden def.
16497 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16498 mutex_unlock.
16499 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16500 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16501 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16502 __hurd_file_name_path_lookup.
16503 (hurd_file_name_path_lookup): New strong alias.
16504 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16505 hurd_file_name_path_lookup.
16506 * mach/errstring.c (mach_error_type): Add hidden def.
16507 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16508 * mach/mutex-init.c (__mutex_init): Add hidden def.
16509 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16510 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16511 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16512 * sysdeps/mach/hurd/getcwd.c
16513 (_hurd_canonicalize_directory_name_internal): Rename to
16514 __hurd_canonicalize_directory_name_internal.
16515 (_hurd_canonicalize_directory_name_internal): New strong alias.
16516 (__canonicalize_directory_name_internal, __getcwd): Call
16517 __hurd_canonicalize_directory_name_internal instead of
16518 _hurd_canonicalize_directory_name_internal.
16519 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16520 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16521 hidden defs.
16522 * sysdeps/hurd/include/hurd.h: New file.
16523 * sysdeps/hurd/include/hurd/fd.h: New file.
16524 * sysdeps/hurd/include/hurd/signal.h: New file.
16525 * sysdeps/mach/include/lock-intern.h: New file.
16526 * sysdeps/mach/include/mach.h: New file.
16527 * sysdeps/mach/include/mach/mig_support.h: New file.
16528 * sysdeps/mach/include/mach_error.h: New file.
16529 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16530 prototype.
16531 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16532 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16533 _HEADER_H_HIDDEN_DEF macro.
16534 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16535 _hurd_fd_error_signal): Add hidden prototype.
16536 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16537 hidden def.
16538 * libio/iolibio.h (_IO_puts): New hidden prototype.
16539 * libio/ioputs.c (_IO_puts): New hidden def.
16540 * sysdeps/mach/hurd/localplt.data: New file.
16541
16542 2018-04-02 Agustina Arzille <avarzille@riseup.net>
16543 Amos Jeffries <squid3@treenet.co.nz>
16544 David Michael <fedora.dm0@gmail.com>
16545 Marco Gerards <marco@gnu.org>
16546 Marcus Brinkmann <marcus@gnu.org>
16547 Neal H. Walfield <neal@gnu.org>
16548 Pino Toscano <toscano.pino@tiscali.it>
16549 Richard Braun <rbraun@sceen.net>
16550 Roland McGrath <roland@gnu.org>
16551 Samuel Thibault <samuel.thibault@ens-lyon.org>
16552 Thomas DiModica <ricinwich@yahoo.com>
16553 Thomas Schwinge <tschwinge@gnu.org>
16554
16555 * htl: New directory.
16556 * sysdeps/htl: New directory.
16557 * sysdeps/hurd/htl: New directory.
16558 * sysdeps/i386/htl: New directory.
16559 * sysdeps/mach/htl: New directory.
16560 * sysdeps/mach/hurd/htl: New directory.
16561 * sysdeps/mach/hurd/i386/htl: New directory.
16562 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16563 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16564 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16565
16566 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16567
16568 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16569 signals in thread created for runing timers.
16570
16571 2018-04-01 Florian Weimer <fweimer@redhat.com>
16572
16573 * support/support_format_addrinfo.c (support_format_addrinfo):
16574 Include unknown error number in formatted result.
16575
16576 2018-03-29 Florian Weimer <fweimer@redhat.com>
16577
16578 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16579 capture SIGBUS.
16580
16581 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16582
16583 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16584 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16585 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16586 (__ASSUME_CLONE_BACKWARDS): Define.
16587
16588 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16589
16590 [BZ #23024]
16591 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16592 early when linux sentinel value is set.
16593
16594 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16595
16596 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16597
16598 2018-03-27 Andreas Schwab <schwab@suse.de>
16599
16600 [BZ #23005]
16601 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16602 allocation of private copy of nsaddr_list fails.
16603
16604 2018-03-26 Joseph Myers <joseph@codesourcery.com>
16605
16606 [BZ #16552]
16607 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16608 * sysdeps/unix/sysv/linux/umount.c: ... here.
16609 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16610 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16611 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16612 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16614 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16615 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16616
16617 2018-03-26 Andreas Schwab <schwab@suse.de>
16618
16619 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16620 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16621 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16622 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16623 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16624 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16625 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16626 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16627 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16628 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16629 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16630 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16631 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16632 (R_RISCV_NUM): Define.
16633
16634 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16635
16636 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16637 TLS declaration of errno.
16638 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16639 __libc_setup_tls.
16640 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16641 (ARCH_SETUP_TLS): Likewise.
16642 * sysdeps/mach/hurd/libc-start.h: New file copied from
16643 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
16644 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16645 instead of __libc_setup_tls.
16646 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
16647 __libc_setup_tls before initializing libpthread and running _hurd_init
16648 which starts the signal thread.
16649 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16650 Declare function.
16651 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16652
16653 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16654
16655 [BZ #22998]
16656 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16657 after it is defined.
16658
16659 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16660 Max Horn <max@quendi.de>
16661
16662 [BZ #22644]
16663 CVE-2017-18269
16664 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16665 branch conditions.
16666 * string/test-memmove.c (do_test2): New testcase.
16667
16668 2018-03-22 Joseph Myers <joseph@codesourcery.com>
16669
16670 * sysdeps/generic/frame.h: Remove file.
16671 * sysdeps/arm/frame.h: Likewise.
16672 * sysdeps/hppa/frame.h: Likewise.
16673 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16674 macro.
16675 (GET_FRAME): Likewise.
16676 (GET_STACK): Likewise.
16677 (CALL_SIGHANDLER): Likewise.
16678 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16679 Likewise.
16680 (GET_FRAME): Likewise.
16681 (GET_STACK): Likewise.
16682 (CALL_SIGHANDLER): Likewise.
16683 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16684 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16685 (GET_FRAME): Likewise.
16686 (GET_STACK): Likewise.
16687 (CALL_SIGHANDLER): Likewise.
16688 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16689 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16690 (GET_FRAME): Likewise.
16691 (GET_STACK): Likewise.
16692 (ADVANCE_STACK_FRAME): Likewise.
16693 (CALL_SIGHANDLER): Likewise.
16694 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16695 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16696 (GET_FRAME): Likewise.
16697 (GET_STACK): Likewise.
16698 (CALL_SIGHANDLER): Likewise.
16699 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16700 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16701 (GET_FRAME): Likewise.
16702 (GET_STACK): Likewise.
16703 (CALL_SIGHANDLER): Likewise.
16704 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16705 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16706 (GET_FRAME): Likewise.
16707 (GET_STACK): Likewise.
16708 (CALL_SIGHANDLER): Likewise.
16709 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16710 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16711 (GET_FRAME): Likewise.
16712 (GET_STACK): Likewise.
16713 (CALL_SIGHANDLER): Likewise.
16714 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16715 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16716 (GET_FRAME): Likewise.
16717 (GET_STACK): Likewise.
16718 (CALL_SIGHANDLER): Likewise.
16719 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16720 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16721 (GET_FRAME): Likewise.
16722 (GET_STACK): Likewise.
16723 (CALL_SIGHANDLER): Likewise.
16724 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16725 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16726 (GET_FRAME): Likewise.
16727 (GET_STACK): Likewise.
16728 (CALL_SIGHANDLER): Likewise.
16729 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16730 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16731 (GET_FRAME): Likewise.
16732 (GET_STACK): Likewise.
16733 (CALL_SIGHANDLER): Likewise.
16734 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16735 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16736 (GET_FRAME): Likewise.
16737 (GET_STACK): Likewise.
16738 (CALL_SIGHANDLER): Likewise.
16739 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16740 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16741 (FIRST_FRAME_POINTER): Likewise.
16742 (ADVANCE_STACK_FRAME): Likewise.
16743 (GET_STACK): Likewise.
16744 (GET_FRAME): Likewise.
16745 (CALL_SIGHANDLER): Likewise.
16746 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16747 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16748 (ADVANCE_STACK_FRAME): Likewise.
16749 (GET_STACK): Likewise.
16750 (GET_FRAME): Likewise.
16751 (CALL_SIGHANDLER): Likewise.
16752 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16753 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16754 (GET_FRAME): Likewise.
16755 (GET_STACK): Likewise.
16756 (CALL_SIGHANDLER): Likewise.
16757 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16758 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16759 (GET_FRAME): Likewise.
16760 (GET_STACK): Likewise.
16761 (CALL_SIGHANDLER): Likewise.
16762
16763 2018-03-21 Joseph Myers <joseph@codesourcery.com>
16764
16765 * sysdeps/x86_64/backtrace.c: Move to ....
16766 * debug/backtrace.c: ... here.
16767 * sysdeps/aarch64/backtrace.c: Remove file.
16768 * sysdeps/alpha/backtrace.c: Likewise.
16769 * sysdeps/hppa/backtrace.c: Likewise.
16770 * sysdeps/ia64/backtrace.c: Likewise.
16771 * sysdeps/mips/backtrace.c: Likewise.
16772 * sysdeps/nios2/backtrace.c: Likewise.
16773 * sysdeps/riscv/backtrace.c: Likewise.
16774 * sysdeps/sh/backtrace.c: Likewise.
16775 * sysdeps/tile/backtrace.c: Likewise.
16776
16777 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16778
16779 [BZ #22987]
16780 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16781 function.
16782 (fdimf): Likewise.
16783 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16784
16785 [BZ #17343]
16786 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16787 possibly overflowing computations.
16788
16789 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16790
16791 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16792 values from Linux-specific section now that it is in the GNU section.
16793 * sysdeps/gnu/errlist.c: Regenerate.
16794
16795 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16796
16797 * math/Makefile (libm-narrow-fns): Add sub.
16798 (libm-test-funcs-narrow): Likewise.
16799 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16800 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16801 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16802 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16803 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16804 (NARROW_SUB_TRIVIAL): Likewise.
16805 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16806 macro.
16807 (__dsubl): Likewise.
16808 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16809 dsub.
16810 (CFLAGS-nldbl-dsub.c): New variable.
16811 (CFLAGS-nldbl-fsub.c): Likewise.
16812 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16813 __nldbl_dsubl.
16814 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16815 prototype.
16816 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16817 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16818 * math/auto-libm-test-in: Add tests of sub.
16819 * math/auto-libm-test-out-narrow-sub: New generated file.
16820 * math/libm-test-narrow-sub.inc: New file.
16821 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16822 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16823 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16824 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16825 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16826 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16827 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16828 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16829 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16830 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16831 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16832 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16833 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16835 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16836 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16837 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16838 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16840 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16841 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16842 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16843 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16844 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16845 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16846 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16847 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16848 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16849 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16850 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16851 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16852 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16857 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16858 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16859 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16860 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16861 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16862 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16863 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16864 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16865 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16866 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16867
16868 2018-03-19 Joseph Myers <joseph@codesourcery.com>
16869
16870 [BZ #20079]
16871 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16872
16873 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16874
16875 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16876
16877 2018-03-18 Richard Braun <rbraun@sceen.net>
16878
16879 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16880 thread reference.
16881
16882 2018-03-18 Agustina Arzille <avarzille@riseup.net>
16883
16884 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16885 (__libc_cleanup_fct): Define function.
16886 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16887 __libc_cleanup_end): Rewrite implementation using
16888 __attribute__ ((__cleanup__)).
16889 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
16890 * hurd/Makefile (routines): Add hurdlock.
16891 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16892 interface.
16893 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16894 * hurd/hurdpid.c: Include <lowlevellock.h>
16895 (_S_msg_proc_newids): Use lll_wait to synchronize.
16896 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16897 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16898 * mach/Makefile (lock-headers): Remove machine-lock.h.
16899 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16900 <machine-lock.h>.
16901 (__spin_lock_t): New type.
16902 (__SPIN_LOCK_INITIALIZER): New macro.
16903 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16904 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16905 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16906 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16907 (__mutex_init): Initialize with lll.
16908 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16909 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16910 needing lll.
16911 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16912 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16913 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16914 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16915 (__setpgid): Use lll for synchronization.
16916 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16917 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16918 instead of <cthreads.h>.
16919 (_IO_lock_inexpensive): New macro
16920 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16921 (__libc_lock_self0): New declaration.
16922 (__libc_lock_owner_self): New macro.
16923 (__libc_key_t): Remove type.
16924 (_LIBC_LOCK_INITIALIZER): New macro.
16925 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16926 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16927 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16928 __libc_lock_define_initialized_recursive,
16929 __rtld_lock_define_initialized_recursive,
16930 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16931 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16932 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16933 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16934 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16935 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16936 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16937 New macros.
16938 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16939 * hurd/hurdlock.c: New file.
16940 * hurd/hurdlock.h: New file.
16941 * mach/lowlevellock.h: New file
16942
16943 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16944
16945 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
16946 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16947 when opening a symlink with O_NOFOLLOW.
16948 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16949 path when flags contains O_NOFOLLOW.
16950 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16951 if flags contains O_DIRECTORY and the result is a directory.
16952 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16953 oneself when the pointer given in D is nul (as set by ext2fs).
16954 * sysdeps/mach/hurd/mlockall.c: New file.
16955 * sysdeps/mach/hurd/munlockall.c: New file.
16956
16957 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16958
16959 * hurd/hurdsig.c: Include <pthread.h>.
16960 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16961 get the signal thread stack layout.
16962 * hurd/Makefile (headers): Remove threadvar.h.
16963 (inline-headers): Remove threadvar.h.
16964 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16965 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16966 __hurd_threadvar_max, __hurd_errno_location.
16967 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16968 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16969 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16970 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16971 unless TLS is not initialized yet, in which case we do not need a
16972 critical section yet anyway.
16973 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16974 <machine-sp.h>.
16975 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16976 declarations.
16977 (__hurd_threadvar_index): Remove enum.
16978 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16979 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16980 inlines.
16981 (__hurd_reply_port0): New variable declaration.
16982 (__hurd_local_reply_port): New macro.
16983 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16984 (interrupted_reply_port_location): Add thread_t parameter. Use it
16985 with THREAD_TCB to access thread-local variables.
16986 (_hurdsig_abort_rpcs): Pass ss->thread to
16987 interrupted_reply_port_location.
16988 (_hurd_internal_post_signal): Likewise.
16989 (_hurdsig_init): Use presence of cthread_fork instead of
16990 __hurd_threadvar_stack_mask to start signal thread by hand.
16991 Remove signal thread threadvar initialization.
16992 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16993 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16994 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16995 of threadvar.
16996 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16997 __libc_lock_self0.
16998 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16999 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
17000 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
17001 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
17002 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
17003 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
17004 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
17005 define variables.
17006 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
17007 <hurd/threadvar.h>.
17008 [IS_IN(rtld)] (rtld_errno): New variable.
17009 [IS_IN(rtld)] (__errno_location): New weak function.
17010 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
17011 * sysdeps/mach/hurd/errno.c: Remove file.
17012 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
17013 (__fork): Remove THREADVAR_SPACE macro and its use.
17014 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
17015 variable.
17016 (init): Do not initialize threadvar.
17017 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
17018 symbol.
17019 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
17020 __hurd_local_reply_port instead of threadvar.
17021 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
17022 _hurd_sigstate fields.
17023 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
17024 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
17025 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
17026 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
17027 instead of threadvar.
17028 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
17029 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
17030 (use_threadvar, global_reply_port): Remove variables.
17031 (__hurd_reply_port0): New variable.
17032 (__mig_get_reply_port): Use __hurd_local_reply_port and
17033 __hurd_reply_port0 instead of threadvar.
17034 (__mig_dealloc_reply_port): Likewise.
17035 (__mig_init): Do not initialize threadvar.
17036 * sysdeps/mach/hurd/profil.c: Fix comment.
17037 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
17038 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
17039 cthread_keycreate, cthread_getspecific, cthread_setspecific to
17040 __cthread_fork, __cthread_detach, __pthread_getattr_np,
17041 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
17042 __cthread_setspecific.
17043 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
17044 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
17045 __cthread_t instead of cthread_fork, cthread_detach,
17046 pthread_getattr_np, pthread_attr_getstack.
17047 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
17048 __cthread_keycreate.
17049 (cthread_getspecific): Rename to __cthread_getspecific.
17050 (cthread_setspecific): Rename to __cthread_setspecific.
17051 (__libc_getspecific): Use __cthread_getspecific instead of
17052 cthread_getspecific.
17053 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
17054 __cthread_keycreate instead of cthread_keycreate.
17055 (__libc_setspecific): Use __cthread_setspecific instead of
17056 cthread_setspecific.
17057 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
17058 Likewise.
17059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
17060 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
17061 testing whether it is defined.
17062
17063 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17064
17065 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
17066 Define macro.
17067 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
17068 * sysdeps/mach/i386/thread_state.h
17069 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
17070 i386_THREAD_STATE.
17071 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
17072 i386_THREAD_STATE.
17073 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
17074
17075 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
17076 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
17077
17078 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
17079 macros.
17080 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
17081 descriptor instead of creating a new one.
17082 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
17083
17084 * mach/setup-thread.c: Include <ldsodefs.h>.
17085 (__mach_setup_thread): Call _dl_allocate_tls, pass
17086 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
17087 MACHINE_THREAD_STATE_FLAVOR, before getting
17088 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
17089 MACHINE_THREAD_STATE_FLAVOR with the result.
17090 * hurd/hurdfault.c (_hurdsig_fault_init): Call
17091 MACHINE_THREAD_STATE_FIX_NEW.
17092 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
17093 too. Add original thread parameter.
17094
17095 2018-03-16 Joseph Myers <joseph@codesourcery.com>
17096
17097 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
17098 Remove inline function.
17099
17100 * sysdeps/i386/fpu/libm-test-ulps: Update.
17101 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17102
17103 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
17104
17105 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
17106 commit.
17107
17108 2018-03-15 Joseph Myers <joseph@codesourcery.com>
17109
17110 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
17111 (__sincos_code): Remove define and undefine.
17112 [__FAST_MATH__] (__sincos): Remove inline function.
17113 [__FAST_MATH__] (__sincosf): Remove inline function.
17114 [__FAST_MATH__] (__sincosl): Remove inline function.
17115 (__atan2l): Remove inline functions.
17116 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
17117 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
17118 function.
17119 (floor): Remove inline function.
17120 (ceil): Likewise.
17121 [__FAST_MATH__] (__ldexp_code): Remove macro.
17122 [__FAST_MATH__] (ldexp): Remove inline function.
17123 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
17124 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
17125 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
17126 [__USE_ISOC99] (__lrint_code): Remove macro.
17127 [__USE_ISOC99] (__llrint_code): Likewise.
17128 [__USE_ISOC99] (lrintf): Remove inline function.
17129 [__USE_ISOC99] (lrint): Likewise.
17130 [__USE_ISOC99] (lrintl): Likewise.
17131 [__USE_ISOC99] (llrint): Likewise.
17132 [__USE_ISOC99] (llrintf): Likewise.
17133 [__USE_ISOC99] (llrintl): Likewise.
17134
17135 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17136
17137 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
17138 (__ieee754_sqrtf): Remove.
17139 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
17140 (__ieee754_sqrtf): Remove.
17141 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
17142 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17143 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
17144 (__ieee754_sqrtf): Remove.
17145 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
17146 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
17147 (sqrtf): Remove.
17148 (sqrtl): Remove.
17149 (__ieee754_sqrt): Remove.
17150 (__ieee754_sqrtf): Remove.
17151 (__ieee754_sqrtl): Remove.
17152 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17153 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
17154 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
17155 (__ieee754_sqrtf): Remove.
17156 (__ieee754_sqrtl): Remove.
17157
17158 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17159
17160 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17161 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17162 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17163 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17164 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17165 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17166 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17167 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17168 Likewise.
17169 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17170 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17171 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17172 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17173 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17174 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17175 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17176 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17177 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17178 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17179 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17180 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17181 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17182 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17183 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17184 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17185 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17186 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17187 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17188 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17191 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17192 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17193 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17194 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17195 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17196 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17197 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17198 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17199 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17200 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17201 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17202 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17203 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17204 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17205 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17206 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17207 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17208 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17209
17210 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17211
17212 * include/math.h (sqrt): Declare with asm redirect.
17213 (sqrtf): Likewise.
17214 (sqrtl): Likewise.
17215 (sqrtf128): Likewise.
17216 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17217 nonlib and libnldbl with -fmath-errno.
17218 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17219 * math/w_sqrt_template.c: Likewise.
17220 * math/w_sqrtf_compat.c: Likewise.
17221 * math/w_sqrtl_compat.c: Likewise.
17222 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17223 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17224 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17225 complex.h.
17226
17227 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17228
17229 * benchtests/Makefile: Define _ISOMAC.
17230 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17231 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17232 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17233 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17234 * benchtests/bench-timing.h: Define attribute_hidden.
17235
17236 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17237
17238 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17239 mov + lsr.
17240
17241 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17242
17243 [BZ #22963]
17244 * localedata/locales/cs_CZ (mon): Rename to...
17245 (alt_mon): This.
17246 (mon): Import from CLDR (genitive case).
17247
17248 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17249
17250 [BZ #22937]
17251 * localedata/locales/el_CY (abmon): Rename to...
17252 (ab_alt_mon): This.
17253 (abmon): Import from CLDR (abbreviated genitive case).
17254 * localedata/locales/el_GR (abmon): Rename to...
17255 (ab_alt_mon): This.
17256 (abmon): Import from CLDR (abbreviated genitive case).
17257
17258 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17259
17260 [BZ #22932]
17261 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17262
17263 2018-03-15 Robert Buj <robert.buj@gmail.com>
17264
17265 [BZ #22848]
17266 * localedata/locales/ca_ES (abmon): Rename to...
17267 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17268 (mon): Rename to...
17269 (alt_mon): This.
17270 (abmon): Import from CLDR (genitive case, month names preceded by
17271 "de" or "d’").
17272 (mon): Likewise.
17273 (abday): Synchronize with CLDR.
17274 (d_t_fmt): Likewise.
17275 (d_fmt): Likewise.
17276 (am_pm): Likewise.
17277
17278 (LC_TIME): Improve indentation.
17279 (LC_TELEPHONE): Likewise.
17280 (LC_NAME): Likewise.
17281 (LC_ADDRESS): Likewise.
17282
17283 2018-03-14 Joseph Myers <joseph@codesourcery.com>
17284
17285 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17286 (lrintf): Remove definitions used only with old GCC.
17287 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17288 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17289 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17290 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17291 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17292 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17293 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17294 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17295 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17296 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17297 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17298 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17299 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17300 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17301 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17302 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17303 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17304 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17305 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17306 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17307 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17308 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17309 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17310 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17311 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17312 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17313 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17314 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17315
17316 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17317
17318 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17319 instruction to unbreak builds with binutils 2.26 and older.
17320
17321 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17322
17323 * sysdeps/aarch64/strncmp.S (count): New macro.
17324 (strncmp): Store misaligned length in SRC1 in COUNT.
17325 (mutual_align): Adjust.
17326 (misaligned8): Load dword at a time when it is safe.
17327
17328 2018-03-12 Zack Weinberg <zackw@panix.com>
17329
17330 [BZ #1190]
17331 [BZ #19476]
17332 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17333 if the _IO_EOF_SEEN bit is already set; update commentary.
17334 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17335 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17336
17337 * support/support_openpty.c, support/tty.h: New files.
17338 * support/Makefile (libsupport-routines): Add support_openpty.
17339
17340 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17341 New test cases.
17342 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17343 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17344
17345 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17346
17347 * po/pt_BR.po: Update translations.
17348
17349 2018-03-12 David Michael <fedora.dm0@gmail.com>
17350
17351 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17352 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17353 get a port to the startup server.
17354
17355 2018-03-11 Zack Weinberg <zackw@panix.com>
17356
17357 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17358 before nldbl-compat.h.
17359
17360 2018-03-10 Zack Weinberg <zackw@panix.com>
17361
17362 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17363 math.h or math_private.h.
17364
17365 * sysdeps/alpha/fpu/s_isnan.c
17366 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17367 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17368 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17369 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17370 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17371 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17372 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17373 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17374 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17377 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17378 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17379 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17380 Include math_private.h.
17381
17382 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17383 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17384 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17385 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17386 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17387 * sysdeps/powerpc/power7/fpu/s_logb.c:
17388 Include math.h and math_private.h.
17389
17390 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17391 uses of $at in .set noat / .set at.
17392
17393 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17394
17395 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17396 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17397 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17398 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17399 Likewise.
17400
17401 2018-03-09 Florian Weimer <fweimer@redhat.com>
17402
17403 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17404 in comment.
17405
17406 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17407
17408 [BZ #22919]
17409 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17410 Add nop before __startcontext, add explaining comments.
17411
17412 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17413
17414 [BZ #22926]
17415 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17416 empty for __SPE__.
17417 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17418 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17419 Do not build hardware transactional code for __SPE__.
17420 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17421 (__lll_trylock_elision): Likewise.
17422 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17423 (__lll_unlock_elision): Likewise.
17424
17425 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
17426 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17427 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17428 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17429 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17430 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17431 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17432 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17433 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17434 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17435 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17436 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17437 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17438 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17439 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17440 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17441 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17442 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17443 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17444 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17445 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17446 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17447 (__ASSUME_CLONE_BACKWARDS): Define.
17448 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17449 __clone2 if __NR_clone2 is defined.
17450 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17451 (__ASSUME_CLONE_BACKWARDS): Likewise.
17452 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17453 (__ASSUME_CLONE_BACKWARDS): Likewise.
17454 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17455 (__ASSUME_CLONE2): Likewise.
17456 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17457 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17458 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17459 variants and the define architecture can use.
17460 (__ASSUME_CLONE_DEFAULT): Define as default.
17461 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17462 (__ASSUME_CLONE_BACKWARDS): Likewise.
17463 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17464 (__ASSUME_CLONE_BACKWARDS): Likewise.
17465 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17466 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17467
17468 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17469
17470 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17471
17472 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17473 time.
17474
17475 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17476 (do_test_limit): Likewise.
17477
17478 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17479 for every implementation.
17480 (do_test): Likewise.
17481
17482 * benchtests/bench-strncmp.c: Convert output to json.
17483
17484 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17485
17486 * io/futimens.c: Add missing start-of-file descriptive comment.
17487 * io/utime.c: Likewise.
17488 * misc/futimesat.c: Likewise.
17489 * misc/utimes.c: Likewise.
17490 * sysdeps/mach/hurd/futimesat.c: Likewise.
17491 * sysdeps/mach/hurd/utimes.c: Likewise.
17492 * sysdeps/posix/utime.c: Likewise.
17493 * sysdeps/posix/utimes.c: Likewise.
17494 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17495 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17496 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17497 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17498
17499 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17500
17501 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17502 hurd_futimes.
17503 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17504 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17505 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17506 (__futimens): Move implementation to...
17507 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17508 utime_tvalue_from_tspec): ... new helper functions.
17509 (hurd_futimens): New function.
17510 * sysdeps/mach/hurd/futimesat.c: New file.
17511 * sysdeps/mach/hurd/utimensat.c: New file.
17512
17513 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17514
17515 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17516 UTIME_OMIT): New macros.
17517 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17518 before reverting to converting time spec to time value and calling
17519 __file_utimes.
17520 * sysdeps/mach/hurd/utime-helper.c: New file.
17521 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17522 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17523 reverting to utime_tvalue_from_tval and __file_utimes.
17524 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17525 (__lutimes): Just call hurd_futimens after lookup.
17526 * sysdeps/mach/hurd/utimes.c: Likewise.
17527
17528 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17529
17530 * bits/sigaction.h: Add include guard.
17531 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17532 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17533 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17534 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17535 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17536 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17537 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17538 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17539 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17540
17541 2018-03-05 Joseph Myers <joseph@codesourcery.com>
17542
17543 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17544 -Wmaybe-uninitialized for -Os.
17545 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17546 this disabling.
17547
17548 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17549
17550 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17551 __INO_T_MATCHES_INO64_T is defined.
17552 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17553 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17554 of definition.
17555 * dirent/alphasort64.c: Likewise.
17556 * dirent/scandir.c: Likewise.
17557 * dirent/scandir64-tail.c: Likewise.
17558 * dirent/scandir64.c: Likewise.
17559 * dirent/scandirat.c: Likewise.
17560 * dirent/scandirat64.c: Likewise.
17561 * dirent/versionsort.c: Likewise.
17562 * dirent/versionsort64.c: Likewise.
17563 * include/dirent.h: Likewise.
17564
17565 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17566 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17567 for socketpair endpoint.
17568 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17569 WRITE_BUFFER_SIZE as buffer size for sending socket.
17570 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17571 issue on system where send is implemented with sendto syscall.
17572 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17573 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17574 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17575 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17576
17577 [BZ #21269]
17578 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17579 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17580 sa_restorer for vDSO case.
17581 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17582
17583 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17584
17585 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
17586 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17587 * hurd/hurd/ioctl.h: Include <mach/port.h>
17588 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
17589 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17590 <mach/mach_types.h> and <mach/message.h>.
17591 (headers): Move mach/param.h to bits/mach/param.h.
17592 * sysdeps/mach/i386/mach/param.h: Move file to ...
17593 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17594 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17595 of <mach/param.h>.
17596 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17597 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17598 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
17599 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17600 trivial, for C++ conformity.
17601 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
17602 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17603 Process mig output through $(migheadersed).
17604 * hurd/Makefile (migheadersed): Define variable.
17605 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17606 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17607 headers.
17608 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17609 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17610 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17611 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17612 <bits/types/sigset_t.h>.
17613 [!defined __USE_GNU]: Do not #error out.
17614 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17615 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17616 Include <stddef.h> and <bits/types/sigset_t.h>
17617 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17618 instead of sighandler_t.
17619 * stdlib/errno.h (error_t): Move definition to...
17620 * bits/types/error_t.h: ... new header.
17621 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17622 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17623 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17624 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17625 * hurd/hurd.h: Include <bits/types/error_t.h>
17626 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17627 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17628 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17629 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17630 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17631 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
17632 * sysdeps/mach/hurd/futimens.c: New file.
17633
17634 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17635
17636 [BZ #22918]
17637 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17638 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17639 * nscd/gai.c (__nss_hosts_database): Readd definition.
17640 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17641 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17642 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17643
17644 2018-03-02 Joseph Myers <joseph@codesourcery.com>
17645
17646 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17647 (ifunc_one): Likewise.
17648
17649 2018-03-01 DJ Delorie <dj@delorie.com>
17650
17651 [BZ #22342]
17652 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17653 key value.
17654
17655 2018-03-01 Maciej W. Rozycki <macro@mips.com>
17656
17657 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17658 `match_pid' parameter.
17659 (td_ta_thr_iter): Update accordingly.
17660
17661 2018-03-01 Florian Weimer <fweimer@redhat.com>
17662
17663 * nptl/Makefile (install-lib-ldscripts): Remove.
17664 (install): Remove rule.
17665 ($(inst_libdir)/libpthread.so): Likewise.
17666
17667 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17668
17669 [BZ #22896]
17670 * localedata/locales/an_ES: update month and day names,
17671 improve d_fmt, improve postal_fmt, add country_post,
17672 add country_isbn
17673
17674 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17675
17676 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17677 Ukrainian instead of Bulgarian.
17678
17679 2018-03-01 Florian Weimer <fweimer@redhat.com>
17680
17681 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17682 reference.
17683
17684 2018-03-01 Florian Weimer <fweimer@redhat.com>
17685
17686 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17687 * nptl/Makefile (routines): Add pthread_atfork.
17688 (static-only-routines): Set to pthread_atfork.
17689 (libpthread-routines): Remove pthread_atfork.
17690 (libpthread-static-only-routines): Remove.
17691 (install): Update comment.
17692 (libpthread.so): Do not install libpthread_nonshared.a.
17693 (tests): Do not link with libpthread_nonshared.a.
17694 (generated): Remove libpthread_nonshared.a.
17695 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17696 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17697 with libpthread_nonshared.a.
17698
17699 2018-02-28 Joseph Myers <joseph@codesourcery.com>
17700
17701 [BZ #22902]
17702 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17703 (libc_feholdexcept_setroundf128): New macro.
17704 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17705
17706 [BZ #15105]
17707 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17708 libc_hidden_def.
17709 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17710 * include/inttypes.h: New file.
17711
17712 2018-02-27 Joseph Myers <joseph@codesourcery.com>
17713
17714 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17715 -Os in two more places.
17716
17717 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17718
17719 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17720 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17721 be sorted correctly at the moment because of a bug.
17722
17723 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17724
17725 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17726 treat ñ as a primary different character, sync the collation
17727 for Spanish with CLDR.
17728 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17729 * localedata/Makefile: Add new test files.
17730 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17731 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17732 collation order.
17733 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17734 * localedata/am_ET.UTF-8.in: New test file.
17735 * localedata/az_AZ.UTF-8.in: Likewise.
17736 * localedata/be_BY.UTF-8.in: Likewise.
17737 * localedata/ber_DZ.UTF-8.in: Likewise.
17738 * localedata/ber_MA.UTF-8.in: Likewise.
17739 * localedata/bg_BG.UTF-8.in: Likewise.
17740 * localedata/br_FR.UTF-8.in: Likewise.
17741 * localedata/cmn_TW.UTF-8.in: Likewise.
17742 * localedata/crh_UA.UTF-8.in: Likewise.
17743 * localedata/csb_PL.UTF-8.in: Likewise.
17744 * localedata/cv_RU.UTF-8.in: Likewise.
17745 * localedata/cy_GB.UTF-8.in: Likewise.
17746 * localedata/dz_BT.UTF-8.in: Likewise.
17747 * localedata/eo.UTF-8.in: Likewise.
17748 * localedata/es_ES.UTF-8.in: Likewise.
17749 * localedata/fa_IR.UTF-8.in: Likewise.
17750 * localedata/fi_FI.UTF-8.in: Likewise.
17751 * localedata/fil_PH.UTF-8.in: Likewise.
17752 * localedata/fur_IT.UTF-8.in: Likewise.
17753 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17754 * localedata/ha_NG.UTF-8.in: Likewise.
17755 * localedata/ig_NG.UTF-8.in: Likewise.
17756 * localedata/ik_CA.UTF-8.in: Likewise.
17757 * localedata/kk_KZ.UTF-8.in: Likewise.
17758 * localedata/ku_TR.UTF-8.in: Likewise.
17759 * localedata/ky_KG.UTF-8.in: Likewise.
17760 * localedata/ln_CD.UTF-8.in: Likewise.
17761 * localedata/mi_NZ.UTF-8.in: Likewise.
17762 * localedata/ml_IN.UTF-8.in: Likewise.
17763 * localedata/mn_MN.UTF-8.in: Likewise.
17764 * localedata/mr_IN.UTF-8.in: Likewise.
17765 * localedata/mt_MT.UTF-8.in: Likewise.
17766 * localedata/nb_NO.UTF-8.in: Likewise.
17767 * localedata/om_KE.UTF-8.in: Likewise.
17768 * localedata/os_RU.UTF-8.in: Likewise.
17769 * localedata/ps_AF.UTF-8.in: Likewise.
17770 * localedata/ro_RO.UTF-8.in: Likewise.
17771 * localedata/ru_RU.UTF-8.in: Likewise.
17772 * localedata/sc_IT.UTF-8.in: Likewise.
17773 * localedata/se_NO.UTF-8.in: Likewise.
17774 * localedata/sq_AL.UTF-8.in: Likewise.
17775 * localedata/sv_SE.UTF-8.in: Likewise.
17776 * localedata/szl_PL.UTF-8.in: Likewise.
17777 * localedata/tg_TJ.UTF-8.in: Likewise.
17778 * localedata/tk_TM.UTF-8.in: Likewise.
17779 * localedata/tt_RU.UTF-8.in: Likewise.
17780 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17781 * localedata/ug_CN.UTF-8.in: Likewise.
17782 * localedata/uz_UZ.UTF-8.in: Likewise.
17783 * localedata/vi_VN.UTF-8.in: Likewise.
17784 * localedata/yi_US.UTF-8.in: Likewise.
17785 * localedata/yo_NG.UTF-8.in: Likewise.
17786 * localedata/zh_CN.UTF-8.in: Likewise.
17787 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17788 file and fix bugs in the collation.
17789 * localedata/locales/az_AZ: Likewise.
17790 * localedata/locales/be_BY: Likewise.
17791 * localedata/locales/ber_DZ: Likewise.
17792 * localedata/locales/ber_MA: Likewise.
17793 * localedata/locales/bg_BG: Likewise.
17794 * localedata/locales/br_FR: Likewise.
17795 * localedata/locales/br_FR@euro: Likewise.
17796 * localedata/locales/ca_ES: Likewise.
17797 * localedata/locales/cns11643_stroke: Likewise.
17798 * localedata/locales/crh_UA: Likewise.
17799 * localedata/locales/cs_CZ: Likewise.
17800 * localedata/locales/csb_PL: Likewise.
17801 * localedata/locales/cv_RU: Likewise.
17802 * localedata/locales/cy_GB: Likewise.
17803 * localedata/locales/da_DK: Likewise.
17804 * localedata/locales/dz_BT: Likewise.
17805 * localedata/locales/en_CA: Likewise.
17806 * localedata/locales/eo: Likewise.
17807 * localedata/locales/es_CU: Likewise.
17808 * localedata/locales/es_EC: Likewise.
17809 * localedata/locales/es_ES: Likewise.
17810 * localedata/locales/es_US: Likewise.
17811 * localedata/locales/et_EE: Likewise.
17812 * localedata/locales/fa_IR: Likewise.
17813 * localedata/locales/fi_FI: Likewise.
17814 * localedata/locales/fil_PH: Likewise.
17815 * localedata/locales/fur_IT: Likewise.
17816 * localedata/locales/gez_ER@abegede: Likewise.
17817 * localedata/locales/ha_NG: Likewise.
17818 * localedata/locales/hr_HR: Likewise.
17819 * localedata/locales/hsb_DE: Likewise.
17820 * localedata/locales/hu_HU: Likewise.
17821 * localedata/locales/ig_NG: Likewise.
17822 * localedata/locales/ik_CA: Likewise.
17823 * localedata/locales/is_IS: Likewise.
17824 * localedata/locales/iso14651_t1_pinyin: Likewise.
17825 * localedata/locales/kk_KZ: Likewise.
17826 * localedata/locales/ku_TR: Likewise.
17827 * localedata/locales/ky_KG: Likewise.
17828 * localedata/locales/ln_CD: Likewise.
17829 * localedata/locales/lt_LT: Likewise.
17830 * localedata/locales/lv_LV: Likewise.
17831 * localedata/locales/mi_NZ: Likewise.
17832 * localedata/locales/ml_IN: Likewise.
17833 * localedata/locales/mn_MN: Likewise.
17834 * localedata/locales/mr_IN: Likewise.
17835 * localedata/locales/mt_MT: Likewise.
17836 * localedata/locales/nb_NO: Likewise.
17837 * localedata/locales/om_KE: Likewise.
17838 * localedata/locales/os_RU: Likewise.
17839 * localedata/locales/pl_PL: Likewise.
17840 * localedata/locales/ps_AF: Likewise.
17841 * localedata/locales/ro_RO: Likewise.
17842 * localedata/locales/ru_RU: Likewise.
17843 * localedata/locales/ru_UA: Likewise.
17844 * localedata/locales/sc_IT: Likewise.
17845 * localedata/locales/se_NO: Likewise.
17846 * localedata/locales/si_LK: Likewise.
17847 * localedata/locales/sq_AL: Likewise.
17848 * localedata/locales/sv_FI: Likewise.
17849 * localedata/locales/sv_FI@euro: Likewise.
17850 * localedata/locales/sv_SE: Likewise.
17851 * localedata/locales/szl_PL: Likewise.
17852 * localedata/locales/tg_TJ: Likewise.
17853 * localedata/locales/ti_ER: Likewise.
17854 * localedata/locales/tk_TM: Likewise.
17855 * localedata/locales/tl_PH: Likewise.
17856 * localedata/locales/tr_TR: Likewise.
17857 * localedata/locales/tt_RU: Likewise.
17858 * localedata/locales/tt_RU@iqtelif: Likewise.
17859 * localedata/locales/ug_CN: Likewise.
17860 * localedata/locales/uk_UA: Likewise.
17861 * localedata/locales/uz_UZ: Likewise.
17862 * localedata/locales/uz_UZ@cyrillic: Likewise.
17863 * localedata/locales/vi_VN: Likewise.
17864 * localedata/locales/yi_US: Likewise.
17865 * localedata/locales/yo_NG: Likewise.
17866
17867 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17868
17869 * gen-locales.mk: Make test files which contain @ modifiers in their
17870 name work.
17871 * localedata/gen-locale.sh: Likewise.
17872
17873 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17874
17875 * posix/tst-fnmatch.input: Fix results for range expressions
17876 for non C locales.
17877 * posix/tst-regexloc.c: Do not use a range expression for
17878 de_DE.ISO-8859-1 locale.
17879
17880 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17881
17882 * posix/bug-regex5.c: Fix test case because with the new
17883 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17884 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17885 file.
17886
17887 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17888
17889 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17890 downloaded from ISO, the collation order of @-. and space has changed.
17891 Therefore, this test file needed to be adapted.
17892 * localedata/fr_CA.UTF-8.in: Likewise.
17893 * localedata/fr_FR.UTF-8.in: Likewise.
17894 * localedata/uk_UA.UTF-8.in: Likewise.
17895
17896 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17897
17898 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17899 order of ȥ in the new iso14651_t1_common file.
17900 * localedata/pl_PL.UTF-8.in: Likewise.
17901
17902 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17903
17904 * localedata/locales/iso14651_t1_common: Add sections for various
17905 scripts to the iso14651_t1_common file.
17906
17907 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17908
17909 * localedata/locales/iso14651_t1_common: Use the code point of a
17910 character in the fourth collation level instead of IGNORE for all
17911 entries which have IGNORE on all 4 levels.
17912
17913 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17914
17915 * localedata/locales/iso14651_t1_common: Add some convenient collation
17916 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17917 rules similar to those in CLDR.
17918
17919 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17920
17921 * localedata/locales/iso14651_t1_common: The new version of this
17922 file downloaded from ISO contained several syntax errors which
17923 are fixed by this patch.
17924
17925 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17926
17927 * localedata/locales/iso14651_t1_common: replace all <U.....>
17928 with <U000.....> because glibc understands only 4 digit or 8 digit
17929
17930 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17931
17932 * localedata/locales/iso14651_t1_common: Necessary changes
17933 to make the file downloaded from ISO usable by glibc.
17934
17935 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17936
17937 [BZ #14095]
17938 * localedata/locales/iso14651_t1_common: Update file to
17939 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17940
17941 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17942
17943 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17944 of <nptl/pthreadP.h>
17945 (thread_attr_compare): Move function to...
17946 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
17947 * sysdeps/nptl/timer_routines.h: ... new header.
17948 * sysdeps/mach/hurd/gai_misc.h: New file.
17949
17950 2018-02-26 Joseph Myers <joseph@codesourcery.com>
17951
17952 * string/strcoll_l.c: Include <libc-diag.h>.
17953 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17954 declarations of seq1 and seq2.
17955
17956 [BZ #15105]
17957 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17958 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17959
17960 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17961
17962 [BZ #22433]
17963 [BZ #22807]
17964 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17965 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17966 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17967 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17968 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17969 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17970
17971 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17972
17973 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17974 macros used in __ptrace_request.
17975
17976 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17977
17978 [BZ #22792]
17979 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17980 to $(CC).
17981 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17982 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17983 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17984 <tcb-offsets.h>.
17985
17986 2018-02-23 Joseph Myers <joseph@codesourcery.com>
17987
17988 [BZ #15105]
17989 * ctype/ctype.c (tolower): Use libc_hidden_def.
17990 (toupper): Likewise.
17991 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17992 [!_ISOMAC] (toupper): Likewise.
17993
17994 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17995
17996 * localedata/Makefile: Remove --quiet argument when
17997 installing locales
17998
17999 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18000
18001 [BZ #17438]
18002 * localedata/locales/pt_BR (LC_TIME): use / instead of -
18003 in d_fmt.
18004 * localedata/locales/pt_PT (LC_TIME): likewise
18005
18006 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18007
18008 [BZ #22646]
18009 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
18010 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
18011 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
18012
18013 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18014
18015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18016
18017 * nptl/Makefile (routines): Remove unregister-atfork.
18018 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
18019 (fork_handler_alloc): Remove function.
18020 (fork_handlers, fork_handler_init): New variables.
18021 (__fork_lock): Rename to atfork_lock.
18022 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
18023 to use a dynamic array to add/remove atfork handlers.
18024 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18025 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
18026 Remove declaration.
18027 (fork_handler): Remove next, refcntr, and need_signal member.
18028 (__run_fork_handler_type): New enum.
18029 (__run_fork_handlers): New prototype.
18030 * nptl/register-atfork.c: Remove file.
18031 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
18032
18033 * sysdeps/nptl/nptl-signals.h: Move to ...
18034 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
18035 comments.
18036 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
18037 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
18038 unnecessary check for SIGTIMER.
18039 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
18040 remove unnecessary removal of SIGTIMER.
18041 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
18042 include-signals.h rename.
18043 * nptl/pthreadP.h: Likewise.
18044 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
18045 __is_internal_signal instead of __nptl_is_internal_signal.
18046
18047 2018-02-22 Andrew Waterman <andrew@sifive.com>
18048
18049 [BZ # 22884]
18050 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
18051 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
18052 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
18053 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
18054
18055 2018-02-22 DJ Delorie <dj@delorie.com>
18056
18057 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
18058
18059 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
18060
18061 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
18062 do_misaligned, not misaligned8.
18063
18064 2018-02-22 Steve Ellcey <sellcey@cavium.com>
18065
18066 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18067 Add memcpy_thunderx2.
18068 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
18069 Increment to 4.
18070 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
18071 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
18072 and IS_THUNDERX2PA checks.
18073 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
18074 Use macro to set name appropriately.
18075 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
18076 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
18077 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
18078 New macro.
18079 (IS_THUNDERX2): New macro.
18080
18081 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
18082
18083 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18084
18085 2018-02-21 Zack Weinberg <zackw@panix.com>
18086
18087 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
18088 Define here, unconditionally.
18089 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
18090 * libio/libioP.h: Remove #if 0 blocks.
18091 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
18092 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
18093 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
18094
18095 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
18096 Assume weak_alias is always defined.
18097
18098 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
18099 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
18100 Remove #if 0 and #ifdef TODO blocks.
18101 Assume text_set_element is always defined.
18102
18103 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
18104 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
18105 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
18106
18107 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
18108 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
18109 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
18110 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
18111 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
18112 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
18113 Reformat bit flags for _flags field to make occupancy clearer.
18114 Update commentary.
18115 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
18116 Keep definitions consistent with those in libio/libio.h.
18117
18118 * libio/libio.h (_IO_file_flags): Remove macro.
18119 All uses changed to _flags.
18120
18121 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
18122 (__HAVE_COLUMN, _IO_BE): Don't define.
18123 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
18124 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
18125 * libio/libioP.h (EOF): Don't define.
18126 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
18127 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
18128 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
18129 testing _IO_UNIFIED_JUMPTABLES.
18130
18131 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
18132 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
18133 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
18134 (_IO_size_t): Delete; all uses changed to size_t.
18135 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
18136 (_IO_off_t): Delete; all uses changed to off_t.
18137 (_IO_off64_t): Delete; all uses changed to off64_t.
18138 (_IO_pid_t): Delete; all uses changed to pid_t.
18139 (_IO_uid_t): Delete; all uses changed to uid_t.
18140 (_IO_wint_t): Delete; all uses changed to wint_t.
18141 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
18142 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
18143 (_IO_cookie_io_functions_t): Delete; all uses changed to
18144 cookie_io_functions_t.
18145 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
18146 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
18147 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
18148 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
18149
18150 * libio/iofopncook.c: Remove unnecessary forward declarations.
18151 * libio/iolibio.h: Correct outdated commentary.
18152 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
18153 * stdio-common/fxprintf.c (__fxprintf_nocancel):
18154 Remove unnecessary casts.
18155 * stdio-common/getline.c: Use _IO_getdelim directly.
18156 Don't redefine ssize_t.
18157 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
18158 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
18159 Remove outdated comments.
18160 * stdio-common/vfscanf.c: Don't redefine va_list.
18161
18162 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18163 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18164 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18165 which are always true, and __cplusplus, which is always false.
18166
18167 2018-02-21 Joseph Myers <joseph@codesourcery.com>
18168
18169 [BZ #15105]
18170 [BZ #19463]
18171 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18172 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18173 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18174 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18175 libc_hidden_proto.
18176 [!_ISOMAC] (putc_unlocked): Likewise.
18177 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18178 define inline if [__USE_EXTERN_INLINES].
18179 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18180 putc_unlocked.
18181
18182 [BZ #15105]
18183 [BZ #19463]
18184 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18185 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18186 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18187 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18188 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18189 getc_unlocked.
18190 * time/tzfile.c (__tzfile_read): Likewise.
18191
18192 2018-02-21 Mike FABIAN <mfabian@redhat.com>
18193
18194 [BZ #22517]
18195 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18196
18197 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18198
18199 * io/fcntl.h: Fix a typo in a comment.
18200
18201 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18202
18203 [BZ #22862]
18204 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18205 define _DEFAULT_SOURCE.
18206 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18207
18208 2018-02-21 Florian Weimer <fweimer@redhat.com>
18209
18210 [BZ #20890]
18211 * elf/cache.c (save_cache): Call fsync on temporary file before
18212 renaming it.
18213 (save_aux_cache): Call fdatasync on temporary file before renaming
18214 it.
18215
18216 2018-02-21 Florian Weimer <fweimer@redhat.com>
18217
18218 [BZ #22787]
18219 * include/caller.h: Remove file.
18220 * elf/dl-caller.c: Likewise.
18221 * elf/Makefile (dl-routines): Remove dl-caller.
18222 (shared-only-routines): Do not add dl-caller.
18223 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18224 __check_caller.
18225 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18226 member.
18227 (dl_open_worker): Do not call __check_caller.
18228 (_dl_open): Do not set caller_dl_open member.
18229 * elf/rtld.c (_rtld_global_ro): Do not initialize
18230 _dl_check_caller member.
18231 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18232 _dl_check_caller member.
18233 (_dl_check_caller): Remove declaration.
18234 * sysdeps/unix/sysv/linux/dl-execstack.c
18235 (_dl_make_stack_executable): Do not call __check_caller.
18236
18237 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18238
18239 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
18240 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
18241
18242 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18243
18244 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18245 description.
18246
18247 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18248
18249 [BZ #16335]
18250 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18251 of 199606L, 200112L, and 200809L.
18252 (_XOPEN_SOURCE): Document special values of 600 and 700.
18253 (_ISOC11_SOURCE): Document macro.
18254 (_ATFILE_SOURCE): Likewise.
18255 (_FORTIFY_SOURCE): Likewise.
18256
18257 2018-02-19 Joseph Myers <joseph@codesourcery.com>
18258
18259 [BZ #15105]
18260 [BZ #19463]
18261 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18262 and define as weak alias of __ferror_unlocked. Use
18263 libc_hidden_weak.
18264 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18265 libc_hidden_proto.
18266 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18267 function if [__USE_EXTERN_INLINES].
18268 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18269 ferror_unlocked.
18270
18271 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
18272
18273 [BZ #6889]
18274 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18275
18276 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18277
18278 [BZ #22818]
18279 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18280 the GLIBC_2.1 version.
18281
18282 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18283
18284 [BZ #21508]
18285 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18286 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18287 intl/tst-gettext-de.po from po/de.po by removing the
18288 POT-Creation-Date line.
18289 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18290 ../po/de.po.
18291 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18292 ../po/de.po.
18293
18294 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18295
18296 * mach/Makefile (headers): Add mach/param.h.
18297 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18298 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
18299 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18300 (__ptsname_r): Move implementation to...
18301 (__ptsname_internal): ... new function. Add filling the STP
18302 structure.
18303
18304 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
18305
18306 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18307 idouble to 1 ULP.
18308
18309 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
18310
18311 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18312 syntax.
18313
18314 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18315
18316 * nptl/Makefile (tst-mutex8-ENV): Delete.
18317 * nptl/tst-mutex8.c (check_type):
18318 Add runtime check if mutex will be elided.
18319
18320 2018-02-15 Joseph Myers <joseph@codesourcery.com>
18321
18322 [BZ #20980]
18323 [BZ #21234]
18324 * manual/install.texi (Configuring and compiling): Describe
18325 passing CC and CFLAGS on configure command line, not as
18326 environment variables. Use @code markup on those variables.
18327 Specify what options go in CC and what go in CFLAGS. Note the
18328 requirement to compile with optimization.
18329 * INSTALL: Regenerated.
18330
18331 [BZ #18124]
18332 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18333 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18334 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18335 __sigprocmask instead of sigprocmask.
18336 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18337 Likewise.
18338 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18339 __sigsetjmp and sigprocmask.
18340
18341 [BZ #15105]
18342 * include/argz.h (argz_next): Use libc_hidden_proto.
18343 (__argz_next): Likewise.
18344 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18345 (argz_next): Use libc_hidden_weak.
18346
18347 [BZ #15105]
18348 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18349 libc_hidden_proto.
18350 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18351 libc_hidden_def.
18352
18353 [BZ #15105]
18354 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18355 libc_hidden_proto.
18356 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18357
18358 [BZ #15105]
18359 [BZ #19463]
18360 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18361 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18362 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18363 (__feof_unlocked): New declaration, and inline function if
18364 [__USE_EXTERN_INLINES].
18365 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18366 instead of feof_unlocked.
18367 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18368 * nss/nsswitch.c (nss_parse_file): Likewise.
18369 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18370 Likewise.
18371 * time/getdate.c (__getdate_r): Likewise.
18372 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18373 Define as macro to call __feof_unlocked.
18374
18375 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18376
18377 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18378
18379 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18380
18381 * math/Makefile: Remove mpexp.c and mplog.c
18382 * sysdeps/i386/fpu/mpexp.c: Delete file.
18383 * sysdeps/i386/fpu/mplog.c: Likewise.
18384 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18385 * sysdeps/ia64/fpu/mplog.c: Likewise.
18386 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18387 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18388 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18389 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18390 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18391 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18392 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18393 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18394 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18395 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18396 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18397 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18398 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18399 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18400 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18401 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18402
18403 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18404
18405 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18406
18407 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18408
18409 * sysdeps/sh/libm-test-ulps: Update.
18410
18411 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18412
18413 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18414 idouble to 1 ULP.
18415
18416 2018-02-12 Zack Weinberg <zackw@panix.com>
18417
18418 [BZ #19239]
18419 * posix/sys/types.h: Don't include sys/sysmacros.h.
18420 * misc/sys/sysmacros.h: Remove the conditional deprecation
18421 warnings for the macros defined by this header.
18422
18423 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18424
18425 * manual/probes.texi: Remove slowexp probes.
18426 * math/Makefile: Remove slowexp.
18427 * sysdeps/generic/math_private.h (__slowexp): Remove.
18428 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18429 document error bounds.
18430 * sysdeps/i386/fpu/slowexp.c: Remove.
18431 * sysdeps/ia64/fpu/slowexp.c: Remove.
18432 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18433 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18434 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18435 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18436 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18437 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18438 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18439 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18440 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18441 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18442 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18443
18444 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18445
18446 [BZ #13932]
18447 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18448 * benchtests/pow-inputs: Update comment for slow path cases.
18449 * manual/probes.texi (slowpow_p10): Delete removed probe.
18450 (slowpow_p10): Likewise.
18451 * math/Makefile: Remove halfulp.c and slowpow.c.
18452 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18453 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18454 (__halfulp): Remove.
18455 (__slowpow): Remove.
18456 * sysdeps/i386/fpu/halfulp.c: Delete file.
18457 * sysdeps/i386/fpu/slowpow.c: Likewise.
18458 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18459 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18460 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18461 improve comments and add error analysis.
18462 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18463 (power1): Remove function:
18464 (log1): Remove error argument, add error analysis.
18465 (my_log2): Remove function.
18466 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18467 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18468 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18469 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18470 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18471 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18472 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18473 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18474 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18475 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18476 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18477 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18478 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18479 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18480
18481 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18482
18483 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18484 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18485
18486 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18487
18488 [BZ #22433]
18489 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18490 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18491 and PTRACE_SETHBPREGS.
18492
18493 2018-02-10 Zack Weinberg <zackw@panix.com>
18494
18495 [BZ #22830]
18496 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18497 correctly.
18498 * malloc/tst-malloc-stats-cancellation.c: New test case.
18499 * malloc/Makefile: Add new test case.
18500
18501 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18502
18503 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18504
18505 2018-02-10 Joseph Myers <joseph@codesourcery.com>
18506
18507 * math/Makefile (libm-narrow-fns): Add add.
18508 (libm-test-funcs-narrow): Likewise.
18509 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18510 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18511 * math/gen-auto-libm-tests.c (test_functions): Add add.
18512 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18513 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18514 (NARROW_ADD_TRIVIAL): Likewise.
18515 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18516 macro.
18517 (__daddl): Likewise.
18518 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18519 dadd.
18520 (CFLAGS-nldbl-dadd.c): New variable.
18521 (CFLAGS-nldbl-fadd.c): Likewise.
18522 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18523 __nldbl_daddl.
18524 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18525 prototype.
18526 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18527 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18528 * math/auto-libm-test-in: Add tests of add.
18529 * math/auto-libm-test-out-narrow-add: New generated file.
18530 * math/libm-test-narrow-add.inc: New file.
18531 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18532 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18533 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18534 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18535 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18536 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18537 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18538 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18539 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18540 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18541 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18542 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18543 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18544 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18545 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18546 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18547 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18548 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18550 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18551 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18552 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18553 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18554 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18555 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18556 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18557 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18558 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18559 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18560 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18561 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18562 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18567 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18568 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18569 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18570 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18571 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18572 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18573 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18574 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18575 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18576 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18577
18578 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18579 (f128-pairs): New variable.
18580 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18581 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18582 to CFLAGS.
18583 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18584 Also make tests add $(f128-loader-link) to gnulib-tests.
18585
18586 2018-02-09 DJ Delorie <dj@redhat.com>
18587
18588 [BZ #22827]
18589 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18590 64-bit ELF type for 64-bit ELF objects.
18591
18592 2018-02-09 Joseph Myers <joseph@codesourcery.com>
18593
18594 * math/libm-test-driver.c (snan_tests_arg): New variable.
18595 * math/libm-test-support.h (snan_tests_arg): New declaration.
18596 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18597
18598 * math/Makefile (test-type-pairs): New variable.
18599 (test-type-pairs-f64xf128-yes): Likewise.
18600 (tests): Add test-narrow-macros.
18601 (libm-test-funcs-narrow): New variable.
18602 (libm-test-c-narrow): Likewise.
18603 (generated): Add $(libm-test-c-narrow).
18604 (libm-tests-base-narrow): New variable.
18605 (libm-tests-narrow): Likewise.
18606 (libm-tests): Add $(libm-tests-narrow).
18607 (libm-tests-for-type): Handle $(libm-tests-narrow).
18608 (libm-test-c-narrow-obj): New variable.
18609 ($(libm-test-c-narrow-obj)): New rule.
18610 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18611 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18612 $(o-iterator) to set dependencies and CFLAGS.
18613 * math/gen-auto-libm-tests.c: Document use for narrowing
18614 functions.
18615 (output_for_one_input_case): Take argument NARROW.
18616 (generate_output): Likewise. Update call to
18617 output_for_one_input_case.
18618 (main): Take --narrow option. Update call to generate_output.
18619 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18620 (apply_lit): Update call to _apply_lit.
18621 (apply_arglit): New function.
18622 (parse_args): Handle "a" arguments.
18623 (parse_auto_input): Handle format names using ":".
18624 * math/README.libm-test: Document "a" parameter type.
18625 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18626 (ARG_TYPE_TRUE_MIN): Likewise.
18627 (ARG_TYPE_MAX): Likwise.
18628 (ARG_MIN_EXP): Likewise.
18629 (ARG_MAX_EXP): Likewise.
18630 (ARG_MANT_DIG): Likewise.
18631 (TEST_COND_arg_ibm128): Likewise.
18632 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18633 (TEST_COND_arg_fmt): New macro.
18634 (init_max_error): Update prototype.
18635 * math/libm-test-support.c (test_ibm128): New variable.
18636 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18637 instead of using [TEST_COND_ibm128] conditional.
18638 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18639 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18640 [TEST_NARROW] (TEST_MSG): New definition.
18641 (arg_plus_zero): New macro.
18642 (arg_minus_zero): Likewise.
18643 (arg_plus_infty): Likewise.
18644 (arg_minus_infty): Likewise.
18645 (arg_qnan_value_pl): Likewise.
18646 (arg_qnan_value): Likewise.
18647 (arg_snan_value_pl): Likewise.
18648 (arg_snan_value): Likewise.
18649 (arg_max_value): Likewise.
18650 (arg_min_value): Likewise.
18651 (arg_min_subnorm_value): Likewise.
18652 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18653 (RUN_TEST_LOOP_aa_f): New macro.
18654 (TEST_SUFF): New macro.
18655 (TEST_SUFF_STR): Likewise.
18656 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18657 (TEST_COND_any_ibm128): New macro.
18658 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18659 this_func. Update call to init_max_error.
18660 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18661 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18662 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18663 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18664 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18665 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18666 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18667 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18668 * math/test-math-vector.h (TEST_NARROW): Likewise.
18669 * math/test-arg-double.h: New file.
18670 * math/test-arg-float128.h: Likewise.
18671 * math/test-arg-float32x.h: Likewise.
18672 * math/test-arg-float64.h: Likewise.
18673 * math/test-arg-float64x.h: Likewise.
18674 * math/test-arg-ldouble.h: Likewise.
18675 * math/test-math-narrow.h: Likewise.
18676 * math/test-narrow-macros.c: Likewise.
18677 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18678 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18679 test-narrow-macros-ldbl-64.
18680 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18681
18682 * math/bits/mathcalls-narrow.h: New file.
18683 * include/bits/mathcalls-narrow.h: Likewise.
18684 * math/math-narrow.h: Likewise.
18685 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18686 (__MATHCALL_NARROW_ARGS_2): Likewise.
18687 (__MATHCALL_NARROW_ARGS_3): Likewise.
18688 (__MATHCALL_NARROW_NORMAL): Likewise.
18689 (__MATHCALL_NARROW_REDIR): Likewise.
18690 (__MATHCALL_NARROW): Likewise.
18691 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18692 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18693 defined.
18694 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18695 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18696 (libm-narrow-fns): New variable.
18697 (libm-narrow-types-basic): Likewise.
18698 (libm-narrow-types-ldouble-yes): Likewise.
18699 (libm-narrow-types-float128-yes): Likewise.
18700 (libm-narrow-types-float128-alias-yes): Likewise.
18701 (libm-narrow-types): Likewise.
18702 (libm-routines): Add narrowing functions.
18703 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18704 (libc_feholdexcept_setroundf128): New macro.
18705 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18706 * sysdeps/ieee754/float128/float128_private.h: Include
18707 <math/math-narrow.h>.
18708 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18709 Undefine and redefine.
18710 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18711 (libm_alias_float_ldouble): Undefine and redefine.
18712 (libm_alias_double_ldouble): Likewise.
18713
18714 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18715
18716 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18717
18718 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18719 FPCR/FPSR.
18720
18721 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
18722
18723 * manual/creature.texi: Convert references to gcc.info to gcc.
18724 * manual/stdio.texi: Likewise.
18725 * manual/string.texi: Likewise.
18726
18727 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18728
18729 [BZ #17979]
18730 * posix/bits/types.h (__int_least8_t): New typedef.
18731 (__uint_least8_t): Likewise.
18732 (__int_least16_t): Likewise.
18733 (__uint_least16_t): Likewise.
18734 (__int_least32_t): Likewise.
18735 (__uint_least32_t): Likewise.
18736 (__int_least64_t): Likewise.
18737 (__uint_least64_t): Likewise.
18738 * sysdeps/generic/stdint.h (int_least8_t): Define using
18739 __int_least8_t.
18740 (int_least16_t): Define using __int_least16_t.
18741 (int_least32_t): Define using __int_least32_t.
18742 (int_least64_t): Define using __int_least64_t.
18743 (uint_least8_t): Define using __uint_least8_t.
18744 (uint_least16_t): Define using __uint_least16_t.
18745 (uint_least32_t): Define using __uint_least32_t.
18746 (uint_least64_t): Define using __uint_least64_t.
18747 * wcsmbs/uchar.h: Include <bits/types.h>.
18748 (char16_t): Define using __uint_least16_t conditional only on
18749 [!__USE_ISOCXX11].
18750 (char32_t): Define using __uint_least32_t conditional only on
18751 [!__USE_ISOCXX11].
18752 * wcsmbs/test-char-types.c: New file.
18753 * wcsmbs/Makefile (tests): Add test-char-types.
18754
18755 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18756 version to 4.0.1.
18757
18758 2018-02-07 Zack Weinberg <zackw@panix.com>
18759
18760 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18761 Delete all contents except for definitions of _G_HAVE_MMAP and
18762 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18763 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18764 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18765 change as above.
18766
18767 * libio/libio.h: Don't include bits/_G_config.h here.
18768 Include stddef.h with __need_wchar_t defined. Include
18769 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18770 Define _IO_iconv_t here, directly.
18771 Don't define _IO_HAVE_ST_BLKSIZE.
18772 * libio/libioP.h: Include _G_config.h here. Move include of
18773 shlib-compat.h up with rest of includes. Simplify conditionals
18774 controlling definition of _IO_JUMPS_OFFSET.
18775
18776 * csu/init.c: Remove always-true #if around entire file.
18777 Don't include stdio.h. Set _IO_stdin_used to hardwired
18778 constant 0x20001, and update commentary.
18779 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18780 Replace all uses of _G_va_list with __gnuc_va_list.
18781 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18782 instead of #if _IO_HAVE_ST_BLKSIZE.
18783 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18784 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18785 not #ifdef.
18786
18787 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18788 multiple-include guard to match.
18789 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18790 into this file.
18791 Remove preprocessor conditionals that are always true and/or
18792 redundant to other preprocessor conditionals in the same nest.
18793 Include shlib-compat.h unconditionally.
18794 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18795 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18796 defined after including stdio.h.
18797 Use __BEGIN_DECLS/__END_DECLS.
18798
18799 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18800 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18801 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18802
18803 2018-02-07 Zack Weinberg <zackw@panix.com>
18804
18805 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18806 New single-type headers split from _G_config.h.
18807 * libio/bits/types/cookie_io_functions_t.h
18808 * libio/bits/types/struct_FILE.h
18809 New single-type headers split from libio.h.
18810
18811 * libio/Makefile: Install the above new headers. Don't install
18812 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18813 bits/libio-ldbl.h.
18814 * libio/_G_config.h, libio/libio.h: Delete file.
18815
18816 * libio/bits/libio.h: Remove improper-inclusion guard.
18817 Include stdio.h and don't repeat anything that it does.
18818 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18819 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18820 __io_read_fn as cookie_read_function_t,
18821 __io_write_fn as cookie_write_function_t,
18822 __io_seek_fn as cookie_seek_function_t,
18823 __io_close_fn as cookie_close_function_t,
18824 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18825 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18826 here, in the "compatibility defines" section. Remove an #if 0
18827 block. Use the "body" macros from bits/types/struct_FILE.h to
18828 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18829 and _IO_ferror_unlocked.
18830 Move prototypes of __uflow and __overflow...
18831
18832 * libio/stdio.h: ...here. Don't include bits/libio.h.
18833 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
18834 directly from stdarg.h. Include bits/types/__fpos_t.h,
18835 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18836 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18837 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18838 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18839 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18840 __ssize_t, not _IO_ssize_t. Unconditionally define
18841 BUFSIZ as 8192 and EOF as (-1).
18842
18843 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18844 macros from bits/types/struct_FILE.h instead of _IO_* macros
18845 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18846 instead of _IO_ssize_t.
18847 * libio/bits/stdio2.h: Similarly.
18848
18849 * libio/iolibio.h: Add multiple-include guard.
18850 Include bits/libio.h after stdio.h.
18851 * libio/libioP.h: Add multiple-include guard.
18852 Include stdio.h and bits/libio.h before iolibio.h.
18853
18854 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
18855 * include/bits/types/cookie_io_functions_t.h
18856 * include/bits/types/struct_FILE.h: New wrappers.
18857
18858 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
18859 Get definitions of _G_fpos_t and _G_fpos64_t from
18860 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18861 respectively. Remove improper-inclusion guards.
18862
18863 * conform/data/stdio.h-data: Update expectations of va_list.
18864 * scripts/check-installed-headers.sh: Remove special case for
18865 libio.h and _G_config.h.
18866
18867 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18868
18869 [BZ #15105]
18870 [BZ #19463]
18871 * include/sys/sysmacros.h [!_ISOMAC]
18872 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18873 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18874 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18875 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18876 libc_hidden_proto.
18877 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18878 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18879 Likewise.
18880 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18881 Undefine and redefine to add use __gnu_dev_ prefix.
18882 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18883 Likewise.
18884 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18885 and define as hidden inline function.
18886 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18887 Likewise.
18888 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18889 Likewise.
18890 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18891 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18892 (gnu_dev_minor): Likewise.
18893 (gnu_dev_makedev): Likewise.
18894 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18895 makedev.
18896 * posix/wordexp.c (exec_comm_child): Likewise.
18897 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18898 instead of minor and __gnu_dev_major instead of major.
18899 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18900 __gnu_dev_major instead of major.
18901 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18902 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18903 instead of gnu_dev_minor.
18904 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18905 (SLAVE_P): Likewise.
18906 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18907 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18908 instead of major.
18909
18910 [BZ #21313]
18911 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18912 in another place.
18913 * locale/weightwc.h (findidx): Likewise.
18914
18915 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18916
18917 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18918 (slowlog_inexact): Likewise
18919 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18920 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18921
18922 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18923
18924 [BZ #22797]
18925 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18926 missing second underscore to parameter name.
18927
18928 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18929
18930 [BZ #14508]
18931 [BZ #15512]
18932 [BZ #17082]
18933 [BZ #20530]
18934 * bits/byteswap.h: Update file comment. Do not include
18935 <bits/byteswap-16.h>.
18936 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18937 constant.
18938 (__bswap_16): Define as inline function.
18939 (__bswap_constant_32): Reformat definition.
18940 (__bswap_32): Always define as inline function, not macro, using
18941 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18942 otherwise __bswap_constant_32.
18943 (__bswap_constant_64): Reformat definition. Do not use
18944 __extension__ here.
18945 (__bswap_64): Always define as inline function, not macro. Use
18946 __extension__ on function definition. Use __builtin_bswap64 if
18947 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18948 * string/test-endian-file-scope.c: New file.
18949 * string/test-endian-sign-conversion.c: Likewise.
18950 * string/Makefile (headers): Remove bits/byteswap-16.h.
18951 (tests): Add test-endian-file-scope and
18952 test-endian-sign-conversion.
18953 (CFLAGS-test-endian-sign-conversion.c): New variable.
18954 * bits/byteswap-16.h: Remove file.
18955 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18956 * sysdeps/ia64/bits/byteswap.h: Likewise.
18957 * sysdeps/m68k/bits/byteswap.h: Likewise.
18958 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18959 * sysdeps/s390/bits/byteswap.h: Likewise.
18960 * sysdeps/tile/bits/byteswap.h: Likewise.
18961 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18962 * sysdeps/x86/bits/byteswap.h: Likewise.
18963
18964 [BZ #17721]
18965 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18966 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18967 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18968 199901L] (__restrict): Define to restrict.
18969
18970 [BZ #19667]
18971 * string/testcopy.c: Include <support/support.h>. Do not include
18972 <malloc.h>. Use <support/test-driver.c>.
18973 (main): Rename to do_test. Make static. Use xmalloc instead of
18974 malloc.
18975
18976 [BZ #13575]
18977 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18978 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18979 (SSIZE_MAX): Define to INT_MAX.
18980 * posix/test-ssize-max.c: New file.
18981 * posix/Makefile (tests): Add test-ssize-max.
18982
18983 [BZ #19668]
18984 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18985 <support/support.h>. Do not include <malloc.h>.
18986 (query_auxv): Use xmalloc instead of malloc.
18987
18988 [BZ #14553]
18989 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18990 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18991 instead of loff_t.
18992
18993 2018-02-06 Florian Weimer <fweimer@redhat.com>
18994
18995 [BZ #18023]
18996 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18997 Use scratch_buffer instead of extend_alloca.
18998
18999 2018-02-06 Zack Weinberg <zackw@panix.com>
19000
19001 * libio/stdio.h: Don't define getc or putc as macros.
19002 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
19003 not _IO_getc and _IO_putc.
19004
19005 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
19006 * stdio-common/tstgetln.c: Don't redefine ssize_t.
19007
19008 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19009
19010 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
19011 (TCP_FASTOPEN_NO_COOKIE): Likewise.
19012
19013 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
19014
19015 [BZ #14890]
19016 * elf/elf.h (NT_PRFPREG): New macro.
19017 (NT_S390_VXRS_LOW): Likewise.
19018 (NT_S390_VXRS_HIGH): Likewise.
19019 (NT_S390_GS_CB): Likewise.
19020 (NT_S390_GS_BC): Likewise.
19021 (NT_S390_RI_CB): Likewise.
19022
19023 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
19024 (MAP_SYNC): New macro.
19025 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
19026 Likewise.
19027 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
19028 (MAP_SYNC): Likewise.
19029 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
19030 (MAP_SYNC): Likewise.
19031 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
19032 (MAP_SYNC): Likewise.
19033 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
19034 (MAP_SYNC): Likewise.
19035 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
19036 (MAP_SYNC): Likewise.
19037 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
19038 (MAP_SYNC): Likewise.
19039 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
19040 Likewise.
19041 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
19042 Likewise.
19043
19044 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
19045 (MAP_SHARED_VALIDATE): New macro.
19046 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19047 (MAP_SHARED_VALIDATE): Likewise.
19048
19049 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19050
19051 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
19052 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
19053 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19054
19055 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19056
19057 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
19058 (DT_NUM): Updated to 35.
19059
19060 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19061
19062 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
19063 __builtin_expect with __glibc_likely and __glibc_unlikely.
19064 (elf_machine_rela): Likewise.
19065 (elf_machine_lazy_rel): Likewise.
19066
19067 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19068
19069 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
19070 __builtin_expect with __glibc_likely and __glibc_unlikely.
19071 (elf_machine_lazy_rel): Likewise.
19072
19073 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19074
19075 [BZ #22638]
19076 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
19077 SHARED.
19078 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
19079
19080 2018-02-05 Andreas Schwab <schwab@suse.de>
19081
19082 [BZ #22761]
19083 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
19084 string.
19085
19086 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19087
19088 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
19089 not check against PTHREAD_STACK_MIN.
19090
19091 2018-02-02 Sean McKean <smckean83@gmail.com>
19092
19093 [BZ #22735]
19094 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
19095
19096 2018-02-02 Florian Weimer <fweimer@redhat.com>
19097
19098 [BZ #22753]
19099 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
19100 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
19101 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
19102 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
19103 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
19104 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
19105 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
19106 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
19107 * manual/llio.texi (Scatter-Gather): Mention offset -1.
19108 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
19109 * misc/tst-preadvwritev2.c (do_test): Call it.
19110 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
19111
19112 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
19113
19114 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
19115
19116 * benchtests/bench-memcmp.c: Print json instead of plain text.
19117
19118 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
19119 every test run.
19120
19121 2018-02-01 Joseph Myers <joseph@codesourcery.com>
19122
19123 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19124 version to 4.15.
19125 (s390_sthyi): New syscall.
19126
19127 * sysdeps/generic/ldbl-classify-compat.h: New file.
19128 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
19129 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
19130 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
19131 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
19132 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
19133 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
19134 * sysdeps/ieee754/dbl-64/s_finite.c: Include
19135 <ldbl-classify-compat.h>.
19136 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19137 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
19138 <ldbl-classify-compat.h>.
19139 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19140 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
19141 <ldbl-classify-compat.h>.
19142 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19143 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
19144 <ldbl-classify-compat.h>.
19145 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19146 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
19147 <ldbl-classify-compat.h>.
19148 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19149 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
19150 <ldbl-classify-compat.h>.
19151 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19152 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
19153 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19154 * sysdeps/m68k/coldfire/math_private.h: Remove file.
19155 * sysdeps/microblaze/math_private.h: Likewise.
19156 * sysdeps/nios2/math_private.h: Likewise.
19157 * sysdeps/sh/math_private.h: Likewise.
19158
19159 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
19160 * sysdeps/m68k/coldfire/math_private.h: ... here.
19161 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19162 * sysdeps/tile/math_private.h: Likewise.
19163 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19164 Remove macro.
19165 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19166 Likewise.
19167
19168 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19169 Remove macro.
19170 (libc_fetestexcept): Likewise.
19171 (libc_feupdateenv_test): Likewise.
19172 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19173 (libc_fetestexcept): Likewise.
19174 (libc_feupdateenv_test): Likewise.
19175 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19176 (libc_fetestexcept): Likewise.
19177 (libc_feupdateenv_test): Likewise.
19178 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19179 (libc_fetestexcept): Likewise.
19180 (libc_feupdateenv_test): Likewise.
19181
19182 * sysdeps/generic/math_private.h
19183 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19184 New inline function.
19185 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19186 Likewise.
19187
19188 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19189 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19190 * sysdeps/generic/math_private.h
19191 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19192 inline function.
19193 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19194 Likewise.
19195 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19196 Likewise.
19197 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19198 Likewise.
19199 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19200 Likewise.
19201 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19202 Likewise.
19203 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19204 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19205 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19206 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19207 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19208 (__fegetenv): Likewise.
19209 (fesetenv): Likewise.
19210 (__fesetenv): Likewise.
19211 (feupdateenv): Likewise.
19212 (__feupdateenv): Likewise.
19213 (fegetround): Likewise.
19214 (__fegetround): Likewise.
19215 (fesetround): Likewise.
19216 (__fesetround): Likewise.
19217
19218 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19219 (feraiseexcept): New macro.
19220 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19221 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19222 Remove macro.
19223 (__feraiseexcept): Likewise.
19224 (feclearexcept): Likewise.
19225 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19226 (__feraiseexcept): Likewise.
19227 (feclearexcept): Likewise.
19228 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19229 (__feraiseexcept): Likewise.
19230 (feclearexcept): Likewise.
19231 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19232 (__feraiseexcept): Likewise.
19233 (feclearexcept): Likewise.
19234 (fetestexcept): Likewise.
19235
19236 * sysdeps/m68k/coldfire/math-tests.h: New file.
19237
19238 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19239 * sysdeps/m68k/bits/fenv.h: ... here.
19240 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19241 not define.
19242 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19243 Likewise.
19244 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19245 Likewise.
19246 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19247 Likewise.
19248 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19249 Likewise.
19250 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19251 Define to 0.
19252 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19253 (__FE_UNDEFINED): New enum constant.
19254 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19255 Do not define.
19256 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19257 Likewise.
19258 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19259 Likewise.
19260 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19261 to match generic bits/fenv.h.
19262 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19263 Do not define.
19264
19265 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19266 packed on bits.
19267 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19268 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19269 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19270 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19271
19272 2018-02-01 Carlos O'Donell <carlos@redhat.com>
19273 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19274 Joseph Myers <joseph@codesourcery.com>
19275
19276 [BZ #21314]
19277 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19278 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19279 computation using c.
19280 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19281 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19282 computation using c.
19283
19284 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19285
19286 * version.h (RELEASE): Set to "development".
19287 (VERSION): Set to "2.27.9000".
19288 * NEWS (2.28): New section.
19289
19290 * version.h (RELEASE): Set to "stable".
19291 (VERSION): Set to "2.27".
19292 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19293
19294 * NEWS: Add the list of bugs fixed in 2.27.
19295
19296 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19297
19298 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19299 against PTHREAD_STACK_MIN.
19300
19301 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19302
19303 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19304 New entries.
19305 (Rafal Luzynski, Andreas Schwab): Update.
19306
19307 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19308
19309 [BZ #10871]
19310 * NEWS: List the languages which actually use the alternative
19311 months feature in this release. Also explain that "alt_mon" and
19312 "ab_alt_mon" are optional.
19313
19314 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19315
19316 [BZ #22765]
19317 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19318
19319 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19320
19321 * manual/install.texi (Tools for Compilation): Update the newest
19322 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19323 * INSTALL: Regenerated.
19324
19325 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19326
19327 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19328 instead of __builtin_expect.
19329
19330 2018-01-30 Florian Weimer <fweimer@redhat.com>
19331
19332 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19333 data.
19334 * nss/tst-nss-getpwent.c (do_test): Likewise.
19335
19336 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19337
19338 [BZ #10871]
19339 * localedata/locales/hr_HR (mon): Rename to...
19340 (alt_mon): This.
19341 (mon): Import from CLDR (genitive case).
19342 (d_t_fmt): Update the comment.
19343
19344 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19345
19346 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19347 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19348 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19349
19350 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19351
19352 * mach/Versions: Fix version when __mach_host_self_ was added.
19353 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19354 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19355 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19356 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19357 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19358 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19359 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19360 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19361 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19362 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19363 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19364 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
19365 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19366 || to respect codestyle.
19367 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19368 (do_test_bz20181): Rename accordingly.
19369 * malloc/malloc.c: Include <assert.h>.
19370 (assert): Do not define.
19371 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
19372 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19373 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
19374 * sysdeps/mach/hurd/hp-timing.h: New file.
19375 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
19376
19377 2018-01-29 Darius Rad <darius@bluespec.com>
19378
19379 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19380
19381 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
19382
19383 * sysdeps/init_array/crti.S (.section .init_array): Add
19384 PREINIT_FUNCTION when defined.
19385 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
19386 * config.h.in: Regenerate.
19387 * manual/platform.texi: Add RISC-V documenation for
19388 __riscv_flush_icache.
19389 * sysdeps/riscv/__longjmp.S: New file.
19390 * sysdeps/riscv/backtrace.c: Likewise.
19391 * sysdeps/riscv/bits/endian.h: Likewise.
19392 * sysdeps/riscv/bits/setjmp.h: Likewise.
19393 * sysdeps/riscv/bits/wordsize.h: Likewise.
19394 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19395 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19396 * sysdeps/riscv/dl-trampoline.S: Likewise.
19397 * sysdeps/riscv/gccframe.h: Likewise.
19398 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19399 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19400 * sysdeps/riscv/machine-gmon.h: Likewise.
19401 * sysdeps/riscv/memusage.h: Likewise.
19402 * sysdeps/riscv/setjmp.S: Likewise.
19403 * sysdeps/riscv/sys/asm.h: Likewise.
19404 * sysdeps/riscv/tls-macros.h: Likewise.
19405 * sysdeps/riscv/dl-tls.h: New file.
19406 * sysdeps/riscv/libc-tls.c: Likewise.
19407 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19408 * sysdeps/riscv/nptl/tls.h: Likewise.
19409 * sysdeps/riscv/stackinfo.h: Likewise.
19410 * sysdeps/riscv/bits/fenv.h: New file.
19411 * sysdeps/riscv/e_sqrtl.c: Likewise.
19412 * sysdeps/riscv/fpu_control.h: Likewise.
19413 * sysdeps/riscv/math-tests.h: Likewise.
19414 * sysdeps/riscv/nofpu/Implies: Likewise.
19415 * sysdeps/riscv/sfp-machine.h: Likewise.
19416 * sysdeps/riscv/tininess.h: Likewise.
19417 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19418 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19419 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19420 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19421 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19422 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19423 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19424 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19425 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19426 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19427 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19428 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19429 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19430 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19431 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19432 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19433 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19434 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19435 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19436 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19437 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19438 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19439 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19440 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19441 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19442 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19443 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19444 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19445 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19446 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19447 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19448 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19449 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19450 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19451 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19452 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19453 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19454 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19455 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19456 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19457 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19458 * sysdeps/riscv/rvf/math_private.h: Likewise.
19459 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19460 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19461 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19462 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19463 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19464 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19465 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19466 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19467 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19468 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19469 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19470 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19471 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19472 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19473 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19474 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
19475 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19476 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19477 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19478 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
19479 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19480 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19481 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19482 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19483 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19484 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19485 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19486 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19487 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
19488 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19489 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19490 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19491 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19492 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19493 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19494 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19495 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19496 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19497 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19498 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19499 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19500 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19501 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19502 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19503 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19504 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19505 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19506 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19507 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19508 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19509 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
19510 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19511 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19512 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
19513 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19514 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19515 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19516 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19517 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19518 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19519 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19520 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19521 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19522 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19523 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19524 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19525 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19526 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
19527 * sysdeps/riscv/Implies: New file.
19528 * sysdeps/riscv/Makefile: Likewise.
19529 * sysdeps/riscv/configure: Likewise.
19530 * sysdeps/riscv/configure.ac: Likewise.
19531 * sysdeps/riscv/nptl/Makefile: Likewise.
19532 * sysdeps/riscv/preconfigure: Likewise.
19533 * sysdeps/riscv/rv64/Implies-after: Likewise.
19534 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19535 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19536 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19537 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19538 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19539 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19540 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19541 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19542 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19543 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19544 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
19545 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19546 (Config): Likewise.
19547
19548 2018-01-29 Florian Weimer <fweimer@redhat.com>
19549
19550 [BZ #22701]
19551 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19552 libnsl_hidden_proto.
19553 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19554 libnsl_hidden_proto.
19555 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19556 * nis/Makefile (libnsl-routines): Add nss-default only for
19557 build-obsolete-nsl.
19558 * nis/nis_defaults.c (__nis_default_ttl): Add
19559 libnsl_hidden_nolink_def.
19560 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19561 declaration.
19562 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19563 * nis/ypclnt.c (yp_maplist): Likewise.
19564
19565 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19566
19567 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19568 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19569
19570 2018-01-29 Joseph Myers <joseph@codesourcery.com>
19571
19572 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19573 clean -dxfq for git updates when replacing sources.
19574
19575 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19576 --disable-libcilkrts unconditionally, not just for the final GCC
19577 build for Hurd.
19578
19579 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19580 version to 4.15.
19581
19582 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19583
19584 [BZ #10871]
19585 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19586 case).
19587
19588 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19589
19590 [BZ #10871]
19591 * localedata/locales/be_BY (mon): Rename to...
19592 (alt_mon): This, then synchronize with CLDR (nominative case).
19593 (abmon): Rename to...
19594 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19595 (mon): Import from CLDR (genitive case).
19596 (abmon): Likewise.
19597 * localedata/locales/be_BY@latin (mon): Rename to...
19598 (alt_mon): This.
19599 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19600
19601 * localedata/locales/be_BY@latin (lang_name): Reworded to
19602 "biełaruskaja mova".
19603
19604 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19605
19606 [BZ #10871]
19607 * localedata/locales/el_CY (mon): Renamed to...
19608 (alt_mon): This.
19609 (mon): Import from CLDR (genitive case).
19610 * localedata/locales/el_GR: Likewise.
19611
19612 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19613
19614 [BZ #10871]
19615 * localedata/locales/ru_RU (mon): Rename to...
19616 (alt_mon): This.
19617 (abmon): Rename to...
19618 (ab_alt_mon): This.
19619 (mon): Import from CLDR (genitive case).
19620 (abmon): Copy from the old content except the 5th month which is
19621 now in the genitive case, even when abbreviated.
19622 * localedata/locales/ru_UA: Likewise.
19623 * time/tst-strptime.c (day_tests): Add an actual example of
19624 a difference between %b and %Ob in Russian.
19625
19626 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19627
19628 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
19629 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19630 a `c' variable.
19631 * resolv/res-close.c: Include <stdlib.h>.
19632 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19633 <sys/wait.h>, <time.h>, <sys/uio.h>.
19634 (NOT_CANCEL_H): Add inclusion guard.
19635 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
19636 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19637 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19638 return 0.
19639 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19640 vm_address_t * to ElfW(Addr) * for dl_main parameter.
19641 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19642 instead of void *.
19643 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19644 timer_ptr2id to cast struct timer_node * to void *.
19645 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19646 --disable-libcilkrts to gcc configure.
19647 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19648 and make them the default for now.
19649 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19650 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
19651 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19652 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19653 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19654 MACH_IPC_COMPAT.
19655 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19656 __task_terminate would ever return successfully.
19657 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19658 to global scope.
19659 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19660 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
19661 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19662 critical section to make code simpler and avoid warning.
19663 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19664 critical section to make code simpler and avoid warning.
19665 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19666 const char * instead of char *.
19667 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19668 __hurd_file_name_split, hurd_file_name_split,
19669 __hurd_directory_name_split, hurd_directory_name_split,
19670 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19671 hurd_file_name_path_lookup): Make lookup function parameter take a
19672 const char *name instead of char *name.
19673 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19674 __hurd_directory_name_split): Likewise.
19675 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19676 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
19677 * sysdeps/mach/hurd/check_native.c: New file.
19678 * sysdeps/mach/hurd/check_pf.c: New file.
19679 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19680 (__freeifaddrs): Define macro to freeifaddrs.
19681 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19682 * sysdeps/mach/libmachuser.abilist: New file.
19683 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19684 (do_test_bz20181): Rename accordingly.
19685 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
19686 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19687 <sys/mount.h>.
19688 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19689 version only if __USE_EXTERN_INLINES is defined.
19690 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19691 __hurd_sockfail): Likewise.
19692 (_hurd_fd_get): Always declare functions, and provide inline versions
19693 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19694 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19695 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19696 _hurd_port_set): Always declare functions, and provide inline versions
19697 only if __USE_EXTERN_INLINES and _LIBC are defined and
19698 IS_IN(libc).
19699 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19700 _hurd_critical_section_unlock): Likewise.
19701 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19702 * __hurd_threadvar_location): Likewise.
19703 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19704 _hurd_userlink_clear): Likewise.
19705 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19706 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19707 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19708 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19709 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19710 __spin_lock_locked): Likewise.
19711 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19712 __spin_lock_locked): Likewise.
19713 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19714 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19715 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19716 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19717 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
19718 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19719 _POSIX_NO_TRUNC): Define to 0.
19720 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19721 check size against PTHREAD_STACK_MIN.
19722 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19723 IS_IN(libpthread)]: Include <sigsetops.h>.
19724 * mach/Makefile (user-interfaces): Add mach/gnumach.
19725 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19726 * sysdeps/mach/configure (mach_interface_list): Regenerate.
19727 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19728 instead of invalid -1.
19729 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19730 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19731 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19732 <net/ppp_defs.h>.
19733
19734 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
19735
19736 * hurd/fcntl-internal.h: New file.
19737
19738 2018-01-27 James Clarke <jrtc27@jrtc27.com>
19739
19740 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19741
19742 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19743
19744 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19745
19746 [BZ #22701]
19747 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19748 Build only shared objects.
19749
19750 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19751
19752 * README: Update for hppa.
19753
19754 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19755
19756 * sysdeps/sparc/fpu/libm-test-ulps: Update
19757 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
19758
19759 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19760
19761 Revert:
19762
19763 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19764
19765 [BZ #22563]
19766 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19767 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19768 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19769 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19770 to feature_1.
19771
19772 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19773
19774 [BZ #22563]
19775 * bits/types/__cancel_jmp_buf_tag.h: New file.
19776 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19777 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19778 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19779 * nptl/Makefile (headers): Add
19780 bits/types/__cancel_jmp_buf_tag.h.
19781 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19782 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19783 * sysdeps/nptl/pthread.h: Include
19784 <bits/types/__cancel_jmp_buf_tag.h>.
19785 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19786 __cancel_jmp_buf.
19787 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19788
19789 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19790
19791 [BZ #10871]
19792 * localedata/locales/uk_UA (mon): Renamed to...
19793 (alt_mon): This.
19794 (alt_digits): "0" removed and then renamed to...
19795 (mon): This.
19796 (date_fmt): Definition changed not to use the alternative
19797 digits hack.
19798
19799 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
19800
19801 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19802 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19803 * elf/elf.h (EF_RISCV_RVC): New define.
19804 (EF_RISCV_FLOAT_ABI): Likewise.
19805 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19806 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19807 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19808 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19809 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19810 define.
19811 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19812
19813 2018-01-25 Andreas Schwab <schwab@suse.de>
19814
19815 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19816 single quotes.
19817 * sysdeps/gnu/configure: Regenerate.
19818 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19819 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19821 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19822 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19823 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19824 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19825 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19826
19827 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19828
19829 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
19830 URL, and run autoconf, make it the default for now.
19831
19832 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19833
19834 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19835 soft-float ColdFire configuration.
19836
19837 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19838 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19839 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19840
19841 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19842 MicroBlaze file.
19843
19844 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19845 ....
19846 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19847 ... here.
19848 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19849 New file.
19850
19851 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19852 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19853 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19854 file.
19855
19856 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19857
19858 [BZ #22742]
19859 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19860 Rename to __reserved and add comment.
19861 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19862 Rename to __reserved.
19863
19864 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19865
19866 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19867 i686-gnu configurations.
19868 (Context.run_builds): Include mig, gnumach and hurd in components
19869 considered.
19870 (Context.checkout): Add mig, gnumach and hurd to components.
19871 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19872 hurd.
19873 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19874 (Config.build): Install gnumach headers, build mig and install
19875 hurd headers for 'gnu' OS.
19876 (Config.install_gnumach_headers): New function.
19877 (Config.install_hurd_headers): Likewise.
19878 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19879 when building for 'gnu' OS.
19880
19881 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
19882
19883 * manual/tunables.texi (Hardware Capability Tunables): Fix
19884 spelling.
19885
19886 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
19887
19888 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19889 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19890 (ALTMON_11, ALTMON_12): Improve documentation.
19891 * manual/time.texi (strftime): Likewise.
19892
19893 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19894
19895 [BZ #10871]
19896 * localedata/locales/pl_PL: Alternative month names added,
19897 primary month names are genitive now.
19898 * time/tst-strptime.c (day_tests): Actually use a genitive case
19899 of a month name in Polish language.
19900
19901 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19902
19903 [BZ #10871]
19904 * manual/locale.texi: Document ALTMON_1..12 constants for
19905 nl_langinfo. Specify when to use ALTMON instead of MON.
19906 * manual/time.texi (strftime, strptime): Document GNU extension
19907 permitting O modifier with %B and %b. Specify when to use
19908 %OB instead of %B.
19909
19910 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19911
19912 [BZ #10871]
19913 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19914 names, define them as the same as abbreviated month names explicitly.
19915 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19916 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19917 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19918 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19919 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19920 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19921 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19922 _NL_WABALTMON_12): New enum constants.
19923 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19924 wab_alt_mon, and ab_alt_mon_defined members.
19925 (time_output): Output ab_alt_mon and wab_alt_mon members.
19926 (time_read): Read them, initialize them as copies of abmon and wabmon
19927 respectively if they are missing, initialize ab_alt_mon_defined.
19928 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19929 * locale/programs/locfile-kw.h: Regenerate.
19930 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19931 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19932 and ru_RU.UTF-8.
19933 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19934 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19935 (__strftime_internal): Handle %Ob and %Oh formats.
19936 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19937 (__strptime_internal): Handle %Ob and %Oh formats.
19938 * time/tst-strptime.c (day_tests): Add more tests to parse different
19939 forms of month names including the new %Ob format specifier.
19940
19941 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19942
19943 [BZ #10871]
19944 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19945 define them as the same as primary full month names explicitly.
19946 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19947 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19948 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19949 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19950 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19951 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19952 _NL_WALTMON_12): New enum constants.
19953 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19954 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19955 macros.
19956 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19957 walt_mon, and alt_mon_defined members.
19958 (time_output): Output alt_mon and walt_mon members.
19959 (time_read): Read them, initialize them as copies of mon and wmon
19960 respectively if they are missing, initialize alt_mon_defined.
19961 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19962 * locale/programs/locfile-kw.h: Regenerate.
19963 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19964 * localedata/tst-langinfo.c (map): Add tests for the new constants
19965 ALTMON_1 .. ALTMON_12.
19966 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19967 and pl_PL.UTF-8.
19968 * time/strftime_l.c (f_altmonth): New macro.
19969 (__strftime_internal): Handle %OB format.
19970 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19971 (__strptime_internal): Handle %OB format.
19972 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19973 of month names including the new %OB format specifier.
19974
19975 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19976
19977 [BZ #22685]
19978 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19979 from ABORT_TRANSACTION.
19980 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19981 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19982 ABORT_TRANSACTION_IMPL): Likewise.
19983 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19984 Linux code, but remove the code that aborts transactions.
19985
19986 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19987
19988 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19989
19990 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19991
19992 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19993 in date: "2004-14-09" should be "2004-09-14".
19994 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19995 "2003-15-09" should be "2003-09-15".
19996
19997 2018-01-18 Arjun Shankar <arjun@redhat.com>
19998
19999 [BZ #22343]
20000 [BZ #22774]
20001 CVE-2018-6485
20002 CVE-2018-6551
20003 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
20004 after padding.
20005 (_int_memalign): check for integer overflow before calling
20006 _int_malloc.
20007 * malloc/tst-malloc-too-large.c: New test.
20008 * malloc/Makefile: Add tst-malloc-too-large.
20009
20010 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
20011
20012 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
20013 in date: "2017-24-07" should be "2017-07-24".
20014 * localedata/locales/mai_IN: Likewise.
20015 * localedata/locales/mai_NP: Likewise.
20016
20017 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
20018
20019 * po/ru.po: Update translations.
20020
20021 2018-01-17 Joseph Myers <joseph@codesourcery.com>
20022
20023 [BZ #22719]
20024 * sysdeps/hppa/backtrace.c: New file.
20025
20026 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
20027
20028 [BZ #22715]
20029 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
20030 align La_x86_64_retval to VEC_SIZE.
20031
20032 2018-01-16 Joseph Myers <joseph@codesourcery.com>
20033
20034 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
20035 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
20036
20037 2018-01-16 Florian Weimer <fweimer@redhat.com>
20038
20039 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
20040 Move tst-thread-exit-clobber ...
20041 [$(CXX)] (tests-unsupported): ... to here.
20042
20043 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20044
20045 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
20046 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
20047 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20048 (_dl_aarch64_cap_flags): Update.
20049 (_DL_HWCAP_COUNT): Update.
20050
20051 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20052
20053 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
20054 (_DL_HWCAP_LAST): Remove.
20055 (_DL_HWCAP_COUNT): Move to ...
20056 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20057 (_DL_HWCAP_COUNT): ... here.
20058
20059 2018-01-16 Florian Weimer <fweimer@redhat.com>
20060
20061 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
20062 mode with GNU extensions.
20063
20064 2018-01-15 Alan Hayward <alan.hayward@arm.com>
20065
20066 * elf/elf.h (NT_ARM_SVE): Define.
20067
20068 2018-01-15 Florian Weimer <fweimer@redhat.com>
20069
20070 [BZ #22636]
20071 * nptl/tst-minstack-throw.cc: New file.
20072 * nptl/Makefile (tests): Add tst-minstack-throw.
20073 (LDLIBS-tst-minstack-throw): Link with libstdc++.
20074 [!CXX] (tests-unsupported): Add tst-minstack-throw.
20075
20076 2018-01-15 Joseph Myers <joseph@codesourcery.com>
20077
20078 * scripts/build-many-glibcs.py (Context.checkout): Default
20079 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
20080 version to 1.1.0.
20081
20082 2018-01-13 Carlos O'Donell <carlos@redhat.com>
20083
20084 [BZ #22707]
20085 * elf/elf.h (DF_1_STUB): Define.
20086 (DF_1_PIE): Define.
20087
20088 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20089
20090 [BZ #22697]
20091 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
20092 Do not add 0.5 to integer or out-of-range arguments.
20093
20094 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20095
20096 * po/bg.po: Update translations.
20097 * po/cs.po: Likewise.
20098 * po/de.po: Likewise.
20099 * po/ko.po: Likewise.
20100 * po/pl.po: Likewise.
20101 * po/sv.po: Likewise.
20102 * po/uk.po: Likewise.
20103 * po/vi.po: Likewise.
20104
20105 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20106
20107 * aarch64/start.S (_start): Use __wrap_main.
20108 (__wrap_main): New local symbol.
20109
20110 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20111
20112 [BZ #22679]
20113 CVE-2018-1000001
20114 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
20115 generic_getcwd if the path returned by getcwd syscall is not absolute.
20116 * io/tst-getcwd-abspath.c: New test.
20117 * io/Makefile (tests): Add tst-getcwd-abspath.
20118
20119 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
20120
20121 * malloc/malloc.c (malloc_consolidate): Add size check.
20122
20123 2018-01-12 Florian Weimer <fweimer@redhat.com>
20124
20125 * support/write_message.c (write_message): Preserve errno.
20126 * support/check.c (print_failure): Likewise.
20127 * support/support_test_verify_impl.c (support_test_verify_impl):
20128 Likewise.
20129 * support/support_test_compare_failure.c
20130 (support_test_compare_failure): Likewise.
20131
20132 2018-01-12 Florian Weimer <fweimer@redhat.com>
20133
20134 [BZ #22701]
20135 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
20136 Prevent installation of libnsl.so.
20137 (libnsl-inhibit-o): Do not build (or install) static libraries.
20138
20139 2018-01-12 Egmont Koblinger <egmont@gmail.com>
20140
20141 [BZ #22657]
20142 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
20143 before the day number which may produce a double space.
20144 (date_fmt): Likewise.
20145
20146 2018-01-12 Joseph Myers <joseph@codesourcery.com>
20147
20148 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
20149 instead of fegetenv.
20150
20151 2018-01-11 Joseph Myers <joseph@codesourcery.com>
20152
20153 [BZ #22702]
20154 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
20155 comment to say exceptions are discarded.
20156 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
20157 __fegetenv.
20158 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
20159 be enabled.
20160
20161 2018-01-11 Florian Weimer <fweimer@redhat.com>
20162
20163 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20164 and error message.
20165
20166 2018-01-11 Florian Weimer <fweimer@redhat.com>
20167
20168 [BZ #22636]
20169 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20170 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20171
20172 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20173
20174 [BZ #22693]
20175 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20176 negative arguments in test for NaN or infinity argument.
20177
20178 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20179
20180 * po/libc.pot: Regenerate.
20181
20182 2018-01-10 Florian Weimer <fweimer@redhat.com>
20183
20184 [BZ #22636]
20185 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20186 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20187
20188 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20189
20190 * hurd/hurd/fd.h: Include <fcntl.h>
20191 (__hurd_at_flags): New function.
20192 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20193 with call to __hurd_at_flags.
20194 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20195 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20196 __faccessat
20197 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20198 (__access_noerrno): Use __faccessat_common instead of access_common.
20199 (__access): Likewise.
20200 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20201 with a call to __faccessat.
20202 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20203 (__faccessat_common): ... this. Move implementation of __access into it when
20204 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20205 reauthenticate_cwdir_at helper to implement AT mechanism.
20206 (__faccessat_noerrno): New function, just calls __faccessat_common.
20207 (__faccessat): New function, just calls __faccessat_common.
20208 (faccessat): Define weak alias.
20209
20210 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20211
20212 [BZ #22691]
20213 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20214 (CFLAGS-s_fmaxmagl.c): New variable.
20215 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20216
20217 [BZ #22690]
20218 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20219 long int for arguments of possibly overflowing addition or
20220 subtraction.
20221 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20222
20223 2018-01-09 Joseph Myers <joseph@codesourcery.com>
20224
20225 [BZ #22688]
20226 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20227 (CFLAGS-e_remainderl.c): New variable.
20228
20229 [BZ #22687]
20230 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20231 variable.
20232 (CFLAGS-s_cacoshl.c): Likewise.
20233 (CFLAGS-s_casinhl.c): Likewise.
20234 (CFLAGS-s_catanl.c): Likewise.
20235 (CFLAGS-s_catanhl.c): Likewise.
20236 (CFLAGS-s_cexpl.c): Likewise.
20237 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20238 (CFLAGS-s_csinhl.c): Likewise.
20239 (CFLAGS-s_clogl.c): Likewise.
20240 (CFLAGS-s_clog10l.c): Likewise.
20241 (CFLAGS-s_csinl.c): Likewise.
20242 (CFLAGS-s_csqrtl.c): Likewise.
20243
20244 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
20245 2017-01-09 Svante Signell <svante.signell@gmail.com>
20246
20247 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20248 (_hurd_exec_paths): New function.
20249 * hurd/hurd.h (_hurd_exec): Deprecate function.
20250 (_hurd_exec_paths): Declare function.
20251 * hurd/Versions: Export _hurd_exec_paths.
20252 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20253 (__execve): Use __getcwd to build absolute path, and use
20254 _hurd_exec_paths instead of _hurd_exec.
20255 * sysdeps/mach/hurd/spawni.c: Likewise.
20256 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20257 _hurd_exec.
20258
20259 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20260
20261 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20262 test instead of failing in case of ENOENT returned by posix_openpt.
20263
20264 2018-01-08 Florian Weimer <fweimer@redhat.com>
20265
20266 resolv: Support binary labels in test framework.
20267 * support/resolv_test.c (struct to_be_freed): Remove.
20268 (struct compressed_name): New.
20269 (allocate_compressed_name, ascii_tolower)
20270 (compare_compressed_name): New functions.
20271 (struct resolv_response_builder): Update type of
20272 compression_offsets for use with tsearch. Rempve to_be_freed.
20273 (response_push_pointer_to_free): Remove function.
20274 (resolv_response_add_name): Rewrite using struct compressed_name
20275 and tsearch instead of hsearch_r.
20276 (response_builder_allocate): Remove initialization of
20277 compression_offsets.
20278 (response_builder_free): Update for removal of to_be_freed. Use
20279 tdestroy instead of hdestroy_r.
20280 * resolv/Makefile (tests): Add tst-resolv-binary.
20281 (tst-resolv-binary): Link with -lresolv -lpthread.
20282
20283 2018-01-08 Florian Weimer <fweimer@redhat.com>
20284
20285 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20286 time. Pass positive flag instead of negative flag to
20287 support_test_compare_failure.
20288 (support_test_compare_failure): Change negative parameter to
20289 positive.
20290 * support/support_test_compare_failure.c (report)
20291 (support_test_compare_failure): Likewise.
20292 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20293 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20294
20295 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20296
20297 [BZ #22637]
20298 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20299 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20300 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20301 stacksize.
20302 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20303
20304 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20305
20306 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20307 Add s_sincosf-sse2 and s_sincosf-fma.
20308 (CFLAGS-s_sincosf-fma.c): New.
20309 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20310 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20311 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20312 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20313 __sincosf is defined.
20314
20315 2018-01-08 Florian Weimer <fweimer@redhat.com>
20316
20317 * nptl/tst-thread-exit-clobber.cc: New file.
20318 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20319 C++11 mode.
20320 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20321 (tests): Add tst-thread-exit-clobber.
20322 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20323
20324 2018-01-08 Florian Weimer <fweimer@redhat.com>
20325
20326 * support/check.h (support_static_assert): Define.
20327 (TEST_COMPARE): Use it.
20328
20329 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20330
20331 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20332 [!__RLIM_T_MATCHES_RLIM64_T]
20333 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20334 __getrlimit64. Add libc_hidden_weak.
20335
20336 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
20337
20338 * elf/elf.h (R_RISCV_NONE): New define.
20339 (R_RISCV_32): Likewise.
20340 (R_RISCV_64): Likewise.
20341 (R_RISCV_RELATIVE): Likewise.
20342 (R_RISCV_COPY): Likewise.
20343 (R_RISCV_JUMP_SLOT): Likewise.
20344 (R_RISCV_TLS_DTPMOD32): Likewise.
20345 (R_RISCV_TLS_DTPMOD64): Likewise.
20346 (R_RISCV_TLS_DTPREL32): Likewise.
20347 (R_RISCV_TLS_DTPREL64): Likewise.
20348 (R_RISCV_TLS_TPREL32): Likewise.
20349 (R_RISCV_TLS_TPREL64): Likewise.
20350 * Makerules (make-link-multidir): Make directories before linking into
20351 them.
20352 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20353 define.
20354 (VDSO_HASH_LINUX_4_15): Likewise.
20355 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20356 in subdirectories of lib.
20357 * nptl/Makefile (/librt.so): Always depend on
20358 "$(shared-thread-library)".
20359
20360 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20361
20362 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
20363 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20364 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20365 (___tls_get_addr).
20366 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
20367 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20368 "-O2 -march=i686".
20369 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
20370 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20371 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20372 * sysdeps/gnu/glob-lstat-compat.c: New file.
20373 * sysdeps/gnu/glob64-lstat-compat.c: New file.
20374 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
20375
20376 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20377
20378 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20379 Reserve 16 chars to reloc_addr before calling _itoa_word.
20380
20381 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20382
20383 [BZ #22678]
20384 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20385 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20386
20387 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20388 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20389
20390 * resource/tst-getrlimit.c: Add copyright header.
20391
20392 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20393 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20394
20395 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20396 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20397 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20398 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20399 instead.
20400 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20401 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20402 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20403 RLIM64_INFINITY): Fix values to match the kernel ones.
20404 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20405 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20406 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20407 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20408 getrlimit64@@GLIBC_2_27.
20409 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20410 and setrlimit64.
20411 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20412 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20413 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20414 setrlimit, getrlimit64 and setrlimit64.
20415
20416 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20417
20418 [BZ #22648]
20419 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20420 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20421
20422 2018-01-04 Joseph Myers <joseph@codesourcery.com>
20423
20424 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20425 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20426 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20427
20428 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20429
20430 [BZ #15479]
20431 [BZ #22666]
20432 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20433 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20434
20435 [BZ #15479]
20436 [BZ #22665]
20437 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20438 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20439 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20440 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20441
20442 2018-01-04 Florian Weimer <fweimer@redhat.com>
20443
20444 [BZ #22667]
20445 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20446 Align the stack before calling exit.
20447 * stdlib/tst-makecontext-align.c: New file.
20448 * stdlib/Makefile (tests): Add tst-makecontext-align.
20449
20450 2018-01-04 Florian Weimer <fweimer@redhat.com>
20451
20452 Add support for calling dlvsym from libc.so.
20453 * include/dlfcn.h (__libc_dlvsym): Declare.
20454 * elf/Makefile (tests-static-internal): Add
20455 tst-libc_dlvsym-static.
20456 (tests-internal): Add tst-libc_dlvsym.
20457 (modules-names): Add tst-libc_dlvsym-dso.
20458 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20459 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20460 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20461 object tst-libc_dlvsym-dso.so needs to be built before running
20462 these tests.
20463 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20464 * elf/Versions: Export __libc_dlvsym.
20465 * elf/dl-libc.c (struct do_dlvsym_args): New.
20466 (do_dlvsym, __libc_dlvsym): New functions.
20467 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20468 (_dl_open_hook2): New variable.
20469 (__libc_register_dl_open_hook): Set it.
20470 * elf/tst-libc_dlvsym-dso.c: New file.
20471 * elf/tst-libc_dlvsym-static.c: Likewise.
20472 * elf/tst-libc_dlvsym.c: Likewise.
20473 * elf/tst-libc_dlvsym.h: Likewise.
20474
20475 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20476
20477 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20478 include <sys/mount.h>.
20479
20480 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20481
20482 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20483 Add __NO_MATH_ERRNO__ check.
20484
20485 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20486
20487 * sysdeps/mips/mips32/libm-test-ulps: Update.
20488 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20489
20490 2018-01-02 Florian Weimer <fweimer@redhat.com>
20491
20492 * misc/tst-pselect.c: Add copyright header.
20493
20494 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20495
20496 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20497 comment.
20498 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20499 comment.
20500 (settrlimit): Rename into setrlimit.
20501 (__sttrlimit): Rename into __setrlimit.
20502
20503 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20504 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20505 never defined in that case.
20506
20507 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20508
20509 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20510
20511 * sysdeps/arm/libm-test-ulps: Update.
20512
20513 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20514 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20515
20516 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20517
20518 * NEWS: Add cosf and sincosf to list of optimized functions.
20519
20520 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20521
20522 [BZ #22660]
20523 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20524 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20525 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20526 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20527
20528 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20529
20530 [BZ #22433]
20531 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20532
20533 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20534 making a copy of it.
20535
20536 2018-01-01 Joseph Myers <joseph@codesourcery.com>
20537
20538 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20539 trailing whitespace removed.
20540 * scripts/config.guess: Update to version 2018-01-01.
20541 * scripts/config.sub: Update to version 2018-01-01.
20542 * scripts/move-if-change: Update from gnulib.
20543
20544 * NEWS: Update copyright dates.
20545 * catgets/gencat.c (print_version): Likewise.
20546 * csu/version.c (banner): Likewise.
20547 * debug/catchsegv.sh: Likewise.
20548 * debug/pcprofiledump.c (print_version): Likewise.
20549 * debug/xtrace.sh (do_version): Likewise.
20550 * elf/ldconfig.c (print_version): Likewise.
20551 * elf/ldd.bash.in: Likewise.
20552 * elf/pldd.c (print_version): Likewise.
20553 * elf/sotruss.sh: Likewise.
20554 * elf/sprof.c (print_version): Likewise.
20555 * iconv/iconv_prog.c (print_version): Likewise.
20556 * iconv/iconvconfig.c (print_version): Likewise.
20557 * locale/programs/locale.c (print_version): Likewise.
20558 * locale/programs/localedef.c (print_version): Likewise.
20559 * login/programs/pt_chown.c (print_version): Likewise.
20560 * malloc/memusage.sh (do_version): Likewise.
20561 * malloc/memusagestat.c (print_version): Likewise.
20562 * malloc/mtrace.pl: Likewise.
20563 * manual/libc.texinfo: Likewise.
20564 * nptl/version.c (banner): Likewise.
20565 * nscd/nscd.c (print_version): Likewise.
20566 * nss/getent.c (print_version): Likewise.
20567 * nss/makedb.c (print_version): Likewise.
20568 * posix/getconf.c (main): Likewise.
20569 * scripts/test-installation.pl: Likewise.
20570 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20571
20572 * All files with FSF copyright notices: Update copyright dates
20573 using scripts/update-copyrights.
20574 * locale/programs/charmap-kw.h: Regenerated.
20575 * locale/programs/locfile-kw.h: Likewise.
20576
20577 2017-12-31 Zack Weinberg <zackw@panix.com>
20578
20579 * libio/bits/libio-ldbl.h: Correct check for improper
20580 inclusion. Add own multiple include guard.
20581
20582 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20583 Dmitry V. Levin <ldv@altlinux.org>
20584
20585 [BZ #22625]
20586 CVE-2017-16997
20587 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20588 string token expansion. Check for NULL pointer or empty string possibly
20589 returned by expand_dynamic_string_token.
20590 (decompose_rpath): Check for empty path after dynamic string
20591 token expansion.
20592
20593 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20594
20595 [BZ #22433]
20596 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20597
20598 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20599 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20600 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20601 and PTRACE_SYSCALL.
20602 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20603 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20604 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20605 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20606 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20607 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20608
20609 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20610 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20611 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20612 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20614 bits/ptrace-shared.h.
20615 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20616 <bits/ptrace-shared.h>.
20617 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20618 __ptrace_peeksiginfo_flags, ptrace): Remove.
20619 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20620 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20621 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20622 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20623 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20624
20625 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20626
20627 [BZ #17804]
20628 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20629 end of the loop. Improve comments.
20630
20631 2017-12-29 Zack Weinberg <zackw@panix.com>
20632
20633 [BZ #22615]
20634 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20635 might be set on success.
20636
20637 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20638
20639 [BZ #22611]
20640 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20641 is unchanged on success.
20642
20643 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20644
20645 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20646 updated.
20647 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20648 expand_dynamic_string_token): Likewise.
20649 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20650 is_path argument.
20651
20652 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20653 contains ':'.
20654
20655 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20656 is set and name contains ':', and all code depending on these checks.
20657
20658 2017-12-24 Zack Weinberg <zackw@panix.com>
20659
20660 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20661 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20662 respectively.
20663 * libio/libio.h: Rename the original version of this file to
20664 libio/bits/libio.h. Error out if not included by stdio.h or the
20665 stub libio.h.
20666 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20667 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20668 if not included by bits/libio.h or the stub _G_config.h.
20669 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20670 sysdeps/unix/sysv/linux/bits. Error out if not included by
20671 bits/libio.h or the stub _G_config.h.
20672 * libio/stdio.h: Include bits/libio.h, not libio.h.
20673 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20674 well as libio.h and _G_config.h.
20675
20676 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20677 * libio/strfile.h, stdio-common/vfscanf.c
20678 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20679 Include stdio.h, not _G_config.h nor libio.h.
20680 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20681 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20682
20683 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20684
20685 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20686
20687 [BZ #22347]
20688 * stdlib/getrandom.c (getrandom): Fix comment.
20689 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20690
20691 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
20692
20693 [BZ #21161]
20694 * manual/arith.texi (strtoul): Fix a typo.
20695
20696 [BZ #22596]
20697 * manual/arith.texi (finite): Fix the description of the return
20698 value.
20699
20700 2017-12-22 Eric Blake <ebb9@byu.net>
20701
20702 Avoid gcc warnings on cygwin
20703 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20704 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20705 Avoid unused variable.
20706
20707 2017-12-22 Florian Weimer <fweimer@redhat.com>
20708
20709 * io/Makefile (routines): Add copy_file_range.
20710 (tests): Add tst-copy_file_range.
20711 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20712 * io/Versions (GLIBC_2.27): Export copy_file_range.
20713 * io/copy_file_range-compat.c: New file.
20714 * io/copy_file_range.c: Likewise.
20715 * io/tst-copy_file_range-compat.c: Likewise.
20716 * io/tst-copy_file_range.c: Likewise.
20717 * manual/llio.texi (Copying File Data): New section.
20718 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20719 * support/Makefile (libsupport-routines): Add support-xfstat,
20720 xftruncate, xlseek.
20721 * support/support-xfstat.c: New file.
20722 * support/xftruncate.c: Likewise.
20723 * support/xlseek.c: Likewise.
20724 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20725 * sysdeps/unix/sysv/linux/**.abilist: Update.
20726 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20727
20728 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20729
20730 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20731 disable-multi-arch variant to aarch64-linux-gnu.
20732
20733 2017-12-20 Joseph Myers <joseph@codesourcery.com>
20734
20735 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20736 trailing whitespace removed.
20737 * scripts/config.guess: Update to version 2017-12-17.
20738 * scripts/config.sub: Update to version 2017-11-23.
20739 * scripts/install-sh: Update to version 2017-09-23.17.
20740 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20741
20742 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20743
20744 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20745 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20746 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20747 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20748 * sysdeps/tile/crtn.S: Likewise.
20749 * sysdeps/tile/dl-start.S (_start): Likewise.
20750 * sysdeps/tile/dl-trampoline.S: Likewise.
20751 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20752 * sysdeps/tile/start.S (_start): Likewise.
20753 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20754 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20755 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20756 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20757 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20758 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20759 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20760
20761 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20762 comment.
20763 * sysdeps/tile/preconfigure: Remove tilegx folder.
20764 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20765 * sysdeps/tile/Implies: ... here.
20766 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20767 * sysdeps/tile/Makefile: ... here.
20768 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20769 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20770 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20771 * sysdeps/tile/bits/wordsize.h: ... here.
20772 * sysdeps/tile/tilegx/*: Move to ...
20773 * sysdeps/tile/*: ... here.
20774 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20775 * sysdeps/tile/tilegx32/Implies: ... here.
20776 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20777 * sysdeps/tile/tilegx64/Implies: ... here.
20778 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20779 to ...
20780 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20781 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20782 * sysdeps/unix/sysv/linux/tile/*: ... here.
20783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20784 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20786 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20787
20788 * README: Remove tilepro-*-linux-gnu from supported architecture.
20789 * scripts/build-many-glibcs.py: Likewise.
20790 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20791 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20792 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20793 elf_machine_matches_host, elf_machine_dynamic,
20794 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20795 howto, elf_machine_rela): Likewise.
20796 * sysdeps/tile/dl-start.S (_start): Likewise.
20797 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20798 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20799 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20800 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20801 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20802 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20803 Likewise.
20804 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20805 * sysdeps/tile/preconfigure: Likewise.
20806 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20807 POINTER_CHK_GUARD): Likewise.
20808 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20809 * sysdeps/tile/start.S (_start): Likewise.
20810 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20811 Likewise.
20812 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20813 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20814 CMOVNEZ): Remove.
20815 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20816 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20817 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20818 Likewise.
20819 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20820 * sysdeps/tile/tilepro/Implies: Remove file.
20821 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20822 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20823 * sysdeps/tile/tilepro/memchr.c: Likewise.
20824 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20825 * sysdeps/tile/tilepro/memset.c: Likewise.
20826 * sysdeps/tile/tilepro/memusage.h: Likewise.
20827 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20828 * sysdeps/tile/tilepro/strchr.c: Likewise.
20829 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20830 * sysdeps/tile/tilepro/strlen.c: Likewise.
20831 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20832 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20833 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20834 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20835 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20836 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20837 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20838 Likewise.
20839 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20840 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20841 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20842 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20843 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20844 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20845 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20846 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20847 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20848 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20849 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20850 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20851 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20852 tilepro mention in comment.
20853
20854 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20855 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20856 * nptl/pthread_join_common.c: New file: common function used on
20857 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20858 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20859 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20860 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20861 (cleanup): Move definition to pthread_join_common.c.
20862 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20863 Remove superflous checks.
20864 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20865 Likewise.
20866
20867 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20868
20869 * sysdeps/aarch64/libm-test-ulps: Update.
20870
20871 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20872
20873 * sysdeps/aarch64/memset.S (MEMSET): Define.
20874
20875 2017-12-20 Florian Weimer <fweimer@redhat.com>
20876
20877 [BZ #22635]
20878 nptl: Provide full implementation of pthread_self in libc.so.
20879 * nptl/Makefile (routines): Add pthread_self.
20880 (libpthread-routines): Replace pthread_self with
20881 compat-pthread_self.
20882 * nptl/forward.c (pthread_self): Remove.
20883 * nptl/nptl-init.c (pthread_functions): Do not initialize
20884 ptr_pthread_self.
20885 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20886 * nptl/compat-pthread_self.c: New file.
20887 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20888 Remove ptr_pthread_self.
20889
20890 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20891
20892 * posix/regcomp.c: Fix spelling in comments.
20893 * posix/regex.h: Likewise.
20894 * posix/regex_internal.c: Likewise.
20895 * posix/regexec.c: Likewise.
20896
20897 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20898
20899 [BZ #22377]
20900 * math/Makefile [C++] (tests): Add test for iseqsig.
20901 * math/math.h [C++] (iseqsig): New implementation, which does
20902 not rely on __MATH_TG/__builtin_types_compatible_p.
20903 * math/test-math-iseqsig.cc: New file.
20904 * sysdeps/powerpc/powerpc64le/Makefile
20905 (CFLAGS-test-math-iseqsig.cc): New variable.
20906
20907 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20908
20909 * elf/dl-load.c (is_trusted_path): Remove.
20910 (fillin_rpath): Remove check_trusted argument and its use,
20911 all callers changed.
20912
20913 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20914
20915 [BZ #22630]
20916 * Makeconfig (link-pie-before-libc): Replace -pie with
20917 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20918 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20919 (tst-dlopen-aout-no-pie): New.
20920 (LDFLAGS-tst-prelink): Removed.
20921 (tst-prelink-no-pie): New.
20922 (LDFLAGS-tst-main1): Removed.
20923 (tst-main1-no-pie): New.
20924 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20925 (tst-gmon-no-pie): New.
20926
20927 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20928
20929 * manual/install.texi: Document that --enable-static-pie
20930 implies PIE.
20931 * INSTALL: Regenerated.
20932
20933 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20934
20935 [BZ #21309]
20936 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20937 unsigned.
20938
20939 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20940
20941 Revert:
20942
20943 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20944
20945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20946
20947 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20948
20949 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20950 <errno.h>. Include "eexp.tbl".
20951 (half): New constant.
20952 (one): Likewise.
20953 (__ieee754_exp): Rewrite.
20954 (__slowexp): Remove prototype.
20955 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20956 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20957 * sysdeps/i386/fpu/slowexp.c: Likewise.
20958 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20959 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20960 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20961 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20962 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20963 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20964 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20965 comment.
20966 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20967 (CPPFLAGS-slowexp.c): Remove variable.
20968 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20969 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20970 (CFLAGS-slowexp-fma.c): Remove variable.
20971 (CFLAGS-slowexp-fma4.c): Likewise.
20972 (CFLAGS-slowexp-avx.c): Likewise.
20973 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20974 define as macro.
20975 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20976 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20977 * math/Makefile (type-double-routines): Remove slowexp.
20978 * manual/probes.texi (slowexp_p6): Remove.
20979 (slowexp_p32): Likewise.
20980
20981 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20982
20983 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20984 arithmetic.
20985
20986 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20987
20988 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20989
20990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20991
20992 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20993
20994 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20995 <errno.h>. Include "eexp.tbl".
20996 (half): New constant.
20997 (one): Likewise.
20998 (__ieee754_exp): Rewrite.
20999 (__slowexp): Remove prototype.
21000 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21001 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21002 * sysdeps/i386/fpu/slowexp.c: Likewise.
21003 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21004 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21005 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21006 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21007 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21008 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21009 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21010 comment.
21011 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21012 (CPPFLAGS-slowexp.c): Remove variable.
21013 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21014 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21015 (CFLAGS-slowexp-fma.c): Remove variable.
21016 (CFLAGS-slowexp-fma4.c): Likewise.
21017 (CFLAGS-slowexp-avx.c): Likewise.
21018 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21019 define as macro.
21020 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21021 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21022 * math/Makefile (type-double-routines): Remove slowexp.
21023 * manual/probes.texi (slowexp_p6): Remove.
21024 (slowexp_p32): Likewise.
21025
21026 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21027 James Clarke <jrtc27@jrtc27.com>
21028
21029 [BZ #22603]
21030 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
21031 addition.
21032
21033 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21034
21035 [BZ #22605]
21036 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
21037 code.
21038
21039 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21040
21041 [BZ #22563]
21042 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21043 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21044 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21045 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21046 to feature_1.
21047
21048 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21049
21050 [BZ #22563]
21051 * bits/types/__cancel_jmp_buf_tag.h: New file.
21052 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21053 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21054 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21055 * nptl/Makefile (headers): Add
21056 bits/types/__cancel_jmp_buf_tag.h.
21057 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21058 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21059 * sysdeps/nptl/pthread.h: Include
21060 <bits/types/__cancel_jmp_buf_tag.h>.
21061 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21062 __cancel_jmp_buf.
21063 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21064
21065 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21066
21067 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21068 --enable-static-pie variants to x86_64, x32 and i686.
21069
21070 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21071
21072 [BZ #22631]
21073 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
21074 argument for attrubutes. All callers changed.
21075 (__inline_mathop1): Likewise. All callers changed.
21076 (__inline_mathop): Likewise. All callers changed.
21077 [__USE_MISC] (scalbn): Use __inline_forward instead of
21078 __inline_forward_c.
21079 [__USE_ISOC99] (scalbln): Likewise.
21080 [__USE_ISOC99] (nearbyint): Likewise.
21081 [__USE_ISOC99] (lrint): Likewise.
21082 [__USE_MISC] (scalbnf): Likewise.
21083 [__USE_ISOC99] (scalblnf): Likewise.
21084 [__USE_ISOC99] (nearbyintf): Likewise.
21085 [__USE_ISOC99] (lrintf): Likewise.
21086 [__USE_MISC] (scalbnl): Likewise.
21087 [__USE_ISOC99] (scalblnl): Likewise.
21088 [__USE_ISOC99] (nearbyintl): Likewise.
21089 [__USE_ISOC99] (lrintl): Likewise.
21090 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
21091 __inline_mathop and __m81_defun changed.
21092
21093 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
21094 CPU or FPU for ARM hard-float configurations.
21095
21096 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21097
21098 * nptl/tst-attr3.c: Include <libc-diag.h>.
21099 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
21100
21101 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
21102
21103 * string/tester.c (test_strncat): Also disable -Warray-bounds
21104 warnings for two tests.
21105
21106 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21107
21108 [BZ #22614]
21109 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
21110 $(cc-pie-default) == yes.
21111 * config.make.in (cc-pie-default): New.
21112 * configure.ac (libc_cv_pie_default): Renamed to ...
21113 (libc_cv_cc_pie_default): This.
21114 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
21115 * configure: Regenerated.
21116
21117 2017-12-18 Florian Weimer <fweimer@redhat.com>
21118
21119 [BZ #20204]
21120 ld.so: Harden dl-libc/libdl hooks.
21121 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
21122 (rtld_active): New function.
21123 * dlfcn/dladdr.c (__dladdr): Call it.
21124 * dlfcn/dladdr1.c (__dladdr1): Likewise.
21125 * dlfcn/dlclose.c (__dlcose): Likewise.
21126 * dlfcn/dlerror.c (__dlerror): Likewise.
21127 * dlfcn/dlinfo.c (__dlinfo): Likewise.
21128 * dlfcn/dlmopen.c (__dlmopen): Likewise.
21129 * dlfcn/dlopen.c (__dlopen): Likewise.
21130 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21131 * dlfcn/dlsym.c (__dlsym): Likewise.
21132 * dlfcn/dlvsym.c (__dlvsym): Likewise.
21133 * libio/vtables.c (_IO_vtable_check): Likewise.
21134 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
21135 (__libc_dlclose): Likewise.
21136 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
21137 assignment.
21138
21139 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21140
21141 [BZ #22446]
21142 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
21143 buffers for readlink input and output.
21144
21145 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
21146
21147 [BZ #22624]
21148 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
21149 inhibit_stack_protector.
21150
21151 [BZ #22624]
21152 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
21153 inhibit_stack_protector.
21154
21155 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
21156
21157 [BZ #22627]
21158 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
21159 code and invocation.
21160
21161 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21162
21163 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21164
21165 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21166
21167 [BZ #22505]
21168 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21169
21170 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21171
21172 * sysdeps/s390/fpu/libm-test-ulps: Update.
21173
21174 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21175
21176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21177
21178 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21179
21180 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21181 constants to s_sincosf.h file.
21182 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21183 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21184 implementation.
21185 * sysdeps/ieee754/flt-32/s_sincosf.h:
21186 New file.
21187
21188 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21189
21190 [BZ #14681]
21191 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21192 before mtrace.
21193
21194 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21195
21196 [BZ #19574]
21197 * INSTALL: Regenerated.
21198 * Makeconfig (real-static-start-installed-name): New.
21199 (pic-default): Updated for --enable-static-pie.
21200 (pie-default): New for --enable-static-pie.
21201 (default-pie-ldflag): Likewise.
21202 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21203 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21204 Replace $(static-start-installed-name) with
21205 $(real-static-start-installed-name).
21206 (+prectorT): Updated for --enable-static-pie.
21207 (+postctorT): Likewise.
21208 (CFLAGS-.o): Add $(pie-default).
21209 (CFLAGS-.op): Likewise.
21210 * NEWS: Mention --enable-static-pie.
21211 * config.h.in (ENABLE_STATIC_PIE): New.
21212 * configure.ac (--enable-static-pie): New configure option.
21213 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21214 (have-static-pie): Likewise.
21215 Enable static PIE if linker supports --no-dynamic-linker.
21216 (ENABLE_STATIC_PIE): New AC_DEFINE.
21217 (enable-static-pie): New LIBC_CONFIG_VAR.
21218 * configure: Regenerated.
21219 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21220 gr$(start-installed-name) for --enable-static-pie.
21221 (extra-objs): Likewise.
21222 (install-lib): Likewise.
21223 (extra-objs): Add static-reloc.o and static-reloc.os
21224 ($(objpfx)$(start-installed-name)): Also depend on
21225 $(objpfx)static-reloc.o.
21226 ($(objpfx)r$(start-installed-name)): New.
21227 ($(objpfx)g$(start-installed-name)): Also depend on
21228 $(objpfx)static-reloc.os.
21229 ($(objpfx)gr$(start-installed-name)): New.
21230 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21231 in libc.a.
21232 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21233 initimage.
21234 * csu/static-reloc.c: New file.
21235 * elf/Makefile (routines): Add dl-reloc-static-pie.
21236 (elide-routines.os): Likewise.
21237 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21238 (tst-tls1-static-non-pie-no-pie): New.
21239 * elf/dl-reloc-static-pie.c: New file.
21240 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21241 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21242 STATIC_PIE_BOOTSTRAP.
21243 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21244 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21245 (tests-static): Likewise.
21246 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21247 (tst-gmon-static-no-pie): New.
21248 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21249 (CRT-tst-gmon-static-pie): Likewise.
21250 (tst-gmon-static-pie-ENV): Likewise.
21251 (tests-special): Likewise.
21252 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21253 (clean-tst-gmon-static-pie-data): Likewise.
21254 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21255 * gmon/tst-gmon-static-pie.c: New file.
21256 * manual/install.texi: Document --enable-static-pie.
21257 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21258 (_dl_get_dl_main_map): Likewise.
21259 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21260 * sysdeps/x86_64/configure.ac: Likewise.
21261 * sysdeps/i386/configure: Regenerated.
21262 * sysdeps/x86_64/configure: Likewise.
21263 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21264 (ASFLAGS-.op): Likewise.
21265
21266 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21267
21268 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21269 * posix/tst-mmap-offset.c (fname): Use /tmp.
21270 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21271
21272 2017-12-15 Steve Ellcey <sellcey@cavium.com>
21273
21274 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21275
21276 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21277
21278 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21279 errno.
21280
21281 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21282
21283 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21284 --with-float=hard for arm-linux-gnueabihf configurations.
21285
21286 [BZ #14121]
21287 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21288 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21289 ($(mo-installed)): Use $(objpfx)%.mo.
21290 (realclean): Remove rule.
21291
21292 * po/Makefile (linguas): Remove rule and dependencies.
21293 (linguas.mo): Likewise.
21294 (.PHONY): Do not depend on linguas and linguas.mo.
21295 (podir): Remove variable.
21296 (pofiles): Likewise.
21297 [$(pofiles)] (%.po): Remove rule.
21298
21299 * sysdeps/sparc/sparc32/Makefile
21300 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21301 start-of-line whitespace in argument of echo.
21302 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21303 with whitespace. Generate __wrap_.udiv alias.
21304 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21305 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21306 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21307 * sysdeps/sparc/sparc32/urem.S: Likewise.
21308
21309 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21310
21311 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21312 for aligned inputs.
21313
21314 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21315
21316 * benchtests/bench-strcmp.c: Print output in JSON format.
21317
21318 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21319
21320 2017-12-14 Florian Weimer <fweimer@redhat.com>
21321
21322 [BZ #22607]
21323 CVE-2017-1000409
21324 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21325 the expanded path string.
21326
21327 2017-12-14 Florian Weimer <fweimer@redhat.com>
21328
21329 [BZ #22606]
21330 CVE-2017-1000408
21331 * elf/dl-load.c (system_dirs): Update comment.
21332 (nsystem_dirs_len): Use array_length.
21333 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21334
21335 2017-12-14 Florian Weimer <fweimer@redhat.com>
21336
21337 Simplify compiling most of support/ outside of glibc.
21338 * support/check_addrinfo.c: Include <string.h>.
21339 * support/check_dns_packet.c: Likewise.
21340 * support/check_hostent.c: Likewise.
21341 * support/support_can_chroot.c: Include <support/xunistd.h>.
21342 * support/support_format_addrinfo.c: Include <stdlib.h>
21343 * support/support_format_dns_packet.c: Include <stdbool.h>.
21344 * support/support_format_hostent.c: Include <stdlib.h>.
21345 * support/support_format_netent.c: Likewise.
21346 * support/support_write_string.c: Include <support/xunistd.h>.
21347 * support/xdlfcn.c: Include <stddef.h>.
21348
21349 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21350
21351 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21352
21353 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21354 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21355
21356 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21357 (sysdeps_routines): Add memset-niagara7.
21358 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21359 Likewise.
21360 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21361 file.
21362 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21363 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21364 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21365 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21366 Add niagara7 option.
21367 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21368 memset.
21369
21370 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21371 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21372 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21373 Likewise.
21374 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21375 New file.
21376 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21377 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21378 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21379 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21380 and __memmove_niagara7.
21381 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21382 Add niagara7 option.
21383 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21384 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21385 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21386 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21387 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21388
21389 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21390
21391 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21392 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21393 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21394 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21395
21396 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21397 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21398 _dl_sparc_cap_flags array.
21399 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21400
21401 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21402
21403 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21404 time whenever possible.
21405
21406 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21407
21408 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21409 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21410
21411 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21412
21413 * soft-fp/fmadf4.c: Move to ....
21414 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21415 * soft-fp/fmasf4.c: Move to ....
21416 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21417 * soft-fp/fmatf4.c: Move to ....
21418 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21419 * sysdeps/ieee754/soft-fp/Makefile: New file.
21420 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21421 * sysdeps/arm/preconfigure: Regenerated.
21422 * sysdeps/arm/nofpu/Implies: New file.
21423 * sysdeps/arm/s_fma.c: Remove file.
21424 * sysdeps/arm/s_fmaf.c: Likewise.
21425 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21426 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21427 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21428 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21429 * sysdeps/microblaze/s_fma.c: Remove file.
21430 * sysdeps/microblaze/s_fmaf.c: Likewise.
21431 * sysdeps/mips/mips32/nofpu/Implies: New file.
21432 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21433 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21434 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21435 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21436 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21437 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21438 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21439 implementation.
21440 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21441 * sysdeps/nios2/s_fma.c: Remove file.
21442 * sysdeps/nios2/s_fmaf.c: Likewise.
21443 * sysdeps/sh/nofpu/Implies: New file.
21444 * sysdeps/sh/s_fma.c: Remove file.
21445 * sysdeps/sh/s_fmaf.c: Likewise.
21446 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21447 * sysdeps/tile/s_fma.c: Remove file.
21448 * sysdeps/tile/s_fmaf.c: Likewise.
21449
21450 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21451
21452 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21453 Add s_cosf-sse2 and s_cosf-fma.
21454 (CFLAGS-s_cosf-fma.c): New.
21455 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21456 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21457 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21458
21459 2017-12-12 Steve Ellcey <sellcey@cavium.com>
21460
21461 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21462
21463 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21464
21465 * libio/Makefile (tests): Add tst-bz22415.
21466 (tst-bz22415-ENV): New rule.
21467 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21468 (tests-special): Add tst-bz22415-mem.out.
21469 ($(objpfx)tst-bz22415-mem.out): New rule.
21470 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21471 in case of a successful seek operation.
21472 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21473 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21474 buffer is required.
21475 * libio/tst-bz22415.c: New test.
21476
21477 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21478
21479 2017-12-12 James Clarke <jrtc27@jrtc27.com>
21480
21481 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21482 __IPC_64 to 0 to avoid IPC_64 being set.
21483
21484 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21485
21486 [BZ #22593]
21487 * math/bits/mathcalls.h (nextafter): Remove const.
21488 (nexttoward): Likewise.
21489
21490 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21491
21492 * configure.ac (--with-fp): Remove configure option.
21493 (with_fp_cond): New variable.
21494 (libc_cv_with_fp): New configure test. Use this variable instead
21495 of with_fp.
21496 * configure: Regenerated.
21497 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21498 * manual/install.texi (Configuring and compiling): Remove
21499 --without-fp.
21500 * INSTALL: Regenerated.
21501 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21502 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21503 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21504 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21505 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21506 use --without-fp to configure glibc.
21507
21508 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
21509
21510 * manual/locale.texi (nl_langinfo): Fix a typo.
21511
21512 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
21513
21514 [BZ #22588]
21515 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21516
21517 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21518
21519 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21520 (CFLAGS-argp-parse.c): Likewise.
21521 (CFLAGS-argp-fmtstream.c): Likewise.
21522 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21523 (CPPFLAGS-sha512-crypt.c): Likewise.
21524 (CPPFLAGS-md5-crypt.c): Likewise.
21525 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21526 (CFLAGS-stack_chk_fail_local.c): Likewise.
21527 (CFLAGS-backtrace.c): Likewise.
21528 (CFLAGS-sprintf_chk.c): Likewise.
21529 (CFLAGS-snprintf_chk.c): Likewise.
21530 (CFLAGS-vsprintf_chk.c): Likewise.
21531 (CFLAGS-vsnprintf_chk.c): Likewise.
21532 (CFLAGS-asprintf_chk.c): Likewise.
21533 (CFLAGS-vasprintf_chk.c): Likewise.
21534 (CFLAGS-obprintf_chk.c): Likewise.
21535 (CFLAGS-dprintf_chk.c): Likewise.
21536 (CFLAGS-vdprintf_chk.c): Likewise.
21537 (CFLAGS-printf_chk.c): Likewise.
21538 (CFLAGS-fprintf_chk.c): Likewise.
21539 (CFLAGS-vprintf_chk.c): Likewise.
21540 (CFLAGS-vfprintf_chk.c): Likewise.
21541 (CFLAGS-gets_chk.c): Likewise.
21542 (CFLAGS-fgets_chk.c): Likewise.
21543 (CFLAGS-fgets_u_chk.c): Likewise.
21544 (CFLAGS-fread_chk.c): Likewise.
21545 (CFLAGS-fread_u_chk.c): Likewise.
21546 (CFLAGS-swprintf_chk.c): Likewise.
21547 (CFLAGS-vswprintf_chk.c): Likewise.
21548 (CFLAGS-wprintf_chk.c): Likewise.
21549 (CFLAGS-fwprintf_chk.c): Likewise.
21550 (CFLAGS-vwprintf_chk.c): Likewise.
21551 (CFLAGS-vfwprintf_chk.c): Likewise.
21552 (CFLAGS-fgetws_chk.c): Likewise.
21553 (CFLAGS-fgetws_u_chk.c): Likewise.
21554 (CFLAGS-read_chk.c): Likewise.
21555 (CFLAGS-pread_chk.c): Likewise.
21556 (CFLAGS-pread64_chk.c): Likewise.
21557 (CFLAGS-recv_chk.c): Likewise.
21558 (CFLAGS-recvfrom_chk.c): Likewise.
21559 (CFLAGS-tst-longjmp_chk.c): Likewise.
21560 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21561 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21562 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21563 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21564 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21565 (CFLAGS-tst-chk1.c): Likewise.
21566 (CFLAGS-tst-chk2.c): Likewise.
21567 (CFLAGS-tst-chk3.c): Likewise.
21568 (CFLAGS-tst-chk4.cc): Likewise.
21569 (CFLAGS-tst-chk5.cc): Likewise.
21570 (CFLAGS-tst-chk6.cc): Likewise.
21571 (CFLAGS-tst-lfschk1.c): Likewise.
21572 (CFLAGS-tst-lfschk2.c): Likewise.
21573 (CFLAGS-tst-lfschk3.c): Likewise.
21574 (CFLAGS-tst-lfschk4.cc): Likewise.
21575 (CFLAGS-tst-lfschk5.cc): Likewise.
21576 (CFLAGS-tst-lfschk6.cc): Likewise.
21577 (CFLAGS-tst-ssp-1.c): Likewise.
21578 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21579 (CFLAGS-scandir64.c): Likewise.
21580 (CFLAGS-scandir-tail.c): Likewise.
21581 (CFLAGS-scandir64-tail.c): Likewise.
21582 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21583 (CFLAGS-dl-tunables.c): Likewise.
21584 (CFLAGS-dl-runtime.c): Likewise.
21585 (CFLAGS-dl-lookup.c): Likewise.
21586 (CFLAGS-dl-iterate-phdr.c): Likewise.
21587 (CFLAGS-vismain.c): Likewise.
21588 (CFLAGS-tst-linkall-static.c): Likewise.
21589 (CFLAGS-tst-linkall-static.c): Likewise.
21590 (CPPFLAGS-dl-load.c): Likewise.
21591 (CFLAGS-ldconfig.c): Likewise.
21592 (CFLAGS-dl-cache.c): Likewise.
21593 (CFLAGS-cache.c): Likewise.
21594 (CFLAGS-rtld.c): Likewise.
21595 (CFLAGS-multiload.c): Likewise.
21596 (CFLAGS-filtmod1.c): Likewise.
21597 (CFLAGS-tst-align.c): Likewise.
21598 (CFLAGS-tst-align2.c): Likewise.
21599 (CFLAGS-tst-alignmod.c): Likewise.
21600 (CFLAGS-tst-alignmod2.c): Likewise.
21601 (CPPFLAGS-tst-execstack.c): Likewise.
21602 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21603 (CFLAGS-tst-latepthreadmod.c): Likewise.
21604 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21605 (CFLAGS-getgrnam_r.c): Likewise.
21606 (CFLAGS-getgrent_r.c): Likewise.
21607 (CFLAGS-getgrent.c): Likewise.
21608 (CFLAGS-fgetgrent.c): Likewise.
21609 (CFLAGS-fgetgrent_r.c): Likewise.
21610 (CFLAGS-putgrent.c): Likewise.
21611 (CFLAGS-initgroups.c): Likewise.
21612 (CFLAGS-getgrgid.c): Likewise.
21613 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21614 (CFLAGS-getsgent.c): Likewise.
21615 (CFLAGS-fgetsgent.c): Likewise.
21616 (CFLAGS-fgetsgent_r.c): Likewise.
21617 (CFLAGS-putsgent.c): Likewise.
21618 (CFLAGS-getsgnam.c): Likewise.
21619 (CFLAGS-getsgnam_r.c): Likewise.
21620 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21621 (CFLAGS-iconv_charmap.c): Likewise.
21622 (CFLAGS-dummy-repertoire.c): Likewise.
21623 (CFLAGS-charmap.c): Likewise.
21624 (CFLAGS-linereader.c): Likewise.
21625 (CFLAGS-simple-hash.c): Likewise.
21626 (CFLAGS-gconv_conf.c): Likewise.
21627 (CFLAGS-iconvconfig.c): Likewise.
21628 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21629 (CFLAGS-gethstbyad.c): Likewise.
21630 (CFLAGS-gethstbynm_r.c): Likewise.
21631 (CFLAGS-gethstbynm.c): Likewise.
21632 (CFLAGS-gethstbynm2_r.c): Likewise.
21633 (CFLAGS-gethstbynm2.c): Likewise.
21634 (CFLAGS-gethstent_r.c): Likewise.
21635 (CFLAGS-gethstent.c): Likewise.
21636 (CFLAGS-rcmd.c): Likewise.
21637 (CFLAGS-getnetbynm_r.c): Likewise.
21638 (CFLAGS-getnetbynm.c): Likewise.
21639 (CFLAGS-getnetbyad_r.c): Likewise.
21640 (CFLAGS-getnetbyad.c): Likewise.
21641 (CFLAGS-getnetent_r.c): Likewise.
21642 (CFLAGS-getnetent.c): Likewise.
21643 (CFLAGS-getaliasent_r.c): Likewise.
21644 (CFLAGS-getaliasent.c): Likewise.
21645 (CFLAGS-getrpcent_r.c): Likewise.
21646 (CFLAGS-getrpcent.c): Likewise.
21647 (CFLAGS-getservent_r.c): Likewise.
21648 (CFLAGS-getservent.c): Likewise.
21649 (CFLAGS-getprtent_r.c): Likewise.
21650 (CFLAGS-getprtent.c): Likewise.
21651 (CFLAGS-either_ntoh.c): Likewise.
21652 (CFLAGS-either_hton.c): Likewise.
21653 (CFLAGS-getnetgrent.c): Likewise.
21654 (CFLAGS-getnetgrent_r.c): Likewise.
21655 (CFLAGS-tst-checks-posix.c): Likewise.
21656 (CFLAGS-tst-sockaddr.c): Likewise.
21657 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21658 (CFLAGS-tst-translit.c): Likewise.
21659 (CFLAGS-tst-gettext2.c): Likewise.
21660 (CFLAGS-tst-codeset.c): Likewise.
21661 (CFLAGS-tst-gettext3.c): Likewise.
21662 (CFLAGS-tst-gettext4.c): Likewise.
21663 (CFLAGS-tst-gettext5.c): Likewise.
21664 (CFLAGS-tst-gettext6.c): Likewise.
21665 * io/Makefile (CFLAGS-open.c): Likewise.
21666 (CFLAGS-open64.c): Likewise.
21667 (CFLAGS-creat.c): Likewise.
21668 (CFLAGS-creat64.c): Likewise.
21669 (CFLAGS-fcntl.c): Likewise.
21670 (CFLAGS-poll.c): Likewise.
21671 (CFLAGS-ppoll.c): Likewise.
21672 (CFLAGS-lockf.c): Likewise.
21673 (CFLAGS-statfs.c): Likewise.
21674 (CFLAGS-fstatfs.c): Likewise.
21675 (CFLAGS-statvfs.c): Likewise.
21676 (CFLAGS-fstatvfs.c): Likewise.
21677 (CFLAGS-fts.c): Likewise.
21678 (CFLAGS-fts64.c): Likewise.
21679 (CFLAGS-ftw.c): Likewise.
21680 (CFLAGS-ftw64.c): Likewise.
21681 (CFLAGS-lockf.c): Likewise.
21682 (CFLAGS-posix_fallocate.c): Likewise.
21683 (CFLAGS-posix_fallocate64.c): Likewise.
21684 (CFLAGS-fallocate.c): Likewise.
21685 (CFLAGS-fallocate64.c): Likewise.
21686 (CFLAGS-read.c): Likewise.
21687 (CFLAGS-write.c): Likewise.
21688 (CFLAGS-test-stat.c): Likewise.
21689 (CFLAGS-test-lfs.c): Likewise.
21690 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21691 (CFLAGS-fputc.c): Likewise.
21692 (CFLAGS-fputwc.c): Likewise.
21693 (CFLAGS-freopen64.c): Likewise.
21694 (CFLAGS-freopen.c): Likewise.
21695 (CFLAGS-fseek.c): Likewise.
21696 (CFLAGS-fseeko64.c): Likewise.
21697 (CFLAGS-fseeko.c): Likewise.
21698 (CFLAGS-ftello64.c): Likewise.
21699 (CFLAGS-ftello.c): Likewise.
21700 (CFLAGS-fwide.c): Likewise.
21701 (CFLAGS-genops.c): Likewise.
21702 (CFLAGS-getc.c): Likewise.
21703 (CFLAGS-getchar.c): Likewise.
21704 (CFLAGS-getwc.c): Likewise.
21705 (CFLAGS-getwchar.c): Likewise.
21706 (CFLAGS-iofclose.c): Likewise.
21707 (CFLAGS-iofflush.c): Likewise.
21708 (CFLAGS-iofgetpos64.c): Likewise.
21709 (CFLAGS-iofgetpos.c): Likewise.
21710 (CFLAGS-iofgets.c): Likewise.
21711 (CFLAGS-iofgetws.c): Likewise.
21712 (CFLAGS-iofputs.c): Likewise.
21713 (CFLAGS-iofputws.c): Likewise.
21714 (CFLAGS-iofread.c): Likewise.
21715 (CFLAGS-iofsetpos64.c): Likewise.
21716 (CFLAGS-iofsetpos.c): Likewise.
21717 (CFLAGS-ioftell.c): Likewise.
21718 (CFLAGS-iofwrite.c): Likewise.
21719 (CFLAGS-iogetdelim.c): Likewise.
21720 (CFLAGS-iogetline.c): Likewise.
21721 (CFLAGS-iogets.c): Likewise.
21722 (CFLAGS-iogetwline.c): Likewise.
21723 (CFLAGS-ioputs.c): Likewise.
21724 (CFLAGS-ioseekoff.c): Likewise.
21725 (CFLAGS-ioseekpos.c): Likewise.
21726 (CFLAGS-iosetbuffer.c): Likewise.
21727 (CFLAGS-iosetvbuf.c): Likewise.
21728 (CFLAGS-ioungetc.c): Likewise.
21729 (CFLAGS-ioungetwc.c): Likewise.
21730 (CFLAGS-oldfileops.c): Likewise.
21731 (CFLAGS-oldiofclose.c): Likewise.
21732 (CFLAGS-oldiofgetpos64.c): Likewise.
21733 (CFLAGS-oldiofgetpos.c): Likewise.
21734 (CFLAGS-oldiofsetpos64.c): Likewise.
21735 (CFLAGS-oldiofsetpos.c): Likewise.
21736 (CFLAGS-peekc.c): Likewise.
21737 (CFLAGS-putc.c): Likewise.
21738 (CFLAGS-putchar.c): Likewise.
21739 (CFLAGS-putwc.c): Likewise.
21740 (CFLAGS-putwchar.c): Likewise.
21741 (CFLAGS-rewind.c): Likewise.
21742 (CFLAGS-wfileops.c): Likewise.
21743 (CFLAGS-wgenops.c): Likewise.
21744 (CFLAGS-oldiofopen.c): Likewise.
21745 (CFLAGS-iofopen.c): Likewise.
21746 (CFLAGS-iofopen64.c): Likewise.
21747 (CFLAGS-oldtmpfile.c): Likewise.
21748 (CFLAGS-tst_putwc.c): Likewise.
21749 * locale/Makefile (CFLAGS-md5.c): Likewise.
21750 (CFLAGS-charmap.c): Likewise.
21751 (CFLAGS-locfile.c): Likewise.
21752 (CFLAGS-charmap-dir.c): Likewise.
21753 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21754 (CFLAGS-getpt.c): Likewise.
21755 (CFLAGS-pt_chown.c): Likewise.
21756 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21757 (CFLAGS-obstack.c): Likewise.
21758 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21759 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21760 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21761 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21762 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21763 (CFLAGS-test-tgmath.c): Likewise.
21764 (CFLAGS-test-tgmath2.c): Likewise.
21765 (CFLAGS-test-tgmath-ret.c): Likewise.
21766 (CFLAGS-test-powl.c): Likewise.
21767 (CFLAGS-test-snan.c): Likewise.
21768 (CFLAGS-test-signgam-finite.c): Likewise.
21769 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21770 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21771 (CFLAGS-test-signgam-uchar.c): Likewise.
21772 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21773 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21774 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21775 (CFLAGS-test-signgam-uint.c): Likewise.
21776 (CFLAGS-test-signgam-uint-init.c): Likewise.
21777 (CFLAGS-test-signgam-uint-static.c): Likewise.
21778 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21779 (CFLAGS-test-signgam-ullong.c): Likewise.
21780 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21781 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21782 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21783 (CFLAGS-test-math-cxx11.cc): Likewise.
21784 (CFLAGS-test-math-isinff.cc): Likewise.
21785 (CFLAGS-test-math-iszero.cc): Likewise.
21786 (CFLAGS-test-math-issignaling.cc): Likewise.
21787 (CFLAGS-test-math-iscanonical.cc): Likewise.
21788 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21789 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21790 (CFLAGS-test-flt-eval-method.c): Likewise.
21791 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21792 (CFLAGS-test-finite-macros.c): Likewise.
21793 * misc/Makefile (CFLAGS-select.c): Likewise.
21794 (CFLAGS-tsearch.c): Likewise.
21795 (CFLAGS-lsearch.c): Likewise.
21796 (CFLAGS-pselect.c): Likewise.
21797 (CFLAGS-readv.c): Likewise.
21798 (CFLAGS-writev.c): Likewise.
21799 (CFLAGS-preadv.c): Likewise.
21800 (CFLAGS-preadv64.c): Likewise.
21801 (CFLAGS-pwritev.c): Likewise.
21802 (CFLAGS-pwritev64.c): Likewise.
21803 (CFLAGS-preadv2.c): Likewise.
21804 (CFLAGS-preadv64v2.c): Likewise.
21805 (CFLAGS-pwritev2.c): Likewise.
21806 (CFLAGS-pwritev64v2.c): Likewise.
21807 (CFLAGS-usleep.c): Likewise.
21808 (CFLAGS-syslog.c): Likewise.
21809 (CFLAGS-error.c): Likewise.
21810 (CFLAGS-getpass.c): Likewise.
21811 (CFLAGS-mkstemp.c): Likewise.
21812 (CFLAGS-mkstemp64.c): Likewise.
21813 (CFLAGS-getsysstats.c): Likewise.
21814 (CFLAGS-getusershell.c): Likewise.
21815 (CFLAGS-err.c): Likewise.
21816 (CFLAGS-tst-tsearch.c): Likewise.
21817 (CFLAGS-msync.c): Likewise.
21818 (CFLAGS-fdatasync.c): Likewise.
21819 (CFLAGS-fsync.c): Likewise.
21820 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21821 (CFLAGS-unwind.c): Likewise.
21822 (CFLAGS-unwind-forcedunwind.c): Likewise.
21823 (CFLAGS-pthread_cancel.c): Likewise.
21824 (CFLAGS-pthread_setcancelstate.c): Likewise.
21825 (CFLAGS-pthread_setcanceltype.c): Likewise.
21826 (CFLAGS-cancellation.c): Likewise.
21827 (CFLAGS-libc-cancellation.c): Likewise.
21828 (CFLAGS-pthread_exit.c): Likewise.
21829 (CFLAGS-forward.c): Likewise.
21830 (CFLAGS-pthread_testcancel.c): Likewise.
21831 (CFLAGS-pthread_join.c): Likewise.
21832 (CFLAGS-pthread_timedjoin.c): Likewise.
21833 (CFLAGS-pthread_once.c): Likewise.
21834 (CFLAGS-pthread_cond_wait.c): Likewise.
21835 (CFLAGS-sem_wait.c): Likewise.
21836 (CFLAGS-sem_timedwait.c): Likewise.
21837 (CFLAGS-fcntl.c): Likewise.
21838 (CFLAGS-lockf.c): Likewise.
21839 (CFLAGS-pread.c): Likewise.
21840 (CFLAGS-pread64.c): Likewise.
21841 (CFLAGS-pwrite.c): Likewise.
21842 (CFLAGS-pwrite64.c): Likewise.
21843 (CFLAGS-wait.c): Likewise.
21844 (CFLAGS-waitpid.c): Likewise.
21845 (CFLAGS-sigwait.c): Likewise.
21846 (CFLAGS-msgrcv.c): Likewise.
21847 (CFLAGS-msgsnd.c): Likewise.
21848 (CFLAGS-tcdrain.c): Likewise.
21849 (CFLAGS-open.c): Likewise.
21850 (CFLAGS-open64.c): Likewise.
21851 (CFLAGS-pause.c): Likewise.
21852 (CFLAGS-recv.c): Likewise.
21853 (CFLAGS-send.c): Likewise.
21854 (CFLAGS-accept.c): Likewise.
21855 (CFLAGS-sendto.c): Likewise.
21856 (CFLAGS-connect.c): Likewise.
21857 (CFLAGS-recvfrom.c): Likewise.
21858 (CFLAGS-recvmsg.c): Likewise.
21859 (CFLAGS-sendmsg.c): Likewise.
21860 (CFLAGS-close.c): Likewise.
21861 (CFLAGS-read.c): Likewise.
21862 (CFLAGS-write.c): Likewise.
21863 (CFLAGS-nanosleep.c): Likewise.
21864 (CFLAGS-sigsuspend.c): Likewise.
21865 (CFLAGS-msync.c): Likewise.
21866 (CFLAGS-fdatasync.c): Likewise.
21867 (CFLAGS-fsync.c): Likewise.
21868 (CFLAGS-pt-system.c): Likewise.
21869 (CFLAGS-tst-cleanup2.c): Likewise.
21870 (CFLAGS-tst-cleanupx2.c): Likewise.
21871 (CFLAGS-flockfile.c): Likewise.
21872 (CFLAGS-ftrylockfile.c): Likewise.
21873 (CFLAGS-funlockfile.c): Likewise.
21874 (CFLAGS-tst-initializers1.c): Likewise.
21875 (CFLAGS-tst-initializers1-c89.c): Likewise.
21876 (CFLAGS-tst-initializers1-c99.c): Likewise.
21877 (CFLAGS-tst-initializers1-c11.c): Likewise.
21878 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21879 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21880 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21881 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21882 (CFLAGS-nscd_getgr_r.c): Likewise.
21883 (CFLAGS-nscd_gethst_r.c): Likewise.
21884 (CFLAGS-nscd_getai.c): Likewise.
21885 (CFLAGS-nscd_initgroups.c): Likewise.
21886 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21887 (CFLAGS-pause.c): Likewise.
21888 (CFLAGS-pread.c): Likewise.
21889 (CFLAGS-pread64.c): Likewise.
21890 (CFLAGS-pwrite.c): Likewise.
21891 (CFLAGS-pwrite64.c): Likewise.
21892 (CFLAGS-sleep.c): Likewise.
21893 (CFLAGS-wait.c): Likewise.
21894 (CFLAGS-waitid.c): Likewise.
21895 (CFLAGS-waitpid.c): Likewise.
21896 (CFLAGS-getopt.c): Likewise.
21897 (CFLAGS-wordexp.c): Likewise.
21898 (CFLAGS-sysconf.c): Likewise.
21899 (CFLAGS-pathconf.c): Likewise.
21900 (CFLAGS-fpathconf.c): Likewise.
21901 (CFLAGS-spawn.c): Likewise.
21902 (CFLAGS-spawnp.c): Likewise.
21903 (CFLAGS-spawni.c): Likewise.
21904 (CFLAGS-glob.c): Likewise.
21905 (CFLAGS-glob64.c): Likewise.
21906 (CFLAGS-getconf.c): Likewise.
21907 (CFLAGS-nanosleep.c): Likewise.
21908 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21909 (CFLAGS-getpwent.c): Likewise.
21910 (CFLAGS-getpw.c): Likewise.
21911 (CFLAGS-fgetpwent_r.c): Likewise.
21912 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21913 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21914 (CFLAGS-mq_timedreceive.c): Likewise.
21915 (CFLAGS-mq_timedsend.c): Likewise.
21916 (CFLAGS-clock_nanosleep.c): Likewise.
21917 (CFLAGS-librt-cancellation.c): Likewise.
21918 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21919 (CFLAGS-getspent.c): Likewise.
21920 (CFLAGS-fgetspent.c): Likewise.
21921 (CFLAGS-fgetspent_r.c): Likewise.
21922 (CFLAGS-putspent.c): Likewise.
21923 (CFLAGS-getspnam.c): Likewise.
21924 (CFLAGS-getspnam_r.c): Likewise.
21925 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21926 (CFLAGS-sigsuspend.c): Likewise.
21927 (CFLAGS-sigtimedwait.c): Likewise.
21928 (CFLAGS-sigwait.c): Likewise.
21929 (CFLAGS-sigwaitinfo.c): Likewise.
21930 (CFLAGS-sigreturn.c): Likewise.
21931 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21932 (CFLAGS-vfwprintf.c): Likewise.
21933 (CFLAGS-tmpfile.c): Likewise.
21934 (CFLAGS-tmpfile64.c): Likewise.
21935 (CFLAGS-tempname.c): Likewise.
21936 (CFLAGS-psignal.c): Likewise.
21937 (CFLAGS-vprintf.c): Likewise.
21938 (CFLAGS-cuserid.c): Likewise.
21939 (CFLAGS-errlist.c): Likewise.
21940 (CFLAGS-siglist.c): Likewise.
21941 (CFLAGS-scanf15.c): Likewise.
21942 (CFLAGS-scanf17.c): Likewise.
21943 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21944 (CFLAGS-msort.c): Likewise.
21945 (CFLAGS-qsort.c): Likewise.
21946 (CFLAGS-system.c): Likewise.
21947 (CFLAGS-fmtmsg.c): Likewise.
21948 (CFLAGS-strfmon.c): Likewise.
21949 (CFLAGS-strfmon_l.c): Likewise.
21950 (CFLAGS-strfromd.c): Likewise.
21951 (CFLAGS-strfromf.c): Likewise.
21952 (CFLAGS-strfroml.c): Likewise.
21953 (CFLAGS-tst-bsearch.c): Likewise.
21954 (CFLAGS-tst-qsort.c): Likewise.
21955 (CFLAGS-tst-makecontext2.c): Likewise.
21956 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21957 (CFLAGS-xnlm_prot.c): Likewise.
21958 (CFLAGS-xrstat.c): Likewise.
21959 (CFLAGS-xyppasswd.c): Likewise.
21960 (CFLAGS-xklm_prot.c): Likewise.
21961 (CFLAGS-xrex.c): Likewise.
21962 (CFLAGS-xsm_inter.c): Likewise.
21963 (CFLAGS-xmount.c): Likewise.
21964 (CFLAGS-xrusers.c): Likewise.
21965 (CFLAGS-xspray.c): Likewise.
21966 (CFLAGS-xnfs_prot.c): Likewise.
21967 (CFLAGS-xrquota.c): Likewise.
21968 (CFLAGS-xkey_prot.c): Likewise.
21969 (CFLAGS-auth_unix.c): Likewise.
21970 (CFLAGS-key_call.c): Likewise.
21971 (CFLAGS-pmap_rmt.c): Likewise.
21972 (CFLAGS-clnt_perr.c): Likewise.
21973 (CFLAGS-openchild.c): Likewise.
21974 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21975 (CFLAGS-msgsnd.c): Likewise.
21976 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21977 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21978 (CFLAGS-tzset.c): Likewise.
21979 (CFLAGS-getdate.c): Likewise.
21980 (CFLAGS-test_time.c): Likewise.
21981 (CPPFLAGS-tst-tzname.c): Likewise.
21982 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21983 (CFLAGS-zic.c): Likewise.
21984 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21985 (CFLAGS-wcswidth.c): Likewise.
21986 (CFLAGS-wcstol.c): Likewise.
21987 (CFLAGS-wcstoul.c): Likewise.
21988 (CFLAGS-wcstoll.c): Likewise.
21989 (CFLAGS-wcstoull.c): Likewise.
21990 (CFLAGS-wcstod.c): Likewise.
21991 (CFLAGS-wcstold.c): Likewise.
21992 (CFLAGS-wcstof128.c): Likewise.
21993 (CFLAGS-wcstof.c): Likewise.
21994 (CFLAGS-wcstol_l.c): Likewise.
21995 (CFLAGS-wcstoul_l.c): Likewise.
21996 (CFLAGS-wcstoll_l.c): Likewise.
21997 (CFLAGS-wcstoull_l.c): Likewise.
21998 (CFLAGS-wcstod_l.c): Likewise.
21999 (CFLAGS-wcstold_l.c): Likewise.
22000 (CFLAGS-wcstof128_l.c): Likewise.
22001 (CFLAGS-wcstof_l.c): Likewise.
22002 (CPPFLAGS-tst-wchar-h.c): Likewise.
22003 (CPPFLAGS-wcstold_l.c): Likewise.
22004
22005 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
22006
22007 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
22008
22009 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22010 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22011
22012 * manual/tunables.texi (Hardware Capability Tunables): Document
22013 glibc.tune.cached_memopt.
22014 * sysdeps/powerpc/cpu-features.c: New file.
22015 * sysdeps/powerpc/cpu-features.h: New file.
22016 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
22017 _dl_powerpc_cpu_features.
22018 * sysdeps/powerpc/dl-tunables.list: New file.
22019 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
22020 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22021 (INIT_ARCH): Initialize use_aligned_memopt.
22022 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
22023 IS_IN(rtld))]: Restrict dl_platform_init availability and
22024 initialize CPU features used by tunables.
22025 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
22026 Add memcpy-power8-cached.
22027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
22028 __memcpy_power8_cached.
22029 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22030 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
22031 New file.
22032
22033 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22034
22035 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
22036 (CFLAGS-noinl-tester.c): Likewise.
22037 (CFLAGS-tst-strlen.c): Likewise.
22038 (CFLAGS-stratcliff.c): Likewise.
22039 (CFLAGS-test-ffs.c): Likewise.
22040 (CFLAGS-tst-inlcall.c): Likewise.
22041 (CFLAGS-tst-xbzero-opt.c): Likewise.
22042 (CFLAGS-memcpy.c): Likewise.
22043 (CFLAGS-wordcopy.c): Likewise.
22044
22045 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22046
22047 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
22048 Store r15 on stack and add cfi rule.
22049 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22050 Likewise.
22051
22052 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
22053
22054 [BZ #22577]
22055 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
22056 call.
22057
22058 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22059
22060 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22061 Add s_sinf-sse2 and s_sinf-fma.
22062 (CFLAGS-s_sinf-fma.c): New.
22063 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
22064 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
22065 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
22066
22067 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22068
22069 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
22070
22071 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22072
22073 [BZ #22568]
22074 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
22075 part of result to imaginary part of argument if it is zero and the
22076 real part of the argument is not finite.
22077 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
22078 of result to real part of argument if it is zero and the imaginary
22079 part of the argument is not finite.
22080
22081 2017-12-07 Mike FABIAN <mfabian@redhat.com>
22082
22083 [BZ #22524]
22084 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
22085 and to the list of locales to be built for testing.
22086 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
22087 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
22088 and build the collation rules upon that.
22089
22090 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22091
22092 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
22093 * manual/math.texi (Mathematics): Document support for _Float32.
22094 * math/Makefile (test-types): Add float32.
22095 * math/Versions (GLIBC_2.27): Add _Float32 functions.
22096 * stdlib/Versions (GLIBC_2.27): Likewise.
22097 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22098 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22099 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22100 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22101 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22102 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22103 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22104 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22105 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22106 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22107 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22108 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22109 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22110 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22111 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22112 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22113 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22114 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22115 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22116 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22117 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22118 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22119 Likewise.
22120 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22121 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22122 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22123 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22124 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22126 Likewise.
22127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22128 Likewise.
22129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22130 Likewise.
22131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22132 Likewise.
22133
22134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22135 Likewise.
22136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22137 Likewise.
22138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22139 Likewise.
22140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22141 Likewise.
22142 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22143 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22144 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22145 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22146 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22147 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22148 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22149 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22150 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22151 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22153 Likewise.
22154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22155 Likewise.
22156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22157 Likewise.
22158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22159 Likewise.
22160 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22161 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22162 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22163 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22164 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22165 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22166 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22167 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22168
22169 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22170
22171 * stdlib/strtof.c: Include <bits/floatn.h>
22172 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22173 and later undefine as macro. Define as weak alias if
22174 [!USE_WIDE_CHAR].
22175 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22176 and later undefine as macro. Define as weak alias if
22177 [USE_WIDE_CHAR].
22178 * stdlib/strtof_l.c: Include <bits/floatn.h>
22179 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22180 and later undefine as macro. Define as weak alias if
22181 [!USE_WIDE_CHAR].
22182 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22183 and later undefine as macro. Define as weak alias if
22184 [USE_WIDE_CHAR].
22185
22186 * stdlib/strfromf.c: Include <bits/floatn.h>.
22187 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22188 and later undefine as macro and define as weak alias.
22189
22190 * math/test-float32.h: New file.
22191
22192 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22193 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22194 (libm_alias_float_other_r): Create f32 alias.
22195 (libm_alias_float_r): Use semicolon before call to
22196 libm_alias_float_other_r.
22197
22198 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22199 second argument to libm_alias_float_other.
22200 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22201 second argument to libm_alias_float_other.
22202 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22203 argument to libm_alias_float_other.
22204
22205 [BZ #22561]
22206 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22207 real part of result for argument 0 + i * NaN.
22208 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22209 results for tests of 0 + i * NaN.
22210
22211 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22212
22213 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22214
22215 2017-12-06 David S. Miller <davem@davemloft.net>
22216
22217 * sysdeps/sparc/fpu/libm-test-ulps: Update
22218 exp_{downward,towardzero,upward} ulps.
22219
22220 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22221
22222 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22223 variables static.
22224
22225 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22226 (Y0_2D): Likewise.
22227 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22228 (Y0_2D): Likewise.
22229 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22230 (Y0_2D): Likewise.
22231 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22232 (Y0_2D): Likewise.
22233
22234 2017-12-06 Mike FABIAN <mfabian@redhat.com>
22235
22236 [BZ #22515]
22237 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22238 and to the list of locales to be built for testing.
22239 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22240 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22241 and build the collation rules upon that.
22242
22243 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22244
22245 * NEWS: Add sinf to list of optimized functions.
22246
22247 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22248
22249 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22250 (__HAVE_FLOAT32X): Likewise.
22251 * manual/math.texi (Mathematics): Document support for _Float64
22252 and _Float32x.
22253 * math/Makefile (test-types): Add float64 and float32x.
22254 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22255 functions.
22256 * stdlib/Versions (GLIBC_2.27): Likewise.
22257 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22258 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22259 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22260 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22261 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22262 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22263 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22264 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22265 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22266 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22267 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22268 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22269 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22270 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22271 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22272 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22273 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22274 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22275 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22276 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22277 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22278 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22279 Likewise.
22280 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22281 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22282 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22283 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22284 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22286 Likewise.
22287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22288 Likewise.
22289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22290 Likewise.
22291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22292 Likewise.
22293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22294 Likewise.
22295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22296 Likewise.
22297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22298 Likewise.
22299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22300 Likewise.
22301 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22302 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22303 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22304 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22305 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22306 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22307 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22308 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22309 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22310 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22312 Likewise.
22313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22314 Likewise.
22315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22316 Likewise.
22317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22318 Likewise.
22319 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22320 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22321 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22322 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22323 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22324 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22325 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22326 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22327
22328 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22329
22330 * bits/floatn-common.h: Include <bits/long-double.h>.
22331 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22332 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22333 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22334 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22335 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22336 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22337 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22338 (__builtin_huge_valf64): Use __builtin_huge_vall.
22339 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22340 (__builtin_inff64): Use __builtin_infl.
22341 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22342 (__builtin_nanf64): Use __builtin_nanl.
22343 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22344 (__builtin_nansf64): Use __builtin_nansl.
22345
22346 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22347 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22348 Carlos O'Donnell <carlos@redhat.com>
22349
22350 * elf/dl-tunables.list: Add elision parameters.
22351 * manual/tunables.texi: Add entries about elision tunable.
22352 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22353 Add callback functions to dynamically enable/disable elision.
22354 Add multiple callbacks functions to set elision parameters.
22355 Deleted __libc_enable_secure check.
22356 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22357 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22358 * configure: Regenerated.
22359 * configure.ac: Option enable_lock_elision was deleted.
22360 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22361 * config.make.in: Remove references to enable_lock_elision.
22362 * manual/install.texi: Elision configure option was removed.
22363 * INSTALL: Regenerated to remove enable_lock_elision.
22364 * nptl/Makefile:
22365 Disable elision so it can verify error case for destroying a mutex.
22366 * sysdeps/powerpc/nptl/elide.h:
22367 Cleanup ENABLE_LOCK_ELISION check.
22368 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22369 * sysdeps/s390/configure: Regenerated.
22370 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22371 * nptl/tst-mutex8.c:
22372 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22373 * sysdeps/powerpc/powerpc32/sysdep.h:
22374 Deleted all ENABLE_LOCK_ELISION checks.
22375 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22376 * sysdeps/powerpc/sysdep.h: Likewise.
22377 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22378 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22379 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22380 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22381 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22382 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22383 enable-lock-elision.
22384
22385 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22386
22387 * stdlib/strtod.c: Include <bits/floatn.h>.
22388 (BUILD_DOUBLE): New macro.
22389 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22390 (strtof64): Define and later undefine as macro. Define as weak
22391 alias if [!USE_WIDE_CHAR].
22392 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22393 (wcstof64): Define and later undefine as macro. Define as weak
22394 alias if [USE_WIDE_CHAR].
22395 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22396 (strtof32x): Define and later undefine as macro. Define as weak
22397 alias if [!USE_WIDE_CHAR].
22398 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22399 (wcstof32x): Define and later undefine as macro. Define as weak
22400 alias if [USE_WIDE_CHAR].
22401 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22402 (BUILD_DOUBLE): New macro.
22403 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22404 (strtof64_l): Define and later undefine as macro. Define as weak
22405 alias if [!USE_WIDE_CHAR].
22406 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22407 (wcstof64_l): Define and later undefine as macro. Define as weak
22408 alias if [USE_WIDE_CHAR].
22409 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22410 (strtof32x_l): Define and later undefine as macro. Define as weak
22411 alias if [!USE_WIDE_CHAR].
22412 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22413 (wcstof32x_l): Define and later undefine as macro. Define as weak
22414 alias if [USE_WIDE_CHAR].
22415
22416 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22417
22418 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22419 (reduced): Use ones as double instead of integer.
22420
22421 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22422
22423 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22424
22425 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22426
22427 * stdlib/strfromd.c: Include <bits/floatn.h>.
22428 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22429 and later undefine as macro and define as weak alias.
22430 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22431 Likewise.
22432
22433 * math/test-float32x.h: New file.
22434 * math/test-float64.h: Likewise.
22435
22436 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22437 (libm_alias_double_other_r_f64): New macro.
22438 (libm_alias_double_other_r_f32x): Likewise.
22439 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22440 libm_alias_double_other_r_f32x.
22441 (libm_alias_double_r): Use semicolon before call to
22442 libm_alias_double_other_r.
22443 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22444 <bits/floatn.h>.
22445 (libm_alias_double_other_r_f64): New macro.
22446 (libm_alias_double_other_r_f32x): Likewise.
22447 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22448 libm_alias_double_other_r_f32x.
22449
22450 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22451
22452 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22453 int.
22454 (SINF_FUNC): Likewise. Replace floor with simple casts.
22455
22456 2017-12-05 Mike FABIAN <mfabian@redhat.com>
22457
22458 [BZ #22517]
22459 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22460 and to the list of locales to be built for testing.
22461 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22462 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22463 and build the collation rules upon that.
22464
22465 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22466
22467 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22468 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22469 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22470 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22471 instead of __insn__xxx.
22472 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22473 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22474 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22475 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22476 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22477 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22478
22479 2017-12-05 Florian Weimer <fweimer@redhat.com>
22480
22481 Linux: Implement interfaces for memory protection keys
22482 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22483 xsignal, xsysconf.
22484 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22485 * support/xunistd.h (xsysconf): Declare.
22486 * support/xraise.c: New file.
22487 * support/xsigaction.c: Likewise.
22488 * support/xsignal.c: Likewise.
22489 * support/xsysconf.c: Likewise.
22490 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22491 pkey_set, pkey_get, pkey_mprotect.
22492 [misc] (tests): Add tst-pkey.
22493 (tst-pkey): Link with -lpthread.
22494 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22495 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22496 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22497 (PKEY_DISABLE_WRITE): Define.
22498 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22499 Declare.
22500 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22501 (SEGV_PKUERR): Add.
22502 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22503 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22504 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22505 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22506 Add.
22507 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22508 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22509 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22510 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22511 * sysdeps/unix/sysv/linux/**.abilist: Update.
22512
22513 2017-12-05 Florian Weimer <fweimer@redhat.com>
22514
22515 * support/tst-test_compare.c (subprocess): Use long long instead
22516 of long argument for consistent type width across 32-bit and
22517 64-bit architectures.
22518 (do_test): Adjust expected output.
22519
22520 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22521
22522 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22523 (cosf): Define using libm_alias_float.
22524 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22525 (fabsf): Define using libm_alias_float.
22526 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22527 (fmaf): Define using libm_alias_float.
22528 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22529 (rintf): Define using libm_alias_float.
22530 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22531 (sinf): Define using libm_alias_float.
22532 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22533 <libm-alias-float.h>.
22534 (modff): Define using libm_alias_float.
22535 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22536 <libm-alias-float.h>.
22537 (logbf): Define using libm_alias_float.
22538 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22539 <libm-alias-float.h>.
22540 (ceilf): Define using libm_alias_float.
22541 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22542 <libm-alias-float.h>.
22543 (copysignf): Define using libm_alias_float.
22544 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22545 <libm-alias-float.h>.
22546 (floorf): Define using libm_alias_float.
22547 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22548 <libm-alias-float.h>.
22549 (llrintf): Define using libm_alias_float.
22550 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22551 <libm-alias-float.h>.
22552 (llroundf): Define using libm_alias_float.
22553 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22554 <libm-alias-float.h>.
22555 (lrintf): Define using libm_alias_float.
22556 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22557 <libm-alias-float.h>.
22558 (lroundf): Define using libm_alias_float.
22559 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22560 <libm-alias-float.h>.
22561 (nearbyintf): Define using libm_alias_float.
22562 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22563 <libm-alias-float.h>.
22564 (rintf): Define using libm_alias_float.
22565 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22566 <libm-alias-float.h>.
22567 (roundf): Define using libm_alias_float.
22568 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22569 <libm-alias-float.h>.
22570 (truncf): Define using libm_alias_float.
22571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22572 Include <libm-alias-float.h>.
22573 (ceilf): Define using libm_alias_float.
22574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22575 Include <libm-alias-float.h>.
22576 (copysignf): Define using libm_alias_float.
22577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22578 Include <libm-alias-float.h>.
22579 (floorf): Define using libm_alias_float.
22580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22581 Include <libm-alias-float.h>.
22582 (llrintf): Define using libm_alias_float.
22583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22584 Include <libm-alias-float.h>.
22585 (llroundf): Define using libm_alias_float.
22586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22587 Include <libm-alias-float.h>.
22588 (logbf): Define using libm_alias_float.
22589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22590 Include <libm-alias-float.h>.
22591 (lrintf): Define using libm_alias_float.
22592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22593 Include <libm-alias-float.h>.
22594 (lroundf): Define using libm_alias_float.
22595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22596 Include <libm-alias-float.h>.
22597 (modff): Define using libm_alias_float.
22598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22599 Include <libm-alias-float.h>.
22600 (roundf): Define using libm_alias_float.
22601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22602 Include <libm-alias-float.h>.
22603 (truncf): Define using libm_alias_float.
22604 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22605 <libm-alias-float.h>.
22606 (llrintf): Define using libm_alias_float.
22607 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22608 <libm-alias-float.h>.
22609 (llroundf): Define using libm_alias_float.
22610 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22611 <libm-alias-float.h>.
22612 (ceilf): Define using libm_alias_float.
22613 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22614 <libm-alias-float.h>.
22615 (floorf): Define using libm_alias_float.
22616 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22617 <libm-alias-float.h>.
22618 (llroundf): Define using libm_alias_float.
22619 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22620 <libm-alias-float.h>.
22621 (lroundf): Define using libm_alias_float.
22622 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22623 <libm-alias-float.h>.
22624 (roundf): Define using libm_alias_float.
22625 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22626 <libm-alias-float.h>.
22627 (truncf): Define using libm_alias_float.
22628 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22629 <libm-alias-float.h>.
22630 (copysignf): Define using libm_alias_float.
22631 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22632 <libm-alias-float.h>.
22633 (llrintf): Define using libm_alias_float.
22634 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22635 <libm-alias-float.h>.
22636 (llroundf): Define using libm_alias_float.
22637 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22638 <libm-alias-float.h>.
22639 (lrintf): Define using libm_alias_float.
22640 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22641 <libm-alias-float.h>.
22642 (lroundf): Define using libm_alias_float.
22643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22644 <libm-alias-float.h>.
22645 (ceilf): Define using libm_alias_float.
22646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22647 <libm-alias-float.h>.
22648 (copysignf): Define using libm_alias_float.
22649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22650 <libm-alias-float.h>.
22651 (cosf): Define using libm_alias_float.
22652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22653 <libm-alias-float.h>.
22654 (floorf): Define using libm_alias_float.
22655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22656 <libm-alias-float.h>.
22657 (llrintf): Define using libm_alias_float.
22658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22659 <libm-alias-float.h>.
22660 (llroundf): Define using libm_alias_float.
22661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22662 <libm-alias-float.h>.
22663 (logbf): Define using libm_alias_float.
22664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22665 <libm-alias-float.h>.
22666 (modff): Define using libm_alias_float.
22667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22668 <libm-alias-float.h>.
22669 (roundf): Define using libm_alias_float.
22670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22671 <libm-alias-float.h>.
22672 (sinf): Define using libm_alias_float.
22673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22674 <libm-alias-float.h>.
22675 (truncf): Define using libm_alias_float.
22676 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22677 <libm-alias-float.h>.
22678 (ceilf): Define using libm_alias_float.
22679 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22680 <libm-alias-float.h>.
22681 (copysignf): Define using libm_alias_float.
22682 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22683 <libm-alias-float.h>.
22684 (floorf): Define using libm_alias_float.
22685 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22686 <libm-alias-float.h>.
22687 (llrintf): Define using libm_alias_float.
22688 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22689 <libm-alias-float.h>.
22690 (llroundf): Define using libm_alias_float.
22691 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22692 <libm-alias-float.h>.
22693 (nearbyintf): Define using libm_alias_float.
22694 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22695 <libm-alias-float.h>.
22696 (rintf): Define using libm_alias_float.
22697 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22698 <libm-alias-float.h>.
22699 (roundf): Define using libm_alias_float.
22700 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22701 <libm-alias-float.h>.
22702 (truncf): Define using libm_alias_float.
22703 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22704 <libm-alias-float.h>.
22705 (ceilf): Define using libm_alias_float.
22706 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22707 <libm-alias-float.h>.
22708 (floorf): Define using libm_alias_float.
22709 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22710 <libm-alias-float.h>.
22711 (llroundf): Define using libm_alias_float.
22712 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22713 <libm-alias-float.h>.
22714 (roundf): Define using libm_alias_float.
22715 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22716 <libm-alias-float.h>.
22717 (truncf): Define using libm_alias_float.
22718 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22719 <libm-alias-float.h>.
22720 (copysignf): Define using libm_alias_float.
22721 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22722 <libm-alias-float.h>.
22723 (llrintf): Define using libm_alias_float.
22724 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22725 <libm-alias-float.h>.
22726 (llroundf): Define using libm_alias_float.
22727 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22728 <libm-alias-float.h>.
22729 (cosf): Define using libm_alias_float.
22730 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22731 <libm-alias-float.h>.
22732 (llrintf): Define using libm_alias_float.
22733 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22734 <libm-alias-float.h>.
22735 (llroundf): Define using libm_alias_float.
22736 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22737 <libm-alias-float.h>.
22738 (sinf): Define using libm_alias_float.
22739
22740 2017-12-04 Florian Weimer <fweimer@redhat.com>
22741
22742 * support/check.h (TEST_COMPARE): Define.
22743 (support_test_compare_failure): Declare.
22744 * support/Makefile (libsupport-routines): Add
22745 support_test_compare_failure.
22746 (tests): Add tst-test_compare.
22747 * support /support_test_compare_failure.c: New file.
22748 * support/tst-test_compare.c: Likewise.
22749
22750 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22751
22752 [BZ #22527]
22753 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22754 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22755 available, this rewrite of the collation rules does reproduce
22756 the test file in the same order.
22757
22758 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22759
22760 [BZ #10580]
22761 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22762 digraphs in the month and day names. Using single code points for
22763 digraphs is deprecated. While there are dedicated Unicode
22764 codepoints, for the digraphs, these are included for backwards
22765 compatibility and modern texts use a sequence of Basic Latin
22766 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22767 This makes the month and day names agree exactly with CLDR now,
22768 CLDR does not use the single code points for the digraphs either.
22769
22770 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22771
22772 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22773
22774 2017-12-04 Joseph Myers <joseph@codesourcery.com>
22775
22776 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22777 of floor.
22778
22779 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22780
22781 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22782 Define only for libc.so.
22783
22784 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22785
22786 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22787 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
22788 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
22789 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22790 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22791
22792 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22793
22794 [BZ #5997]
22795 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22796
22797 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
22798
22799 [BZ libc/19170]
22800 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22801 PREINIT_FUNCTION_WEAK is nonzero.
22802 (gmon_initializer): New function. Put procedure label for it in
22803 .init_array section.
22804 (_init): Don't call PREINIT_FUNCTION.
22805 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22806 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22807 value when map argument is null.
22808
22809 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22810 depi instruction from PIC pc-relative sequence.
22811 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22812 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22813 (elf_machine_load_address): Likewise.
22814 (elf_machine_runtime_setup): Likewise.
22815
22816 2017-12-02 Joseph Myers <joseph@codesourcery.com>
22817
22818 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22819 <libm-alias-double.h>.
22820 (logb): Define using libm_alias_double.
22821 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22822 <libm-alias-double.h>.
22823 (copysign): Define using libm_alias_double.
22824 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22825 <libm-alias-double.h>.
22826 (llrint): Define using libm_alias_double.
22827 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22828 <libm-alias-double.h>.
22829 (llround): Define using libm_alias_double.
22830 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22831 <libm-alias-double.h>.
22832 (lrint): Define using libm_alias_double.
22833 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22834 <libm-alias-double.h>.
22835 (lround): Define using libm_alias_double.
22836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22837 Include <libm-alias-double.h>.
22838 (copysign): Define using libm_alias_double.
22839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22840 Include <libm-alias-double.h>.
22841 (llrint): Define using libm_alias_double.
22842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22843 Include <libm-alias-double.h>.
22844 (llround): Define using libm_alias_double.
22845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22846 <libm-alias-double.h>.
22847 (logb): Define using libm_alias_double.
22848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22849 Include <libm-alias-double.h>.
22850 (lrint): Define using libm_alias_double.
22851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22852 Include <libm-alias-double.h>.
22853 (lround): Define using libm_alias_double.
22854 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22855 <libm-alias-double.h>.
22856 (llrint): Define using libm_alias_double.
22857 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22858 <libm-alias-double.h>.
22859 (llround): Define using libm_alias_double.
22860 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22861 <libm-alias-double.h>.
22862 (llround): Define using libm_alias_double.
22863 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22864 <libm-alias-double.h>.
22865 (lround): Define using libm_alias_double.
22866 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22867 <libm-alias-double.h>.
22868 (copysign): Define using libm_alias_double.
22869 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22870 <libm-alias-double.h>.
22871 (llrint): Define using libm_alias_double.
22872 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22873 <libm-alias-double.h>.
22874 (llround): Define using libm_alias_double.
22875 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22876 <libm-alias-double.h>.
22877 (lrint): Define using libm_alias_double.
22878 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22879 <libm-alias-double.h>.
22880 (lround): Define using libm_alias_double.
22881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22882 <libm-alias-double.h>.
22883 (copysign): Define using libm_alias_double.
22884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22885 <libm-alias-double.h>.
22886 (llrint): Define using libm_alias_double.
22887 (lrint): Likewise.
22888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22889 <libm-alias-double.h>.
22890 (llround): Define using libm_alias_double.
22891 (lround): Likewise.
22892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22893 <libm-alias-double.h>.
22894 (logb): Define using libm_alias_double.
22895 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22896 <libm-alias-double.h>.
22897 (copysign): Define using libm_alias_double.
22898 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22899 <libm-alias-double.h>.
22900 (llrint): Define using libm_alias_double.
22901 (lrint): Likewise.
22902 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22903 <libm-alias-double.h>.
22904 (llround): Define using libm_alias_double.
22905 (lround): Likewise.
22906 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22907 <libm-alias-double.h>.
22908 (llround): Define using libm_alias_double.
22909 (lround): Likewise.
22910 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22911 <libm-alias-double.h>.
22912 (copysign): Define using libm_alias_double.
22913 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22914 <libm-alias-double.h>.
22915 (llrint): Define using libm_alias_double.
22916 (lrint): Likewise.
22917 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22918 <libm-alias-double.h>.
22919 (llround): Define using libm_alias_double.
22920 (lround): Likewise.
22921 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22922 <libm-alias-double.h>.
22923 (llrint): Define using libm_alias_double.
22924 (lrint): Likewise.
22925 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22926 <libm-alias-double.h>.
22927 (llround): Define using libm_alias_double.
22928 (lround): Likewise.
22929
22930 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22931
22932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22933 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22934 compat symbol based on llround.
22935
22936 * sysdeps/powerpc/power7/fpu/s_logb.c
22937 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22938 symbol based on __logb, not on logb.
22939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22940 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22942 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22943
22944 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22945 (rint): Define using libm_alias_double.
22946 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22947 <libm-alias-double.h>.
22948 (modf): Define using libm_alias_double.
22949 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22950 <libm-alias-double.h>.
22951 (ceil): Define using libm_alias_double.
22952 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22953 <libm-alias-double.h>.
22954 (floor): Define using libm_alias_double.
22955 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22956 <libm-alias-double.h>.
22957 (nearbyint): Define using libm_alias_double.
22958 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22959 <libm-alias-double.h>.
22960 (rint): Define using libm_alias_double.
22961 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22962 <libm-alias-double.h>.
22963 (round): Define using libm_alias_double.
22964 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22965 <libm-alias-double.h>.
22966 (trunc): Define using libm_alias_double.
22967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22968 <libm-alias-double.h>.
22969 (ceil): Define using libm_alias_double.
22970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22971 Include <libm-alias-double.h>.
22972 (floor): Define using libm_alias_double.
22973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22974 <libm-alias-double.h>.
22975 (modf): Define using libm_alias_double.
22976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22977 Include <libm-alias-double.h>.
22978 (round): Define using libm_alias_double.
22979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22980 Include <libm-alias-double.h>.
22981 (trunc): Define using libm_alias_double.
22982 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22983 <libm-alias-double.h>.
22984 (ceil): Define using libm_alias_double.
22985 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22986 <libm-alias-double.h>.
22987 (floor): Define using libm_alias_double.
22988 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22989 <libm-alias-double.h>.
22990 (round): Define using libm_alias_double.
22991 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22992 <libm-alias-double.h>.
22993 (trunc): Define using libm_alias_double.
22994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22995 <libm-alias-double.h>.
22996 (ceil): Define using libm_alias_double.
22997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22998 <libm-alias-double.h>.
22999 (floor): Define using libm_alias_double.
23000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
23001 <libm-alias-double.h>.
23002 (modf): Define using libm_alias_double.
23003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
23004 <libm-alias-double.h>.
23005 (round): Define using libm_alias_double.
23006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
23007 <libm-alias-double.h>.
23008 (trunc): Define using libm_alias_double.
23009 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
23010 <libm-alias-double.h>.
23011 (ceil): Define using libm_alias_double.
23012 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
23013 <libm-alias-double.h>.
23014 (floor): Define using libm_alias_double.
23015 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
23016 <libm-alias-double.h>.
23017 (nearbyint): Define using libm_alias_double.
23018 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
23019 <libm-alias-double.h>.
23020 (rint): Define using libm_alias_double.
23021 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
23022 <libm-alias-double.h>.
23023 (round): Define using libm_alias_double.
23024 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
23025 <libm-alias-double.h>.
23026 (trunc): Define using libm_alias_double.
23027 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
23028 <libm-alias-double.h>.
23029 (ceil): Define using libm_alias_double.
23030 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
23031 <libm-alias-double.h>.
23032 (floor): Define using libm_alias_double.
23033 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
23034 <libm-alias-double.h>.
23035 (round): Define using libm_alias_double.
23036 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
23037 <libm-alias-double.h>.
23038 (trunc): Define using libm_alias_double.
23039
23040 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
23041 (fabs): Define using libm_alias_double.
23042 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
23043 (fma): Define using libm_alias_double.
23044 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
23045 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
23046 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
23047 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
23048
23049 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23050
23051 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
23052
23053 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
23054 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
23055 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23056
23057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
23058 due redirect macro.
23059
23060 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
23061
23062 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
23063
23064 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23065
23066 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
23067 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
23068 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
23069 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
23070
23071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23072 (libm-sysdep_routines): Add s_nearbyintf-generic and
23073 s_nearbyint-generic.
23074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
23075 New file.
23076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
23077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
23078 Likewise.
23079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
23080 Likewise.
23081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
23082 file.
23083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23084 Likewise.
23085
23086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23087 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
23088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
23089 file.
23090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
23091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
23092 Likewise.
23093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
23094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
23095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23096
23097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23098 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
23099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
23100 file.
23101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
23102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
23103 Likewise.
23104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
23105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
23106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
23107
23108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23109 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
23110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
23111 file.
23112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
23113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
23114 Likewise.
23115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
23116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
23117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23118
23119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23120 (sysdep_calls): New rule.
23121 (sysdep_routines): Use sysdep_calls as base.
23122 (libm-sysdep_routines): Add generic rule for symbols shared with
23123 libc. Add s_copysign-generic and s_copysign-generic objects.
23124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
23125 New file.
23126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
23127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
23128 Likewise.
23129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
23130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
23131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
23132
23133 2017-12-01 Mike FABIAN <mfabian@redhat.com>
23134
23135 [BZ #22519]
23136 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
23137 the list of locales to be built for testing.
23138 * localedata/is_IS.UTF-8.in: New file.
23139 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
23140 on iso14651_t1.
23141
23142 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23143
23144 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
23145 <libm-alias-float.h>.
23146 (fabsf): Define using libm_alias_float.
23147
23148 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23149
23150 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
23151
23152 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23153
23154 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
23155 <libm-alias-float.h>.
23156 (fabsf): Define using libm_alias_float.
23157 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
23158 <libm-alias-float.h>.
23159 (lrintf): Define using libm_alias_float.
23160 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23161 <libm-alias-float.h>.
23162 (rintf): Define using libm_alias_float.
23163
23164 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23165 <libm-alias-double.h>.
23166 (fabs): Define using libm_alias_double.
23167 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23168 <libm-alias-double.h>.
23169 (lrint): Define using libm_alias_double.
23170 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23171 <libm-alias-double.h>.
23172 (rint): Define using libm_alias_double.
23173
23174 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23175 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23176 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23177 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23178 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23179 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23180 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23181 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23182 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23183 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23184 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23185 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23186 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23187 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23188 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23189 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23190 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23191 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23192 s_atan_template.c.
23193 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23194 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23195 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23196 s_ceil_template.c.
23197 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23198 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23199 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23200 s_cos_template.c.
23201 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23202 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23203 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23204 s_expm1_template.c.
23205 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23206 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23207 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23208 s_fabs_template.c.
23209 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23210 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23211 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23212 s_floor_template.c.
23213 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23214 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23215 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23216 s_frexp_template.c.
23217 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23218 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23219 s_lrint_template.c.
23220 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23221 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23222 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23223 s_modf_template.c.
23224 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23225 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23226 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23227 s_nearbyint_template.c.
23228 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23229 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23230 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23231 s_remquo_template.c.
23232 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23233 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23234 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23235 s_rint_template.c.
23236 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23237 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23238 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23239 s_sin_template.c.
23240 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23241 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23242 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23243 s_sincos_template.c.
23244 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23245 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23246 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23247 s_tan_template.c.
23248 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23249 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23250 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23251 s_tanh_template.c.
23252 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23253 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23254 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23255 s_trunc_template.c.
23256 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23257 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23258 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23259 s_atan.c instead of including s_atan.c.
23260 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23261 s_atanf.c instead of including s_atanf.c.
23262 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23263 s_atanl.c instead of including s_atanl.c.
23264 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23265 instead of s_atan.c.
23266 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23267 instead of s_atanf.c.
23268 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23269 instead of s_atanl.c.
23270
23271 * scripts/update-copyrights: Do not handle intl/plural.c
23272 specially.
23273
23274 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23275
23276 [BZ #22432]
23277 * configure.ac (BISON): Require to be present.
23278 * configure: Regenerated.
23279 * intl/Makefile (generated): Add plural.c.
23280 [$(BISON) != no]: Make code unconditional.
23281 (plural.c): Change rule to $(objpfx)plural.c.
23282 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23283 * intl/plural.c: Remove.
23284 * manual/install.texi (Tools for Compilation): Document bison as
23285 required.
23286 * INSTALL: Regenerated.
23287
23288 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23289
23290 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23291 <libm-alias-double.h>.
23292 (llrint): Define using libm_alias_double.
23293 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23294 <libm-alias-float.h>.
23295 (llrintf): Define using libm_alias_float.
23296 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23297 <libm-alias-ldouble.h>.
23298 (llrintl): Define using libm_alias_ldouble.
23299
23300 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23301 declare_mgen_alias instead of weak_alias.
23302 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23303 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23304 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23305
23306 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23307
23308 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23309 Add add_n-generic.
23310 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23311 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23312 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23313
23314 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23315 Add submul_1-generic.
23316 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23317 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23318 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23319
23320 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23321 Add addmul_1-generic.
23322 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23323 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23324 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23325
23326 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23327 Add sub_n-generic.
23328 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23329 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23330 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23331
23332 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23333 Add mul_1-generic.
23334 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23335 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23336 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23337
23338 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23339
23340 According to CLDR, collation rules for Serbian and Bosnian
23341 should be the same as for Croatian.
23342
23343 [BZ #22534]
23344 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23345 and to the list of locales to be built for testing.
23346 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23347 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23348 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23349 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23350
23351 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23352
23353 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23354 to make test case pass.
23355 * localedata/hr_HR.UTF-8.in: Add more test strings.
23356
23357 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23358
23359 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23360
23361 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23362
23363 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23364 the list of locales to built for testing.
23365 * localedata/hr_HR.UTF-8.in: New file.
23366
23367 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23368
23369 [BZ #10580]
23370 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23371 iso14651_t1.
23372 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23373 CLDR (except use ligatures for the digraphs, CLDR does not use
23374 the ligatures), add first_workday, some fixes in the date and time
23375 formats.
23376 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23377 for Đ and đ.
23378 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23379 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23380 Add int_p_cs_precedes and int_n_cs_precedes.
23381 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23382 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23383 LC_MONETARY now).
23384 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23385 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23386 name_miss.
23387 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23388 and lang_lib. Change postal_fmt.
23389
23390 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23391
23392 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23393 <setjmp.h>.
23394 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23395 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23396 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23397 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23398 * sysdeps/generic/setjmpP.h: New file.
23399 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23400 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23401 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23402 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23403 Add jmp_buf-ssp.sym.
23404 (tests): Add tst-saved_mask-1.
23405
23406 2017-11-30 Arjun Shankar <arjun@redhat.com>
23407
23408 [BZ #22375]
23409 CVE-2017-17426
23410 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23411 instead of request2size.
23412
23413 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23414
23415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23416 (__lllrint): Remove alias.
23417 (lllrint): Likewise.
23418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23419 (__lllrintf): Likewise.
23420 (lllrintf): Likewise.
23421
23422 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23423 <libm-alias-float.h>.
23424 (copysignf): Define using libm_alias_float.
23425 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23426 <libm-alias-float.h>.
23427 (fabsf): Define using libm_alias_float.
23428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23429 Include <libm-alias-float.h>.
23430 (copysignf): Define using libm_alias_float.
23431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23432 <libm-alias-float.h>.
23433 (fabsf): Define using libm_alias_float.
23434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23435 <libm-alias-float.h>.
23436 (fdimf): Define using libm_alias_float.
23437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23438 <libm-alias-float.h>.
23439 (fmaf): Define using libm_alias_float.
23440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23441 <libm-alias-float.h>.
23442 (llrintf): Define using libm_alias_float.
23443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23444 Include <libm-alias-float.h>.
23445 (nearbyintf): Define using libm_alias_float.
23446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23447 <libm-alias-float.h>.
23448 (rintf): Define using libm_alias_float.
23449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23450 <libm-alias-float.h>.
23451 (llrintf): Define using libm_alias_float.
23452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23453 <libm-alias-float.h>.
23454 (lrintf): Define using libm_alias_float.
23455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23456 <libm-alias-float.h>.
23457 (nearbyintf): Define using libm_alias_float.
23458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23459 <libm-alias-float.h>.
23460 (rintf): Define using libm_alias_float.
23461 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23462 <libm-alias-float.h>.
23463 (ceilf): Define using libm_alias_float.
23464 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23465 <libm-alias-float.h>.
23466 (floorf): Define using libm_alias_float.
23467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23468 <libm-alias-float.h>.
23469 (fmaf): Define using libm_alias_float.
23470 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23471 <libm-alias-float.h>.
23472 (lrintf): Define using libm_alias_float.
23473 (llrintf): Likewise.
23474 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23475 <libm-alias-float.h>.
23476 (nearbyintf): Define using libm_alias_float.
23477 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23478 <libm-alias-float.h>.
23479 (rintf): Define using libm_alias_float.
23480 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23481 <libm-alias-float.h>.
23482 (truncf): Define using libm_alias_float.
23483 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23484 <libm-alias-float.h>.
23485 (copysignf): Define using libm_alias_float.
23486 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23487 <libm-alias-float.h>.
23488 (fabsf): Define using libm_alias_float.
23489 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23490 <libm-alias-float.h>.
23491 (lrintf): Define using libm_alias_float.
23492 (llrintf): Likewise.
23493 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23494 <libm-alias-float.h>.
23495 (nearbyintf): Define using libm_alias_float.
23496 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23497 <libm-alias-float.h>.
23498 (rintf): Define using libm_alias_float.
23499
23500 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23501
23502 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23503 <libm-alias-double.h>.
23504 (copysign): Define using libm_alias_double.
23505 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23506 <libm-alias-double.h>.
23507 (fabs): Define using libm_alias_double.
23508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23509 Include <libm-alias-double.h>.
23510 (copysign): Define using libm_alias_double.
23511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23512 <libm-alias-double.h>.
23513 (fabs): Define using libm_alias_double.
23514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23515 <libm-alias-double.h>.
23516 (fdim): Define using libm_alias_double.
23517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23518 <libm-alias-double.h>.
23519 (fma): Define using libm_alias_double.
23520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23521 <libm-alias-double.h>.
23522 (llrint): Define using libm_alias_double.
23523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23524 Include <libm-alias-double.h>.
23525 (nearbyint): Define using libm_alias_double.
23526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23527 <libm-alias-double.h>.
23528 (rint): Define using libm_alias_double.
23529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23530 <libm-alias-double.h>.
23531 (fabs): Define using libm_alias_double.
23532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23533 <libm-alias-double.h>.
23534 (llrint): Define using libm_alias_double.
23535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23536 <libm-alias-double.h>.
23537 (nearbyint): Define using libm_alias_double.
23538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23539 <libm-alias-double.h>.
23540 (rint): Define using libm_alias_double.
23541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23542 <libm-alias-double.h>.
23543 (ceil): Define using libm_alias_double.
23544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23545 <libm-alias-double.h>.
23546 (floor): Define using libm_alias_double.
23547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23548 <libm-alias-double.h>.
23549 (fma): Define using libm_alias_double.
23550 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23551 <libm-alias-double.h>.
23552 (lrint): Define using libm_alias_double.
23553 (llrint): Likewise.
23554 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23555 <libm-alias-double.h>.
23556 (nearbyint): Define using libm_alias_double.
23557 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23558 <libm-alias-double.h>.
23559 (rint): Define using libm_alias_double.
23560 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23561 <libm-alias-double.h>.
23562 (trunc): Define using libm_alias_double.
23563 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23564 <libm-alias-double.h>.
23565 (copysign): Define using libm_alias_double.
23566 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23567 <libm-alias-double.h>.
23568 (fabs): Define using libm_alias_double.
23569 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23570 <libm-alias-double.h>.
23571 (lrint): Define using libm_alias_double.
23572 (llrint): Likewise.
23573 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23574 <libm-alias-double.h>.
23575 (nearbyint): Define using libm_alias_double.
23576 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23577 <libm-alias-double.h>.
23578 (rint): Define using libm_alias_double.
23579
23580 [BZ #22229]
23581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23582 <math_ldbl_opt.h>.
23583 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23584
23585 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23586 SPARC --disable-multi-arch glibc variants.
23587
23588 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23589 <libm-alias-float.h>.
23590 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23591 if [SHARED].
23592 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23593 <libm-alias-float.h>.
23594 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23595 if [SHARED].
23596 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23597 <libm-alias-float.h>.
23598 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23599 if [SHARED].
23600 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23601 <libm-alias-float.h>.
23602 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23603 if [SHARED].
23604 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23605 <libm-alias-float.h>.
23606 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23607 if [SHARED].
23608 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23609 <libm-alias-float.h>.
23610 (ceilf): Define using libm_alias_float.
23611 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23612 <libm-alias-float.h>.
23613 (floorf): Define using libm_alias_float.
23614 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23615 <libm-alias-float.h>.
23616 (fmaf): Define using libm_alias_float.
23617 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23618 <libm-alias-float.h>.
23619 (nearbyintf): Define using libm_alias_float.
23620 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23621 <libm-alias-float.h>.
23622 (rintf): Define using libm_alias_float.
23623 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23624 <libm-alias-float.h>.
23625 (truncf): Define using libm_alias_float.
23626 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23627 (copysignf): Define using libm_alias_float.
23628 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23629 (cosf): Define using libm_alias_float.
23630 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23631 (fabsf): Define using libm_alias_float.
23632 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23633 (fmaxf): Define using libm_alias_float.
23634 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23635 (fminf): Define using libm_alias_float.
23636 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23637 (llrintf): Define using libm_alias_float.
23638 [!__ILP32__] (lrintf): Likewise.
23639 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23640 (sincosf): Define using libm_alias_float.
23641 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23642 (sinf): Define using libm_alias_float.
23643 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23644 (lrintf): Define using libm_alias_float.
23645
23646 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23647 <libm-alias-double.h>.
23648 (atan): Define using libm_alias_double.
23649 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23650 <libm-alias-double.h>.
23651 (ceil): Define using libm_alias_double.
23652 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23653 <libm-alias-double.h>.
23654 (floor): Define using libm_alias_double.
23655 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23656 <libm-alias-double.h>.
23657 (fma): Define using libm_alias_double.
23658 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23659 <libm-alias-double.h>.
23660 (nearbyint): Define using libm_alias_double.
23661 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23662 <libm-alias-double.h>.
23663 (rint): Define using libm_alias_double.
23664 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23665 <libm-alias-double.h>.
23666 (sin): Define using libm_alias_double.
23667 (cos): Likewise.
23668 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23669 <libm-alias-double.h>.
23670 (tan): Define using libm_alias_double.
23671 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23672 <libm-alias-double.h>.
23673 (trunc): Define using libm_alias_double.
23674 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23675 (copysign): Define using libm_alias_double.
23676 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23677 (fabs): Define using libm_alias_double.
23678 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23679 (fmax): Define using libm_alias_double.
23680 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23681 (fmin): Define using libm_alias_double.
23682 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23683 (llrint): Define using libm_alias_double.
23684 [!__ILP32__] (lrint): Likewise.
23685 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23686 (lrint): Define using libm_alias_double.
23687
23688 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23689
23690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23691 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23692 objects.
23693 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23694 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23695 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23696 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23697 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23698 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23699
23700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23701 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23702 objects.
23703 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23706 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23707 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23708 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23709
23710 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23711 (libm-sysdep_routines): Add s_nearbyint-generic and
23712 s_nearbyintf-generic objects.
23713 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23714 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23715 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23716 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23717 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23718 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23719
23720 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23721 Add s_finitef-generic and s_finite-generic objects.
23722 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23723 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23724 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23725 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23727 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23728
23729 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23730 Add s_isinff-generic and s_isinf-generic objects.
23731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23737
23738 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23739 Add s_isnanf-generic and s_isnan-generic objects.
23740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23746
23747 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23748 macro.
23749 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23750 rule.
23751 (sysdep_routines): Use sysdep_calls as base.
23752 (libm-sysdep_routines): Add generic rule for symbols shared with
23753 libc. Add s_signbit-generic and s_signbitf-generic objects.
23754 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23755 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23756 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23760
23761 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23762
23763 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23764 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23765 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23766 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23767 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23768 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23769 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23770 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23771 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23772 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23773 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23774 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23775 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23776 libm_alias_float_r.
23777 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23778 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23779 (logf): Likewise.
23780 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23781 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23782 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23783 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23784 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23785 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23786 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23787 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23788 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23789 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23790 libm_alias_float.
23791 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23792 (cosf): Likewise.
23793 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23794 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23795 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23796 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23797 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23798 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23799 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23800 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23801 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23802 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23803 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23804 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23805 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23806 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23807 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23808 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23809 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23810 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23811 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23812 libm_alias_float.
23813 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23814 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23815 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23816 * sysdeps/ia64/fpu/w_lgammaf_main.c
23817 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23818 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23819
23820 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23821 Alexandre Oliva <aoliva@redhat.com>
23822
23823 [BZ #17750]
23824 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23825 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23826 accents sorting.
23827 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23828 sorting.
23829 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23830 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23831 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23832 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23833 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23834 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23835 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23836 instead of “ifdef DIACRIT_BACKWARD”.
23837
23838 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23839
23840 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23841 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23842 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23843 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23844 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23845 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23847 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23852 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23853 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23854 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23855 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23856 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23857 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23859 ($(have-as-vis3) == yes): Remove conditional.
23860 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23861 Likewise.
23862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23863 file.
23864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23865 file.
23866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23867 file.
23868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23869 file.
23870 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23871 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23872 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23873 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23876 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23877 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23878
23879 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23880
23881 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23882 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23883 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23884 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23885 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23886 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23887 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23888 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23889 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23890 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23891 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23892 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23893 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23894 libm_alias_double_r.
23895 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23896 (log): Likewise.
23897 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23898 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23899 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23900 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23901 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23902 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23903 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23904 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23905 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23906 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23907 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23908 libm_alias_double.
23909 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23910 (cos): Likewise.
23911 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23912 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23913 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23914 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23915 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23916 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23917 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23918 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23919 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23920 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23921 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23922 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23923 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23924 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23925 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23926 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23927 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23928 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23929 libm_alias_double.
23930 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23931 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23932 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23933 * sysdeps/ia64/fpu/w_lgamma_main.c
23934 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23935 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23936
23937 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
23938
23939 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23940 address of $global$ into %dp register earlier. Use pc-relative
23941 instruction sequence for PIC case.
23942
23943 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23944
23945 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23946 (asinhf): Define using libm_alias_float.
23947 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23948 (atanf): Define using libm_alias_float.
23949 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23950 (cbrtf): Define using libm_alias_float.
23951 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23952 (ceilf): Define using libm_alias_float.
23953 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23954 (copysignf): Define using libm_alias_float.
23955 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23956 (expm1f): Define using libm_alias_float.
23957 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23958 (fabsf): Define using libm_alias_float.
23959 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23960 (floorf): Define using libm_alias_float.
23961 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23962 (fmaxf): Define using libm_alias_float.
23963 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23964 (fminf): Define using libm_alias_float.
23965 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23966 (frexpf): Define using libm_alias_float.
23967 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23968 (llrintf): Define using libm_alias_float.
23969 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23970 (logbf): Define using libm_alias_float.
23971 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23972 (lrintf): Define using libm_alias_float.
23973 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23974 (nearbyintf): Define using libm_alias_float.
23975 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23976 (remquof): Define using libm_alias_float.
23977 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23978 (rintf): Define using libm_alias_float.
23979 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23980 (truncf): Define using libm_alias_float.
23981 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23982 <libm-alias-float.h>.
23983 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23984 if [SHARED].
23985 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23986 <libm-alias-float.h>.
23987 (expf): Define using libm_alias_float, or libm_alias_float_other
23988 if [SHARED].
23989 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23990 <libm-alias-float.h>.
23991 (log2f): Define using libm_alias_float, or libm_alias_float_other
23992 if [SHARED].
23993 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23994 <libm-alias-float.h>.
23995 (logf): Define using libm_alias_float, or libm_alias_float_other
23996 if [SHARED].
23997 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23998 <libm-alias-float.h>.
23999 (powf): Define using libm_alias_float, or libm_alias_float_other
24000 if [SHARED].
24001 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
24002 <libm-alias-float.h>.
24003 (cosf): Define using libm_alias_float.
24004 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
24005 <libm-alias-float.h>.
24006 (sincosf): Define using libm_alias_float.
24007 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
24008 <libm-alias-float.h>.
24009 (sinf): Define using libm_alias_float.
24010 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24011 (fmaxf): Define using libm_alias_float.
24012 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
24013 (fminf): Define using libm_alias_float.
24014 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24015 <libm-alias-float.h>.
24016 (fmaf): Define using libm_alias_float.
24017
24018 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
24019 (asinh): Define using libm_alias_double.
24020 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
24021 (atan): Define using libm_alias_double.
24022 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
24023 (cbrt): Define using libm_alias_double.
24024 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
24025 (ceil): Define using libm_alias_double.
24026 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
24027 (copysign): Define using libm_alias_double.
24028 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
24029 (expm1): Define using libm_alias_double.
24030 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
24031 (fabs): Define using libm_alias_double.
24032 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
24033 (fdim): Define using libm_alias_double.
24034 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
24035 (floor): Define using libm_alias_double.
24036 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
24037 (fmax): Define using libm_alias_double.
24038 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
24039 (fmin): Define using libm_alias_double.
24040 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
24041 (frexp): Define using libm_alias_double.
24042 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
24043 (llrint): Define using libm_alias_double.
24044 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
24045 (logb): Define using libm_alias_double.
24046 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
24047 (lrint): Define using libm_alias_double.
24048 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
24049 (nearbyint): Define using libm_alias_double.
24050 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
24051 (remquo): Define using libm_alias_double.
24052 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
24053 (rint): Define using libm_alias_double.
24054 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
24055 (trunc): Define using libm_alias_double.
24056 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
24057 (fmax): Define using libm_alias_double.
24058 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
24059 (fmin): Define using libm_alias_double.
24060 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
24061 (fma): Define using libm_alias_double.
24062
24063 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
24064
24065 [BZ #22370]
24066 * elf/dl-hwcaps.c (ROUND): Removed.
24067 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
24068 and ELF_NOTE_NEXT_OFFSET.
24069 * elf/dl-load.c (ROUND): Removed.
24070 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24071 * elf/readelflib.c (ROUND): Removed.
24072 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24073 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
24074 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
24075 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
24076
24077 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24078
24079 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24080 [!__fmaf] (fmaf): Define using libm_alias_float.
24081
24082 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
24083 [!__fma] (fma): Define using libm_alias_double.
24084 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
24085
24086 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24087
24088 [BZ #22336]
24089 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
24090 and implement the collation rules for cs from CLDR on top of that.
24091 * Makefile: Add cs_CZ.UTF-8 to test-input.
24092 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
24093
24094 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
24095
24096 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
24097
24098 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24099 Icarus Sparry <icarus.w.sparry@intel.com>
24100
24101 * benchtests/Makefile:Add BENCHSET to allow subsets of
24102 benchmarks to be run.
24103 * benchtests/README: Add documentation for: Running subsets of
24104 benchmarks.
24105
24106 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24107
24108 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
24109 range of tests names.
24110
24111 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
24112 result from property and remove "max", min" and "mean" from
24113 required properties based on benchtests/bench-skeleton.c.
24114
24115 2017-11-28 Florian Weimer <fweimer@redhat.com>
24116
24117 [BZ #20826]
24118 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
24119 due to Internet requirement.
24120 * posix/Makefile (tests): Remove tst-getaddrinfo4,
24121 tst-getaddrinfo5.
24122 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
24123
24124 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24125
24126 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24127 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
24128 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24129 (sysdep_routines): Add memset-ultra1.
24130 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
24131 file.
24132 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
24133 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
24134 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
24135 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
24136 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
24137 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
24138 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
24139 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24140
24141 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
24142 file.
24143 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
24144 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
24145 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
24146 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
24147 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
24148 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
24149 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
24150 macro.
24151 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24152 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
24153 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24154 (sysdep_routines): Add memcpy-ultra1.
24155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
24156 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
24157
24158 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24159
24160 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24161 (cfloat_versions): Take function argument without trailing 'f'.
24162 Call libm_alias_float_other.
24163 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24164 * sysdeps/alpha/fpu/cargf.c: Likewise.
24165 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24166 * sysdeps/alpha/fpu/conjf.c: Likewise.
24167 * sysdeps/alpha/fpu/crealf.c: Likewise.
24168 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24169 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24170 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24171 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24172 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24173 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24174 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24175 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24176 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24177 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24178 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24179 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24180 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24181 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24182 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24183 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24184 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24185 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24186 (clog10f): Use libm_alias_float_other.
24187 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24188 (ceilf): Define using libm_alias_float.
24189 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24190 (copysignf): Define using libm_alias_float.
24191 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24192 (fabsf): Define using libm_alias_float.
24193 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24194 (floorf): Define using libm_alias_float.
24195 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24196 (fmaxf): Define using libm_alias_float.
24197 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24198 (fminf): Define using libm_alias_float.
24199 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24200 (lrintf): Define using libm_alias_float.
24201 (llrintf): Likewise.
24202 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24203 (lroundf): Define using libm_alias_float.
24204 (llroundf): Likewise.
24205 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24206 (rintf): Define using libm_alias_float.
24207 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24208 (truncf): Define using libm_alias_float.
24209
24210 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24211 (ceilf): Define using libm_alias_float.
24212 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24213 (floorf): Define using libm_alias_float.
24214 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24215 (fmaf): Define using libm_alias_float.
24216 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24217 (fmaxf): Define using libm_alias_float.
24218 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24219 (fminf): Define using libm_alias_float.
24220 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24221 (llrintf): Define using libm_alias_float.
24222 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24223 (llroundf): Define using libm_alias_float.
24224 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24225 (lrintf): Define using libm_alias_float.
24226 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24227 (lroundf): Define using libm_alias_float.
24228 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24229 <libm-alias-float.h>.
24230 (nearbyintf): Define using libm_alias_float.
24231 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24232 (rintf): Define using libm_alias_float.
24233 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24234 (roundf): Define using libm_alias_float.
24235 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24236 (truncf): Define using libm_alias_float.
24237
24238 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24239 (ceil): Define using libm_alias_double.
24240 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24241 (copysign): Define using libm_alias_double.
24242 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24243 (fabs): Define using libm_alias_double.
24244 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24245 (floor): Define using libm_alias_double.
24246 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24247 (fmax): Define using libm_alias_double.
24248 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24249 (fmin): Define using libm_alias_double.
24250 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24251 (lrint): Define using libm_alias_double.
24252 (llrint): Likewise.
24253 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24254 (lround): Define using libm_alias_double.
24255 (llround): Likewise.
24256 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24257 (rint): Define using libm_alias_double.
24258 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24259 (trunc): Define using libm_alias_double.
24260
24261 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24262 (libm_alias_double_r): Add semicolon after weak_alias call.
24263
24264 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24265
24266 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24267 (ceil): Define using libm_alias_double.
24268 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24269 (floor): Define using libm_alias_double.
24270 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24271 (fma): Define using libm_alias_double.
24272 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24273 (fmax): Define using libm_alias_double.
24274 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24275 (fmin): Define using libm_alias_double.
24276 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24277 (llrint): Define using libm_alias_double.
24278 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24279 (llround): Define using libm_alias_double.
24280 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24281 (lrint): Define using libm_alias_double.
24282 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24283 (lround): Define using libm_alias_double.
24284 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24285 (nearbyint): Define using libm_alias_double.
24286 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24287 (rint): Define using libm_alias_double.
24288 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24289 (round): Define using libm_alias_double.
24290 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24291 (trunc): Define using libm_alias_double.
24292
24293 2017-11-27 Florian Weimer <fweimer@redhat.com>
24294
24295 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24296 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24297 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24298 (tests): Add tst-mlock2.
24299 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24300 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24301 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24302 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24303 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24304 for mlock. Document mlock2.
24305
24306 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24307
24308 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24309 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24310 Likewise.
24311 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24312 Likewise.
24313 * sysdeps/x86/Makeconfig: New file.
24314 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24315 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24316 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24317 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24318 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24319 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24320 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24321 Likewise.
24322 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24323 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24324 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24325 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24326 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24327 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24328 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24329 * manual/math.texi (Mathematics): Document support for _Float64x.
24330 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24331 * stdlib/Versions (GLIBC_2.27): Likewise.
24332 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24333 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24334 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24335 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24336 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24337 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24338 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24339 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24340 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24341 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24342 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24343 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24345 Likewise.
24346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24347 Likewise.
24348 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24349 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24350 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24351 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24352 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24353 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24354 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24355 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24356 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24357 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24358 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24359 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24360 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24361 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24362
24363 2017-11-27 Andreas Schwab <schwab@suse.de>
24364
24365 * elf/Makefile (dl-routines): Add dl-sort-maps.
24366 * elf/dl-sort-maps.c: New file.
24367 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24368 (_dl_sort_maps): Declare.
24369 * elf/dl-fini.c (_dl_sort_fini): Remove.
24370 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24371 * elf/dl-close.c (_dl_close_worker): Likewise.
24372 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24373 open-coding it.
24374 * elf/dl-open.c (dl_open_worker): Likewise.
24375
24376 2017-11-24 Joseph Myers <joseph@codesourcery.com>
24377
24378 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24379 using libm_alias_float128.
24380 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24381 Likewise.
24382 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24383 Likewise.
24384 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24385 (setpayloadsigf128): Likewise.
24386 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24387 Likewise.
24388 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24389 Likewise.
24390
24391 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24392 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24393 -mfloat128 to CFLAGS.
24394 ($(foreach
24395 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24396 Likewise.
24397 (CFLAGS-libm-test-support-float64x.c): New variable.
24398 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24399 $(f128-loader-link) to gnulib-tests.
24400
24401 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24402 (libm_alias_float128_other_r): If
24403 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24404 alias.
24405 (libm_alias_float128_r): Add semicolon after weak_alias call.
24406 * sysdeps/generic/libm-alias-ldouble.h
24407 (libm_alias_ldouble_other_r_f128): New macro.
24408 (libm_alias_ldouble_other_r_f64x): Likewise.
24409 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24410 and libm_alias_ldouble_other_r_f64x.
24411 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24412 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24413 (libm_alias_ldouble_other_r_f128): New macro.
24414 (libm_alias_ldouble_other_r_f64x): Likewise.
24415 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24416 and libm_alias_ldouble_other_r_f64x.
24417
24418 * stdlib/strfroml.c: Always include <stdlib.h>.
24419 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24420 undefine as macro and define as weak alias.
24421 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24422 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24423 <stdlib.h>.
24424 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24425 Define and later undefine as macro and define as weak alias.
24426
24427 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24428 Define and later undefine as macro. Define as weak alias if
24429 [!USE_WIDE_CHAR].
24430 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24431 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24432 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24433 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24434 Define and later undefine as macro. Define as weak alias if
24435 [!USE_WIDE_CHAR].
24436 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24437 Define and later undefine as macro. Define as weak alias if
24438 [USE_WIDE_CHAR].
24439 * sysdeps/ieee754/float128/strtof128_l.c
24440 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24441 Define and later undefine as macro. Define as weak alias if
24442 [!USE_WIDE_CHAR].
24443 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24444 Define and later undefine as macro. Define as weak alias if
24445 [USE_WIDE_CHAR].
24446 * sysdeps/ieee754/ldbl-128/strtold_l.c
24447 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24448 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24449 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24450 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24451 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24452 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24453 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24454 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24455 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24456 * sysdeps/ieee754/ldbl-96/strtold_l.c
24457 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24458 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24459 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24460 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24461
24462 * math/test-float64x.h: New file.
24463 * math/Makefile (type-float64x-yes): New variable.
24464 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24465
24466 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24467 function-like macro.
24468 (min_of_type_): Likewise.
24469 (min_of_type_l): Likewise.
24470 (min_of_type_f128): Likewise.
24471 (min_of_type): Pass () as last argument of __MATH_TG.
24472
24473 * stdlib/tst-strtod-round-skeleton.c
24474 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24475 headers.
24476
24477 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24478 for combinations of long double with _Float64 and _Float64x.
24479
24480 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24481 (__DECL_SIMD_cosf32): Likewise.
24482 (__DECL_SIMD_cosf64): Likewise.
24483 (__DECL_SIMD_cosf32x): Likewise.
24484 (__DECL_SIMD_cosf64x): Likewise.
24485 (__DECL_SIMD_cosf128x): Likewise.
24486 (__DECL_SIMD_sinf16): Likewise.
24487 (__DECL_SIMD_sinf32): Likewise.
24488 (__DECL_SIMD_sinf64): Likewise.
24489 (__DECL_SIMD_sinf32x): Likewise.
24490 (__DECL_SIMD_sinf64x): Likewise.
24491 (__DECL_SIMD_sinf128x): Likewise.
24492 (__DECL_SIMD_sincosf16): Likewise.
24493 (__DECL_SIMD_sincosf32): Likewise.
24494 (__DECL_SIMD_sincosf64): Likewise.
24495 (__DECL_SIMD_sincosf32x): Likewise.
24496 (__DECL_SIMD_sincosf64x): Likewise.
24497 (__DECL_SIMD_sincosf128x): Likewise.
24498 (__DECL_SIMD_logf16): Likewise.
24499 (__DECL_SIMD_logf32): Likewise.
24500 (__DECL_SIMD_logf64): Likewise.
24501 (__DECL_SIMD_logf32x): Likewise.
24502 (__DECL_SIMD_logf64x): Likewise.
24503 (__DECL_SIMD_logf128x): Likewise.
24504 (__DECL_SIMD_expf16): Likewise.
24505 (__DECL_SIMD_expf32): Likewise.
24506 (__DECL_SIMD_expf64): Likewise.
24507 (__DECL_SIMD_expf32x): Likewise.
24508 (__DECL_SIMD_expf64x): Likewise.
24509 (__DECL_SIMD_expf128x): Likewise.
24510 (__DECL_SIMD_powf16): Likewise.
24511 (__DECL_SIMD_powf32): Likewise.
24512 (__DECL_SIMD_powf64): Likewise.
24513 (__DECL_SIMD_powf32x): Likewise.
24514 (__DECL_SIMD_powf64x): Likewise.
24515 (__DECL_SIMD_powf128x): Likewise.
24516
24517 * stdlib/Versions (libc): Move entries for wcstof128 and
24518 wcstof128_l to ....
24519 * wcsmbs/Versions (libc): ... here.
24520 Include <float128-abi.h>.
24521
24522 2017-11-24 Florian Weimer <fweimer@redhat.com>
24523
24524 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24525 bits/mman-shared.h.
24526 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24527 <bits/mman-shared.h>.
24528 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24529 to ...
24530 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24531 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24532 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24533 <bits/mman-shared.h>.
24534
24535 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24536
24537 [BZ #22457]
24538 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24539 posix_memalign/free.
24540 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24541
24542 2017-11-22 Mike FABIAN <mfabian@redhat.com>
24543
24544 [BZ #22469]
24545 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24546 and implement the collation rules for pl from CLDR on top of that.
24547 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24548 of locales to be built for testing.
24549 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24550
24551 2017-11-23 Joseph Myers <joseph@codesourcery.com>
24552
24553 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24554 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24555 libm_alias_ldouble_other.
24556 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24557 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24558 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24559 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24560 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24561 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24562 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24563 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24564 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24565 libm_alias_ldouble_r.
24566 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24567 libm_alias_ldouble_other.
24568 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24569 (log10l): Likewise.
24570 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24571 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24572 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24573 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24574 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24575 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24576 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24577 (atan2l): Likewise.
24578 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24579 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24580 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24581 libm_alias_ldouble.
24582 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24583 (cosl): Likewise.
24584 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24585 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24586 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24587 (expl): Likewise.
24588 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24589 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24590 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24591 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24592 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24593 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24594 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24595 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24596 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24597 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24598 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24599 libm_alias_ldouble.
24600 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24601 libm_alias_ldouble_other.
24602 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24603 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24604 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24605 libm_alias_ldouble.
24606 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24607 libm_alias_ldouble_other.
24608 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24609 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24610 * sysdeps/ia64/fpu/w_lgammal_main.c
24611 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24612 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24613
24614 2017-11-23 Florian Weimer <fweimer@redhat.com>
24615
24616 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24617 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24618 alike. Remove freeres marker.
24619 * malloc/arena.c (arena_thread_freeres): Call
24620 tcache_thread_shutdown.
24621
24622 2017-11-23 Florian Weimer <fweimer@redhat.com>
24623
24624 [BZ #22459]
24625 Export nscd hash function as __nss_hash.
24626 * include/nss.h (__nss_hash): Declare.
24627 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24628 symbol.
24629 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24630 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24631 of __nscd_hash.
24632 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24633 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24634 * nss/Makefiles (routines): Add nss_hash.
24635 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24636 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24637 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24638 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24639
24640 2017-11-23 Florian Weimer <fweimer@redhat.com>
24641
24642 [BZ #22478]
24643 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24644 Return error code, not -1.
24645 * signal/tst-sigwait-eintr.c: New file.
24646 * signal/Makefile (tests): Add tst-sigwait-eintr.
24647
24648 2017-11-23 Florian Weimer <fweimer@redhat.com>
24649
24650 Linux: Add memfd_create system call wrapper
24651 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24652 tst-memfd_create.
24653 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24654 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24655 [__USE_GNU] (memfd_create): Declare.
24656 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24657 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24658 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24659 * sysdeps/unix/sysv/linux/**.abilist: Update.
24660 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24661
24662 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24663
24664 * localedata/gen-locale.sh: Fix typo in variable name.
24665
24666 * resolv/res_debug.c (p_secstodate): Condition definition on
24667 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24668 directly as __p_secstodate, and as a compat symbol. Do not use
24669 libresolv_hidden_def.
24670 * resolv/resolv.h (p_secstodate): Remove macro and function
24671 declaration.
24672 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24673 using p_secstodate.
24674 * include/resolv.h (__p_secstodate): Do not use
24675 libresolv_hidden_proto.
24676 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24677 (tests-internal): ... here.
24678 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24679 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24680 and declare and use __p_secstodate and use compat_symbol_reference
24681 in that case.
24682 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24683 implementation returning 77.
24684
24685 [BZ #22463]
24686 * resolv/res_debug.c: Include <libc-diag.h>.
24687 (p_secstodate): Assert time_t at least as wide as u_long. On
24688 overflow, use integer seconds since the epoch as output, or use
24689 "<overflow>" as output and set errno to EOVERFLOW if integer
24690 seconds since the epoch would be 14 or more characters.
24691 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24692 for sprintf call.
24693 * resolv/tst-p_secstodate.c: New file.
24694 * resolv/Makefile (tests): Add tst-p_secstodate.
24695 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24696
24697 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24698 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24699 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24700
24701 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24702
24703 * posix/regcomp.c (init_word_char): Add comments.
24704
24705 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24706
24707 [BZ #22447]
24708 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24709 strlen to compute length of ut_user and set trailing NUL byte of
24710 result explicitly.
24711
24712 2017-11-21 Mike FABIAN <mfabian@redhat.com>
24713
24714 [BZ #15537]
24715 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24716 using “copy "iso14651_t1"” and then implementing the
24717 collation rules for lv from CLDR on top of that.
24718 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24719 of locales to be built for testing.
24720 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24721 sorting.
24722
24723 2017-11-21 Joseph Myers <joseph@codesourcery.com>
24724
24725 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24726 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24727 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24728 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24729 [__USE_MISC] (MADV_HWPOISON): New macro.
24730 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24731
24732 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24733
24734 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24735 -Wmissing-braces on GCC 4.9.
24736
24737 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24738
24739 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24740 * sysdeps/s390/s390-32/start.S (_start): Likewise
24741 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24742 (thread_start): Likewise.
24743 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24744 (thread_start): Likewise.
24745 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24746 (__makecontext_ret): Likewise.
24747 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24748 (__makecontext_ret): Likewise.
24749
24750 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24751
24752 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24753 __wcschrnul): Remove attribute_hidden.
24754
24755 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24756
24757 regex: don't assume uint64_t or uint32_t
24758 This avoids -Werror=overflow errors for 32-bit systems in
24759 the 64-bit case. Problem reported by Joseph Myers in:
24760 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24761 Also, when this code is used in Gnulib it ports to platforms
24762 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24763 them, and on some 32-bit compilers there is no uint64_t.
24764 Problem reported by Gianluigi Tiesi in:
24765 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24766 * posix/regcomp.c (init_word_char): Don't assume that the types
24767 uint64_t and uint32_t exist. Adapted from Gnulib patch
24768 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24769 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24770
24771 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24772
24773 * sysdeps/aarch64/memset-reg.h: New file.
24774 * sysdeps/aarch64/memset.S: Use it.
24775 (__memset): Rename to MEMSET macro.
24776 [ZVA_MACRO]: Use zva_macro.
24777 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24778 Add memset_generic and memset_falkor.
24779 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24780 (__libc_ifunc_impl_list): Add memset ifuncs.
24781 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24782 local variable zva_size.
24783 * sysdeps/aarch64/multiarch/memset.c: New file.
24784 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24785 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24786 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24787 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24788 (DCZID_DZP_MASK): New macro.
24789 (DCZID_BS_MASK): Likewise.
24790 (init_cpu_features): Read and set zva_size.
24791 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24792 (struct cpu_features): New member zva_size.
24793
24794 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24795 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24796 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24797
24798 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24799 backwards. Fix timing computation.
24800 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24801 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24802 on memset by N at a time. Fix timing computation.
24803
24804 2017-11-20 Florian Weimer <fweimer@redhat.com>
24805
24806 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24807 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24808
24809 2017-11-19 Florian Weimer <fweimer@redhat.com>
24810
24811 manual: Document mprotect
24812 * manual/memory.texi (Memory Protection): New section.
24813 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24814 documentation of PROT_* flags and reference the Memory Protection
24815 section instead.
24816
24817 2017-11-19 Florian Weimer <fweimer@redhat.com>
24818
24819 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24820 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24821 (Scatter-Gather): ... to here. Remove misleading comment.
24822
24823 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
24824
24825 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24826 style.
24827
24828 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24829 when /proc/<pid>/setgroups does not exist.
24830
24831 2017-11-18 Florian Weimer <fweimer@redhat.com>
24832
24833 * sysdeps/unix/sysv/linux/tst-ttyname.c
24834 (become_root_in_mount_ns): Remove.
24835 (do_in_chroot_1): Call support_enter_mount_namespace.
24836 (do_in_chroot_2): Likewise.
24837 (do_test): Call support_become_root early.
24838
24839 2017-11-18 Florian Weimer <fweimer@redhat.com>
24840
24841 * support/namespace.h (support_enter_mount_namespace): Declare.
24842 * support/support_enter_mount_namespace.c: New file.
24843 * support/Makefile (libsupport-routines): Add
24844 support_enter_mount_namespace.
24845
24846 2017-11-18 Florian Weimer <fweimer@redhat.com>
24847
24848 * support/temp_file.c (support_create_temp_directory): Use
24849 test_dir and do not rely on the presence of the XXXXXX suffix.
24850 * support/temp_file.h (support_create_temp_directory): Update
24851 comment.
24852 * support/tst-xreadlink.c (do_test): Adjust.
24853 * support/support_chroot.c (support_chroot_create): Likewise.
24854
24855 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24856
24857 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24858 macro.
24859 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24860 htm-no-suspend.
24861
24862 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24863
24864 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24865 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24866 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24867 (ceill): Define using libm_alias_ldouble.
24868 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24869 <libm-alias-ldouble.h>.
24870 (copysignl): Define using libm_alias_ldouble.
24871 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24872 (fabsl): Define using libm_alias_ldouble.
24873 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24874 (floorl): Define using libm_alias_ldouble.
24875 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24876 (fmaxl): Define using libm_alias_ldouble.
24877 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24878 (fminl): Define using libm_alias_ldouble.
24879 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24880 (llrintl): Define using libm_alias_ldouble.
24881 (lrintl): Likewise.
24882 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24883 <libm-alias-ldouble.h>.
24884 (nearbyintl): Define using libm_alias_ldouble.
24885 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24886 (truncl): Define using libm_alias_ldouble.
24887 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24888 <libm-alias-ldouble.h>.
24889 (lrintl): Define using libm_alias_ldouble.
24890
24891 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24892 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24893 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24894 (asinhl): Define using libm_alias_ldouble.
24895 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24896 (atanl): Define using libm_alias_ldouble.
24897 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24898 (cbrtl): Define using libm_alias_ldouble.
24899 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24900 (ceill): Define using libm_alias_ldouble.
24901 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24902 (copysignl): Define using libm_alias_ldouble.
24903 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24904 (fabsl): Define using libm_alias_ldouble.
24905 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24906 (floorl): Define using libm_alias_ldouble.
24907 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24908 (fmaxl): Define using libm_alias_ldouble.
24909 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24910 (fminl): Define using libm_alias_ldouble.
24911 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24912 (frexpl): Define using libm_alias_ldouble.
24913 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24914 (llrintl): Define using libm_alias_ldouble.
24915 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24916 (logbl): Define using libm_alias_ldouble.
24917 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24918 (lrintl): Define using libm_alias_ldouble.
24919 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24920 (nearbyintl): Define using libm_alias_ldouble.
24921 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24922 (nextafterl): Define using libm_alias_ldouble.
24923 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24924 (remquol): Define using libm_alias_ldouble.
24925 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24926 (rintl): Define using libm_alias_ldouble.
24927 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24928 (truncl): Define using libm_alias_ldouble.
24929 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24930 (fmaxl): Define using libm_alias_ldouble.
24931 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24932 (fminl): Define using libm_alias_ldouble.
24933
24934 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24935 to C syntax instead of availability and properties of types.
24936 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24937 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24938 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24939 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24940 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24941 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24942
24943 2017-11-17 Florian Weimer <fweimer@redhat.com>
24944
24945 support_become_root: Enable file creation in namespaces.
24946 * support/support_become_root.c (setup_mapping): New function.
24947 (support_become_root): Call it.
24948
24949 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24950
24951 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24952 macro.
24953
24954 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24955
24956 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24957 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24958
24959 2017-11-16 Joseph Myers <joseph@codesourcery.com>
24960
24961 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24962
24963 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24964 version to 4.14.
24965
24966 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24967
24968 * INSTALL: Fix botched up regeneration.
24969
24970 * NEWS: Update sourceare link to https.
24971 * configure.ac: Likewise.
24972 * crypt/md5test-giant.c: Likewise.
24973 * dlfcn/bug-atexit1.c: Likewise.
24974 * dlfcn/bug-atexit2.c: Likewise.
24975 * localedata/README: Likewise.
24976 * malloc/tst-mallocfork.c: Likewise.
24977 * manual/install.texi: Likewise.
24978 * nptl/tst-pthread-getattr.c: Likewise.
24979 * stdio-common/tst-fgets.c: Likewise.
24980 * stdio-common/tst-fwrite.c: Likewise.
24981 * sunrpc/Makefile: Likewise.
24982 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24983 * wcsmbs/tst-mbrtowc2.c: Likewise.
24984 * configure: Regenerate.
24985 * INSTALL: Regenerate.
24986
24987 2017-11-15 Martin Sebor <msebor@redhat.com>
24988
24989 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24990 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24991 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24992
24993 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24994
24995 [BZ #22145]
24996 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24997 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24998
24999 [BZ #22145]
25000 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
25001 Defer is_pty check until end of the function.
25002 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25003
25004 [BZ #22145]
25005 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
25006 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
25007 (ttyname): Likewise.
25008 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25009 (__ttyname_r): Likewise.
25010
25011 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
25012 int to bool.
25013
25014 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
25015
25016 * manual/terminal.texi (Is It a Terminal):
25017 Mention ENODEV for ttyname and ttyname_r.
25018
25019 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25020
25021 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
25022 constant and macro.
25023
25024 * sysdeps/unix/sysv/linux/bits/mman-linux.h
25025 [__USE_MISC] (MADV_WIPEONFORK): New macro.
25026 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25027 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25028 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
25029 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25030
25031 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25032
25033 * signal/sigrelse.c (sigrelse): Optimize implementation.
25034
25035 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
25036 (__sigpause): Rely on __sigsuspend to implement single thread
25037 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
25038
25039 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25040
25041 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25042 kernel version to 4.14.
25043
25044 2017-11-15 Steve Ellcey <sellcey@cavium.com>
25045
25046 [BZ #22442]
25047 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
25048 Check if ifname is too long.
25049
25050 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25051
25052 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
25053
25054 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25055
25056 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
25057 was accidentally lost.
25058
25059 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25060
25061 * localedata/locales/az_IR: Add standard copyright header.
25062
25063 2017-11-15 Florian Weimer <fweimer@redhat.com>
25064
25065 [BZ #22439]
25066 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
25067 not just the top one. Output a new "subheaps" statistic.
25068
25069 2017-11-15 Florian Weimer <fweimer@redhat.com>
25070
25071 [BZ #22408]
25072 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
25073 under the per-arena lock.
25074 * malloc/Makefile (tests): Add tst-malloc_info.
25075 (tst-malloc_info): Link with libpthread.
25076 * malloc/tst-malloc_info.c: New file.
25077
25078 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25079
25080 [BZ #21660]
25081 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
25082 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
25083 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
25084 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
25085 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
25086 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
25087 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
25088 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
25089 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
25090 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
25091 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
25092 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
25093 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
25094 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
25095 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
25096 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
25097 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
25098 (__floating_type): Likewise.
25099 (__real_integer_type): Likewise.
25100 (__complex_integer_type): Likewise.
25101 (__expr_is_real): Likewise.
25102 (__tgmath_real_type_sub): Likewise.
25103 (__tgmath_real_type): Likewise.
25104 (__tgmath_complex_type_sub): Likewise.
25105 (__tgmath_complex_type): Likewise.
25106 (__TGMATH_F128): Likewise.
25107 (__TGMATH_CF128): Likewise.
25108 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
25109 new macros.
25110 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
25111 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
25112 Likewise.
25113 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
25114 Likewise.
25115 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
25116 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25117 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25118 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
25119 Likewise.
25120 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25121 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
25122 Likewise.
25123 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
25124 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
25125 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
25126 Likewise.
25127 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
25128 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
25129 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
25130 (cimag): Likewise.
25131 (creal): Likewise.
25132
25133 2017-11-14 Joseph Myers <joseph@codesourcery.com>
25134
25135 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
25136 for stpncpy calls for GCC 8.
25137 (test_strncat): Disable -Wstringop-truncation warning for strncat
25138 calls for GCC 8. Disable -Wstringop-overflow= warning for one
25139 strncat call for GCC 7.
25140 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
25141 calls for GCC 8.
25142 (test_memcmp): Use memcpy instead of strncpy for calls not copying
25143 trailing NUL.
25144
25145 * string/bug-strncat1.c: Include <libc-diag.h>.
25146 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
25147
25148 2017-11-13 Claude Paroz <claude@2xlibre.net>
25149
25150 [BZ #22387]
25151 * localedata/locales/aa_DJ: Improved readibility by replacing
25152 <Uxxxx> sequences in the ASCII printable range by their ASCII
25153 character equivalents.
25154 * localedata/locales/aa_ER: Likewise.
25155 * localedata/locales/aa_ER@saaho: Likewise.
25156 * localedata/locales/aa_ET: Likewise.
25157 * localedata/locales/af_ZA: Likewise.
25158 * localedata/locales/agr_PE: Likewise.
25159 * localedata/locales/ak_GH: Likewise.
25160 * localedata/locales/am_ET: Likewise.
25161 * localedata/locales/anp_IN: Likewise.
25162 * localedata/locales/ar_AE: Likewise.
25163 * localedata/locales/ar_BH: Likewise.
25164 * localedata/locales/ar_DZ: Likewise.
25165 * localedata/locales/ar_EG: Likewise.
25166 * localedata/locales/ar_IN: Likewise.
25167 * localedata/locales/ar_IQ: Likewise.
25168 * localedata/locales/ar_JO: Likewise.
25169 * localedata/locales/ar_KW: Likewise.
25170 * localedata/locales/ar_LB: Likewise.
25171 * localedata/locales/ar_LY: Likewise.
25172 * localedata/locales/ar_MA: Likewise.
25173 * localedata/locales/ar_OM: Likewise.
25174 * localedata/locales/ar_QA: Likewise.
25175 * localedata/locales/ar_SA: Likewise.
25176 * localedata/locales/ar_SD: Likewise.
25177 * localedata/locales/ar_SS: Likewise.
25178 * localedata/locales/ar_SY: Likewise.
25179 * localedata/locales/ar_TN: Likewise.
25180 * localedata/locales/ar_YE: Likewise.
25181 * localedata/locales/as_IN: Likewise.
25182 * localedata/locales/ast_ES: Likewise.
25183 * localedata/locales/ayc_PE: Likewise.
25184 * localedata/locales/az_AZ: Likewise.
25185 * localedata/locales/az_IR: Likewise.
25186 * localedata/locales/be_BY: Likewise.
25187 * localedata/locales/be_BY@latin: Likewise.
25188 * localedata/locales/bem_ZM: Likewise.
25189 * localedata/locales/ber_DZ: Likewise.
25190 * localedata/locales/ber_MA: Likewise.
25191 * localedata/locales/bg_BG: Likewise.
25192 * localedata/locales/bhb_IN: Likewise.
25193 * localedata/locales/bho_IN: Likewise.
25194 * localedata/locales/bi_VU: Likewise.
25195 * localedata/locales/bn_BD: Likewise.
25196 * localedata/locales/bn_IN: Likewise.
25197 * localedata/locales/bo_CN: Likewise.
25198 * localedata/locales/bo_IN: Likewise.
25199 * localedata/locales/br_FR: Likewise.
25200 * localedata/locales/brx_IN: Likewise.
25201 * localedata/locales/bs_BA: Likewise.
25202 * localedata/locales/byn_ER: Likewise.
25203 * localedata/locales/ca_AD: Likewise.
25204 * localedata/locales/ca_ES: Likewise.
25205 * localedata/locales/ca_FR: Likewise.
25206 * localedata/locales/ca_IT: Likewise.
25207 * localedata/locales/ce_RU: Likewise.
25208 * localedata/locales/chr_US: Likewise.
25209 * localedata/locales/cmn_TW: Likewise.
25210 * localedata/locales/crh_UA: Likewise.
25211 * localedata/locales/cs_CZ: Likewise.
25212 * localedata/locales/csb_PL: Likewise.
25213 * localedata/locales/cv_RU: Likewise.
25214 * localedata/locales/cy_GB: Likewise.
25215 * localedata/locales/da_DK: Likewise.
25216 * localedata/locales/de_AT: Likewise.
25217 * localedata/locales/de_BE: Likewise.
25218 * localedata/locales/de_CH: Likewise.
25219 * localedata/locales/de_DE: Likewise.
25220 * localedata/locales/de_IT: Likewise.
25221 * localedata/locales/de_LI: Likewise.
25222 * localedata/locales/de_LU: Likewise.
25223 * localedata/locales/doi_IN: Likewise.
25224 * localedata/locales/dv_MV: Likewise.
25225 * localedata/locales/dz_BT: Likewise.
25226 * localedata/locales/el_CY: Likewise.
25227 * localedata/locales/el_GR: Likewise.
25228 * localedata/locales/en_AG: Likewise.
25229 * localedata/locales/en_AU: Likewise.
25230 * localedata/locales/en_BW: Likewise.
25231 * localedata/locales/en_CA: Likewise.
25232 * localedata/locales/en_DK: Likewise.
25233 * localedata/locales/en_GB: Likewise.
25234 * localedata/locales/en_HK: Likewise.
25235 * localedata/locales/en_IE: Likewise.
25236 * localedata/locales/en_IL: Likewise.
25237 * localedata/locales/en_IN: Likewise.
25238 * localedata/locales/en_NG: Likewise.
25239 * localedata/locales/en_NZ: Likewise.
25240 * localedata/locales/en_PH: Likewise.
25241 * localedata/locales/en_SG: Likewise.
25242 * localedata/locales/en_US: Likewise.
25243 * localedata/locales/en_ZA: Likewise.
25244 * localedata/locales/en_ZM: Likewise.
25245 * localedata/locales/en_ZW: Likewise.
25246 * localedata/locales/eo: Likewise.
25247 * localedata/locales/es_AR: Likewise.
25248 * localedata/locales/es_BO: Likewise.
25249 * localedata/locales/es_CL: Likewise.
25250 * localedata/locales/es_CO: Likewise.
25251 * localedata/locales/es_CR: Likewise.
25252 * localedata/locales/es_CU: Likewise.
25253 * localedata/locales/es_DO: Likewise.
25254 * localedata/locales/es_EC: Likewise.
25255 * localedata/locales/es_ES: Likewise.
25256 * localedata/locales/es_GT: Likewise.
25257 * localedata/locales/es_HN: Likewise.
25258 * localedata/locales/es_MX: Likewise.
25259 * localedata/locales/es_NI: Likewise.
25260 * localedata/locales/es_PA: Likewise.
25261 * localedata/locales/es_PE: Likewise.
25262 * localedata/locales/es_PR: Likewise.
25263 * localedata/locales/es_PY: Likewise.
25264 * localedata/locales/es_SV: Likewise.
25265 * localedata/locales/es_US: Likewise.
25266 * localedata/locales/es_UY: Likewise.
25267 * localedata/locales/es_VE: Likewise.
25268 * localedata/locales/et_EE: Likewise.
25269 * localedata/locales/eu_ES: Likewise.
25270 * localedata/locales/eu_ES@euro: Likewise.
25271 * localedata/locales/fa_IR: Likewise.
25272 * localedata/locales/ff_SN: Likewise.
25273 * localedata/locales/fi_FI: Likewise.
25274 * localedata/locales/fil_PH: Likewise.
25275 * localedata/locales/fo_FO: Likewise.
25276 * localedata/locales/fr_BE: Likewise.
25277 * localedata/locales/fr_CA: Likewise.
25278 * localedata/locales/fr_CH: Likewise.
25279 * localedata/locales/fr_FR: Likewise.
25280 * localedata/locales/fr_LU: Likewise.
25281 * localedata/locales/fur_IT: Likewise.
25282 * localedata/locales/fy_DE: Likewise.
25283 * localedata/locales/fy_NL: Likewise.
25284 * localedata/locales/ga_IE: Likewise.
25285 * localedata/locales/gd_GB: Likewise.
25286 * localedata/locales/gez_ER: Likewise.
25287 * localedata/locales/gez_ET: Likewise.
25288 * localedata/locales/gl_ES: Likewise.
25289 * localedata/locales/gu_IN: Likewise.
25290 * localedata/locales/gv_GB: Likewise.
25291 * localedata/locales/ha_NG: Likewise.
25292 * localedata/locales/hak_TW: Likewise.
25293 * localedata/locales/he_IL: Likewise.
25294 * localedata/locales/hi_IN: Likewise.
25295 * localedata/locales/hif_FJ: Likewise.
25296 * localedata/locales/hne_IN: Likewise.
25297 * localedata/locales/hr_HR: Likewise.
25298 * localedata/locales/hsb_DE: Likewise.
25299 * localedata/locales/ht_HT: Likewise.
25300 * localedata/locales/hu_HU: Likewise.
25301 * localedata/locales/hy_AM: Likewise.
25302 * localedata/locales/i18n: Likewise.
25303 * localedata/locales/ia_FR: Likewise.
25304 * localedata/locales/id_ID: Likewise.
25305 * localedata/locales/ig_NG: Likewise.
25306 * localedata/locales/ik_CA: Likewise.
25307 * localedata/locales/is_IS: Likewise.
25308 * localedata/locales/it_CH: Likewise.
25309 * localedata/locales/it_IT: Likewise.
25310 * localedata/locales/iu_CA: Likewise.
25311 * localedata/locales/ja_JP: Likewise.
25312 * localedata/locales/ka_GE: Likewise.
25313 * localedata/locales/kk_KZ: Likewise.
25314 * localedata/locales/kl_GL: Likewise.
25315 * localedata/locales/kn_IN: Likewise.
25316 * localedata/locales/ko_KR: Likewise.
25317 * localedata/locales/kok_IN: Likewise.
25318 * localedata/locales/ks_IN: Likewise.
25319 * localedata/locales/ks_IN@devanagari: Likewise.
25320 * localedata/locales/ku_TR: Likewise.
25321 * localedata/locales/kw_GB: Likewise.
25322 * localedata/locales/ky_KG: Likewise.
25323 * localedata/locales/lb_LU: Likewise.
25324 * localedata/locales/lg_UG: Likewise.
25325 * localedata/locales/li_BE: Likewise.
25326 * localedata/locales/li_NL: Likewise.
25327 * localedata/locales/lij_IT: Likewise.
25328 * localedata/locales/ln_CD: Likewise.
25329 * localedata/locales/lo_LA: Likewise.
25330 * localedata/locales/lt_LT: Likewise.
25331 * localedata/locales/lv_LV: Likewise.
25332 * localedata/locales/lzh_TW: Likewise.
25333 * localedata/locales/mag_IN: Likewise.
25334 * localedata/locales/mai_IN: Likewise.
25335 * localedata/locales/mg_MG: Likewise.
25336 * localedata/locales/mhr_RU: Likewise.
25337 * localedata/locales/mi_NZ: Likewise.
25338 * localedata/locales/mk_MK: Likewise.
25339 * localedata/locales/ml_IN: Likewise.
25340 * localedata/locales/mn_MN: Likewise.
25341 * localedata/locales/mni_IN: Likewise.
25342 * localedata/locales/mr_IN: Likewise.
25343 * localedata/locales/ms_MY: Likewise.
25344 * localedata/locales/mt_MT: Likewise.
25345 * localedata/locales/my_MM: Likewise.
25346 * localedata/locales/nan_TW: Likewise.
25347 * localedata/locales/nan_TW@latin: Likewise.
25348 * localedata/locales/nb_NO: Likewise.
25349 * localedata/locales/nds_DE: Likewise.
25350 * localedata/locales/nds_NL: Likewise.
25351 * localedata/locales/ne_NP: Likewise.
25352 * localedata/locales/nhn_MX: Likewise.
25353 * localedata/locales/niu_NU: Likewise.
25354 * localedata/locales/niu_NZ: Likewise.
25355 * localedata/locales/nl_AW: Likewise.
25356 * localedata/locales/nl_BE: Likewise.
25357 * localedata/locales/nl_NL: Likewise.
25358 * localedata/locales/nn_NO: Likewise.
25359 * localedata/locales/nr_ZA: Likewise.
25360 * localedata/locales/nso_ZA: Likewise.
25361 * localedata/locales/oc_FR: Likewise.
25362 * localedata/locales/om_ET: Likewise.
25363 * localedata/locales/om_KE: Likewise.
25364 * localedata/locales/or_IN: Likewise.
25365 * localedata/locales/os_RU: Likewise.
25366 * localedata/locales/pa_IN: Likewise.
25367 * localedata/locales/pa_PK: Likewise.
25368 * localedata/locales/pap_AW: Likewise.
25369 * localedata/locales/pap_CW: Likewise.
25370 * localedata/locales/pl_PL: Likewise.
25371 * localedata/locales/ps_AF: Likewise.
25372 * localedata/locales/pt_BR: Likewise.
25373 * localedata/locales/pt_PT: Likewise.
25374 * localedata/locales/quz_PE: Likewise.
25375 * localedata/locales/raj_IN: Likewise.
25376 * localedata/locales/ro_RO: Likewise.
25377 * localedata/locales/ru_RU: Likewise.
25378 * localedata/locales/ru_UA: Likewise.
25379 * localedata/locales/rw_RW: Likewise.
25380 * localedata/locales/sa_IN: Likewise.
25381 * localedata/locales/sat_IN: Likewise.
25382 * localedata/locales/sc_IT: Likewise.
25383 * localedata/locales/sd_IN: Likewise.
25384 * localedata/locales/sd_IN@devanagari: Likewise.
25385 * localedata/locales/se_NO: Likewise.
25386 * localedata/locales/sgs_LT: Likewise.
25387 * localedata/locales/shs_CA: Likewise.
25388 * localedata/locales/si_LK: Likewise.
25389 * localedata/locales/sid_ET: Likewise.
25390 * localedata/locales/sk_SK: Likewise.
25391 * localedata/locales/sl_SI: Likewise.
25392 * localedata/locales/sm_WS: Likewise.
25393 * localedata/locales/so_DJ: Likewise.
25394 * localedata/locales/so_ET: Likewise.
25395 * localedata/locales/so_KE: Likewise.
25396 * localedata/locales/so_SO: Likewise.
25397 * localedata/locales/sq_AL: Likewise.
25398 * localedata/locales/sq_MK: Likewise.
25399 * localedata/locales/sr_ME: Likewise.
25400 * localedata/locales/sr_RS: Likewise.
25401 * localedata/locales/sr_RS@latin: Likewise.
25402 * localedata/locales/ss_ZA: Likewise.
25403 * localedata/locales/st_ZA: Likewise.
25404 * localedata/locales/sv_FI: Likewise.
25405 * localedata/locales/sv_SE: Likewise.
25406 * localedata/locales/sw_KE: Likewise.
25407 * localedata/locales/sw_TZ: Likewise.
25408 * localedata/locales/szl_PL: Likewise.
25409 * localedata/locales/ta_IN: Likewise.
25410 * localedata/locales/ta_LK: Likewise.
25411 * localedata/locales/tcy_IN: Likewise.
25412 * localedata/locales/te_IN: Likewise.
25413 * localedata/locales/tg_TJ: Likewise.
25414 * localedata/locales/th_TH: Likewise.
25415 * localedata/locales/the_NP: Likewise.
25416 * localedata/locales/ti_ER: Likewise.
25417 * localedata/locales/ti_ET: Likewise.
25418 * localedata/locales/tig_ER: Likewise.
25419 * localedata/locales/tk_TM: Likewise.
25420 * localedata/locales/tl_PH: Likewise.
25421 * localedata/locales/tn_ZA: Likewise.
25422 * localedata/locales/to_TO: Likewise.
25423 * localedata/locales/tpi_PG: Likewise.
25424 * localedata/locales/tr_CY: Likewise.
25425 * localedata/locales/tr_TR: Likewise.
25426 * localedata/locales/ts_ZA: Likewise.
25427 * localedata/locales/tt_RU: Likewise.
25428 * localedata/locales/tt_RU@iqtelif: Likewise.
25429 * localedata/locales/ug_CN: Likewise.
25430 * localedata/locales/uk_UA: Likewise.
25431 * localedata/locales/unm_US: Likewise.
25432 * localedata/locales/ur_IN: Likewise.
25433 * localedata/locales/ur_PK: Likewise.
25434 * localedata/locales/uz_UZ: Likewise.
25435 * localedata/locales/uz_UZ@cyrillic: Likewise.
25436 * localedata/locales/ve_ZA: Likewise.
25437 * localedata/locales/vi_VN: Likewise.
25438 * localedata/locales/wa_BE: Likewise.
25439 * localedata/locales/wae_CH: Likewise.
25440 * localedata/locales/wal_ET: Likewise.
25441 * localedata/locales/wo_SN: Likewise.
25442 * localedata/locales/xh_ZA: Likewise.
25443 * localedata/locales/yi_US: Likewise.
25444 * localedata/locales/yo_NG: Likewise.
25445 * localedata/locales/yue_HK: Likewise.
25446 * localedata/locales/yuw_PG: Likewise.
25447 * localedata/locales/zh_CN: Likewise.
25448 * localedata/locales/zh_HK: Likewise.
25449 * localedata/locales/zh_SG: Likewise.
25450 * localedata/locales/zh_TW: Likewise.
25451 * localedata/locales/zu_ZA: Likewise.
25452
25453 2017-11-13 Florian Weimer <fweimer@redhat.com>
25454
25455 * support/next_to_fault.h, support/next_to_fault.c: New files.
25456 * support/Makefile (libsupport-routines): Add next_to_fault.
25457 * resolv/tst-inet_pton.c (struct next_to_fault)
25458 (next_to_fault_allocate, next_to_fault_free): Remove.
25459 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25460
25461 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25462
25463 * elf/dl-support.c: Include <dl-procruntime.c>.
25464 * include/link.h: Include <link_map.h>.
25465 * sysdeps/generic/dl-procruntime.c: New file.
25466 * sysdeps/generic/link_map.h: Likewise.
25467 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25468 the writable ld.so namespace.
25469
25470 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25471
25472 timezone: pacify GCC -Wstringop-truncation
25473 Problem reported by Martin Sebor in:
25474 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25475 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25476
25477 2017-11-12 Florian Weimer <fweimer@redhat.com>
25478
25479 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25480 tst-xreadlink.
25481 (tests): Add tst-xreadlink.
25482 * support/support.h (xstrndup): Declare.
25483 * support/xunistd.h (xunlink, xreadlink): Declare.
25484 * support/temp_file.h (support_create_temp_directory): Declare.
25485 * support/temp_file.c (support_create_temp_directory): New function.
25486 * support/support_chroot.c (support_chroot_create): Use it.
25487 * support/xreadlink.c: New file.
25488 * support/xstrndup.c: Likewise.
25489 * support/xunlink.c: Likewise.
25490 * support/tst-xreadlink.c: Likewise.
25491
25492 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
25493
25494 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25495
25496 2017-11-11 Florian Weimer <fweimer@redhat.com>
25497
25498 [BZ #22409]
25499 [BZ #22412]
25500 * resolv/res_comp.c (printable_string, binary_hnok)
25501 (binary_leading_dash): New functions.
25502 (res_hnok): Reimplement using these functions and ns_name_pton.
25503 (res_ownok): Likewise.
25504 (res_mailok): Reimplement using printable_string, ns_name_pton and
25505 binary_hnok.
25506 (res_dnok): Reimplement using printable_string and ns_name_pton.
25507 * resolv/tst-res_hnok.c (tests): Add additional tests.
25508 (LETTERDIGITS, PRINTABLE): Define.
25509 (do_test): Adjust one_char results.
25510
25511 2017-11-11 Florian Weimer <fweimer@redhat.com>
25512
25513 [BZ #22413]
25514 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25515 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25516
25517 2017-11-11 Florian Weimer <fweimer@redhat.com>
25518
25519 * resolv/tst-ns_name_pton.c: New file.
25520 * resolv/Makefile (tests): Add tst-ns_name_pton.
25521 (tst-ns_name_pton): Link against libresolv.
25522
25523 2017-11-11 Florian Weimer <fweimer@redhat.com>
25524
25525 * resolv/tst-res_hnok.c: New file.
25526 * resolv/Makefile (tests): Add tst-res_hnok.
25527 (tst-res_hnok): Link against libresolv.
25528
25529 2017-11-11 Florian Weimer <fweimer@redhat.com>
25530
25531 * resolv/tst-resolv-network.c: Use test framework instead explicit
25532 main function.
25533
25534 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25535
25536 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25537 <jmp_buf-macros.h>.
25538 [!_ISOMAC] (STR_HELPER): New.
25539 [!_ISOMAC] (STR): Likewise.
25540 [!_ISOMAC] (TEST_SIZE): Likewise.
25541 [!_ISOMAC] (TEST_ALIGN): Likewise.
25542 [!_ISOMAC] (TEST_OFFSET): Likewise.
25543 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25544 field offsets of jmp_buf as well as sigjmp_buf.
25545 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25546 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25547 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25548 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25549 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25550 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25551 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25552 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25553 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25554 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25555 Likewise.
25556 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25557 Likewise.
25558 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25560 Likewise.
25561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25562 Likewise.
25563 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25564 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25565 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25566 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25567 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25569 Likewise.
25570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25571 Likewise.
25572 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25573 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25574 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25575
25576 2017-11-07 Joseph Myers <joseph@codesourcery.com>
25577
25578 * include/float.h
25579 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25580 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25581 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25582 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25583 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25584 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25585 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25586 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25587 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25588 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25589 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25590 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25591 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25592 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25593 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25594 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25595 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25596 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25597 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25598 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25599 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25600 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25601 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25602 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25603 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25604 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25605 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25606 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25607 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25608 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25609 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25610 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25611 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25612 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25613 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25614 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25615 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25616 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25617 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25618 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25619 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25620 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25621 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25622 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25623 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25624 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25625 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25626 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25627 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25628 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25629 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25630 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25631 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25632 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25633 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25634 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25635 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25636 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25637 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25638 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25639 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25640 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25641 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25642 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25643 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25644 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25645 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25646 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25647 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25648 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25649 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25650 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25651 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25652 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25653 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25654 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25655 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25656 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25657 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25658 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25659 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25660 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25661 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25662 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25663 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25664 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25665 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25666 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25667
25668 * stdlib/tst-strtod.h (F16): New macro.
25669 (F32): Likewise.
25670 (F64): Likewise.
25671 (F32X): Likewise.
25672 (F64X): Likewise.
25673 (F128X): Likewise.
25674 (IF_FLOAT16): Likewise.
25675 (IF_FLOAT32): Likewise.
25676 (IF_FLOAT64): Likewise.
25677 (IF_FLOAT32X): Likewise.
25678 (IF_FLOAT64X): Likewise.
25679 (IF_FLOAT128X): Likewise.
25680 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25681 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25682 (STRTOD_TEST_FOREACH): Likewise.
25683 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25684 (CHOOSE_f64): Likewise.
25685 (CHOOSE_f32x): Likewise.
25686 (CHOOSE_f64x): Likewise.
25687
25688 2017-11-07 Andreas Schwab <schwab@suse.de>
25689
25690 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25691
25692 2017-11-07 Mike FABIAN <mfabian@redhat.com>
25693
25694 [BZ #22403]
25695 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25696 to be escaped.
25697 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25698 to be escaped.
25699
25700 2017-11-07 Claude Paroz <claude@2xlibre.net>
25701
25702 [BZ #22403]
25703 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25704 to be escaped.
25705 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25706 to be escaped.
25707 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25708 to be escaped.
25709
25710 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25711
25712 [BZ #22298]
25713 * nptl/allocatestack.c (allocate_stack): Check if
25714 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25715 __PTHREAD_MUTEX_HAVE_PREV is defined.
25716 * nptl/descr.h (pthread): Likewise.
25717 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25718 Likewise.
25719 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25720 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25721 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25722 * sysdeps/nptl/bits/thread-shared-types.h
25723 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25724 defines.
25725 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25726 of __WORDSIZE for internal layout.
25727 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25728 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25729 instead of __WORDSIZE whether to use an union for __spins and __list
25730 fields.
25731 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25732 case.
25733 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25734 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25735 defines.
25736 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25737 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25738 Likewise.
25739 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25740 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25741 Likewise.
25742 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25743 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25744 Likewise.
25745 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25746 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25747 Likewise.
25748 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25749 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25750 Likewise.
25751 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25752 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25753 Likewise.
25754 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25755 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25756 Likewise.
25757 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25758 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25759 Likewise.
25760 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25761 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25762 Likewise.
25763 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25764 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25765 Likewise.
25766 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25767 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25768 Likewise.
25769 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25770 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25771 Likewise.
25772 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25773 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25774 Likewise.
25775 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25776 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25777 Likewise.
25778
25779 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25780 New macros.
25781 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25782 checks for expected input type size.
25783 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25784 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25785 Likewise.
25786 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25787 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25788 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25789 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25790 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25791 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25792 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25793 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25794 superflous runtime assert check.
25795 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25796 Likewise.
25797 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25798 Likewise.
25799 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25800 Likewise.
25801 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25802 Likewise.
25803 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25804 Likewise.
25805 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25806 Likewise.
25807 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25808 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25809 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25810 Likewise.
25811 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25812 Likewise.
25813 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25814 Likewise.
25815 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25816 Likewise.
25817 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25818 Likewise.
25819 * nptl/pthread_attr_setinheritsched.c
25820 (__pthread_attr_setinheritsched): Likewise.
25821 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25822 Likewise.
25823 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25824 Likewise.
25825 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25826 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25827 __old_pthread_attr_setstack): Likewise.
25828 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25829 Likewise.
25830 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25831 Likewise.
25832 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25833 Likewise.
25834 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25835 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25836 Likewise.
25837 * nptl/tst-typesizes.c: Remove file.
25838
25839 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25840 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25841 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25842 checks for internal pthread_mutex_t offsets.
25843 * sysdeps/aarch64/nptl/pthread-offsets.h
25844 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25845 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25846 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25847 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25848 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25849 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25850 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25851 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25852 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25853 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25854 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25855 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25856 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25857 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25858 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25859 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25860 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25861 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25862
25863 2017-11-07 Florian Weimer <fweimer@redhat.com>
25864
25865 * bits/mman-linux.h: Move ...
25866 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25867 comment.
25868 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25869 outdated comment.
25870
25871 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25872
25873 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25874 Redefine STRNLEN as __strnlen_power8.
25875
25876 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25877
25878 * signal/sighold.c (sighold): Optimize implementation.
25879
25880 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25881 __NR_rt_sigqueueinfo.
25882
25883 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25884 __sigtimedwait.
25885 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25886 assume __NR_rt_sigtimedwait.
25887 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25888 and add LIBC_CANCEL_HANDLED for cancellation marking.
25889 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25890
25891 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25892 (sysdeps_routines): Add memchr_noneon.
25893 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25894 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25895 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25896 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25897 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25898 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25899 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25900
25901 * sysdeps/arm/arm-ifunc.h: New file.
25902 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25903 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25904 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25905 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25906 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25907 (__memcpy_neon): Avoid create hidden alias.
25908 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25909 (__memcpy_vfp): Likewise.
25910 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25911 (sysdep_routines): Add memcpy_arm.
25912 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25913
25914 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25915
25916 [BZ #22362]
25917 * Makerules (make-link-multidir): New.
25918 * config.make.in (multidir): New.
25919 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25920 * configure: Regenerated.
25921 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25922 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25923 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25924 New target.
25925
25926 2017-11-06 Joseph Myers <joseph@codesourcery.com>
25927
25928 [BZ #22402]
25929 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25930 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25931
25932 2017-11-04 Mike FABIAN <mfabian@redhat.com>
25933
25934 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25935 to be escaped.
25936
25937 2017-11-04 Florian Weimer <fweimer@redhat.com>
25938
25939 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25940
25941 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25942
25943 * math/math.h [__HAVE_DISTINCT_FLOAT16
25944 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25945 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25946 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25947 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25948 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25949 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25950 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25951 (__MATH_TG_F32): New macro.
25952 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25953 (__MATH_TG_F64X): Likewise.
25954 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25955 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25956
25957 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25958
25959 * po/de.po: Update translations.
25960 * po/ru.po: Likewise.
25961
25962 2017-11-03 Florian Weimer <fweimer@redhat.com>
25963
25964 * manual/filesys.texi (Hard Links): Document linkat.
25965
25966 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25967
25968 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25969 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25970 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25971 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25972 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25973 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25974 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25975 the same as _Float128.
25976 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25977 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25978 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25979
25980 * stdlib/stdlib.h
25981 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25982 Declare.
25983 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25984 Likewise.
25985 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25986 Likewise.
25987 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25988 (strtof32x): Likewise.
25989 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25990 (strtof64x): Likewise.
25991 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25992 (strtof128x): Likewise.
25993 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25994 (strfromf16): Likewise.
25995 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25996 (strfromf32): Likewise.
25997 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25998 (strfromf64): Likewise.
25999 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26000 (strfromf32x): Likewise.
26001 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26002 (strfromf64x): Likewise.
26003 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26004 (strfromf128x): Likewise.
26005 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
26006 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
26007 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
26008 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
26009 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
26010 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
26011
26012 2017-11-03 Richard Henderson <rth@twiddle.net>
26013
26014 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
26015
26016 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26017
26018 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
26019
26020 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26021
26022 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
26023 DT_TLSDESC_GOT initialization.
26024 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
26025 (_dl_tlsdesc_resolve_hold): Likewise.
26026 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
26027 (_dl_tlsdesc_resolve_hold): Likewise.
26028 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
26029 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26030
26031 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26032
26033 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
26034
26035 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26036
26037 [BZ #18572]
26038 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
26039 non-lazily for R_ARM_TLS_DESC.
26040
26041 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26042
26043 [BZ #17078]
26044 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
26045 R_ARM_TLS_DESC case.
26046 (elf_machine_lazy_rel): Remove the prelink check.
26047
26048 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26049
26050 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
26051 DT_TLSDESC_GOT initialization.
26052 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
26053 (_dl_tlsdesc_resolve_rela): Likewise.
26054 (_dl_tlsdesc_resolve_hold): Likewise.
26055 (_dl_tlsdesc_undefweak): Remove ldar.
26056 (_dl_tlsdesc_dynamic): Likewise.
26057 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
26058 (_dl_tlsdesc_resolve_rela): Likewise.
26059 (_dl_tlsdesc_resolve_hold): Likewise.
26060 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
26061 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26062 (_dl_tlsdesc_resolve_rela): Likewise.
26063 (_dl_tlsdesc_resolve_hold): Likewise.
26064
26065 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26066
26067 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
26068 binding and initialization non-lazily for R_AARCH64_TLSDESC.
26069
26070 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26071
26072 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
26073 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26074
26075 2017-11-02 Joseph Myers <joseph@codesourcery.com>
26076
26077 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
26078 Declare.
26079 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
26080 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
26081 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
26082 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
26083 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
26084 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
26085 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
26086 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
26087 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
26088 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
26089 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
26090
26091 2017-11-02 Mike FABIAN <mfabian@redhat.com>
26092
26093 [BZ #22382]
26094 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
26095 * localedata/locales/tpi_PG: Add standard header.
26096
26097 2017-11-02 Florian Weimer <fweimer@redhat.com>
26098
26099 test-errno-linux: quotactl can fail with EPERM in containers.
26100 * sysdeps/unix/sysv/linux/test-errno-linux.c
26101 (LIST, LIST_FORWARD): New macros.
26102 (check_error_in_list): New function.
26103 (test_wrp_rv): Accept list of permitted error codes.
26104 (test_wrp_rv2): Remove.
26105 (test_wrp): Call test_wrp_rv with list of error codes.
26106 (test_wrp2): Accept list of error codes.
26107 (do_test): Adjust. Allow EPERM for quotactl.
26108
26109 2017-11-02 Florian Weimer <fweimer@redhat.com>
26110
26111 * stdio-common/bug16.c (do_test): Use array_length.
26112 * stdio-common/errlist.c (_sys_nerr): Likewise.
26113 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
26114 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
26115 * stdio-common/psiginfo.c (psiginfo): Use array_length.
26116 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
26117 (do_test): Use array_length.
26118 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
26119 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
26120 * stdio-common/tst-printf-round.c (do_test): Likewise.
26121 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
26122 (CHECK): Use array_length.
26123 * stdio-common/tstdiomisc.c (t3, F): Likewise.
26124 * stdio-common/tstscanf.c (main): Likewise.
26125 * stdio-common/vfprintf.c (process_string_arg): Likewise.
26126
26127 2017-11-02 Florian Weimer <fweimer@redhat.com>
26128
26129 Add array_length and array_end macros.
26130 * include/array_length.h: New file.
26131
26132 2017-11-02 Florian Weimer <fweimer@redhat.com>
26133
26134 [BZ #22332]
26135 * posix/tst-glob-tilde.c (do_noescape): New variable.
26136 (one_test): Process it.
26137 (do_test): Set do_noescape. Add unescaping test case.
26138
26139 2017-11-01 Joseph Myers <joseph@codesourcery.com>
26140
26141 * math/complex.h
26142 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
26143 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
26144 with appropriate macros defined and undefined.
26145 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
26146 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26147 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
26148 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26149 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
26150 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26151 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
26152 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26153 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
26154 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26155
26156 * math/complex.h
26157 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
26158 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
26159 that for long double. Do not condition define and undefine of
26160 _Mdouble_complex_ on [__CFLOAT128].
26161
26162 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26163
26164 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26165 of <sysdeps/generic/sysdep.h>.
26166 (ALIGNARG): Removed.
26167 (ASM_SIZE_DIRECTIVE): Likewise.
26168 (ENTRY): Likewise.
26169 (END): Likewise.
26170 (ENTRY_CHK): Likewise.
26171 (END_CHK): Likewise.
26172 (syscall_error): Likewise.
26173 (mcount): Likewise.
26174 (PSEUDO_END): Likewise.
26175 (L): Likewise.
26176 (atom_text_section): Likewise.
26177 * sysdeps/x86/sysdep.h: New file.
26178 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26179 of <sysdeps/generic/sysdep.h>.
26180 (ALIGNARG): Removed.
26181 (ASM_SIZE_DIRECTIVE): Likewise.
26182 (ENTRY): Likewise.
26183 (END): Likewise.
26184 (ENTRY_CHK): Likewise.
26185 (END_CHK): Likewise.
26186 (syscall_error): Likewise.
26187 (mcount): Likewise.
26188 (PSEUDO_END): Likewise.
26189 (L): Likewise.
26190 (atom_text_section): Likewise.
26191
26192 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26193
26194 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26195 category of LC_CTYPE set to "i18n:2012".
26196 * localedata/locales/i18n_ctype: Regenerate.
26197
26198 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
26199
26200 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26201 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26202 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26203 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26204
26205 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26206 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26207 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26208 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26209
26210 2017-10-31 Joseph Myers <joseph@codesourcery.com>
26211
26212 * math/complex.h
26213 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26214 New macro.
26215 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26216 Likewise.
26217 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26218 Likewise.
26219 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26220 (CMPLXF32X): Likewise.
26221 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26222 (CMPLXF64X): Likewise.
26223 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26224 (CMPLXF128X): Likewise.
26225
26226 * math/math.h
26227 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26228 (__MATH_EVAL_FMT2): Define to add 0.0f.
26229
26230 2017-10-31 Alan Modra <amodra@gmail.com>
26231
26232 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26233 include sysdep.h.
26234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26248 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26249 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26250 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26251 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26252 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26253 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26254 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26255 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26256 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26257 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26258 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26259 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26260 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26261 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26262 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26263 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26264 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26265 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26266 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26267 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26268 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26269 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26270 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26271 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26272 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26273 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26274 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26275 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26276 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26277 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26278 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26279 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26280 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26281 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26282 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26283 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26284 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26285 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26286 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26287 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26288 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26289 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26290 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26291 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26292 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26293 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26294 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26295 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26296 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26297 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26298 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26299 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26300 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26301 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26302 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26303
26304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26305 include sysdep.h and math_ldbl_opt.h.
26306
26307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26308 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26333
26334 2017-10-31 Alan Modra <amodra@gmail.com>
26335
26336 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26337 string/strncase_l.c, not string/strncase.c.
26338 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26339 (libc_hidden_def): Redefine.
26340
26341 2017-10-31 Alan Modra <amodra@gmail.com>
26342
26343 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26344 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26345 (__strcasecmp): Don't define.
26346
26347 2017-10-31 Alan Modra <amodra@gmail.com>
26348
26349 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26350 IS_IN (libc).
26351 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26352 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26353 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26354
26355 2017-10-31 Alan Modra <amodra@gmail.com>
26356
26357 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26358 USE_AS_STPNCPY.
26359
26360 2017-10-31 Alan Modra <amodra@gmail.com>
26361
26362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26363 Redefine only when SHARED.
26364
26365 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26366
26367 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26368 Include <bits/math-finite.h> with appropriate macros defined and
26369 undefined.
26370 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26371 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26372 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26373 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26374 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26375
26376 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26377 [!_Mlong_double_] (_Mlong_double_): Likewise.
26378 [!_Mfloat16_] (_Mfloat16_): Likewise.
26379 [!_Mfloat32_] (_Mfloat32_): Likewise.
26380 [!_Mfloat64_] (_Mfloat64_): Likewise.
26381 [!_Mfloat128_] (_Mfloat128_): Likewise.
26382 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26383 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26384 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26385 (_Mdouble_): Define without indirection through those macros.
26386 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26387 [!_Mfloat128_] (_Mfloat128_): Likewise.
26388 [_Mlong_double_] (_Mlong_double_): Likewise.
26389 (_Mdouble_): Define without indirection through those macros.
26390 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26391 not add -D_Mlong_double_=double.
26392 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26393 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26394
26395 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26396
26397 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26398
26399 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26400
26401 * sysdeps/x86/libc-start.c: Reformat.
26402
26403 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26404
26405 [BZ #22353]
26406 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26407 (1): Renamed to ...
26408 (L(Src0)): This.
26409 (L(Src1)): New.
26410 (L(Src2)): Likewise.
26411 (L(1)): Renamed to ...
26412 (L(Src3)): This.
26413
26414 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26415
26416 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26417 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26418 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26419 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26420 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26421 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26422 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26423 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26424 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26425 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26426 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26427 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26428 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26429 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26430 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26431 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26432 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26433 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26434 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26435 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26436 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26437 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26438 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26439 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26440 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26441 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26442 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26443 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26444 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26445 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26446 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26447 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26448 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26449 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26450 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26451 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26452 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26453 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26454 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26455 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26456 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26457 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26458 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26459 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26460 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26461 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26462 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26463 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26464 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26465 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26466 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26467 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26468 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26469 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26470 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26471 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26472 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26473 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26474 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26475 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26476 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26477 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26478 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26479 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26480 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26481 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26482
26483 2017-10-30 Florian Weimer <fweimer@redhat.com>
26484
26485 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26486 always defined.
26487 * io/tst-mkdirat.c (do_test): Likewise.
26488 * io/tst-mkfifoat.c (do_test): Likewise.
26489 * io/tst-mknodat.c (do_test): Likewise.
26490 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26491 * locale/programs/locale.c (select_dirs): Likewise.
26492 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26493 * posix/bug-glob2.c (my_readdir): Likewise.
26494 * posix/tst-dir.c (main): Likewise.
26495 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26496 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26497
26498 2017-10-30 Florian Weimer <fweimer@redhat.com>
26499
26500 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26501 just __USE_GNU.
26502
26503 2017-10-30 Florian Weimer <fweimer@redhat.com>
26504
26505 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26506 Convert to support/test-driver.c.
26507 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26508 New macro parameters.
26509 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26510 * posix/tst-gnuglob.c: New file.
26511 * posix/tst-gnuglob64.c: Likewise.
26512 * posix/Makefile (tests): Add tst-gnuglob64.
26513
26514 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
26515
26516 [BZ #19485]
26517 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26518 and use a better translation for March in “mon”.
26519 * localedata/locales/csb_PL: Use more ASCII to improve the
26520 readability of the source.
26521
26522 2017-10-30 Mike FABIAN <mfabian@redhat.com>
26523
26524 [BZ #13953]
26525 * localedata/locales/km_KH: Use ASCII as much
26526 as possible for better readability of the source and
26527 remove useless comments.
26528 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26529 was commented out and apparently wrong anyway because it was
26530 using Lao characters. If Buddhist era should be used
26531 for km_KH, a native speaker should write the correct formaat
26532 for Khmer.
26533 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26534 (According to CLDR, the first weekday for Cambodia is Sunday).
26535 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26536 (These were using Lao characters which must be wrong. If we get
26537 the correct data from a native speaker, we could add it back, until
26538 then it is better not to have name_mr and name_mrs at all than
26539 having it wrong).
26540
26541 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26542
26543 * locale/loadlocale.c: Correct size of
26544 _nl_value_type_LC_<category> arrays.
26545
26546 2017-10-27 Joseph Myers <joseph@codesourcery.com>
26547
26548 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26549 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26550 with appropriate macros defined and undefined.
26551 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26552 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26553 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26554 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26555 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26556
26557 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26558
26559 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26560 "-O2 -march=i586".
26561
26562 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26563
26564 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26565 with lowercase letters to make it agree with CLDR.
26566
26567 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26568
26569 [BZ #15260]
26570 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26571 first letters of yesstr and nostr in yesexpr and noexpr,
26572 not for the full words.
26573 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26574 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26575 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26576 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26577 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26578 first letters of yesstr and nostr in yesexpr and noexpr,
26579 until now only English was matched in yesexpr and noexpr.
26580 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26581 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26582 fil but not for tl. As tl and fil are very similar, using fil
26583 is probably better than using English.
26584
26585 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
26586
26587 [BZ #21706]
26588 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26589 in yesstr and nostr.
26590
26591 2017-10-26 Joseph Myers <joseph@codesourcery.com>
26592
26593 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26594 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26595 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26596 Likewise.
26597 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26598 Likewise.
26599 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26600 Likewise.
26601 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26602 Likewise.
26603 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26604 (SNANF128X): Likewise.
26605
26606 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26607 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26608 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26609 (HUGE_VAL_F32): Likewise.
26610 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26611 (HUGE_VAL_F64): Likewise.
26612 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26613 (HUGE_VAL_F32X): Likewise.
26614 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26615 (HUGE_VAL_F64X): Likewise.
26616 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26617 (HUGE_VAL_F128X): Likewise.
26618
26619 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26620
26621 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26622 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26623 for the br_FR locale.
26624
26625 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26626
26627 [BZ #21706]
26628 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26629
26630 2017-10-25 Carlos O'Donell <carlos@redhat.com>
26631
26632 * locale/programs/record-status.h: Define globals, and function
26633 prototypes. Move function bodies...
26634 * locale/programs/record-status.c: ... to here. New file.
26635 * iconv/Makefile (iconv_prog-modules): Add record-status.
26636 * locale/Makefile (lib-modules): Likewise.
26637 * iconv/iconv_prog.c: Remove verbose.
26638 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26639 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26640 record a warning about ASCII compatibility.
26641 * locale/programs/ld-monetary.c (monetary_finish): If
26642 warn_int_curr_symbol is true then record a warning about the symbol
26643 not being in our ISO 4217 list.
26644 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26645 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26646 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26647 (OPT_NO_WARN): Define.
26648 (OPT_WARN): Define.
26649 (options): Add entry for --no-warnings, and --warnings.
26650 (set_warnings): New function to enable/disable warnings.
26651 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26652 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26653 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26654 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26655 Pass flags to generate_locale.
26656 (generate_locale): Accept new flag argument and pass it to localedef
26657 invocation.
26658 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26659 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26660
26661 * localedata/Makefile (test-input-data): Use full file name.
26662 * localedata/da_DK.in: Rename to...
26663 * localedata/da_DK.ISO-8859-1.in: ...this.
26664 * localedata/de_DE.in: Rename to...
26665 * localedata/de_DE.ISO-8859-1.in: ...this.
26666 * localedata/en_US.in: Rename to...
26667 * localedata/en_US.ISO-8859-1.in: ...this.
26668 * localedata/fr_FR.in: Rename to...
26669 * localedata/fr_FR.UTF-8.in: ... this.
26670 * localedata/hr_HR.in: Rename to...
26671 * localedata/hr_HR.ISO-8859-2.in: ...this.
26672 * localedata/hu_HU.in: Rename to...
26673 * localedata/hu_HU.UTF-8.in: ...this.
26674 * localedata/si_LK.in: Rename to...
26675 * localedata/si_LK.UTF-8.in: ...this.
26676 * localedata/sv_SE.in: Rename to...
26677 * localedata/sv_SE.ISO-8859-1.in: ...this.
26678 * localedata/tr_TR.in: Rename to...
26679 * localedata/tr_TR.UTF-8.in: ...this.
26680 * localedata/uk_UA.in: Rename to...
26681 * localedata/uk_UA.UTF-8.in: ...this.
26682 * localedata/sort-test.sh: Test file is locale name with the
26683 suffix.
26684
26685 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26686 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26687 file.
26688 * localedata/locales/i18n_ctype: Regenerate.
26689 * localedata/locales/tr_TR: Likewise.
26690 * localedata/locales/translit_circle: Likewise.
26691 * localedata/locales/translit_cjk_compat: Likewise.
26692 * localedata/locales/translit_combining: Likewise.
26693 * localedata/locales/translit_compat: Likewise.
26694 * localedata/locales/translit_font: Likewise.
26695 * localedata/locales/translit_fraction: Likewise.
26696
26697 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26698
26699 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26700 lxvd2x/stxvd2x with lvx/stvx.
26701 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26702
26703 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26704
26705 * include/alloc_buffer.h: Replace "if if " with "if " in
26706 comments.
26707 * sysdeps/mips/memcpy.S: Likkewise.
26708 * sysdeps/mips/memset.S: Likewise.
26709 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26710 Likewise.
26711 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26712 Likewise.
26713 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26714 Likewise.
26715
26716 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26717
26718 [BZ #15261]
26719 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26720 yesexpr and noexpr.
26721 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26722 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26723 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26724 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26725 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26726 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26727 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26728
26729 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26730
26731 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26732 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26733 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26734 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26735 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26736 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26737 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26738 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26739 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26740 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26741 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26742 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26743
26744 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26745
26746 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26747 as possible for better readability of the source.
26748 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26749 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26750 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26751 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26752 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26753 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26754 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26755 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26756 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26757 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26758 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26759 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26760 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26761 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26762 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26763 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26764 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26765 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26766 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26767 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26768 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26769 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26770 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26771 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26772 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26773 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26774 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26775 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26776 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26777 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26778 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26779 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26780 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26781 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26782 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26783 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26784 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26785 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26786 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26787 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26788 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26789 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26790 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26791 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26792 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26793 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26794 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26795 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26796 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26797 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26798 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26799 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26800 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26801 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26802 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26803 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26804 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26805 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26806 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26807 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26808 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26809 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26810 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26811 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26812 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26813 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26814 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26815 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26816 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26817 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26818 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26819 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26820 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26821 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26822 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26823 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26824 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26825 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26826 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26827 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26828 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26829 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26830 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26831 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26832 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26833 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26834 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26835 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26836 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26837 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26838 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26839 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26840 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26841 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26842 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26843 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26844 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26845 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26846 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26847 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26848 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26849 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26850 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26851 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26852 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26853 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26854 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26855 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26856 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26857 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26858 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26859 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26860 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26861 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26862 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26863 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26864 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26865 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26866 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26867 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26868 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26869 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26870 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26871 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26872 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26873 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26874 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26875 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26876 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26877 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26878 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26879 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26880 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26881 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26882 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26883 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26884 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26885 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26886 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26887 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26888 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26889 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26890 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26891 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26892 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26893 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26894 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26895 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26896 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26897 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26898 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26899 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26900 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26901 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26902 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26903 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26904 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26905 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26906 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26907 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26908 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26909 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26910 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26911 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26912 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26913 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26914 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26915 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26916 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26917 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26918 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26919 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26920 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26921 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26922
26923 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26924
26925 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26926 (Use first letters of yesstr and nostr correctly instead of using
26927 full words).
26928
26929 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26930
26931 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26932 (Use first letters of yesstr and nostr correctly).
26933
26934 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26935
26936 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26937 also check for the first characters of yesstr and nostr.
26938 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26939 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26940
26941 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26942
26943 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26944 also check for Chinese characters.
26945
26946 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26947
26948 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26949 match also for the contents of yesstr and nostr. As the first letter
26950 of yesstr and nostr is equal, checking only for the first letter
26951 is not enough.
26952
26953 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26954
26955 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26956 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26957
26958 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26959
26960 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26961 of main contributor.
26962
26963 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26964
26965 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26966 instead of using English.
26967
26968 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26969
26970 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26971 by including the first letters of nostr and yesexpr in the regexp.
26972 Also make it more readable by using ASCII where possible.
26973
26974 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26975
26976 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26977 the first letter of nostr in the regexp. It agrees with CLDR now.
26978 Also make it more readable by using ASCII where possible.
26979
26980 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26981
26982 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26983 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26984 these strings contain a U+17D6 (which somewhat looks like a colon)
26985 instead of a real colon to separate the full words for “yes”
26986 and “no” from the single letter responses.
26987
26988 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26989
26990 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26991 it agree with CLDR (include the first letter of yesstr).
26992 Also make it more readable by using ASCII where possible.
26993
26994 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26995
26996 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26997 and improve yesexpr and noexpr. The yesstr and nostr apparently
26998 came from CLDR. And CLDR has a bug there: these strings contain
26999 a U+0903 (which looks like a colon) instead of a real colon
27000 to separate the full words for “yes” and “no” from the single
27001 letter responses.
27002
27003 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27004
27005 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
27006 letters of the full yesstr and nostr in yesexpr and noexpr.
27007
27008 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27009
27010 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
27011 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
27012 * localedata/locales/an_ES: Make source more readable by using ASCII
27013 where possible.
27014
27015 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27016
27017 [BZ #20952]
27018 * localedata/locales/yuw_PG: New file.
27019 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
27020 * locale/iso-639.def: Add Yau (Uruwa).
27021
27022 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27023
27024 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
27025
27026 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27027
27028 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
27029 (__libc_realloc): Likewise.
27030 (_mid_memalign): Likewise.
27031 (__libc_calloc): Likewise.
27032
27033 2017-10-23 Mike FABIAN <mfabian@redhat.com>
27034
27035 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
27036 by adding the generic +1 and -0 as in all other locales.
27037 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
27038 day names and make it more readable by using ASCII where possible.
27039
27040 2017-10-24 Joseph Myers <joseph@codesourcery.com>
27041
27042 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
27043 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
27044
27045 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27046
27047 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
27048 WNOHANG in waitpid call.
27049
27050 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
27051
27052 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
27053 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
27054
27055 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
27056 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
27057 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
27058 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
27059 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
27060 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
27061 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
27062 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
27063 variables.
27064
27065 2017-10-23 Michael Collison <michael.collison@arm.com>
27066
27067 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
27068 with __builtin_sqrt.
27069 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
27070 with __builtin_sqrtf.
27071 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
27072 with __builtin_ceil.
27073 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
27074 with __builtin_ceilf.
27075 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
27076 with __builtin_floor.
27077 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
27078 with __builtin_floorf.
27079 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
27080 with __builtin_fma.
27081 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
27082 with __builtin_fmaf.
27083 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
27084 with __builtin_fmax.
27085 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
27086 with __builtin_fmaxf.
27087 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
27088 with __builtin_fmin.
27089 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
27090 with __builtin_fminf.
27091 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
27092 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
27093 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
27094 with builtin_rint and conversion to int.
27095 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
27096 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
27097 with builtin_llround.
27098 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
27099 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
27100 with builtin_rint and conversion to long int.
27101 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
27102 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
27103 with builtin_lround.
27104 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
27105 with builtin_lroundf.
27106 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
27107 statements with __builtin_nearbyint.
27108 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
27109 statements with __builtin_nearbyintf.
27110 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
27111 with __builtin_rint.
27112 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
27113 with __builtin_rintf.
27114 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
27115 with __builtin_round.
27116 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
27117 with __builtin_roundf.
27118 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
27119 with __builtin_trunc.
27120 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
27121 with __builtin_truncf.
27122 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
27123 and s_l[l]round[f].c too.
27124
27125 2017-10-23 Alan Modra <amodra@gmail.com>
27126
27127 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
27128 Adjust stack after restoring regs. Add missing LR cfi_restore.
27129
27130 2017-10-23 Alan Modra <amodra@gmail.com>
27131
27132 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
27133 Move LR save and frame setup/teardown and LR restore to
27134 immediately around memset call. Provide cfi.
27135
27136 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27137
27138 * sysdeps/i386/fpu/e_powf.S: Removed.
27139 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
27140 * sysdeps/i386/fpu/w_powf.c: Likewise.
27141 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
27142 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27143 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27144 Add e_powf-sse2.
27145 (CFLAGS-e_powf-sse2.c): New.
27146 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
27147 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
27148
27149 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27150
27151 * sysdeps/i386/fpu/e_log2f.S: Removed.
27152 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
27153 * sysdeps/i386/fpu/w_log2f.c: Likewise.
27154 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
27155 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27156 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27157 Add e_log2f-sse2.
27158 (CFLAGS-e_log2f-sse2.c): New.
27159 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
27160 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27161
27162 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27163
27164 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27165 Add e_powf-fma.
27166 (CFLAGS-e_powf-fma.c): New.
27167 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27168 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27169
27170 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27171
27172 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27173 Add e_log2f-fma.
27174 (CFLAGS-e_log2f-fma.c): New.
27175 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27176 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27177
27178 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27179
27180 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27181 Add e_logf-fma.
27182 (CFLAGS-e_logf-fma.c): New.
27183 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27184 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27185
27186 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27187
27188 * sysdeps/i386/fpu/e_logf.S: Removed.
27189 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27190 * sysdeps/i386/fpu/w_logf.c: Likewise.
27191 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27192 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27193 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27194 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27195 Add e_logf-sse2.
27196 (CFLAGS-e_logf-sse2.c): New.
27197 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27198 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27199
27200 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27201
27202 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27203 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27204 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27205 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27206 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27207 Add e_exp2f-sse2.
27208 (CFLAGS-e_exp2f-sse2.c): New.
27209 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27210 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27211
27212 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27213
27214 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27215 Add e_exp2f-fma.
27216 (CFLAGS-e_exp2f-fma.c): New.
27217 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27218 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27219
27220 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27221
27222 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27223 * sysdeps/i386/fpu/e_expf.S: Likewise.
27224 * sysdeps/i386/fpu/math_errf.c: Likewise.
27225 * sysdeps/i386/fpu/w_expf.c: Likewise.
27226 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27227 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27228 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27229 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27230 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27231 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27232 Remove e_expf-ia32.
27233 (CFLAGS-e_expf-sse2.c): New.
27234 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27235 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27236
27237 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27238
27239 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27240 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27241 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27242 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27243 e_expf.c.
27244 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27245 New.
27246 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27247 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27248 Renamed to ...
27249 (__redirect_expf): This.
27250 (SYMBOL_NAME): Changed to expf.
27251 (__ieee754_expf): Renamed to ...
27252 (__expf): This.
27253 (__GI___expf): This.
27254 (__ieee754_expf): Add strong_alias.
27255 (__expf_finite): Likewise.
27256 (__expf): New.
27257 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27258
27259 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
27260
27261 [BZ #22332]
27262 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27263 unescaping.
27264
27265 2017-10-21 Florian Weimer <fweimer@redhat.com>
27266
27267 * posix/Makefile (tests): Add tst-glob-tilde.
27268 (tests-special): Add tst-glob-tilde-mem.out
27269 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27270 (tst-glob-tilde-mem.out): Add mtrace check.
27271 * posix/tst-glob-tilde.c: New file.
27272
27273 2017-10-20 Joseph Myers <joseph@codesourcery.com>
27274
27275 * bits/floatn-common.h: New file.
27276 * math/Makefile (headers): Add bits/floatn-common.h.
27277 * bits/floatn.h: Include <bits/floatn-common.h>.
27278 * sysdeps/ia64/bits/floatn.h: Likewise.
27279 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27280 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27281 * sysdeps/powerpc/bits/floatn.h: Likewise.
27282 * sysdeps/x86/bits/floatn.h: Likewise.
27283
27284 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27285
27286 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27287 indicates whether compiler emits an warning for alias for
27288 functions with incompatible types.
27289
27290 [BZ #22273]
27291 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27292 the auxiliary process is terminated by a signal before calling _exit
27293 or execve.
27294
27295 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27296
27297 [BZ #21265]
27298 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27299 New.
27300 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27301 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27302 and bit_arch_XSAVEC_Usable if needed.
27303 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27304 and bit_arch_Use_dl_runtime_resolve_opt.
27305 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27306 Removed.
27307 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27308 (bit_arch_Prefer_No_AVX512): Updated.
27309 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27310 (bit_arch_XSAVEC_Usable): New.
27311 (STATE_SAVE_OFFSET): Likewise.
27312 (STATE_SAVE_MASK): Likewise.
27313 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27314 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27315 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27316 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27317 (index_arch_XSAVEC_Usable): New.
27318 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27319 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27320 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27321 is enabled.
27322 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27323 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27324 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27325 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27326 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27327 _dl_runtime_resolve_xsavec.
27328 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27329 Removed.
27330 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27331 instead of VEC_SIZE.
27332 (REGISTER_SAVE_BND0): Removed.
27333 (REGISTER_SAVE_BND1): Likewise.
27334 (REGISTER_SAVE_BND3): Likewise.
27335 (REGISTER_SAVE_RAX): Always defined to 0.
27336 (VMOV): Removed.
27337 (_dl_runtime_resolve_avx): Likewise.
27338 (_dl_runtime_resolve_avx_slow): Likewise.
27339 (_dl_runtime_resolve_avx_opt): Likewise.
27340 (_dl_runtime_resolve_avx512): Likewise.
27341 (_dl_runtime_resolve_avx512_opt): Likewise.
27342 (_dl_runtime_resolve_sse): Likewise.
27343 (_dl_runtime_resolve_sse_vex): Likewise.
27344 (USE_FXSAVE): New.
27345 (_dl_runtime_resolve_fxsave): Likewise.
27346 (USE_XSAVE): Likewise.
27347 (_dl_runtime_resolve_xsave): Likewise.
27348 (USE_XSAVEC): Likewise.
27349 (_dl_runtime_resolve_xsavec): Likewise.
27350 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27351 Removed.
27352 (_dl_runtime_resolve_avx512_opt): Likewise.
27353 (_dl_runtime_resolve_avx): Likewise.
27354 (_dl_runtime_resolve_avx_opt): Likewise.
27355 (_dl_runtime_resolve_sse): Likewise.
27356 (_dl_runtime_resolve_sse_vex): Likewise.
27357 (_dl_runtime_resolve_fxsave): New.
27358 (_dl_runtime_resolve_xsave): Likewise.
27359 (_dl_runtime_resolve_xsavec): Likewise.
27360
27361 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
27362
27363 [BZ #22320]
27364 CVE-2017-15670
27365 * posix/glob.c (__glob): Fix one-byte overflow.
27366
27367 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27368
27369 * malloc/malloc.c (sysdep-cancel.h): Add include.
27370
27371 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27372
27373 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27374
27375 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27376
27377 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27378 (tests): Remove $(objpfx)ga_test depdendency.
27379 * resolv/ga_test.c: Remove file.
27380
27381 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27382
27383 [BZ #18812]
27384 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27385 * localedata/locales/kab_DZ: New file.
27386
27387 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27388
27389 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27390 _dl_relocate_static_pie instead of _dl_start to compute load
27391 address in static PIE.
27392
27393 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27394
27395 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27396
27397 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27398
27399 [BZ #13605]
27400 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27401 * localedata/locales/shn_MM: New file.
27402
27403 2017-10-20 Florian Weimer <fweimer@redhat.com>
27404
27405 [BZ #22321]
27406 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27407 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27408 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27409 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27410 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27411 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27412
27413 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27414
27415 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27416
27417 2017-10-19 Joseph Myers <joseph@codesourcery.com>
27418
27419 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27420
27421 [BZ #22322]
27422 * sysdeps/mips/bits/long-double.h: Move to ....
27423 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27424
27425 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27426
27427 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27428
27429 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
27430 H.J. Lu <hongjiu.lu@intel.com>
27431
27432 [BZ #22299]
27433 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27434 GLRO(dl_platform) to NULL.
27435 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27436 (modules-names): Add tst-platformmod-1 and
27437 x86_64/tst-platformmod-2.
27438 (CFLAGS-tst-platform-1.c): New.
27439 (CFLAGS-tst-platformmod-1.c): Likewise.
27440 (CFLAGS-tst-platformmod-2.c): Likewise.
27441 (LDFLAGS-tst-platformmod-2.so): Likewise.
27442 ($(objpfx)tst-platform-1): Likewise.
27443 ($(objpfx)tst-platform-1.out): Likewise.
27444 (tst-platform-1-ENV): Likewise.
27445 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27446 * sysdeps/x86_64/tst-platform-1.c: New file.
27447 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27448 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27449
27450 2017-10-19 Mike FABIAN <mfabian@redhat.com>
27451
27452 [BZ #13994]
27453 * locale/iso-639.def: Add Karbi.
27454 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27455 * localedata/locales/mjw_IN: New file.
27456
27457 2017-10-18 Joseph Myers <joseph@codesourcery.com>
27458
27459 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27460 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27461 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27462 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27463 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27464 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27465 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27466 <bits/floatn.h>.
27467 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27468 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27469 * manual/math.texi (Mathematics): Document additional architecture
27470 support for _Float128.
27471 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27472 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27473 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27474 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27475 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27476 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27477 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27478 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27479 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27480 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27481 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27482 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27483 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27484 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27485 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27486
27487 2017-10-18 Renlin Li <renlin.li@arm.com>
27488
27489 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27490 _DYNAMIC symbol to calculate load address.
27491
27492 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
27493
27494 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27495 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27496 summary bits.
27497 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27498 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27499
27500 2017-10-18 Mike FABIAN <mfabian@redhat.com>
27501
27502 [BZ #16777]
27503 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27504 and improve readability by using more ASCII.
27505 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27506 and improve readability by using more ASCII.
27507
27508 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27509
27510 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27511 not all targets support atomics on bool.
27512
27513 2017-10-17 Joseph Myers <joseph@codesourcery.com>
27514
27515 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27516 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27517 __f128.
27518 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27519 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27520 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27521 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27522 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27523 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27524
27525 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27526
27527 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27528 defines.
27529
27530 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27531
27532 [BZ #22159]
27533 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27534 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27535 (do_check_remalloced_chunk): Fix build bug.
27536 (do_check_malloc_state): Add assert that checks arena->top.
27537 (malloc_consolidate): Remove initialization.
27538 (int_mallinfo): Remove call to malloc_consolidate.
27539 (__libc_mallopt): Clarify why malloc_consolidate is needed.
27540
27541 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27542
27543 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27544 (have_fastchunks): Remove.
27545 (clear_fastchunks): Remove.
27546 (set_fastchunks): Remove.
27547 (malloc_state): Add have_fastchunks.
27548 (malloc_init_state): Use have_fastchunks.
27549 (do_check_malloc_state): Remove incorrect invariant checks.
27550 (_int_malloc): Use have_fastchunks.
27551 (_int_free): Likewise.
27552 (malloc_consolidate): Likewise.
27553
27554 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27555
27556 * malloc/malloc.c (tcache_put): Inline.
27557 (tcache_get): Inline.
27558
27559 2017-10-17 Jordi Mallach <jordi@gnu.org>
27560
27561 Aurelien Jarno <aurelien@aurel32.net>
27562 [BZ #2522]
27563 * localedata/locales/ca_ES@valencia: New file.
27564 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27565
27566 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27567
27568 [BZ #22296]
27569 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27570 < 6.x
27571
27572 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27573
27574 * scripts/build-many-glibcs.py (Context.add_all_configs):
27575 Add arm-linux-gnueabihf multiarch extra_glibcs.
27576
27577 * sysdeps/generic/ifunc-init.h: New file.
27578 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27579
27580 2017-10-17 Mike FABIAN <mfabian@redhat.com>
27581
27582 [BZ #22019]
27583 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27584 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27585 * stdlib/tst-strfmon_l.c: adapt test case.
27586
27587 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27588
27589 * sysdeps/generic/float128-abi.h: New file.
27590 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27591 non-__prefixed symbols to ....
27592 * math/Versions: ... here. Include <float128-abi.h>.
27593 * stdlib/Versions ... and here. Include <float128-abi.h>
27594
27595 2017-10-16 Florian Weimer <fweimer@redhat.com>
27596
27597 * version.h (VERSION): Switch to ".9000" as the development
27598 version suffix.
27599
27600 2017-10-16 Florian Weimer <fweimer@redhat.com>
27601
27602 [BZ #22050]
27603 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27604 compat_symbol_reference to access non-default version.
27605
27606 2017-10-16 Florian Weimer <fweimer@redhat.com>
27607
27608 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27609
27610 2017-10-16 Carlos O'Donell <carlos@redhat.com>
27611
27612 * include/shlib-compat.h (compat_symbol_reference): Update
27613 comment.
27614
27615 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27616
27617 * math/Makefile (test-types): Add
27618 $(type-float128-$(float128-alias-fcts)).
27619 * math/test-float128.h (TYPE_STR): Define conditional on
27620 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27621 (ULP_IDX): Likewise.
27622 (ULP_I_IDX): Likewise.
27623
27624 * stdlib/strtold.c: Include <bits/floatn.h>
27625 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27626 and later undefine as macro. Define as weak alias if
27627 [!USE_WIDE_CHAR].
27628 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27629 and later undefine as macro. Define as weak alias if
27630 [USE_WIDE_CHAR].
27631 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27632 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27633 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27634 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27635 Define and later undefine as macro. Define as weak alias if
27636 [USE_WIDE_CHAR].
27637 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27638 <bits/floatn.h>.
27639 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27640 Define and later undefine as macro. Define as weak alias if
27641 [!USE_WIDE_CHAR].
27642 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27643 Define and later undefine as macro. Define as weak alias if
27644 [USE_WIDE_CHAR].
27645
27646 2017-10-15 Carlos O'Donell <carlos@redhat.com>
27647
27648 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27649 record_verbose messages.
27650
27651 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27652
27653 [BZ #22052]
27654 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27655 to silence -O3 -Wall warning with GCC 7.
27656
27657 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27658
27659 * Makeconfig (+link-static-before-libc): Use the first of
27660 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27661 * gmon/Makefile (tests): Add tst-gmon-static.
27662 (tests-static): Likewise.
27663 (CFLAGS-tst-gmon-static.c): New.
27664 (CRT-tst-gmon-static): Likewise.
27665 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27666 (tst-gmon-static-ENV): Likewise.
27667 (tests-special): Likewise.
27668 ($(objpfx)tst-gmon-static.out): Likewise.
27669 (clean-tst-gmon-static-data): Likewise.
27670 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27671 * gmon/tst-gmon-static-gprof.sh: New file.
27672 * gmon/tst-gmon-static.c: Likewise.
27673
27674 2017-10-13 Carlos O'Donell <carlos@redhat.com>
27675
27676 [BZ #22295]
27677 * locale/programs/linereader.c (get_string): Don't warn on
27678 non-symbolic character.
27679
27680 [BZ #22294]
27681 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27682 int_curr_symbol.
27683
27684 [BZ #22292]
27685 * locale/programs/record-status.h: New file
27686 * locale/programs/locale.c: Add comment.
27687 * locale/programs/charmap-dir.c: Don't include error.h.
27688 (charmap_opendir): Use record_error.
27689 * locale/programs/charmap.c: Don't include error.h.
27690 (charmap_read): Use record_error, and record_warning.
27691 (parse_charmap): Likewise.
27692 * locale/programs/ld-address.c: Don't include error.h.
27693 (address_finish): Use record_error, and record_warning.
27694 * locale/programs/ld-collate.c: Don't include error.h.
27695 (collate_finish): Use record_error, and record_error_at_line.
27696 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27697 (ctype_class_new): Likewise.
27698 (ctype_map_new): Likewise.
27699 (set_one_default): Likewise.
27700 (set_class_defaults): Likewise.
27701 (translit_flatten): Likewise.
27702 (allocate_arrays): Use record_error, and record_verbose.
27703 * locale/programs/ld-identification.c: Don't include error.h.
27704 (indentation_finish): Use record_error and record_warning.
27705 * locale/programs/ld-measurement.c: Don't include error.h.
27706 (measurement_finish): Use record_error.
27707 * locale/programs/ld-messages.c
27708 (message_finish): Likewise.
27709 * locale/programs/ld-monetary.c
27710 (monetary_finish): Likewise.
27711 * locale/programs/ld-name.c (name_finish): Use record_error
27712 and record_warning.
27713 * locale/programs/ld-numeric.c
27714 (numeric_finish): Use record_error.
27715 * locale/programs/ld-paper.c: Don't include error.h.
27716 (paper_finish): Use record_error.
27717 * locale/programs/ld-telephone.c: Don't include error.h.
27718 (telephone_finish): Use record_error.
27719 * locale/programs/ld-time.c (time_finish): Likewise.
27720 * locale/programs/linereader.h (lr_error): Make inline func.
27721 * locale/programs/localedef.c: Define recorded_warning_count,
27722 and recorded_error_count.
27723 (main): Use record_error. Use recorded_error_count and
27724 recorded_warning_count to issue correct error returns.
27725 (add_to_readlist): Use record_error.
27726 (find_locale): Likewise.
27727 (load_locale): Likewise.
27728 * locale/programs/localedef.h: Remove be_quiet
27729 and WITH_CUR_LOCALE.
27730 * locale/programs/locarchive.c (compare_from_file): Use
27731 record_error.
27732 * locale/programs/locfile.c (write_locale_data): Use
27733 record_error.
27734 * locale/programs/repertoire.c: Dont include error.h.
27735 (repertoire_complain): Use record_error.
27736 * localedata/tst-fmon.sh: Expect failures from localedef.
27737 * localedata/tst-locale.sh: Likewise.
27738 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27739
27740 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27741 (REPORTS): Likewise.
27742 (check): Likewise.
27743 (i18n): Rename to...
27744 (i18n_ctype): ...this.
27745 (i18n-report): Rename to...
27746 (i18n_ctype-report): ...this.
27747 * localedata/locales/i18n_ctype: Regenerate.
27748 * localedata/locales/i18n: copy i18n_ctype.
27749
27750 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27751
27752 * stdlib/strfroml.c: Include <bits/floatn.h>.
27753 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27754 Define before include of <stdlib.h> and undefine afterwards, then
27755 define as weak alias.
27756
27757 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27758 Undefine and restore default definition. Use
27759 libm_alias_ldouble_other.
27760
27761 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27762
27763 [BZ #22153]
27764 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27765 in coredumps.
27766
27767 2017-10-13 James Clarke <jrtc27@jrtc27.com>
27768
27769 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27770 Assign sym_map to be map for local symbols, as TLS relocations
27771 use sym_map to determine whether the symbol is defined and to
27772 extract the TLS information.
27773 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27774 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27775
27776 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27777
27778 [BZ #22189]
27779 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27780 (math_force_eval): Add powerpc version.
27781
27782 [BZ #22142]
27783 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27784 -DBL_MAX.
27785 (do_test): Likewise.
27786 * stdio-common/tst-printf.sh: Likewise.
27787 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27788 ifdef clause in order to set the carry bit right. Replace r0 by
27789 0 without changing the behavior.
27790
27791 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27792
27793 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27794 <libm-alias-ldouble.h>.
27795 (fabsl): Define using libm_alias_ldouble.
27796 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27797 <libm-alias-ldouble.h>.
27798 (fabsl): Define using libm_alias_ldouble.
27799
27800 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27801 Remove conditional code.
27802
27803 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27804 Rename to __clog10_internal_l.
27805 (__clog10_internal_l): Define aliases using
27806 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27807 with __clog10.
27808
27809 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27810
27811 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27812 * benchtests/sincosf-inputs: New file.
27813 * benchtests/cosf-inputs: New file.
27814 * benchtests/sinf-inputs: New file.
27815
27816 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27817
27818 * posix/tst-spawn.c (do_test): Wait for both children.
27819
27820 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27821
27822 [BZ #22284]
27823 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27824 tests-pie): Add tst-gmon-pie.
27825 (CFLAGS-tst-gmon-pie.c): New.
27826 (CRT-tst-gmon-pie): Likewise.
27827 (tst-gmon-pie-ENV): Likewise.
27828 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27829 ($(objpfx)tst-gmon-pie.out): Likewise.
27830 (clean-tst-gmon-pie-data): Likewise.
27831 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27832 * gmon/gmon.c [PIC]: Include <link.h>.
27833 [PIC] (callback): New function.
27834 (write_hist): Add an argument for load address. Subtract load
27835 address from PCs.
27836 (write_call_graph): Likewise.
27837 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27838 it to write_hist and write_call_graph.
27839 * gmon/tst-gmon-pie.c: New file.
27840
27841 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27842
27843 * math/Makefile (test-types-basic): New variable.
27844 (test-types): Likewise.
27845 (libm-test-support): Use $(test-types) instead of $(types).
27846 (libm-tests-base-normal): Likewise.
27847 (libm-tests-base-finite): Likewise.
27848 (libm-tests-base-inline): Likewise.
27849 (generated): Likewise.
27850 ($(objpfx)libm-test-support-$(t).c): Likewise.
27851 (libm-tests-for-type iterator): Likewise.
27852 (libm-test-support iterator): Likewise.
27853 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27854 (ulp_idx): Use ULP_IDX.
27855 * math/test-ldouble.h: Include <float.h>.
27856 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27857 (ULP_IDX): New macro.
27858 (ULP_I_IDX): Likewise.
27859 * math/test-double.h (ULP_IDX): Likewise.
27860 (ULP_I_IDX): Likewise.
27861 * math/test-float.h (ULP_IDX): Likewise.
27862 (ULP_I_IDX): Likewise.
27863 * math/test-float128.h (ULP_IDX): Likewise.
27864 (ULP_I_IDX): Likewise.
27865
27866 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27867
27868 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27869 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27870 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27871 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27872 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27873 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27874 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27875 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27876 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27877 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27878 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27879 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27880 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27881 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27882 (SINGLE_THREAD_BY_GLOBAL): Define.
27883 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27884 Likewise.
27885 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27886 Likewise.
27887 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27888 Likewise.
27889 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27890 Likewise.
27891 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27892 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27894 Likewise.
27895
27896 2017-10-11 Andreas Schwab <schwab@suse.de>
27897
27898 * nis/Makefile (aux): Remove.
27899 * nscd/Makefile (aux): Add nscd_hash.
27900 (nscd-modules): Likewise.
27901 ($(objpfx)nscd): Don't depend on libnsl.
27902 * nscd/nscd_hash.c: New file.
27903 * nscd/nscd_hash.h: Likewise.
27904 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27905 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27906 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27907 instead of <nis/rpcsvc/nis.h>.
27908 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27909
27910 2017-10-11 Florian Weimer <fweimer@redhat.com>
27911
27912 [BZ #22078]
27913 Avoid large NSS buffers with many addresses, aliases.
27914 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27915 using dynarrays and struct alloc_buffer.
27916 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27917 (tst-nss-files-hosts-multi): Link with -ldl.
27918 * nss/tst-nss-files-hosts-multi.c: New file.
27919
27920 2017-10-11 Florian Weimer <fweimer@redhat.com>
27921
27922 [BZ #18023]
27923 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27924 scratch_buffer. Eliminate gotos.
27925
27926 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27927
27928 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27929 libm_alias_ldouble_other.
27930 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27931 undefine and redefine.
27932 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27933 (exp10l): Do not define here.
27934 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27935 (weak_alias): Undefine and redefine.
27936 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27937 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27938 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27939 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27940
27941 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27942 [!__fma] (fma): Define using libm_alias_double.
27943 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27944 [!__fmaf] (fmaf): Define using libm_alias_float.
27945 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27946 (fmal): Define using libm_alias_ldouble.
27947
27948 2017-10-10 Joseph Myers <joseph@codesourcery.com>
27949
27950 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27951 New macro.
27952 (libm_alias_double_other): Likewise.
27953 (libm_alias_double_r): Use libm_alias_double_other_r.
27954 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27955 New macro.
27956 (libm_alias_float_other): Likewise.
27957 (libm_alias_float_r): Use libm_alias_float_other_r.
27958 * sysdeps/generic/libm-alias-float128.h
27959 (libm_alias_float128_other_r): New macro.
27960 (libm_alias_float128_other): Likewise.
27961 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27962 * sysdeps/generic/libm-alias-ldouble.h
27963 (libm_alias_ldouble_other_r): New macro.
27964 (libm_alias_ldouble_other): Likewise.
27965 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27966 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27967 (libm_alias_double_other_r): New macro.
27968 (libm_alias_double_other): Likewise.
27969 (libm_alias_double_r): Use libm_alias_double_other_r.
27970 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27971 (libm_alias_ldouble_other_r): New macro.
27972 (libm_alias_ldouble_other): Likewise.
27973 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27974 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27975 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27976 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27977 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27978 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27979 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27980 * math/w_exp2f.c: Use libm_alias_float_other.
27981 * math/w_expf.c: Likewise.
27982 * math/w_log2f.c: Likewise.
27983 * math/w_logf.c: Likewise.
27984 * math/w_powf.c: Likewise.
27985 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27986 [!__exp2f]: Use libm_alias_float_other.
27987 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27988 [!__expf]: Use libm_alias_float_other.
27989 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27990 [!__log2f]: Use libm_alias_float_other.
27991 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27992 [!__logf]: Use libm_alias_float_other.
27993 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27994 [!__powf]: Use libm_alias_float_other.
27995
27996 2017-10-10 Florian Weimer <fweimer@redhat.com>
27997
27998 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27999 function.
28000 (_nss_files_gethostbyname3_r): Call it.
28001
28002 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28003
28004 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
28005 error. Remove default definition of declare_mgen_alias.
28006 [!declare_mgen_alias_r]: Likewise.
28007 * sysdeps/generic/math-type-macros-double.h
28008 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
28009 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
28010 (declare_mgen_alias_r): Likewise.
28011 * sysdeps/generic/math-type-macros-float128.h
28012 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28013 * sysdeps/generic/math-type-macros-ldouble.h
28014 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28015 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
28016 macro.
28017 (declare_mgen_alias_r_s): Likewise.
28018 (declare_mgen_alias_r): Likewise.
28019 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
28020 (lgamma_r): Define using libm_alias_double_r.
28021 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
28022 (lgammaf_r): Define using libm_alias_float_r.
28023 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
28024 (lgammal_r): Define using libm_alias_ldouble_r.
28025 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
28026 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28027
28028 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28029
28030 * lib/glob.c (__glob_pattern_type): Remove now-spurious
28031 extern declaration.
28032
28033 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28034
28035 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
28036
28037 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
28038
28039 [BZ #21326]
28040 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
28041 [__cplusplus >= 201103] (__USE_ISOC99): Define.
28042 * math/Makefile (test-math-cxx11): New test.
28043 * math/test-math-cxx11.cc: New file.
28044
28045 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
28046
28047 * login/openpty.c (openpty): Close slave pty file descriptor on error.
28048
28049 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
28050 call to allocate the slave pty file descriptor.
28051
28052 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28053
28054 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
28055 [!__fma] (fma): Define using libm_alias_double.
28056 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
28057 [!__fma] (fma): Define using libm_alias_double.
28058
28059 * sysdeps/ieee754/float128/float128_private.h: Include
28060 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
28061 (libm_alias_ldouble_r): Undefine and redefine.
28062 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
28063 <libm-alias-ldouble.h>.
28064 (asinhl): Define using libm_alias_ldouble.
28065 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
28066 <libm-alias-ldouble.h>.
28067 (atanl): Define using libm_alias_ldouble.
28068 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
28069 <libm-alias-ldouble.h>.
28070 (cbrtl): Define using libm_alias_ldouble.
28071 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
28072 <libm-alias-ldouble.h>.
28073 (ceill): Define using libm_alias_ldouble.
28074 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
28075 <libm-alias-ldouble.h>.
28076 (copysignl): Define using libm_alias_ldouble.
28077 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
28078 <libm-alias-ldouble.h>.
28079 (cosl): Define using libm_alias_ldouble.
28080 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
28081 <libm-alias-ldouble.h>.
28082 (erfl): Define using libm_alias_ldouble.
28083 (erfcl): Likewise.
28084 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
28085 <libm-alias-ldouble.h>.
28086 (expm1l): Define using libm_alias_ldouble.
28087 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
28088 <libm-alias-ldouble.h>.
28089 (fabsl): Define using libm_alias_ldouble.
28090 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
28091 <libm-alias-ldouble.h>.
28092 (floorl): Define using libm_alias_ldouble.
28093 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
28094 <libm-alias-ldouble.h>.
28095 (fmal): Define using libm_alias_ldouble.
28096 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
28097 <libm-alias-ldouble.h>.
28098 (frexpl): Define using libm_alias_ldouble.
28099 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
28100 libm_alias_ldouble.
28101 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
28102 <libm-alias-ldouble.h>.
28103 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
28104 libm_alias_ldouble.
28105 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
28106 <libm-alias-ldouble.h>.
28107 (getpayloadl): Define using libm_alias_ldouble.
28108 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
28109 <libm-alias-ldouble.h>.
28110 (llrintl): Define using libm_alias_ldouble.
28111 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
28112 <libm-alias-ldouble.h>.
28113 (llroundl): Define using libm_alias_ldouble.
28114 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
28115 <libm-alias-ldouble.h>.
28116 (logbl): Define using libm_alias_ldouble.
28117 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
28118 <libm-alias-ldouble.h>.
28119 (lrintl): Define using libm_alias_ldouble.
28120 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
28121 <libm-alias-ldouble.h>.
28122 (lroundl): Define using libm_alias_ldouble.
28123 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
28124 <libm-alias-ldouble.h>.
28125 (modfl): Define using libm_alias_ldouble.
28126 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
28127 <libm-alias-ldouble.h>.
28128 (nearbyintl): Define using libm_alias_ldouble.
28129 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
28130 <libm-alias-ldouble.h>.
28131 (nextafterl): Define using libm_alias_ldouble.
28132 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
28133 <libm-alias-ldouble.h>.
28134 (nextupl): Define using libm_alias_ldouble.
28135 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
28136 <libm-alias-ldouble.h>.
28137 (remquol): Define using libm_alias_ldouble.
28138 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
28139 <libm-alias-ldouble.h>.
28140 (rintl): Define using libm_alias_ldouble.
28141 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
28142 <libm-alias-ldouble.h>.
28143 (roundevenl): Define using libm_alias_ldouble.
28144 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
28145 <libm-alias-ldouble.h>.
28146 (roundl): Define using libm_alias_ldouble.
28147 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
28148 using libm_alias_ldouble.
28149 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
28150 <libm-alias-ldouble.h>.
28151 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
28152 Define using libm_alias_ldouble.
28153 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
28154 <libm-alias-ldouble.h>.
28155 (sincosl): Define using libm_alias_ldouble.
28156 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
28157 <libm-alias-ldouble.h>.
28158 (sinl): Define using libm_alias_ldouble.
28159 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
28160 <libm-alias-ldouble.h>.
28161 (tanhl): Define using libm_alias_ldouble.
28162 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28163 <libm-alias-ldouble.h>.
28164 (tanl): Define using libm_alias_ldouble.
28165 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28166 <libm-alias-ldouble.h>.
28167 (totalorderl): Define using libm_alias_ldouble.
28168 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28169 <libm-alias-ldouble.h>.
28170 (totalordermagl): Define using libm_alias_ldouble.
28171 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28172 <libm-alias-ldouble.h>.
28173 (truncl): Define using libm_alias_ldouble.
28174 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28175 libm_alias_ldouble.
28176 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28177 libm_alias_ldouble.
28178 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28179 <libm-alias-ldouble.h>.
28180 (weak_alias): Do not undefine and redefine.
28181 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28182 (copysignl): Define with long_double_symbol only if [IS_IN
28183 (libc)].
28184 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28185 <libm-alias-ldouble.h>.
28186 (weak_alias): Do not undefine and redefine.
28187 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28188 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28189 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28190 <libm-alias-ldouble.h>.
28191 (weak_alias): Do not undefine and redefine.
28192 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28193 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28194 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28195 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28196 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28197 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28198 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28199 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28200 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28201 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28202 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28203 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28204 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28205 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28206 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28207 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28208 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28209 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28210 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28211 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28212 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28213 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28214 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28215 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28216 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28217 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28218
28219 2017-10-06 Carlos O'Donell <carlos@redhat.com>
28220
28221 [BZ #22111]
28222 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28223 (tcache_thread_freeres): Set tcache_shutting_down before
28224 freeing the tcache.
28225 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28226 * malloc/tst-malloc-tcache-leak.c: New file.
28227
28228 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28229
28230 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28231 back to powerpc32 file.
28232 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28233 (memrchr): Add __memrchr_power8 to ifunc list.
28234 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28235 extra bytes for unaligned inputs.
28236
28237 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28238
28239 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28240 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28241 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28242 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28243 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28244
28245 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28246
28247 * sysdeps/arm/libm-test-ulps: Update.
28248
28249 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28250 <libm-alias-ldouble.h>.
28251 (asinhl): Define using libm_alias_ldouble.
28252 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28253 <libm-alias-ldouble.h>.
28254 (cbrtl): Define using libm_alias_ldouble.
28255 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28256 <libm-alias-ldouble.h>.
28257 (copysignl): Define using libm_alias_ldouble.
28258 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28259 <libm-alias-ldouble.h>.
28260 (cosl): Define using libm_alias_ldouble.
28261 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28262 <libm-alias-ldouble.h>.
28263 (erfl): Define using libm_alias_ldouble.
28264 (erfcl): Likewise.
28265 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28266 <libm-alias-ldouble.h>.
28267 (fmal): Define using libm_alias_ldouble.
28268 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28269 <libm-alias-ldouble.h>.
28270 (frexpl): Define using libm_alias_ldouble.
28271 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28272 libm_alias_ldouble.
28273 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28274 <libm-alias-ldouble.h>.
28275 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28276 libm_alias_ldouble.
28277 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28278 <libm-alias-ldouble.h>.
28279 (getpayloadl): Define using libm_alias_ldouble.
28280 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28281 <libm-alias-ldouble.h>.
28282 (llrintl): Define using libm_alias_ldouble.
28283 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28284 <libm-alias-ldouble.h>.
28285 (llroundl): Define using libm_alias_ldouble.
28286 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28287 <libm-alias-ldouble.h>.
28288 (lrintl): Define using libm_alias_ldouble.
28289 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28290 <libm-alias-ldouble.h>.
28291 (lroundl): Define using libm_alias_ldouble.
28292 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28293 <libm-alias-ldouble.h>.
28294 (modfl): Define using libm_alias_ldouble.
28295 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28296 <libm-alias-ldouble.h>.
28297 (nextupl): Define using libm_alias_ldouble.
28298 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28299 <libm-alias-ldouble.h>.
28300 (remquol): Define using libm_alias_ldouble.
28301 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28302 <libm-alias-ldouble.h>.
28303 (roundevenl): Define using libm_alias_ldouble.
28304 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28305 <libm-alias-ldouble.h>.
28306 (roundl): Define using libm_alias_ldouble.
28307 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28308 using libm_alias_ldouble.
28309 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28310 <libm-alias-ldouble.h>.
28311 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28312 <libm-alias-ldouble.h>.
28313 (setpayloadsigl): Define using libm_alias_ldouble.
28314 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28315 <libm-alias-ldouble.h>.
28316 (sincosl): Define using libm_alias_ldouble.
28317 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28318 <libm-alias-ldouble.h>.
28319 (sinl): Define using libm_alias_ldouble.
28320 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28321 <libm-alias-ldouble.h>.
28322 (tanhl): Define using libm_alias_ldouble.
28323 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28324 <libm-alias-ldouble.h>.
28325 (tanl): Define using libm_alias_ldouble.
28326 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28327 <libm-alias-ldouble.h>.
28328 (totalorderl): Define using libm_alias_ldouble.
28329 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28330 <libm-alias-ldouble.h>.
28331 (totalordermagl): Define using libm_alias_ldouble.
28332 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28333 libm_alias_ldouble.
28334 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28335 libm_alias_ldouble.
28336
28337 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28338
28339 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28340 memmove_falkor.
28341 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28342 (__libc_ifunc_impl_list): Likewise.
28343 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28344 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28345
28346 * benchtests/bench-memmove-walk.c: New file.
28347 * benchtests/Makefile (string-benchset): Add it.
28348
28349 * benchtests/bench-memset-walk.c: New file.
28350 * benchtests/Makefile (string-benchset): Add it.
28351
28352 * benchtests/bench-memcpy-walk.c: New file.
28353 * benchtests/Makefile (string-benchset): Add it.
28354
28355 2017-10-05 Florian Weimer <fweimer@redhat.com>
28356
28357 nscd: Eliminate compilation time dependency in the build output.
28358 * nscd/nscd_stat.c (STATDATA_VERSION)
28359 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28360 (STATDATA_VERSION_FULL): New macro definitions.
28361 (compilation): Remove.
28362 (struct statdata): Adjust version member.
28363 (send_stats): Set version from STATDATA_VERSION_FULL.
28364 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28365
28366 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28367
28368 * configure.ac (--enable-add-ons): Remove option.
28369 (machine): Do not mention add-ons in comment.
28370 (LIBC_PRECONFIGURE): Likewise.
28371 (add_ons): Remove variable and sanity checks and logic to locate
28372 add-ons.
28373 (add_ons_automatic): Remove variable.
28374 (configured_add_ons): Likewise.
28375 (add_ons_sfx): Likewise.
28376 (add_ons_pfx): Likewise.
28377 (add_on_subdirs): Likewise.
28378 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28379 consideration of add-ons in Implies handling.
28380 (sysdeps_add_ons): Likewise.
28381 * configure: Regenerated.
28382 * libidn/configure.ac: Remove.
28383 * libidn/configure: Likewise.
28384 * sysdeps/unix/inet/configure.ac: New file.
28385 * sysdeps/unix/inet/configure: New generated file.
28386 * sysdeps/unix/inet/Subdirs: Add libidn.
28387 * Makeconfig (sysdeps-srcdirs): Remove variable.
28388 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28389 ($(common-objpfx)config.status): Do not depend on add-on files.
28390 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28391 comment.
28392 (all-subdirs): Do not include $(add-on-subdirs).
28393 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28394 * config.make.in (add-ons): Remove variable.
28395 (add-on-subdirs): Likewise.
28396 (sysdeps-add-ons): Likewise.
28397 * manual/Makefile (add-chapters): Remove.
28398 ($(objpfx)texis): Do not depend on $(add-chapters).
28399 (nonexamples): Do not handle $(add-chapters).
28400 (examples): Do not handle $(add-ons).
28401 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28402 libc-texinfo.sh.
28403 * manual/install.texi (Installation): Do not mention add-ons.
28404 (--enable-add-ons): Do not document configure option.
28405 * INSTALL: Regenerated.
28406 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28407 * manual/maint.texi (Hierarchy Conventions): Do not mention
28408 add-ons.
28409 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28410 --enable-add-ons.
28411 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28412 add-ons.
28413 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28414 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28415
28416 2017-10-05 Andreas Schwab <schwab@suse.de>
28417
28418 [BZ #15142]
28419 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28420 (_IO_flush_all_lockp): Always lock list_all_lock.
28421 (_IO_flush_all_linebuffered): Likewise.
28422 (_IO_unbuffer_all): Likewise.
28423
28424 2017-10-05 Florian Weimer <fweimer@redhat.com>
28425
28426 [BZ #15436]
28427 Do not flush stdio streams on abort.
28428 * stdlib/abort.c (fflush): Remove macro definition.
28429 (abort): Remove stages related to stdio flushing.
28430
28431 2017-10-05 Florian Weimer <fweimer@redhat.com>
28432
28433 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28434
28435 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28436
28437 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28438
28439 2017-10-05 Florian Weimer <fweimer@redhat.com>
28440
28441 * support/support_format_hostent.c (support_format_hostent): Add
28442 more error information for NETDB_INTERNAL.
28443
28444 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28445
28446 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28447 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28448 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28449 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28450 AC_DEFINE if multi-arch is enabled.
28451 * sysdeps/i386/configure: Regenerated.
28452
28453 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28454
28455 * Makeconfig (+link-static-before-libc): Use
28456 $(DEFAULT-LDFLAGS-$(@F)).
28457 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28458 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28459 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28460
28461 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28462
28463 * elf/Makefile (tests): Add tst-main1.
28464 (modules-names): Add tst-main1mod.
28465 ($(objpfx)tst-main1): New.
28466 (CRT-tst-main1): Likewise.
28467 (LDFLAGS-tst-main1): Likewise.
28468 (LDLIBS-tst-main1): Likewise.
28469 (tst-main1mod.so-no-z-defs): Likewise.
28470 * elf/tst-main1.c: New file.
28471 * elf/tst-main1mod.c: Likewise.
28472
28473 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28474
28475 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28476
28477 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28478
28479 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28480 (fma): Define using libm_alias_double.
28481 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28482 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28483 <math_ldbl_opt.h>.
28484 (fmal): Do not define as compat symbol here.
28485 * sysdeps/alpha/fpu/s_fma.c: New file.
28486
28487 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28488
28489 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28490
28491 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28492
28493 [BZ #22229]
28494 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28495 <math_ldbl_opt.h>
28496 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28497 and libc.
28498 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28499 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28500 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28501 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28503 Include <math_ldbl_opt.h>
28504 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28505 and libc.
28506 (compat_symbol): Undefine and redefine.
28507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28508 <math_ldbl_opt.h>
28509 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28510 (compat_symbol): Undefine and redefine.
28511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28512 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28513 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28514 GLIBC_2_1 for libm.
28515 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28516 GLIBC_2.0 copysignl symbol.
28517 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28518 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28519
28520 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28521
28522 2017-10-04 Florian Weimer <fweimer@redhat.com>
28523
28524 * scripts/check-local-headers.sh: Ignore nspr4 header file
28525 directory in addition to nspr.
28526
28527 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
28528
28529 [BZ #17956]
28530 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28531 * configure: Regenerate.
28532 * crypt/Makefile (nss-cpp-flags): New variable.
28533 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28534 (CPPFLAGS-md5-crypt.c): Use it.
28535 * scripts/check-local-headers.sh: Ignore nspr header file
28536 directory.
28537
28538 2017-10-04 Andreas Schwab <schwab@suse.de>
28539
28540 * nis/Makefile (services): Remove compat.
28541 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28542 ($(objpfx)libnss_compat.so): Remove rule.
28543 * nis/Versions (libnss_compat): Remove.
28544 * nss/Makefile (services): Add compat.
28545 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28546 * nss/Versions (libnss_compat): Define.
28547 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28548 Don't include <rpc/types.h>. Replace bool_t by bool.
28549 * nss/nss_compat/compat-initgroups.c: Likewise.
28550 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28551 instead of <rpcsrv/ypclnt.h>.
28552 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28553 yp_get_default_domain.
28554 * nss/nss_compat/compat-pwd.c: Likewise.
28555 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28556 yp_get_default_domain.
28557 * nss/nss_compat/nisdomain.c: New file.
28558 * nss/nss_compat/nisdomain.h: Likewise.
28559
28560 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28561
28562 [BZ #22244]
28563 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28564 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28565
28566 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28567
28568 [BZ #22243]
28569 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28570 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28571
28572 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28573
28574 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28575 "movl main@GOTOFF(%ebx), %eax".
28576
28577 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28578
28579 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28580 allow undefined _DYNAMIC in PIE libc.a.
28581 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28582 Likewse.
28583
28584 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28585
28586 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28587 check _DYNAMIC.
28588
28589 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28590
28591 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28592 check _DYNAMIC.
28593
28594 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28595
28596 * math/test-math-iscanonical.cc (error): Replace bool with int.
28597
28598 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28599
28600 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28601 (modf): Define using libm_alias_double, only if [!__modf].
28602 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28603 <libm-alias-double.h>.
28604 (modf): Define using libm_alias_double, only if [!__modf].
28605 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28606 compat symbol here.
28607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28608 (weak_alias): Do not undefine and redefine.
28609 (strong_alias): Likewise.
28610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28611 (weak_alias): Likewise.
28612 (strong_alias): Likewise.
28613
28614 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28615 (logb): Define using libm_alias_double, only if [!__logb].
28616 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28617 <libm-alias-double.h>.
28618 (logb): Define using libm_alias_double, only if [!__logb].
28619 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28621 (weak_alias): Do not undefine and redefine.
28622 (strong_alias): Likewise.
28623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28624 (weak_alias): Likewise.
28625 (strong_alias): Likewise.
28626
28627 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28628
28629 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28630 Check SHARED instead PIC.
28631
28632 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28633
28634 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28635 [!__fmaf] (fmaf): Define using libm_alias_float.
28636
28637 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28638 (frexp): Define using libm_alias_double.
28639 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28640 <libm-alias-double.h>.
28641 (frexp): Define using libm_alias_double.
28642 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28643 compat symbol here.
28644
28645 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28646
28647 [BZ #22235]
28648 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28649 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28650 (CFLAGS-test-math-iscanonical.cc): New variable.
28651 * math/test-math-iscanonical.cc: New file.
28652 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28653 Provide a C++ implementation based on function overloading,
28654 rather than using __MATH_TG, which uses C-only builtins.
28655 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28656 Likewise.
28657 * sysdeps/powerpc/powerpc64le/Makefile
28658 (CFLAGS-test-math-iscanonical.cc): New variable.
28659
28660 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28661
28662 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28663 (ceil): Define using libm_alias_double.
28664 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28665 (floor): Define using libm_alias_double.
28666 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28667 <libm-alias-double.h>.
28668 (llround): Define using libm_alias_double.
28669 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28670 <libm-alias-double.h>.
28671 (lround): Define using libm_alias_double.
28672 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28673 <libm-alias-double.h>.
28674 (nearbyint): Define using libm_alias_double.
28675 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28676 <libm-alias-double.h>.
28677 (remquo): Define using libm_alias_double.
28678 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28679 (rint): Define using libm_alias_double.
28680 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28681 (round): Define using libm_alias_double.
28682 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28683 (trunc): Define using libm_alias_double.
28684 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28685 <libm-alias-double.h>.
28686 (ceil): Define using libm_alias_double.
28687 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28688 <libm-alias-double.h>.
28689 (floor): Define using libm_alias_double.
28690 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28691 <libm-alias-double.h>.
28692 (llround): Define using libm_alias_double.
28693 [_LP64] (lround): Likewise.
28694 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28695 <libm-alias-double.h>.
28696 [!_LP64] (lround): Define using libm_alias_double.
28697 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28698 <libm-alias-double.h>.
28699 (nearbyint): Define using libm_alias_double.
28700 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28701 <libm-alias-double.h>.
28702 (remquo): Define using libm_alias_double.
28703 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28704 <libm-alias-double.h>.
28705 (rint): Define using libm_alias_double.
28706 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28707 <libm-alias-double.h>.
28708 (round): Define using libm_alias_double.
28709 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28710 <libm-alias-double.h>.
28711 (trunc): Define using libm_alias_double.
28712 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28713 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28714 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28715 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28716 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28717 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28718 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28719 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28720 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28721
28722 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28723
28724 * math/w_remainder.c: New file.
28725 * math/w_remainderf.c: New file.
28726 * math/w_remainderl.c: New file.
28727
28728 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28729
28730 * elf/rtld.c (BOOTSTRAP_MAP): New.
28731 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28732 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28733 Likewise.
28734 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28735 Likewise.
28736 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28737 Likewise.
28738
28739 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28740
28741 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28742 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28743 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28744 rtld_hidden_data_ver): Define to empty.
28745 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28746 __assert_perror_fail): Likewise.
28747 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28748 (__rewinddir): Likewise.
28749 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28750 (__profile_frequency): Likewise.
28751 * include/setjmp.h (__sigsetjmp): Likewise.
28752 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28753 __libc_sigaction): Likewise.
28754 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28755 not set hidden attribute.
28756 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28757 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28758 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28759 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28760 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28761 __fxstatat64): Likewise.
28762 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28763 (__uname): Likewise.
28764 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28765 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28766 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28767 (NO_RTLD_HIDDEN): Set.
28768 * sysdeps/mach/hurd/configure: Refresh.
28769 * config.h.in: Refresh.
28770
28771 2017-10-02 Joseph Myers <joseph@codesourcery.com>
28772
28773 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28774 (atan): Define using libm_alias_double.
28775 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28776 (tan): Define using libm_alias_double.
28777 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28778 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28779
28780 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28781 define as weak alias of __atan. Do not define any aliases if
28782 [__atan].
28783 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28784 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28785 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28786 as weak alias of __tan. Do not define any aliases if [__tan].
28787 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28788 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28789 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28790 __atan.
28791 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28792 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28793 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28794 and define as weak alias of __atan.
28795 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28796 __atan.
28797 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28798 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28799 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28800 define as weak alias of __tan.
28801
28802 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28803
28804 * math/w_lgamma.c: New file.
28805 * math/w_lgammaf.c: New file.
28806 * math/w_lgammal.c: New file.
28807
28808 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28809
28810 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28811 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28812 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28813 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28814 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28815 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28816 * sysdeps/i386/fpu/w_log2f.c: New file.
28817 * sysdeps/i386/fpu/w_logf.c: New file.
28818 * sysdeps/i386/fpu/w_powf.c: New file.
28819 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28820 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28821 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28822
28823 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28824 H.J. Lu <hongjiu.lu@intel.com>
28825
28826 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28827 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28828 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28829 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28830 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28831 the new expf code.
28832 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28833 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28834 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28835 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28836 * sysdeps/i386/fpu/w_exp2f.c: New file.
28837 * sysdeps/i386/fpu/w_expf.c: New file.
28838 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28839 * sysdeps/x86_64/fpu/w_expf.c: New file.
28840
28841 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28842
28843 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28844 (log2f): Likewise.
28845 (powf): Likewise.
28846 * math/w_log2f.c: New file.
28847 * math/w_logf.c: New file.
28848 * math/w_powf.c: New file.
28849 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28850 * math/w_logf_compat.c (__logf_compat): Likewise.
28851 * math/w_powf_compat.c (__powf_compat): Likewise.
28852 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28853 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28854 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28855 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28856 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28857 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28858 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28859 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28860 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28861 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28862 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28863 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28864 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28865 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28866 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28868 Likewise.
28869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28870 Likewise.
28871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28872 Likewise.
28873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28874 Likewise.
28875 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28876 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28877 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28878 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28879 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28881 Likewise.
28882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28883 Likewise.
28884 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28885 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28886 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28887
28888 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28889
28890 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28891 (sysdep_routines): Add memrchr_power8.
28892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28893 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28894 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28895 New file.
28896 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28897 (memrchr): Add __memrchr_power8 to ifunc list.
28898 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28899
28900 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28901
28902 [BZ #18822]
28903 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28904 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28905 libc_hidden_def.
28906 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28907 (__posix_fallocate64_l64): Likewise.
28908
28909 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28910
28911 [BZ #18822]
28912 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28913 (__sched_setaffinity_new): Add libc_hidden_proto and
28914 libc_hidden_def.
28915
28916 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28917
28918 [BZ #18822]
28919 * include/glob.h (__glob64): Add libc_hidden_proto.
28920 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28921 libc_hidden_def.
28922
28923 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28924
28925 [BZ #18822]
28926 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28927 attribute_hidden.
28928
28929 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28930
28931 [BZ #18822]
28932 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28933
28934 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28935
28936 [BZ #18822]
28937 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28938 libc_hidden_def.
28939
28940 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28941
28942 [BZ #18822]
28943 * csu/version.c (__libc_print_version): Add attribute_hidden.
28944
28945 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28946
28947 [BZ #18822]
28948 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28949
28950 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28951
28952 [BZ #18822]
28953 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28954
28955 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28956
28957 [BZ #18822]
28958 * nscd/nscd_helper.c (__nis_hash): New prototype.
28959
28960 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28961
28962 [BZ #18822]
28963 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28964 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28965 libc_hidden_def.
28966 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28967 * termios/tcgetattr.c (__tcgetattr): Likewise.
28968
28969 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28970
28971 [BZ #18822]
28972 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28973 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28974 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28975 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28976 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28977
28978 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28979
28980 [BZ #18822]
28981 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28982
28983 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28984
28985 [BZ #18822]
28986 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28987 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28988
28989 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28990
28991 [BZ #18822]
28992 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28993
28994 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28995
28996 [BZ #18822]
28997 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28998 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28999
29000 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29001
29002 [BZ #18822]
29003 * include/ifreq.h: New file.
29004 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
29005 (__ifreq): Likewise.
29006 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
29007 (__ifreq): Likewise.
29008
29009 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29010
29011 [BZ #18822]
29012 * include/idna.h: New file.
29013 * inet/getnameinfo.c: Include <idna.h> instead of
29014 <libidn/idna.h>.
29015 (__idna_to_unicode_lzlz): Removed.
29016 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
29017 <libidn/idna.h>.
29018 (__idna_to_ascii_lz): Removed.
29019 (__idna_to_unicode_lzlz): Likewise.
29020
29021 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29022
29023 [BZ #18822]
29024 * include/plural-exp.h: New file.
29025 * intl/plural-exp.c: Include <plural-exp.h> instead of
29026 "plural-exp.h".
29027
29028 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29029
29030 [BZ #18822]
29031 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
29032 "getsourcefilter.h".
29033 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
29034 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
29035 "getsourcefilter.h".
29036 (__get_sol): Removed.
29037
29038 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29039
29040 [BZ #18822]
29041 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
29042 to ...
29043 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
29044
29045 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29046
29047 [BZ #18822]
29048 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
29049 attribute_hidden.
29050
29051 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29052
29053 [BZ #18822]
29054 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
29055
29056 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29057
29058 [BZ #18822]
29059 * include/search.h (__tdestroy): Add libc_hidden_proto.
29060 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
29061
29062 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29063
29064 [BZ #18822]
29065 * include/assert.h (__assert_fail_base): Add attribute_hidden.
29066
29067 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29068
29069 [BZ #18822]
29070 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
29071 attribute_hidden.
29072
29073 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29074
29075 [BZ #18822]
29076 * include/signal.h (__kill): Add libc_hidden_proto.
29077 (__sigblock): Likewise.
29078 (__sigprocmask): Likewise.
29079 (__sigaltstack): Likewise.
29080 * signal/kill.c (__kill): Add libc_hidden_def.
29081 * signal/sigblock.c (__sigblock): Likewise.
29082 * signal/sigprocmask.c (__sigprocmask): Likewise.
29083 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
29084 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
29085 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
29086 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
29087 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
29088 Likewise.
29089 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
29090 Likewise.
29091 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
29092 (__sigprocmask): Likewise.
29093 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
29094 Likewise.
29095 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
29096 (__sigprocmask): Likewise.
29097 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
29098 Likewise.
29099
29100 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29101
29102 [BZ #18822]
29103 * include/string.h (__strsep): Add libc_hidden_proto.
29104 * string/strsep.c (__strsep): Add libc_hidden_def.
29105
29106 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29107
29108 [BZ #18822]
29109 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
29110 attribute_hidden.
29111 (__spawni): Likewise.
29112
29113 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29114
29115 [BZ #18822]
29116 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
29117 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
29118 libc_hidden_def.
29119
29120 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29121
29122 [BZ #18822]
29123 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
29124
29125 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29126
29127 [BZ #18822]
29128 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
29129 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
29130 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
29131 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
29132 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
29133 Likewise.
29134 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
29135 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
29136
29137 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29138
29139 [BZ #18822]
29140 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
29141 (__dcigettext): Likewise.
29142
29143 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29144
29145 [BZ #18822]
29146 * include/sys/sysinfo.h (__get_nprocs_conf): Add
29147 libc_hidden_proto.
29148 (__get_nprocs): Likewise.
29149 (__get_phys_pages): Likewise.
29150 (__get_avphys_pages): Likewise.
29151 (__get_child_max): Add attribute_hidden.
29152 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
29153 (__get_nprocs): Likewise.
29154 (__get_phys_pages): Likewise.
29155 (__get_avphys_pages): Likewise.
29156 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
29157 libc_hidden_def.
29158 (__get_nprocs): Likewise.
29159 (__get_phys_pages): Likewise.
29160 (__get_avphys_pages): Likewise.
29161 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29162 libc_hidden_def.
29163 (__get_nprocs_conf): Likewise.
29164 (__get_phys_pages): Likewise.
29165 (__get_avphys_pages): Likewise.
29166
29167 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29168
29169 [BZ #18822]
29170 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29171 attribute_hidden.
29172 (__netlink_close): Likewise.
29173 (__netlink_free_handle): Likewise.
29174 (__netlink_request): Likewise.
29175
29176 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29177
29178 [BZ #18822]
29179 * include/rpc/rpc.h (__rpc_thread_variables): Add
29180 attribute_hidden.
29181 (__rpc_thread_svc_cleanup): Likewise.
29182 (__rpc_thread_clnt_cleanup): Likewise.
29183 (__rpc_thread_key_cleanup): Likewise.
29184
29185 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29186
29187 [BZ #18822]
29188 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29189 (__writev): Likewise.
29190 * misc/readv.c (__readv): Add libc_hidden_def.
29191 * misc/writev.c (__writev): Likewise.
29192 * sysdeps/posix/readv.c (__readv): Likewise.
29193 * sysdeps/posix/writev.c (__writev): Likewise.
29194 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29195 (__readv): Likewise.
29196 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29197 (__writev): Likewise.
29198
29199 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29200
29201 [BZ #18822]
29202 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29203 (__regcomp): Add libc_hidden_proto.
29204 (__regexec): Likewise.
29205 (__regfree): Likewise.
29206 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29207 (__regfree): Likewise.
29208 * posix/regexec.c (__regexec): Likewise.
29209
29210 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29211
29212 [BZ #18822]
29213 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29214 (__getutent): Likewise.
29215 (__getutid): Likewise.
29216 (__getutline): Likewise.
29217 (__pututline): Likewise.
29218 (__getutent_r): Likewise.
29219 (__getutid_r): Likewise.
29220 (__getutline_r): Likewise.
29221 (__utmpname): Add attribute_hidden.
29222 (__setutent): Likewise.
29223 (__endutent): Likewise.
29224 * login/getutent.c (__getutent): Add libc_hidden_def.
29225 * login/getutent_r.c (__getutent_r): Likewise.
29226 (__pututline): Likewise.
29227 * login/getutid.c (__getutid): Likewise.
29228 * login/getutid_r.c (__getutid_r): Likewise.
29229 * login/getutline.c (__getutline): Likewise.
29230 * login/getutline_r.c (__getutline_r): Likewise.
29231 * login/updwtmp.c (__updwtmp): Likewise.
29232
29233 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29234
29235 [BZ #18822]
29236 * include/dirent.h (__opendir): Always add attribute_hidden.
29237 (__fdopendir): Likewise.
29238 (__closedir): Likewise.
29239 (__readdir): Likewise.
29240 (__readdir64): Add libc_hidden_proto.
29241 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29242 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29243 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29244 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29245 New alias.
29246
29247 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29248
29249 [BZ #18822]
29250 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29251 * include/netdb.h (__gethostbyaddr_r): Likewise.
29252 (__gethostbyname_r): Likewise.
29253 (__gethostbyname2_r): Likewise.
29254 (__getnetbyaddr_r): Likewise.
29255 (__getnetbyname_r): Likewise.
29256 (__getservbyname_r): Likewise.
29257 (__getservbyport_r): Likewise.
29258 (__getprotobyname_r): Likewise.
29259 (__getprotobynumber_r): Likewise.
29260 (__getnetgrent_r): Likewise.
29261 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29262 (__getrpcbynumber_r): Likewise.
29263 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29264
29265 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29266
29267 [BZ #18822]
29268 * include/stdio.h (__fcloseall): Add attribute_hidden.
29269 (__getline): Likewise.
29270 (__path_search): Likewise.
29271 (__gen_tempname): Likewise.
29272 (__libc_message): Likewise.
29273 (__flockfile): Likewise.
29274 (__funlockfile): Likewise.
29275 (__fxprintf): Likewise.
29276 (__fxprintf_nocancel): Likewise.
29277
29278 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29279
29280 [BZ #18822]
29281 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29282 (__sgetsgent_r): Likewise.
29283
29284 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29285
29286 [BZ #18822]
29287 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29288 (__statfs64): Likewise.
29289 (__fstatfs64): Likewise.
29290 * include/sys/statvfs.h (__statvfs64): Likewise.
29291 (__fstatvfs64): Likewise.
29292 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29293 (__statfs_filesize_max): Likewise.
29294 (__statfs_symlinks): Likewise.
29295 (__statfs_chown_restricted): Likewise.
29296
29297 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29298
29299 [BZ #18822]
29300 * include/time.h (__tzstring): Add attribute_hidden.
29301 (__tzfile_read): Likewise.
29302 (__tzfile_compute): Likewise.
29303 (__tzfile_default): Likewise.
29304 (__tzset_parse_tz): Likewise.
29305 (__offtime): Likewise.
29306 (__asctime_r): Likewise.
29307 (__tzset): Likewise.
29308 (__tz_convert): Likewise.
29309 (__getdate_r): Likewise.
29310 (__getclktck): Likewise.
29311
29312 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29313
29314 [BZ #18822]
29315 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29316 (__nscd_unmap): Likewise.
29317 (__nscd_cache_search): Likewise.
29318 (__nscd_get_nl_timestamp): Likewise.
29319 (__nscd_getpwnam_r): Likewise.
29320 (__nscd_getpwuid_r): Likewise.
29321 (__nscd_getgrnam_r): Likewise.
29322 (__nscd_getgrgid_r): Likewise.
29323 (__nscd_gethostbyname_r): Likewise.
29324 (__nscd_gethostbyname2_r): Likewise.
29325 (__nscd_gethostbyaddr_r): Likewise.
29326 (__nscd_getai): Likewise.
29327 (__nscd_getgrouplist): Likewise.
29328 (__nscd_getservbyname_r): Likewise.
29329 (__nscd_getservbyport_r): Likewise.
29330 (__nscd_innetgr): Likewise.
29331 (__nscd_setnetgrent): Likewise.
29332
29333 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29334
29335 [BZ #18822]
29336 * include/gmp.h: Declare internal functions only if _ISOMAC is
29337 undefined.
29338 (__mpn_extract_double): Add attribute_hidden.
29339 (__mpn_extract_long_double): Likewise.
29340 (__mpn_extract_float128): Likewise.
29341 (__mpn_construct_float): Likewise.
29342 (__mpn_construct_double): Likewise.
29343 (__mpn_construct_long_double): Likewise.
29344 (__mpn_construct_float128): Likewise.
29345 (mpn_add_1): Likewise.
29346 (mpn_addmul_1): Likewise.
29347 (mpn_add_n): Likewise.
29348 (mpn_cmp): Likewise.
29349 (mpn_divrem): Likewise.
29350 (mpn_lshift): Likewise.
29351 (mpn_mul): Likewise.
29352 (mpn_mul_1): Likewise.
29353 (mpn_rshift): Likewise.
29354 (mpn_sub_1): Likewise.
29355 (mpn_submul_1): Likewise.
29356 (mpn_sub_n): Likewise.
29357
29358 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29359
29360 [BZ #18822]
29361 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29362 (__wcscat): Likewise.
29363 (__btowc): Likewise.
29364 (__wcrtomb): Likewise.
29365 (__mbsrtowcs): Likewise.
29366 (__wcsrtombs): Likewise.
29367 (__mbsnrtowcs): Likewise.
29368 (__wcsnrtombs): Likewise.
29369 (__wcsncpy): Likewise.
29370 (__wcpncpy): Likewise.
29371 (__wmemcpy): Likewise.
29372 (__wmempcpy): Likewise.
29373 (__wmemmove): Likewise.
29374 (__wcschrnul): Likewise.
29375 (__vfwscanf): Likewise.
29376 (__vswprintf): Likewise.
29377 (__fwprintf): Likewise.
29378 (__vfwprintf): Likewise.
29379
29380 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29381
29382 [BZ #18822]
29383 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29384 (__getgrgid_r): Likewise.
29385 (__getgrnam_r): Likewise.
29386 * include/pwd.h (__getpwuid_r): Likewise.
29387 (__getpwnam_r): Likewise.
29388 (__fgetpwent_r): Likewise.
29389 * include/shadow.h (__getspnam_r): Likewise.
29390 (__sgetspent_r): Likewise.
29391 (__fgetspent_r): Likewise.
29392
29393 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29394
29395 [BZ #18822]
29396 * include/unistd.h (__access): Add attribute_hidden.
29397 (__lseek64): Likewise.
29398 (__libc_pread64): Likewise.
29399 (__pipe2): Likewise.
29400 (__sleep): Likewise.
29401 (__chdir): Likewise.
29402 (__fchdir): Likewise.
29403 (__getcwd): Likewise.
29404 (__rmdir): Likewise.
29405 (__execvpe): Likewise.
29406 (__execve): Likewise.
29407 (__setsid): Likewise.
29408 (__getuid): Likewise.
29409 (__geteuid): Likewise.
29410 (__getgid): Likewise.
29411 (__getegid): Likewise.
29412 (__getgroups): Likewise.
29413 (__group_member): Likewise.
29414 (__ttyname_r): Likewise.
29415 (__isatty): Likewise.
29416 (__readlink): Likewise.
29417 (__unlink): Likewise.
29418 (__gethostname): Likewise.
29419 (__profil): Likewise.
29420 (__getdtablesize): Likewise.
29421 (__brk): Likewise.
29422 (__ftruncate): Likewise.
29423 (__ftruncate64): Likewise.
29424
29425 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29426
29427 [BZ #18822]
29428 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29429 * argp/argp-fs-xinl.c: Likewise.
29430 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29431 * argp/argp-parse.c: Include <argp.h>.
29432 * argp/argp-xinl.c: Likewise.
29433 * include/argp-fmtstream.h: New file.
29434 * include/argp.h (__argp_error): Add attribute_hidden.
29435 (__argp_failure): Likewise.
29436 (__argp_input): Likewise.
29437 (__argp_state_help): Likewise.
29438
29439 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29440
29441 [BZ #18822]
29442 * include/wchar.h (____wcstof_l_internal): New prototype.
29443 (____wcstod_l_internal): Likewise.
29444 (____wcstold_l_internal): Likewise.
29445 (____wcstol_l_internal): Likewise.
29446 (____wcstoul_l_internal): Likewise.
29447 (____wcstoll_l_internal): Likewise.
29448 (____wcstoull_l_internal): Likewise.
29449 (____wcstof128_l_internal): Likewise.
29450 * sysdeps/ieee754/float128/wcstof128.c
29451 (____wcstof128_l_internal): Removed.
29452 * sysdeps/ieee754/float128/wcstof128_l.c
29453 (____wcstof128_l_internal): Likewise.
29454 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29455 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29456 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29457 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29458 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29459 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29460 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29461 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29462 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29463 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29464
29465 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29466
29467 [BZ #18822]
29468 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29469 instead of <sys/statvfs.h>.
29470 (__internal_statvfs): Removed.
29471 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29472 instead of <sys/statvfs.h>.
29473 (__internal_statvfs64): Removed.
29474 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29475 "internal_statvfs.h" instead of <sys/statvfs.h>.
29476 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29477 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29478 instead of <sys/statvfs.h>.
29479 (__internal_statvfs): Removed.
29480 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29481 instead of <sys/statvfs.h>.
29482 (__internal_statvfs64): Removed.
29483
29484 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29485
29486 [BZ #18822]
29487 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29488 (__gconv_close): Likewise.
29489 (__gconv): Likewise.
29490 (__gconv_find_transform): Likewise.
29491 (__gconv_lookup_cache): Likewise.
29492 (__gconv_compare_alias_cache): Likewise.
29493 (__gconv_load_cache): Likewise.
29494 (__gconv_get_path): Likewise.
29495 (__gconv_close_transform): Likewise.
29496 (__gconv_release_cache): Likewise.
29497 (__gconv_find_shlib): Likewise.
29498 (__gconv_release_shlib): Likewise.
29499 (__gconv_get_builtin_trans): Likewise.
29500 (__gconv_compare_alias): Likewise.
29501 * include/dlfcn.h (_dlerror_run): Likewise.
29502 * include/stdio.h (__fortify_fail_abort): Likewise.
29503 * include/time.h (__tz_compute): Likewise.
29504 (__strptime_internal): Likewise.
29505 * intl/gettextP.h (_nl_find_domain): Likewise.
29506 (_nl_load_domain): Likewise.
29507 (_nl_find_msg): Likewise.
29508 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29509 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29510 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29511 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29512 (__gai_find_request): Likewise.
29513 (__gai_remove_request): Likewise.
29514 (__gai_notify): Likewise.
29515 (__gai_notify_only): Likewise.
29516 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29517 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29518 (_dl_non_dynamic_init): Likewise.
29519 (_dl_aux_init): Likewise.
29520 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29521 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29522 Likewise.
29523 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29524 (__wcsmbs_clone_conv): Likewise.
29525 (__wcsmbs_named_conv): Likewise.
29526
29527 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29528
29529 [BZ #18822]
29530 * include/stdlib.h (__random): Add attribute_hidden.
29531 (__random_r): Likewise.
29532 (__srandom_r): Likewise.
29533 (__initstate_r): Likewise.
29534 (__setstate_r): Likewise.
29535 (__erand48_r): Likewise.
29536 (__nrand48_r): Likewise.
29537 (__jrand48_r): Likewise.
29538 (__srand48_r): Likewise.
29539 (__seed48_r): Likewise.
29540 (__lcong48_r): Likewise.
29541 (__drand48_iterate): Likewise.
29542 (__setenv): Likewise.
29543 (__unsetenv): Likewise.
29544 (__clearenv): Likewise.
29545 (__ptsname_r): Likewise.
29546 (__posix_openpt): Likewise.
29547 (__add_to_environ): Likewise.
29548 (__realpath): Add libc_hidden_proto.
29549 (__ecvt_r): Likewise.
29550 (__fcvt_r): Likewise.
29551 (__qecvt_r): Likewise.
29552 (__qfcvt_r): Likewise.
29553 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29554 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29555
29556 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29557
29558 [BZ #18822]
29559 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29560 * include/time.h (__mktime_internal): Likewise.
29561 * libio/iolibio.h (__fopen_internal): Likewise.
29562
29563 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
29564
29565 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29566 pointer in frame.
29567 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29568 Correct offset used to restore PIC register.
29569
29570 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
29571
29572 [BZ libc/22165]
29573 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29574 code to load address of __getcontext_ret when generating PIC code.
29575
29576 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29577
29578 * elf/Makefile (tests-static-internal): Add
29579 tst-tls1-static-non-pie.
29580 (LDFLAGS-tst-tls1-static-non-pie): New.
29581 * elf/tst-tls1-static-non-pie.c: New file.
29582
29583 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29584
29585 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29586 (asinh): Define using libm_alias_double.
29587 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29588 (cbrt): Define using libm_alias_double.
29589 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29590 <libm-alias-double.h>.
29591 (copysign): Define using libm_alias_double.
29592 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29593 (erf): Define using libm_alias_double.
29594 (erfc): Likewise.
29595 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29596 (expm1): Define using libm_alias_double.
29597 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29598 (fabs): Define using libm_alias_double.
29599 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29600 libm_alias_double.
29601 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29602 <libm-alias-double.h>.
29603 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29604 libm_alias_double.
29605 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29606 <libm-alias-double.h>.
29607 (getpayload): Define using libm_alias_double.
29608 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29609 <libm-alias-double.h>.
29610 (llrint): Define using libm_alias_double.
29611 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29612 (lrint): Define using libm_alias_double.
29613 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29614 <libm-alias-double.h>.
29615 (nextup): Define using libm_alias_double.
29616 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29617 <libm-alias-double.h>.
29618 (roundeven): Define using libm_alias_double.
29619 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29620 libm_alias_double.
29621 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29622 <libm-alias-double.h>.
29623 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29624 using libm_alias_double.
29625 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29626 (cos): Define using libm_alias_double.
29627 (sin): Likewise.
29628 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29629 <libm-alias-double.h>.
29630 (sincos): Define using libm_alias_double.
29631 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29632 (tanh): Define using libm_alias_double.
29633 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29634 <libm-alias-double.h>.
29635 (totalorder): Define using libm_alias_double.
29636 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29637 <libm-alias-double.h>.
29638 (totalordermag): Define using libm_alias_double.
29639 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29640 libm_alias_double.
29641 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29642 libm_alias_double.
29643 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29644 <libm-alias-double.h>.
29645 (getpayload): Define using libm_alias_double.
29646 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29647 <libm-alias-double.h>.
29648 (roundeven): Define using libm_alias_double.
29649 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29650 <libm-alias-double.h>.
29651 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29652 <libm-alias-double.h>.
29653 (totalorder): Define using libm_alias_double.
29654 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29655 <libm-alias-double.h>.
29656 (totalordermag): Define using libm_alias_double.
29657 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29658 libc compat symbol here.
29659 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29660 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29661 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29662 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29663 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29664 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29665 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29666 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29667 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29668 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29669
29670 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29671
29672 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29673 _dl_relocate_static_pie instead of _dl_start to compute load
29674 address in static PIE. Return 0 if _DYNAMIC is undefined for
29675 static executable.
29676
29677 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29678
29679 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29680 _DYNAMIC is undefined for static executable.
29681
29682 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29683
29684 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29685
29686 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29687
29688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29689
29690 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29691
29692 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29693 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29694 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29695 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29696 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29697 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29698 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29699 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29700 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29701 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29702 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29703 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29704 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29705 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29706 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29707 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29708 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29709
29710 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29711
29712 * math/bits/cmathcalls.h (cimag): Remove inline.
29713 (creal): Remove inline.
29714 (conj): Remove inline.
29715
29716 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29717
29718 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29719 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29720 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29721 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29722 (issignalingf_inline): Likewise.
29723 (POWF_LOG2_TABLE_BITS): Likewise.
29724 (POWF_LOG2_POLY_ORDER): Likewise.
29725 (POWF_SCALE_BITS): Likewise.
29726 (POWF_SCALE): Likewise.
29727 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29728 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29729 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29730
29731 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29732
29733 * math/Makefile (type-float-routines): Add e_log2f_data.
29734 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29735 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29736 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29737 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29738 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29739 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29740 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29741
29742 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29743
29744 * math/Makefile (type-float-routines): Add e_logf_data.
29745 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29746 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29747 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29748 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29749 * sysdeps/i386/fpu/e_logf_data.c: New file.
29750 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29751 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29752
29753 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29754
29755 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29756 undefined _DYNAMIC in PIE libc.a.
29757 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29758 Likewse.
29759
29760 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29761
29762 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29763 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29764 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29765 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29766 (__signbit): Remove.
29767 (__signbitl): Remove.
29768 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29769 (__signbit): Remove.
29770 (__signbitl): Remove.
29771 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29772 (__signbit): Remove.
29773 (__signbitl): Remove.
29774 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29775 (__signbit): Remove.
29776 (__signbitl): Remove.
29777 * sysdeps/tile/bits/mathinline.h: Delete file.
29778 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29779 (__signbit): Remove.
29780 (__signbitl): Remove.
29781
29782 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29783
29784 * math/math.h: Improve handling of C99 isgreater macros.
29785 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29786 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29787 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29788 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29789 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29790
29791 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29792
29793 * sysdeps/aarch64/libm-test-ulps: Update.
29794
29795 2017-09-28 Joseph Myers <joseph@codesourcery.com>
29796
29797 [BZ #22225]
29798 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29799 math_opt_barrier on argument when doing arithmetic on it.
29800 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29801 Likewise. Use math_force_eval not math_opt_barrier after
29802 arithmetic.
29803 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29804 math_opt_barrier on argument when doing arithmetic on it.
29805 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29806 Likewise.
29807
29808 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29809
29810 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29811 libc_hidden_def.
29812 (__freeifaddrs): Likewise.
29813
29814 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29815
29816 * include/dirent.h (__dirfd): New declaration.
29817 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29818 alias.
29819 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29820 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29821 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
29822 * include/unistd.h (__revoke): New declaration.
29823 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29824 alias.
29825 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29826 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29827 revoke.
29828 * include/dirent.h (__seekdir): New declaration.
29829 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29830 redefine as weak alias.
29831 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29832 of seekdir.
29833 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29834 and use libc_hidden_def on them.
29835 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29836 them.
29837 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29838 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29839 instead of getifaddrs and freeifaddrs.
29840
29841 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29842
29843 [BZ #18822]
29844 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29845 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29846 (__dso_handle): Remove declaration.
29847 * dlfcn/tstatexit.c (__dso_handle): Removed.
29848 (main): Don't check __dso_handle.
29849 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29850 (main): Don't check __dso_handle.
29851 * include/dso_handle.h: New file.
29852 * malloc/mtrace.c: Include <dso_handle.h>.
29853 (mtrace): Pass __dso_handle directly.
29854 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29855 (__dso_handle): Remove declaration.
29856 (__pthread_atfork): Pass __dso_handle directly.
29857 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29858 (__dso_handle): Removed.
29859 * posix/wordexp-test.c: Include <dso_handle.h>.
29860 (__dso_handle): Remove declaration.
29861 (__app_register_atfork): Pass __dso_handle directly.
29862 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29863 (__dso_handle): Remove declaration.
29864 (at_quick_exit): Pass __dso_handle directly.
29865 * stdlib/atexit.c: Include <dso_handle.h>.
29866 (__dso_handle): Remove declaration.
29867 (atexit): Pass __dso_handle directly.
29868 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29869 (__dso_handle): Removed.
29870
29871 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29872
29873 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29874 using VDSO.
29875
29876 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29877
29878 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29879 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29880 values to correct default value for given type.
29881
29882 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29883
29884 [BZ #22101]
29885 * elf/Makefile (tests): Add tst-debug1.
29886 ($(objpfx)tst-debug1): New.
29887 ($(objpfx)tst-debug1.out): Likewise.
29888 ($(objpfx)tst-debug1mod1.so): Likewise.
29889 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29890 with p_filesz == 0.
29891 * elf/tst-debug1.c: New file.
29892
29893 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29894
29895 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29896 Define using __ifunc.
29897
29898 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29899
29900 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29901 exp2f() values.
29902
29903 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29904
29905 [BZ #22156]
29906 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29907
29908 2017-09-26 Florian Weimer <fweimer@redhat.com>
29909
29910 * resolv/Makefile (tests-internal): Fix typo in comment.
29911
29912 2017-09-26 Florian Weimer <fweimer@redhat.com>
29913
29914 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29915
29916 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29917
29918 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29919 Use an union instead of a max_align_t array for __space,
29920 so that __space is the same size on all platforms.
29921 * malloc/scratch_buffer_grow_preserve.c
29922 (__libc_scratch_buffer_grow_preserve): Likewise.
29923
29924 [BZ #22183]
29925 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29926 version to 2.
29927 * posix/Makefile (routines): Add glob-lstat-compat and
29928 glob64-lstat-compat.
29929 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29930 * posix/glob-lstat-compat.c: New file.
29931 * posix/glob64-lstat-compat.c: Likewise.
29932 * posix/tst-glob_lstat_compat.c: Likewise.
29933 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29934 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29935 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29936 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29937 Likewise.
29938 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29939 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29940 * posix/glob.c (glob_lstat): New function.
29941 (glob): Rename to __glob and add versioned symbol to 2.27.
29942 (glob_in_dir): Use glob_lstat.
29943 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29944 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29945 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29946 2.27.
29947 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29948 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29949 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29950 gl_lstat on glob call.
29951 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29952 and glob64 symbols.
29953 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29954 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29955 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29956 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29957 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29958 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29959 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29960 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29961 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29962 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29963 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29964 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29966 Likewise.
29967 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29969 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29970 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29971 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29972 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29973 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29976 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29977 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29978 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29979
29980 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29981
29982 * configure.ac (AS): Require binutils 2.25 or later.
29983 * configure: Regenerated.
29984
29985 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29986
29987 [BZ #22207]
29988 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29989 VM size.
29990
29991 2017-09-25 DJ Delorie <dj@redhat.com>
29992
29993 [BZ #22161]
29994 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29995 resetting timeout.
29996
29997 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29998
29999 * sysdeps/ieee754/dbl-64/sincos32.h
30000 [SINCCOS32_H]: Remove define.
30001 [SINCOS32_H]: Define.
30002
30003 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30004
30005 * math/Versions (expf): New libm symbol at GLIBC_2.27.
30006 (exp2f): Likewise.
30007 * math/w_exp2f.c: New file.
30008 * math/w_expf.c: New file.
30009 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
30010 * math/w_expf_compat.c (__expf_compat): Likewise.
30011 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
30012 * sysdeps/ia64/fpu/e_expf.S: Likewise.
30013 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30014 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30015 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30016 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30017 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30018 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30019 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30020 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30021 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30022 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30023 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30024 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30026 Likewise.
30027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30028 Likewise.
30029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30030 Likewise.
30031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30032 Likewise.
30033 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30034 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30035 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30036 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30037 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30039 Likewise.
30040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30041 Likewise.
30042 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30043 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30044 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30045
30046 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30047
30048 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
30049 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
30050 (roundtoint, converttoint): Likewise.
30051 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
30052 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
30053 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
30054 * sysdeps/ieee754/flt-32/math_config.h: New file.
30055 * sysdeps/ieee754/flt-32/math_errf.c: New file.
30056 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
30057 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
30058 * sysdeps/i386/fpu/math_errf.c: New file.
30059 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
30060 * sysdeps/ia64/fpu/math_errf.c: New file.
30061 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
30062 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
30063
30064 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
30065
30066 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
30067 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
30068 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
30069 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
30070 to make sure that these symbols are defined.
30071 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
30072 of <limits.h>
30073 (__need_NULL): Do not define.
30074 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
30075 alignment.
30076 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
30077 CMGROUP_MAX, cmsgcred): Do not define.
30078 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
30079 NULL.
30080 * bits/socket.h: Likewise.
30081 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
30082 __gettimeofday instead of gettimeofday.
30083 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
30084 instead of settimeofday.
30085
30086 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30087
30088 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
30089 (asinhf): Define using libm_alias_float.
30090 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
30091 (atanf): Define using libm_alias_float.
30092 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
30093 (cbrtf): Define using libm_alias_float.
30094 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
30095 (ceilf): Define using libm_alias_float.
30096 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
30097 <libm-alias-float.h>.
30098 (copysignf): Define using libm_alias_float.
30099 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
30100 (cosf): Define using libm_alias_float.
30101 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
30102 (erff): Define using libm_alias_float.
30103 (erfcf): Likewise.
30104 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
30105 (expm1f): Define using libm_alias_float.
30106 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
30107 (fabsf): Define using libm_alias_float.
30108 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
30109 (floorf): Define using libm_alias_float.
30110 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
30111 (frexpf): Define using libm_alias_float.
30112 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
30113 libm_alias_float.
30114 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
30115 <libm-alias-float.h>.
30116 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
30117 libm_alias_float.
30118 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
30119 <libm-alias-float.h>.
30120 (getpayloadf): Define using libm_alias_float.
30121 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
30122 <libm-alias-float.h>.
30123 (llrintf): Define using libm_alias_float.
30124 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
30125 <libm-alias-float.h>.
30126 (llroundf): Define using libm_alias_float.
30127 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
30128 (logbf): Define using libm_alias_float.
30129 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
30130 (lrintf): Define using libm_alias_float.
30131 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
30132 (lroundf): Define using libm_alias_float.
30133 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
30134 (modff): Define using libm_alias_float.
30135 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
30136 <libm-alias-float.h>.
30137 (nearbyintf): Define using libm_alias_float.
30138 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
30139 <libm-alias-float.h>.
30140 (nextafterf): Define using libm_alias_float.
30141 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
30142 <libm-alias-float.h>.
30143 (nextupf): Define using libm_alias_float.
30144 * sysdeps/ieee754/flt-32/s_remquof.c: Include
30145 <libm-alias-float.h>.
30146 (remquof): Define using libm_alias_float.
30147 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
30148 (rintf): Define using libm_alias_float.
30149 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
30150 <libm-alias-float.h>.
30151 (roundevenf): Define using libm_alias_float.
30152 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
30153 (roundf): Define using libm_alias_float.
30154 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
30155 using libm_alias_float.
30156 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
30157 <libm-alias-float.h>.
30158 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
30159 Define using libm_alias_float.
30160 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30161 <libm-alias-float.h>.
30162 (sincosf): Define using libm_alias_float.
30163 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30164 (sinf): Define using libm_alias_float.
30165 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30166 (tanf): Define using libm_alias_float.
30167 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30168 (tanhf): Define using libm_alias_float.
30169 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30170 <libm-alias-float.h>.
30171 (totalorderf): Define using libm_alias_float.
30172 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30173 <libm-alias-float.h>.
30174 (totalordermagf): Define using libm_alias_float.
30175 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30176 (truncf): Define using libm_alias_float.
30177 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30178 libm_alias_float.
30179 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30180 libm_alias_float.
30181
30182 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30183
30184 [BZ #22146]
30185 math/math.h: Let fpclassify use the builtin in C++ mode, even
30186 when optimazing for size.
30187
30188 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30189
30190 * csu/Makefile (generated): Do not add version-info.h.
30191 (before-compile): Likewise.
30192 (all-Banner-files): Remove variable.
30193 ($(objpfx)version-info.h): Remove rule.
30194 * csu/version.c (banner): Do not include "version-info.h".
30195 * libidn/Banner: Remove.
30196 * manual/contrib.texi (Simon Josefsson): New entry.
30197
30198 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30199
30200 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30201 Remove conditionals on LDBL_MANT_DIG.
30202 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30203 (__ieee754_lgammal_r): Likewise.
30204
30205 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30206
30207 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30208 _Float128 and L().
30209 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30210 _Float128 and L(). Replace _Float128 with long double and L(x)
30211 with xL, throughout the file.
30212 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30213 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30214 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30215 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30216
30217 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30218
30219 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30220 sysdeps/ieee754/ldbl-128ibm.
30221 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30222 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30223 of including it. Keep _Float128 and L() intact. These will be
30224 reviewed by a separate patch.
30225 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30226 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30227 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30228 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30229
30230 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30231
30232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30233 (__finitef128): Define to __redirect___finitef128.
30234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30235 (__isinff128): Define to __redirect___isinff128.
30236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30237 (__isnanf128): Define to __redirect___isnanf128.
30238
30239 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30240
30241 * sysdeps/powerpc/powerpc64le/Makefile
30242 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30243 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30244
30245 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30246 Carlos O'Donell <carlos@redhat.com>
30247
30248 [BZ #22180]
30249 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30250 * stdlib/test-dlclose-exit-race.c: New file.
30251 * stdlib/test-dlclose-exit-race-helper.c: New file.
30252 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30253
30254 2017-09-21 Joseph Myers <joseph@codesourcery.com>
30255
30256 * crypt/Banner: Remove file.
30257 * nptl/Banner: Likewise.
30258 * resolv/Banner: Likewise.
30259 * soft-fp/Banner: Likewise.
30260 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30261 ($(objpfx)version.d): Remove dependency on banner.h.
30262 ($(objpfx)version.os): Likewise.
30263 * nptl/version.c (banner): Do not include banner.h.
30264 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30265 Jelinek and BIND code.
30266
30267 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30268 Carlos O'Donell <carlos@redhat.com>
30269
30270 * support/xdlfcn.h: New file.
30271 * support/xdlfcn.c: New file.
30272 * support/Makefile (libsupport-routines): Add xdlfcn.
30273 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30274
30275 2017-09-20 Joseph Myers <joseph@codesourcery.com>
30276
30277 [BZ #20142]
30278 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30279 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30280 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30281 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30282 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30283 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30284 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30285 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30286
30287 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30288 Ricky Zhou <rickyz@google.com>
30289 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
30290
30291 [BZ #14333]
30292 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30293 Remove atomics.
30294 (__new_exitfn): Fail registration when we finished at_exit processing.
30295 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30296 * stdlib/on_exit.c (__on_exit): Likewise.
30297 * stdlib/exit.c (__exit_funcs_done): New variable.
30298 (__run_exit_handlers): Use __exit_funcs_lock.
30299 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30300 declarations.
30301 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30302 (test-cxa_atexit-race, test-on_exit-race): New tests.
30303 * stdlib/test-atexit-race-common.c: New file.
30304 * stdlib/test-atexit-race.c: New file.
30305 * stdlib/test-at_quick_exit-race.c: New file.
30306 * stdlib/test-cxa_atexit-race.c: New file.
30307 * stdlib/test-on_exit-race.c: New file.
30308
30309 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30310
30311 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30312 * benchtests/exp2f-inputs: Copy of expf-inputs.
30313 * benchtests/log2f-inputs: Copy of logf-inputs.
30314
30315 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30316
30317 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30318 Explicitly take address of first element of array arguments in
30319 call to INLINE_SYSCALL.
30320
30321 2017-09-19 Andreas Schwab <schwab@suse.de>
30322
30323 [BZ #22134]
30324 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30325 execveat first.
30326 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30327 unimplemented.
30328 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30329 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30330 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30331 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30332 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30333 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30334 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30335 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30336 * posix/Makefile (tests): Add tst-fexecve.
30337 * posix/tst-fexecve.c: New file.
30338
30339 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30340
30341 * benchtests/Makefile: Add logf benchmark.
30342 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30343
30344 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30345
30346 * benchtests/Makefile: Add expf benchmark.
30347 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30348
30349 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30350
30351 * csu/Makefile: Add -funwind-tables to libc-start.c.
30352 * debug/Makefile: Add -funwind-tables to backtrace.c.
30353 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30354 * sysdeps/arm/Makefile: Likewise.
30355 * sysdeps/i386/Makefile: Likewise.
30356 * sysdeps/m68k/Makefile: Likewise.
30357 * sysdeps/mips/Makefile: Likewise.
30358 * sysdeps/nios2/Makefile: Likewise.
30359 * sysdeps/sh/Makefile: Likewise.
30360 * sysdeps/sparc/Makefile: Likewise.
30361
30362 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30363
30364 * benchtests/Makefile (bench-math): Add trunc and truncf.
30365 (CFLAGS-bench-trunc.c): New variable.
30366 (CFLAGS-bench-truncf.c): Likewise.
30367 * benchtests/trunc-inputs: New file.
30368 * benchtests/truncf-inputs: Likewise.
30369
30370 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30371
30372 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30373
30374 2017-09-18 Joseph Myers <joseph@codesourcery.com>
30375
30376 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30377 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30378 redefine.
30379 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30380 (exp10l): Define as weak alias.
30381 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30382 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30383 and redefine.
30384 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30385 (remainderl): Define as weak alias.
30386
30387 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30388 (fmal): Define using libm_alias_ldouble.
30389 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30390 (acoshl): Define using libm_alias_ldouble.
30391 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30392 (acosl): Define using libm_alias_ldouble.
30393 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30394 (asinl): Define using libm_alias_ldouble.
30395 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30396 (atan2l): Define using libm_alias_ldouble.
30397 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30398 (atanhl): Define using libm_alias_ldouble.
30399 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30400 (coshl): Define using libm_alias_ldouble.
30401 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30402 (exp10l): Define using libm_alias_ldouble.
30403 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30404 (exp2l): Define using libm_alias_ldouble.
30405 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30406 (expl): Define using libm_alias_ldouble.
30407 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30408 (fmodl): Define using libm_alias_ldouble.
30409 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30410 (hypotl): Define using libm_alias_ldouble.
30411 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30412 (j0l): Define using libm_alias_ldouble.
30413 (y0l): Likewise.
30414 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30415 (j1l): Define using libm_alias_ldouble.
30416 (y1l): Likewise.
30417 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30418 (jnl): Define using libm_alias_ldouble.
30419 (ynl): Likewise.
30420 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30421 (log10l): Define using libm_alias_ldouble.
30422 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30423 (log2l): Define using libm_alias_ldouble.
30424 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30425 (logl): Define using libm_alias_ldouble.
30426 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30427 (powl): Define using libm_alias_ldouble.
30428 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30429 (remainderl): Define using libm_alias_ldouble.
30430 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30431 (sinhl): Define using libm_alias_ldouble.
30432 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30433 (sqrtl): Define using libm_alias_ldouble.
30434 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30435 (tgammal): Define using libm_alias_ldouble.
30436 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30437 (exp10l): Do not use long_double_symbol here.
30438 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30439 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30440 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30441 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30442 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30443 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30444 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30445 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30446 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30447 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30448 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30449 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30450 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30451 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30452 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30453 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30454 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30455 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30456 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30457 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30458 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30459 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30460
30461 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30462
30463 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30464 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30465
30466 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30467
30468 * io/read.c (read): Add libc_hidden_weak.
30469 * sysdeps/mach/hurd/read.c (read): Likewise.
30470 * io/write.c (write): Likewise.
30471 * sysdeps/mach/hurd/write.c (write): Likewise.
30472 * io/pread64.c (__pread64): Likewise.
30473 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30474 * posix/pread64.c (__pread64): Add libc_hidden_def.
30475
30476 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30477
30478 * benchtests/scripts/compare_strings.py: New option -g.
30479 (draw_graph): Print a message that a graph is being generated.
30480 (process_results): Generate graph only if -g is passed.
30481 (main): Process option -g.
30482
30483 * benchtests/scripts/compare_strings.py (process_results):
30484 Better spacing for output.
30485
30486 * benchtests/scripts/compare_strings.py: Use argparse.
30487 * benchtests/README: Document existence of compare_strings.py.
30488
30489 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30490
30491 * math/s_fma.c: Include <libm-alias-double.h>.
30492 (fma): Define using libm_alias_double.
30493 * math/s_nextafter.c: Include <libm-alias-double.h>.
30494 (nextafter): Define using libm_alias_double.
30495 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30496 (acos): Define using libm_alias_double.
30497 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30498 (aocsh): Define using libm_alias_double.
30499 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30500 (asin): Define using libm_alias_double.
30501 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30502 (atan2): Define using libm_alias_double.
30503 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30504 (atanh): Define using libm_alias_double.
30505 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30506 (cosh): Define using libm_alias_double.
30507 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30508 (exp10): Define using libm_alias_double.
30509 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30510 (exp2): Define using libm_alias_double.
30511 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30512 (exp): Define using libm_alias_double.
30513 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30514 (fmod): Define using libm_alias_double.
30515 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30516 (hypot): Define using libm_alias_double.
30517 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30518 (j0): Define using libm_alias_double.
30519 (y0): Likewise.
30520 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30521 (j1): Define using libm_alias_double.
30522 (y1): Likewise.
30523 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30524 (jn): Define using libm_alias_double.
30525 (yn): Likewise.
30526 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30527 (log10): Define using libm_alias_double.
30528 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30529 (log2): Define using libm_alias_double.
30530 * math/w_log_compat.c: Include <libm-alias-double.h>.
30531 (log): Define using libm_alias_double.
30532 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30533 (pow): Define using libm_alias_double.
30534 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30535 (remainder): Define using libm_alias_double.
30536 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30537 (sinh): Define using libm_alias_double.
30538 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30539 (sqrt): Define using libm_alias_double.
30540 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30541 (tgamma): Define using libm_alias_double.
30542 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30543 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30544 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30545 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30546 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30547 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30548 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30549 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30550 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30551 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30552 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30553 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30554 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30555 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30556 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30557 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30558 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30559 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30560 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30561 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30562 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30563 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30564 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30565 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30566 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30567
30568 * math/e_acoshl.c: Remove.
30569 * math/e_acosl.c: Likewise.
30570 * math/e_asinl.c: Likewise.
30571 * math/e_atan2l.c: Likewise.
30572 * math/e_atanhl.c: Likewise.
30573 * math/e_coshl.c: Likewise.
30574 * math/e_expl.c: Likewise.
30575 * math/e_fmodl.c: Likewise.
30576 * math/e_gammal_r.c: Likewise.
30577 * math/e_hypotl.c: Likewise.
30578 * math/e_j0l.c: Likewise.
30579 * math/e_j1l.c: Likewise.
30580 * math/e_jnl.c: Likewise.
30581 * math/e_lgammal_r.c: Likewise.
30582 * math/e_log10l.c: Likewise.
30583 * math/e_log2l.c: Likewise.
30584 * math/e_logl.c: Likewise.
30585 * math/e_powl.c: Likewise.
30586 * math/e_rem_pio2l.c: Likewise.
30587 * math/e_sinhl.c: Likewise.
30588 * math/e_sqrtf128.c: Likewise.
30589 * math/e_sqrtl.c: Likewise.
30590 * math/k_cosl.c: Likewise.
30591 * math/k_sinl.c: Likewise.
30592 * math/k_tanl.c: Likewise.
30593 * math/s_asinhl.c: Likewise.
30594 * math/s_atanl.c: Likewise.
30595 * math/s_cbrtl.c: Likewise.
30596 * math/s_erfl.c: Likewise.
30597 * math/s_expm1l.c: Likewise.
30598 * math/s_log1pl.c: Likewise.
30599 * math/s_tanhl.c: Likewise.
30600
30601 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30602
30603 [BZ #21745]
30604 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30605 [$(subdir) = math] (sysdep_calls): New variable. Has the
30606 previous contents of sysdep_routines, but re-sorted..
30607 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30608 sysdep_calls.
30609 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30610 defined in sysdep_calls and replace by the respective m_* names.
30611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30612 (compat_symbol): Undefine to avoid duplicated compat symbols in
30613 libc.
30614
30615 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30616
30617 * math/s_fmaf.c: Include <libm-alias-float.h>.
30618 (fmaf): Define using libm_alias_float.
30619 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30620 (acosf): Define using libm_alias_float.
30621 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30622 (acoshf): Define using libm_alias_float.
30623 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30624 (asinf): Define using libm_alias_float.
30625 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30626 (atan2f): Define using libm_alias_float.
30627 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30628 (atanhf): Define using libm_alias_float.
30629 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30630 (coshf): Define using libm_alias_float.
30631 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30632 (exp10f): Define using libm_alias_float.
30633 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30634 (fmodf): Define using libm_alias_float.
30635 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30636 (hypotf): Define using libm_alias_float.
30637 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30638 (j0f): Define using libm_alias_float.
30639 (y0f): Likewise.
30640 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30641 (j1f): Define using libm_alias_float.
30642 (y1f): Likewise.
30643 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30644 (jnf): Define using libm_alias_float.
30645 (ynf): Likewise.
30646 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30647 (log10f): Define using libm_alias_float.
30648 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30649 (log2f): Define using libm_alias_float.
30650 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30651 (logf): Define using libm_alias_float.
30652 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30653 (powf): Define using libm_alias_float.
30654 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30655 (remainderf): Define using libm_alias_float.
30656 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30657 (sinhf): Define using libm_alias_float.
30658 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30659 (sqrtf): Define using libm_alias_float.
30660 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30661 (tgammaf): Define using libm_alias_float.
30662
30663 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30664
30665 * include/math.h (roundeven): Change hidden_proto call to
30666 __roundeven.
30667 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30668 alias.
30669 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30670 (y0): Rename to __y0 and define as weak alias.
30671 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30672 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30673 alias.
30674 (y0f): Rename to __y0f and define as weak alias.
30675 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30676 alias.
30677 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30678 (y1): Rename to __y1 and define as weak alias.
30679 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30680 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30681 alias.
30682 (y1f): Rename to __y1f and define as weak alias.
30683 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30684 alias.
30685 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30686 (yn): Rename to __yn and define as weak alias.
30687 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30688 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30689 alias.
30690 (ynf): Rename to __ynf and define as weak alias.
30691 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30692 (fromfp): Define as weak alias.
30693 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30694 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30695 (fromfpx): Define as weak alias.
30696 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30697 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30698 __getpayload and define as weak alias.
30699 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30700 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30701 __roundeven and define as weak alias.
30702 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30703 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30704 __setpayload.
30705 (setpayload): Define as weak alias.
30706 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30707 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30708 __setpayloadsig.
30709 (setpayloadsig): Define as weak alias.
30710 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30711 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30712 __totalorder and define as weak alias.
30713 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30714 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30715 to __totalordermag and define as weak alias.
30716 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30717 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30718 (ufromfp): Define as weak alias.
30719 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30720 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30721 __ufromfpx.
30722 (ufromfpx): Define as weak alias.
30723 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30724 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30725 Rename to __getpayload and define as weak alias.
30726 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30727 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30728 Rename to __roundeven and define as weak alias.
30729 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30730 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30731 Rename to __totalorder and define as weak alias.
30732 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30733 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30734 (totalordermag): Rename to __totalordermag and define as weak
30735 alias.
30736 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30737 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30738 macro.
30739 (__roundevenl): Likewise.
30740 (__totalorderl): Likewise.
30741 (__totalordermagl): Likewise
30742 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30743 __fromfpf128.
30744 (fromfpf128): Define as weak alias.
30745 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30746 __fromfpxf128.
30747 (fromfpxf128): Define as weak alias.
30748 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30749 __setpayloadf128.
30750 (setpayloadf128): Define as weak alias.
30751 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30752 __setpayloadsigf128.
30753 (setpayloadsigf128): Define as weak alias.
30754 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30755 __ufromfpf128.
30756 (ufromfpf128): Define as weak alias.
30757 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30758 __ufromfpxf128.
30759 (ufromfpxf128): Define as weak alias.
30760 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30761 (fromfpf): Define as weak alias.
30762 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30763 __fromfpxf.
30764 (fromfpxf): Define as weak alias.
30765 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30766 __getpayloadf and define as weak alias.
30767 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30768 __roundevenf and define as weak alias.
30769 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30770 __setpayloadf.
30771 (setpayloadf): Define as weak alias.
30772 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30773 __setpayloadsigf.
30774 (setpayloadsigf): Define as weak alias.
30775 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30776 __totalorderf and define as weak alias.
30777 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30778 Rename to __totalordermagf and define as weak alias.
30779 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30780 __ufromfpf.
30781 (ufromfpf): Define as weak alias.
30782 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30783 __ufromfpxf.
30784 (ufromfpxf): Define as weak alias.
30785 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30786 __fromfpl.
30787 (fromfpl): Define as weak alias.
30788 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30789 __fromfpxl.
30790 (fromfpxl): Define as weak alias.
30791 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30792 to __getpayloadl and define as weak alias.
30793 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30794 __roundevenl and define as weak alias.
30795 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30796 __setpayloadl.
30797 (setpayloadl): Define as weak alias.
30798 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30799 __setpayloadsigl.
30800 (setpayloadsigl): Define as weak alias.
30801 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30802 to __totalorderl and define as weak alias.
30803 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30804 Rename to __totalordermagl and define as weak alias.
30805 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30806 __ufromfpl.
30807 (ufromfpl): Define as weak alias.
30808 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30809 __ufromfpxl.
30810 (ufromfpxl): Define as weak alias.
30811 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30812 __fromfpl.
30813 (fromfpl): Define as weak alias.
30814 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30815 __fromfpxl.
30816 (fromfpxl): Define as weak alias.
30817 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30818 Rename to __getpayloadl and define as weak alias.
30819 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30820 to __roundevenl and define as weak alias. Call __roundeven
30821 instead of roundeven.
30822 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30823 __setpayloadl.
30824 (setpayloadl): Define as weak alias.
30825 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30826 __setpayloadsigl.
30827 (setpayloadsigl): Define as weak alias.
30828 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30829 Rename to __totalorderl and define as weak alias.
30830 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30831 Rename to __totalordermagl and define as weak alias.
30832 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30833 __ufromfpl.
30834 (ufromfpl): Define as weak alias.
30835 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30836 __ufromfpxl.
30837 (ufromfpxl): Define as weak alias.
30838 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30839 __fromfpl.
30840 (fromfpl): Define as weak alias.
30841 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30842 __fromfpxl.
30843 (fromfpxl): Define as weak alias.
30844 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30845 __getpayloadl and define as weak alias.
30846 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30847 __roundevenl and define as weak alias.
30848 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30849 __setpayloadl.
30850 (setpayloadl): Define as weak alias.
30851 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30852 __setpayloadsigl.
30853 (setpayloadsigl): Define as weak alias.
30854 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30855 __totalorderl and define as weak alias.
30856 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30857 Rename to __totalordermagl and define as weak alias.
30858 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30859 __ufromfpl.
30860 (ufromfpl): Define as weak alias.
30861 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30862 __ufromfpxl.
30863 (ufromfpxl): Define as weak alias.
30864
30865 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30866
30867 * benchtests/bench-string.h (realloc_bufs): New function.
30868 (test_init): Call it.
30869 * benchtests/bench-memset-large.c (do_test): Likewise.
30870 * benchtests/bench-memset.c (do_test): Likewise.
30871
30872 * benchtests/bench-memset-large.c: Print output in JSON
30873 format.
30874 * benchtests/bench-memset.c: Likewise.
30875
30876 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30877
30878 [BZ #21084]
30879 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30880 * iconvdata/Makefile: Add IBM858.
30881 * iconvdata/gconv-modules: Likewise.
30882 * iconvdata/tst-tables.sh: Likewise.
30883 * iconvdata/ibm858.c: New file.
30884 * localedata/charmaps/IBM858: Likewise.
30885
30886 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
30887
30888 [BZ #22023]
30889 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30890 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30891
30892 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30893
30894 [BZ #22112]
30895 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30896 and add tel_int_fmt.
30897
30898 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30899
30900 * sysdeps/generic/libm-alias-float128.h: New file.
30901 * sysdeps/generic/math-type-macros-float128.h: Include
30902 <libm-alias-float128.h>.
30903 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30904
30905 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30906
30907 * sysdeps/generic/libm-alias-ldouble.h: New file.
30908 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30909 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30910 * sysdeps/generic/math-type-macros-ldouble.h: Include
30911 <libm-alias-ldouble.h>.
30912 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30913 libm_alias_ldouble.
30914
30915 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30916
30917 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30918 * math/w_exp_compat.c: ... here.
30919 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30920 * math/w_expf_compat.c: ... here.
30921 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30922 * math/w_expl_compat.c: ... here.
30923 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30924 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30925 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30926 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30927
30928 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30929
30930 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30931 redefine.
30932 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30933 macro.
30934 (ldexpl): Only define as compat symbol for libc, not libm.
30935 (scalbnl): Define as compat symbol for libc here.
30936 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30937 define for [IS_IN (libc)].
30938 (__ldexpl_2): Remove alias.
30939 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30940 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30941 name in long_double_symbol call.
30942 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30943 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30944 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30945 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30946 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30947 Remove macro.
30948 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30949 Define as compat symbol.
30950
30951 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30952
30953 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30954 * sysdeps/unix/sysv/linux/alpha/Makefile
30955 [$(subdir) = csu] (sysdep_routines): Remove rule.
30956
30957 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30958
30959 * sysdeps/generic/libm-alias-double.h: New file.
30960 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30961 * sysdeps/generic/math-type-macros-double.h: Include
30962 <libm-alias-double.h>.
30963 [declare_mgen_alias] (declare_mgen_alias): Define to use
30964 libm_alias_double.
30965 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30966 (M_LIBM_NEED_COMPAT): Remove macro.
30967 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30968 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30969 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30970 code.
30971 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30972 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30973 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30974 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30975 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30976 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30977 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30978 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30979 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30980 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30981 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30982 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30983 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30984 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30985 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30986 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30987 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30988 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30989 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30990 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30991 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30992 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30993 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30994 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30995 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30996 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30997 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30998 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30999 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
31000 macro.
31001 (declare_mgen_alias): New macro.
31002 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
31003 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
31004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
31005 (M_LIBM_NEED_COMPAT): Remove macro.
31006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
31007 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
31008 <first-versions.h>.
31009 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
31010 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
31011
31012 2017-09-12 Joseph Myers <joseph@codesourcery.com>
31013
31014 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
31015 (declare_mgen_alias_2): Remove.
31016 * sysdeps/generic/math-type-macros-double.h
31017 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
31018 Likewise.
31019 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
31020 alias.
31021 (ldexp): Define with declare_mgen_alias.
31022 (scalbn): Likewise.
31023
31024 2017-09-12 Steve Ellcey <sellcey@cavium.com>
31025
31026 * grp/initgroups.c: Include config.h.
31027 (DEFAULT_CONFIG): New macro.
31028 (internal_getgrouplist): Use DEFAULT_CONFIG.
31029 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31030 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
31031 (DEFAULT_DEFCONFIG): New macro.
31032 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
31033 * nss/grp-lookup.c: Include config.h
31034 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
31035 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
31036 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
31037 * manual/nss.texi: Update default values section.
31038
31039 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
31040
31041 [BZ #21967]
31042 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
31043 New.
31044 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
31045 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31046 Handle MathVec_Prefer_No_AVX512.
31047 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
31048 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
31049 is set.
31050
31051 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
31052
31053 * posix/sched_primax.c (__sched_get_priority_max): Add
31054 libc_hidden_def.
31055 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
31056 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31057 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31058 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
31059 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
31060 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
31061 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
31062 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
31063 Add aliases.
31064
31065 2017-09-11 Joseph Myers <joseph@codesourcery.com>
31066
31067 * sysdeps/generic/libm-alias-float.h: New file.
31068 * sysdeps/generic/math-type-macros-float.h: Include
31069 <libm-alias-float.h>.
31070 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31071
31072 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
31073
31074 [BZ #22093]
31075 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
31076 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
31077 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
31078 (HWCAP_IMPORTANT): Likewise.
31079 (HWCAP_X86_64): New enum.
31080 (HWCAP_X86_AVX512_1): Updated.
31081 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
31082 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
31083 (modules-names): Add x86_64/tst-x86_64mod-1.
31084 (LDFLAGS-tst-x86_64mod-1.so): New.
31085 ($(objpfx)tst-x86_64-1): Likewise.
31086 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
31087 (tst-x86_64-1-clean): Likewise.
31088 * sysdeps/x86_64/tst-x86_64-1.c: New file.
31089 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
31090
31091 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31092
31093 * po/sv.po: Update translations.
31094 * po/fr.po: Likewise.
31095
31096 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31097
31098 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
31099 seconds.
31100 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
31101 seconds.
31102 * elf/rtld-Rules: Fix $(error) use.
31103
31104 2017-09-09 Mike FABIAN <mfabian@redhat.com>
31105
31106 [BZ #14925]
31107 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
31108 * locale/iso-639.def: Change “Bengali” to “Bangla”.
31109 * localedata/locales/bn_BD: “Bengali” was still used in some
31110 comments. Change it to “Bangla”.
31111
31112 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
31113
31114 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
31115
31116 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31117
31118 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
31119 thunderx2t99p1 to list of cpu names.
31120 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31121 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
31122
31123 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31124
31125 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
31126 Use strcmp instead of tunable_is_name.
31127
31128 2017-09-08 Joseph Myers <joseph@codesourcery.com>
31129
31130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31131 (F_GET_RW_HINT): New macro.
31132 [__USE_GNU] (F_SET_RW_HINT): Likewise.
31133 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
31134 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
31135 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
31136 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
31137 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
31138 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
31139 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
31140 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
31141
31142 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31143 (F_ADD_SEALS): New macro.
31144 [__USE_GNU] (F_GET_SEALS): Likewise.
31145 [__USE_GNU] (F_SEAL_SEAL): Likewise.
31146 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
31147 [__USE_GNU] (F_SEAL_GROW): Likewise.
31148 [__USE_GNU] (F_SEAL_WRITE): Likewise.
31149
31150 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31151
31152 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
31153 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
31154 * posix/glob_internal.h (__glob_pattern_type):
31155 * posix/glob.c (glob):
31156 * posix/glob_pattern_p.c (__glob_pattern_p):
31157 Use them.
31158
31159 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
31160 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31161 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31162 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31163 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31165 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31166 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31167 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31168 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31169 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31170 * sysdeps/wordsize-64/glob.c: Likewise.
31171 * sysdeps/wordsize-64/glob64.c: Likewise.
31172 * sysdeps/wordsize-64/globfree.c: Likewise.
31173 * sysdeps/wordsize-64/globfree64.c: Likewise.
31174 * sysdeps/unix/sysv/linux/glob.c: New file.
31175 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31176 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31177 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31178 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31179 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31180 adds !GLOB_NO_OLD_VERSION as an extra condition.
31181 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31182 using relative path instead of absolute one.
31183 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31184 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31185 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31186 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31187 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31188 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31189
31190 [BZ #1062]
31191 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31192 (glob): Use the same scratch buffer for both getlogin_r and
31193 getpwnam_r. Don’t require preallocation of the login name. This
31194 simplifies storage allocation, and corrects the handling of
31195 long login names.
31196
31197 [BZ #1062]
31198 * posix/glob.c (glob): Port recent patches to platforms
31199 lacking getpwnam_r.
31200 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31201 returns an error number rather than setting errno.
31202
31203 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31204 instead of GCC extension.
31205 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31206 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31207 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31208
31209 [BZ #866]
31210 [BZ #1062]
31211 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31212 * posix/bug-glob1.c: Remove file.
31213 * posix/tst-glob_symlinks.c: New file.
31214 * posix/glob.c (__lstat64): New macro.
31215 (is_dir): New function.
31216 (glob, glob_in_dir): Match symlinks even if they are dangling.
31217 (link_stat, link_exists_p): Remove. All uses removed.
31218
31219 [BZ #1062]
31220 [BZ #19971]
31221 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31222 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31223 All uses removed.
31224
31225 [BZ #1062]
31226 CVE-2017-15671
31227 * posix/Makefile (routines): Add globfree, globfree64, and
31228 glob_pattern_p.
31229 * posix/flexmember.h: New file.
31230 * posix/glob_internal.h: Likewise.
31231 * posix/glob_pattern_p.c: Likewise.
31232 * posix/globfree.c: Likewise.
31233 * posix/globfree64.c: Likewise.
31234 * sysdeps/gnu/globfree64.c: Likewise.
31235 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31236 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31237 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31238 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31239 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31240 * sysdeps/wordsize-64/globfree.c: Likewise.
31241 * sysdeps/wordsize-64/globfree64.c: Likewise.
31242 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31243 [NDEBUG): Remove comments.
31244 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31245 (dirent_type): New type. Use uint_fast8_t not
31246 uint8_t, as C99 does not require uint8_t.
31247 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31248 (struct readdir_result): Use dirent_type. Do not define skip_entry
31249 unless it is needed; this saves a byte on platforms lacking d_ino.
31250 (readdir_result_type, readdir_result_skip_entry):
31251 New functions, replacing ...
31252 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
31253 these functions, which were removed. This makes the callers
31254 easier to read. All callers changed.
31255 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31256 (size_add_wrapv, glob_use_alloca): New static functions.
31257 (glob, glob_in_dir): Check for size_t overflow in several places,
31258 and fix some size_t checks that were not quite right.
31259 Remove old code using SHELL since Bash no longer
31260 uses this.
31261 (glob, prefix_array): Separate MS code better.
31262 (glob_in_dir): Remove old Amiga and VMS code.
31263 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31264 separate files.
31265 (glob_in_dir): Do not rely on undefined behavior in accessing
31266 struct members beyond their bounds. Use a flexible array member
31267 instead
31268 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31269 0/1. Caller changed.
31270 (glob): Fix memory leaks.
31271 * posix/glob64 (globfree64): Move to separate file.
31272 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31273 (globfree64): Remove hidden alias.
31274 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31275 oldglob.
31276 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31277 separate file.
31278 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31279 define.
31280 Move compat code to separate file.
31281 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31282 separate file.
31283
31284 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31285
31286 * resolv/tst-resolv-qtypes.c (domain): Changed to
31287 "const char domain[] =".
31288
31289 2017-09-07 Joseph Myers <joseph@codesourcery.com>
31290
31291 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31292 version to 3.1.6.
31293
31294 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31295 (TCP_MD5SIG_EXT): Likewise.
31296 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31297 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31298 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31299
31300 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31301
31302 2017-09-07 Mike FABIAN <mfabian@redhat.com>
31303
31304 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31305
31306 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
31307
31308 [BZ #22100]
31309 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31310
31311 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31312
31313 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31314 before assuming that the file is empty. Avoid testing buffer content
31315 when nread == 0.
31316
31317 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31318
31319 [BZ #18858]
31320 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31321 Remove define.
31322 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31323 Likewise.
31324 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31325 Likewise.
31326 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31327 Likewise.
31328 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31329 Likewise.
31330 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31331 Likewise.
31332 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31333 Likewise.
31334
31335 2017-09-06 Florian Weimer <fweimer@redhat.com>
31336
31337 * malloc/dynarray_emplace_enlarge.c
31338 (__libc_dynarray_emplace_enlarge): Add missing else.
31339
31340 2017-09-06 Florian Weimer <fweimer@redhat.com>
31341
31342 [BZ #22096]
31343 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31344 case of failure to obtain the global conf object.
31345
31346 2017-09-06 Florian Weimer <fweimer@redhat.com>
31347
31348 [BZ #22095]
31349 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31350 dynarray allocation failure.
31351
31352 2017-09-06 Florian Weimer <fweimer@redhat.com>
31353
31354 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31355 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31356 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31357 New functions.
31358 (response): Call them. Add 'p', '6' flag processing.
31359 (test_reverse): New function.
31360 (test_get2_any): Call it.
31361 (test_no_inet6): Add 'p' test.
31362 (test_inet6): Likewise.
31363
31364 2017-09-06 Florian Weimer <fweimer@redhat.com>
31365
31366 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31367 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31368 the QNAME.
31369 (test_gai): Adjust query names. Add additional tests.
31370 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31371 test_get2. Adjust query names. Add additional tests.
31372 (test_no_inet6): New function, extracted from threadfunc.
31373 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31374 Add additional tests.
31375
31376 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31377
31378 [BZ #22070]
31379 * localedata/unicode-gen/utf8_gen.py: Set the width for
31380 characters with Prepended_Concatenation_Mark property to 1
31381 * localedata/charmaps/UTF-8: Updated using the improved script.
31382
31383 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31384
31385 [BZ #21750]
31386 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31387 use the range notation for all ranges of neighbouring characters
31388 with the same width.
31389
31390 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31391
31392 * sysdeps/generic/math-type-macros-double.h: Include
31393 <math-svid-compat.h>.
31394 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31395 * sysdeps/generic/math-type-macros-float.h: Include
31396 <math-svid-compat.h>.
31397 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31398 * sysdeps/generic/math-type-macros-ldouble.h: Include
31399 <math-svid-compat.h>.
31400 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31401 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31402 condition.
31403 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31404 * math/w_acosf_compat.c: Likewise.
31405 * math/w_acosh_compat.c: Likewise.
31406 * math/w_acoshf_compat.c: Likewise.
31407 * math/w_acoshl_compat.c: Likewise.
31408 * math/w_acosl_compat.c: Likewise.
31409 * math/w_asin_compat.c: Likewise.
31410 * math/w_asinf_compat.c: Likewise.
31411 * math/w_asinl_compat.c: Likewise.
31412 * math/w_atan2_compat.c: Likewise.
31413 * math/w_atan2f_compat.c: Likewise.
31414 * math/w_atan2l_compat.c: Likewise.
31415 * math/w_atanh_compat.c: Likewise.
31416 * math/w_atanhf_compat.c: Likewise.
31417 * math/w_atanhl_compat.c: Likewise.
31418 * math/w_cosh_compat.c: Likewise.
31419 * math/w_coshf_compat.c: Likewise.
31420 * math/w_coshl_compat.c: Likewise.
31421 * math/w_exp10_compat.c: Likewise.
31422 * math/w_exp10f_compat.c: Likewise.
31423 * math/w_exp10l_compat.c: Likewise.
31424 * math/w_exp2_compat.c: Likewise.
31425 * math/w_exp2f_compat.c: Likewise.
31426 * math/w_exp2l_compat.c: Likewise.
31427 * math/w_fmod_compat.c: Likewise.
31428 * math/w_fmodf_compat.c: Likewise.
31429 * math/w_fmodl_compat.c: Likewise.
31430 * math/w_hypot_compat.c: Likewise.
31431 * math/w_hypotf_compat.c: Likewise.
31432 * math/w_hypotl_compat.c: Likewise.
31433 * math/w_j0_compat.c: Likewise.
31434 * math/w_j0f_compat.c: Likewise.
31435 * math/w_j0l_compat.c: Likewise.
31436 * math/w_j1_compat.c: Likewise.
31437 * math/w_j1f_compat.c: Likewise.
31438 * math/w_j1l_compat.c: Likewise.
31439 * math/w_jn_compat.c: Likewise.
31440 * math/w_jnf_compat.c: Likewise.
31441 * math/w_jnl_compat.c: Likewise.
31442 * math/w_lgamma_r_compat.c: Likewise.
31443 * math/w_lgammaf_r_compat.c: Likewise.
31444 * math/w_lgammal_r_compat.c: Likewise.
31445 * math/w_log10_compat.c: Likewise.
31446 * math/w_log10f_compat.c: Likewise.
31447 * math/w_log10l_compat.c: Likewise.
31448 * math/w_log2_compat.c: Likewise.
31449 * math/w_log2f_compat.c: Likewise.
31450 * math/w_log2l_compat.c: Likewise.
31451 * math/w_log_compat.c: Likewise.
31452 * math/w_logf_compat.c: Likewise.
31453 * math/w_logl_compat.c: Likewise.
31454 * math/w_pow_compat.c: Likewise.
31455 * math/w_powf_compat.c: Likewise.
31456 * math/w_powl_compat.c: Likewise.
31457 * math/w_remainder_compat.c: Likewise.
31458 * math/w_remainderf_compat.c: Likewise.
31459 * math/w_remainderl_compat.c: Likewise.
31460 * math/w_sinh_compat.c: Likewise.
31461 * math/w_sinhf_compat.c: Likewise.
31462 * math/w_sinhl_compat.c: Likewise.
31463 * math/w_sqrt_compat.c: Likewise.
31464 * math/w_sqrtf_compat.c: Likewise.
31465 * math/w_sqrtl_compat.c: Likewise.
31466 * math/w_tgamma_compat.c: Likewise.
31467 * math/w_tgammaf_compat.c: Likewise.
31468 * math/w_tgammal_compat.c: Likewise.
31469 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31470 [LIBM_SVID_COMPAT].
31471 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31472 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31473 [LIBM_SVID_COMPAT].
31474 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31475 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31476 [LIBM_SVID_COMPAT].
31477 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31478 * sysdeps/i386/fpu/w_sqrt.c: New file.
31479 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31480 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31481 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31482 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31483 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31484 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31485 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31486 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31487 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31488 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31489 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31490 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31491 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31492 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31493 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31494 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31495 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31496 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31497 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31498 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31499 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31500 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31501 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31502 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31503 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31504 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31505 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31506 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31507 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31508 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31509 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31510 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31511 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31512 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31513 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31514 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31515 * sysdeps/ia64/fpu/w_log.c: Likewise.
31516 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31517 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31518 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31519 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31520 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31521 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31522 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31523 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31524 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31525 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31526 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31527 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31528 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31529 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31530 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31531 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31532 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31533 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31534 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31535 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31536 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31537 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31538 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31539 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31540 [LIBM_SVID_COMPAT].
31541 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31542 * sysdeps/ieee754/k_standard.c: Likewise.
31543 * sysdeps/ieee754/k_standardf.c: Likewise.
31544 * sysdeps/ieee754/k_standardl.c: Likewise.
31545 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31546 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31547 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31548 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31549 long_double_symbol call on [LIBM_SVID_COMPAT].
31550 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31551 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31552 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31553 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31554 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31555 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31556 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31557 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31558 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31559 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31560 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31561 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31562 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31563 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31564 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31565 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31566 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31567 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31568 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31569 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31570 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31571 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31572
31573 2017-09-05 Steve Ellcey <sellcey@cavium.com>
31574
31575 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31576 * malloc/tst-mallocstate.c: Convert from test-skeleton
31577 to test-driver. Ifdef code using TEST_COMPAT macro.
31578 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31579 * math/test-matherr.c: Likewise.
31580
31581 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31582
31583 [BZ #22086]
31584 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31585 comparing word with byte-swapped constant.
31586
31587 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
31588
31589 [BZ #20498]
31590 * locale/iso-639.def: add Miskito.
31591 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31592 * localedata/locales/miq_NI: New file.
31593
31594 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31595
31596 [BZ #18822]
31597 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31598 (__mkdir): Likewise.
31599 * io/chmod.c (__chmod): Add libc_hidden_def.
31600 * io/mkdir.c (__mkdir): Likewise.
31601 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31602 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31603 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31604 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31605
31606 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31607
31608 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31609 version to 4.13.
31610
31611 [BZ #22082]
31612 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31613 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31614
31615 2017-09-04 Florian Weimer <fweimer@redhat.com>
31616
31617 * math/math.h: Issue warning if log is defined.
31618
31619 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31620
31621 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31622 kernel version to 4.13.
31623
31624 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31625
31626 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
31627 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31628 parameter.
31629 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31630 just <bits/types.h>.
31631 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
31632 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
31633 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
31634 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
31635 * misc/preadv2.c: Include <errno.h>.
31636 * misc/preadv64v2.c: Include <errno.h>.
31637 * misc/pwritev2.c: Include <errno.h>.
31638 * misc/pwritev64v2.c: Include <errno.h>.
31639 * sysdeps/posix/preadv2.c: Include <errno.h>.
31640 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31641 Fix <unistd.h> inclusion.
31642 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31643 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
31644 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31645 __strtoul_internal): New functions.
31646 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31647 * sysdeps/posix/system.c: Include <sigsetops.h>.
31648 * sysdeps/mach/hurd/i386/Makefile
31649 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31650 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31651 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
31652 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31653 __feraiseexcept_renamed to feraiseexcept instead of
31654 __GI_feraiseexcept.
31655 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
31656 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
31657 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31658 RWF_NOWAIT): Define to 0 if undefined already.
31659 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31660 boils down to 0.
31661 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31662 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
31663
31664 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31665
31666 * manual/math.texi (pow10): Do not document.
31667 (pow10f): Likewise.
31668 (pow10l): Likewise.
31669 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31670 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31671 * math/libm-test-exp10.inc (pow10_test): Remove.
31672 (do_test): Do not call pow10.
31673 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31674 [NO_LONG_DOUBLE] (pow10l): Likewise.
31675 * math/w_exp10f_compat.c (pow10f): Likewise.
31676 * math/w_exp10l_compat.c (pow10l): Likewise.
31677 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31678 (pow10): Make into compat symbol.
31679 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31680 (pow10f): Make into compat symbol.
31681 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31682 (pow10l): Make into compat symbol.
31683 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31684 pow10.
31685 (CFLAGS-nldbl-pow10.c): Remove variable..
31686 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31687 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31688 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31689 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31690 Undefine and redefine.
31691 (pow10l): Make into compat symbol.
31692 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31693 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31694 * sysdeps/arm/libm-test-ulps: Likewise.
31695 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31696 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31697 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31698 * sysdeps/microblaze/libm-test-ulps: Likewise.
31699 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31700 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31701 * sysdeps/nios2/libm-test-ulps: Likewise.
31702 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31703 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31704 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31705 * sysdeps/sh/libm-test-ulps: Likewise.
31706 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31707 * sysdeps/tile/libm-test-ulps: Likewise.
31708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31709
31710 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31711
31712 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31713
31714 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31715
31716 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31717 "../ChangeLog.old/ChangeLog.8".
31718 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31719 "../ChangeLog.old/ChangeLog.14".
31720
31721 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31722
31723 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31724 Threads Library.
31725
31726 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31727
31728 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31729
31730 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31731
31732 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31733 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31734
31735 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31736
31737 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31738 32 atexit handlers.
31739
31740 2017-09-01 Zack Weinberg <zackw@panix.com>
31741
31742 * math/math.h (HUGE_VAL): Improve commentary.
31743
31744 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31745 Andreas Schwab <schwab@suse.de>
31746
31747 [BZ #21530]
31748 * include/stdio.h (__gen_tempfd): New function.
31749 * stdio-common/Makefile (routines): Add gentempfd.
31750 * stdio-common/gentempfd.c: New file.
31751 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31752 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31753 unnamed file first.
31754
31755 2017-09-01 Florian Weimer <fweimer@redhat.com>
31756
31757 [BZ #21915]
31758 [BZ #21922]
31759 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31760 result to determine success or failure, not the errno value.
31761 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31762 (tst-nss-files-hosts-erange): Link with -ldl.
31763 * nss/tst-nss-files-hosts-erange.c: New file.
31764 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31765 (do_test): Add NO_DATA tests.
31766 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31767 (do_test): Call it.
31768
31769 2017-09-01 Florian Weimer <fweimer@redhat.com>
31770
31771 [BZ #21922]
31772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31773 coming from gethostbyname2_r.
31774
31775 2017-09-01 Florian Weimer <fweimer@redhat.com>
31776
31777 * support/namespace.h (struct support_chroot_configuration): Add
31778 hosts, host_conf.
31779 (struct support_chroot): Add path_hosts, path_host_conf.
31780 * support/support_chroot.c (write_file): New function.
31781 (support_chroot_create): Call it to process /etc/resolv.conf,
31782 /etc/hosts, /etc/host.conf.
31783 (support_chroot_free): Update.
31784
31785 2017-09-01 Florian Weimer <fweimer@redhat.com>
31786
31787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31788 status indicates it is set.
31789
31790 2017-09-01 Florian Weimer <fweimer@redhat.com>
31791
31792 [BZ #20532]
31793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31794 function lookup failures more reliable.
31795
31796 2017-09-01 Florian Weimer <fweimer@redhat.com>
31797
31798 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31799 (getcanonname): Likewise.
31800 (gaih_inet): Likewise.
31801
31802 2017-09-01 Florian Weimer <fweimer@redhat.com>
31803
31804 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31805 (getcanonname): Likewise.
31806 (gaih_inet): Likewise.
31807
31808 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31809 Richard Henderson <rth@twiddle.net>
31810
31811 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31812 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31813 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31814 (IREG_SIZE, OREG_SIZE): New macros.
31815 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31816 (IREG_SIZE, OREG_SIZE): New macros.
31817 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31818 (IREG_SIZE): New macro.
31819 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31820 (IREG_SIZE): New macro.
31821 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31822 New includes.
31823 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31824 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31825 (__CONCATX): Handle exceptions correctly on large values that may
31826 set FE_INVALID.
31827 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31828 Initialize if not already set.
31829 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31830
31831 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31832
31833 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31834 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31835 Likewise.
31836 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31837 Likewise.
31838 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31839 Likewise.
31840 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31841 Likewise.
31842 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31843 Likewise.
31844 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31845 Likewise.
31846 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31847 Likewise.
31848 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31849 (NO_CANCELLATION): Likewise.
31850 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31851 Likewise.
31852 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31853 Likewise.
31854 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31855 Likewise.
31856 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31857 (NO_CANCELLATION): Likewise.
31858 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31859 (NO_CANCELLATION): Likewise.
31860 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31861 Likewise
31862 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31863 Likewise.
31864 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31865 Likewise.
31866 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31867 Likewise.
31868 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31869 hidden prototype.
31870 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31871 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31872
31873 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31874
31875 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31876 in resolver call.
31877
31878 2017-08-31 Florian Weimer <fweimer@redhat.com>
31879
31880 * include/libc-symbols.h (internal_function): Remove.
31881
31882 2017-08-31 Florian Weimer <fweimer@redhat.com>
31883
31884 * stdlib/fmtmsg.c (internal_addseverity): Remove
31885 internal_function.
31886
31887 2017-08-31 Florian Weimer <fweimer@redhat.com>
31888
31889 * stdio-common/printf_fp.c (group_number): Remove
31890 internal_function.
31891 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31892
31893 2017-08-31 Florian Weimer <fweimer@redhat.com>
31894
31895 * posix/fnmatch.c (internal_function): Remove definition.
31896 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31897 * posix/regcomp.c (peek_token, init_word_char)
31898 (duplicate_node_closure, fetch_token, peek_token)
31899 (peek_token_bracket, build_range_exp, build_collating_symbol):
31900 Likewise.
31901 * posix/regex_internal.c (re_string_construct_common)
31902 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31903 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31904 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31905 (re_string_translate_buffer, re_string_reconstruct)
31906 (re_string_peek_byte_case, re_string_fetch_byte_case)
31907 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31908 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31909 (re_node_set_add_intersect, re_node_set_init_union)
31910 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31911 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31912 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31913 (re_acquire_state_context): Likewise.
31914 * posix/regex_internal.h (internal_function): Remove definition.
31915 (re_string_realloc_buffers, build_wcs_buffer)
31916 (build_wcs_upper_buffer, build_upper_buffer)
31917 (re_string_translate_buffer, re_string_context_at)
31918 (re_string_char_size_at, re_string_wchar_at)
31919 (re_string_elem_size_at): Likewise.
31920 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31921 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31922 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31923 (re_search_internal, re_search_2_stub, re_search_stub)
31924 (re_copy_regs, prune_impossible_nodes, check_matching)
31925 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31926 (free_fail_stack_return, sift_states_iter_mb)
31927 (sift_states_backward, build_sifted_states)
31928 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31929 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31930 (check_subexp_limits, sift_states_bkref, merge_state_array)
31931 (find_recover_state, transit_state, merge_state_with_log)
31932 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31933 (transit_state_mb, transit_state_bkref, get_subexp)
31934 (get_subexp_sub, find_subexp_node, check_arrival)
31935 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31936 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31937 (check_node_accept_bytes, find_collation_sequence_value)
31938 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31939 (acquire_init_state_context, check_halt_node_context)
31940 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31941 (sub_epsilon_src_nodes): Likewise.
31942 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31943 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31944 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31945 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31946 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31947 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31948 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31949 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31950 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31951 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31952 (PREADV): Likewise.
31953 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31954 (PREADV): Likewise.
31955 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31956 (PWRITEV): Likewise.
31957 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31958 (PWRITEV): Likewise.
31959 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31960 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31961
31962 2017-08-31 Florian Weimer <fweimer@redhat.com>
31963
31964 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31965 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31966 Remove internal_function.
31967 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31968 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31969 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31970 (__deallocate_stack, __libc_pthread_init)
31971 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31972 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31973 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31974 Likewise.
31975 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31976 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31977 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31978 Likewise.
31979 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31980 (__pthread_mutex_unlock_usercnt): Likewise.
31981
31982 2017-08-31 Florian Weimer <fweimer@redhat.com>
31983
31984 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31985 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31986 (fts_safe_changedir): Remove internal_function.
31987 * io/ftw.c (internal_function): Remove definition.
31988 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31989
31990 2017-08-31 Florian Weimer <fweimer@redhat.com>
31991
31992 * inet/deadline.c (__deadline_current_time)
31993 (__deadline_from_timeval, __deadline_to_ms): Remove
31994 internal_function.
31995 * inet/getnameinfo.c (nrl_domainname): Likewise.
31996 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31997 * inet/inet6_option.c (add_pad): Likewise.
31998 * inet/net-internal.h (__deadline_current_time)
31999 (__deadline_from_timeval, __deadline_to_ms): Likewise.
32000 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
32001 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
32002 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
32003
32004 2017-08-31 Joseph Myers <joseph@codesourcery.com>
32005
32006 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
32007 include <bits/nan.h>.
32008 * math/Makefile (headers): Remove bits/nan.h.
32009 * bits/nan.h: Remove.
32010 * sysdeps/ieee754/bits/nan.h: Likewise.
32011 * sysdeps/mips/bits/nan.h: Likewise.
32012
32013 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
32014 not include <bits/inf.h>.
32015 * math/Makefile (headers): Remove bits/inf.h.
32016 * bits/inf.h: Remove.
32017 * sysdeps/ieee754/bits/inf.h: Likewise.
32018
32019 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
32020 bits/huge_vall.h or bits/huge_val_flt128.h.
32021 (HUGE_VAL): Define directly here.
32022 [__USE_ISOC99] (HUGE_VALF): Likewise.
32023 [__USE_ISOC99] (HUGE_VALL): Likewise.
32024 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32025 (HUGE_VAL_F128): Likewise.
32026 * math/Makefile (headers): Remove bits/huge_val.h,
32027 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
32028 * bits/huge_val.h: Remove.
32029 * bits/huge_val_flt128.h: Likewise.
32030 * bits/huge_valf.h: Likewise.
32031 * bits/huge_vall.h: Likewise.
32032 * sysdeps/ia64/bits/huge_vall.h: Likewise.
32033 * sysdeps/ieee754/bits/huge_val.h: Likewise.
32034 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
32035 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
32036 * sysdeps/sh/bits/huge_val.h: Likewise.
32037 * sysdeps/sparc/bits/huge_vall.h: Likewise.
32038 * sysdeps/x86/bits/huge_vall.h: Likewise.
32039
32040 2017-08-31 Florian Weimer <fweimer@redhat.com>
32041
32042 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
32043 internal_function.
32044 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
32045 Likewise.
32046 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
32047 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32048 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
32049 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
32050 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32051 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32052 * elf/dl-libc.c (dlerror_run): Likewise.
32053 * elf/dl-load.c (add_name_to_object, decompose_rpath)
32054 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
32055 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
32056 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
32057 Likewise.
32058 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
32059 (_dl_higher_prime_number, _dl_strtoul): Likewise.
32060 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
32061 * elf/dl-profile.c (_dl_start_profile): Likewise.
32062 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
32063 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
32064 Likewise.
32065 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
32066 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
32067 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
32068 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
32069 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
32070 (_dl_allocate_tls_storage): Likewise.
32071 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
32072 (_dl_check_all_versions): Likewise.
32073 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
32074 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
32075 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
32076 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32077 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
32078 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
32079 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
32080 internal_function from __dl_start.
32081 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
32082 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
32083 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
32084 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
32085 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
32086 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
32087 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
32088 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
32089 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
32090 (_dl_next_ld_env_entry, _dl_important_hwcaps)
32091 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
32092 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
32093 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
32094 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
32095 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
32096 Likewise.
32097 (struct rtld_global_ro): Remove internal_function from the
32098 _dl_lookup_symbol_x member.
32099 (_dl_symbol_value): Remove. No longer defined anywhere.
32100 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
32101 internal_function.
32102 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32103 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32104 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
32105 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
32106 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
32107 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
32108 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
32109 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
32110 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
32111 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
32112 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32113 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32114
32115 2017-08-31 Florian Weimer <fweimer@redhat.com>
32116
32117 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
32118 Remove internal_function.
32119 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32120 Likewise.
32121 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32122 Likewise.
32123
32124 2017-08-31 Florian Weimer <fweimer@redhat.com>
32125
32126 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
32127 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
32128 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
32129
32130 2017-08-31 Florian Weimer <fweimer@redhat.com>
32131
32132 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
32133 (__gai_enqueue_request): Remove internal_function.
32134 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
32135 (__gai_remove_request, __gai_notify, __gai_notify_only)
32136 (__gai_sigqueue): Likewise.
32137 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
32138 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
32139 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
32140 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32141 Likewise.
32142
32143 2017-08-31 Florian Weimer <fweimer@redhat.com>
32144
32145 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
32146 * include/dirent.h (__opendirat, __getdents, __getdents64)
32147 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
32148 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
32149 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32150 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32151 Likewise.
32152 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
32153
32154 2017-08-31 Florian Weimer <fweimer@redhat.com>
32155
32156 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
32157 internal_function.
32158 (GETCWD_RETURN_TYPE): Likewise.
32159
32160 2017-08-31 Florian Weimer <fweimer@redhat.com>
32161
32162 * include/time.h (__tz_compute, __strptime_internal): Remove
32163 internal_function.
32164 * time/strptime_l.c (__strptime_internal): Likewise.
32165 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32166
32167 2017-08-31 Florian Weimer <fweimer@redhat.com>
32168
32169 * iconv/gconv.c (__gconv): Remove internal_function.
32170 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32171 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32172 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32173 (__gconv_release_cache): Likewise.
32174 * iconv/gconv_close.c (__gconv_close): Likewise.
32175 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32176 (read_conf_file, __gconv_get_path): Likewise.
32177 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32178 (__gconv_release_step, gen_steps, increment_counter)
32179 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32180 (__gconv_close_transform, free_modules_db): Likewise.
32181 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32182 Likewise.
32183 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32184 (__gconv_find_transform, __gconv_lookup_cache)
32185 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32186 (__gconv_close_transform, __gconv_release_cache)
32187 (__gconv_loaded_object, __gconv_release_shlib)
32188 (__gconv_compare_alias): Likewise.
32189 * iconv/gconv_open.c (__gconv_open): Likewise.
32190 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32191 * iconv/iconvconfig.c (add_module): Likewise.
32192 * intl/dcigettext.c (plural_lookup, guess_category_value)
32193 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32194 * intl/eval-plural.h (plural_eval): Likewise.
32195 * intl/finddomain.c (_nl_find_domain): Likewise.
32196 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32197 (_nl_load_domain, _nl_find_msg): Likewise.
32198 (internal_function): Remove definition.
32199 * intl/loadinfo.h (internal_function): Likewise.
32200 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32201 internal_function.
32202 * intl/localealias.c (internal_function): Remove definition.
32203 (read_alias_file): Remove internal_function.
32204 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32205 * intl/plural-exp.h (internal_function): Remove definition.
32206 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32207 internal_function.
32208 * intl/plural.c: Regenerate.
32209 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32210 * locale/coll-lookup.c (__collidx_table_lookup)
32211 (__collseq_table_lookup): Likewise.
32212 * locale/coll-lookup.h (__collidx_table_lookup)
32213 (__collseq_table_lookup): Likewise.
32214 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32215 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32216 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32217 (_nl_unload_locale): Likewise.
32218 * locale/localeinfo.h (struct __locale_data): Remove
32219 internal_function from cleanup member.
32220 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32221 (_nl_remove_locale, _nl_load_locale_from_archive)
32222 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32223 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32224 (_nl_cleanup_time): Remove internal_function.
32225 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32226 (_nl_parse_alt_digit): Likewise.
32227 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32228 (_nl_select_era_entry): Likewise.
32229 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32230 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32231 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32232 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32233 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32234
32235 2017-08-31 Florian Weimer <fweimer@redhat.com>
32236
32237 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32238 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32239 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32240 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32241 Likewise.
32242 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32243 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32244 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32245 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32246 Likewise.
32247 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32248
32249 2017-08-31 Florian Weimer <fweimer@redhat.com>
32250
32251 * misc/getttyent.c (skip, value): Remove internal_function.
32252 * misc/syslog.c (openlog_internal): Likewise.
32253 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32254
32255 2017-08-31 Florian Weimer <fweimer@redhat.com>
32256
32257 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32258 (__nss_rewrite_field): Remove internal_function.
32259 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32260 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32261 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32262 * nss/nsswitch.c (nss_parse_file, nss_getline)
32263 (nss_parse_service_list, nss_new_service): Likewise.
32264 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32265 * nss/valid_field.c (__nss_valid_field): Likewise.
32266 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32267
32268 2017-08-31 Florian Weimer <fweimer@redhat.com>
32269
32270 * malloc/arena.c (__malloc_fork_lock_parent)
32271 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32272 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32273 internal_function from defintions.
32274 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32275 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32276 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32277 internal_function from declarations.
32278 * malloc/malloc.c (internal_function): Do not define.
32279 (mem2mem_check): Remove internal_function from declaration.
32280 (munmap_chunk, mremap_chunk): Remove internal_function.
32281 * malloc/mtrace.c (tr_where): Likewise.
32282
32283 2017-08-31 Florian Weimer <fweimer@redhat.com>
32284
32285 * include/rpc/pmap_clnt.h (__get_socket): Remove
32286 internal_function.
32287 * sunrpc/auth_des.c (synchronize): Likewise.
32288 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32289 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32290 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32291 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32292 (key_call): Likewise.
32293 * sunrpc/pm_getport.c (__get_socket): Likewise.
32294 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32295 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32296 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32297 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32298 (invalidate): Likewise.
32299 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32300 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32301 (set_input_fragment, get_input_bytes): Likewise.
32302
32303 2017-08-31 Florian Weimer <fweimer@redhat.com>
32304
32305 * malloc/malloc.c (_int_free): Remove locked variable and related
32306 asserts.
32307
32308 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32309
32310 [BZ #22051]
32311 * Makerules (build-module-helper-objlist): Filter out
32312 $(elf-objpfx)sofini.os.
32313 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32314 needed.
32315
32316 2017-08-31 Florian Weimer <fweimer@redhat.com>
32317
32318 * libio/fcloseall.c: Assume weak_alias is defined.
32319 * libio/feof.c: Likewise.
32320 * libio/fileno.c: Likewise.
32321 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32322 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32323 definitions.
32324 (_IO_file_open): Call __open directly.
32325 (_IO_new_file_sync): Assume ESPIPE is defined.
32326 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32327 (_IO_new_file_write): Call __write directly.
32328 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32329 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32330 * libio/genops.c: Assume _LIBC is defined.
32331 (save_for_backup): Remove internal_function.
32332 * libio/getc.c: Assume weak_alias is defined.
32333 * libio/getwc.c: Likewise.
32334 * libio/iofclose.c: Assume _LIBC is defined.
32335 * libio/iofdopen.c: Likewise.
32336 (_IO_fcntl): Remove macro definition.
32337 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32338 Call __fcntl directly.
32339 * libio/iofflush.c: Assume weak_alias is defined.
32340 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32341 defined.
32342 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32343 * libio/iofgets.c: Likewise.
32344 * libio/iofopen.c: Assume _LIBC is defined.
32345 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32346 * libio/iofputs.c: Assume weak_alias is defined.
32347 * libio/iofread.c: Likewise.
32348 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32349 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32350 * libio/ioftell.c: Assume weak_alias is defined.
32351 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32352 * libio/iofwide.c: Assume _LIBC is defined.
32353 (_IO_fwide): Drop SHARED conditional because it is implied by
32354 SHLIB_COMPAT.
32355 * libio/iofwrite.c: Assume weak_alias is defined.
32356 * libio/iogetdelim.c: Likewise.
32357 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32358 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32359 (_IO_getwline): Call __wmemcpy directly.
32360 * libio/iopopen.c: Assume _LIBC is defined.
32361 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32362 (_IO_close): Remove macro definitions.
32363 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32364 _exit directly.
32365 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32366 directly.
32367 * libio/ioputs.c: Assume weak_alias is defined.
32368 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32369 * libio/iosetbuffer.c: Assume weak_alias is defined.
32370 * libio/iosetvbuf.c: Likewise.
32371 * libio/ioungetc.c: Likewise.
32372 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32373 libc_hidden_def, libc_hidden_weak, NULL are defined.
32374 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32375 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32376 defined.
32377 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32378 definitions.
32379 (_IO_old_file_init_internal): Drop SHARED conditional because it
32380 is implied by SHLIB_COMPAT.
32381 (_IO_old_file_fopen): Call __open directly.
32382 (_IO_old_file_sync): Assume ESPIPE is defined.
32383 (_IO_old_file_write): Call __write directly.
32384 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32385 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32386 Call __fcntl directly.
32387 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32388 (_IO_old_fgetpos): Assume EIO is defined.
32389 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32390 (_IO_old_fgetpos64): Assume EIO is defined.
32391 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32392 (_IO_old_fsetpos): Assume EIO is defined.
32393 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32394 (_IO_old_fsetpos64): Assume EIO is defined.
32395 * libio/oldiopopen.c: Assume _LIBC is defined.
32396 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32397 (_IO_close): Remove macro definitions.
32398 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32399 directly.
32400 (_IO_old_proc_close): Call __close, __waitpid directly.
32401 * libio/put.c: Assume weak_alias is defined.
32402 * libio/stdfiles.c: Assume _LIBC is defined.
32403 * libio/stdio.c: Likewise.
32404 * libio/wfileops.c: Likewise.
32405 (_IO_wfile_sync): Assume ESPIPE is defined.
32406 * libio/wgenops.c: Assume _LIBC is defined.
32407 (save_for_wbackup): Remove internal_function.
32408
32409 2017-08-31 Florian Weimer <fweimer@redhat.com>
32410
32411 * malloc/malloc.c (top_check): Change return type to void. Remove
32412 internal_function.
32413 * malloc/hooks.c (top_check): Likewise.
32414 (malloc_check, realloc_check, memalign_check): Adjust.
32415
32416 2017-08-30 Joseph Myers <joseph@codesourcery.com>
32417
32418 [BZ #21457]
32419 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32420 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32421 sigcontext and namespace requirements.
32422 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32423 * sysdeps/m68k/sys/ucontext.h: Likewise.
32424 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32425 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32426 <bits/sigcontext.h>.
32427 (__ctx): Define earlier.
32428 (mcontext_t): Define structure contents rather than using struct
32429 sigcontext.
32430 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32431 __glibc_reserved1 instead of __reserved.
32432 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32433 <bits/sigcontext.h>.
32434 (__ctx): Define earlier.
32435 (mcontext_t): Define structure contents rather than using struct
32436 sigcontext.
32437 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32438 mcontext_t instead of struct sigcontext.
32439 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32440 <bits/sigcontext.h>.
32441 (__ctx): Define earlier.
32442 (mcontext_t): Define structure contents rather than using struct
32443 sigcontext.
32444 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32445 <bits/sigcontext.h>.
32446 (__ctx): Define earlier.
32447 (mcontext_t): Define structure contents rather than using struct
32448 sigcontext.
32449 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32450 mcontext_t instead of struct sigcontext.
32451 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32452 mcontext_t instead of struct sigcontext.
32453 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32454 <bits/sigcontext.h>.
32455 (__ctx): New macro.
32456 (struct __ia64_fpreg_mcontext): New type.
32457 (mcontext_t): Define structure contents rather than using struct
32458 sigcontext.
32459 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32460 (uc_sigmask): Define using __ctx.
32461 (uc_stack): Likewise.
32462 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32463 <bits/sigcontext.h>.
32464 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32465 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32466 <bits/sigcontext.h>.
32467 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32468 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32469 <bits/sigcontext.h>.
32470 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32471 <bits/sigcontext.h>.
32472 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32473 <bits/sigcontext.h>.
32474 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32475 <bits/sigcontext.h>.
32476 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32477 <bits/sigcontext.h>.
32478 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32479 <bits/sigcontext.h>.
32480 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32481 <bits/sigcontext.h>.
32482 (__ctx): Define earlier.
32483 (mcontext_t): Define structure contents rather than using struct
32484 sigcontext.
32485 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32486 <bits/sigcontext.h>. Include <bits/types.h>.
32487 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32488 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32489 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32490 (test-xfail-UNIX98/signal.h/conform): Likewise.
32491 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32492 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32493 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32494 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32495 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32496 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32497 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32498 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32499 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32500
32501 2017-08-30 Florian Weimer <fweimer@redhat.com>
32502
32503 * malloc/dynarray_emplace_enlarge.c
32504 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32505 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32506 * malloc/tst-dynarray.c (test_long_overflow): New function.
32507 (do_test): Call it.
32508
32509 2017-08-30 Florian Weimer <fweimer@redhat.com>
32510
32511 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32512 (set_arena_corrupt): Remove definitions.
32513 (mtrim): Do not check for corrupt arena.
32514 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32515 Likewise.
32516
32517 2017-08-30 Florian Weimer <fweimer@redhat.com>
32518
32519 [BZ #21754]
32520 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32521 check_action.
32522 (ptmalloc_init): Do not set or use check_action.
32523 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32524 call to malloc_printerr. Remove return statement.
32525 (free_check): Likewise. Remove arena unlock.
32526 (top_check): Update comment. Adjust call to malloc_printerr.
32527 Remove heap repair code.
32528 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32529 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32530 (sysmalloc): Adjust call to malloc_printerr.
32531 (munmap_chunk, __libc_realloc): Likewise. Remove return
32532 statement.
32533 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32534 Remove errout label and corresponding gotos.
32535 (_int_free): Likewise. Remove arena unlock.
32536 (do_set_mallopt_check): Do not set check_action.
32537 (malloc_printerr): Adjust parameter list. Do not mark arena as
32538 corrupt.
32539 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32540 comment.
32541 * manual/probes.texi (Memory Allocation Probes): Remove
32542 memory_mallopt_check_action.
32543
32544 2017-08-30 Steve Ellcey <sellcey@cavium.com>
32545
32546 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32547 Use pointer to uint64_t instead of long int for sp.
32548
32549 2017-08-30 Florian Weimer <fweimer@redhat.com>
32550
32551 [BZ #21754]
32552 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32553 without printing a backtrace. Do not leak any information in the
32554 error message.
32555 * manual/memory.texi (Heap Consistency Checking): Update.
32556 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32557
32558 2017-08-30 Florian Weimer <fweimer@redhat.com>
32559
32560 Do not scale NPTL tests with available number of CPUs.
32561 * nptl/tst-cond16.c (count): Set to constant value of 8.
32562 * nptl/tst-cond18.c (count): Likewise.
32563
32564 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32565
32566 [BZ #22035]
32567 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32568 Define to take a second argument that is a macro that
32569 concatentates a suffix, not the suffix itself.
32570 (__CONCAT_d): New macro.
32571 (__CONCAT_f): Likewise.
32572 (__CONCAT_l): Likewise.
32573
32574 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32575
32576 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32577 by child.
32578
32579 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32580 Aurelien Jarno <aurelien@aurel32.net>
32581 Maciej W. Rozycki <macro@imgtec.com>
32582
32583 [BZ #21956]
32584 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32585 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32586 `mips16-syscall6' and `mips16-syscall7'.
32587 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32588 (CFLAGS-mips16-syscall7.c): Remove.
32589 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32590 Remove `__mips16_syscall5', `__mips16_syscall6' and
32591 `__mips16_syscall7'.
32592 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32593 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32594 `__mips_syscall_return'.
32595 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32596 (__mips16_syscall1): Likewise.
32597 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32598 (__mips16_syscall2): Likewise.
32599 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32600 (__mips16_syscall3): Likewise.
32601 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32602 (__mips16_syscall4): Likewise.
32603 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32604 Remove.
32605 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32606 Remove.
32607 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32608 Remove.
32609 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32610 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32611 `__mips16_syscall5'. Remove prototype.
32612 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32613 `__mips16_syscall6'. Remove prototype.
32614 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32615 `__mips16_syscall7'. Remove prototype.
32616 (__nomips16, __mips16_syscall_return): Move to...
32617 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32618 (__nomips16, __mips_syscall_return): ... here.
32619 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32620 `__mips16_syscall_return' to `__mips_syscall_return'.
32621 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32622 `internal_syscall##nr'.
32623 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32624 `internal_syscall##nr'.
32625 (FORCE_FRAME_POINTER): Remove.
32626 (__mips_syscall5): New prototype.
32627 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32628 (__mips_syscall6): New prototype.
32629 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32630 (__mips_syscall7): New prototype.
32631 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32632 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32633 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32634 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32635 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32636 (sysdep_routines): Add libc-do-syscall.
32637 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32638 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32639
32640 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32641
32642 [BZ #21672]
32643 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32644 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32645 (advise_stack_range): New function.
32646 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32647 stack non required to advise_stack_range at allocatestack.c
32648
32649 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32650
32651 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32652
32653 2017-08-29 Florian Weimer <fweimer@redhat.com>
32654
32655 [BZ #22026]
32656 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32657 __end_fct. Mangle __end_fct after setting it to NULL.
32658 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32659 (modules-names, modules-names-tests): Add
32660 tst-gconv-init-failure-mod.
32661 (gconv-modules): New target.
32662 (tst-gconv-init-failure-mod.so): Link against libsupport.
32663 (tst-gconv-init-failure): Depend on gconv-modules,
32664 tst-gconv-init-failure-mod.so.
32665 * iconv/tst-gconv-init-failure-mod.c: New file.
32666 * iconv/tst-gconv-init-failure.c: Likewise.
32667 * iconv/test-gconv-modules: Likewise.
32668
32669 2017-08-29 Florian Weimer <fweimer@redhat.com>
32670
32671 [BZ #22025]
32672 * iconv/gconv_db.c (free_derivation): Remove redundant
32673 parentheses.
32674 (gen_steps): Unconditionally mangle __btowc_fct after
32675 initialization.
32676 (increment_counter): Likewise. Do not call init_fct for internal
32677 modules.
32678
32679 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32680
32681 [BZ #22028]
32682 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32683 (_MSUF_): Remove macro.
32684 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32685 Likewise.
32686 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32687 (__REDIRFROM_X): New macro.
32688 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32689 Likewise.
32690 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32691 (__REDIRTO_X): Likewise.
32692 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32693 arguments.
32694 (__MATH_REDIRCALL_2): Likewise.
32695 (__MATH_REDIRCALL_INTERNAL): Likewise.
32696 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32697 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32698 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32699 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32700 * math/test-finite-macros.c: New file.
32701 * math/Makefile (tests): Add test-finite-macros.
32702 (CFLAGS-test-finite-macros.c): New variable.
32703
32704 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
32705 Jeff Law <law@redhat.com>
32706
32707 [BZ #22025]
32708 Mangle NULL pointers in iconv/gconv.
32709 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32710 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32711 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32712 is non-NULL before demangling the end_fct. Check for NULL
32713 end_fct after demangling.
32714 (__gconv_release_step): Demangle the end_fct before checking
32715 it for NULL. Remove assert on __shlibc_handle != NULL.
32716 (gen_steps): Don't check btowc_fct for NULL before mangling.
32717 Demangle init_fct before checking for NULL.
32718 (increment_counter): Likewise.
32719 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32720 end_fct for NULL before mangling.
32721 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32722 for NULL.
32723
32724 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
32725
32726 [BZ #21971]
32727 * locale/iso-639.def: add Morisyen.
32728
32729 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32730
32731 [BZ #21930]
32732 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32733 (iszero): New C++ implementation that does not use
32734 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32735 signaling nans are enabled, since __builtin_types_compatible_p
32736 is a C-only feature.
32737 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32738 defined, include ieee754_float128.h for access to the union and
32739 member ieee854_float128.ieee.
32740 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32741 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32742 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32743 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32744 options of test-math-zero on powerpc64le.
32745
32746 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32747
32748 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32749 Change double to float.
32750
32751 2017-08-28 Joseph Myers <joseph@codesourcery.com>
32752
32753 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32754 unconditional.
32755 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32756 conditional code; define contents only for [LIBM_SVID_COMPAT].
32757
32758 2017-08-28 Florian Weimer <fweimer@redhat.com>
32759
32760 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32761 (abi-lp64_be-options): Remove.
32762 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32763 (abi-hard-options): Likewise.
32764 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32765 (abi-o32_hard-options, abi-o32_soft_2008-options)
32766 (abi-o32_hard_2008-options, abi-n32_soft-options)
32767 (abi-n32_hard-options, abi-n32_soft_2008-options)
32768 (abi-n32_hard_2008-options, abi-n64_soft-options)
32769 (abi-n64_hard-options, abi-n64_soft_2008-options)
32770 (abi-n64_hard_2008-options): Likewise.
32771 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32772 (abi-64-v1-options, abi-64-v2-options): Likewise.
32773 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32774 (abi-64-options): Likewise.
32775 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32776 (abi-64-options): Likewise.
32777 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32778 (abi-64-options): Likewise.
32779 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32780 (abi-64-options, abi-x32-options): Likewise.
32781
32782 2017-08-28 Florian Weimer <fweimer@redhat.com>
32783
32784 Store supported list of SYS_* system calls in the source tree.
32785 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32786 (bits/syscall.h): Generate from list file.
32787 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32788 [$(subdir) = misc] (tests): Add tst-syscall-list.
32789 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32790 [$(subdir) = misc] (tst-syscall-list-macros.list)
32791 [$(subdir) = misc] (tst-syscall-list-nr.list)
32792 (tst-syscall-list-sys.list): Helper targets for new
32793 tst-syscall-list test.
32794 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32795 tst-syscall-list.sh.
32796 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32797 target. Do not include bits/syscall.d.
32798 [$(subdir) = misc] (generated): Do not update.
32799 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32800 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32801 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32802 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32803
32804 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32805
32806 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32807 (tst-cxa_atexit, tst-on_exit): Likewise.
32808 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32809 tst-cxa_atexit, and tst-on_exit.
32810 * stdlib/tst-atexit-common.c: New file.
32811 * stdlib/tst-atexit.c: New file.
32812 * stdlib/tst-at_quick_exit.c: New file.
32813 * stdlib/tst-cxa_atexit.c: New file.
32814 * stdlib/tst-on_exit.c: New file.
32815
32816 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32817
32818 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
32819 * mach/stack_chk_fail_local.c: New file.
32820 * hurd/stack_chk_fail_local.c: New file.
32821 * mach/Machrules ($(interface-library)-routines): Add
32822 stack_chk_fail_local.
32823 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32824 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32825 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32826 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32827 * hurd/Makefile (CFLAGS-hurdstartup.o,
32828 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
32829
32830 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32831
32832 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32833 (index_cpu_*, index_arch_*): Removed.
32834
32835 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32836
32837 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32838 Use uint64_t instead of unsigned long.
32839
32840 2017-08-25 Joseph Myers <joseph@codesourcery.com>
32841
32842 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32843 [__HAVE_DISTINCT_FLOAT128].
32844
32845 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32846 of <bits/math-finite.h>.
32847 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32848 inclusion of <bits/math-finite.h>.
32849 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32850 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32851 __NO_LONG_DOUBLE_MATH].
32852 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32853 (__MATH_REDIRCALL_2): Likewise.
32854 (__MATH_REDIRCALL_INTERNAL): Likewise.
32855 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32856 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32857 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32858
32859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32860 Remove file.
32861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32862 Likewise.
32863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32864 Likewise.
32865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32866 Likewise.
32867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32868 Likewise.
32869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32870 Likewise.
32871 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32872 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32873 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32874 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32876 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32877 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32878 w_sqrtf_compat-ppc32.
32879
32880 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32881
32882 * math/math.h [defined __cplusplus] (issignaling): In the long
32883 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32884 is not defined. Call __issignaling, otherwise.
32885
32886 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32887
32888 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32889 syscall definitions and replace __builtin_expect with __glibc_likely.
32890 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32891 syscall.
32892 (SYSCALL_CANCELLABLE): Removedefinition
32893 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32894 definition.
32895 (PSEUDO_END): Likewise.
32896 [IS_IN (libpthread)] (CENABLE): Likewise.
32897 [IS_IN (libpthread)] (CDISABLE): Likewise.
32898 [IS_IN (libc)] (CENABLE): Likewise.
32899 [IS_IN (libc)] (CENABLE): Likewise.
32900 [IS_IN (librt)] (CDISABLE): Likewise.
32901 [IS_IN (librt)] (CDISABLE): Likewise.
32902 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32903 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32904 definition.
32905 (PSEUDO_END): Likewise.
32906 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32907 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32908 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32909 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32910 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32911 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32912 (CENABLE): Likewise.
32913 (CDISABLE): Likewise.
32914 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32915 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32916 defintion.
32917 (PSEUDO_END): Likewise.
32918 [IS_IN (libpthread)] (CENABLE): Likewise.
32919 [IS_IN (libpthread)] (CDISABLE): Likewise.
32920 [IS_IN (libc)] (CENABLE): Likewise.
32921 [IS_IN (libc)] (CENABLE): Likewise.
32922 [IS_IN (librt)] (CDISABLE): Likewise.
32923 [IS_IN (librt)] (CDISABLE): Likewise.
32924 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32925 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32926 definition.
32927 (PSEUDO_END): Likewise.
32928 [IS_IN (libpthread)] (CENABLE): Likewise.
32929 [IS_IN (libpthread)] (CDISABLE): Likewise.
32930 [IS_IN (libc)] (CENABLE): Likewise.
32931 [IS_IN (libc)] (CENABLE): Likewise.
32932 [IS_IN (librt)] (CDISABLE): Likewise.
32933 [IS_IN (librt)] (CDISABLE): Likewise.
32934 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32935 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32936 definition.
32937 (PSEUDO_END): Likewise.
32938 [IS_IN (libpthread)] (CENABLE): Likewise.
32939 [IS_IN (libpthread)] (CDISABLE): Likewise.
32940 [IS_IN (libc)] (CENABLE): Likewise.
32941 [IS_IN (libc)] (CENABLE): Likewise.
32942 [IS_IN (librt)] (CDISABLE): Likewise.
32943 [IS_IN (librt)] (CDISABLE): Likewise.
32944 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32945 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32946 definition.
32947 (PSEUDO_END): Likewise.
32948 [IS_IN (libpthread)] (CENABLE): Likewise.
32949 [IS_IN (libpthread)] (CDISABLE): Likewise.
32950 [IS_IN (libc)] (CENABLE): Likewise.
32951 [IS_IN (libc)] (CENABLE): Likewise.
32952 [IS_IN (librt)] (CDISABLE): Likewise.
32953 [IS_IN (librt)] (CDISABLE): Likewise.
32954 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32955 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32956 definition.
32957 (PSEUDO_END): Likewise.
32958 [IS_IN (libpthread)] (CENABLE): Likewise.
32959 [IS_IN (libpthread)] (CDISABLE): Likewise.
32960 [IS_IN (libc)] (CENABLE): Likewise.
32961 [IS_IN (libc)] (CENABLE): Likewise.
32962 [IS_IN (librt)] (CDISABLE): Likewise.
32963 [IS_IN (librt)] (CDISABLE): Likewise.
32964 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32965 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32966 definition.
32967 (PSEUDO_END): Likewise.
32968 [IS_IN (libpthread)] (CENABLE): Likewise.
32969 [IS_IN (libpthread)] (CDISABLE): Likewise.
32970 [IS_IN (libc)] (CENABLE): Likewise.
32971 [IS_IN (libc)] (CENABLE): Likewise.
32972 [IS_IN (librt)] (CDISABLE): Likewise.
32973 [IS_IN (librt)] (CDISABLE): Likewise.
32974 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32975 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32976 Remove definition.
32977 (PSEUDO_END): Likewise.
32978 [IS_IN (libpthread)] (CENABLE): Likewise.
32979 [IS_IN (libpthread)] (CDISABLE): Likewise.
32980 [IS_IN (libc)] (CENABLE): Likewise.
32981 [IS_IN (libc)] (CENABLE): Likewise.
32982 [IS_IN (librt)] (CDISABLE): Likewise.
32983 [IS_IN (librt)] (CDISABLE): Likewise.
32984 (SINGLE_THREAD_P): Likewise.
32985 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32986 definition.
32987 (PSEUDO_END): Likewise.
32988 [IS_IN (libpthread)] (CENABLE): Likewise.
32989 [IS_IN (libpthread)] (CDISABLE): Likewise.
32990 [IS_IN (libc)] (CENABLE): Likewise.
32991 [IS_IN (libc)] (CENABLE): Likewise.
32992 [IS_IN (librt)] (CDISABLE): Likewise.
32993 [IS_IN (librt)] (CDISABLE): Likewise.
32994 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32995 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32996 definition.
32997 (PSEUDO_END): Likewise.
32998 [IS_IN (libpthread)] (CENABLE): Likewise.
32999 [IS_IN (libpthread)] (CDISABLE): Likewise.
33000 [IS_IN (libc)] (CENABLE): Likewise.
33001 [IS_IN (libc)] (CENABLE): Likewise.
33002 [IS_IN (librt)] (CDISABLE): Likewise.
33003 [IS_IN (librt)] (CDISABLE): Likewise.
33004 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33005 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
33006 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33007 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
33008 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
33009 definition.
33010 (PSEUDO_END): Likewise.
33011 [IS_IN (libpthread)] (CENABLE): Likewise.
33012 [IS_IN (libpthread)] (CDISABLE): Likewise.
33013 [IS_IN (libc)] (CENABLE): Likewise.
33014 [IS_IN (libc)] (CENABLE): Likewise.
33015 [IS_IN (librt)] (CDISABLE): Likewise.
33016 [IS_IN (librt)] (CDISABLE): Likewise.
33017 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33018 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
33019 definition.
33020 (PSEUDO_END): Likewise.
33021 [IS_IN (libpthread)] (CENABLE): Likewise.
33022 [IS_IN (libpthread)] (CDISABLE): Likewise.
33023 [IS_IN (libc)] (CENABLE): Likewise.
33024 [IS_IN (libc)] (CENABLE): Likewise.
33025 [IS_IN (librt)] (CDISABLE): Likewise.
33026 [IS_IN (librt)] (CDISABLE): Likewise.
33027 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33028 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
33029 definition.
33030 (PSEUDO_END): Likewise.
33031 [IS_IN (libpthread)] (CENABLE): Likewise.
33032 [IS_IN (libpthread)] (CDISABLE): Likewise.
33033 [IS_IN (libc)] (CENABLE): Likewise.
33034 [IS_IN (libc)] (CENABLE): Likewise.
33035 [IS_IN (librt)] (CDISABLE): Likewise.
33036 [IS_IN (librt)] (CDISABLE): Likewise.
33037 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
33039 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33040 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
33041 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
33042 definition.
33043 (PSEUDO_END): Likewise.
33044 [IS_IN (libpthread)] (CENABLE): Likewise.
33045 [IS_IN (libpthread)] (CDISABLE): Likewise.
33046 [IS_IN (libc)] (CENABLE): Likewise.
33047 [IS_IN (libc)] (CENABLE): Likewise.
33048 [IS_IN (librt)] (CDISABLE): Likewise.
33049 [IS_IN (librt)] (CDISABLE): Likewise.
33050 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33051 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
33052 definition.
33053 (PSEUDO_END): Likewise.
33054 [IS_IN (libpthread)] (CENABLE): Likewise.
33055 [IS_IN (libpthread)] (CDISABLE): Likewise.
33056 [IS_IN (libc)] (CENABLE): Likewise.
33057 [IS_IN (libc)] (CENABLE): Likewise.
33058 [IS_IN (librt)] (CDISABLE): Likewise.
33059 [IS_IN (librt)] (CDISABLE): Likewise.
33060 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33061
33062 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33063
33064 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
33065
33066 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33067
33068 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33069
33070 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33071
33072 [BZ #21982]
33073 * string/stratcliff.c (do_test): Declare size, nchars, inner,
33074 middle and outer with size_t instead of int. Repleace %d and
33075 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
33076 "MAX (outer, nchars - 64)" to support unsigned outer and
33077 nchars. Also exit loop when outer == 0.
33078
33079 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33080
33081 * include/fcntl.h (__fcntl_nocancel): Remove definition.
33082 * include/signal.h (__sigsuspend_nocancel): Likewise.
33083 * include/time.h (__nanosleep_nocancel): Likewise.
33084 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
33085 * login/utmp_file.c: Include non cancellable syscall header.
33086 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
33087 prototype.
33088
33089 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33090
33091 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
33092 .byte sequences with AVX512F instructions.
33093 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
33094 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
33095 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33096 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
33097 Likewise.
33098 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
33099 Likewise.
33100
33101 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
33102 Steve Ellcey <sellcey@cavium.com>
33103
33104 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
33105 Use PTR_REG macro in cmp instruction.
33106
33107 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33108
33109 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
33110 Change the return type of the ifunc resolver to match the return
33111 type of the target function.
33112
33113 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33114
33115 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
33116 (preadv64): Likewise.
33117 (pwrite64(: Likewise.
33118 (pwritev64): Likewise.
33119
33120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33121 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
33122 (LOAD_ARGS_0): Likewise.
33123 (LOAD_ARGS_1): Likewise.
33124 (LOAD_ARGS_2): Likewise.
33125 (LOAD_ARGS_3): Likewise.
33126 (LOAD_ARGS_4): Likewise.
33127 (LOAD_ARGS_5): Likewise.
33128 (LOAD_ARGS_6): Likewise.
33129 (LOAD_REGS_0): Likewise.
33130 (LOAD_REGS_1): Likewise.
33131 (LOAD_REGS_2): Likewise.
33132 (LOAD_REGS_3): Likewise.
33133 (LOAD_REGS_4): Likewise.
33134 (LOAD_REGS_5): Likewise.
33135 (LOAD_REGS_6): Likewise.
33136 (ASM_ARGS_0): Likewise.
33137 (ASM_ARGS_1): Likewise.
33138 (ASM_ARGS_2): Likewise.
33139 (ASM_ARGS_3): Likewise.
33140 (ASM_ARGS_4): Likewise.
33141 (ASM_ARGS_5): Likewise.
33142 (ASM_ARGS_6): Likewise.
33143 (LOAD_ARGS_TYPES_1): Likewise.
33144 (LOAD_ARGS_TYPES_2): Likewise.
33145 (LOAD_ARGS_TYPES_3): Likewise.
33146 (LOAD_ARGS_TYPES_4): Likewise.
33147 (LOAD_ARGS_TYPES_5): Likewise.
33148 (LOAD_ARGS_TYPES_6): Likewise.
33149 (LOAD_REGS_TYPES_1): Likewise.
33150 (LOAD_REGS_TYPES_2): Likewise.
33151 (LOAD_REGS_TYPES_3): Likewise.
33152 (LOAD_REGS_TYPES_4): Likewise.
33153 (LOAD_REGS_TYPES_5): Likewise.
33154 (LOAD_REGS_TYPES_6): Likewise.
33155 (TYPEFY): New define.
33156 (ARGIFY): Likewise.
33157 (internal_syscall0): Likewise.
33158 (internal_syscall1): Likewise.
33159 (internal_syscall2): Likewise.
33160 (internal_syscall3): Likewise.
33161 (internal_syscall4): Likewise.
33162 (internal_syscall5): Likewise.
33163 (internal_syscall6): Likewise.
33164 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33165 (INTERNAL_SYSCALL_NCS): Remove define.
33166 (internal_syscall1): Add define.
33167
33168 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33169
33170 * math/w_remainder_compat.c: Remove duplicate inclusion of
33171 math-svid-compat.h.
33172 * math/w_remainderf_compat.c: Likewise.
33173 * math/w_remainderl_compat.c: Likewise.
33174
33175 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33176
33177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33178
33179 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33180
33181 [BZ #21684]
33182 * math/tgmath.h (__floating_type): Simplify definitions.
33183 (__real_integer_type): New macro.
33184 (__complex_integer_type): Likewise.
33185 (__expr_is_real): Likewise.
33186 (__tgmath_real_type_sub): Update comment to describe handling of
33187 complex types.
33188 (__tgmath_complex_type_sub): New macro.
33189 (__tgmath_complex_type): Likewise.
33190 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33191 (__TGMATH_CF128): Use __expr_is_real.
33192 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33193 __expr_is_real.
33194 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33195 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33196 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33197 integer types.
33198
33199 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33200
33201 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33202 macro.
33203 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33204 alias.
33205 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33206 Likewise.
33207
33208 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33209 nanosleep_not_cancel with __nanosleep_nocancel.
33210 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33211 (__nanosleep_nocancel): New macro.
33212 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33213 function.
33214 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33215 macro.
33216 (__nanosleep_nocancel): New prototype.
33217
33218 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33219 pause_not_cancel with __pause_nocancel.
33220 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33221 (__pause_nocancel): New macro.
33222 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33223 macro.
33224 (__pause_nocancel): New prototype.
33225 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33226
33227 2017-08-22 Martin Sebor <msebor@redhat.com>
33228
33229 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33230 to return a pointer to the same type as the target function.
33231
33232 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33233
33234 [BZ #18822]
33235 [BZ #21986]
33236 * include/printf.h (__printf_fphex): Add attribute_hidden.
33237 (__guess_grouping): New prototype.
33238 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33239 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33240 libc_hidden_proto and libc_hidden_def.
33241 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33242 (__vstrfmon_l): Remove the third argument passed to
33243 __guess_grouping.
33244
33245 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33246
33247 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33248 definition for issignaling that does not rely on __MATH_TG,
33249 since __MATH_TG uses __builtin_types_compatible_p, which is only
33250 available in C mode.
33251 (CFLAGS-test-math-issignaling.cc): New variable.
33252 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33253 * math/test-math-issignaling.cc: New test for C++ implementation
33254 of type-generic issignaling.
33255 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33256 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33257 options of test-math-issignaling on powerpc64le.
33258
33259 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33260
33261 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33262 building libc.a.
33263 (hidden_proto): Likewise.
33264 (hidden_tls_proto): Likewise.
33265 (__hidden_proto): Likewise.
33266
33267 2017-08-22 Florian Weimer <fweimer@redhat.com>
33268
33269 math: Statically link tests of internal functionality.
33270 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33271 atest-exp2.
33272 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33273 (gmp-objs): Remove assignment.
33274 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33275
33276 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33277
33278 [BZ #21987]
33279 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33280 and copy to ...
33281 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33282 ... here.
33283 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33284 ... and here.
33285
33286 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33287 variable definitions above inclusion of ../Rules.
33288
33289 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33290
33291 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33292 case calling __builtin_unreachable.
33293
33294 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33295
33296 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33297 __waitpid_nocancel.
33298 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33299 (__waitpid_nocancel): New macro.
33300 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33301 macro.
33302 (__waitpid_nocancel): Replace macro with a function.
33303 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33304 function.
33305
33306 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33307 __fcntl_nocancel.
33308 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33309 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33310
33311 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33312 __writev_nocancel_nostatus.
33313 (write_call_graph): Likewise.
33314 (write_bb_counts): Likewise.
33315 * resolv/herror.c (herror): Likewise.
33316 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33317 macro.
33318 (__writev_nocancel_nostatus): New macro.
33319 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33320 Remove macro.
33321 (__writev_nocancel_nostatus): New function.
33322
33323 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33324
33325 Revert:
33326 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33327
33328 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33329 building libc.a.
33330 (hidden_proto): Likewise.
33331 (hidden_tls_proto): Likewise.
33332 (__hidden_proto): Likewise.
33333
33334 [BZ #21973]
33335 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33336 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33338 Likewise.
33339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33340 Likewise.
33341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33342 Likewise.
33343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33344 Likewise.
33345 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33346 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33347 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33348 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33349 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33350 GLIBC_2.0 sqrtl symbol.
33351
33352 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33353 [__USE_MISC] (_LIB_VERSION): Likewise.
33354 [__USE_MISC] (struct exception): Likewise.
33355 [__USE_MISC] (matherr): Likewise.
33356 [__USE_MISC] (DOMAIN): Likewise.
33357 [__USE_MISC] (SING): Likewise.
33358 [__USE_MISC] (OVERFLOW): Likewise.
33359 [__USE_MISC] (UNDERFLOW): Likewise.
33360 [__USE_MISC] (TLOSS): Likewise.
33361 [__USE_MISC] (PLOSS): Likewise.
33362 [__USE_MISC] (HUGE): Likewise.
33363 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33364 * math/math-svid-compat.h: New file.
33365 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33366 and matherrl.
33367 * include/math.h [!_ISOMAC] (__matherr): Remove.
33368 * manual/arith.texi (FP Exceptions): Do not document matherr.
33369 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33370 (tests-internal): New variable.
33371 (install-lib): Do not add libieee.a.
33372 (non-lib.a): Likewise.
33373 (extra-objs): Do not add libieee.a and ieee-math.o.
33374 (CPPFLAGS-s_lib_version.c): Remove variable.
33375 ($(objpfx)libieee.a): Remove rule.
33376 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33377 * math/ieee-math.c: Remove.
33378 * math/libm-test-support.c (matherr): Remove.
33379 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33380 and license notices. Include <math-svid-compat.h> and
33381 <shlib-compat.h>.
33382 (matherr): Undefine as macro. Use compat_symbol_reference.
33383 (_LIB_VERSION): Likewise.
33384 * math/test-matherr-2.c: New file.
33385 * math/test-matherr-3.c: Likewise.
33386 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33387 declaration.
33388 (__kernel_standard_f): Likewise.
33389 (__kernel_standard_l): Likewise.
33390 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33391 <math_private.h>. Include <math-svid-compat.h>.
33392 (_LIB_VERSION): Undefine as macro.
33393 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33394 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33395 [LIBM_SVID_COMPAT], use compat_symbol.
33396 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33397 <math_private.h>. Include <math-svid-compat.h>.
33398 (matherr): Undefine as macro.
33399 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33400 compat_symbol.
33401 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33402 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33403 compat_symbol_reference.
33404 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33405 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33406 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33407 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33408 (MATHERR_D): Remove declaration.
33409 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33410 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33411 [LIBM_BUILD] (pmatherrf): Likewise.
33412 [LIBM_BUILD] (pmatherr): Likewise.
33413 [LIBM_BUILD] (pmatherrl): Likewise.
33414 (DOMAIN): Likewise.
33415 (SING): Likewise.
33416 (OVERFLOW): Likewise.
33417 (UNDERFLOW): Likewise.
33418 (TLOSS): Likewise.
33419 (PLOSS): Likewise.
33420 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33421 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33422 compat_symbol.
33423 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33424 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33425 compat_symbol.
33426 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33427 * math/w_acos_compat.c: Likewise.
33428 * math/w_acosf_compat.c: Likewise.
33429 * math/w_acosh_compat.c: Likewise.
33430 * math/w_acoshf_compat.c: Likewise.
33431 * math/w_acoshl_compat.c: Likewise.
33432 * math/w_acosl_compat.c: Likewise.
33433 * math/w_asin_compat.c: Likewise.
33434 * math/w_asinf_compat.c: Likewise.
33435 * math/w_asinl_compat.c: Likewise.
33436 * math/w_atan2_compat.c: Likewise.
33437 * math/w_atan2f_compat.c: Likewise.
33438 * math/w_atan2l_compat.c: Likewise.
33439 * math/w_atanh_compat.c: Likewise.
33440 * math/w_atanhf_compat.c: Likewise.
33441 * math/w_atanhl_compat.c: Likewise.
33442 * math/w_cosh_compat.c: Likewise.
33443 * math/w_coshf_compat.c: Likewise.
33444 * math/w_coshl_compat.c: Likewise.
33445 * math/w_exp10_compat.c: Likewise.
33446 * math/w_exp10f_compat.c: Likewise.
33447 * math/w_exp10l_compat.c: Likewise.
33448 * math/w_exp2_compat.c: Likewise.
33449 * math/w_exp2f_compat.c: Likewise.
33450 * math/w_exp2l_compat.c: Likewise.
33451 * math/w_fmod_compat.c: Likewise.
33452 * math/w_fmodf_compat.c: Likewise.
33453 * math/w_fmodl_compat.c: Likewise.
33454 * math/w_hypot_compat.c: Likewise.
33455 * math/w_hypotf_compat.c: Likewise.
33456 * math/w_hypotl_compat.c: Likewise.
33457 * math/w_j0_compat.c: Likewise.
33458 * math/w_j0f_compat.c: Likewise.
33459 * math/w_j0l_compat.c: Likewise.
33460 * math/w_j1_compat.c: Likewise.
33461 * math/w_j1f_compat.c: Likewise.
33462 * math/w_j1l_compat.c: Likewise.
33463 * math/w_jn_compat.c: Likewise.
33464 * math/w_jnf_compat.c: Likewise.
33465 * math/w_jnl_compat.c: Likewise.
33466 * math/w_lgamma_main.c: Likewise.
33467 * math/w_lgamma_r_compat.c: Likewise.
33468 * math/w_lgammaf_main.c: Likewise.
33469 * math/w_lgammaf_r_compat.c: Likewise.
33470 * math/w_lgammal_main.c: Likewise.
33471 * math/w_lgammal_r_compat.c: Likewise.
33472 * math/w_log10_compat.c: Likewise.
33473 * math/w_log10f_compat.c: Likewise.
33474 * math/w_log10l_compat.c: Likewise.
33475 * math/w_log2_compat.c: Likewise.
33476 * math/w_log2f_compat.c: Likewise.
33477 * math/w_log2l_compat.c: Likewise.
33478 * math/w_log_compat.c: Likewise.
33479 * math/w_logf_compat.c: Likewise.
33480 * math/w_logl_compat.c: Likewise.
33481 * math/w_pow_compat.c: Likewise.
33482 * math/w_powf_compat.c: Likewise.
33483 * math/w_powl_compat.c: Likewise.
33484 * math/w_remainder_compat.c: Likewise.
33485 * math/w_remainderf_compat.c: Likewise.
33486 * math/w_remainderl_compat.c: Likewise.
33487 * math/w_scalb_compat.c: Likewise.
33488 * math/w_scalbf_compat.c: Likewise.
33489 * math/w_scalbl_compat.c: Likewise.
33490 * math/w_sinh_compat.c: Likewise.
33491 * math/w_sinhf_compat.c: Likewise.
33492 * math/w_sinhl_compat.c: Likewise.
33493 * math/w_sqrt_compat.c: Likewise.
33494 * math/w_sqrtf_compat.c: Likewise.
33495 * math/w_sqrtl_compat.c: Likewise.
33496 * math/w_tgamma_compat.c: Likewise.
33497 * math/w_tgammaf_compat.c: Likewise.
33498 * math/w_tgammal_compat.c: Likewise.
33499 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33500 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33501 * sysdeps/ieee754/k_standard.c: Likewise.
33502 * sysdeps/ieee754/k_standardf.c: Likewise.
33503 * sysdeps/ieee754/k_standardl.c: Likewise.
33504 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33505 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33506 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33507 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33508 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33509 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33510 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33511 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33512 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33514 Likewise.
33515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33516 Likewise.
33517 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33519 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33520 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33521
33522 2017-08-21 Florian Weimer <fweimer@redhat.com>
33523
33524 [BZ #21864]
33525 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33526 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33527 Move before inclusion of ../Rules.
33528
33529 2017-08-21 Florian Weimer <fweimer@redhat.com>
33530
33531 [BZ #21972]
33532 * assert/assert.h (assert): Use static_cast (bool) for C++.
33533 Use the ternary operator in the warning branch for GNU C.
33534 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33535 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33536 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33537 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33538 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33539
33540 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33541
33542 [BZ #18822]
33543 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33544 (__syscall_clock_gettime): Add attribute_hidden.
33545 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33546 (__start_context): Likewise.
33547
33548 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33549
33550 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33551 building libc.a.
33552 (hidden_proto): Likewise.
33553 (hidden_tls_proto): Likewise.
33554 (__hidden_proto): Likewise.
33555
33556 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33557
33558 * include/libc-symbols.h (attribute_hidden): Enable hidden
33559 visibility in libc.a compiled with PIE.
33560
33561 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33562
33563 [BZ #18822]
33564 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33565 Add attribute_hidden.
33566
33567 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33568
33569 [BZ #21864]
33570 * Makerules (all-nonlib): Add $(others-extras).
33571 * catgets/Makefile (others-extras): New.
33572 * elf/Makefile (others-extras): Likewise.
33573 * nss/Makefile (others-extras): Likewise.
33574
33575 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33576
33577 [BZ #18822]
33578 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33579 * elf/dl-open.c: Include <libc-internal.h>.
33580 (__libc_multiple_libcs): Removed.
33581 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33582 <hp-timing.h>.
33583 * include/libc-internal.h (__libc_multiple_libcs): New.
33584 * misc/sbrk.c: Include <libc-internal.h>.
33585 (__libc_multiple_libcs): Removed.
33586
33587 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33588
33589 [BZ #18822]
33590 * grp/initgroups.c (__nss_group_database): Removed.
33591 (__nss_initgroups_database): Likewise.
33592 * nscd/gai.c (__nss_hosts_database): Likewise.
33593 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33594 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33595 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33596 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33597 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33598 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33599 attribute_hidden.
33600 * nss/nsswitch.c (__nss_database_custom): Define only if
33601 USE_NSCD is defined.
33602 (__nss_configure_lookup): Use __nss_database_custom only if
33603 USE_NSCD is defined.
33604 * nss/nsswitch.h (__nss_database_custom): Declare only if
33605 USE_NSCD is defined. Add attribute_hidden.
33606 (__nss_setent): Add attribute_hidden.
33607 (__nss_endent): Likewise.
33608 (__nss_getent_r): Likewise.
33609 (__nss_getent): Likewise.
33610 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33611
33612 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33613
33614 [BZ #18822]
33615 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33616 libc_hidden_proto and libc_hidden_def.
33617
33618 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33619
33620 [BZ #18822]
33621 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33622 Add libc_hidden_proto.
33623 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33624 Add libc_hidden_def.
33625
33626 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33627
33628 [BZ #21974]
33629 * gmon/Makefile (routines): Remove bb_init_func and
33630 bb_exit_func.
33631 (elide-routines.os): Removed.
33632 * gmon/bb_exit_func.c: Likewise.
33633 * gmon/bb_init_func.c: Likewise.
33634 * include/sys/gmon.h (__bb): Likewise.
33635 (__bb_init_func): Likewise.
33636 (__bb_exit_func): Likewise.
33637 * sysdeps/alpha/bb_init_func.S: Likewise.
33638
33639 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33640
33641 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33642 * include/setjmp.h (____longjmp_chk): Here. Add
33643 attribute_hidden.
33644
33645 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33646
33647 [BZ #18822]
33648 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33649 attribute_hidden.
33650 (__strspn_sse2): Likewise.
33651
33652 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33653
33654 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33655 (close_not_cancel_no_status): Likewise.
33656 (__close_nocancel): New macro.
33657 (__close_nocancel_nostatus): Likewise.
33658 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33659 macro.
33660 (close_not_cancel): Likewise.
33661 (close_not_cancel_no_status): Likewise.
33662 (__close_nocancel): New prototype.
33663 (__close_nocancel_nostatus): New function.
33664 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33665 * catgets/open_catalog.c (__open_catalog): Replace
33666 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33667 * gmon/gmon.c (write_gmon): Likewise.
33668 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33669 * intl/loadmsgcat.c (close): Likewise.
33670 * io/ftw.c (open_dir_stream): Likewise.
33671 (ftw_startup): Likewise.
33672 * libio/fileops.c (_IO_file_open): Likewise.
33673 (_IO_file_close_mmap): Likewise.
33674 (_IO_file_close): Likewise.
33675 * libio/iopopen.c (_IO_dup2): Likewise.
33676 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33677 * locale/loadlocale.c (_nl_load_locale): Likewise.
33678 * login/utmp_file.c (pututline_file): Likewise.
33679 (endutent_file): Likewise.
33680 * misc/daemon.c (daemon): Likewise.
33681 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33682 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33683 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33684 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33685 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33686 * nscd/nscd_helper.c (open_socket): Likewise.
33687 (__nscd_open_socket): Likewise.
33688 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33689 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33690 (__nscd_innetgr): Likewise.
33691 * nss/nss_db/db-open.c (internal_setent): Likewise.
33692 * resolv/res-close.c (__res_iclose): Likewise.
33693 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33694 * sysdeps/posix/closedir.c (__closedir): Likewise.
33695 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33696 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33697 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33698 (opendir_tail): Likewise.
33699 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33700 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33701 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33702 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33703 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33704 (gethostid): Likewise.
33705 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33706 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33707 Likewise.
33708 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33709 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33710 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33711 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33712 Likewise.
33713 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33714 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33715 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33716 Likewise.
33717 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33718 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33719 Likewise.
33720 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33721 Likewise.
33722 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33723 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33724 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33725 __close_nocancel.
33726
33727 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33728 (openat_not_cancel_3): Likewise.
33729 (openat64_not_cancel_3): Likewise).
33730 (openat_not_cancel_3): Likewise).
33731 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33732 macro.
33733 (openat_not_cancel_3): Likewise.
33734 (openat64_not_cancel): Likewise.
33735 (openat64_not_cancel_3): Likewise.
33736 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33737 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33738 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33739 __open{64}_nocancel.
33740 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33741 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33742 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33743
33744 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33745
33746 [BZ #18822]
33747 * include/argz.h (__argz_create_sep): New function prototype.
33748 (__argz_append): Likewise.
33749 (__argz_add): Likewise.
33750 (__argz_add_sep): Likewise.
33751 (__argz_delete): Likewise.
33752 (__argz_insert): Likewise.
33753 (__argz_replace): Likewise.
33754 * string/argz.h (__argz_create_sep): Removed.
33755 (__argz_append): Likewise.
33756 (__argz_add): Likewise.
33757 (__argz_add_sep): Likewise.
33758 (__argz_delete): Likewise.
33759 (__argz_insert): Likewise.
33760 (__argz_replace): Likewise.
33761
33762 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33763
33764 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33765 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33766 (GNU_PROPERTY_STACK_SIZE): Likewie.
33767 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33768 (GNU_PROPERTY_LOPROC): Likewise.
33769 (GNU_PROPERTY_HIPROC): Likewise.
33770 (GNU_PROPERTY_LOUSER): Likewise.
33771 (GNU_PROPERTY_HIUSER): Likewise.
33772 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33773 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33774 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33775 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33776 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33777 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33778 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33779 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33780 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33781 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33782 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33783 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33784 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33785 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33786 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33787 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33788 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33789 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33790 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33791 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33792 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33793 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33794 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33795
33796 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33797
33798 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33799 in C++ mode.
33800
33801 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33802
33803 [BZ #21930]
33804 * math/math.h (isinf): Check if in C or C++ mode before using
33805 __builtin_types_compatible_p, since this is a C mode feature.
33806
33807 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33808
33809 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33810 (__write_nocancel): New macro.
33811 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33812 Rewrite as a function prototype.
33813 (write_not_cancel): Remove macro.
33814 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33815 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33816 (write_gmon): Likewise.
33817 * libio/fileops.c (_IO_new_file_write): Likewise.
33818 * login/utmp_file.c (pututline_file): Likewise.
33819 (updwtmp_file): Likewise.
33820 * stdio-common/psiginfo.c (psiginfo): Likewise.
33821 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33822 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33823 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33824 Likewise.
33825 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33826 Likewise.
33827
33828 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33829 (__read_nocancel): New macro.
33830 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33831 __read_nocancel.
33832 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33833 macro.
33834 (__read_nocancel): New prototype.
33835 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33836 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33837 with __read_nocancel.
33838 * intl/loadmsgcat.c (read): Likewise.
33839 * libio/fileops.c (_IO_file_read): Likewise.
33840 * locale/loadlocale.c (_nl_load_locale): Likewise.
33841 * login/utmp_file.c (getutent_r_file): Likewise.
33842 (internal_getut_r): Likewise.
33843 (getutline_r_file): Likewise.
33844 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33845 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33846 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33847 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33848 Likewise.
33849 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33850 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33851 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33852 Likewise.
33853 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33854 Likewise.
33855 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33856 Likewise.
33857 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33858 Likewise.
33859 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33860
33861 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33862
33863 [BZ #21966]
33864 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33865 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33866 usable.
33867
33868 2017-08-17 DJ Delorie <dj@redhat.com>
33869
33870 * bug17079.c: Update to new test harness.
33871 * test-digits-dots.c: Likewise.
33872 * test-netdb.c: Likewise.
33873 * tst-field.c: Likewise.
33874 * tst-nss-getpwent.c: Likewise.
33875 * tst-nss-static.c: Likewise.
33876 * tst-nss-test1.c: Likewise.
33877 * tst-nss-test2.c: Likewise.
33878 * tst-nss-test3.c: Likewise.
33879 * tst-nss-test4.c: Likewise.
33880 * tst-nss-test5.c: Likewise.
33881
33882 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33883
33884 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33885 (open_not_cancel_2): Likewise.
33886 (open_nocancel): New macro.
33887 (open64_nocancel): Likewise.
33888 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33889 (open_not_cancel_2): Likewise.
33890 (__open_nocancel): New prototype.
33891 (__open64_nocancel): Likewise.
33892 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33893 __open_nocancel.
33894 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33895 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33896 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33897 with __open_nocancel.
33898 * csu/check_fds.c (check_one_fd): Likewise.
33899 * gmon/gmon.c (write_gmon): Likewise.
33900 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33901 * intl/loadmsgcat.c (open): Likewise.
33902 * libio/fileops.c (_IO_file_open): Likewise.
33903 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33904 * locale/loadlocale.c (_nl_load_locale): Likewise.
33905 * login/utmp_file.c (setutent_file): Likewise.
33906 * misc/daemon.c (daemon): Likewise.
33907 * nss/nss_db/db-open.c (internal_setent): Likewise.
33908 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33909 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33910 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33911 (__opendir): Likewise.
33912 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33913 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33914 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33915 (gethostid): Likewise.
33916 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33917 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33918 Likewise.
33919 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33920 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33921 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33922 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33923 Likewise.
33924 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33925 Likewise.
33926 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33927 Likewise.
33928 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33929 Likewise.
33930 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33931 Likewise.
33932 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33933 Likewise.
33934 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33935 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33936
33937 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33938
33939 * benchtests/bench-skeleton.c (main): Add support for
33940 latency benchmarking.
33941 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33942
33943 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33944
33945 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33946 the startup object.
33947
33948 2017-08-17 Florian Weimer <fweimer@redhat.com>
33949
33950 * include/sys/socket.h (__opensock): Remove internal_function.
33951 * socket/opensock.c (__opensock): Likewise.
33952 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33953
33954 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33955
33956 [BZ #21944]
33957 * signal/bits/types/__sigval_t.h: New file.
33958 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33959 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33960 and define sigval_t using __sigval_t.
33961 * include/bits/types/__sigval_t.h: New file.
33962 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33963 instead of <bits/types/__sigval_t.h>.
33964 (struct sigevent): Use __sigval_t instead of sigval_t.
33965 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33966 instead of <bits/types/__sigval_t.h>.
33967 (siginfo_t): Use __sigval_t instead of sigval_t.
33968 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33969 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33970 (struct sigevent): Use __sigval_t instead of sigval_t.
33971 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33972 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33973 (siginfo_t): Use __sigval_t instead of sigval_t.
33974 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33975
33976 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33977
33978 * NEWS: Remove "[Add new features here]" for 2.27.
33979
33980 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33981
33982 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33983 libc.so.
33984
33985 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33986
33987 * NEWS: Mention x86-64 FMA optimization.
33988
33989 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33990
33991 [BZ #21912]
33992 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33993 Add e_expf-fma.
33994 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33995 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33996 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33997
33998 2017-08-16 Andreas Schwab <schwab@suse.de>
33999
34000 [BZ #16750]
34001 CVE-2009-5064
34002 * elf/ldd.bash.in: Never run file directly.
34003
34004 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
34005
34006 [BZ #21955]
34007 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
34008 (L(SP_INF_0)): Likewise.
34009
34010 2017-08-15 Florian Weimer <fweimer@redhat.com>
34011
34012 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
34013 run-built-tests.
34014
34015 2017-08-15 Florian Weimer <fweimer@redhat.com>
34016
34017 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
34018 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
34019 BROKEN_THREAD_SIGNALS code.
34020 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
34021 request_list): Remove caller_pid member used for
34022 BROKEN_THREAD_SIGNALS.
34023 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
34024 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34025 Remove BROKEN_THREAD_SIGNALS support.
34026 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
34027 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
34028
34029 2017-08-15 Florian Weimer <fweimer@redhat.com>
34030
34031 * gmon/Makefile (tests): Add tst-gmon.
34032 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
34033 Set.
34034 (tests-special): Add tst-gmon-prof.out.
34035 (tst-gmon.out): Depend on clean-tst-gmon-data.
34036 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
34037 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
34038 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
34039 startup object.
34040 * aclocal.m4 (GPROF): Set and substitute.
34041 * config.amke.in (GPROF): Set.
34042 * configure: Regenerate.
34043
34044 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
34045
34046 * elf/elf.h A (NT_PPC_TAR): New macro.
34047 (NT_PPC_PPR): Likewise.
34048 (NT_PPC_DSCR): Likewise.
34049 (NT_PPC_EBB): Likewise.
34050 (NT_PPC_PMU): Likewise.
34051 (NT_PPC_TM_CGPR): Likewise.
34052 (NT_PPC_TM_CFPR): Likewise.
34053 (NT_PPC_TM_CVMX): Likewise.
34054 (NT_PPC_TM_CVSX): Likewise.
34055 (NT_PPC_TM_SPR): Likewise.
34056 (NT_PPC_TM_CTAR): Likewise.
34057 (NT_PPC_TM_CPPR): Likewise.
34058 (NT_PPC_TM_CDSCR): Likewise.
34059
34060 2017-08-15 Florian Weimer <fweimer@redhat.com>
34061
34062 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
34063 regparm (2) instead of internal_function.
34064 (_MCOUNT_DECL): Adjust.
34065
34066 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34067
34068 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
34069 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
34070
34071 2017-08-14 Joseph Myers <joseph@codesourcery.com>
34072
34073 * conform/data/sys/wait.h-data (si_value): Do not expect for
34074 XPG42.
34075
34076 2017-08-14 Florian Weimer <fweimer@redhat.com>
34077
34078 [BZ #21962]
34079 NSS: Create stubs for accidentally exported lookup functions.
34080 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
34081 Remove declaration.
34082 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
34083 (ether_hostton): Call __nss_ethers_lookup2 instead.
34084 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
34085 (ether_ntohost): Call __nss_ethers_lookup2 instead.
34086 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
34087 (setup): Call __nss_netgroup_lookup2 instead.
34088 * nss/Makefile (routines): Add compat-lookup.
34089 * nss/Versions (GLIBC_2.27): Add symbol version.
34090 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
34091 (DB_COMPAT_FCT): Remove.
34092 * nss/compat-lookup.c: New file.
34093 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
34094 from databases.def.
34095 * nss/service-lookup.c (NO_COMPAT): Remove definition.
34096 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
34097 (netname2user): Call __nss_publickey_lookup2 instead.
34098 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
34099 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
34100 instead.
34101
34102 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34103 Sergei Trofimovich <slyfox@inbox.ru>
34104
34105 [BZ #21908]
34106 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
34107 Rename to MMAP2_PAGE_UNIT.
34108 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
34109 __OFF_T_MATCHES_OFF64_T is not defined.
34110 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
34111 uint64_t.
34112 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
34113 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
34114
34115 2017-08-14 Florian Weimer <fweimer@redhat.com>
34116
34117 i386: Do not set internal_function.
34118 * config.h.in (USE_REGPARMS, internal_function): Remove.
34119 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
34120 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
34121
34122 2017-08-14 Florian Weimer <fweimer@redhat.com>
34123
34124 * elf/dl-init.c (_dl_init): Remove internal_function.
34125 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
34126 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
34127
34128 2017-08-14 Florian Weimer <fweimer@redhat.com>
34129
34130 * elf/rtld.c (_dl_start): Remove internal_function.
34131 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
34132 _dl_start.
34133
34134 2017-08-14 Florian Weimer <fweimer@redhat.com>
34135
34136 * elf/dl-fini.c (_dl_fini): Remove internal_function
34137 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
34138
34139 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
34140
34141 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
34142 (bit_cpu_SHSTK): Likewise.
34143 (index_cpu_IBT): Likewise.
34144 (index_cpu_SHSTK): Likewise.
34145 (reg_IBT): Likewise.
34146 (reg_SHSTK): Likewise.
34147 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34148 Handle index_cpu_IBT and index_cpu_SHSTK.
34149
34150 2017-08-14 Mike FABIAN <mfabian@redhat.com>
34151
34152 [BZ #19982]
34153 * po/fr.po: Fix spelling mistake.
34154
34155 2017-08-13 Florian Weimer <fweimer@redhat.com>
34156
34157 * elf/dl-addr.c (_dl_addr): Remove internal_function.
34158 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
34159 (_dl_catch_error, _dl_receive_error): Likewise.
34160 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34161 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34162 (_dl_deallocate_tls): Likewise.
34163 * include/dlfcn.h (_dl_addr): Likewise.
34164 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34165 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34166 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34167 Likewise.
34168
34169 2017-08-13 Florian Weimer <fweimer@redhat.com>
34170
34171 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34172 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34173 internal_function.
34174 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34175
34176 2017-08-13 Florian Weimer <fweimer@redhat.com>
34177
34178 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34179 internal_function.
34180 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34181 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34182 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34183 internal_function from _dl_make_stack_executable_hook member.
34184 (_dl_make_stack_executable): Remove internal_function.
34185 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34186 Likewise.
34187 * sysdeps/unix/sysv/linux/dl-execstack.c
34188 (_dl_make_stack_executable): Likewise.
34189
34190 2017-08-13 Florian Weimer <fweimer@redhat.com>
34191
34192 * sysdeps/unix/sysv/linux/netlinkaccess.h
34193 (__netlink_assert_response): Remove internal_function.
34194 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34195 (__netlink_assert_response): Likewise.
34196
34197 2017-08-13 Florian Weimer <fweimer@redhat.com>
34198
34199 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34200 internal_function.
34201 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34202
34203 2017-08-13 Florian Weimer <fweimer@redhat.com>
34204
34205 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34206 internal_function.
34207 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34208 * inet/netgroup.h (__internal_setnetgrent)
34209 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34210 * inet/getnetgrent_r.c (__internal_setnetgrent)
34211 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34212 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34213 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34214 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34215 * nss/nsswitch.h (db_lookup_function): Likewise.
34216
34217 2017-08-13 Florian Weimer <fweimer@redhat.com>
34218
34219 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34220 Remove internal_function.
34221 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34222 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34223 message argument on the stack.
34224 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34225 Likeweise.
34226
34227 2017-08-12 Mike FABIAN <mfabian@redhat.com>
34228
34229 Adapt test case data to the changes in the thousands
34230 separators.
34231
34232 [BZ #20756]
34233 * localedata/tst-langinfo.sh: Adapt test case data.
34234 * stdlib/tst-strfmon_l.c: Likewise.
34235 * stdlib/tst-strtod4.c: Likewise.
34236 * stdlib/tst-strtod5i.c: Likewise.
34237
34238 2017-08-11 Florian Weimer <fweimer@redhat.com>
34239
34240 [BZ #21242]
34241 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34242 Suppress pedantic warning resulting from statement expression.
34243 (__ASSERT_FUNCTION): Add missing __extension__.
34244
34245 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34246
34247 * benchtests/bench-memmove-large.c: Print output in JSON
34248 format.
34249 * benchtests/bench-memmove.c: Likewise.
34250
34251 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34252 * benchtests/bench-memchr.c (do_one_test): Likewise.
34253 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34254 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34255 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34256 * benchtests/bench-memmove.c (do_one_test): Likewise.
34257 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34258 * benchtests/bench-memset.c (do_one_test): Likewise.
34259 * benchtests/bench-string.h (test_init): Remove memsets.
34260
34261 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34262
34263 * manual/lang.texi
34264 (Computing the Width of an Integer Data Type): Rename section to
34265 "Width of an Integer Type". Remove inaccurate statement regarding
34266 lack of C language facilities for determining width of integer
34267 types, and reorder content to improve flow and context of
34268 discussion.
34269
34270 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34271
34272 * lang.texi (va_copy): Change standard from ISO to C99.
34273 (__va_copy): Add standard and header annotation.
34274 Update description for clarity of origins and current use.
34275
34276 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34277
34278 [BZ #21941]
34279 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34280 xssqrtqp requires operands to be in Vector Registers
34281 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34282 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34283 (__ieee754_sqrtf128): Likewise.
34284
34285 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34286
34287 * sysdeps/aarch64/memcmp.S (memcmp):
34288 Rewrite of optimized memcmp.
34289
34290 2017-08-10 Florian Weimer <fweimer@redhat.com>
34291
34292 Introduce ld.so exceptions.
34293 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34294 (_dl_exception_create, _dl_exception_create_format)
34295 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34296 (_dl_catch_exception): Declare.
34297 (_dl_catch_error): Update comment.
34298 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34299 errstring, malloced members with exception member.
34300 (_dl_out_of_memory): Remove.
34301 (fatal_error): New function, extracted from _dl_signal_error.
34302 (_dl_signal_exception, _dl_signal_cexception): New functions.
34303 (_dl_signal_error): Call _dl_exception_create to allocate an
34304 exception object.
34305 (_dl_catch_exception): New function, based on _dl_catch_error.
34306 (_dl_catch_error): Implement using _dl_catch_exception.
34307 * elf/dl-exception.c: New file.
34308 * elf/Makefile (dl-routines): Add dl-exception.
34309 (elide-routines.os): Likewise.
34310 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34311 _dl_exception_create_format, _dl_exception_free.
34312 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34313 _dl_signal_exception.
34314 * elf/dl-lookup.c (make_string): Remove.
34315 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34316 _dl_signal_cexception, _dl_exception_free.
34317 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34318 _dl_signal_exception.
34319 * elf/dl-sym.c (do_sym): Likewise.
34320 * elf/dl-version.c (make_string): Remove.
34321 (match_symbol): Use _dl_exception_create_format,
34322 _dl_signal_cexception, _dl_exception_free.
34323 (_dl_check_map_versions): Likewise.
34324 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34325 _dl_catch_exception.
34326 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34327 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34328 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34329 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34330 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34331 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34332 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34333 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34334 Likewise.
34335 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34337 (ld.so): Likewise.
34338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34339 (ld.so): Likewise.
34340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34341 Likewise.
34342 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34343 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34344 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34345 Likewise.
34346 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34347 Likewise.
34348 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34349
34350 2017-08-10 Florian Weimer <fweimer@redhat.com>
34351
34352 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34353 attribute_hidden, internal_function.
34354 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34355 internal_function.
34356
34357 2017-08-10 Florian Weimer <fweimer@redhat.com>
34358
34359 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34360 function which calls __builtin_unreachable.
34361
34362 2017-08-10 Mike FABIAN <mfabian@redhat.com>
34363
34364 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34365 Indian monetary formatting
34366 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34367 test cases.
34368
34369 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34370
34371 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34372 Fix typo in comment.
34373
34374 [BZ #21928]
34375 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34376 PTRACE_SEIZE_DEVEL): Remove.
34377 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34378 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34379 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34380 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34381 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34382
34383 2017-08-09 Joseph Myers <joseph@codesourcery.com>
34384
34385 * posix/bits/types.h (__qaddr_t): Remove.
34386
34387 [BZ #21457]
34388 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34389 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34390 __glibc_reserved1.
34391 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34392 (ucontext_t): Use __ctx with uc_flags.
34393 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34394 (__ctxt): Likewise.
34395 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34396 __glibc_reserved1.
34397 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34398 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34399 __glibc_reserved1.
34400 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34401 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34402 __glibc_reserved1.
34403 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34404 macro.
34405 (ucontext_t): Use __ctx with uc_flags.
34406 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34407 (ucontext_t): Use __ctx with uc_flags.
34408 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34409 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34410 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34411 (ucontext_t): Use __ctx with uc_flags.
34412 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34413 undefine further down.
34414 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34415 __glibc_reserved1.
34416 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34417 undefine further down.
34418 (ucontext_t): Use __ctx with uc_flags.
34419 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34420 undefine further down.
34421 (ucontext_t): Use __ctx with uc_flags.
34422 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34423 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34424 Rename uc_pad to __glibc_reserved1.
34425 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34426 undefine further down.
34427 (ucontext_t): Use __ctx with uc_flags.
34428 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34429 further down.
34430 (ucontext_t): Use __ctx with uc_flags.
34431 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34432 __ctx with uc_flags.
34433 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34434 (ucontext_t): Use __ctx with uc_flags.
34435 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34436 __ctx with uc_flags.
34437
34438 2017-08-09 Florian Weimer <fweimer@redhat.com>
34439
34440 [BZ #21932]
34441 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34442 before early return.
34443
34444 2017-08-09 Andreas Schwab <schwab@suse.de>
34445
34446 [BZ #21041]
34447 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34448 renamed alias.
34449
34450 [BZ #21041]
34451 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34452 tst-compat-forwarder.
34453 (modules-names): Add tst-compat-forwarder-mod.
34454 ($(objpfx)tst-compat-forwarder): Depend on
34455 $(objpfx)tst-compat-forwarder-mod.so.
34456 * nptl/tst-compat-forwarder.c: New file.
34457 * nptl/tst-compat-forwarder-mod.c: New file.
34458
34459 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34460
34461 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34462 comments.
34463
34464 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34465 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34466 memcpy_falkor.
34467 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34468 Bump.
34469 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34470 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34471 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34472 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34473 Add falkor.
34474 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34475 New macro.
34476
34477 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34478
34479 [BZ #759]
34480 * manual/setjmp.texi (getcontex): Document uc_stack value
34481 compatibility differences.
34482
34483 2017-08-08 Joseph Myers <joseph@codesourcery.com>
34484
34485 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34486 (old_malloc_hook): Likewise.
34487 (old_memalign_hook): Likewise.
34488 (old_realloc_hook): Likewise.
34489 (struct hdr): Likewise.
34490 (flood): Likewise.
34491 (freehook): Likewise.
34492 (mallochook): Likewise.
34493 (memalignhook): Likewise.
34494 (reallochook): Likewise.
34495 (mprobe): Likewise.
34496 * malloc/mtrace.c (mallwatch): Likewise.
34497 (tr_old_free_hook): Likewise.
34498 (tr_old_malloc_hook): Likewise.
34499 (tr_old_realloc_hook): Likewise.
34500 (tr_old_memalign_hook): Likewise.
34501 (tr_where): Likewise.
34502 (lock_and_info): Likewise.
34503 (tr_freehook): Likewise.
34504 (tr_mallochook): Likewise.
34505 (tr_reallochook): Likewise.
34506 (tr_memalignhook): Likewise.
34507 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34508 * misc/mmap.c (__mmap): Likewise.
34509 * misc/mmap64.c (__mmap64): Likewise.
34510 * misc/mprotect.c (__mprotect): Likewise.
34511 * misc/msync.c (msync): Likewise.
34512 * misc/munmap.c (__munmap): Likewise.
34513 * posix/posix_madvise.c (posix_madvise): Likewise.
34514 * socket/send.c (__send): Likewise.
34515 * socket/sendto.c (__sendto): Likewise.
34516 * socket/setsockopt.c (__setsockopt): Likewise.
34517 * string/memcmp.c (__ptr_t): Remove macro.
34518 (MEMCMP): Use void * instead of ptr_t.
34519 * string/memrchr.c (__ptr_t): Remove macro.
34520 (__memrchr): Use void * instead of ptr_t.
34521 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34522 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34523 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34524 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34525 * sysdeps/mach/msync.c (msync): Likewise.
34526 * sysdeps/mach/munmap.c (__munmap): Likewise.
34527 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34528 Likewise.
34529 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34530 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34531 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34532 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34533 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34534 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34535 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34536 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34537 Likewise.
34538 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34539 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34540 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34541 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34542 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34543 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34544 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34545 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34546 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34547 Likewise.
34548 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34549 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34550 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34551 (MEMCMP): Use void * instead of ptr_t.
34552 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34553 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34554
34555 2017-08-08 Florian Weimer <fweimer@redhat.com>
34556
34557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34558 return statement.
34559
34560 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34561
34562 [BZ #21913]
34563 * csu/libc-tls.c: Include <startup.h> first.
34564 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34565 * elf/dl-tunables.c: Include <startup.h> first.
34566 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34567 * sysdeps/generic/startup.h: New file.
34568 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34569 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34570 (I386_USE_SYSENTER): New. Defined to 0.
34571
34572 2017-08-08 Andreas Schwab <schwab@suse.de>
34573
34574 [BZ #21041]
34575 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34576 * nptl/pt-system.c (system): Likewise.
34577
34578 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34579
34580 [BZ #21780]
34581 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34582 EOPNOTSUPP.
34583 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34584 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34585 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34586 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34587 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34588 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34589 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34590
34591 2017-08-07 Joseph Myers <joseph@codesourcery.com>
34592
34593 [BZ #21899]
34594 * bits/sigaction.h (struct sigaction): Define sa_handler and
34595 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34596 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34597 [__USE_XOPEN_EXTENDED].
34598 (SA_RESTART): Likewise.
34599 (SA_NODEFER): Likewise.
34600 (SA_RESETHAND): Likewise.
34601 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34602 (struct sigaction): Define sa_handler and sa_sigaction using union
34603 also for [__USE_XOPEN_EXTENDED].
34604 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34605 [__USE_XOPEN_EXTENDED].
34606 (SA_RESTART): Likewise.
34607 (SA_NODEFER): Likewise.
34608 (SA_RESETHAND): Likewise.
34609 * sysdeps/unix/sysv/linux/bits/sigaction.h
34610 (struct sigaction): Define sa_handler and sa_sigaction using union
34611 also for [__USE_XOPEN_EXTENDED].
34612 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34613 [__USE_XOPEN_EXTENDED].
34614 (SA_RESTART): Likewise.
34615 (SA_NODEFER): Likewise.
34616 (SA_RESETHAND): Likewise.
34617 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34618 (struct sigaction): Define sa_handler and sa_sigaction using union
34619 also for [__USE_XOPEN_EXTENDED].
34620 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34621 [__USE_XOPEN_EXTENDED].
34622 (SA_RESTART): Likewise.
34623 (SA_NODEFER): Likewise.
34624 (SA_RESETHAND): Likewise.
34625 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34626 (struct sigaction): Define sa_handler and sa_sigaction using union
34627 also for [__USE_XOPEN_EXTENDED].
34628 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34629 [__USE_XOPEN_EXTENDED].
34630 (SA_RESTART): Likewise.
34631 (SA_NODEFER): Likewise.
34632 (SA_RESETHAND): Likewise.
34633 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34634 (struct sigaction): Define sa_handler and sa_sigaction using union
34635 also for [__USE_XOPEN_EXTENDED].
34636 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34637 [__USE_XOPEN_EXTENDED].
34638 (SA_RESTART): Likewise.
34639 (SA_NODEFER): Likewise.
34640 (SA_RESETHAND): Likewise.
34641 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34642 (struct sigaction): Define sa_handler and sa_sigaction using union
34643 also for [__USE_XOPEN_EXTENDED].
34644 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34645 [__USE_XOPEN_EXTENDED].
34646 (SA_RESTART): Likewise.
34647 (SA_NODEFER): Likewise.
34648 (SA_RESETHAND): Likewise.
34649 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34650 (struct sigaction): Define sa_handler and sa_sigaction using union
34651 also for [__USE_XOPEN_EXTENDED].
34652 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34653 [__USE_XOPEN_EXTENDED].
34654 (SA_RESTART): Likewise.
34655 (SA_NODEFER): Likewise. Define directly rather than as alias.
34656 (SA_RESETHAND): Likewise.
34657 (SA_INTERRUPT): Define only for [__USE_MISC].
34658 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34659 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34660 [__USE_MISC].
34661 (SA_STACK): Define only for [__USE_MISC].
34662 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34663 (struct sigaction): Define sa_handler and sa_sigaction using union
34664 also for [__USE_XOPEN_EXTENDED].
34665 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34666 [__USE_XOPEN_EXTENDED].
34667 (SA_RESTART): Likewise.
34668 (SA_NODEFER): Likewise.
34669 (SA_RESETHAND): Likewise.
34670 (SA_NOPTRACE): Define only for [__USE_MISC].
34671
34672 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34673 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34674 (struct catalog_info): Likewise.
34675 * inet/htontest.c (lo): Likewise.
34676 (foo): Likewise.
34677 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34678 * inet/inet_net.c (inet_network): Likewise.
34679 * inet/inet_netof.c (inet_netof): Likewise.
34680 * inet/rcmd.c (__ivaliduser): Likewise.
34681 (iruserok): Likewise.
34682 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34683 * locale/programs/locale-spec.c (locale_special): Likewise.
34684 * nis/nis_findserv.c (struct findserv_req): Likewise.
34685 (__nis_findfastest_with_timeout): Likewise.
34686 * nss/test-netdb.c (test_network): Likewise.
34687 * resolv/inet_neta.c (inet_neta): Likewise.
34688 * resolv/ns_date.c (ns_datetosecs): Likewise.
34689 (SECS_PER_DAY): Likewise.
34690 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34691 Likewise.
34692 * resolv/res_comp.c (__putlong): Likewise.
34693 (__putshort): Likewise.
34694 (_getlong): Likewise.
34695 (_getshort): Likewise.
34696 * resolv/res_debug.c (p_time): Likewise.
34697 (precsize_ntoa): Likewise.
34698 (precsize_aton): Likewise.
34699 (latlon2ul): Likewise.
34700 (loc_aton): Likewise.
34701 (loc_ntoa): Likewise.
34702 * resolv/res_hconf.c (struct netaddr): Likewise.
34703 (_res_hconf_reorder_addrs): Likewise.
34704 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34705 (clnttcp_control): Likewise.
34706 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34707 (clntudp_control): Likewise.
34708 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34709 (clntunix_control): Likewise.
34710 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34711 * sunrpc/rpc/auth.h (union des_block): Likewise.
34712 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34713 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34714 (xdrrec_create): Likewise.
34715 (xdrrec_endofrecord): Likewise.
34716 (flush_out): Likewise.
34717 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34718 (xdrstdio_putlong): Likewise.
34719 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34720 Likewise.
34721
34722 * misc/sys/cdefs.h (__long_double_t): Remove.
34723 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34724 instead of __long_double_t,
34725 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34726
34727 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34728
34729 * benchtests/scripts/compare_strings.py: Avoid display error when
34730 running on a text terminal.
34731
34732 * benchtests/scripts/compare_strings.py (main): Add an
34733 optional -base option.
34734 (process_results): New argument base_func.
34735
34736 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34737 hardcoding memcpy.
34738 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34739 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34740
34741 2017-08-07 Andreas Schwab <schwab@suse.de>
34742
34743 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34744 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34745 * intl/Makefile ($(objpfx)tst-gettext.out)
34746 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34747 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34748 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34749 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34750 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34751 * posix/Makefile ($(objpfx)globtest.out)
34752 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34753 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34754 ($(objpfx)tst-printf.out): Likewise.
34755 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34756 ($(objpfx)tst-setcontext3.out): Likewise.
34757
34758 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34759
34760 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34761 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34762 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34763 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34764 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34765 and mptan-fma.
34766 (CFLAGS-doasin-fma.c): New.
34767 (CFLAGS-dosincos-fma.c): Likewise.
34768 (CFLAGS-e_asin-fma.c): Likewise.
34769 (CFLAGS-e_atan2-fma.c): Likewise.
34770 (CFLAGS-e_exp-fma.c): Likewise.
34771 (CFLAGS-e_log-fma.c): Likewise.
34772 (CFLAGS-e_pow-fma.c): Likewise.
34773 (CFLAGS-halfulp-fma.c): Likewise.
34774 (CFLAGS-mpa-fma.c): Likewise.
34775 (CFLAGS-mpatan-fma.c): Likewise.
34776 (CFLAGS-mpatan2-fma.c): Likewise.
34777 (CFLAGS-mpexp-fma.c): Likewise.
34778 (CFLAGS-mplog-fma.c): Likewise.
34779 (CFLAGS-mpsqrt-fma.c): Likewise.
34780 (CFLAGS-mptan-fma.c): Likewise.
34781 (CFLAGS-s_atan-fma.c): Likewise.
34782 (CFLAGS-sincos32-fma.c): Likewise.
34783 (CFLAGS-slowexp-fma.c): Likewise.
34784 (CFLAGS-slowpow-fma.c): Likewise.
34785 (CFLAGS-s_sin-fma.c): Likewise.
34786 (CFLAGS-s_tan-fma.c): Likewise.
34787 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34788 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34789 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34790 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34791 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34792 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34793 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34794 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34795 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34796 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34797 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34798 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34799 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34800 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34801 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34802 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34803 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34804 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34805 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34806 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34807 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34808 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34809 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34810 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34811 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34812 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34813 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34814 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34815 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34816 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34817 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34818
34819 2017-08-04 Joseph Myers <joseph@codesourcery.com>
34820
34821 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34822 (min_of_type_f): New macro.
34823 (min_of_type_): Likewise.
34824 (min_of_type_l): Likewise.
34825 (min_of_type_f128): Likewise.
34826 (min_of_type): Define using __MATH_TG and taking an expression
34827 argument.
34828 (math_check_force_underflow): Pass expression instead of type to
34829 min_of_type.
34830 (math_check_force_underflow_nonneg): Likewise.
34831
34832 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34833
34834 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34835 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34836 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34837
34838 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34839
34840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34841 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34842 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34843 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34844 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34845 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34846 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34847 memmove_chk-nonshared and memset_chk-nonshared
34848 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34849 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34850 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34851 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34852 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34853 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34854 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34855 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34856 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34857 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34858 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34859 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34860 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34861 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34862 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34863 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34864 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34865 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34866 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34867 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34868 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34869 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34870 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34871 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34872 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34873 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34874 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34875 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34876 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34877 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34878 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34879 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34880 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34881 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34882 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34883 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34884 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34885 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34886 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34887 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34888 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34889 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34890 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34891 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34892 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34893 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34894 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34895 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34896 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34897 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34898 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34899 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34900 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34901 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34902 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34903 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34904 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34905 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34906 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34907 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34908 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34909 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34910 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34911 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34912 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34913 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34914 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34915 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34916 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34917 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34918 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34919 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34920 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34921 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34922 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34923 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34924 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34925 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34926 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34927 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34928 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34929 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34930 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34931 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34932 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34933 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34934 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34935 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34936 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34937 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34938 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34939 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34940 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34941 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34942 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34943 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34944 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34945 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34946 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34947 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34948 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34949 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34950 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34951 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34952 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34953 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34954 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34955 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34956
34957 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34958
34959 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34960 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34961 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34962 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34963 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34964 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34965 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34966 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34967 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34968 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34969 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34970 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34971 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34972 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34973 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34974 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34975 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34976 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34977 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34978 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34979 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34980 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34981 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34982 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34983 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34984 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34985 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34986 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34987 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34988 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34989 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34990 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34991 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34992 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34993 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34994 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34995 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34996 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34997 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34998 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34999 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
35000 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
35001 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
35002 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
35003 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
35004 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
35005 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
35006 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
35007 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
35008 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
35009 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
35010 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
35011 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
35012 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
35013 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
35014 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
35015 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
35016 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
35017 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
35018 ...
35019 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
35020 Don't include <sysdep.h> nor <init-arch.h>.
35021 (_ZGVbN2v_cos): Removed.
35022 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
35023 ...
35024 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
35025 Don't include <sysdep.h> nor <init-arch.h>.
35026 (_ZGVdN4v_cos): Removed.
35027 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
35028 ...
35029 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
35030 Don't include <sysdep.h> nor <init-arch.h>.
35031 (_ZGVeN8v_cos): Removed.
35032 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
35033 ...
35034 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
35035 Don't include <sysdep.h> nor <init-arch.h>.
35036 (_ZGVbN2v_exp): Removed.
35037 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
35038 ...
35039 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
35040 Don't include <sysdep.h> nor <init-arch.h>.
35041 (_ZGVdN4v_exp): Removed.
35042 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
35043 ...
35044 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
35045 Don't include <sysdep.h> nor <init-arch.h>.
35046 (_ZGVeN8v_exp): Removed.
35047 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
35048 ...
35049 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
35050 Don't include <sysdep.h> nor <init-arch.h>.
35051 (_ZGVbN2v_log): Removed.
35052 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
35053 ...
35054 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
35055 Don't include <sysdep.h> nor <init-arch.h>.
35056 (_ZGVdN4v_log): Removed.
35057 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
35058 ...
35059 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
35060 Don't include <sysdep.h> nor <init-arch.h>.
35061 (_ZGVeN8v_log): Removed.
35062 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
35063 ...
35064 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
35065 Don't include <sysdep.h> nor <init-arch.h>.
35066 (_ZGVbN2vv_pow): Removed.
35067 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
35068 ...
35069 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
35070 Don't include <sysdep.h> nor <init-arch.h>.
35071 (_ZGVdN4vv_pow): Removed.
35072 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
35073 ...
35074 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
35075 Don't include <sysdep.h> nor <init-arch.h>.
35076 (_ZGVeN8vv_pow): Removed.
35077 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
35078 ...
35079 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
35080 Don't include <sysdep.h> nor <init-arch.h>.
35081 (_ZGVbN2v_sin): Removed.
35082 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
35083 ...
35084 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
35085 Don't include <sysdep.h> nor <init-arch.h>.
35086 (_ZGVbN4v_sin): Removed.
35087 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
35088 ...
35089 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
35090 Don't include <sysdep.h> nor <init-arch.h>.
35091 (_ZGVbN8v_sin): Removed.
35092 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
35093 ...
35094 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
35095 Don't include <sysdep.h> nor <init-arch.h>.
35096 (_ZGVbN2vvv_sincos): Removed.
35097 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
35098 ...
35099 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
35100 Don't include <sysdep.h> nor <init-arch.h>.
35101 (_ZGVdN4vvv_sincos): Removed.
35102 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
35103 ...
35104 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
35105 Don't include <sysdep.h> nor <init-arch.h>.
35106 (_ZGVeN8vvv_sincos): Removed.
35107 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
35108 ...
35109 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
35110 Don't include <sysdep.h> nor <init-arch.h>.
35111 (_ZGVeN16v_cosf): Removed.
35112 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
35113 ...
35114 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
35115 Don't include <sysdep.h> nor <init-arch.h>.
35116 (_ZGVbN4v_cosf): Removed.
35117 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
35118 ...
35119 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
35120 Don't include <sysdep.h> nor <init-arch.h>.
35121 (_ZGVdN8v_cosf): Removed.
35122 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
35123 ...
35124 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
35125 Don't include <sysdep.h> nor <init-arch.h>.
35126 (_ZGVeN16v_expf): Removed.
35127 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
35128 ...
35129 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
35130 Don't include <sysdep.h> nor <init-arch.h>.
35131 (_ZGVbN4v_expf): Removed.
35132 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
35133 ...
35134 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
35135 Don't include <sysdep.h> nor <init-arch.h>.
35136 (_ZGVdN8v_expf): Removed.
35137 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
35138 ...
35139 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
35140 Don't include <sysdep.h> nor <init-arch.h>.
35141 (_ZGVeN16v_logf): Removed.
35142 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
35143 ...
35144 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
35145 Don't include <sysdep.h> nor <init-arch.h>.
35146 (_ZGVbN4v_logf): Removed.
35147 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
35148 ...
35149 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
35150 Don't include <sysdep.h> nor <init-arch.h>.
35151 (_ZGVdN8v_logf): Removed.
35152 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
35153 ...
35154 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
35155 Don't include <sysdep.h> nor <init-arch.h>.
35156 (_ZGVeN16vv_powf): Removed.
35157 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
35158 ...
35159 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
35160 Don't include <sysdep.h> nor <init-arch.h>.
35161 (_ZGVbN4vv_powf): Removed.
35162 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35163 ...
35164 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35165 Don't include <sysdep.h> nor <init-arch.h>.
35166 (_ZGVdN8vv_powf): Removed.
35167 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35168 ...
35169 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35170 Don't include <sysdep.h> nor <init-arch.h>.
35171 (_ZGVeN16vvv_sincosf): Removed.
35172 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35173 ...
35174 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35175 Don't include <sysdep.h> nor <init-arch.h>.
35176 (_ZGVbN4vvv_sincosf): Removed.
35177 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35178 ...
35179 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35180 Don't include <sysdep.h> nor <init-arch.h>.
35181 (_ZGVdN8vvv_sincosf): Removed.
35182 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35183 ...
35184 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35185 Don't include <sysdep.h> nor <init-arch.h>.
35186 (_ZGVeN16v_sinf): Removed.
35187 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35188 ...
35189 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35190 Don't include <sysdep.h> nor <init-arch.h>.
35191 (_ZGVbN4v_sinf): Removed.
35192 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35193 ...
35194 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35195 Don't include <sysdep.h> nor <init-arch.h>.
35196 (_ZGVdN8v_sinf): Removed.
35197
35198 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35199
35200 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35201 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35202 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35203 s_rint-sse4_1 and s_rintf-sse4_1.
35204 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35205 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35206 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35207 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35208 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35209 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35210 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35211 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35212 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35213 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35214 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35215 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35216 (__ceil): Removed.
35217 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35218 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35219 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35220 (__ceilf): Removed.
35221 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35222 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35223 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35224 (__floor): Removed.
35225 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35226 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35227 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35228 (__floorf): Removed.
35229 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35230 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35231 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35232 (__nearbyint): Removed.
35233 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35234 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35235 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35236 (__nearbyintf): Removed.
35237 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35238 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35239 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35240 (__rint): Removed.
35241 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35242 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35243 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35244 (__rintf): Removed.
35245
35246 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35247
35248 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35249 SHARED. Avoid dynamic relocation against main in static PIE.
35250
35251 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35252
35253 [BZ #21815]
35254 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35255 (LDFLAGS-tst-prelink): Likewise.
35256
35257 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35258
35259 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35260 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35261 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35262 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35263 (INTERNAL_SYSCALL_NCS): Likewise.
35264 (LOADARGS_1): Likewise.
35265 (LOADARGS_5): Likewise.
35266 (RESTOREARGS_1): Likewise.
35267 (RESTOREARGS_5): Likewise.
35268
35269 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35270
35271 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35272 (MEMPCPY_SYMBOL): Likewise.
35273 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35274 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35275 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35276 in libc.a.
35277 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35278 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35279 Likewise.
35280 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35281 (__hidden_ver1): Don't use in libc.a.
35282 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35283 (__mempcpy): Don't create a weak alias in libc.a.
35284 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35285 libc.a.
35286 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35287 (__hidden_ver1): Don't use in libc.a.
35288
35289 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35290
35291 * config.make.in (have-insert): New.
35292 * configure.ac (libc_cv_insert): New. Set to yes if linker
35293 supports INSERT in linker script.
35294 (AC_SUBST(libc_cv_insert): New.
35295 * configure: Regenerated.
35296 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35297 if $(have-insert) == yes.
35298
35299 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35300
35301 * elf/Makefile (tests): Add vismain only if
35302 $(have-protected-data) == yes.
35303 (tests-pie): Likewise.
35304
35305 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35306
35307 [BZ #21871]
35308 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35309 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35310
35311 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35312
35313 [BZ #21790]
35314 * sysdeps/i386/i586/memset.S
35315 (__memset_zero_constant_len_parameter): Removed.
35316 * sysdeps/i386/i686/memset.S
35317 (__memset_zero_constant_len_parameter): Likewise.
35318 * sysdeps/i386/i686/multiarch/memset_chk.S
35319 (__memset_zero_constant_len_parameter): Likewise.
35320 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35321 Likewise.
35322
35323 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35324
35325 * stdlib/getentropy.c (getentropy): Change return type to int.
35326
35327 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35328
35329 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35330
35331 2017-08-03 Joseph Myers <joseph@codesourcery.com>
35332
35333 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35334 u_intN_t.
35335 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35336 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35337 Likewise.
35338 (ieee_float_shape_type): Likewise.
35339 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35340 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35341 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35342 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35343 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35344 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35345 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35346 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35347 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35348 Likewise.
35349 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35350 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35351 (__ieee754_yn): Likewise.
35352 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35353 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35354 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35355 Likewise.
35356 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35357 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35358 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35359 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35360 (__erfc): Likewise.
35361 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35362 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35363 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35364 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35365 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35366 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35367 Likewise.
35368 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35369 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35370 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35371 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35372 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35373 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35374 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35375 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35376 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35377 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35378 (__issignaling): Likewise.
35379 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35380 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35381 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35382 Likewise.
35383 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35384 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35385 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35386 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35387 Likewise.
35388 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35389 Likewise.
35390 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35391 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35392 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35393 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35394 (__erfcf): Likewise.
35395 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35396 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35397 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35398 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35399 Likewise.
35400 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35401 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35402 Likewise.
35403 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35404 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35405 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35406 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35407 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35408 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35409 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35410 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35411 Likewise.
35412 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35413 Likewise.
35414 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35415 Likewise.
35416 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35417 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35418 Likewise.
35419 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35420 Likewise.
35421 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35422 (__ieee754_ynl): Likewise.
35423 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35424 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35425 Likewise.
35426 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35427 Likewise.
35428 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35429 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35430 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35431 Likewise.
35432 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35433 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35434 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35435 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35436 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35437 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35438 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35439 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35440 Likewise.
35441 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35442 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35443 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35444 Likewise.
35445 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35446 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35447 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35448 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35449 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35450 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35451 Likewise.
35452 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35453 Likewise.
35454 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35455 Likewise.
35456 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35457 Likewise.
35458 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35459 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35460 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35461 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35462 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35463 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35464 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35465 Likewise.
35466 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35467 Likewise.
35468 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35469 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35470 Likewise.
35471 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35472 (__ieee754_remainderl): Likewise.
35473 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35474 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35475 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35476 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35477 Likewise.
35478 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35479 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35480 Likewise.
35481 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35482 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35483 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35484 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35485 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35486 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35487 Likewise.
35488 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35489 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35490 (__ieee754_y0l): Likewise.
35491 (pzero): Likewise.
35492 (qzero): Likewise.
35493 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35494 (__ieee754_y1l): Likewise.
35495 (pone): Likewise.
35496 (qone): Likewise.
35497 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35498 (__ieee754_ynl): Likewise.
35499 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35500 (__ieee754_lgammal_r): Likewise.
35501 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35502 Likewise.
35503 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35504 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35505 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35506 (__erfcl): Likewise.
35507 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35508 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35509 Likewise.
35510 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35511 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35512 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35513 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35514 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35515 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35516 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35517 Likewise.
35518 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35519 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35520 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35521 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35522 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35523 Likewise.
35524 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35525 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35526 Likewise.
35527 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35528 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35529 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35530 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35531 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35532
35533 2017-08-03 Florian Weimer <fweimer@redhat.com>
35534
35535 [BZ #21885]
35536 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35537 on memory allocation failure.
35538
35539 2017-08-03 Alan Modra <amodra@gmail.com>
35540
35541 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35542 tst-tlsopt-powerpc.c with function name change and no test harness.
35543 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35544 Call tls_get_addr_opt_test.
35545 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35546 (modules-names): Add mod-tlsopt-powerpc.
35547 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35548 (tst-tlsopt-powerpc): Depend on .so.
35549 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35550 define. Expand use in TLS_GD and TLS_LD.
35551
35552 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35553
35554 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35555 function.
35556 * sysdeps/posix/shm_open.c: Include <pthread.h>.
35557
35558 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35559
35560 [BZ #21686]
35561 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35562 comparing size with that of double.
35563 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35564 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35565 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35566 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35567 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35568 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35569 unsigned __int128 types.
35570
35571 2017-08-02 Steve Ellcey <sellcey@cavium.com>
35572
35573 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35574 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35575 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35576 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35577 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35578
35579 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35580
35581 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35582
35583 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35584
35585 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35586 of SHARED.
35587 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35588 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35589 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35590 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35591 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35592 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35593 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35594
35595 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35596
35597 [BZ #21685]
35598 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35599 bit-field expressions passed to sizeof or typeof.
35600 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35601 (__TGMATH_F128): Likewise.
35602 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35603 (__TGMATH_CF128): Likewise.
35604 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35605 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35606 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35607 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35608 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35609 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35610 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35611 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35612 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35613 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35614 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35615 (__TGMATH_UNARY_IMAG): Likewise.
35616 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35617 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35618 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35619 type.
35620 (define_vars_for_type): Handle bit_field type specially.
35621 (Tests.__init__): Declare structure with bit-field element.
35622
35623 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35624
35625 [BZ #21791]
35626 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35627 (MEMCPY_CHK): Define only if SHARED is defined.
35628 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35629 Likewise.
35630 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35631 Likewise.
35632
35633 See ChangeLog.18 for earlier changes.