]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
elf: Refuse to dlopen PIE objects [BZ #24323]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2c75b545
FW
12019-06-18 Florian Weimer <fweimer@redhat.com>
2
3 [BZ #24323]
4 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
5 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
6 fail when called from dlopen.
7 * elf/Makefile [have-fpie && build-shared] (tests): Add
8 tst-dlopen-pie.
9 (tst-dlopen-pie): Link with -ldl.
10 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
11 * elf/tst-dlopen-pie.c (do_test): New file.
12
02d8b5ab
RL
132019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
14
15 [BZ #24614]
16 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
17 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
18 between the currency symbol and the minus sign).
19 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
20 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
21
78049de0
AZ
222019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23
112a0ae1
AZ
24 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
25 sysdep-rtld-routines): Remove rules.
26 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
27 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
28 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
29 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
30 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
31 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
32 vDSO path for SHARED.
33 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
34 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
35 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
36 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
37 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
38 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
39
dee07df1
AZ
40 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
41 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
42 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
43 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
44 CFLAGS-s_llround-power5+.c): New rule.
45 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
46 New file.
47 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
48 Likewise.
49 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
50 Likewise.
51 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
52 Likewise.
53 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
54 Likewise.
55 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
56 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
57 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
58 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
59 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
60 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
61 * sysdeps/powerpc/powerpc64/fpu/Makefile
62 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
63 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
64 (libm-sysdep_routines): Remove s_llround-* objects.
65 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
66 file.
67 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
68 Likewise.
69 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
70 Likewise.
71 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
72 Likewise.
73 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
74 Likewise.
75 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
76 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
77 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
78 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
79 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
80 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
81 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
82 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
83 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
84 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
85 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
86 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
87 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
88 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
89
2166283f
AZ
90 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
91 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
92 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
93 * sysdeps/powerpc/powerpc32/fpu/Makefile
94 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
95 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
96 optimization.
97 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
98 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
99 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
101 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
102 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
103 CFLAGS-s_lrint-ppc32.c): New rule.
104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
105 Remove file.
106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
107 Likewise.
108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
109 Likewise.
110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
111 Likewise.
112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
113 Likewise.
114 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
115 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
116 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
117 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
119 New file.
120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
121 Likewise.
122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
123 Likewise.
124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
125 Likewise.
126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
127 Likewise.
128
78049de0
AZ
129 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
130 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
131 s_llrint-ppc64.
132 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
133 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
134 file.
135 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
136 Likewise.
137 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
138 Likewise.
139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
140 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
142 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
144 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
145 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
146 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
147 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
148 (libm-sysdep_routines): Remove s_llrint-* objects.
149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
150 file.
151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
152 Likewise.
153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
154 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
155 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
156 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
157 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
158 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
159 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
160 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
161 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
162 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
163
48c3c123
FW
1642019-06-14 Florian Weimer <fweimer@redhat.com>
165
166 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
167 argument to __glibc_has_include to inhibit macro expansion.
168
8d141877
FW
1692019-06-14 Florian Weimer <fweimer@redhat.com>
170
171 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
172 function-like macro, so that __has_include can inhibit expansion
173 of its argument.
174
a26e2e9f
JM
1752019-06-13 Joseph Myers <joseph@codesourcery.com>
176
cf274686
JM
177 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
178 New macro.
179
a26e2e9f
JM
180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
181 Allow memset in libc.so.
182
82bc69c0
SN
1832019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
184
185 * sysdeps/aarch64/dl-dtprocnum.h: New file.
186 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
187 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
188 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
189 symbols at load time.
190 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
191
55f82d32
SN
1922019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
193
194 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
195 (DT_AARCH64_VARIANT_PCS): Define.
196
21bd039b
AZ
1972019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
198
11926960
AZ
199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
200 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
201 objects.
202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
203 Remove file.
204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
205 Likewise.
206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
208 Likewise.
209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
210 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
211 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
212 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
213 Remove s_finite* objects.
214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
220 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
221 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
222 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
223 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
224
a7218676
AZ
225 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
226 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
227
6427a6ac
AZ
228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
229 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
230 objects.
231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
232 Remove file.
233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
234 Likewise.
235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
237 Likewise.
238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
239 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
240 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
242 Remove s_isinf* and s_isinf* objects.
243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
249 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
250 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
251 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
252 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
253
a8c590f7
AZ
254 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
255 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
256
2666f963
AZ
257 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
258 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
259 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
261 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
262 s_isnanf-* objects.
263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
264 Remove file
265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
266 Likewise.
267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
268 Likewise.
269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
270 Likewise.
271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
273 Likewise.
274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
275 Likewise.
276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
277 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
278 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
279 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
280 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
281 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
282 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
284 Remove s_isnan-* and s_isnanf-* objects.
285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
288 Likewise.
289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
294 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
295 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
296 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
297 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
298 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
299 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
300 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
301 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
302
197dbda1
AZ
303 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
304 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
305
2731a326
AZ
306 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
307 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
308 CFLAGS-bench-isfinite.c): New rule.
309 * benchtests/isnan-input: New file.
310 * benchtests/isinf-input: New file.
311 * benchtests/isfinite-input: New file.
312
e41d66e4
AZ
313 * sysdeps/powerpc/fpu/s_copysign.c: New file.
314 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
315 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
316 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
318 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
319 s_copysign-ppc32.
320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
321 Remove file.
322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
323 Likewise.
324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
325 Likewise.
326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
327 Likewise.
328 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
329 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
331 Remove s_copysign-power6 s_copysign-ppc64.
332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
333 Remove file.
334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
335 Likewise.
336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
338 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
339 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
340 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
341 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
342
21bd039b
AZ
343 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
344 round_to_integer_float, round_mode): Add RINT handling.
345 (reset_fenv_mode): New symbol.
346 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
347 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
348 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
349 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
350 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
351 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
352
cfa61144
FW
3532019-06-12 Florian Weimer <fweimer@redhat.com>
354
355 [BZ #24632]
356 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
357 * libio/freopen.c (freopen): Use it.
358
744e8296
FW
3592019-06-12 Florian Weimer <fweimer@redhat.com>
360
361 Linux: Deprecate sysctl.
362 * include/sysctl.h (__sysctl): Remove declaration.
363 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
364 check.
365 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
366 (sysctl): Add deprecation attribute.
367 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
368 directly, to avoid the deprecation warning. Do not include
369 <string.h>.
370 (__sysctl): Remove hidden alias.
371
5dad6ffb
FW
3722019-06-12 Florian Weimer <fweimer@redhat.com>
373
374 Linux: Use kernel headers for statx definitions if available.
375 * include/bits/statx-generic.h: New file.
376 * include/bits/types/struct_statx.h: Likewise.
377 * include/bits/types/struct_statx_timestamp.h: Likewise.
378 * io/Makefile (headers): Add bits/statx-generic.h.
379 * io/bits/statx-generic.h: New file. Partly copied from
380 io/bits/statx.h.
381 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
382 define original_statx.
383 * io/bits/types/struct_statx.h: Likewise.
384 * io/bits/types/struct_statx_timestamp.h: Likewise.
385 (statx_generic): Use original_statx.
386 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
387 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
388
4e75c2a4
FW
3892019-06-12 Florian Weimer <fweimer@redhat.com>
390
391 * misc/sys/cdefs.h (__glibc_has_include): Define.
392
680942b0
WD
3932019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
394
395 * string/memmem.c (__memmem): Rewrite to improve performance.
396
5e0a7ecb
WD
3972019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
398
399 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
400 warning.
401 (two_way_long_needle): Block inlining.
402 * string/strstr.c (strstr2): Add new function.
403 (strstr3): Likewise.
404 (STRSTR): Completely rewrite strstr to improve performance.
405
80b2bfb5
WD
4062019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
407
408 * benchtests/bench-strstr.c (test_hard_needle): New function.
409
e6e24243
JM
4102019-06-10 Joseph Myers <joseph@codesourcery.com>
411
412 * malloc/tst-calloc.c: Include <libc-diag.h>.
413 (null_test): Ignore -Wunused-result around calls to calloc.
414 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
415 (do_test): Ignore -Wunused-result around call to malloc.
416
51ea67d5
FW
4172019-06-07 Florian Weimer <fweimer@redhat.com>
418
419 Linux: Add getdents64 system call.
420 * include/dirnent.h (getdents): Add comment and change buffer
421 argument type to void *.
422 (getdents64): Likewise. Add hidden prototype.
423 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
424 getdents64.
425 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
426 Add tst-getdents64.
427 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
428 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
429 argument type to void *.
430 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
431 Add hidden definition and getdents64 alias.
432 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
433 Likewise.
434 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
435 * manual/filesys.texi (Accessing Directories): Add Low-level
436 Directory Access node reference.
437 (Opening a Directory): Cross-reference it.
438 (Low-level Directory Access): New node.
439 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
440 getdents64.
441 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
442 Likewise.
443 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
444 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
445 Likewise.
446 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
447 Likewise.
448 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
449 Likewise.
450 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
451 Likewise.
452 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
453 Likewise.
454 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
455 Likewise.
456 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
457 Likewise.
458 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
459 (GLIBC_2.30): Likewise.
460 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
461 (GLIBC_2.30): Likewise.
462 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
463 (GLIBC_2.30): Likewise.
464 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
465 (GLIBC_2.30): Likewise.
466 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
467 Likewise.
468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
469 (GLIBC_2.30): Likewise.
470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
471 (GLIBC_2.30): Likewise.
472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
473 (GLIBC_2.30): Likewise.
474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
475 (GLIBC_2.30): Likewise.
476 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
477 Likewise.
478 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
479 Likewise.
480 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
481 Likewise.
482 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
483 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
484 Likewise.
485 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
486 Likewise.
487 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
488 Likewise.
489 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
490 Likewise.
491
de751ebc
PC
4922019-06-06 Paul A. Clarke <pc@us.ibm.com>
493
494 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
495 (__FPU_MFFS): New.
496 (__FPU_MFFSL): New.
497 (_FPU_GET_RC): New.
498 (_FPU_GETCW): Use __FPU_MFFS().
499 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
500
28dd3939
FW
5012019-06-06 Florian Weimer <fweimer@redhat.com>
502
503 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
504 internal GCC preprocessor identifier __has_include__.
505
0158473d
PC
5062019-06-05 Paul A. Clarke <pc@us.ibm.com>
507
508 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
509 with call to equivalent function.
510
e863dbf6
FW
5112019-06-04 Florian Weimer <fweimer@redhat.com>
512
513 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
514 (do_release_shlib): Adjust for __twalk_r.
515 (__gconv_release_shlib): Call __twalk_r.
516
4802be92
AS
5172019-06-04 Andreas Schwab <schwab@suse.de>
518
519 [BZ #18830]
520 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
521 no irreversible characters occurred.
522 * iconv/gconv_simple.c (internal_ucs4_loop)
523 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
524 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
525 (ucs4_internal_loop_single, internal_ucs4le_loop)
526 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
527 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
528 (ucs4le_internal_loop_single): Add const to outend.
529 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
530 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
531 * iconv/Makefile (tests): Add tst-iconv7.
532 * iconv/tst-iconv7.c: New file.
533
dc91a19e
JM
5342019-06-03 Joseph Myers <joseph@codesourcery.com>
535
536 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
537
6a1a9a49 5382019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
539
540 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
541 * sysdeps/unix/sysv/linux/arm/Makefile
542 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
543 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
544 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
545 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
546 compatibility symbols.
547
0bb8f8c7
FW
5482019-05-31 Florian Weimer <fweimer@redhat.com>
549
550 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
551 system calls for the arm architecture: breakpoint, get_tls,
552 set_tls, usr26, usr32.
553
9250e661
GG
5542019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
555
556 * sysdeps/powerpc/Makefile
557 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
558 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
559 Declare '.machine power7' to get support for ldbrx.
560 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
561 directive based on the directory of the file.
562 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
563 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
564 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
565 '.machine' directive.
566 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
567 (VADDUQM_V7_V8): Remove.
568 (__STRCASECMP): Replace macros with actual instructions.
569 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
570 '.machine' directive.
571 (VCLZD_V8_v7): Remove.
572 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
573
fbd6c928
AZ
5742019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
575
576 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
577 Remove file.
578 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
579
e47308c9
AZ
5802019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
581
582 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
583 NEARBYINT handling.
584 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
585 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
586 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
587 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
588 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
589 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
590
157cda1f 5912019-05-28 mansayk <6688000@gmail.com>
592
593 [BZ #24370]
594 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
595
182a3746 5962019-05-28 mansayk <6688000@gmail.com>
597
598 [BZ #24369]
599 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
600 (abmon): Likewise, but remove the trailing dots.
601
c6df1ce3
JM
6022019-05-28 Joseph Myers <joseph@codesourcery.com>
603
604 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
605
85188d82
FW
6062019-05-27 Florian Weimer <fweimer@redhat.com>
607
608 * nptl/nptl-init.c: Add comment.
609
5c23c821
FW
6102019-05-24 Florian Weimer <fweimer@redhat.com>
611
612 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
613 struct in_addr/struct in6_addr alignment.
614
bee1f2c4
JM
6152019-05-23 Joseph Myers <joseph@codesourcery.com>
616
617 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
618 (F_SEAL_FUTURE_WRITE): New macro.
619
481c30cb
AH
6202019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
621
622 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
623 * elf/tst-ldconfig-bad-aux-cache.c: New file.
624 * elf/tst-ldconfig_aux-cache.root: New directory.
625 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
626 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
627 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
628
cb755eed
ZW
6292019-05-22 Zack Weinberg <zackw@panix.com>
630
631 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
632 host type.
633 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
634 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
635
636 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
639 Delete.
640
641 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
642 Issue an #error if used with a compiler in SPE-float mode.
643 * sysdeps/powerpc/powerpc32/__longjmp_common.S
644 * sysdeps/powerpc/powerpc32/setjmp_common.S
645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
651 Remove code to preserve SPE register state.
652
653 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
654 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
655 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
656 Remove __SPE__ ifndefs.
657
46ae0732
WD
6582019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
659
660 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
661 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
662 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
663 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
664 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
665 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
666 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
667 (INNER_LOOP_ITERS_MEDIUM): New define.
668 (INNER_LOOP_ITERS_SMALL): New define.
669 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
670 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
671 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
672 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
673 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
674
004e52fe
AZ
6752019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
676
677 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
678 New define.
679 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
680 (SEMTIMEDOP_IPC_ARGS): Likewise.
681
c9c15ac3
FW
6822019-05-21 Florian Weimer <fweimer@redhat.com>
683
684 [BZ #24584]
685 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
686 before updating __counter field and release it afterwards. Add
687 overflow check.
688 * iconv/gconv.h (struct __gconv_step): Mention synchronization
689 requirement for __counter member.
690
7e740ab2
FW
6912019-05-21 Florian Weimer <fweimer@redhat.com>
692
693 [BZ #24583]
694 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
695 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
696 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
697 instead of __gconv_release_step.
698 * libio/Makefile (tests): Add tst-wfile-gconv.
699 (tests-container): Add tst-wfile-ascii.
700 (tst-wfile-gconv-ENV): Enable mtrace.
701 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
702 (tests-special): Add tst-wfile-gconv-mem.out.
703 (tst-wfile-gconv.out): Depend on locales.
704 (tst-wfile-gconv-mem.out): Add mtrace rule.
705 * libio/tst-wfile-ascii.c: New file.
706 * libio/tst-wfile-gconv.c: Likewise.
707
09e1b0e3
FW
7082019-05-20 Florian Weimer <fweimer@redhat.com>
709
710 [BZ #24588]
711 libio: Remove codecvt vtable.
712 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
713 __libio_codecvt.
714 * libio/iofgetpos.c (_IO_new_fgetpos): Call
715 __libio_codecvt_encoding.
716 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
717 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
718 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
719 * libio/iofwide.c (__libio_codecvt): Remove variable.
720 (_IO_fwide): Do not copy __libio_codecvt.
721 (__libio_codecvt_out): Rename from do_out and export.
722 (do_unshift): Remove function.
723 (__libio_codecvt_in): Rename from do_in and export.
724 (__libio_codecvt_encoding): Rename from do_encoding and export.
725 (do_always_noconv): Remove function.
726 (__libio_codecvt_length): Rename from do_length and export.
727 (do_max_length): Remove function.
728 * libio/libio.h (enum __codecvt_result): Remove definition; moved
729 to libioP.h.
730 (struct _IO_codecvt): Remove fields __codecvt_destr,
731 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
732 __codecvt_do_encoding, __codecvt_do_always_noconv,
733 __codecvt_do_length, __codecvt_do_max_length.
734 * libio/libioP.h (enum __codecvt_result): Define; moved from
735 libio.h.
736 (__libio_codecvt_out, __libio_codecvt_in)
737 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
738 functions.
739 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
740 (_IO_wfile_underflow): Call __libio_codecvt_in.
741 (_IO_wfile_underflow): Likewise.
742 (_IO_wfile_underflow_mmap): Likewise.
743 (_IO_wfile_sync): Call __libio_codecvt_encoding,
744 __libio_codecvt_length.
745 (adjust_wide_data): Call __libio_codecvt_encoding,
746 __libio_codecvt_in.
747 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
748 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
749 __libio_codecvt_length.
750
75c51570
FW
7512019-05-20 Florian Weimer <fweimer@redhat.com>
752
753 * support/support.h (support_sbindir_prefix): Declare.
754 (support_install_rootsbindir): Update comment.
755 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
756 * support/support_paths.c (support_sbindir_prefix): Define.
757
ff6bec7d
MC
7582019-05-20 Mike Crowe <mac@mcrowe.com>
759
b62bb3bc
MC
760 * support/timespec.c: Add backslash to correct newline in failure
761 message.
762
ff6bec7d
MC
763 * support/timespec.h: Correct confusing comment.
764
dfba907f
AZ
7652019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
766
236c18e5
AZ
767 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
768 define.
769 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
770 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
771 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
772 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
773
dfba907f
AZ
774 [BZ #24570]
775 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
776 usage.
777
13886008
JM
7782019-05-20 Joseph Myers <joseph@codesourcery.com>
779
780 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
781 (NT_ARM_PACG_KEYS): Likewise.
782
1f50f2ad
WD
7832019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
784
785 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
786 (tcache_put): Remove redundant assert.
787 (tcache_get): Remove redundant asserts.
788 (__libc_malloc): Check tcache count is not zero.
789 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
790
fef7c63c
FW
7912019-05-17 Florian Weimer <fweimer@redhat.com>
792
793 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
794
5f161b23
JM
7952019-05-16 Joseph Myers <joseph@codesourcery.com>
796
797 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
798 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
799 0x050100].
800 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
801 Likewise.
802 * sysdeps/unix/sysv/linux/sh/kernel-features.h
803 (__ASSUME_STATX): Likewise.
804
ec255a97
FW
8052019-05-16 Florian Weimer <fweimer@redhat.com>
806
807 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
808 flags argument.
809 (LINE_PARSER): Do not map IPv4 addresses.
810 (internal_nis_gethostent_r): Remove flags argument. Adjust call
811 to parse_line.
812 (_nss_nis_gethostent_r): Always pass AF_INET to
813 internal_nis_gethostent_r.
814 (internal_gethostbyname2_r): Remove flags argument. Adjust call
815 to parse_line.
816 (_nss_nis_gethostbyname2_r): Adjust call to
817 internal_nis_gethostent_r.
818 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
819 call to internal_nis_gethostent_r.
820 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
821 from parse_line.
822 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
823 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
824 Remove flags argument. Do not map IPv4 addresses.
825 (internal_nisplus_gethostent_r): Adjust call to
826 _nss_nisplus_parse_hostent.
827 (internal_gethostbyname2_r): Remove flags argument. Adjust call
828 to _nss_nisplus_parse_hostent.
829 (_nss_nisplus_gethostbyname2_r): Adjust call to
830 internal_gethostbyname2_r.
831 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
832 Adjust call to internal_gethostbyname2_r.
833 (_nss_nisplus_gethostbyaddr_r): Adjust call to
834 _nss_nisplus_parse_hostent.
835 (_nss_nisplus_gethostbyname4_r): Adjust call to
836 internal_gethostbyname2_r.
837
9c02d078
FW
8382019-05-16 Florian Weimer <fweimer@redhat.com>
839
840 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
841 Remove flags.
842 (LINE_PARSER): Remove address mapping.
843 (EXTRA_ARGS_VALUE): Remove flags argument.
844 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
845 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
846 gethostbyname3_multi.
847 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
848 _nss_files_gethostbyname3_r.
849 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
850
85b0e1e8
FW
8512019-05-16 Florian Weimer <fweimer@redhat.com>
852
853 * support/support_test_compare_blob.c (report_blob): Report
854 incorrect NULL blobs.
855
11b451c8
MW
8562019-05-15 Mark Wielaard <mark@klomp.org>
857
858 [BZ# 24476]
859 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
860 __libc_once_get (once) and static_buf == NULL.
861 (__dlerror): Check we have a valid key, set result to static_buf
862 otherwise.
863
32ff3975
AS
8642019-05-15 Andreas Schwab <schwab@suse.de>
865
866 [BZ #20568]
867 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
868 __codecvt_do_length.
869 * libio/Makefile (tests): Add tst-wfile-sync.
870 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
871 * libio/tst-wfile-sync.c: New file.
872 * libio/tst-wfile-sync.input: New file.
873
a9368c34
FW
8742019-05-15 Florian Weimer <fweimer@redhat.com>
875
876 nss: Turn __nss_database_lookup into a compatibility symbol.
877 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
878 __nss_database_lookup.
879 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
880 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
881 __nss_database_lookup.
882 (__nss_next): Move to …
883 * nss/compat-lookup.c (nss_next): … here. Change it to fail
884 unconditionally.
885 (__nss_database_lookup): New function.
886 * nss/Versions (GLIBC_2.0): Update comment.
887 (GLIBC_PRIVATE): Export __nss_database_lookup2.
888 * grp/initgroups.c (internal_getgrouplist): Call
889 __nss_database_lookup2 instead of __nss_database_lookup.
890 * nscd/aicache.c (addhstaiX): Likewise.
891 * nscd/initgrcache.c (addinitgroupsX): Likewise.
892 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
893 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
894 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
895 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
896 Likewise.
897 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
898 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
900
d50f0918 9012019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 902
d50f0918
AH
903 * support/support.h (support_install_rootsbindir): New variable.
904 * support/support_paths.c: Likewise.
905 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
906
7ac6fad9
FW
9072019-05-15 Florian Weimer <fweimer@redhat.com>
908
909 * iconv/gconv.h (__gconv_transliterate): Move declaration …
910 * iconv/gconv_int.h (__gconv_transliterate): … here.
911 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
912 * iconv/skeleton.c: Likewise.
913
04b261bd
FW
9142019-05-14 Florian Weimer <fweimer@redhat.com>
915
916 Linux: Add the tgkill function.
917 * bits/signal_ext.h: New file.
918 * manual/signal.texi (Signaling Another Process): Document tgkill.
919 * signal/Makefile (headers): Add bits/signal_ext.h.
920 * signal/signal.h: Include <bits/signal_ext.h>.
921 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
922 (tst-tgkill): Link with libpthread.
923 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
924 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
925 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
926 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
927 tgkill.
928 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
929 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
930 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
931 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
932 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
933 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
934 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
935 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
936 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
937 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
938 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
939 Likewise.
940 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
941 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
942 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
944 Likewise.
945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
946 Likewise.
947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
948 Likewise.
949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
950 Likewise.
951 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
952 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
953 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
954 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
955 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
956 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
957 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
958 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
959
6807f47b
CD
9602019-05-14 Carlos O'Donell <carlos@redhat.com>
961
962 * manual/search.texi (Tree Search Function): Adjust twalk_r
963 documentation.
964
fdb8a0be
AZ
9652019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
966
da2b83ef
AZ
967 [BZ #24544]
968 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
969 pre-defined value.
970
c7ac9caa
AZ
971 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
972 * support/support.h (support_bindir_prefix): New variable.
973 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
974
91f043ae
AZ
975 * config.make.in (bindir): New variable.
976
c50e1c26
AZ
977 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
978 (lll_trylock): Call __lll_trylock.
979 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
980 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
981 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
982 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
983 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
984 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
985 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
986 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
987 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
988 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
989 lowlevellock-futex.h.
990
959aff9f
AZ
991 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
992 initialization for LLL_LOCK_INITIALIZER different than 0.
993 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
994 Assume LLL_LOCK_INITIALIZER being 0.
995 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
996 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
997 Likewise.
998 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
999 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1000
d7e4c642
AZ
1001 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1002 Optimize futex call and add systemtap probe.
1003
fdb8a0be
AZ
1004 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1005 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1006 __libc_disable_asynccancel, __librt_enable_asynccancel,
1007 __libc_disable_asynccancel, __librt_enable_asynccancel,
1008 __librt_disable_asynccancel): Move to ...
1009 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1010 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1011 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1012 * sysdeps/generic/single-thread.h: New file.
1013 * sysdeps/unix/sysdep.h: Include single-thread.h.
1014 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1015 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1016
f6efec90
MF
10172019-05-08 Mike FABIAN <mfabian@redhat.com>
1018
1019 [BZ #24535]
1020 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1021 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1022 Unicode 12.1.0.
1023 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1024 * localedata/unicode-gen/PropList.txt: Likewise.
1025 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1026 * localedata/charmaps/UTF-8: Regenerate.
1027 * localedata/locales/i18n_ctype: Likewise.
1028 * localedata/locales/tr_TR: Likewise.
1029 * localedata/locales/translit_circle: Likewise.
1030 * localedata/locales/translit_cjk_compat: Likewise.
1031 * localedata/locales/translit_combining: Likewise.
1032 * localedata/locales/translit_compat: Likewise.
1033 * localedata/locales/translit_font: Likewise.
1034 * localedata/locales/translit_fraction: Likewise.
1035
5ad533e8
WD
10362019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1037
1038 [BZ #24531]
1039 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1040 (do_set_tcache_count): Only update if count is small enough.
1041 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1042
4aee85f9
FW
10432019-05-10 Florian Weimer <fweimer@redhat.com>
1044
1045 * nptl/sem_close.c (struct walk_closure): Define.
1046 (walker): Adjust for __twalk_r.
1047 (sem_close): Call __twalk_r.
1048
eb669ff5
AZ
10492019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1050
1051 * support/timespec.c (test_timespec_before_impl,
1052 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1053 insted of long int.
1054
51983996
MC
10552019-05-09 Mike Crowe <mac@mcrowe.com>
1056
44ac6ee9
MC
1057 * nptl/tst-abstime.c: Use libsupport.
1058
495514ee
MC
1059 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1060 small bug where only tv.tv_usec was checked which could cause an
1061 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1062 than a second.
1063
1064 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1065 libsupport.
1066
40d0816f
MC
1067 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1068 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1069
d8e0b901
MC
1070 * nptl/tst-cond11.c: Use libsupport.
1071
51983996
MC
1072 * support/timespec.h: New file. Provide timespec helper functions
1073 along with macros in the style of those in check.h.
1074 * support/timespec.c: New file. Implement check functions declared
1075 in support/timespec.h.
1076 * support/timespec-add.c: New file from gnulib containing
1077 timespec_add implementation that handles overflow.
1078 * support/timespec-sub.c: New file from gnulib containing
1079 timespec_sub implementation that handles overflow.
1080 * support/README: Mention timespec.h.
1081
18aa51ee
SN
10822019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1083
1084 [BZ #24537]
1085 * nptl/Makefile: Move tst-eintr1 to xtests.
1086
252296c6
AZ
10872019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1088
ae45cf84
AZ
1089 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1090 TRUNC handling.
1091 (round_mode): Add definition for TRUNC.
1092 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1093 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1094 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1095 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1096 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1097 Likewise.
1098 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1099 Likewise.
1100 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1101 Likewise.
1102 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1103 Likewise.
1104 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1105 file.
1106 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1107 Likewise.
1108 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1109 Likewise.
1110 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1111 Likewise.
1112 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1113 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1114 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1115 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1116 s_truncf-power5+, and s_truncf-ppc64.
1117 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1118 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1119 file.
1120 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1122 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1123 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1124 file.
1125 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1126 Likewise.
1127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1128 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1129 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1130 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1131 s_truncf-power5+, and s_truncf-ppc64.
1132 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1133 file.
1134 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1135 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1136 Likewise.
1137 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1138 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1139 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1140 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1141 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1142
a1cb1888
AZ
1143 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1144 ROUND handling.
1145 (round_mode): Add definition for ROUND.
1146 (round_to_integer_float): Likewise.
1147 * sysdeps/powerpc/fpu/s_round.c: New file.
1148 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1149 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1150 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1151 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1152 Likewise.
1153 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1154 Likewise.
1155 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1156 Likewise.
1157 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1158 Likewise.
1159 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1160 file.
1161 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1162 Likewise.
1163 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1164 Likewise.
1165 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1166 Likewise.
1167 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1168 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1169 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1170 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1171 s_roundf-power5+, and s_roundf-ppc64.
1172 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1173 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1174 file.
1175 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1177 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1178 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1179 file.
1180 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1181 Likewise.
1182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1183 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1185 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1186 s_roundf-power5+, and s_roundf-ppc64.
1187 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1188 file.
1189 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1190 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1191 Likewise.
1192 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1193 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1194 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1195 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1196 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1197
252296c6
AZ
1198 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1199 Add FLOOR option.
1200 (round_mode): Add definition for FLOOR.
1201 * sysdeps/powerpc/fpu/s_floor.c: New file.
1202 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1203 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1204 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1206 Remove file.
1207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1208 Likewise
1209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1210 Likewise.
1211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1212 Likewise.
1213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1214 New file.
1215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1216 Likewise.
1217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1218 Likewise.
1219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1220 Likewise.
1221 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1222 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1223 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1224 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1225 s_floorf-power5+, and s_floorf-ppc64.
1226 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1227 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1228 file.
1229 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1231 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1232 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1233 file.
1234 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1235 Likewise.
1236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1237 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1239 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1240 s_floorf-power5+, and s_floorf-ppc64.
1241 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1242 file.
1243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1244 file.
1245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1246 Likewise.
1247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1248 Likewise.
1249 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1250 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1251 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1252 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1253
33647a72
MC
12542019-05-08 Mike Crowe <mac@mcrowe.com>
1255
1256 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1257 clock_gettime wrapper for use in tests that fails the test rather
1258 than returning failure.
1259
1260 * support/xtime.h: New file to declare xclock_gettime.
1261
1262 * support/Makefile: Add xclock_gettime.c.
1263
1264 * support/README: Mention xtime.h.
1265
b2f601ba
FW
12662019-05-08 Florian Weimer <fweimer@redhat.com>
1267
1268 malloc/tst-mallocfork2: Use process-shared barriers.
1269 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1270 (signal_count, sigusr1_sender_pid): Remove.
1271 (iterations): Define constant.
1272 (shared): New variable.
1273 (sigusr1_received): Update comment.
1274 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1275 (signal_sender): Optional use barriers to avoid sending signals
1276 during irrelevant times.
1277 (do_it): Initialize variable shared. Use xfork for error
1278 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1279 the iteration count, independent of signal delivery. Check for
1280 deadlocks in fork. Introduce barriers for reducing signal
1281 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1282 replaced by the barriers. Count signals during fork/free/malloc
1283 and report them.
1284 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1285
c4a392cf
JM
12862019-05-07 Joseph Myers <joseph@codesourcery.com>
1287
7621676f
JM
1288 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1289 version to 5.1.
1290 (clock_adjtime64) New syscall.
1291 (clock_getres_time64) Likewise.
1292 (clock_gettime64) Likewise.
1293 (clock_nanosleep_time64) Likewise.
1294 (clock_settime64) Likewise.
1295 (futex_time64) Likewise.
1296 (io_pgetevents_time64) Likewise.
1297 (io_uring_enter) Likewise.
1298 (io_uring_register) Likewise.
1299 (io_uring_setup) Likewise.
1300 (mq_timedreceive_time64) Likewise.
1301 (mq_timedsend_time64) Likewise.
1302 (pidfd_send_signal) Likewise.
1303 (ppoll_time64) Likewise.
1304 (pselect6_time64) Likewise.
1305 (recvmmsg_time64) Likewise.
1306 (rt_sigtimedwait_time64) Likewise.
1307 (sched_rr_get_interval_time64) Likewise.
1308 (semtimedop_time64) Likewise.
1309 (timer_gettime64) Likewise.
1310 (timer_settime64) Likewise.
1311 (timerfd_gettime64) Likewise.
1312 (timerfd_settime64) Likewise.
1313 (utimensat_time64) Likewise.
1314
c4a392cf
JM
1315 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1316 version to 9 branch.
1317
32e902a9
AY
13182019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1319
1320 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1321 __memmove_thunderx2 to the list of implementations
1322 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1323 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1324 (__memmove_thunderx2): Rewritten using SIMD ld/st
1325 (__memcpy_thunderx2): Fixed handling overlapping cases.
1326 Used ldp/stp instead of ldr/str if possible. Made loops
1327 tails branchless.
1328
ac3da35d
FW
13292019-05-03 Florian Weimer <fweimer@redhat.com>
1330
1331 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1332
b2af6fb2
AZ
13332019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1334
7dfde28a 1335 [BZ #24506]
b2af6fb2
AZ
1336 * elf/tst-pldd.c (in_str_list): New function.
1337 (do_test): Add default names for ld and libc as one option.
1338
7b807a35
FW
13392019-05-02 Florian Weimer <fweimer@redhat.com>
1340
1341 misc: Add twalk_r function.
1342 * include/search.h (__twalk_r): Declare.
1343 * manual/examples/twalk.c: New file.
1344 * manual/search.texi (Tree Search Function): Document twalk_r.
1345 * misc/Versions (2.30): Export twalk_r.
1346 (GLIBC_PRIVATE): Export __twalk_r.
1347 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1348 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1349 (twalk_r): Add weak alias.
1350 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1351 (walk_trace): New variable.
1352 (struct twalk_with_twalk_r_closure): Define.
1353 (twalk_with_twalk_r_action): New function.
1354 (twalk_with_twalk_r): Likewise.
1355 (walk_action): Call walk_trace_add.
1356 (walk_tree_with): Rename from walk_tree. Add walk argument.
1357 (walk_tree): New function.
1358 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1359 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1360 Likewise.
1361 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1362 Likewise.
1363 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1364 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1365 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1366 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1367 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1368 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1369 Likewise.
1370 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1371 Likewise.
1372 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1373 Likewise.
1374 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1375 (GLIBC_2.30): Likewise.
1376 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1377 (GLIBC_2.30): Likewise.
1378 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1379 (GLIBC_2.30): Likewise.
1380 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1381 (GLIBC_2.30): Likewise.
1382 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1383 Likewise.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1385 (GLIBC_2.30): Likewise.
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1387 (GLIBC_2.30): Likewise.
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1389 (GLIBC_2.30): Likewise.
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1391 (GLIBC_2.30): Likewise.
1392 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1393 Likewise.
1394 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1395 Likewise.
1396 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1397 Likewise.
1398 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1399 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1400 Likewise.
1401 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1402 Likewise.
1403 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1404 Likewise.
1405 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1406 Likewise.
1407
20aa5819
PE
14082019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1409
1410 Make mktime etc. compatible with __time64_t
1411 Keep these functions compatible with Gnulib while adding
1412 __time64_t support. The basic idea is to move private API
1413 declarations from include/time.h to time/mktime-internal.h, since
1414 the former file cannot easily be shared with Gnulib whereas the
1415 latter can.
1416 Also, do some other minor cleanup while in the neighborhood.
1417 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1418 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1419 since Gnulib needs it.
1420 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1421 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1422 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1423 (in_time_t_range): New static function.
1424 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1425 so that glibc users are not tempted to use __time64_t.
1426 * time/mktime-internal.h: Rewrite so that it does both glibc
1427 and Gnulib work. Include time.h if not _LIBC.
1428 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1429 (__time64_t): New type or macro, moved here from
1430 posix/bits/types.h.
1431 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1432 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1433 from include/time.h.
1434 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1435 New macros, taken from GNulib.
1436 (__mktime_internal): New prototype, moved here from include/time.h.
1437 * time/mktime.c (mktime_min, mktime_max, convert_time)
1438 (ranged_convert, __mktime_internal, __mktime64):
1439 * time/timegm.c (__timegm64):
1440 Use __time64_t, not time_t.
1441 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1442 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1443 Rename from mktime.
1444 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1445 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1446 for libc_hidden_def.
1447 Include errno.h.
1448 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1449 Rename from timegm.
1450 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1451
87c266d7
MR
14522019-04-30 Maciej W. Rozycki <macro@wdc.com>
1453
1454 [BZ #19444]
1455 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1456 from `-Wmaybe-uninitialized'.
1457 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1458
c4c0848b
AZ
14592019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1460
6cac323c
AZ
1461 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1462 function.
1463 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1464 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1465 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1466 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1467 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1469 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1471 Remove file.
1472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1473 Likewise.
1474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1475 Likewise.
1476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1477 Likewise.
1478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1479 New file.
1480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1481 Likewise.
1482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1483 Likewise.
1484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1485 Likewise.
1486 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1487 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1488 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1489 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1490 Likewise.
1491 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1492 Likewise.
1493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1494 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1495 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1496 file.
1497 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1498 Likewise.
1499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1500 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1501 * here.
1502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1503 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1504 s_ceilf-power5+, and s_ceilf-ppc64.
1505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1506 file.
1507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1510 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1511 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1512 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1513 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1514
c4c0848b
AZ
1515 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1516 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1517 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1518
f492fc99
YD
15192019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1520
1521 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1522 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1523 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1524 (sem_getvalue): Likewise.
1525
c57afec0
FW
15262019-04-26 Florian Weimer <fweimer@redhat.com>
1527
1528 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1529 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1530
a8ff215e
FW
15312019-04-26 Florian Weimer <fweimer@redhat.com>
1532
1533 Makeconfig: Move -Wl,-rpath-link options before library references.
1534 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1535 (link-libc): Remove $(link-libc-rpath-link).
1536
15372019-04-25 Florian Weimer <fweimer@redhat.com>
1538
1539 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1540 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1541 (+link-static-before-libc): Remove $(CC).
1542 (+link-static, +link-static-tests): Add $(CC).
1543 (+link-before-libc): Remove $(CC).
1544 (+link, +link-pie, +link-pie-printers): Add $(CC).
1545
e30fb31c
FW
15462019-04-26 Florian Weimer <fweimer@redhat.com>
1547
1548 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1549 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1550 (+link-static-before-libc): Remove $(CC).
1551 (+link-static, +link-static-tests): Add $(CC).
1552 (+link-before-libc): Remove $(CC).
1553 (+link, +link-pie, +link-pie-printers): Add $(CC).
1554
deacca00
DA
15552019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1556
1557 [BZ#24484]
1558 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1559
b5ffdc48
FW
15602019-04-25 Florian Weimer <fweimer@redhat.com>
1561
1562 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1563 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1564 (bench-link-targets): New variable.
1565 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1566
94a4e9e4
FW
15672019-04-25 Florian Weimer <fweimer@redhat.com>
1568
1569 Also enable BIND_NOW for programs if --enable-bind-now.
1570 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1571 (+link-pie): Use $(link-extra-flags).
1572 (+link-static): Likewise.
1573 [! $(build-pie-default)] (+link): Likewise.
1574 * manual/install.texi (Configuring and compiling): Update
1575 --enable-bind-now description.
1576 * INSTALL: Regenerated.
1577
fe92a91f
WD
15782019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1579
1580 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1581 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1582
f9b645b4
MF
15832019-04-24 Mike Frysinger <vapier@gentoo.org>
1584
1585 [BZ #18465]
1586 * malloc/Makefile (others): Add memusagestat.
1587 ($(objpfx)memusagestat): Delete rule.
1588 (LDLIBS-memusagestat): New variable.
1589
439bf534
FW
15902019-04-24 Florian Weimer <fweimer@redhat.com>
1591
1592 * locale/Makefile (tests-special): Guard setting by
1593 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1594 to run while cross-compiling.
1595
1a4c2735
AZ
15962019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1597
1598 [BZ #18035]
1599 * elf/Makefile (tests-container): Add tst-pldd.
1600 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1601 (E(find_maps)): Avoid use alloca, use default read file operations
1602 instead of explicit LFS names, and fix infinite loop.
1603 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1604 (get_process_info): Use _Static_assert instead of assert, use default
1605 directory operations instead of explicit LFS names, and free some
1606 leadek pointers.
1607 * elf/tst-pldd.c: New file.
1608
2d398aa2
L
16092019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1610
1611 * malloc/arena.c (do_set_mallopt_check): Removed.
1612
e485b2b6
FW
16132019-04-23 Florian Weimer <fweimer@redhat.com>
1614
1615 locale: Add LOCPATH diagnostics to the locale program.
1616 * locale/programs/locale.c (setlocale_failed): New variable.
1617 (try_setlocale): New function.
1618 (quote_string): Likewise.
1619 (setlocale_diagnostics): Likewise.
1620 (main): Call try_setlocale instead of setlocale. Call
1621 setlocale_diagnostics.
1622 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1623 (tst-locale-locpath.out): New target.
1624 * locale/tst-locale-locpath.sh: New file.
1625
25f7a3c9
AZ
16262019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1627
1628 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1629 to 2.30 notes.
1630
9bf8e29c
AZ
16312019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1632
1633 [BZ #23741]
1634 * malloc/hooks.c (malloc_check, realloc_check): Use
1635 __builtin_add_overflow on overflow check and adapt to
1636 checked_request2size change.
1637 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1638 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1639 allocation size to PTRDIFF_MAX.
1640 (REQUEST_OUT_OF_RANGE): Remove macro.
1641 (checked_request2size): Change to inline function and limit maximum
1642 requested size to PTRDIFF_MAX.
1643 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1644 maximum allocation size to PTRDIFF_MAX.
1645 (_mid_memalign): Use _int_memalign call for overflow check.
1646 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1647 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1648 limit maximum requested size to PTRDIFF_MAX.
1649 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1650 valloc, pvalloc): Add __attribute_alloc_size__.
1651 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1652 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1653 larger than PTRDIFF_MAX.
1654 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1655 around tests of malloc with negative sizes.
1656 * malloc/tst-posix_memalign.c (do_test): Likewise.
1657 * malloc/tst-pvalloc.c (do_test): Likewise.
1658 * malloc/tst-valloc.c (do_test): Likewise.
1659 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1660 with resulting size allocation larger than PTRDIFF_MAX with
1661 reallocarray_nowarn.
1662 (reallocarray_nowarn): New function.
1663 * NEWS: Mention the malloc function semantic change.
1664
0e169691
AZ
16652019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1666
52faba65
AZ
1667 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1668 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1669
3a16dd78
AZ
1670 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1671 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1672 * sysdeps/powerpc/fpu/s_fma.c: New file.
1673 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1674
1dac8bd6
AZ
1675 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1676 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1677
a3ae315a
AZ
1678 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1679 the magic flag store.
1680 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1681 Likewise.
1682 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1683 Likewise.
1684 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1685 Remove rt_sigreturn call.
1686
ffe8a9a8
AZ
1687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1688 Remove rt_sigreturn call.
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1690 Likewise.
1691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1693
0e169691
AZ
1694 * support/Makefile (libsupport-routines): Add support_subprocess,
1695 xposix_spawn, xposix_spawn_file_actions_addclose, and
1696 xposix_spawn_file_actions_adddup2.
1697 (tst-support_capture_subprocess-ARGS): New rule.
1698 * support/capture_subprocess.h (support_capture_subprogram): New
1699 prototype.
1700 * support/support_capture_subprocess.c (support_capture_subprocess):
1701 Refactor to use support_subprocess and support_capture_poll.
1702 (support_capture_subprogram): New function.
1703 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1704 str_to_write_mode, test_common, parse_int, handle_restart,
1705 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1706 (do_test): Add support_capture_subprogram tests.
1707 * support/subprocess.h: New file.
1708 * support/support_subprocess.c: Likewise.
1709 * support/xposix_spawn.c: Likewise.
1710 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1711 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1712 * support/xspawn.h: Likewise.
1713
bae8cf0e
MG
17142019-04-17 Mike Gerow <gerow@google.com>
1715
1716 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1717 groups limit.
1718
e3f454ba
FW
17192019-04-11 Florian Weimer <fweimer@redhat.com>
1720
1721 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1722 domain with empty string.
1723 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1724
32d85c11
FW
17252019-04-11 Florian Weimer <fweimer@redhat.com>
1726
1727 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1728 comment.
1729 (alloc_buffer_next): Change return type to non-const. Update
1730 comment.
1731
221710af
FW
17322019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1733
1734 * manual/time.texi (Formatting Calendar Time): Add missing percent
1735 sign to conversion specifier.
1736
e621246e
CD
17372019-04-09 Carlos O'Donell <carlos@redhat.com>
1738 Kwok Cheung Yeung <kcy@codesourcery.com>
1739
1740 [BZ #16573]
1741 * malloc/mtrace.c: Define prototypes for all hooks.
1742 (set_default_hooks): New function.
1743 (set_trace_hooks): Likewise.
1744 (save_default_hooks): Likewise.
1745 (tr_freehook): Use new s*_hooks functions.
1746 (tr_mallochook): Likewise.
1747 (tr_reallochook): Likewise.
1748 (tr_memalignhook): Likewise.
1749 (mtrace): Likewise.
1750 (muntrace): Likewise.
1751
648279f4
WD
17522019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1753
1754 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1755 (generic_stpcpy): New function.
1756 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1757 (generic_stpncpy): New function.
1758 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1759 (generic_strcat): New function.
1760 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1761 (generic_strcpy): New function.
1762 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1763 (STUPID_STRNCAT): Remove function.
1764 (generic_strncat): New function.
1765 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1766 (STUPID_STRNCPY): Remove function.
1767 (generic_strncpy): New function.
1768 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1769 (generic_strnlen): New function.
1770 (memchr_strnlen): New function.
1771 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1772 (memchr_strlen): Likewise.
1773
93eebae5
WD
17742019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1775
1776 * benchtests/bench-strstr.c (input): Add realistic input text.
1777 (stupid_strstr): Remove function.
1778 (basic_strstr): Add function.
1779 (twoway_strstr): Add function.
1780 (do_one_test): Add result checking.
1781 (do_test): Use new input text. Remove accidental early matches.
1782 (test_main): Improve range of tests, reduce unaligned cases.
1783
a173d09f
WD
17842019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1785
1786 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1787 (basic_memmem): Add function.
1788 (twoway_memmem): Add function.
1789
6103c0a8
WD
17902019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1791
1792 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1793 * benchtests/bench-malloc-thread.c: Likewise.
1794 * benchtests/bench-skeleton.c: Likewise.
1795 * benchtests/bench-strtod.c: Likewise.
1796 * benchtests/bench-timing.h: Likewise.
1797
33322186
FW
17982019-04-08 Florian Weimer <fweimer@redhat.com>
1799
1800 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1801 definitions.
1802 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1803 RES_INSECURE2 security checks.
1804 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1805 RES_INSECURE2 handling.
1806
3f8b44be
FW
18072019-04-08 Florian Weimer <fweimer@redhat.com>
1808
1809 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1810 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1811 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1812 GETHOSTBYNAME.
1813 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1814 (tests-internal): Update justification for tst-resolv-res_init,
1815 tst-resolv-res_init-thread.
1816 (tst-res_use_inet6): Remove target.
1817 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1818 * resolv/res_debug.c (p_option): Remove "inet6" support.
1819 * resolv/res_init.c (res_setoptions): Likewise.
1820 * resolv/res_use_inet6.h: Remove file.
1821 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1822 definition.
1823 (res_use_inet6): Always return false.
1824 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1825 * resolv/resolv_context.h: Adjust file comment.
1826 (struct resolv_context): Update comment on __next field.
1827 (__resolv_context_put): Update comment.
1828 * resolv/tst-res_use_inet6.c: Remove file.
1829 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1830 "inet6" support.
1831 (test_cases): Adjust test case.
1832 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1833 (thread_byname2_af_inet6): Use old byname_inet6 code.
1834 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1835 (gai): Remove do_inet6 argument.
1836 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1837 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1838 (thread_gai_unspec_inet6): Remove functions.
1839 (do_test): Adjust thread_funcs.
1840 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1841 RES_USE_INET6 flag.
1842 (gaih_inet): Do not disable RES_USE_INET6 flag.
1843
6b5c8607 18442019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
1845
1846 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1847 and remove redundant code.
1848
e3fd0b0e
AZ
18492019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1850
f82ed45d
AZ
1851 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1852 New rule.
1853 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1854 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1855 Likewise.
1856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1857 Likewise.
1858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1859 Likewise.
1860 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1861 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1862 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1863 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1864 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1865 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1866 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1867 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1868 wcsrchr-power7.
1869 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1872 Remove wcsrchr optimizations.
1873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1874
662c2cc4
AZ
1875 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1876 the loop unroll.
1877
421e3005
AZ
1878 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1879 New rule.
1880 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1881 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1882 Likewise.
1883 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1884 Likewise.
1885 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1886 Likewise.
1887 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1888 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1889 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1890 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1891 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1892 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1894 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1895 wcschr-power7.
1896 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1897 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1898 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1899 Remove wcschr optimizations.
1900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1901
7ba0100c
AZ
1902 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1903 the loop unroll.
1904
447a1306
AZ
1905 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1906 New rule.
1907 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1908 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1909 Likewise.
1910 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1911 Likewise.
1912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1913 Likewise.
1914 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1915 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1916 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1917 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1918 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1919 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1920 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1921 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1922 wcscpy-power7.
1923 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1924 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1925 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1926 Remove wcscpy optimizations.
1927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1928
e3fd0b0e
AZ
1929 * include/loop_unroll.h: New file.
1930 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1931 besides generic implementation.
1932
8260f236
DD
19332019-04-03 DJ Delorie <dj@redhat.com>
1934
1935 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1936 snprintf truncating output.
1937
0bd545ee
DD
19382019-04-02 DJ Delorie <dj@redhat.com>
1939
1940 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1941 warning.
1942
466afec3
TS
19432019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1944
1945 [BZ #22964]
1946 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1947 era.
1948 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1949 (mkreftable): Add rules for the new Japanese era and the new dates.
1950
2f1d6155
TS
19512019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1952 Rafal Luzynski <digitalfreak@lingonborough.com>
1953
1954 * time/tst-strftime2.c (date_t): Explicitly define the type.
1955 (dates): Use natural month and year numbers to express a date.
1956 (is_before): New function to compare dates.
1957 (mkreftable): Minor improvements to simplify maintenance.
1958 (do_test): Reflect the changes in dates array.
1959
84aea169
TS
1960 [BZ #24293]
1961 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1962 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1963 * time/tst-strftime2.c (locales): Likewise.
1964 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1965 2010-04-01, and 2011-04-01.
1966 (mkreftable): Add rules for the new locales and the new dates.
1967
62449176
CD
19682019-04-01 Carlos O'Donell <carlos@redhat.com>
1969
1970 * localedata/locales/ja_JP: Add comments to era entries.
1971
e0e4c321
DD
19722019-04-01 DJ Delorie <dj@redhat.com>
1973
1974 [BZ #24394]
1975 * time/strptime_l.c (%Ey): Fix fencepost error.
1976 * time/tst-strftime3.c: New.
1977 * time/Makefile (tests): Add tst-strftime3.
1978
6b5c8607 19792019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
1980
1981 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1982 conditional branch to DIVBYZERO. Fix unwind info.
1983 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1984 excb after conditional branch to $powerof2. Add missing unop
1985 instructions and .align directives and reorder instructions to
1986 match __divqu.
1987
d5ecee82
RH
19882019-04-01 Richard Henderson <rth@twiddle.net>
1989
1990 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1991 Do not redefine.
1992 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1993 Do not redefine.
1994
656dd306
MR
19952019-03-30 Maciej W. Rozycki <macro@wdc.com>
1996
1997 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1998 $libc_cv_riscv_float_abi in `test' invocation.
1999 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2000
10cce669
PC
20012019-03-29 Paul A. Clarke <pc@us.ibm.com>
2002
2003 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2004 asm with builtin.
2005 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2006 Likewise.
2007 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2008 (_GET_SI_FPSCR): Likewise.
2009 (_SET_SI_FPSCR): Likewise.
2010
5e67e4bf 20112019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
2012
2013 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2014 clang 2.8.
2015 (signbit): Use builtin for clang 3.3.
2016 (isinf): Use builtin for clang 3.7.
2017
01963891
AZ
20182019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2019
2020 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2021
67112f7a
AH
20222019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2023
2024 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2025 quote in printf.
2026
7a773abf
MC
20272019-03-25 Mike Crowe <mac@mcrowe.com>
2028
82849fde
MC
2029 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2030 pthread_rwlock_timedrdlock with calls to
2031 pthread_rwlock_timedwrlock to ensure that the latter is tested
2032 too. Use new function name in diagnostic messages too.
2033
7a773abf
MC
2034 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2035 (do_test) Use libsupport test macros rather than hand-coded
2036 conditionals and error messages. Ensure that sem_init returns zero
2037 rather than not -1. Use <support/test-driver.c> rather than
2038 test-skeleton.c.
2039
2040 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2041 test macros rather than hand-coded conditionals and error messages.
2042 Use <support/test-driver.c> rather than test-skeleton.c.
2043
9ac2de69
JM
20442019-03-25 Joseph Myers <joseph@codesourcery.com>
2045
d7563e62
JM
2046 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2047
9ac2de69
JM
2048 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2049 (NT_MIPS_MSA): Likewise.
2050
38cc11da
AZ
20512019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2052
7621e38b
WD
2053 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2054 * benchtests/README: Update description.
2055 * benchtests/bench-timing.h: Default to hp-timing.
2056 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2057 HP_TIMING_PRINT): Remove.
2058 (HP_TIMING_NOW): Add generic implementation.
2059 (hp_timing_t): Change to uint64_t.
2060
1e372ded
AZ
2061 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2062 HP_TIMING_INLINE.
2063 * nptl/descr.h: Likewise.
2064 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2065 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2066 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2067 Abstract hp-timing usage with RTLD_* macros.
2068 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2069 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2070 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2071 HP_TIMING_NONAVAIL): Likewise.
2072 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2073 Likewise.
2074 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2075 HP_SMALL_TIMING_AVAIL): Likewise.
2076 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2077 HP_SMALL_TIMING_AVAIL): Likewise.
2078 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2079 HP_SMALL_TIMING_AVAIL): Likewise.
2080 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2081 HP_SMALL_TIMING_AVAIL): Likewise.
2082 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2083 Likewise.
2084 * sysdeps/generic/hp-timing-common.h: Update comment with
2085 HP_TIMING_AVAIL removal.
2086
359653aa
AZ
2087 * include/random-bits.h: New file.
2088 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2089 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2090 random_bits.
2091 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2092 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2093 Likewise.
2094
6e8ba7fd
AZ
2095 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2096 * rt/Makefile (clock-routines): Remove get_clockfreq.
2097 * rt/get_clockfreq.c: Remove file.
2098 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2099 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2100 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2101 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2102 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2103
77b6f553
AZ
2104 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2105 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2106 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2107 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2108 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2109
38cc11da
AZ
2110 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2111 pthread_clock_settime.
2112 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2113 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2114 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2115 * elf/rtld.c (_dl_start_final): Likewise.
2116 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2117 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2118 Remove.
2119 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2120 (_dl_cpuclock_offset): Remove.
2121 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2122 cpuclock_offset_ununsed.
2123 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2124 cpuclock_offset set.
2125 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2126 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2127 * nptl/pthread_clock_gettime.c: Remove file.
2128 * nptl/pthread_clock_settime.c: Likewise.
2129 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2130 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2131 and CLOCK_PROCESS_CPUTIME_ID support.
2132 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2133 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2134 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2135 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2136 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2137 Likewise.
2138 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2139
421749d6
SL
21402019-03-22 Stefan Liebler <stli@linux.ibm.com>
2141
2142 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2143 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2144 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2145 New defines.
2146 * sysdeps/s390/memmem-arch13.S: New file.
2147 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2148 if it is only used as fallback.
2149 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2150 * sysdeps/s390/multiarch/ifunc-impl-list.c
2151 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2152
6f47401b
SL
21532019-03-22 Stefan Liebler <stli@linux.ibm.com>
2154
2155 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2156 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2157 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2158 New defines.
2159 * sysdeps/s390/multiarch/ifunc-impl-list.c
2160 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2161 * sysdeps/s390/strstr-arch13.S: New file.
2162 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2163 if it is only used as fallback.
2164 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2165
96fbb9a3
SL
21662019-03-22 Stefan Liebler <stli@linux.ibm.com>
2167
2168 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2169 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2170 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2171 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2172 ifunc selector.
2173 * sysdeps/s390/multiarch/ifunc-impl-list.c
2174 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2175 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2176 S390_IS_ARCH13_MIE3): New defines.
2177
a899a551
SL
21782019-03-22 Stefan Liebler <stli@linux.ibm.com>
2179
2180 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2181 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2182 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2183 * sysdeps/s390/configure: Regenerated.
2184
1a7df49c
SL
21852019-03-22 Stefan Liebler <stli@linux.ibm.com>
2186
2187 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2188 Add vxe2, vxp, dflt, sort flags.
2189 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2190 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2191 capabilities.
2192 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2193 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2194 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2195 HWCAP_S390_DFLT): Define.
2196
5e67e4bf 21972019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
2198
2199 [BZ #24372]
2200 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2201 of compiler warning.
2202 * locale/programs/ld-collate.c (collate_output): Likewise.
2203
ac64195c
DD
22042019-03-21 DJ Delorie <dj@redhat.com>
2205
2206 [BZ #24372]
2207 * iconv/iconvconfig.c (write_output): Replace floating point math
2208 with integer math to avoid imprecise results.
2209 * locale/programs/ld-collate.c (collate_output): Likewise.
2210
61f5e947
SL
22112019-03-21 Stefan Liebler <stli@linux.ibm.com>
2212
2213 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2214 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2215
57ada43c 22162019-03-20 mansayk <6688000@gmail.com>
2217
2218 [BZ #24296]
2219 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2220 (abday): Likewise, but remove the trailing dots.
2221
a2e57f89
JM
22222019-03-19 Joseph Myers <joseph@codesourcery.com>
2223
2224 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2225 macro.
2226 (HWCAP_PACA): Likewise.
2227 (HWCAP_PACG): Likewise.
2228 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2229 Increase to 32.
2230 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2231
e87d8ada
ST
22322019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2233
2234 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2235 should be handled.
2236
477e739b
JM
22372019-03-15 Joseph Myers <joseph@codesourcery.com>
2238
2239 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2240 version to 5.0.
2241 (old_getpagesize): New syscall.
2242
238d60a1
FY
22432019-03-15 Felix Yan <felixonmars@archlinux.org>
2244
2245 [BZ #24293]
2246 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2247 * localedata/locales/cmn_TW (era): Likewise.
2248 * localedata/locales/hak_TW (era): Likewise.
2249 * localedata/locales/lzh_TW (era): Likewise.
2250 * localedata/locales/nan_TW (era): Likewise.
2251
5dde9ef7
DD
22522019-03-14 Adam Maris <amaris@redhat.com>
2253
2254 * malloc/malloc.c (_int_malloc): Check for large bin list
2255 corruption when inserting unsorted chunk.
2256
a0a0dc83
FW
22572019-03-14 Florian Weimer <fweimer@redhat.com>
2258
2259 Remove obsolete, never-implemented XSI STREAMS declarations.
2260 * manual/terminal.texi (Allocation): Remove portability note and
2261 adjust example.
2262 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2263 _SC_STREAMS.
2264 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2265 * sysdeps/unix/inet/Subdirs (streams): Remove.
2266 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2267 (conformtest-headers-UNIX98): Likewise.
2268 (conformtest-headers-XOPEN2K): Likewise.
2269 (conformtest-headers-POSIX2008): Likewise.
2270 * posix/compat-streams.c: New file.
2271 * posix/Makefile (routines): Add it.
2272 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2273 getpmsg, isastream, putmsg, putpmsg.
2274 (GLIBC_2.30): New section.
2275 * bits/stropts.h: Remove file.
2276 * bits/xtitypes.h: Likewise.
2277 * conform/data/stropts.h-data: Likewise.
2278 * include/stropts.h: Likewise.
2279 * include/sys/stropts.h: Likewise.
2280 * include/xtitypes.h: Likewise.
2281 * streams/Makefile: Likewise.
2282 * streams/fattach.c: Likewise.
2283 * streams/fdetach.c: Likewise.
2284 * streams/getmsg.c: Likewise.
2285 * streams/getpmsg.c: Likewise.
2286 * streams/isastream.c: Likewise.
2287 * streams/putmsg.c: Likewise.
2288 * streams/putpmsg.c: Likewise.
2289 * streams/stropts.h: Likewise.
2290 * streams/sys/stropts.h: Likewise.
2291 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2292 * sysdeps/s390/bits/xtitypes.h: Likewise.
2293 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2294 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2295 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2296 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2297 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2298 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2299 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2300 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2301 * sysdeps/x86/bits/xtitypes.h: Likewise.
2302
081bdf94
FW
23032019-03-14 Florian Weimer <fweimer@redhat.com>
2304
2305 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2306 libnss_files.
2307 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2308 but not with libnss_files.
2309 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2310
97f8225d
ZW
23112019-03-14 Zack Weinberg <zackw@panix.com>
2312
2313 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2314 Specify encoding="utf-8" when opening headers to check.
2315
0c1041ee
JM
23162019-03-13 Joseph Myers <joseph@codesourcery.com>
2317
2318 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2319 version to 5.0.
2320 (Context.checkout_tar): Handle variable major version for Linux
2321 kernel.
2322
043440e7
FW
23232019-03-13 Florian Weimer <fweimer@redhat.com>
2324
2325 [BZ #24047]
2326 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2327
29218b26
ZW
23282019-03-13 Zack Weinberg <zackw@panix.com>
2329
2330 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2331 Move to stdlib.
2332 * include/inttypes.h: Adjust to match.
2333 * include/stdint.h: New wrapper.
2334
711a322a
ZW
23352019-03-13 Zack Weinberg <zackw@panix.com>
2336
2337 * scripts/check-obsolete-constructs.py: New test script.
2338 * scripts/check-installed-headers.sh: Remove tests for
2339 obsolete typedefs, superseded by check-obsolete-constructs.py.
2340 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2341 as a special test. Update commentary.
2342 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2343 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2344 Update commentary.
2345 * posix/sys/types.h (__u_intN_t): Remove.
2346 (u_int8_t): Typedef using __uint8_t.
2347 (u_int16_t): Typedef using __uint16_t.
2348 (u_int32_t): Typedef using __uint32_t.
2349 (u_int64_t): Typedef using __uint64_t.
2350
7c651308
SL
23512019-03-13 Stefan Liebler <stli@linux.ibm.com>
2352
2353 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2354 call _dl_procinfo.
2355 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2356 Ignore types other than AT_HWCAP.
2357 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2358 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2359 Likewise.
2360 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2361 in the case of falling back to generic output mechanism.
2362 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2363 Likewise.
2364
38b52865
FW
23652019-03-12 Florian Weimer <fweimer@redhat.com>
2366
2367 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2368
08504de7
FW
23692019-03-12 Florian Weimer <fweimer@redhat.com>
2370
2371 [BZ #24047]
2372 resolv: Enable full ICMP errors for UDP DNS sockets
2373 * resolv/res_enable_icmp.c: New file.
2374 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2375 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2376 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2377 socket.
2378
5fbcd763
MH
23792019-03-11 Mao Han <han_mao@c-sky.com>
2380
2381 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2382 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2383
c4e5f34b
MH
23842019-03-11 Mao Han <han_mao@c-sky.com>
2385
2386 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2387 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2388 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2389
827e30f3
MH
23902019-03-11 Mao Han <han_mao@c-sky.com>
2391
2392 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2393 directly.
2394 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2395 definition.
2396
6229c9bf
MH
23972019-03-11 Mao Han <han_mao@c-sky.com>
2398
2399 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2400 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2401 in mcontext_t
2402
86bdd49d
MF
24032019-03-08 Mike FABIAN <mfabian@redhat.com>
2404
2405 [BZ #24307]
2406 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2407 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2408 Unicode 12.0.0.
2409 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2410 * localedata/unicode-gen/PropList.txt: Likewise.
2411 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2412 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2413 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2414 * localedata/charmaps/UTF-8: Regenerate.
2415 * localedata/locales/i18n_ctype: Likewise.
2416 * localedata/locales/tr_TR: Likewise.
2417 * localedata/locales/translit_circle: Likewise.
2418 * localedata/locales/translit_cjk_compat: Likewise.
2419 * localedata/locales/translit_combining: Likewise.
2420 * localedata/locales/translit_compat: Likewise.
2421 * localedata/locales/translit_font: Likewise.
2422 * localedata/locales/translit_fraction: Likewise.
2423
c5f65462
JM
24242019-03-07 Joseph Myers <joseph@codesourcery.com>
2425
2426 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2427 than after operators.
2428 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2429 (setitimer_locked): Likewise.
2430 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2431 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2432 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2433 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2434 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2435 (PPC_CPU_SUPPORTED): Likewise.
2436 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2437 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2438 (stat_overflow): Likewise.
2439 (statfs_overflow): Likewise.
2440 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2441 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2442 (eq_ttyname_r): Likewise.
2443 (run_chroot_tests): Likewise.
2444
27a2f2f3
FW
24452019-03-07 Florian Weimer <fweimer@redhat.com>
2446
2447 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2448 header check.
2449
ae514971 24502019-03-07 Martin Liska <mliska@suse.cz>
2451
2452 * math/Makefile: Change location where math-vector-fortran.h is
2453 installed.
2454 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2455 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2456 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2457 * scripts/check-installed-headers.sh: Skip Fortran header files.
2458 * scripts/check-wrapper-headers.py: Likewise.
2459
0ddb7ea8
AZ
24602019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2461
2462 * nptl/nptl-init.c (__have_futex_clock_realtime,
2463 __have_futex_clock_realtime): Remove definition.
2464 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2465 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2466 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2467 __ASSUME_FUTEX_CLOCK_REALTIME support.
2468 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2469 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2470 * sysdeps/unix/sysv/linux/kernel-features.h
2471 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2472 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2473 Adjust comment.
2474
590675c0
GG
24752019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2476
2477 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2478 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2479 __GI___wcscpy and wcscpy.
2480
de71ee7b
FW
24812019-03-04 Florian Weimer <fweimer@redhat.com>
2482
2483 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2484 declaration.
2485 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2486 defined.
2487
ce6ddae0
SL
24882019-03-04 Stefan Liebler <stli@linux.ibm.com>
2489
2490 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2491 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2492
31efface
TS
24932019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2494
2495 [BZ #24162]
2496 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2497 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2498
f0eaf862
GG
24992019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2500
2501 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2502 tests.
2503 (do_test): Likewise.
2504 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2505 (do_test_call_varg): Likewise.
2506 (do_test_call_rarg): Likewise.
2507 * sysdeps/ieee754/ldbl-opt/Makefile
2508 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2509 tst-nldbl-error.
2510 ($(objpfx)tst-nldbl-warn.c): New rule.
2511 ($(objpfx)tst-nldbl-error.c): Likewise.
2512 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2513 New variables.
2514
d11086a9
GG
25152019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2516
2517 [BZ #23984]
2518 * include/bits/error-ldbl.h: New file.
2519 * include/error.h: Include stdarg.h. Declare internal functions
2520 __error_internal and __error_at_line_internal.
2521 * misc/Makefile (headers): Add bits/error-ldbl.h.
2522 * misc/bits/error-ldbl.h: New file.
2523 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2524 avoid the inclusion of bits/error.h.
2525 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2526 and __nldbl_error_at_line.
2527 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2528 (__nldbl_error, __ndlbl_error_at_line): New functions.
2529 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2530 Redirect error and error_at_line.
2531 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2533 Likewise.
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2535 Likewise.
2536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2537 Likewise.
2538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2539 Likewise.
2540 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2541 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2542 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2543
90188e7d
GG
25442019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2545
2546 [BZ #23984]
2547 * include/bits/err-ldbl.h: New file.
2548 * include/err.h: Add prototypes for the internal functions:
2549 __vwarnx_internal and __vwarn_internal.
2550 * misc/Makefile (headers): Add bits/err-ldbl.h.
2551 * misc/bits/err-ldbl.h: New file.
2552 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2553 defined, i.e.: when -mlong-double-64 is in use.
2554 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2555 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2556 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2557 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2558 (VA_CALL): New macro.
2559 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2560 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2561 functions.
2562 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2563 declare prototypes for the new functions.
2564 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2566 Likewise.
2567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2568 Likewise.
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2570 Likewise.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2572 Likewise.
2573 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2574 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2575 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2576
ea2d89d0
GG
25772019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2578
2579 * sysdeps/ieee754/ldbl-opt/Makefile
2580 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2581 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2582 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2583
6e1f6440
GG
25842019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2585
2586 [BZ #23983]
2587 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2588 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2589 * argp/bits/argp-ldbl.h: New file.
2590 * include/argp.h: Include stdarg.h. Add prototypes for internal
2591 functions: __argp_error_internal and __argp_failure_internal.
2592 * include/bits/argp-ldbl.h: New file.
2593 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2594 __nldbl_argp_error and __nldbl_argp_failure.
2595 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2596 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2597 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2598 Redirect argp_error and argp_failure calls.
2599 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2601 Likewise.
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2603 Likewise.
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2605 Likewise.
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2607 Likewise.
2608 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2609 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2610 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2611
c259196b
FW
26122019-03-01 Florian Weimer <fweimer@redhat.com>
2613
2614 [BZ #20419]
2615 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2616 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2617 code, to avoid creating an ABI tag note.
2618 (modules-names-nobuild): Add tst-big-note-lib.
2619
928b305d
SL
26202019-03-01 Stefan Liebler <stli@linux.ibm.com>
2621
2622 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2623 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2624
36f30c10
FW
26252019-03-01 Florian Weimer <fweimer@redhat.com>
2626
2627 [BZ #20271]
2628 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2629 (__netlink_assert_response): Add additional missing newlines.
2630
462e83a4
JM
26312019-02-28 Joseph Myers <joseph@codesourcery.com>
2632
2633 * sysdeps/powerpc/powerpc32/dl-machine.c
2634 (__elf_machine_fixup_plt): Use space before '('.
2635 (__process_machine_rela): Likewise.
2636 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2637 Likewise.
2638 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2639 Likewise.
2640 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2641 Likewise.
2642 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2643 (pattern): Likewise.
2644 (delta): Likewise.
2645 (check_result): Likewise.
2646 (check_excepts): Likewise.
2647 (check_op): Likewise.
2648 (fail_xr): Likewise.
2649 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2650 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2651 (SCNHSZ): Likewise.
2652 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2653 Likewise.
2654 (ARGS): Likewise.
2655 (__makecontext): Likewise.
2656 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2657 Likewise.
2658
cc3e573c
FW
26592019-02-28 Florian Weimer <fweimer@redhat.com>
2660
2661 [BZ #23937]
2662 elf: Add test with a local IFUNC resolver.
2663 * elf/ifuncmain9.c: New file.
2664 * elf/ifuncmain9pic.c: Likewise.
2665 * elf/ifuncmain9picstatic.c: Likewise.
2666 * elf/ifuncmain9pie.c: Likewise.
2667 * elf/ifuncmain9static.c: Likewise.
2668 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2669 ifuncmain9static, ifuncmain9picstatic.
2670 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2671 Add ifuncmain9, ifuncmain9pic.
2672 * elf/Makefile [multi-arch && build-shared && have-fpie]
2673 (ifunc-pie-tests): Add ifuncmain9pie.
2674 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2675 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2676 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2677
92ad88fe
L
26782019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2679
2680 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2681 * configure: Regenerated.
2682 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2683
6bd4d02e
AZ
26842019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2685
2686 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2687 symbol as __wcspcy instead of wcscpy.
2688
1b218417
ST
26892019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2690
2691 * include/stdio.h (__renameat2): New hidden prototype.
2692 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2693 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2694 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2695 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2696
c4f50205
JM
26972019-02-27 Joseph Myers <joseph@codesourcery.com>
2698
f627dd4d
JM
2699 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2700 if statement.
2701
c4f50205
JM
2702 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2703 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2704 * benchtests/bench-strlen.c (do_test): Likewise.
2705 (test_main): Likewise.
2706 * catgets/gencat.c (read_old): Likewise.
2707 * elf/cache.c (load_aux_cache): Likewise.
2708 * iconvdata/bug-iconv8.c (do_test): Likewise.
2709 * math/test-tgmath-ret.c (do_test): Likewise.
2710 * nis/nis_call.c (rec_dirsearch): Likewise.
2711 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2712 * nptl/tst-audit-threads.c (do_test): Likewise.
2713 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2714 * nss/nss_test1.c (init): Likewise.
2715 * nss/test-netdb.c (test_hosts): Likewise.
2716 * posix/execvpe.c (maybe_script_execute): Likewise.
2717 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2718 * stdio-common/tst-printf.c (do_test): Likewise.
2719 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2720 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2721 * stdlib/qsort.c (STACK_SIZE): Likewise.
2722 * stdlib/test-canon.c (do_test): Likewise.
2723 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2724 * string/memcmp.c (OPSIZ): Likewise.
2725 * string/test-strcpy.c (do_test): Likewise.
2726 (do_random_tests): Likewise.
2727 * string/test-strlen.c (do_test): Likewise.
2728 (test_main): Likewise.
2729 * string/test-strrchr.c (do_test): Likewise.
2730 (do_random_tests): Likewise.
2731 * string/tester.c (test_memrchr): Likewise.
2732 (test_memchr): Likewise.
2733 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2734 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2735 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2736 (read_encoded_value_with_base): Likewise.
2737 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2738 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2739 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2740 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2741 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2742 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2743 Likewise.
2744 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2745 Likewise.
2746 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2747 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2748 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2749 Likewise.
2750 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2751 Likewise.
2752 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2753 Likewise.
2754 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2755 Likewise.
2756 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2757 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2758 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2759 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2760 * time/test_time.c (main): Likewise.
2761
7b3fb620
AZ
27622019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2763
457208b1
AZ
2764 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2765
30a7e208
AZ
2766 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2767 wmemcpy.
2768
ddf21ec7
AZ
2769 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2770 wmemcpy.
2771
4d801563
AZ
2772 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2773
81a14439
AZ
2774 * include/wchar.h (__wcscpy): New prototype.
2775 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2776 (__wcscpy): Route internal symbol to generic implementation.
2777 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2778 Add internal __wcscpy alias.
2779 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2780 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2781 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2782 * wcsmbs/wcscpy.c (wcscpy): Add
2783 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2784 use generic implementation.
2785 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2786
39ef0744
AZ
2787 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2788 wmemset.
2789
7b3fb620
AZ
2790 * sysdeps/m68k/wcpcpy.c: Remove file.
2791 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2792
e0cb7b61
JM
27932019-02-26 Joseph Myers <joseph@codesourcery.com>
2794
aa0e4663
JM
2795 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2796 than after operators.
2797 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2798 * sysdeps/mach/hurd/getcwd.c
2799 (__hurd_canonicalize_directory_name_internal): Likewise.
2800 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2801 (pthread_mutex_consistent): Likewise.
2802 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2803 Likewise.
2804 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2805 (__pthread_mutex_transfer_np): Likewise.
2806 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2807 (__pthread_mutex_unlock): Likewise.
2808 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2809 (mtx_owned_p): Likewise.
2810 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2811 (pthread_mutexattr_getrobust): Likewise.
2812 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2813 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2814 Likewise.
2815 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2816 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2817 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2818 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2819 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2820 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2821 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2822 Likewise.
2823 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2824 Likewise.
2825 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2826 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2827 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2828 (____longjmp_chk): Likewise.
2829 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2830 Likewise.
2831 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2832 (INTERNAL_SYSCALL): Likewise.
2833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2834 (INTERNAL_SYSCALL): Likewise.
2835 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2836 (__get_clockfreq_via_cpuinfo): Likewise.
2837
e0cb7b61
JM
2838 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2839 comments.
2840 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2841 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2842 (WORD_COPY_BWD): Likewise.
2843 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2844 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2845 Likewise.
2846 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2847 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2848 comment.
2849 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2850
a04549c1
JM
28512019-02-25 Joseph Myers <joseph@codesourcery.com>
2852
2853 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2854 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2855 rather than after operators.
2856 * elf/cache.c (print_cache): Likewise.
2857 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2858 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2859 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2860 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2861 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2862 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2863 (reauth_proc): Likewise.
2864 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2865 (__file_name_split_at): Likewise.
2866 (__directory_name_split_at): Likewise.
2867 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2868 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2869 * iconv/gconv_dl.c (do_print): Likewise.
2870 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2871 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2872 * locale/setlocale.c (new_composite_name): Likewise.
2873 * malloc/memusagestat.c (main): Likewise.
2874 * misc/fstab.c (fstab_convert): Likewise.
2875 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2876 Likewise.
2877 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2878 (getgrent_next_file): Likewise.
2879 (internal_getgrnam_r): Likewise.
2880 (internal_getgrgid_r): Likewise.
2881 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2882 Likewise.
2883 (internal_getgrent_r): Likewise.
2884 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2885 (getpwent_next_nss): Likewise.
2886 (getpwent_next_file): Likewise.
2887 (internal_getpwnam_r): Likewise.
2888 (internal_getpwuid_r): Likewise.
2889 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2890 Likewise.
2891 (getspent_next_nss): Likewise.
2892 (internal_getspnam_r): Likewise.
2893 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2894 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2895 * string/strchr.c (STRCHR): Likewise.
2896 * string/strchrnul.c (STRCHRNUL): Likewise.
2897 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2898 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2899 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2900 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2901 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2902 Likewise.
2903 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2904 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2905 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2906 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2907 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2908 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2909 (open_file): Likewise.
2910 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2911 (pthread_mutexattr_setprotocol): Likewise.
2912 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2913 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2914 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2915 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2916 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2917 Likewise.
2918 (elf_machine_rela): Likewise.
2919 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2920 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2921 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2922 * sysdeps/posix/rename.c (rename): Likewise.
2923 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2924 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2925 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2926 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2927 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2928 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2929 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2930 Likewise.
2931 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2932 Likewise.
2933 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2934 * time/tzfile.c (__tzfile_compute): Likewise.
2935
34a5a146
JM
29362019-02-22 Joseph Myers <joseph@codesourcery.com>
2937
2938 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2939 rather than after operators.
2940 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2941 * crypt/md5.c (md5_finish_ctx): Likewise.
2942 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2943 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2944 * elf/cache.c (load_aux_cache): Likewise.
2945 * elf/dl-load.c (open_verify): Likewise.
2946 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2947 * elf/readelflib.c (process_elf_file): Likewise.
2948 * elf/rtld.c (dl_main): Likewise.
2949 * elf/sprof.c (generate_call_graph): Likewise.
2950 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2951 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2952 * hurd/dtable.c (reauth_dtable): Likewise.
2953 * hurd/getdport.c (__getdport): Likewise.
2954 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2955 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2956 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2957 Likewise.
2958 * hurd/hurdioctl.c (fioctl): Likewise.
2959 * hurd/hurdselect.c (_hurd_select): Likewise.
2960 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2961 (STOPSIGS): Likewise.
2962 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2963 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2964 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2965 * hurd/msgportdemux.c (msgport_server): Likewise.
2966 * hurd/setauth.c (_hurd_setauth): Likewise.
2967 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2968 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2969 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2970 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2971 * login/tst-utmp.c (do_check): Likewise.
2972 (simulate_login): Likewise.
2973 * mach/lowlevellock.h (lll_lock): Likewise.
2974 (lll_trylock): Likewise.
2975 * math/test-fenv.c (ALL_EXC): Likewise.
2976 * math/test-fenvinline.c (ALL_EXC): Likewise.
2977 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2978 * nis/nis_call.c (__do_niscall3): Likewise.
2979 * nis/nis_callback.c (cb_prog_1): Likewise.
2980 * nis/nis_defaults.c (searchaccess): Likewise.
2981 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2982 * nis/nis_ismember.c (internal_ismember): Likewise.
2983 * nis/nis_local_names.c (nis_local_principal): Likewise.
2984 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2985 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2986 Likewise.
2987 * nis/ypclnt.c (yp_match): Likewise.
2988 (yp_first): Likewise.
2989 (yp_next): Likewise.
2990 (yp_master): Likewise.
2991 (yp_order): Likewise.
2992 * nscd/hstcache.c (cache_addhst): Likewise.
2993 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2994 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2995 (internal_getpwuid_r): Likewise.
2996 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2997 * posix/glob.h (__GLOB_FLAGS): Likewise.
2998 * posix/regcomp.c (peek_token): Likewise.
2999 (peek_token_bracket): Likewise.
3000 (parse_expression): Likewise.
3001 * posix/regexec.c (sift_states_iter_mb): Likewise.
3002 (check_node_accept_bytes): Likewise.
3003 * posix/tst-spawn3.c (do_test): Likewise.
3004 * posix/wordexp-test.c (testit): Likewise.
3005 * posix/wordexp.c (parse_tilde): Likewise.
3006 (exec_comm): Likewise.
3007 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3008 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3009 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3010 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3011 * stdio-common/tst-fileno.c (do_test): Likewise.
3012 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3013 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3014 * stdlib/strtod_l.c (round_and_return): Likewise.
3015 (____STRTOF_INTERNAL): Likewise.
3016 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3017 * string/strcspn.c (STRCSPN): Likewise.
3018 * string/test-memmem.c (simple_memmem): Likewise.
3019 * termios/tcsetattr.c (tcsetattr): Likewise.
3020 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3021 * time/asctime.c (asctime_internal): Likewise.
3022 * time/strptime_l.c (__strptime_internal): Likewise.
3023 * time/sys/time.h (timercmp): Likewise.
3024 * time/tzfile.c (__tzfile_compute): Likewise.
3025
b0b50fe0
PF
30262019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3027
b39d961c
TS
3028 [BZ #21915]
3029 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 3030
f43b8dd5
GG
30312019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3032
3033 * argp/argp-help.c (__argp_error_internal): New function,
3034 renamed from __argp_error, but that takes a 'mode_flags'
3035 parameter to control the format of long double parameters.
3036 (__argp_error): Converted into a call __argp_error_internal.
3037 (__argp_failure_internal): New function, renamed from
3038 __argp_failure, but that takes a 'mode_flags' parameter.
3039 (__argp_failure): Converted into a call __argp_failure_internal.
3040 * misc/err.c (__vwarnx_internal): New function, renamed from
3041 vwarnx, but that takes a 'mode_flags' parameter.
3042 (vwarnx): Converted into a call to __vwarnx_internal.
3043 (__vwarn_internal): New function, renamed from vwarn, but that
3044 takes a 'mode_flags' parameter.
3045 (vwarn): Converted into a call to __vwarn_internal.
3046 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3047 call to __vfxprintf with 'mode_flags'.
3048 (__error_internal): New function, renamed from error, but that
3049 takes a 'mode_flags' parameter.
3050 (error): Converted into a call to __error_internal.
3051 (__error_at_line_internal): New function, renamed from
3052 error_at_line, but that takes a 'mode_flags' parameter.
3053 (error_at_line): Converted into a call to
3054 __error_at_line_internal.
3055 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3056 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3057 Likewise.
3058
dc0afac3 30592019-02-20 Martin Liska <mliska@suse.cz>
3060
3061 * math/Makefile: Install math-vector-fortran.h.
3062 * bits/math-vector-fortran.h: New file.
3063 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3064
4a2dd41c
GG
30652019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3066
3067 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3068 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3069
04de9302
WS
30702019-02-19 Wolfram Sang <wsa@the-dreams.de>
3071
3072 * nptl/pthread_mutex_trylock.c: Fix comment.
3073
b026ce1e
CD
30742019-02-19 Carlos O'Donell <carlos@redhat.com>
3075
3076 * nptl/pthread_tryjoin.c: Fix comment.
3077
8c9289b6
JM
30782019-02-18 Joseph Myers <joseph@codesourcery.com>
3079
3080 [BZ #24231]
3081 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3082 after R_SPARC_H34 case.
3083
308e022f
FW
30842019-02-18 Florian Weimer <fweimer@redhat.com>
3085
3086 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3087 (getanswer): Do not call Dprintf.
3088 (res_gethostbyname2_context): Likewise.
3089 (res_gethostbyaddr_context): Likewise.
3090
a5406364
FW
30912019-02-18 Florian Weimer <fweimer@redhat.com>
3092
3093 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3094 declaration.
3095 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3096 Remove definitions.
3097 * libio/stdfiles.c: Update comment.
3098 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3099 set _IO_stdin, _IO_stdout, _IO_stderr.
3100 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3101 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3102 inline function.
3103 (_IO_deallocate_file): New inline function.
3104 * libio/iolibio.h (_IO_vprintf): Remove definition.
3105 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3106 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3107 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3108 _IO_legacy_file.
3109 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3110 __builtin_expect. Use _IO_legacy_file.
3111
6c29942c
SL
31122019-02-18 Stefan Liebler <stli@linux.ibm.com>
3113
3114 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3115 Initialize ctid with a known value and remove update of ctid
3116 after clone.
3117 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3118 as assumed current value of ctid_ptr.
3119
225d9445 31202019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
3121
3122 Check that non-sysdeps headers have wrapper headers.
3123 * scripts/check-wrapper-headers.py: New file.
3124 * Makefile (tests-special): Add check-wrapper-headers.out.
3125 (check-wrapper-headers.out): New target.
3126 * Rules (tests-special): Add check-wrapper-headers.out.
3127 (check-wrapper-headers.out): New target.
3128
225d9445 31292019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
3130
3131 Add missing header wrappers under include/.
3132 * include/ar.h: New file.
3133 * include/bits/mqueue2.h: Likewise.
3134 * include/bits/stdio.h: Likewise.
3135 * include/bits/stdio2.h: Likewise.
3136 * include/fstab.h: Likewise.
3137 * include/fts.h: Likewise.
3138 * include/lastlog.h: Likewise.
3139 * include/netinet/icmp6.h: Likewise.
3140 * include/netinet/igmp.h: Likewise.
3141 * include/netinet/ip6.h: Likewise.
3142 * include/re_comp.h: Likewise.
3143 * include/regexp.h: Likewise.
3144 * include/rpcsvc/bootparam.h: Likewise.
3145 * include/rpcsvc/yp_prot.h: Likewise.
3146 * include/sys/random.h: Likewise.
3147 * include/sys/stropts.h: Likewise.
3148 * include/sys/ttychars.h: Likewise.
3149 * include/sys/vfs.h: Likewise.
3150 * include/wait.h: Likewise.
3151
225d9445 31522019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
3153
3154 * nptl_db/proc_service.h: Move to ...
3155 * sysdeps/nptl/proc_service.h: ... here.
3156 * nptl_db/thread_db.h: Move to ...
3157 * sysdeps/nptl/thread_db.h: ... here.
3158 * nptl/descr.h: Include <thread_db.h>.
3159
e442e40d
AZ
31602019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3161
3162 * io/Makefile (tests): Add tst-lockf.
3163 * io/lockf.c (lockf): Use __fcntl and only define for
3164 !__OFF_T_MATCHES_OFF64_T.
3165 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3166 __OFF_T_MATCHES_OFF64_T case.
3167 * io/tst-lockf.c: New file.
3168 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3169 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3170 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3171 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3172 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3174 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3175 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3176 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3177
bc10e22c
FW
31782019-02-15 Florian Weimer <fweimer@redhat.com>
3179
3180 [BZ #24211]
3181 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3182 pd->result after the thread descriptor has been freed.
3183
365f05c7
JM
31842019-02-15 Joseph Myers <joseph@codesourcery.com>
3185
8a11f970
JM
3186 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3187 from function return type.
3188
365f05c7
JM
3189 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3190
6b5c8607 31912019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
3192
3193 * scripts/test_printers_common.py: Set TERM to a known harmless
3194 value.
3195
712182c8
JM
31962019-02-14 Joseph Myers <joseph@codesourcery.com>
3197
3198 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3199 (xdr_u_int): Likewise.
3200 (xdr_enum): Likewise.
3201 (xdr_bytes): Reword fall-through comment.
3202 (xdr_string): Likewise.
3203
eb76e5b4
AZ
32042019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3205
3206 [BZ #2421]
3207 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3208 (tests): Add tst-join8 tst-join9.
3209 * nptl/lll_timedwait_tid.c: Remove file.
3210 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3211 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3212 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3213 * nptl/pthread_join_common.c (timedwait_tid): New function.
3214 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3215 is set.
3216 * nptl/tst-join5.c (thread_join): New function.
3217 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3218 check.
3219 * nptl/tst-join8.c: New file.
3220 * nptl/tst-join9.c: Likewise.
3221 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3222 lll_futex_timed_wait_cancel): Add generic macros.
3223 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3224 Remove definitions.
3225 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3226 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3227 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3228 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3229 Remove function.
3230 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3231 Likewise.
3232 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3233 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3234 (lll_futex_timed_wait_cancel): New macro.
3235
3904fd85
WD
32362019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3237
3238 * benchtests/Makefile: Add malloc-simple benchmark.
3239 * benchtests/bench-malloc-simple.c: New benchmark.
3240
24ca04fe
SP
32412019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3242
3243 * benchtests/bench-memmove.c (do_one_test): Remove unused
3244 ORIG_SRC.
3245 (do_test): Adjust.
3246 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3247 ORIG_SRC.
3248 (do_test): Adjust.
3249
85bd1ddb
JW
32502019-01-13 Jim Wilson <jimw@sifive.com>
3251
3252 [BZ #24040]
3253 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3254 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3255 (func): New.
3256 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3257 call func directly.
3258 * nptl/Makefile (tests): Add tst-unwind-thread.
3259 (CFLAGS-tst-unwind-thread.c): Define.
3260 * nptl/tst-unwind-thread.c: New file.
3261 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3262 as undefined.
3263
86140c62
JM
32642019-02-13 Joseph Myers <joseph@codesourcery.com>
3265
10756268
JM
3266 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3267 comment wording.
3268 * nis/nis_call.c (__do_niscall3): Likewise.
3269
05383720
JM
3270 * catgets/gencat.c (normalize_line): Use braces around empty
3271 'else' body.
3272 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3273 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3274 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3275 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3276 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3277 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3278 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3279 definition.
3280
86140c62
JM
3281 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3282 execlp returns.
3283
16f87cfd
WD
32842019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3285
3286 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3287 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3288 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3289 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3290 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3291 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3292 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3293 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3294 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3295 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3296 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3297 * benchtests/bench-bcopy.c: Delete file.
3298 * benchtests/bench-bzero.c: Likewise.
3299 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3300 (simple_memccpy): Remove.
3301 (generic_memccpy): Add function.
3302 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3303 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3304 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3305 (generic_mempcpy): Add new function.
3306 * benchtests/bench-memset.c (simple_bzero): Remove.
3307 (builtin_bzero): Remove.
3308 (builtin_memset): Remove.
3309 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3310 (generic_rawmemchr): Add new function.
3311
0c6d82e9
FW
33122019-02-12 Florian Weimer <fweimer@redhat.com>
3313
3314 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3315
b3fbfe81
AZ
33162019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3317
3318 [BZ #24122]
3319 * elf/Makefile (tests): Add tst-audit13.
3320 (modules-names): Add tst-audit13mod1.
3321 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3322 rule.
3323 * elf/tst-audit13.c: New file.
3324 * elf/tst-audit13mod1.c: Likewise.
3325
3b856d09
FW
33262019-02-12 Florian Weimer <fweimer@redhat.com>
3327
3328 [BZ #24122]
3329 * elf/rtld.c (unload_audit_module): New function.
3330 (report_audit_module_load_error): Likewise.
3331 (load_audit_module): Likewise. Extracted from dl_main. Call
3332 _dl_close if the laversion symbol cannot be found. Use early
3333 returns for error handling. Add malloc error check. Check for a
3334 zero return value from la_version. Remove spurious comment about
3335 static TLS initialization. Remove useless casts.
3336 (notify_audit_modules_of_loaded_object): New function. Extracted
3337 from dl_main.
3338 (load_audit_module): Likewise.
3339 (dl_main): Call load_audit_modules.
3340
32db86d5
JM
33412019-02-12 Joseph Myers <joseph@codesourcery.com>
3342
3343 * elf/dl-exception.c (_dl_exception_create_format): Add
3344 fall-through comments.
3345 * elf/ldconfig.c (parse_conf_include): Likewise.
3346 * elf/rtld.c (print_statistics): Likewise.
3347 * locale/programs/charmap.c (parse_charmap): Likewise.
3348 * misc/mntent_r.c (__getmntent_r): Likewise.
3349 * posix/wordexp.c (parse_arith): Likewise.
3350 (parse_backtick): Likewise.
3351 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3352 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3353 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3354
a51bc4fe
PC
33552019-02-11 Paul A. Clarke <pc@us.ibm.com>
3356
3357 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3358 Use float instead of double.
3359
fb25b135
TS
33602019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3361
3362 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3363
32ea7299
JM
33642019-02-08 Joseph Myers <joseph@codesourcery.com>
3365
3366 * sysdeps/powerpc/bits/mathinline.h: Remove.
3367
eef4d4f8
FW
33682019-02-08 Florian Weimer <fweimer@redhat.com>
3369
3370 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3371 * math/bits/math-finite.h: Move to ...
3372 * bits/math-finite.h: ... here.
3373
fdfbd47d
FW
33742019-02-08 Florian Weimer <fweimer@redhat.com>
3375
3376 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3377 * bits/unistd_ext.h: here.
3378
11eb21c4
PF
33792019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3380
3381 [BZ #21915]
3382 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3383 * nss/tst-nss-files-hosts-long.c: New file.
3384 * nss/tst-nss-files-hosts-long.root: New directory.
3385 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3386 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3387
e47d82c9
FW
33882019-02-08 Florian Weimer <fweimer@redhat.com>
3389
3390 * include/bits/unistd_ext.h: Remove file.
3391 * posix/bits/unistd_ext.h: Move to ...
3392 * sysdeps/generic/bits/unistd_ext.h: ... here.
3393
8f89ab21
FW
33942019-02-08 Florian Weimer <fweimer@redhat.com>
3395
3396 * include/bits/unistd_ext.h: New file.
3397
144a794e
TS
33982019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3399
3400 * time/tst-strftime2.c: Use array_length macros instead of magic
3401 numbers.
3402
669ff911
FW
34032019-02-08 Florian Weimer <fweimer@redhat.com>
3404
3405 [BZ #24161]
3406 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3407 argument.
3408 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3409 locking if the new do_locking argument is true.
3410 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3411 __run_fork_handlers.
3412
d0bd87d4 34132019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
3414
3415 [BZ #6399]
3416 Linux: Add gettid system call wrapper.
3417 * posix/Makefile (headers): Add bits/unistd_ext.h.
3418 * posix/bits/unistd_ext.h: New file.
3419 * posix/unistd.h: Include it.
3420 * manual/process.texi (Process Identification): Document gettid.
3421 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3422 tst-gettid, tst-gettid-kill.
3423 (tst-gettid): Link with $(shared-thread-library).
3424 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3425 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3426 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3427 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3428 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3429 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3430 Add gettid.
3431 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3432 Likewise.
3433 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3434 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3435 Likewise.
3436 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3437 Likewise.
3438 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3439 Likewise.
3440 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3441 Likewise.
3442 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3443 Likewise.
3444 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3445 Likewise.
3446 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3447 Likewise.
3448 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3449 (GLIBC_2.30): Likewise.
3450 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3451 (GLIBC_2.30): Likewise.
3452 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3453 (GLIBC_2.30): Likewise.
3454 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3455 (GLIBC_2.30): Likewise.
3456 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3457 Likewise.
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3459 (GLIBC_2.30): Likewise.
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3461 (GLIBC_2.30): Likewise.
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3463 (GLIBC_2.30): Likewise.
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3465 (GLIBC_2.30): Likewise.
3466 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3467 Likewise.
3468 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3469 Likewise.
3470 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3471 Likewise.
3472 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3473 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3474 Likewise.
3475 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3476 Likewise.
3477 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3478 Likewise.
3479 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3480 Likewise.
3481 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3482
225d9445 34832019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
3484
3485 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3486 compatibility symbols.
3487
823624bd
SL
34882019-02-07 Stefan Liebler <stli@linux.ibm.com>
3489
3490 [BZ #24180]
3491 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3492 Add compiler barriers and comments.
3493
8311c83f
FW
34942019-02-07 Florian Weimer <fweimer@redhat.com>
3495
3496 * include/array_length.h (array_length): Do not use a statement
3497 expression and _Static_assert, so that array_length can be used at
3498 file scope and as a constant expression.
3499
94b63e66
FW
35002019-02-07 Florian Weimer <fweimer@redhat.com>
3501
3502 * support/xdlfcn.h (xdlmopen): Declare.
3503 * support/xdlmopen.c: New file.
3504 * support/Makefile (libsupport-routines): Add xdlmopen.
3505
c2d8f0b7
JM
35062019-02-06 Joseph Myers <joseph@codesourcery.com>
3507
3508 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3509 before return type, without separate inline.
3510 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3511 * elf/dl-tunables.h (tunable_is_name): Likewise.
3512 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3513 (do_set_top_pad): Likewise.
3514 (do_set_mmap_threshold): Likewise.
3515 (do_set_mmaps_max): Likewise.
3516 (do_set_mallopt_check): Likewise.
3517 (do_set_perturb_byte): Likewise.
3518 (do_set_arena_test): Likewise.
3519 (do_set_arena_max): Likewise.
3520 (do_set_tcache_max): Likewise.
3521 (do_set_tcache_count): Likewise.
3522 (do_set_tcache_unsorted_limit): Likewise.
3523 * nis/nis_subr.c (count_dots): Likewise.
3524 * nptl/allocatestack.c (advise_stack_range): Likewise.
3525 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3526 (do_sin): Likewise.
3527 (reduce_sincos): Likewise.
3528 (do_sincos): Likewise.
3529 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3530 (do_set_elision_enable): Likewise.
3531 (TUNABLE_CALLBACK_FNDECL): Likewise.
3532
3b935595
FW
35332019-02-06 Florian Weimer <fweimer@redhat.com>
3534
3535 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3536 (xdlsym): Use dlerror to detect a NULL symbol.
3537
b4333340
FW
35382019-02-06 Florian Weimer <fweimer@redhat.com>
3539
3540 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3541 <stap-probe.h>.
3542 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3543
b6d8a999
SL
35442019-02-06 Stefan Liebler <stli@linux.ibm.com>
3545
3546 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3547
94eeeec0
SL
35482019-02-06 Stefan Liebler <stli@linux.ibm.com>
3549
3550 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3551 __wmemcmp and weak alias to wmemcmp.
3552
bc79db3f
SL
35532019-02-06 Stefan Liebler <stli@linux.ibm.com>
3554
3555 [BZ #23403]
3556 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3557 TLS_TCB_AT_TP tls variant.
3558 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3559 Add alignment checks.
3560 * support/Makefile (libsupport-routines): Add xposix_memalign and
3561 xpthread_setstack.
3562 * support/support.h: Add xposix_memalign.
3563 * support/xthread.h: Add xpthread_attr_setstack.
3564 * support/xposix_memalign.c: New File.
3565 * support/xpthread_attr_setstack.c: Likewise.
3566
f1ac7455
FW
35672019-02-05 Florian Weimer <fweimer@redhat.com>
3568
3569 [BZ #24164]
3570 arm: Use "nr" constraint for Systemtap probes, to avoid the
3571 compiler using memory operands for constants, due to the "o"
3572 alternative in the default "nor" constraint.
3573 * include/stap-probe.h [USE_STAP_PROBE]: Include
3574 <stap-probe-machine.h>
3575 * sysdeps/generic/stap-probe-machine.h: New file.
3576 * sysdeps/arm/stap-probe-machine.h: Likewise.
3577
7a0dcfc6
JM
35782019-02-04 Joseph Myers <joseph@codesourcery.com>
3579
77dc0d86
JM
3580 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3581 with 0, not tcache->entries[tc_idx].
3582
7a0dcfc6
JM
3583 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3584 once.
3585
65f7767a
AS
35862019-02-04 Andreas Schwab <schwab@suse.de>
3587
3588 [BZ #16976]
3589 [BZ #17396]
3590 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3591 looking up collating elements match against (wide) character
3592 sequence instead of name. Correct alignment adjustment.
3593 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3594 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3595 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3596 (LOCALES): Add cs_CZ.ISO-8859-2.
3597 * posix/tst-fnmatch4.c: New file.
3598 * posix/tst-fnmatch5.c: New file.
3599 * include/wchar.h (__wmemcmp): Declare.
3600 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3601 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3602 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3603 * sysdeps/s390/wmemcmp.c: Likewise.
3604
3f635fb4
L
36052019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3606
3607 [BZ #24155]
3608 CVE-2019-7309
3609 * NEWS: Updated for CVE-2019-7309.
3610 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3611 upper 32 bits of RDX register for x32. Use unsigned Jcc
3612 instructions, instead of signed.
3613 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3614 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3615
2ab5741b
FW
36162019-02-04 Florian Weimer <fweimer@redhat.com>
3617
3618 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3619 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3620 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3621 Likewise.
3622 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3623 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3624 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3625 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3626 Likewise.
3627 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3628 Likewise.
3629 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3630 Likewise.
3631 (posix_spawn_file_actions_addopen): Likewise.
3632 (posix_spawn_file_actions_addclose): Likewise.
3633 (posix_spawn_file_actions_adddup2): Likewise.
3634 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3635 qualifiers.
3636 (posix_spawn_file_actions_addfchdir_np): Likewise.
3637
8692ebdb
DN
36382019-02-04 David Newall <glibc@davidnewall.com>
3639
3640 elf: Implement --preload option for the dynamic linker.
3641 * elf/rtld.c (preloadarg): New variable.
3642 (handle_preload_list): Pass through “where” argument to
3643 do_preload.
3644 (dl_main): Handle "--preload" and add second call to
3645 handle_preload_list.
3646 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3647 (tst-rtld-preload-OBJS): Set variable.
3648 (tst-rtld-preload.out): New target.
3649 * elf/tst-rtld-preload.sh: New file.
3650
5e10136b
MM
36512019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3652
3653 * Makefile (testrun.sh): Exit in case of incorrect argument.
3654
221baae0
FW
36552019-02-04 Florian Weimer <fweimer@redhat.com>
3656
3657 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3658 alignment gaps.
3659
b8c72381
FW
36602019-02-03 Florian Weimer <fweimer@redhat.com>
3661
3662 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3663 implicit overflow checks.
3664
11f382ee
AJ
36652019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3666
3667 * stdlib/isomac.c: Include <unistd.h>.
3668
77c7d55e
FW
36692019-02-03 Florian Weimer <fweimer@redhat.com>
3670
3671 * include/time.h (__tzfile_default): Use int, not long int, for
3672 the GMT offsets.
3673 * time/tzfile.c (struct ttinfo): Change type of the offset member
3674 to int.
3675 (__tzfile_read): Remove useless cast.
3676 (__tzfile_default): Adjust prototype.
3677 * time/tzset.c (tz_rule): Change type of the offset member to int.
3678 (parse_offset): Change the type of the sign variable to int.
3679
ee9941f9
FW
36802019-02-03 Florian Weimer <fweimer@redhat.com>
3681
3682 [BZ #24153]
3683 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3684 * libio/getchar.c (getchar): Likewise.
3685 * libio/getchar_u.c (getchar_unlocked): Likewise.
3686 * libio/getwchar.c (getwchar): Likewise.
3687 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3688 * libio/iogets.c (_IO_gets): Likewise.
3689 * libio/vscanf.c (_IO_vscanf): Likewise.
3690 * libio/vwscanf.c (__vwscanf): Likewise.
3691 * libio/tst-bz24153.c: New file.
3692 * libio/Makefile (tests): Add it.
3693
c70824b9
FW
36942019-02-02 Florian Weimer <fweimer@redhat.com>
3695
3696 [BZ #14829]
3697 * manual/resource.texi (Basic Scheduling Functions): Add
3698 portability note. Change process to task throughout the section.
3699 Remove incorrect comment about sched_yield as it affects
3700 tasks/threads, not entire processes.
3701 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3702 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3703
4dcbbc3b
JM
37042019-02-01 Joseph Myers <joseph@codesourcery.com>
3705
3706 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3707 * configure: Regenerated.
3708 * manual/install.texi (Tools for Compilation): Update minimum GCC
3709 version.
3710 * INSTALL: Regenerated.
3711
6175507c
FW
37122019-02-01 Florian Weimer <fweimer@redhat.com>
3713
3714 * support/support_test_compare_string.c
3715 (support_test_compare_string): Use "string" in error message.
3716 * support/tst-test_compare_string.c (do_test): Adjust.
3717
baef1943
FW
37182019-02-01 Florian Weimer <fweimer@redhat.com>
3719
3720 * support/support_format_address_family.c
3721 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3722
395599f0
FW
37232019-02-01 Florian Weimer <fweimer@redhat.com>
3724
3725 * manual/socket.texi (Internet Address Formats): Clarify the byte
3726 order of struct sockaddr_in, struct sockaddr_in6. Document
3727 sin6_flowinfo and sin6_scope_id.
3728
b06f4c00
WD
37292019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3730
3731 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3732 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3733 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3734 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3735 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3736 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3737
83d1cc42
FX
37382019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3739
3740 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3741 [!MEMCHR](MEMCHR): Set to __memchr.
3742 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3743 Add memchr_generic and memchr_nosimd.
3744 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3745 (__libc_ifunc_impl_list): Add memchr ifuncs.
3746 * sysdeps/aarch64/multiarch/memchr.c: New file.
3747 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3748 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3749
c7d3890f
FX
37502019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3751
3752 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3753 Add memset_emag.
3754 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3755 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3756 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3757 Add IS_EMAG check for ifunc dispatch.
3758 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3759 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3760
07c3d1ec
FX
37612019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3762
3763 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3764 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3765 Add emag.
3766 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3767 New macro.
3768
114f792e
SL
37692019-02-01 Stefan Liebler <stli@linux.ibm.com>
3770
3771 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3772
d5627550
VG
37732019-01-31 Vineet Gupta <vgupta@synopsys.com>
3774
3775 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3776 syscall-template file.
3777
5fc9ed4c
CD
37782019-01-31 Carlos O'Donell <carlos@redhat.com>
3779 Torvald Riegel <triegel@redhat.com>
3780 Rik Prohaska <prohaska7@gmail.com>
3781
3782 [BZ# 23844]
3783 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3784 tst-rwlock-trywrlock-stall.
3785 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3786 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3787 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3788 Set __wrphase_fute to 1 only if we started the write phase.
3789 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3790 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3791 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3792 * support/xpthread_rwlock_destroy.c: New file.
3793 * support/xthread.h: Declare xpthread_rwlock_destroy.
3794
932329a5
JM
37952019-02-01 Joseph Myers <joseph@codesourcery.com>
3796
3797 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3798 version to 4.0.2.
3799
5f10701f
PP
38002019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3801
3802 [BZ #24051]
3803 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3804 * libio/fileops.c (_IO_new_file_underflow): Likewise
3805 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3806 * libio/putchar.c (putchar): Likewise.
3807 * libio/putchar_u.c (putchar_unlocked): Likewise.
3808 * libio/putwchar.c (putchar): Likewise.
3809 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3810 * libio/tst-bz24051.c: New test.
3811 * libio/Makefile (tests): Add tst-bz24051
3812
583dd860
PE
38132019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3814
b626c5aa 3815 CVE-2019-9169
583dd860
PE
3816 regex: fix read overrun [BZ #24114]
3817 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3818 https://debbugs.gnu.org/34140
3819 * posix/regexec.c (proceed_next_node):
3820 Do not read past end of input buffer.
3821
2bac7daa
FW
38222019-01-31 Florian Weimer <fweimer@redhat.com>
3823
3824 [BZ #24059]
3825 * nss/nss_files/files-alias.c (get_next_alias): Handle
3826 continuation line without newline at the end.
3827 * nss/tst-nss-files-alias-truncated.c: New file.
3828 * nss/Makefile [$(build-shared)] (tests): Add
3829 tst-nss-files-alias-truncated.
3830 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3831 * support/namespace.h (struct support_chroot_configuration): Add
3832 aliases member.
3833 (struct support_chroot): Add path_aliases member.
3834 * support/support_chroot.c (support_chroot_create): Handle
3835 aliases.
3836 (support_chroot_free): Free path_aliases.
3837
330c9d0d
SP
38382019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3839
de44ab67
SP
3840 * version.h (RELEASE): Set to "development".
3841 (VERSION): Set to "2.29.9000".
3842 * NEWS: Add section for 2.30.
3843
56c86f5d
SP
3844 * version.h (RELEASE): Set to "stable".
3845 (VERSION): Set to "2.29".
3846 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3847
330c9d0d
SP
3848 * NEWS: Add the list of bugs fixed in 2.29.
3849 * manual/contrib.texi: Update contributors list with some more
3850 names.
3851 * manual/install.texi: Update latest versions of packages
3852 tested.
3853 * INSTALL: Regenerated.
3854
e1e47c91
SP
38552019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3856
3857 * po/be.po: Update translations.
3858 * po/bg.po: Likewise.
3859 * po/ca.po: Likewise.
3860 * po/cs.po: Likewise.
3861 * po/da.po: Likewise.
3862 * po/de.po: Likewise.
3863 * po/el.po: Likewise.
3864 * po/eo.po: Likewise.
3865 * po/es.po: Likewise.
3866 * po/fi.po: Likewise.
3867 * po/fr.po: Likewise.
3868 * po/gl.po: Likewise.
3869 * po/hr.po: Likewise.
3870 * po/hu.po: Likewise.
3871 * po/ia.po: Likewise.
3872 * po/id.po: Likewise.
3873 * po/it.po: Likewise.
3874 * po/ja.po: Likewise.
3875 * po/ko.po: Likewise.
3876 * po/lt.po: Likewise.
3877 * po/nb.po: Likewise.
3878 * po/nl.po: Likewise.
3879 * po/pl.po: Likewise.
3880 * po/pt_BR.po: Likewise.
3881 * po/ru.po: Likewise.
3882 * po/rw.po: Likewise.
3883 * po/sk.po: Likewise.
3884 * po/sl.po: Likewise.
3885 * po/sv.po: Likewise.
3886 * po/tr.po: Likewise.
3887 * po/uk.po: Likewise.
3888 * po/vi.po: Likewise.
3889 * po/zh_CN.po: Likewise.
3890 * po/zh_TW.po: Likewise.
3891
8d016826
UB
38922019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3893
3894 [BZ #24130]
3895 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3896 of $f3 register on $y_is_neg path.
3897
a0bb5abd
ST
38982019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3899
b96e22d0 3900 [BZ #24110]
a0bb5abd
ST
3901 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3902 sigaltstack.ss_flags.
3903
b22eed37
TS
39042019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3905
3906 [BZ #23758]
3907 * manual/time.texi (strftime): Document "%Ey".
3908 * time/strftime_l.c (__strftime_internal): Set the default width
3909 padding with zero of "%Ey" to 2.
3910
32f600a2
TS
3911 [BZ #24096]
3912 * manual/time.texi (strftime): Document "%EC" and "%EY".
3913 * time/Makefile (tests): Add tst-strftime2.
3914 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3915 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3916 override padding for "%Ey".
3917 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3918 "%Ey" in the subformat as if decorated with that flag.
3919 * time/tst-strftime2.c: New file.
3920
8e889c5d
AZ
39212019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3922
3367acdb
AZ
3923 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3924 are not defined.
3925
8e889c5d
AZ
3926 [BZ #24122]
3927 * elf/Makefile (tests): Add tst-audit13.
3928 (modules-names): Add tst-audit13mod1.
3929 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3930 rule.
3931 * elf/rtld.c (dl_main): Handle invalid audit module version.
3932 * elf/tst-audit13.c: New file.
3933 * elf/tst-audit13mod1.c: Likewise.
3934
a95dc01c
ST
39352019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3936
3937 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3938 returned by __hurd_at_flags.
ee4d7902
ST
3939 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3940 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3941 directly instead of __hurd_file_name_lookup.
a95dc01c 3942
712f1167
JM
39432019-01-21 Joseph Myers <joseph@codesourcery.com>
3944
3945 * scripts/build-many-glibcs.py (Context.checkout): Default
3946 binutils version to 2.32 branch.
3947
108bc404
FW
39482019-01-21 Florian Weimer <fweimer@redhat.com>
3949
3950 [BZ #20018]
3951 CVE-2016-10739
3952 resolv: Reject trailing characters in host names
3953 * include/arpa/inet.h (__inet_aton_exact): Declare.
3954 (inet_aton): Remove hidden prototype. No longer used internally.
3955 * nscd/gai.c (__inet_aton): Do not define.
3956 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3957 * nss/digits_dots.c (__inet_aton): Likewise.
3958 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3959 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3960 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3961 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3962 (tst-resolv-trailing): Likewise.
3963 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3964 libc.
3965 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3966 Make static. Add endp parameter.
3967 (__inet_aton_exact): New function.
3968 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3969 (__inet_addr): Call inet_aton_end.
3970 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3971 not just IPv6. Call __inet_aton_exact.
3972 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3973 (tests): Make const. Add additional test cases with trailing
3974 characters.
3975 (do_test): Use array_length.
3976 * resolv/tst-inet_aton_exact.c: New file.
3977 * resolv/tst-resolv-trailing.c: Likewise.
3978 * resolv/tst-resolv-nondecimal.c: Likewise.
3979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3980
5165de69
L
39812019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3982
3983 [BZ# 24097]
3984 CVE-2019-6488
3985 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3986 Clear the upper 32 bits of RSI register.
3987 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3988 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3989 and tst-size_t-wcsnlen.
3990 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3991 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3992
c7c54f65
L
39932019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3994
3995 [BZ# 24097]
3996 CVE-2019-6488
3997 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3998 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3999 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4000 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4001 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4002
ee915088
L
40032019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4004
4005 [BZ# 24097]
4006 CVE-2019-6488
4007 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4008 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4009 * sysdeps/x86_64/strcmp.S: Likewise.
4010 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4011 tst-size_t-strncmp and tst-size_t-wcsncmp.
4012 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4013 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4014 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4015
82d0b4a4
L
40162019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4017
4018 [BZ# 24097]
4019 CVE-2019-6488
4020 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4021 RDX_LP for length. Clear the upper 32 bits of RDX register.
4022 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4023 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4024 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4025 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4026
ecd8b842
L
40272019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4028
4029 [BZ# 24097]
4030 CVE-2019-6488
4031 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4032 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4033 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4034 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4035
231c5676
L
40362019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4037
4038 [BZ# 24097]
4039 CVE-2019-6488
4040 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4041 length. Clear the upper 32 bits of RDX register.
4042 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4043 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4044 Likewise.
4045 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4046 Likewise.
4047 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4048 tst-size_t-wmemchr.
4049 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4050
b304fc20
L
40512019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4052
4053 [BZ# 24097]
4054 CVE-2019-6488
4055 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4056 length. Clear the upper 32 bits of RDX register.
4057 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4058 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4059 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4060 tst-size_t-wmemcmp.
4061 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4062 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4063
97700a34
L
40642019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4065
4066 [BZ# 24097]
4067 CVE-2019-6488
4068 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4069 upper 32 bits of RDX register.
4070 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4071 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4072 tst-size_t-wmemchr.
4073 * sysdeps/x86_64/x32/test-size_t.h: New file.
4074 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4075 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4076
6ca53a24
FW
40772019-01-18 Florian Weimer <fweimer@redhat.com>
4078
4079 [BZ #24112]
4080 resolv: Do not send queries for non-host-names in nss_dns.
4081 * resolv/nss_dns/dns-host.c (check_name): New function.
4082 (_nss_dns_gethostbyname2_r): Use it.
4083 (_nss_dns_gethostbyname_r): Likewise.
4084 (_nss_dns_gethostbyname4_r): Likewise.
4085
5e30b8ef
FW
40862019-01-21 Florian Weimer <fweimer@redhat.com>
4087
4088 * resolv/inet_addr.c: Reformat to GNU style.
4089 (__inet_addr, __inet_aton): Update comment.
4090
71effcea
FW
40912019-01-18 Florian Weimer <fweimer@redhat.com>
4092
4093 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4094 ("malloc: Use current (C11-style) atomics for fastbin access").
4095 This commit introduces a substantial performance regression on
4096 POWER and Aarch64.
4097 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4098 (REMOVE_FB): Define.
4099 (_int_malloc): Use it and reindent.
4100 (_int_free): Use CAS loop with
4101 catomic_compare_and_exchange_val_rel.
4102 (malloc_consolidate): Use atomic_exchange_acq.
4103
4104
562f4362
L
41052019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4106
4107 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4108 -Wl,-z,now.
4109 (LDFLAGS-tst-minsigstksz-2): Likewise.
4110 (LDFLAGS-tst-minsigstksz-3): Likewise.
4111 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4112 (LDFLAGS-tst-minsigstksz-4): Likewise.
4113
80dfa298
TS
41142019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4115
4116 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4117 than "alternate".
4118
008b598e
PC
41192019-01-16 Paul A. Clarke <pc@us.ibm.com>
4120
4121 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4122
fbbc9a4e
ZW
41232019-01-16 Zack Weinberg <zackw@panix.com>
4124
6b5c8607
TS
4125 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4126 (xget_sigstack_location): New test support functions.
4127 * support/xsigstack.c: New file, implementing them.
4128 * support/tst-xsigstack.c: New test for them.
4129 * support/Makefile: Update.
fbbc9a4e 4130
6b5c8607
TS
4131 * signal/tst-minsigstksz-1.c
4132 * signal/tst-minsigstksz-2.c
4133 * signal/tst-minsigstksz-3.c
4134 * signal/tst-minsigstksz-3a.c
4135 * signal/tst-minsigstksz-4.c: New tests.
4136 * signal/Makefile: Run them.
fbbc9a4e 4137
5f1135e4
SP
41382019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4139
4140 * po/libc.pot: Regenerate.
4141
ecdacd34
TMQMF
41422019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4143
4144 * math/libm-test-fma.inc (fma_test_data): Set
4145 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4146
56054664
RA
41472019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4148
4149 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4150 (do_test): Changed __vector __int128_t to __vector unsigned int.
4151
1a153e47
LS
41522019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4153
4154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4155 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4156 stpcpy-avx2 and stpncpy-avx2.
4157 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4158 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4159 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4160 and __stpncpy_avx2.
4161 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4162 ifunc-strcpy.h}: rename header for a more generic name.
4163 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4164 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4165 AVX unaligned load is fast and vzeroupper is preferred.
4166 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4167 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4168 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4169 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4170 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4171 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4172
a1b02ae7
DL
41732019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4174
4175 * argp/argp-help.c: Fix typo in comment.
4176 * misc/sys/cdefs.h: Likewise.
4177 * posix/regexec.c (sift_states_iter_mb): Likewise.
4178 * socket/sockatmark.c: Likewise.
4179 * socket/sys/socket.h: Likewise.
4180 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4181 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4182 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4184 * sysdeps/unix/sockatmark.c: Likewise.
4185 * time/strptime_l.c: Likewise.
4186
5cbbf01e
TS
41872019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4188
4189 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4190 missing space after the cast of "_NL_CURRENT".
4191
0bc9bdf1
RA
41922019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4193
4194 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4195 ifdef to fix read of VSCR.
4196 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4197 tst-ucontext-ppc64-vscr.c to test list.
4198 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4199
5494af04
AH
42002019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4201
4202 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4203 fall-through.
4204
e17f63ff
JW
42052019-01-09 Jim Wilson <jimw@sifive.com>
4206
4207 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4208
02f440c1
WD
42092019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4210
4211 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4212 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4213 __memcpy_falkor for ares.
4214 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4215 Add new define.
4216 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4217 Add ares cpu.
4218
69da3c9e
L
42192019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4220
4221 [BZ #24066]
4222 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4223 4_FP_W_TYPEs are used for IEEE quad precision.
4224 * soft-fp/extendhftf2.c: Likewise.
4225 * soft-fp/extendsftf2.c: Likewise.
4226 * soft-fp/extendxftf2.c: Likewise.
4227 * soft-fp/trunctfdf2.c: Likewise.
4228 * soft-fp/trunctfhf2.c: Likewise.
4229 * soft-fp/trunctfsf2.c: Likewise.
4230 * soft-fp/trunctfxf2.c: Likewise.
4231 * sysdeps/alpha/ots_cvttx.c: Likewise.
4232 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4233 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4234 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4235 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4236 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4237 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4238 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4239 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4240 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4241 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4242 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4243 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4244 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4245 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4246 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4247 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4248 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4249
2ef42716
AJ
42502019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4251
4252 [BZ #24024]
4253 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4254 code with -fmath-errno.
4255 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4256 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4257 * string/test-strerror-errno.c: New file.
4258
7395f3a0
AJ
42592019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4260
4261 [BZ #24046]
4262 * localedata/locales/en_US (date_fmt): Add, set to
4263 "%a %d %b %Y %r %Z".
4264
010fe231
FW
42652019-01-07 Florian Weimer <fweimer@redhat.com>
4266
4267 [BZ #24063]
4268 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4269 instead of @var{errno}.
4270 (Parsing of Integers): Likewise.
4271 (Parsing of Floats): Likewise.
4272 * manual/filesys.texi (Working with Directory Trees): Likewise.
4273 (Temporary Files): Likewise.
4274 * manual/job.texi (Terminal Access Functions): Likewise.
4275 * manual/llio.texi (Synchronizing I/O): Likewise.
4276 * manual/math.texi (SVID Random): Likewise.
4277 * manual/message.texi (The catgets Functions): Likewise.
4278 (Translation with gettext): Likewise.
4279 (Locating gettext catalog): Likewise.
4280 (Charset conversion in gettext): Likewise.
4281 * manual/nss.texi (NSS Module Function Internals): Likewise.
4282 * manual/search.texi (Hash Search Function): Likewise.
4283 * manual/setjmp.texi (System V contexts): Likewise.
4284 * manual/time.texi (Sleeping): Likewise.
4285 * manual/users.texi (Lookup User): Likewise.
4286 (Lookup Group): Likewise.
4287
b79dc8d0
AZ
42882019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4289
4290 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4291 fix typo.
4292
890461fe 42932019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
4294
4295 [BZ #19444]
4296 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4297 __builtin_unreachable for default case in switch.
4298 (__ieee754_yn): Likewise.
4299 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4300 (__ieee754_ynl): Likewise.
4301 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4302 (__ieee754_ynl): Likewise.
4303 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4304 (__ieee754_ynl): Likewise.
4305
8b18d418
SN
43062019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4307
4308 * manual/maint.texi: Use @{ and @}.
4309
4392898d
FW
43102019-01-04 Florian Weimer <fweimer@redhat.com>
4311
4312 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4313 function.
4314 (do_in_chroot_1): Call it.
4315 (run_chroot_tests):
4316 Improve error reporting in case it is not possible to create a
4317 collision for the PTY name required by the test.
4318
17cc27d5
AZ
43192019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4320
ce7eb0e9
AZ
4321 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4322 lll_wait_tid with timeout.
4323 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4324 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4325 futex_reltimed_wait_cancelable for cancelabla mode.
4326 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4327 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4328 macros.
4329 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4330 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4331 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4332 SYSCALL_CANCEL_NCS): New macro.
4333 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4334 (lll_timedwait_tid): Remove macro.
4335 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4336 Likewise.
4337 (lll_timedwait_tid): Likewise.
4338 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4339 Likewise.
4340 (lll_timedwait_tid): Likewise.
4341 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4342 Likewise.
4343 (lll_timedwait_tid): Likewise.
4344 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4345 Use INTERNAL_SYSCALL_CANCEL.
4346 * sysdeps/unix/sysv/linux/futex-internal.h
4347 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4348 instead of __pthread_{enable,disable}_asynccancel.
4349 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4350 (lll_futex_wait_cancel): New macro.
4351
0b13e255
AZ
4352 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4353 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4354
85c828a4
AZ
4355 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4356 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4357
d0d7f85f
AZ
4358 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4359 in backtrace analysis.
4360 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4361 side-effects.
4362 (tf_send): Likewise.
4363
17cc27d5
AZ
4364 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4365 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4366 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4367 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4368 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4369 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4370 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4371 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4372 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4373 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4374 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4375 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4376 Likewise.
4377 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4378 tst-cancel-wrappers.sh.
4379 (generated): Remove tst-cancel-wrappers.out.
4380 (tst-cancel-wrappers.out): Remove rule.
4381 * nptl/tst-cancel-wrappers.sh: Remove file.
4382
7d7af8f1
SN
43832019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4384
4385 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4386 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4387 Update.
4388
805334b2
AZ
43892019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4390
4391 [BZ #23640]
4392 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4393 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4394 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4395 close-on-exec reset for adddup2 file action.
4396 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4397
03992356
ZW
43982019-01-03 Zack Weinberg <zackw@panix.com>
4399
4400 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4401 parameter. Only use deprecated scanf when __USE_GNU is defined
4402 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4403 than 201103L, whichever is relevant for the language being compiled.
4404
4405 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4406 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4407 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4408 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4409 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4410
4411 * libio/iovsscanf.c
4412 * libio/fwscanf.c
4413 * libio/iovswscanf.c
4414 * libio/swscanf.c
4415 * libio/vscanf.c
4416 * libio/vwscanf.c
4417 * libio/wscanf.c
4418 * stdio-common/fscanf.c
4419 * stdio-common/scanf.c
4420 * stdio-common/vfscanf.c
4421 * stdio-common/vfwscanf.c
4422 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4423 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4424 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4425 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4426 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4427 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4428 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4429 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4430 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4431 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4432 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4433 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4434 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4435 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4436 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4437
4438 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4439 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4440 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4441 not sscanf.
4442 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4443 with a preprocessor macro.
4444
4445 * stdio-common/bug21.c, stdio-common/scanf14.c:
4446 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4447 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4448 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4449 to xscanf, xfscanf, xsscanf.
4450
4451 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4452 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4453 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4454 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4455 xfscanf, xsscanf.
4456 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4457 override feature selection macros or provide definitions of u_char etc.
4458 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4459 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4460 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4461 with -std=gnu89.
4462
8083afa5
AZ
44632019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4464
6f343c1f
AZ
4465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4466 bits/termios-misc.h.
4467 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4468 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4469 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4470 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4471 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4472 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4473
51f4beb0
AZ
4474 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4475 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4476 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4477 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4478 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4479 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4480 termios-misc.h.
4481 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4482 (sysdep_headers): Add termios-misc.h.
4483
f69c5cb2
AZ
4484 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4485 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4486 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4487
3aa4a07e
AZ
4488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4489 termios-tcflow.h.
4490 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4491 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4492 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4493 TCSAFLUSH): Move to termios-tcflow.h.
4494 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4495 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4496 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4497 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4498
22679ddf
AZ
4499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4500 termios-c_lflag.h.
4501 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4502 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4503 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4504 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4505 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4506 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4507 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4508 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4509 Likewise.
4510 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4511 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4512 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4513 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4514
72eb6ecc
AZ
4515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4516 termios-c_cflag.h.
4517 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4518 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4519 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4520 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4521 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4522 termios-c_cflag.h.
4523 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4524 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4525 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4526 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4527
9c5d0d02
AZ
4528 [BZ #23783]
4529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4530 termios-baud.h.
4531 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4532 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4533 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4534 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4535 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4536 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4537 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4538 __MAX_BAUD): Move to termios-baud.h.
4539 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4540 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4541 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4542 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4543 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4544
7b832018
AZ
4545 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4546 termios-c_oflag.h.
4547 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4548 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4549 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4550 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4551 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4552 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4553 termios-c_oflag.h.
4554 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4555 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4556 FFR1): Likewise.
4557 [USE_MISC] (XTABS): Likewise.
4558 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4559 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4560 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4561 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4562
3127003e
AZ
4563 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4564 termios-c_iflag.h.
4565 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4566 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4567 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4568 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4569 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4570 IUTF8): Move to termios-c_iflag.h.
4571 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4572 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4573 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4574 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4575
48c1dd96
AZ
4576 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4577 termios-cc.h.
4578 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4579 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4580 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4581 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4582 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4583 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4584 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4585 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4586 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4587 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4588 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4589 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4590
e5a50db3
AZ
4591 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4592 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4593 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4594 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4596 termios-struct.h.
4597 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4598 termios-struct.h.
4599 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4600 Likewise.
4601 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4602 Likewise.
4603 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4604 Likewise.
4605 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4606 Likewise.
4607 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4608 _HAVE_C_OSPEED): Define.
4609 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4610 _HAVE_C_OSPEED): Likewise.
4611 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4612 _HAVE_C_OSPEED): Likewise.
4613 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4614 (cfsetospeed): Check for define value instead of existence.
4615 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4616 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4617 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4618 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4619 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4620
8083afa5
AZ
4621 [BZ #17783]
4622 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4623 Define.
4624 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4625 (TIOCSER_TEMT): Likewise.
4626 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4627 (TEOCSER_TEMT): Likewise.
4628
4d7d7dc6
P
46292019-01-02 PanderMusubi <pander@users.sourceforge.net>
4630
4631 [BZ #24011]
4632 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4633
8e291a29
JM
46342019-01-02 Joseph Myers <joseph@codesourcery.com>
4635
4636 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4637
55137f7d
ST
46382019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4639
4640 * sysdeps/htl/pt-barrierattr-setpshared.c
4641 (pthread_barrierattr_setpshared): Add stub warning.
4642 * sysdeps/htl/pt-condattr-setpshared.c
4643 (pthread_condattr_setpshared): Likewise.
4644 * sysdeps/htl/pt-mutexattr-setpshared.c
4645 (pthread_mutexattr_setpshared): Likewise.
4646 * sysdeps/htl/pt-rwlockattr-setpshared.c
4647 (pthread_rwlockattr_setpshared): Likewise.
4648 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4649 (pthread_mutexattr_setpshared): Likewise.
4650
2ce09e01
JM
46512019-01-02 Joseph Myers <joseph@codesourcery.com>
4652
acb55dcb
JM
4653 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4654 constants to match with Linux 4.20.
4655
2ce09e01
JM
4656 * sysdeps/mips/mips32/libm-test-ulps: Update.
4657 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4658
fe20bb1d
AJ
46592019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4660
4661 [BZ #24034]
4662 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4663 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4664 than __typeof (...) for the a_ptr variable.
4665
2d9837c1
GG
46662019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4667
4668 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4669 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4670 * libio/Makefile (tests): Add tst-sprintf-ub and
4671 tst-sprintf-chk-ub.
4672 (CFLAGS-tst-sprintf-ub.c): New variable.
4673 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4674 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4675 destination buffer and check for overflows in fortified mode.
4676 * libio/libioP.h (PRINTF_CHK): New macro.
4677 * libio/tst-sprintf-chk-ub.c: New file.
4678 * libio/tst-sprintf-ub.c: Likewise.
4679
d5c6df0b 46802019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
4681
4682 [BZ #24018]
4683 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4684 failure.
4685
66081e38
FW
46862019-01-02 Florian Weimer <fweimer@redhat.com>
4687
4688 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4689
04277e02
JM
46902019-01-01 Joseph Myers <joseph@codesourcery.com>
4691
6ef3d225
JM
4692 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4693 macro.
4694
e3d4e292
JM
4695 * sysdeps/unix/sysv/linux/netpacket/packet.h
4696 (PACKET_IGNORE_OUTGOING): New macro.
4697
f4507797
JM
4698 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4699 macro.
4700
47ad5e1a
JM
4701 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4702 version to 4.20.
4703 (riscv_flush_icache): New syscall.
4704
7628a1b0
JM
4705 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4706 trailing whitespace removed.
4707 * scripts/config.guess: Update to version 2019-01-01.
4708 * scripts/config.sub: Update to version 2019-01-01.
4709 * scripts/move-if-change: Update from gnulib.
4710
c9123888
JM
4711 * NEWS: Update copyright dates.
4712 * catgets/gencat.c (print_version): Likewise.
4713 * csu/version.c (banner): Likewise.
4714 * debug/catchsegv.sh: Likewise.
4715 * debug/pcprofiledump.c (print_version): Likewise.
4716 * debug/xtrace.sh (do_version): Likewise.
4717 * elf/ldconfig.c (print_version): Likewise.
4718 * elf/ldd.bash.in: Likewise.
4719 * elf/pldd.c (print_version): Likewise.
4720 * elf/sotruss.sh: Likewise.
4721 * elf/sprof.c (print_version): Likewise.
4722 * iconv/iconv_prog.c (print_version): Likewise.
4723 * iconv/iconvconfig.c (print_version): Likewise.
4724 * locale/programs/locale.c (print_version): Likewise.
4725 * locale/programs/localedef.c (print_version): Likewise.
4726 * login/programs/pt_chown.c (print_version): Likewise.
4727 * malloc/memusage.sh (do_version): Likewise.
4728 * malloc/memusagestat.c (print_version): Likewise.
4729 * malloc/mtrace.pl: Likewise.
4730 * manual/libc.texinfo: Likewise.
4731 * nptl/version.c (banner): Likewise.
4732 * nscd/nscd.c (print_version): Likewise.
4733 * nss/getent.c (print_version): Likewise.
4734 * nss/makedb.c (print_version): Likewise.
4735 * posix/getconf.c (main): Likewise.
4736 * scripts/test-installation.pl: Likewise.
4737 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4738
04277e02
JM
4739 * All files with FSF copyright notices: Update copyright dates
4740 using scripts/update-copyrights.
4741 * locale/programs/charmap-kw.h: Regenerated.
4742 * locale/programs/locfile-kw.h: Likewise.
4743
e740e5b1
JM
47442018-12-31 Joseph Myers <joseph@codesourcery.com>
4745
4746 * timezone/zdump.c: Update from tzcode 2018i.
4747 * timezone/zic.c: Likewise.
4748
9b7f98b3
PE
47492018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4750
4751 regex: improve Gnulib port to AIX
4752 From the glibc point of view, this removes duplicate macro
4753 definitions and is obviously safe.
4754 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4755 * posix/regex_internal.h:
4756 (__attribute__, __attribute_warn_unused_result__):
4757 Remove; already defined elsewhere.
4758
b50dd3bc
FW
47592018-12-31 Florian Weimer <fw@deneb.enyo.de>
4760
4761 [BZ #24027]
4762 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4763 copying operation. (ncopies had the wrong type, resulting in an
4764 integer wraparound and too few elements being copied.)
4765
0b9c8490
L
47662018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4767
4768 [BZ #24022]
4769 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4770 <asm/syscalls.h> exists with __has_include__ before including it.
4771
01047fa6
JM
47722018-12-31 Joseph Myers <joseph@codesourcery.com>
4773
4774 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4775 version to 4.20.
4776
6b5c8607 47772018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
4778
4779 * hurd/lookup-retry: Include <unistd.h>.
4780 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4781 Release it on return. Handle "pid" magical lookup retry.
4782
989182c4
RL
47832018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4784
4785 [BZ #10496]
4786 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4787 (t_fmt_ampm): Likewise.
4788 * localedata/locales/aa_ER (t_fmt): Likewise.
4789 (t_fmt_ampm): Likewise.
4790 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4791 (t_fmt_ampm): Likewise.
4792 * localedata/locales/aa_ET (t_fmt): Likewise.
4793 (t_fmt_ampm): Likewise.
4794 * localedata/locales/am_ET (t_fmt): Likewise.
4795 (t_fmt_ampm): Likewise.
4796 * localedata/locales/byn_ER (t_fmt): Likewise.
4797 (t_fmt_ampm): Likewise.
4798 * localedata/locales/om_ET (t_fmt): Likewise.
4799 (t_fmt_ampm): Likewise.
4800 * localedata/locales/sid_ET (t_fmt): Likewise.
4801 (t_fmt_ampm): Likewise.
4802 * localedata/locales/so_DJ (t_fmt): Likewise.
4803 (t_fmt_ampm): Likewise.
4804 * localedata/locales/so_ET (t_fmt): Likewise.
4805 (t_fmt_ampm): Likewise.
4806 * localedata/locales/so_SO (t_fmt): Likewise.
4807 (t_fmt_ampm): Likewise.
4808 * localedata/locales/ti_ER (t_fmt): Likewise.
4809 (t_fmt_ampm): Likewise.
4810 * localedata/locales/ti_ET (t_fmt): Likewise.
4811 (t_fmt_ampm): Likewise.
4812 * localedata/locales/tig_ER (t_fmt): Likewise.
4813 (t_fmt_ampm): Likewise.
4814 * localedata/locales/wal_ET (t_fmt): Likewise.
4815 (t_fmt_ampm): Likewise.
4816
4817 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4818 * localedata/locales/ar_IN (t_fmt): Likewise.
4819 * localedata/locales/bhb_IN (t_fmt): Likewise.
4820 * localedata/locales/bho_IN (t_fmt): Likewise.
4821 * localedata/locales/bi_VU (t_fmt): Likewise.
4822 * localedata/locales/bn_BD (t_fmt): Likewise.
4823 * localedata/locales/bn_IN (t_fmt): Likewise.
4824 * localedata/locales/brx_IN (t_fmt): Likewise.
4825 * localedata/locales/doi_IN (t_fmt): Likewise.
4826 * localedata/locales/en_HK (t_fmt): Likewise.
4827 (t_fmt_ampm): Likewise.
4828 * localedata/locales/en_IN (t_fmt): Likewise.
4829 * localedata/locales/en_PH (t_fmt): Likewise.
4830 * localedata/locales/gu_IN (t_fmt): Likewise.
4831 * localedata/locales/hi_IN (t_fmt): Likewise.
4832 * localedata/locales/hif_FJ (t_fmt): Likewise.
4833 * localedata/locales/hne_IN (t_fmt): Likewise.
4834 * localedata/locales/kn_IN (t_fmt): Likewise.
4835 * localedata/locales/kok_IN (t_fmt): Likewise.
4836 * localedata/locales/ks_IN (t_fmt): Likewise.
4837 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4838 * localedata/locales/mag_IN (t_fmt): Likewise.
4839 * localedata/locales/mai_IN (t_fmt): Likewise.
4840 * localedata/locales/mjw_IN (t_fmt): Likewise.
4841 * localedata/locales/ml_IN (t_fmt): Likewise.
4842 * localedata/locales/mni_IN (t_fmt): Likewise.
4843 * localedata/locales/mr_IN (t_fmt): Likewise.
4844 * localedata/locales/ms_MY (t_fmt): Likewise.
4845 * localedata/locales/pa_IN (t_fmt): Likewise.
4846 * localedata/locales/raj_IN (t_fmt): Likewise.
4847 * localedata/locales/sa_IN (t_fmt): Likewise.
4848 * localedata/locales/sat_IN (t_fmt): Likewise.
4849 * localedata/locales/sd_IN (t_fmt): Likewise.
4850 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4851 * localedata/locales/tcy_IN (t_fmt): Likewise.
4852 * localedata/locales/the_NP (t_fmt): Likewise.
4853 * localedata/locales/to_TO (t_fmt): Likewise.
4854 * localedata/locales/ur_IN (t_fmt): Likewise.
4855
4856 * localedata/locales/hif_FJ (d_t_fmt): Set to
4857 "%A %d %b %Y %I:%M:%S %p".
4858 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4859
4860 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4861 * localedata/locales/ar_BH (t_fmt): Likewise.
4862 * localedata/locales/ar_DZ (t_fmt): Likewise.
4863 * localedata/locales/ar_EG (t_fmt): Likewise.
4864 * localedata/locales/ar_IQ (t_fmt): Likewise.
4865 * localedata/locales/ar_JO (t_fmt): Likewise.
4866 * localedata/locales/ar_KW (t_fmt): Likewise.
4867 * localedata/locales/ar_LB (t_fmt): Likewise.
4868 * localedata/locales/ar_LY (t_fmt): Likewise.
4869 * localedata/locales/ar_OM (t_fmt): Likewise.
4870 * localedata/locales/ar_QA (t_fmt): Likewise.
4871 * localedata/locales/ar_SD (t_fmt): Likewise.
4872 * localedata/locales/ar_SS (t_fmt): Likewise.
4873 * localedata/locales/ar_SY (t_fmt): Likewise.
4874 * localedata/locales/ar_TN (t_fmt): Likewise.
4875 * localedata/locales/ar_YE (t_fmt): Likewise.
4876
4877 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4878 (t_fmt_ampm): Likewise.
4879 * localedata/locales/gez_ET (t_fmt): Likewise.
4880 (t_fmt_ampm): Likewise.
4881
4882 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4883 (t_fmt_ampm): Likewise.
4884 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4885
4886 * localedata/locales/zh_HK (t_fmt):
4887 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4888
4889 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4890 because this locale does not use the 12-hour clock.
4891 (t_fmt): Set to "%Z %H:%M:%S".
4892 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4893
4894 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4895 because this locale does not use the 12-hour clock.
4896 (t_fmt): Set to "%H:%M:%S %Z".
4897 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4898
4899 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4900 because this locale does not use the 12-hour clock.
4901 (t_fmt): Set to "%T".
4902 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4903 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4904
4905 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4906 because this locale does not use the 12-hour clock.
4907 (t_fmt): Set to "%H:%M:%S %Z".
4908 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4909
4910 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4911 because this locale does not use the 12-hour clock.
4912 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4913 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4914
27841a7d
RL
49152018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4916
4917 [BZ #10496]
4918 [BZ #23724]
4919 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4920 (t_fmt_ampm): Likewise.
4921 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4922 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4923 (d_fmt): Set to "%-d.%-m.%y".
4924
0253580a
AZ
49252018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4926
4927 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4928 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4929 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4930 Likewise.
4931 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4932 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4933 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4934 function.
4935 * support/blob_repeat.c (check_mul_overflow_size_t,
4936 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4937
09104e5b
AJ
49382018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4939
4940 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4941
c0feb731
PE
49422018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4943
4944 regex: simplify Gnulib port
4945 This simplifies the code, by removing stuff intended for porting
4946 to Gnulib but no longer needed there.
4947 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4948 uses of libc_hidden_def, weak_alias.
4949 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4950 _Restrict_ except for public-facing headers.
4951 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4952 Remove; already defined elsewhere.
4953 * posix/regex.c, posix/regex_internal.h:
4954 Use __GNUC_PREREQ instead of rolling our own.
4955 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4956
5289f1f5
WD
49572018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4958
4959 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 4960 (memchr_strlen): New function.
5289f1f5 4961
ba4b8fab
L
49622018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4963
4964 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4965 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4966 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4967
9412979a
L
49682018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4969
4970 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4971
8700a785
L
49722018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4973
4974 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4975 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4976 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4977 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4978 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4979 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4980 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4981
57b3ff8e
JM
49822018-12-21 Joseph Myers <joseph@codesourcery.com>
4983
4984 [BZ #24023]
4985 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4986 PLT reference in libc.so.
4987 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4988 _Q_lltoq and _Q_qtod PLT references in libc.so.
4989
90d3320d
WD
49902018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4991
4992 * benchtests/bench-memchr.c: Cleanup defines.
4993 * benchtests/bench-memcmp.c: Likewise.
4994 * benchtests/bench-memset.c: Likewise.
4995 * benchtests/bench-memset-large.c: Likewise.
4996 * benchtests/bench-memset-walk.c: Likewise.
4997 * benchtests/bench-stpcpy.c: Likewise.
4998 * benchtests/bench-stpncpy.c: Likewise.
4999 * benchtests/bench-strcat.c: Likewise.
5000 * benchtests/bench-strchr.c: Likewise.
5001 * benchtests/bench-strcmp.c: Likewise.
5002 * benchtests/bench-strcpy.c: Likewise.
5003 * benchtests/bench-strcspn.c: Likewise.
5004 * benchtests/bench-string.h: Likewise.
5005 * benchtests/bench-strlen.c: Likewise.
5006 * benchtests/bench-strncat.c: Likewise.
5007 * benchtests/bench-strncmp.c: Likewise.
5008 * benchtests/bench-strncpy.c: Likewise.
5009 * benchtests/bench-strnlen.c: Likewise.
5010 * benchtests/bench-strpbrk.c: Likewise.
5011 * benchtests/bench-strrchr.c: Likewise.
5012 * benchtests/bench-strspn.c: Likewise.
5013
192963be
JM
50142018-12-21 Joseph Myers <joseph@codesourcery.com>
5015
5d025ea6
JM
5016 * stdlib/longlong.h: Update from GCC.
5017
192963be
JM
5018 [BZ #23993]
5019 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5020 * configure: Regenerated.
5021 * manual/install.texi (Tools for Compilation): Update minimum GCC
5022 version.
5023 * INSTALL: Regenerated.
5024
6b5c8607 50252018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
5026
5027 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5028
6b5c8607 50292018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
5030
5031 * malloc/malloc.c (mremap_chunk): Additional checks.
5032
5f72b005
MH
50332018-12-21 Mao Han <han_mao@c-sky.com>
5034
5035 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5036 * scripts/build-many-glibcs.py: Add C-SKY targets.
5037 * sysdeps/csky/Implies: New file.
5038 * sysdeps/csky/Makefile: Likewise.
5039 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5040 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5041 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5042 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5043 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5044 * sysdeps/csky/abiv2/memmove.S: Likewise.
5045 * sysdeps/csky/abiv2/memset.S: Likewise.
5046 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5047 * sysdeps/csky/abiv2/start.S: Likewise.
5048 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5049 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5050 * sysdeps/csky/abiv2/strlen.S: Likewise.
5051 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5052 * sysdeps/csky/abort-instr.h: Likewise.
5053 * sysdeps/csky/atomic-machine.h: Likewise.
5054 * sysdeps/csky/bits/endian.h: Likewise.
5055 * sysdeps/csky/bits/fenv.h: Likewise.
5056 * sysdeps/csky/bits/link.h: Likewise.
5057 * sysdeps/csky/bits/setjmp.h: Likewise.
5058 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5059 * sysdeps/csky/bsd-setjmp.S: Likewise.
5060 * sysdeps/csky/configure: Likewise.
5061 * sysdeps/csky/configure.ac: Likewise.
5062 * sysdeps/csky/dl-machine.h: Likewise.
5063 * sysdeps/csky/dl-procinfo.c: Likewise.
5064 * sysdeps/csky/dl-procinfo.h: Likewise.
5065 * sysdeps/csky/dl-sysdep.h: Likewise.
5066 * sysdeps/csky/dl-tls.h: Likewise.
5067 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5068 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5069 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5070 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5071 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5072 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5073 * sysdeps/csky/fpu/fegetround.c: Likewise.
5074 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5075 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5076 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5077 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5078 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5079 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5080 * sysdeps/csky/fpu/fesetround.c: Likewise.
5081 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5082 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5083 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5084 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5085 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5086 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5087 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5088 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5089 * sysdeps/csky/fpu_control.h: Likewise.
5090 * sysdeps/csky/gccframe.h: Likewise.
5091 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5092 * sysdeps/csky/ldsodefs.h: Likewise.
5093 * sysdeps/csky/libc-tls.c: Likewise.
5094 * sysdeps/csky/linkmap.h: Likewise.
5095 * sysdeps/csky/machine-gmon.h: Likewise.
5096 * sysdeps/csky/memusage.h: Likewise.
5097 * sysdeps/csky/nofpu/Implies: Likewise.
5098 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5099 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5100 * sysdeps/csky/nptl/Makefile: Likewise.
5101 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5102 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5103 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5104 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5105 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5106 * sysdeps/csky/nptl/tls.h: Likewise.
5107 * sysdeps/csky/preconfigure: Likewise.
5108 * sysdeps/csky/sfp-machine.h: Likewise.
5109 * sysdeps/csky/sotruss-lib.c: Likewise.
5110 * sysdeps/csky/stackinfo.h: Likewise.
5111 * sysdeps/csky/sysdep.h: Likewise.
5112 * sysdeps/csky/tininess.h: Likewise.
5113 * sysdeps/csky/tst-audit.h: Likewise.
5114 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5115 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5116 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5117 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5118 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5119 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5120 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5121 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5122 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5123 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5124 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5125 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5126 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5127 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5128 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5129 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5130 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5131 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5132 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5133 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5134 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5135 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5136 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5137 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5138 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5139 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5140 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5141 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5142 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5143 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5144 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5145 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5146 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5147 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5148 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5149 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5150 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5151 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5152 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5153 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5154 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5155 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5156 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5157 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5158
6b5c8607 51592018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
5160
5161 * include/time.h (__difftime64): Add.
5162 * time/difftime.c (subtract): convert to 64-bit time.
5163 * time/difftime.c (__difftime64): Add.
5164 * time/difftime.c (__difftime): Wrap around __difftime64.
5165
ab416931
L
51662018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5167
5168 * manual/examples/add.c: Remove redundant "if not".
5169 * manual/examples/argp-ex1.c: Likewise.
5170 * manual/examples/argp-ex2.c: Likewise.
5171 * manual/examples/argp-ex3.c: Likewise.
5172 * manual/examples/argp-ex4.c: Likewise.
5173 * manual/examples/atexit.c: Likewise.
5174 * manual/examples/db.c: Likewise.
5175 * manual/examples/dir.c: Likewise.
5176 * manual/examples/dir2.c: Likewise.
5177 * manual/examples/execinfo.c: Likewise.
5178 * manual/examples/filecli.c: Likewise.
5179 * manual/examples/filesrv.c: Likewise.
5180 * manual/examples/fmtmsgexpl.c: Likewise.
5181 * manual/examples/genpass.c: Likewise.
5182 * manual/examples/inetcli.c: Likewise.
5183 * manual/examples/inetsrv.c: Likewise.
5184 * manual/examples/isockad.c: Likewise.
5185 * manual/examples/longopt.c: Likewise.
5186 * manual/examples/memopen.c: Likewise.
5187 * manual/examples/memstrm.c: Likewise.
5188 * manual/examples/mkdirent.c: Likewise.
5189 * manual/examples/mkfsock.c: Likewise.
5190 * manual/examples/mkisock.c: Likewise.
5191 * manual/examples/mygetpass.c: Likewise.
5192 * manual/examples/pipe.c: Likewise.
5193 * manual/examples/popen.c: Likewise.
5194 * manual/examples/rprintf.c: Likewise.
5195 * manual/examples/search.c: Likewise.
5196 * manual/examples/select.c: Likewise.
5197 * manual/examples/setjmp.c: Likewise.
5198 * manual/examples/sigh1.c: Likewise.
5199 * manual/examples/sigusr.c: Likewise.
5200 * manual/examples/stpcpy.c: Likewise.
5201 * manual/examples/strdupa.c: Likewise.
5202 * manual/examples/strftim.c: Likewise.
5203 * manual/examples/subopt.c: Likewise.
5204 * manual/examples/swapcontext.c: Likewise.
5205 * manual/examples/termios.c: Likewise.
5206 * manual/examples/testopt.c: Likewise.
5207 * manual/examples/testpass.c: Likewise.
5208 * manual/examples/timeval_subtract.c: Likewise.
5209
515f463f
JM
52102018-12-19 Joseph Myers <joseph@codesourcery.com>
5211
da75c1b1
JM
5212 * sysdeps/x86/fpu/math_private.h: New file.
5213 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5214
515f463f
JM
5215 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5216 definition.
5217 (cosh): Likewise.
5218 (tanh): Likewise.
5219
1616d034
TMQMF
52202018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5221
5222 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5223 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5224 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5225 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5226 fields.
5227 (_dl_show_auxv): Give a special treatment to
5228 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5229 and AT_L3_CACHEGEOMETRY.
5230 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5231 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5232 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5233 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5234
61595e3d
AS
52352018-12-19 Andreas Schwab <schwab@suse.de>
5236
5237 * nscd/connections.c (check_use): Don't abort on invalid len.
5238
bbb7dc84
ST
52392018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5240
5241 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5242 values in the 64bit value cases.
5243
6b5c8607 52442018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 5245
c4c2836a
AA
5246 * include/time.h
5247 (__ctime64_r): Add.
5248 * time/ctime_r.c
5249 (__ctime64_r): Add.
5250 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5251
7755e504
AA
5252 * include/time.h
5253 (__ctime64): Add.
5254 * time/gmtime.c
5255 (__ctime64): Add.
5256 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5257
a1d346ce
AA
5258 * include/time.h
5259 (__gmtime64_r): Add.
5260 * time/gmtime.c
5261 (__gmtime64_r): Add.
5262 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5263
131db8b0
AA
5264 * include/time.h
5265 (__gmtime64): Add.
5266 * time/gmtime.c
5267 (__gmtime64): Add.
5268 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5269
64c2277d
AA
5270 * include/time.h
5271 (__localtime64_r): Add.
5272 * time/localtime.c
5273 (__localtime64_r): Add.
5274 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5275
56b98bf1
AZ
52762018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5277
64dd7a16
AZ
5278 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5279 kernel_sigction definition.
5280
8b1d5da5
AZ
5281 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5282
f9eabb19
AZ
5283 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5284
56b98bf1
AZ
5285 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5286 __syscall_rt_sigaction.
5287 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5288 (kernel_sigaction): Use Linux generic defintion.
5289 (STUB): Define.
5290 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5291 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5292 (__syscall_rt_sigaction): Remove implementation.
5293 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5294 hidden.
5295 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5296 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5297 INTERNAL_SYSCALL): Remove definitions.
5298 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5299 action and signal set size.
5300 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5301 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5302
43a45c2d
AZ
53032018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5304 James Clarke <jrtc27@jrtc27.com>
5305
dfa6216f 5306 [BZ #23967]
43a45c2d
AZ
5307 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5308 Define if SA_RESTORER is defined.
5309 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5310 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5311 already defined.
5312 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5313 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5314 definitions.
5315 (HAS_SA_RESTORER): Define.
5316 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5317 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5318 (HAS_SA_RESTORER): Define.
5319 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5320 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5321 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5322 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5323 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5324
646ce7e0
JM
53252018-12-18 Joseph Myers <joseph@codesourcery.com>
5326
5327 * sysdeps/unix/sysv/linux/kernel-features.h
5328 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5329 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5330 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5331 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5332 (__ASSUME_ST_INO_64_BIT): Likewise.
5333 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5334 <kernel-features.h>.
5335 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5336 Remove conditional code.
5337 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5338 <kernel-features.h>.
5339 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5340 Remove conditional code.
5341 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5342 <kernel-features.h>.
5343 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5344 Remove conditional code.
5345 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5346 <kernel-features.h>.
5347 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5348 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5349
80190d2b
SL
53502018-12-18 Stefan Liebler <stli@linux.ibm.com>
5351
5352 * sysdeps/s390/multiarch/ifunc-resolve.h
5353 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5354 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5355 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5356 Delete macro definition.
5357 (s390_libc_ifunc_init): Rename to
5358 s390_libc_ifunc_expr_stfle_init.
5359 * sysdeps/s390/bzero: Use
5360 s390_libc_ifunc_expr_stfle_init instead of
5361 s390_libc_ifunc_init.
5362 * sysdeps/s390/memcmp.c: Likewise.
5363 * sysdeps/s390/memcpy.c: Likewise.
5364 * sysdeps/s390/mempcpy.c: Likewise.
5365 * sysdeps/s390/memset.c: Likewise.
5366
12f0dcb8
SL
53672018-12-18 Stefan Liebler <stli@linux.ibm.com>
5368
5369 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5370 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5371
25654a8c
SL
53722018-12-18 Stefan Liebler <stli@linux.ibm.com>
5373
5374 * sysdeps/s390/multiarch/Makefile
5375 (sysdep_routines): Remove wmemcmp variants.
5376 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5377 * sysdeps/s390/multiarch/ifunc-impl-list.c
5378 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5379 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5380 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5381 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5382 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5383 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5384 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5385 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5386
d2a7436c
SL
53872018-12-18 Stefan Liebler <stli@linux.ibm.com>
5388
5389 * sysdeps/s390/multiarch/Makefile
5390 (sysdep_routines): Remove wmemset variants.
5391 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5392 * sysdeps/s390/multiarch/ifunc-impl-list.c
5393 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5394 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5395 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5396 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5397 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5398 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5399 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5400 * sysdeps/s390/ifunc-wmemset.h: New file.
5401
c62534ae
SL
54022018-12-18 Stefan Liebler <stli@linux.ibm.com>
5403
5404 * sysdeps/s390/multiarch/Makefile
5405 (sysdep_routines): Remove wmemchr variants.
5406 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5407 * sysdeps/s390/multiarch/ifunc-impl-list.c
5408 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5409 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5410 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5411 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5412 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5413 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5414 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5415 * sysdeps/s390/ifunc-wmemchr.h: New file.
5416
79b44cf6
SL
54172018-12-18 Stefan Liebler <stli@linux.ibm.com>
5418
5419 * sysdeps/s390/multiarch/Makefile
5420 (sysdep_routines): Remove wcscspn variants.
5421 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5422 * sysdeps/s390/multiarch/ifunc-impl-list.c
5423 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5424 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5425 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5426 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5427 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5428 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5429 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5430 * sysdeps/s390/ifunc-wcscspn.h: New file.
5431
8e87c1f6
SL
54322018-12-18 Stefan Liebler <stli@linux.ibm.com>
5433
5434 * sysdeps/s390/multiarch/Makefile
5435 (sysdep_routines): Remove wcspbrk variants.
5436 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5437 * sysdeps/s390/multiarch/ifunc-impl-list.c
5438 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5439 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5440 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5441 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5442 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5443 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5444 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5445 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5446
8507e831
SL
54472018-12-18 Stefan Liebler <stli@linux.ibm.com>
5448
5449 * sysdeps/s390/multiarch/Makefile
5450 (sysdep_routines): Remove wcsspn variants.
5451 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5452 * sysdeps/s390/multiarch/ifunc-impl-list.c
5453 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5454 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5455 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5456 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5457 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5458 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5459 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5460 * sysdeps/s390/ifunc-wcsspn.h: New file.
5461
4753713a
SL
54622018-12-18 Stefan Liebler <stli@linux.ibm.com>
5463
5464 * sysdeps/s390/multiarch/Makefile
5465 (sysdep_routines): Remove wcsrchr variants.
5466 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5467 * sysdeps/s390/multiarch/ifunc-impl-list.c
5468 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5469 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5470 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5471 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5472 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5473 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5474 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5475 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5476
c09c1b6f
SL
54772018-12-18 Stefan Liebler <stli@linux.ibm.com>
5478
5479 * sysdeps/s390/multiarch/Makefile
5480 (sysdep_routines): Remove wcschrnul variants.
5481 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5482 * sysdeps/s390/multiarch/ifunc-impl-list.c
5483 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5484 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5485 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5486 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5487 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5488 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5489 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5490 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5491
cf3ccc31
SL
54922018-12-18 Stefan Liebler <stli@linux.ibm.com>
5493
5494 * sysdeps/s390/multiarch/Makefile
5495 (sysdep_routines): Remove wcschr variants.
5496 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5497 * sysdeps/s390/multiarch/ifunc-impl-list.c
5498 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5499 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5500 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5501 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5502 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5503 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5504 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5505 * sysdeps/s390/ifunc-wcschr.h: New file.
5506
e9873e1d
SL
55072018-12-18 Stefan Liebler <stli@linux.ibm.com>
5508
5509 * sysdeps/s390/multiarch/Makefile
5510 (sysdep_routines): Remove wcsncmp variants.
5511 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5512 * sysdeps/s390/multiarch/ifunc-impl-list.c
5513 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5514 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5515 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5516 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5517 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5518 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5519 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5520 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5521
3459e23d
SL
55222018-12-18 Stefan Liebler <stli@linux.ibm.com>
5523
5524 * sysdeps/s390/multiarch/Makefile
5525 (sysdep_routines): Remove wcscmp variants.
5526 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5527 * sysdeps/s390/multiarch/ifunc-impl-list.c
5528 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5529 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5530 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5531 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5532 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5533 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5534 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5535 * sysdeps/s390/ifunc-wcscmp.h: New file.
5536
814a76e1
SL
55372018-12-18 Stefan Liebler <stli@linux.ibm.com>
5538
5539 * sysdeps/s390/multiarch/Makefile
5540 (sysdep_routines): Remove wcsncat variants.
5541 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5542 * sysdeps/s390/multiarch/ifunc-impl-list.c
5543 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5544 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5545 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5546 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5547 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5548 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5549 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5550 * sysdeps/s390/ifunc-wcsncat.h: New file.
5551
3389cae4
SL
55522018-12-18 Stefan Liebler <stli@linux.ibm.com>
5553
5554 * sysdeps/s390/multiarch/Makefile
5555 (sysdep_routines): Remove wcscat variants.
5556 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5557 * sysdeps/s390/multiarch/ifunc-impl-list.c
5558 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5559 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5560 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5561 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5562 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5563 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5564 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5565 * sysdeps/s390/ifunc-wcscat.h: New file.
5566
c3081bcb
SL
55672018-12-18 Stefan Liebler <stli@linux.ibm.com>
5568
5569 * sysdeps/s390/multiarch/Makefile
5570 (sysdep_routines): Remove wcpncpy variants.
5571 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5572 * sysdeps/s390/multiarch/ifunc-impl-list.c
5573 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5574 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5575 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5576 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5577 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5578 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5579 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5580 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5581
0966dd86
SL
55822018-12-18 Stefan Liebler <stli@linux.ibm.com>
5583
5584 * sysdeps/s390/multiarch/Makefile
5585 (sysdep_routines): Remove wcsncpy variants.
5586 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5587 * sysdeps/s390/multiarch/ifunc-impl-list.c
5588 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5589 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5590 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5591 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5592 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5593 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5594 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5595 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5596
0582e428
SL
55972018-12-18 Stefan Liebler <stli@linux.ibm.com>
5598
5599 * sysdeps/s390/multiarch/Makefile
5600 (sysdep_routines): Remove wcpcpy variants.
5601 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5602 * sysdeps/s390/multiarch/ifunc-impl-list.c
5603 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5604 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5605 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5606 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5607 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5608 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5609 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5610 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5611
804f2e5c
SL
56122018-12-18 Stefan Liebler <stli@linux.ibm.com>
5613
5614 * sysdeps/s390/multiarch/Makefile
5615 (sysdep_routines): Remove wcscpy variants.
5616 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5617 * sysdeps/s390/multiarch/ifunc-impl-list.c
5618 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5619 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5620 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5621 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5622 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5623 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5624 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5625 * sysdeps/s390/ifunc-wcscpy.h: New file.
5626
c7e7cd26
SL
56272018-12-18 Stefan Liebler <stli@linux.ibm.com>
5628
5629 * sysdeps/s390/multiarch/Makefile
5630 (sysdep_routines): Remove wcsnlen variants.
5631 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5632 * sysdeps/s390/multiarch/ifunc-impl-list.c
5633 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5634 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5635 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5636 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5637 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5638 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5639 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5640 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5641
2e02d0b7
SL
56422018-12-18 Stefan Liebler <stli@linux.ibm.com>
5643
5644 * sysdeps/s390/multiarch/Makefile
5645 (sysdep_routines): Remove wcslen variants.
5646 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5647 * sysdeps/s390/multiarch/ifunc-impl-list.c
5648 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5649 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5650 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5651 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5652 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5653 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5654 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5655 * sysdeps/s390/ifunc-wcslen.h: New file.
5656
89bfcbdf
SL
56572018-12-18 Stefan Liebler <stli@linux.ibm.com>
5658
5659 * sysdeps/s390/multiarch/Makefile
5660 (sysdep_routines): Remove memrchr variants.
5661 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5662 * sysdeps/s390/multiarch/ifunc-impl-list.c
5663 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5664 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5665 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5666 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5667 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5668 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5669 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5670 * sysdeps/s390/ifunc-memrchr.h: New file.
5671
196655ba
SL
56722018-12-18 Stefan Liebler <stli@linux.ibm.com>
5673
5674 * sysdeps/s390/multiarch/Makefile
5675 (sysdep_routines): Remove memccpy variants.
5676 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5677 * sysdeps/s390/multiarch/ifunc-impl-list.c
5678 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5679 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5680 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5681 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5682 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5683 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5684 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5685 * sysdeps/s390/ifunc-memccpy.h: New file.
5686
4c7b3cec
SL
56872018-12-18 Stefan Liebler <stli@linux.ibm.com>
5688
5689 * sysdeps/s390/multiarch/Makefile
5690 (sysdep_routines): Remove rawmemchr variants.
5691 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5692 * sysdeps/s390/multiarch/ifunc-impl-list.c
5693 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5694 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5695 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5696 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5697 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5698 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5699 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5700 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5701
581a051c
SL
57022018-12-18 Stefan Liebler <stli@linux.ibm.com>
5703
5704 * sysdeps/s390/multiarch/Makefile
5705 (sysdep_routines): Remove memchr variants.
5706 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5707 * sysdeps/s390/multiarch/ifunc-impl-list.c
5708 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5709 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5710 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5711 * sysdeps/s390/multiarch/memchr.c: Move to ...
5712 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5713 * sysdeps/s390/ifunc-memchr.h: New file.
5714 * sysdeps/s390/s390-64/memchr.S: Move to ...
5715 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5716 for 31/64bit and ifunc handling.
5717 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5718 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5719 * sysdeps/s390/s390-32/memchr.S: Likewise.
5720
5d2ec20a
SL
57212018-12-18 Stefan Liebler <stli@linux.ibm.com>
5722
5723 * sysdeps/s390/multiarch/Makefile
5724 (sysdep_routines): Remove strcspn variants.
5725 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5726 * sysdeps/s390/multiarch/ifunc-impl-list.c
5727 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5728 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5729 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5730 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5731 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5732 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5733 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5734 * sysdeps/s390/ifunc-strcspn.h: New file.
5735
572cca93
SL
57362018-12-18 Stefan Liebler <stli@linux.ibm.com>
5737
5738 * sysdeps/s390/multiarch/Makefile
5739 (sysdep_routines): Remove strpbrk variants.
5740 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5741 * sysdeps/s390/multiarch/ifunc-impl-list.c
5742 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5743 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5744 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5745 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5746 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5747 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5748 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5749 * sysdeps/s390/ifunc-strpbrk.h: New file.
5750
483fc569
SL
57512018-12-18 Stefan Liebler <stli@linux.ibm.com>
5752
5753 * sysdeps/s390/multiarch/Makefile
5754 (sysdep_routines): Remove strspn variants.
5755 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5756 * sysdeps/s390/multiarch/ifunc-impl-list.c
5757 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5758 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5759 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5760 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5761 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5762 * sysdeps/s390/multiarch/strspn.c: Move to ...
5763 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5764 * sysdeps/s390/ifunc-strspn.h: New file.
5765
26ea8760
SL
57662018-12-18 Stefan Liebler <stli@linux.ibm.com>
5767
5768 * sysdeps/s390/multiarch/Makefile
5769 (sysdep_routines): Remove strrchr variants.
5770 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5771 * sysdeps/s390/multiarch/ifunc-impl-list.c
5772 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5773 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5774 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5775 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5776 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5777 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5778 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5779 * sysdeps/s390/ifunc-strrchr.h: New file.
5780
a1361e65
SL
57812018-12-18 Stefan Liebler <stli@linux.ibm.com>
5782
5783 * sysdeps/s390/multiarch/Makefile
5784 (sysdep_routines): Remove strchrnul variants.
5785 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5786 * sysdeps/s390/multiarch/ifunc-impl-list.c
5787 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5788 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5789 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5790 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5791 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5792 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5793 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5794 * sysdeps/s390/ifunc-strchrnul.h: New file.
5795
32f12653
SL
57962018-12-18 Stefan Liebler <stli@linux.ibm.com>
5797
5798 * sysdeps/s390/multiarch/Makefile
5799 (sysdep_routines): Remove strchr variants.
5800 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5801 * sysdeps/s390/multiarch/ifunc-impl-list.c
5802 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5803 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5804 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5805 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5806 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5807 * sysdeps/s390/multiarch/strchr.c: Move to ...
5808 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5809 * sysdeps/s390/ifunc-strchr.h: New file.
5810
316b8842
SL
58112018-12-18 Stefan Liebler <stli@linux.ibm.com>
5812
5813 * sysdeps/s390/multiarch/Makefile
5814 (sysdep_routines): Remove strncmp variants.
5815 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5816 * sysdeps/s390/multiarch/ifunc-impl-list.c
5817 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5818 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5819 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5820 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5821 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5822 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5823 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5824 * sysdeps/s390/ifunc-strncmp.h: New file.
5825
cdab85fe
SL
58262018-12-18 Stefan Liebler <stli@linux.ibm.com>
5827
5828 * sysdeps/s390/multiarch/Makefile
5829 (sysdep_routines): Remove strcmp variants.
5830 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5831 * sysdeps/s390/multiarch/ifunc-impl-list.c
5832 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5833 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5834 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5835 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5836 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5837 * sysdeps/s390/ifunc-strcmp.h: New file.
5838 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5839 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5840 for 31/64bit and ifunc handling.
5841 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5842 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5843 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5844
b9353351
SL
58452018-12-18 Stefan Liebler <stli@linux.ibm.com>
5846
5847 * sysdeps/s390/multiarch/Makefile
5848 (sysdep_routines): Remove strncat variants.
5849 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5850 * sysdeps/s390/multiarch/ifunc-impl-list.c
5851 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5852 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5853 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5854 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5855 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5856 * sysdeps/s390/multiarch/strncat.c: Move to ...
5857 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5858 * sysdeps/s390/ifunc-strncat.h: New file.
5859
8e5a0afb
SL
58602018-12-18 Stefan Liebler <stli@linux.ibm.com>
5861
5862 * sysdeps/s390/multiarch/Makefile
5863 (sysdep_routines): Remove strcat variants.
5864 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5865 * sysdeps/s390/multiarch/ifunc-impl-list.c
5866 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5867 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5868 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5869 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5870 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5871 * sysdeps/s390/multiarch/strcat.c: Move to ...
5872 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5873 * sysdeps/s390/ifunc-strcat.h: New file.
5874
25218822
SL
58752018-12-18 Stefan Liebler <stli@linux.ibm.com>
5876
5877 * sysdeps/s390/multiarch/Makefile
5878 (sysdep_routines): Remove stpncpy variants.
5879 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5880 * sysdeps/s390/multiarch/ifunc-impl-list.c
5881 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5882 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5883 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5884 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5885 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5886 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5887 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5888 * sysdeps/s390/ifunc-stpncpy.h: New file.
5889
d1bdbf38
SL
58902018-12-18 Stefan Liebler <stli@linux.ibm.com>
5891
5892 * sysdeps/s390/multiarch/Makefile
5893 (sysdep_routines): Remove strncpy variants.
5894 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5895 * sysdeps/s390/multiarch/ifunc-impl-list.c
5896 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5897 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5898 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5899 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5900 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5901 * sysdeps/s390/ifunc-strncpy.h: New file.
5902 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5903 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5904 and adjust ifunc handling.
5905 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5906 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5907 and adjust ifunc handling.
5908 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5909 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5910
97044931
SL
59112018-12-18 Stefan Liebler <stli@linux.ibm.com>
5912
5913 * sysdeps/s390/multiarch/Makefile
5914 (sysdep_routines): Remove stpcpy variants.
5915 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5916 * sysdeps/s390/multiarch/ifunc-impl-list.c
5917 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5918 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5919 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5920 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5921 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5922 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5923 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5924 * sysdeps/s390/ifunc-stpcpy.h: New file.
5925
914a4e05
SL
59262018-12-18 Stefan Liebler <stli@linux.ibm.com>
5927
5928 * sysdeps/s390/multiarch/Makefile
5929 (sysdep_routines): Remove strcpy variants.
5930 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5931 * sysdeps/s390/multiarch/ifunc-impl-list.c
5932 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5933 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5934 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5935 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5936 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5937 * sysdeps/s390/ifunc-strcpy.h: New file.
5938 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5939 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5940 for 31/64bit and ifunc handling.
5941 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5942 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5943 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5944
de10e44d
SL
59452018-12-18 Stefan Liebler <stli@linux.ibm.com>
5946
5947 * sysdeps/s390/multiarch/Makefile
5948 (sysdep_routines): Remove strnlen variants.
5949 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5950 * sysdeps/s390/multiarch/ifunc-impl-list.c
5951 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5952 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5953 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5954 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5955 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5956 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5957 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5958 * sysdeps/s390/ifunc-strnlen.h: New file.
5959
ff3ca374
SL
59602018-12-18 Stefan Liebler <stli@linux.ibm.com>
5961
5962 * sysdeps/s390/multiarch/Makefile
5963 (sysdep_routines): Remove strlen variants.
5964 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5965 * sysdeps/s390/multiarch/ifunc-impl-list.c
5966 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5967 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5968 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5969 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5970 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5971 * sysdeps/s390/multiarch/strlen.c: Move to ...
5972 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5973 * sysdeps/s390/ifunc-strlen.h: New file.
5974
d2c4c403
SL
59752018-12-18 Stefan Liebler <stli@linux.ibm.com>
5976
5977 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5978 * sysdeps/s390/multiarch/ifunc-impl-list.c
5979 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5980 * sysdeps/s390/ifunc-memmem.h: New file.
5981 * sysdeps/s390/memmem.c: Likewise.
5982 * sysdeps/s390/memmem-c.c: Likewise.
5983 * sysdeps/s390/memmem-vx.c: Likewise.
5984
8c25dddd
SL
59852018-12-18 Stefan Liebler <stli@linux.ibm.com>
5986
5987 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5988 * sysdeps/s390/multiarch/ifunc-impl-list.c
5989 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5990 * sysdeps/s390/ifunc-strstr.h: New file.
5991 * sysdeps/s390/strstr.c: Likewise.
5992 * sysdeps/s390/strstr-c.c: Likewise.
5993 * sysdeps/s390/strstr-vx.c: Likewise.
5994
cdd927d9
SL
59952018-12-18 Stefan Liebler <stli@linux.ibm.com>
5996
5997 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5998 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5999 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6000 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6001 New defines.
6002 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6003 * sysdeps/s390/memmove-c.c: New file.
6004 * sysdeps/s390/memmove.c: Likewise.
6005 * sysdeps/s390/multiarch/ifunc-impl-list.c
6006 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6007
2ee1bc57
SL
60082018-12-18 Stefan Liebler <stli@linux.ibm.com>
6009
6010 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6011 * sysdeps/s390/configure.ac: Add check for z13 support.
6012 * sysdeps/s390/configure: Regenerated.
6013
d097d976
SL
60142018-12-18 Stefan Liebler <stli@linux.ibm.com>
6015
6016 * sysdeps/s390/memcopy.h: New file.
6017
e099aab0
SL
60182018-12-18 Stefan Liebler <stli@linux.ibm.com>
6019
6020 * sysdeps/s390/s390-32/bcopy.S: Remove.
6021 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6022
18eb862d
SL
60232018-12-18 Stefan Liebler <stli@linux.ibm.com>
6024
6025 * sysdeps/s390/ifunc-memcpy.h: New File.
6026 * sysdeps/s390/memcpy.S: Move to ...
6027 * sysdeps/s390/memcpy-z900.S ... here.
6028 Move implementations from memcpy-s390x.s to here.
6029 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6030 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6031 Remove memcpy/mempcpy variants.
6032 * sysdeps/s390/Makefile (sysdep_routines):
6033 Add memcpy/mempcpy variants.
6034 * sysdeps/s390/multiarch/ifunc-impl-list.c
6035 (__libc_ifunc_impl_list): Adjust ifunc variants for
6036 memcpy and mempcpy.
6037 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6038 to ...
6039 * sysdeps/s390/memcpy.c: ... here.
6040 Adjust ifunc variants for memcpy.
6041 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6042 * sysdeps/s390/mempcpy.c: ... here.
6043 Adjust ifunc variants for mempcpy.
6044 * sysdeps/s390/mempcpy.S: Delete file.
6045
df3eb8de
SL
60462018-12-18 Stefan Liebler <stli@linux.ibm.com>
6047
6048 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6049 * sysdeps/s390/memcpy.S: ... here.
6050 Adjust to be usable for 31/64bit.
6051 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6052 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6053 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6054 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6055 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6056 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6057 Adjust to be usable for 31/64bit.
6058 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6059 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6060 * sysdeps/s390/multiarch/memcpy.c: ... here.
6061 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6062
b7e024a8
SL
60632018-12-18 Stefan Liebler <stli@linux.ibm.com>
6064
6065 * sysdeps/s390/ifunc-memcmp.h: New File.
6066 * sysdeps/s390/memcmp.S: Move to ...
6067 * sysdeps/s390/memcmp-z900.S ... here.
6068 Move implementations from memcmp-s390x.s to here.
6069 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6070 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6071 Remove memcmp variants.
6072 * sysdeps/s390/Makefile (sysdep_routines):
6073 Add memcmp variants.
6074 * sysdeps/s390/multiarch/ifunc-impl-list.c
6075 (__libc_ifunc_impl_list): Adjust ifunc variants for
6076 memcmp.
6077 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6078 to ...
6079 * sysdeps/s390/memcmp.c: ... here.
6080 Adjust ifunc variants for memcmp.
6081
6c6b8c74
SL
60822018-12-18 Stefan Liebler <stli@linux.ibm.com>
6083
6084 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6085 * sysdeps/s390/memcmp.S: ... here.
6086 Adjust to be usable for 31/64bit.
6087 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6088 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6089 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6090 Remove memcmp.
6091 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6092 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6093 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6094 Adjust to be usable for 31/64bit.
6095 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6096 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6097 * sysdeps/s390/multiarch/memcmp.c: ... here.
6098 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6099
07be3928
SL
61002018-12-18 Stefan Liebler <stli@linux.ibm.com>
6101
6102 * sysdeps/s390/s390-32/bzero.S: Delete file.
6103 * sysdeps/s390/s390-64/bzero.S: Likewise.
6104 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6105 * sysdeps/s390/bzero.c: New file.
6106 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6107 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6108 * sysdeps/s390/multiarch/ifunc-impl-list.c
6109 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6110
712a254a
SL
61112018-12-18 Stefan Liebler <stli@linux.ibm.com>
6112
6113 * sysdeps/s390/ifunc-memset.h: New File.
6114 * sysdeps/s390/memset.S: Move to ...
6115 * sysdeps/s390/memset-z900.S ... here.
6116 Move implementations from memset-s390x.s to here.
6117 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6118 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6119 Remove memset variants.
6120 * sysdeps/s390/Makefile (sysdep_routines):
6121 Add memset variants.
6122 * sysdeps/s390/multiarch/ifunc-impl-list.c
6123 (__libc_ifunc_impl_list): Adjust ifunc variants for
6124 memset.
6125 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6126 to ...
6127 * sysdeps/s390/memset.c: ... here.
6128 Adjust ifunc variants for memset.
6129
5f1743d1
SL
61302018-12-18 Stefan Liebler <stli@linux.ibm.com>
6131
6132 * sysdeps/s390/s390-64/memset.S: Move to ...
6133 * sysdeps/s390/memset.S: ... here.
6134 Adjust to be usable for 31/64bit.
6135 * sysdeps/s390/s390-32/memset.S: Delete File.
6136 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6137 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6138 Remove memset.
6139 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6140 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6141 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6142 Adjust to be usable for 31/64bit.
6143 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6144 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6145 * sysdeps/s390/multiarch/memset.c: ... here.
6146 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6147
e8023f26
SL
61482018-12-18 Stefan Liebler <stli@linux.ibm.com>
6149
6150 * sysdeps/s390/multiarch/ifunc-resolve.h
6151 (s390_libc_ifunc_init, s390_libc_ifunc,
6152 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6153
b8686c0d
SL
61542018-12-18 Stefan Liebler <stli@linux.ibm.com>
6155
6156 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6157 * sysdeps/s390/configure.ac: Add check for z10 support.
6158 * sysdeps/s390/configure: Regenerated.
6159
cd815050
L
61602018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6161
6162 * sysdeps/i386/atomic-machine.h: Merged with ...
6163 * sysdeps/x86_64/atomic-machine.h: To ...
6164 * sysdeps/x86/atomic-machine.h: This. New file.
6165
053c52b1
FW
61662018-12-18 Florian Weimer <fweimer@redhat.com>
6167
6168 Rewrite locale/gen-translit.pl in Python.
6169 * locale/Makefile (generated): Add C-translit.h.
6170 (before-compile): Add $(objpfx)C-translit.h.
6171 (C-translit.h): Move to $(objpfx). Create target directory.
6172 Build using Python script.
6173 * locale/gen-translit.py: New file.
6174 * locale/gen-translit.pl: Remove file.
6175 * locale/C-translit.h.in: Change comment character to '#' for
6176 easier parsing without a C preprocessor.
6177 * locale/C-translit.h: Remove generated file.
6178 * manual/install.texi (Tools for Compilation): Do not mention
6179 C-translit.h.
6180 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6181 Remove locale/C-translit.h.
6182 * scripts/update-copyrights: Likewise.
6183 * INSTALL: Regenerate.
6184
40e6c1ec
FW
61852018-12-18 Florian Weimer <fweimer@redhat.com>
6186
6187 [BZ #23995]
6188 * localedata/locales/bi_VU: Remove executable bit from file.
6189
6b5c8607 61902018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
6191
6192 * include/time.h
6193 (__localtime64): Add.
6194 * manual/maint.texi: Document Y2038 symbol handling.
6195 * time/localtime.c
6196 (__localtime64): Add.
bfb79db4 6197 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 6198
df648905
JM
61992018-12-17 Joseph Myers <joseph@codesourcery.com>
6200
551e81d9
JM
6201 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6202 Do not clobber r12.
6203
df648905
JM
6204 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6205 to allow extra macros from first or second sources.
6206 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6207 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6208 (tests-special): Add $(objpfx)tst-mman-consts.out.
6209 ($(objpfx)tst-mman-consts.out): New makefile target.
6210
6bbfc5c0
MH
62112018-12-17 Mao Han <han_mao@c-sky.com>
6212
6213 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6214 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6215 without stat64 system call support.
6216 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6217 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6218 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6219 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6220 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6221 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6222 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6223 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6224 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6225 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6226 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6227
ef202e53
PE
62282018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6229
6230 regex: fix storage-exhaustion error
6231 [BZ #18040]
6232 * posix/regexec.c (get_subexp):
6233 Do not continue if storage is exhausted.
6234
077caf61
AG
62352018-12-15 Assaf Gordon <assafgordon@gmail.com>
6236
6237 regex: fix heap-use-after-free error
6238 [BZ #18040]
6239 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6240 https://debbugs.gnu.org/32592
6241 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6242 call extend_buffers which reallocates the re_string_t internal buffer.
6243 Local variable 'buf' was not updated in such case, resulting in
6244 use-after-free.
6245 * posix/regexec.c (get_subexp): Update 'buf' after call to
6246 get_subexp_sub.
6247
0c1719e6
FW
62482018-12-15 Florian Weimer <fweimer@redhat.com>
6249
6250 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6251 (minimum_stride_size): Use it.
6252 (support_blob_repeat_allocate): Likewise.
6253
033a2c0a
JM
62542018-12-14 Joseph Myers <joseph@codesourcery.com>
6255
6256 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6257 definition.
6258 (acosh): Likewise.
6259 (atanh): Likewise.
6260
e361dc04
FW
62612018-12-14 Florian Weimer <fweimer@redhat.com>
6262
6263 * manual/process.texi (Process Creation Concepts): Remove
6264 documentation of process (ID) lifetime. List more process
6265 creation functions. Reference Process Identification section.
6266 (Process Identification): Add information about process ID
6267 lifetime. Describe Linux thread/task IDs.
6268 * manual/signal.texi (Signaling Another Process): Mention that the
6269 signal is always sent to the process.
6270
bd51ff5e
GG
62712018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6272
6273 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6274 and tst-ldbl-efgcvt.
6275 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6276 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6277 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6278 (fcvt_tests, output_error, output_r_error, do_test): Use the
6279 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6280 select the type of floating-point variables and arguments; to
6281 produce extra tests for double and conversion specifiers for
6282 printf; and to set the names of called functions.
6283 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6284 in tst-efgcvt-template.c.
6285 * misc/tst-ldbl-efgcvt.c: Likewise.
6286
268bb71e
SL
62872018-12-14 Stefan Liebler <stli@linux.ibm.com>
6288
6289 * nss/Makefile (tst-nss-test3.out): New rule.
6290
db6df070
JM
62912018-12-13 Joseph Myers <joseph@codesourcery.com>
6292
6293 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6294 clobber sp.
6295
ade8b817
CD
62962018-12-13 fanjinke <fanjinke@hygon.cn>
6297
6298 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6299 "HygonGenuine".
6300
3d265911
AS
63012018-12-13 Andreas Schwab <schwab@suse.de>
6302
f21e8f8c 6303 [BZ #23861]
3d265911 6304 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
6305 (__pthread_rwlock_rdlock_full): Update expected value for
6306 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6307 * nptl/tst-rwlock-pwn.c: New file.
6308 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 6309
bf8ae8c0
JM
63102018-12-12 Joseph Myers <joseph@codesourcery.com>
6311
6312 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6313 definition.
6314
de099757
LS
63152018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6316
6317 * benchtests/scripts/compare_bench.py (do_compare): write to
6318 stderr in casestat is not present.
6319 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6320 stderr in case timings field is not present. Also string showing
6321 the output filename goes into the stderr.
6322
1990185f
LS
63232018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6324
6325 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6326 and ZeroDivisorError exceptions.
6327 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6328 argument to loop through user provided statistics.
6329 * benchtests/scripts/compare_bench.py (main): Include the --stats
6330 argument.
6331
587426d4
LS
63322018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6333
6334 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6335 instead of return.
6336
46703efa
FW
63372018-12-12 Florian Weimer <fweimer@redhat.com>
6338
6339 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6340 clause to copyright header.
6341
1d880d4a
TMQMF
63422018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6343
6344 [BZ #23614]
6345 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6346 registers saved in the stack frame.
6347 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6348 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6349
1a502f52
GG
63502018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6351
6352 * include/bits/monetary-ldbl.h: New file.
6353 * include/bits/printf-ldbl.h: Likewise.
6354 * include/bits/stdio-ldbl.h: Likewise.
6355 * include/bits/stdlib-ldbl.h: Likewise.
6356 * include/bits/syslog-ldbl.h: Likewise.
6357 * include/bits/wchar-ldbl.h: Likewise.
6358
df682d1d
GG
63592018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6360
6361 * libio/libio.h: Remove redirection for _IO_vfprintf.
6362
c2c082c1
AS
63632018-12-11 Andreas Schwab <schwab@suse.de>
6364
6365 * Makerules: Remove all references to abilist-pattern.
6366 (update-all-abi): Simplify find expression.
6367
505b5b29
SN
63682018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6369
6370 [BZ #23961]
6371 * math/auto-libm-test-in: Add new test case.
6372 * math/auto-libm-test-out-pow: Regenerated.
6373 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6374
304c61a2
DD
63752018-12-10 DJ Delorie <dj@redhat.com>
6376
6377 [BZ #23948]
6378 * support/test-container.c: Move postclean step to before we
6379 change namespaces.
6380
a8110b72
JM
63812018-12-10 Joseph Myers <joseph@codesourcery.com>
6382
cb7be159
JM
6383 * scripts/gen-as-const.py (main): Handle --python option.
6384 * scripts/gen-py-const.awk: Remove.
6385 * Makerules (py-const-script): Use gen-as-const.py.
6386 ($(py-const)): Likewise.
6387 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6388 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6389 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6390 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6391 ~PTHREAD_MUTEX_NO_ELISION_NP.
6392 * manual/README.pretty-printers: Update reference to
6393 gen-py-const.awk.
6394
a8110b72
JM
6395 * scripts/glibcextract.py: New file.
6396 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6397 or tempfile. Import glibcexctract.
6398 (compute_c_consts): Remove. Moved to glibcextract.py.
6399 (gen_test): Update reference to compute_c_consts.
6400 (main): Likewise.
6401 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6402 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6403 * sysdeps/unix/sysv/linux/Makefile
6404 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6405 Redirect stderr as well as stdout.
6406
f9ba9eb8
RÁE
64072018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6408
6409 [BZ #19767]
6410 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
6411 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6412 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 6413 ALWAYS_USE_VSYSCALL.
b39d961c 6414 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
6415 ALWAYS_USE_VSYSCALL.
6416 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6417 ALWAYS_USE_VSYSCALL.
6418
8d20a2f4
FW
64192018-12-10 Florian Weimer <fweimer@redhat.com>
6420
6421 [BZ #23972]
6422 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6423 offset instead of count for clarity. Fix typo in comment.
6424 (__old_getdents64): Keep track of previous offset. Use it to call
6425 handle_overflow.
6426 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6427 that d_off is never zero.
6428
80472e2f
AS
64292018-12-10 Andreas Schwab <schwab@suse.de>
6430
6431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6432 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6434 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6435 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6436
0afcb29d
JM
64372018-12-10 Joseph Myers <joseph@codesourcery.com>
6438
6439 * timezone/private.h: Update from tzcode 2018g.
6440 * timezone/tzfile.h: Likewise.
6441 * timezone/tzselect.ksh: Likewise.
6442 * timezone/zdump.c: Likewise.
6443 * timezone/zic.c: Likewise.
6444
b93f4052
PP
64452018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6446
6447 [BZ #23490]
6448 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6449 (do_test): Adjust buffer size and fix format.
6450
7c9a7c68
DD
64512018-12-07 DJ Delorie <dj@redhat.com>
6452
6453 [BZ #23907]
6454 * malloc/tst-tcfree3.c: New.
6455 * malloc/Makefile: Add it.
6456
37caec3a
L
64572018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6458
6459 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6460
10446f5d
GG
64612018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6462
6463 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6464 used as a mask for the mode argument of __vfscanf_internal and
6465 __vfwscanf_internal.
6466 * stdio-common/vfscanf-internal.c
6467 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6468 (__strtof128_internal): Define to __wcstof128_internal.
6469 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6470 __strtof128_internal or __wcstof128_internal when the format of
6471 long double is the same as _Float128.
6472
45f33aac
ST
64732018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6474
6475 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6476 * posix/confstr.c (confstr): Rename to __confstr.
6477 (__confstr): Add hidden def.
6478 (confstr): Add weak alias for __confstr.
6479 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6480 confstr.
6481
a092ca94
L
64822018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6483
6484 * NEWS: Mention getcpu.
6485 * include/sched.h (__getcpu): New libc_hidden_proto.
6486 * manual/resource.texi: Document getcpu.
6487 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6488 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6489 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6490 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6491 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6492 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6493 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6494 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6495 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6496 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6497 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6498 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6499 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6500 Likewise.
6501 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6502 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6503 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6505 Likewise.
6506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6507 Likewise.
6508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6509 Likewise.
6510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6511 Likewise.
6512 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6513 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6514 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6515 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6516 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6517 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6518 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6519 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6520 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6521 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6522 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6523 Also check getcpu.
6524
7c857b6f
ST
65252018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6526
6527 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6528 functions.
6529 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6530
3a3fb755
FW
65312018-12-07 Florian Weimer <fweimer@redhat.com>
6532
6533 [BZ #17405]
6534 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6535 * posix/Versions (GLIBC_2.29): Export
6536 posix_spawn_file_actions_addfchdir_np.
6537 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6538 * posix/spawn_faction_destroy.c
6539 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6540 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6541 and the field action.fchdir_action.
6542 * posix/tst-spawn-chdir.c (add_chdir): New function.
6543 (do_test): Add do_fchdir loop. Call add_chdir.
6544 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6545 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6546 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6547 posix_spawn_file_actions_addfchdir_np.
6548 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6549 Likewise.
6550 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6551 Likewise.
6552 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6553 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6554 Likewise.
6555 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6556 Likewise.
6557 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6558 Likewise.
6559 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6560 Likewise.
6561 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6562 Likewise.
6563 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6564 Likewise.
6565 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6566 (GLIBC_2.29): Likewise.
6567 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6568 (GLIBC_2.29): Likewise.
6569 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6570 (GLIBC_2.29): Likewise.
6571 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6572 (GLIBC_2.29): Likewise.
6573 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6574 Likewise.
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6576 (GLIBC_2.29): Likewise.
6577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6578 (GLIBC_2.29): Likewise.
6579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6580 (GLIBC_2.29): Likewise.
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6582 (GLIBC_2.29): Likewise.
6583 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6584 Likewise.
6585 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6586 Likewise.
6587 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6588 Likewise.
6589 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6590 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6591 Likewise.
6592 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6593 Likewise.
6594 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6595 Likewise.
6596 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6597 Likewise.
6598
c37cd439
JM
65992018-12-06 Joseph Myers <joseph@codesourcery.com>
6600
6601 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6602 trailing whitespace removed.
6603 * scripts/config.guess: Update to version 2018-11-28.
6604 * scripts/config.sub: Update to version 2018-11-28.
6605 * scripts/install-sh: Update to version 2018-03-11.20.
6606 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6607 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6608
899478c2
FW
66092018-12-07 Florian Weimer <fweimer@redhat.com>
6610
6611 [BZ #23927]
6612 CVE-2018-19591
6613 * inet/tst-if_index-long.c: New file.
6614 * inet/Makefile (tests): Add tst-if_index-long.
6615
f255336a
FW
66162018-12-07 Florian Weimer <fweimer@redhat.com>
6617
6618 * support/check.h (support_record_failure_is_failed): Declare.
6619 * support/descriptors.h: New file.
6620 * support/support_descriptors.c: Likewise.
6621 * support/tst-support_descriptors.c: Likewise.
6622 * support/support_record_failure.c
6623 (support_record_failure_is_failed): New function.
6624 * support/Makefile (libsupport-routines): Add support_descriptors.
6625 (tests): Add tst-support_descriptors.
6626
35caceb1
ZW
66272018-12-05 Zack Weinberg <zackw@panix.com>
6628 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6629
6630 * stdio-common/vfprintf-internal.c
6631 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6632 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6633 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6634 and __no_long_double.
6635 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6636 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6637 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6638 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6639 and __nldbl_*syslog* functions.
6640 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6641 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6642 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6643 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6644 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6645 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6646 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6647 (__nldbl_vwprintf, __nldbl_wprintf):
6648 Directly call the appropriate __v*printf_internal routine, passing
6649 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6650 variable names.
6651 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6652 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6653 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6654 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6655 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6656 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6657 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6658 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6659 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6660 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6661 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6662 (__nldbl_syslog, __nldbl_vsyslog):
6663 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6664 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6665 appropriate.
6666 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6667 appropriate.
6668
4e2f43f8
ZW
66692018-12-05 Zack Weinberg <zackw@panix.com>
6670 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6671
6672 [BZ #11319]
6673 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6674 Moved here from debug/vsprintf_chk.c.
6675 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6676 and completion logic for the strfile to match exactly what
6677 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6678 _IO_str_init_static_internal instead of maxlen-1.
6679 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6680 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6681 __vsprintf_internal.
6682
6683 * debug/vsprintf_chk.c (__vsprintf_chk)
6684 * debug/sprintf_chk.c (__sprintf_chk):
6685 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6686 'flags' argument is positive, and slen as maxlen. No need to lock
6687 the FILE and/or construct a temporary FILE. Minimize and normalize
6688 header inclusions and variable names. Do not libc_hidden_def anything.
6689
6690 * debug/asprintf_chk.c (__asprintf_chk)
6691 * debug/dprintf_chk.c (__dprintf_chk)
6692 * debug/fprintf_chk.c (__fprintf_chk)
6693 * debug/fwprintf_chk.c (__fwprintf_chk)
6694 * debug/printf_chk.c (__printf_chk)
6695 * debug/snprintf_chk.c (__snprintf_chk)
6696 * debug/swprintf_chk.c (__swprintf_chk)
6697 * debug/vasprintf_chk.c (__vasprintf_chk)
6698 * debug/vdprintf_chk.c (__vdprintf_chk)
6699 * debug/vfprintf_chk.c (__vfprintf_chk)
6700 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6701 * debug/vprintf_chk.c (__vprintf_chk)
6702 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6703 * debug/vswprintf_chk.c (__vswprintf_chk)
6704 * debug/vwprintf_chk.c (__vwprintf_chk)
6705 * debug/wprintf_chk.c (__wprintf_chk):
6706 Directly call the corresponding vxxprintf_internal function, passing
6707 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6708 the FILE and/or construct a temporary FILE. Minimize and normalize
6709 header inclusions and variable names. Do not libc_hidden_def anything.
6710
6711 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6712 __obstack_vprintf_internal.
6713 (__obstack_vprintf_chk): Convert into a wrapper that calls
6714 __obstack_vprintf_internal (these two functions already had the
6715 same code) and move to new file...
6716 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6717 file.
6718 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6719 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6720 * debug/Makefile (routines): Add vobprintf_chk.
6721
6722 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6723 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6724 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6725 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6726 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6727 (__nldbl___obstack_vfprintf_chk):
6728 Directly call the corresponding vxxprintf_internal function,
6729 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6730 duplicate comparison of slen with 0 or maxlen from the corresponding
6731 non-__nldbl function.
6732
6733 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6734 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6735 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6736 Remove libc_hidden_proto.
6737
6738 * stdio-common/vfprintf-internal.c
6739 (__vfprintf_internal, __vfwprintf_internal):
6740 Do not check _IO_FLAGS2_FORTIFY.
6741 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6742 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6743 a comment explaining why it has the maxlen argument.
6744 (_IO_acquire_lock_clear_flags2_fct): Remove.
6745 (_IO_acquire_lock_clear_flags2): Remove.
6746 (_IO_release_lock): Remove conditional statement which will
6747 now never execute.
6748 (_IO_acquire_lock): Remove variable which is now unused.
6749 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6750 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6751
6752 * stdio-common/Makefile (tests): Add tst-bz11319 and
6753 tst-bz11319-fortify2.
6754 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6755 * stdio-common/tst-bz11319-fortify2.c: New file.
6756 * stdio-common/tst-bz11319.c: Likewise.
6757
124fc732
ZW
67582018-12-05 Zack Weinberg <zackw@panix.com>
6759 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6760
6761 * misc/syslog.c: Include libioP.h, not iolibio.h.
6762 (__vsyslog_internal): New function with the former body of
6763 __vsyslog_chk; takes mode_flags argument same as
6764 __v*printf_internal. Call __vfprintf_internal directly.
6765
6766 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6767 Remove libc_hidden_def.
6768 (__syslog, __syslog_chk): Use __vsyslog_internal.
6769 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6770
6771 * include/sys/syslog.h: Add multiple inclusion guard.
6772 Add prototype for __vsyslog_internal.
6773 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6774
6775 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6776 Use __vsyslog_internal.
6777
698fb75b
ZW
67782018-12-05 Zack Weinberg <zackw@panix.com>
6779 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6780
6781 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6782 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6783 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6784 New functions.
6785 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6786 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6787
6788 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6789 Include wctype.h here if COMPILE_WPRINTF is defined.
6790 Define __vfprintf_internal or __vfwprintf_internal, depending
6791 on COMPILE_WPRINTF.
6792 Temporarily, on entry to this function, update mode_flags
6793 according to the environmental settings corresponding to
6794 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6795 Throughout, check mode_flags instead of __ldbl_is_dbl and
6796 _IO_FLAGS2_FORTIFY on the destination FILE.
6797 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6798 Include vfprintf-internal.c. Don't include wctype.h.
6799 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6800 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6801 and vfprintf.
6802 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6803 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6804 and vfwprintf.
6805 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6806
6807 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6808 and add mode_flags argument; use __vfprintf_internal.
6809 (__vdprintf): New function. Alias vdprintf to this.
6810 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6811 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6812 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6813 (__obstack_printf): Use __obstack_printf_internal.
6814 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6815 public aliases __vsnprintf and vsnprintf.
6816 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6817 called internally.
6818 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6819 public aliases _IO_vsprintf and vsprintf.
6820 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6821 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6822 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6823 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6824 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6825
6826 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6827 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6828 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6829 * stdio-common/printf.c: Use __vfprintf_internal.
6830
6831 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6832 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6833 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6834
6835 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6836 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6837 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6838 __vfwprintf_internal.
6839
6840 * libio/libio.h: Remove libc_hidden_proto and declaration for
6841 _IO_vfprintf.
6842 Remove declaration of _IO_vfwprintf.
6843 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6844 _IO_vsprintf.
6845 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6846 _IO_obstack_printf.
6847 * include/stdio.h: Add prototype for __vasprintf.
6848 (__vsnprintf): Remove declaration, because there are no more
6849 internal calls.
6850 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6851 declaration, because there are no more internal calls.
6852
6853 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6854 __vsnprintf_internal, instead of _IO_vsnprintf.
6855 * argp/argp-help.c (__argp_error, __argp_failure): Use
6856 __vasprintf_internal, instead of _IO_vasprintf.
6857 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6858 redefine, because there are no more internal calls.
6859
d91798b3
ZW
68602018-12-05 Zack Weinberg <zackw@panix.com>
6861 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6862
6863 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6864 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6865 Include libio/strfile.h instead of libioP.h.
6866 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6867 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6868 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6869 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6870 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6871 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6872 necessary. Do not set __no_long_double. Normalize variable names.
6873 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6874 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6875 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6876 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6877 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6878 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6879 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6880 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6881 Do not set __no_long_double. Normalize variable names.
6882
b87eb3f8
ZW
68832018-12-05 Zack Weinberg <zackw@panix.com>
6884 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6885
6886 * stdio-common/isoc99_scanf.c
6887 * stdio-common/isoc99_fscanf.c
6888 * stdio-common/isoc99_sscanf.c
6889 * stdio-common/isoc99_vscanf.c
6890 * stdio-common/isoc99_vfscanf.c
6891 * stdio-common/isoc99_vsscanf.c
6892 * wcsmbs/isoc99_wscanf.c
6893 * wcsmbs/isoc99_fwscanf.c
6894 * wcsmbs/isoc99_swscanf.c
6895 * wcsmbs/isoc99_vwscanf.c
6896 * wcsmbs/isoc99_vfwscanf.c
6897 * wcsmbs/isoc99_vswscanf.c:
6898 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6899 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6900 No need to lock and unlock the FILE passed to that function.
6901
6902 * stdio-common/vfscanf-internal.c
6903 (__vfscanf_internal, __vfwscanf_internal):
6904 Don't look at _IO_FLAGS2_SCANF_STD.
6905 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6906 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6907 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6908
349718d4
ZW
69092018-12-05 Zack Weinberg <zackw@panix.com>
6910 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6911
6912 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6913 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6914 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6915 * libio/strfile.h: Add multiple inclusion guard.
6916 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6917
6918 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6919 consistency with the other version of this file.
6920 (ldbl_compat_symbol): New macro.
6921 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6922 New macro.
6923
6924 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6925 Define __vfscanf_internal or __vfwscanf_internal, depending on
6926 COMPILE_WSCANF; don't define any other public symbols.
6927 Remove errval and code to set errp.
6928 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6929 as the mode_flags argument.
6930 (encode_error, conv_error, input_error): Don't set errval.
6931 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6932 Include vfscanf-internal.c.
6933 * stdio-common/vfscanf.c: New file defining the public entry
6934 point vfscanf, which calls __vfscanf_internal.
6935 * stdio-common/vfwscanf.c: New file defining the public entry
6936 point vfwscanf, which calls __vfwscanf_internal.
6937
6938 * stdio-common/iovfscanf.c: New file.
6939 * stdio-common/iovfwscanf.c: Likewise.
6940
6941 * stdio-common/Makefile (routines): Add vfscanf-internal,
6942 vfwscanf-internal, iovfscanf, iovfwscanf.
6943 * stdio-common/Versions: Mention GLIBC_2.29, so that
6944 it can be used in SHLIB_COMPAT expressions.
6945 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6946 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6947 Call __vfscanf_internal, instead of _IO_vfscanf.
6948 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6949 _IO_vfscanf.
6950 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6951 _IO_vfwscanf.
6952
6953 * libio/iovsscanf.c: Clean up includes, when possible. Use
6954 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6955 __vfscanf_internal or __vfwscanf_internal directly.
6956 * libio/iovswscanf.c: Likewise.
6957 * libio/swscanf.c: Likewise.
6958 * libio/vscanf.c: Likewise.
6959 * libio/vwscanf.c: Likewise.
6960 * libio/wscanf.c: Likewise.
6961 * stdio-common/isoc99_fscanf.c: Likewise.
6962 * stdio-common/isoc99_scanf.c: Likewise.
6963 * stdio-common/isoc99_sscanf.c: Likewise.
6964 * stdio-common/isoc99_vfscanf.c: Likewise.
6965 * stdio-common/isoc99_vscanf.c: Likewise.
6966 * stdio-common/isoc99_vsscanf.c: Likewise.
6967 * stdio-common/scanf.c: Likewise.
6968 * stdio-common/sscanf.c: Likewise.
6969 * wcsmbs/isoc99_fwscanf.c: Likewise.
6970 * wcsmbs/isoc99_swscanf.c: Likewise.
6971 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6972 * wcsmbs/isoc99_vswscanf.c: Likewise.
6973 * wcsmbs/isoc99_vwscanf.c: Likewise.
6974 * wcsmbs/isoc99_wscanf.c: Likewise.
6975
6b5c8607 69762018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
6977
6978 * include/time.h
6979 (__tz_compute): Replace time_t with __time64_t.
6980 (__tz_convert): Replace time_t* with __time64_t.
6981 (__offtime): Replace time_t* with __time64_t.
6982 * time/gmtime.c
6983 (__gmtime_r): Adjust call to __tz_convert.
6984 (gmtime): Likewise.
6985 * time/localtime.c
6986 (__localtime_r): Likewise.
6987 (localtime): Likewise.
6988 * time/offtime.c: Replace time_t with __time64_t.
6989 * time/tzset.c: Likewise.
6990
bd598da9
JM
69912018-12-04 Joseph Myers <joseph@codesourcery.com>
6992
6993 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6994 dynamic linker unless [$(run-built-tests) = yes].
6995
b2e93de0
DD
69962018-12-03 DJ Delorie <dj@delorie.com>
6997
6998 * support/test-container.c (check_for_unshare_hints): New.
6999 (main): Call it if unshare fails. Add support for "su" scriptlet
7000 command.
7001
477a02f6
JM
70022018-12-03 Joseph Myers <joseph@codesourcery.com>
7003
7004 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7005 'START' to indicate that start text should be output.
7006 (gen_test): Likewise.
7007 (main): Generate 'START' for first symbol or '--' line, or at end
7008 of input if not previously generated.
7009
6af956e5
RÁE
70102018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7011
7012 [BZ #19767]
7013 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7014 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7015 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7016 ALWAYS_USE_VSYSCALL.
7017
f5ec0ea9
AZ
70182018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7019
7020 [BZ #23913]
7021 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7022 new_argv by one.
7023
8cebd4ff
CD
70242018-12-03 Carlos O'Donell <carlos@redhat.com>
7025
7026 [BZ #23923]
7027 * locale/programs/localedef.c: Declare boolean hard_links default true.
7028 (options): Add --no-hard-links option.
7029 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7030 * locale/programs/localedef.h: Declare prototype for hard_links.
7031 * locale/programs/locfile.c (write_locale_data): Don't use hard
7032 links if hard_links is false.
7033
c22e4c2a
L
70342018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7035
7036 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7037 cpu_features_basic.
7038 (__cache_sysconf): Likewise.
7039 (init_cacheinfo): Likewise.
7040 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7041 populate COMMON_CPUID_INDEX_80000007 and
7042 COMMON_CPUID_INDEX_80000008.
7043 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7044 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7045 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7046 (init_cpu_features): Use _Static_assert on
7047 index_arch_Fast_Unaligned_Load.
7048 __get_cpuid_registers and __get_arch_feature. Updated for
7049 cpu_features_basic. Set stepping in cpu_features.
7050 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7051 (FEATURE_INDEX_2): New.
7052 (FEATURE_INDEX_MAX): Changed to enum.
7053 (COMMON_CPUID_INDEX_D_ECX_1): New.
7054 (COMMON_CPUID_INDEX_80000007): Likewise.
7055 (COMMON_CPUID_INDEX_80000008): Likewise.
7056 (cpuid_registers): Likewise.
7057 (cpu_features_basic): Likewise.
7058 (CPU_FEATURE_USABLE): Likewise.
7059 (bit_arch_XXX_Usable): Likewise.
7060 (cpu_features): Use cpuid_registers and cpu_features_basic.
7061 (bit_arch_XXX): Reweritten.
7062 (bit_cpu_XXX): Likewise.
7063 (index_cpu_XXX): Likewise.
7064 (reg_XXX): Likewise.
7065 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7066 <support/check.h>.
7067 (CHECK_CPU_FEATURE): New.
7068 (CHECK_CPU_FEATURE_USABLE): Likewise.
7069 (cpu_kinds): Likewise.
7070 (do_test): Print vendor, family, model and stepping. Check
7071 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7072 (TEST_FUNCTION): Removed.
7073 Include <support/test-driver.c> instead of
7074 "../../test-skeleton.c".
7075 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7076 Check POPCNT instead of POPCOUNT.
7077 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7078
7b36d26b
ST
70792018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7080
7081 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7082 there is no element in `consts'.
7083
02cd5c1a
FW
70842018-12-01 Florian Weimer <fweimer@redhat.com>
7085
7086 * support/support_capture_subprocess.c
7087 (support_capture_subprocess): Check that pipe descriptors have
7088 expected values. Close original pipe descriptors in subprocess.
7089
fc493bc9
ST
70902018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7091
7092 [BZ #23032]
7093 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7094 attr with __pthread_default_barrierattr.
7095 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7096 attr with __pthread_default_condattr.
7097 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7098 attr with __pthread_default_mutexattr.
7099 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7100 attr with __pthread_default_rwlockattr.
7101
6310e6be
KW
71022018-12-01 Kemi Wang <kemi.wang@intel.com>
7103
7104 * manual/tunables.texi (POSIX Thread Tunables): New node.
7105 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7106 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7107 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7108 __pthread_tunables_init.
7109 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7110 (max_adaptive_count): Define.
7111 * nptl/pthread_mutex_conf.c: New file.
7112 * nptl/pthread_mutex_conf.h: New file.
7113 * sysdeps/generic/adaptive_spin_count.h: New file.
7114 * sysdeps/nptl/dl-tunables.list: New file.
7115 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7116 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7117 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7118 Likewise.
7119
8e67b39e
PP
71202018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7121
7122 [BZ #20544]
7123 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7124 * stdlib/on_exit.c (__on_exit): Likewise.
7125 * stdlib/Makefile (tests): Add tst-bz20544.
7126 * stdlib/tst-bz20544.c: New test.
7127
15b8d67e
RÁE
71282018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7129
7130 [BZ #19767]
7131 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7132 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7133 New.
7134
5e63c240
FW
71352018-11-30 Florian Weimer <fweimer@redhat.com>
7136
7137 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7138 Extend error logging.
7139 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7140 symbol.
7141
71058602 71422018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 7143
5fb7fc96
AZ
7144 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7145 __sigismember instead of sigismember.
7146 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7147 cancel_handler): New definitions.
7148 (do_system): Use posix_spawn instead of fork and execl and remove
7149 reentracy code.
7150 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7151 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7152 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7153 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7154 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7155 * sysdeps/unix/sysv/linux/system.c: Likewise.
7156
14d0e87d
AZ
7157 [BZ #22834]
7158 [BZ #17490]
7159 * NEWS: Add new semantic for atfork with popen and system.
7160 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7161 fork and execl.
7162
e5d262ef
TMQMF
71632018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7164
7165 [BZ #23690]
7166 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7167 modification order when accessing reloc_result->addr.
7168 * include/link.h (reloc_result): Add field init.
7169 * nptl/Makefile (tests): Add tst-audit-threads.
7170 (modules-names): Add tst-audit-threads-mod1 and
7171 tst-audit-threads-mod2.
7172 Add rules to build tst-audit-threads.
7173 * nptl/tst-audit-threads-mod1.c: New file.
7174 * nptl/tst-audit-threads-mod2.c: Likewise.
7175 * nptl/tst-audit-threads.c: Likewise.
7176 * nptl/tst-audit-threads.h: Likewise.
7177
7e1d4240
JM
71782018-11-30 Joseph Myers <joseph@codesourcery.com>
7179
7180 * scripts/gen-as-const.py: New file.
7181 * scripts/gen-as-const.awk: Remove.
7182 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7183 gen-as-const.py.
7184 ($(objpfx)test-as-const-%.c): Likewise.
7185
ce7387cc
L
71862018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7187
7188 * elf/dl-exception.c: Include <_itoa.h>.
7189
c6a5bdc1
ST
71902018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7191
7192 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7193 returned by __f_setlk.
7194
a5275ba5
L
71952018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7196 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7197
7198 * elf/Makefile (tests-internal): Add tst-create_format1.
7199 * elf/dl-exception.c (_dl_exception_create_format): Support
7200 %x, %lx and %zx.
7201 * elf/tst-create_format1.c: New file.
7202
3a67e81d
CAC
72032018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7204
7205 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7206 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7207 gnulib.)
7208 * argp/argp-help.c (__argp_failure): Likewise.
7209
4975f0c3
MH
72102018-11-29 Mao Han <han_mao@c-sky.com>
7211
7212 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7213 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7214 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7215 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7216 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7217 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7218 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7219 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7220 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7221 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7222 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7223 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7224 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7225 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7226 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7227 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7228 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7229 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7230 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7231 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7232 (R_CKCORE_TLS_TPOFF32): New defines.
7233
250102c8
FW
72342018-11-29 Florian Weimer <fweimer@redhat.com>
7235
7236 * posix/Makefile (before-compile): Remove testcases.h and
7237 ptestcases.h.
7238 (generated): Add testcases.h and ptestcases.h.
7239 (testcases.h, ptestcases.h): Move to $(objpfx).
7240 (runtests.o): Add dependency on testcases.h.
7241 (runptests.o): Add dependency on ptestcases.h.
7242 * posix/testcases.h, posix/ptestcases.h: Remove files.
7243 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7244 not touch posix/testcases.h and posix/ptestcases.h.
7245
96cd0558
FW
72462018-11-28 Florian Weimer <fweimer@redhat.com>
7247
7248 support: Add signal support to support_capture_subprocess_check.
7249 * support/capture_subprocess.h (support_capture_subprocess_check):
7250 Adjust comment and rename parameter.
7251 * support/support_capture_subprocess_check.c
7252 (print_actual_status): New function.
7253 (support_capture_subprocess_check): Support negative
7254 status_or_signal. Call print_actual_status.
7255 * support/tst-support_capture_subprocess.c (do_test): Call
7256 support_capture_subprocess_check.
7257 * libio/tst-vtables-common.c (termination_status)
7258 (init_termination_status): Remove.
7259 (check_for_termination): Adjust support_capture_subprocess_check
7260 call.
7261 (do_test): Remove call to init_termination_status.
7262
530504e3
JM
72632018-11-28 Joseph Myers <joseph@codesourcery.com>
7264
7265 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7266 source directory instead of a copy.
7267 (CommandList.create_copy_dir): Remove.
7268
9a0b6970
SL
72692018-11-28 Stefan Liebler <stli@linux.ibm.com>
7270
7271 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7272
47d8d9a2
FW
72732018-11-28 Florian Weimer <fweimer@redhat.com>
7274
7275 * support/support.h (support_quote_string): Do not use str
7276 parameter name.
7277
b473b7d8
JM
72782018-11-27 Joseph Myers <joseph@codesourcery.com>
7279
7280 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7281 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7282
c74a91de
FW
72832018-11-27 Florian Weimer <fweimer@redhat.com>
7284
7285 * support/support.h (support_quote_string): Declare.
7286 * support/support_quote_string.c: New file.
7287 * support/tst-support_quote_string.c: Likewise.
7288 * support/Makefile (libsupport-routines): Add
7289 support_quote_string.
7290 (tests): Add tst-support_quote_string.
7291
d527c860
FW
72922018-11-27 Florian Weimer <fweimer@redhat.com>
7293
7294 [BZ #23927]
7295 CVE-2018-19591
7296 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7297 descriptor leak in case of ENODEV error.
7298
979cfed0
RÁE
72992018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7300
7301 [BZ #19767]
7302 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7303 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7304 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7305
ce035c6e
CD
73062018-11-26 Carlos O'Donell <carlos@redhat.com>
7307
7308 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7309 Error for unknown lines.
7310
2bd0bfcc
JM
73112018-11-26 Joseph Myers <joseph@codesourcery.com>
7312
7313 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7314 Touch additional files.
7315
affec03b
FW
73162018-11-26 Florian Weimer <fweimer@redhat.com>
7317
7318 [BZ #23907]
7319 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7320 double-frees.
7321
8ae74ead
RÁE
73222018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7323
7324 [BZ #19767]
7325 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7326 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7327 SHARED. Include sysdep.h.
7328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7329 ALWAYS_USE_VSYSCALL.
7330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7331 ALWAYS_USE_VSYSCALL.
7332
1e8bdc3a
RÁE
73332018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7334
7335 [BZ #19767]
7336 * nptl/Makefile (tests-static): Add tst-cond11-static.
7337 (tests): Likewise.
7338 * nptl/tst-cond11-static.c: New File.
7339 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7340 tst-affinity-static.
7341 (tests): Likewise.
7342 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7343 instead of SHARED.
7344 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7345 (USE_VSYSCALL): Likewise.
7346 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7347 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7348 instead of SHARED.
7349 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7350 SHARED.
7351 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7352 New.
7353
1283c478
JM
73542018-11-23 Joseph Myers <joseph@codesourcery.com>
7355
7356 [BZ #23915]
7357 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7358 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7359 Undefine.
7360
c089fd80
L
73612018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7362
7363 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7364 (tst-cet-legacy-1a-ARGS): New.
7365 ($(objpfx)tst-cet-legacy-1a): New target.
7366 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7367
cc6c89fa
JM
73682018-11-22 Joseph Myers <joseph@codesourcery.com>
7369
95edd05c
JM
7370 * conform/conformtest.py (CompileSubTest.__init__): Set
7371 self.run_early to False.
7372 (ExecuteSubTest.__init__): Likewise.
7373 (HeaderTests.run): Try running all non-optional, non-XFAILed
7374 compilation tests in a single execution of the compiler.
7375
cc6c89fa
JM
7376 * conform/conformtest.py (CompileSubTest): New class.
7377 (ExecuteSubTest): Likewise.
7378 (ElementTest.run): Rename to gen_subtests. Append tests to
7379 self.subtests instead of running them.
7380 (ConstantTest.run): Likewise.
7381 (SymbolTest.run): Likewise.
7382 (TypeTest.run): Likewise.
7383 (TagTest.run): Likewise.
7384 (FunctionTest.run): Likewise.
7385 (VariableTest.run): Likewise.
7386 (MacroFunctionTest.run): Likewise.
7387 (MacroStrTest.run): Likewise.
7388 (HeaderTests.handle_test_line): Generate subtests for tests.
7389 (HeaderTests.run): Run subtests for tests.
7390
a502c529
SN
73912018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7392
7393 * math/Versions (GLIBC_2.29): Add pow.
7394 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7395 symbol.
7396 * math/w_pow.c: New file.
7397 * sysdeps/i386/fpu/w_pow.c: New file.
7398 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7399 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7400 and add necessary aliases.
7401 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7402 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7403 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7404 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7405 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7406 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7407 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7408 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7409 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7410 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7411 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7412 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7413 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7414 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7415 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7420 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7421 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7422 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7423 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7424 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7425 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7426 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7427 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7428 __pow.
7429 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7430 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7431 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7432
718d6542
SN
74332018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7434
7435 * math/Versions (GLIBC_2.29): Add log2.
7436 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7437 symbol.
7438 * math/w_log2.c: New file.
7439 * sysdeps/i386/fpu/w_log2.c: New file.
7440 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7441 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7442 and add necessary aliases.
7443 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7444 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7445 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7446 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7447 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7448 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7449 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7450 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7451 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7452 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7453 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7454 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7455 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7456 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7457 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7462 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7463 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7464 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7465 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7466 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7467 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7468 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7469
f29b7c49
SN
74702018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7471
7472 * math/Versions (GLIBC_2.29): Add log.
7473 * math/w_log_compat.c (__log_compat): Change to versioned compat
7474 symbol.
7475 * math/w_log.c: New file.
7476 * sysdeps/i386/fpu/w_log.c: New file.
7477 * sysdeps/ia64/fpu/e_log.S: Update.
7478 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7479 and add necessary aliases.
7480 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7481 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7482 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7483 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7484 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7485 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7486 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7487 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7488 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7489 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7490 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7491 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7492 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7493 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7494 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7499 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7500 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7501 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7502 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7503 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7504 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7505 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7506 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7507 __log.
7508 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7509 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7510 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7511 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7512
c20a1056
SN
75132018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7514
7515 * math/Versions (GLIBC_2.29): Add exp and exp2.
7516 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7517 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7518 * math/w_exp_compat.c (__exp_compat): Likewise.
7519 * math/w_exp.c: New file.
7520 * math/w_exp2.c: New file.
7521 * sysdeps/i386/fpu/w_exp.c: New file.
7522 * sysdeps/i386/fpu/w_exp2.c: New file.
7523 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7524 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7525 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7526 and add necessary aliases.
7527 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7528 and add necessary aliases.
7529 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7530 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7531 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7532 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7533 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7534 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7535 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7536 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7537 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7538 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7539 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7540 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7541 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7542 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7543 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7544 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7545 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7550 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7551 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7552 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7553 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7554 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7555 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7556 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7557 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7558 (__ieee754_exp): Rename to __exp.
7559 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7560 (__ieee754_exp): Rename to __exp.
7561 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7562 (__ieee754_exp): Rename to __exp.
7563 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7564 __exp.
7565 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7566
bcdaad21
DD
75672018-11-20 DJ Delorie <dj@redhat.com>
7568
7569 * malloc/malloc.c (tcache_entry): Add key field.
7570 (tcache_put): Set it.
7571 (tcache_get): Likewise.
7572 (_int_free): Check for double free in tcache.
7573 * malloc/tst-tcfree1.c: New.
7574 * malloc/tst-tcfree2.c: New.
7575 * malloc/Makefile: Run the new tests.
7576 * manual/probes.texi: Document memory_tcache_double_free probe.
7577
7578 * dlfcn/dlerror.c (check_free): Prevent double frees.
7579
5770c0ad
WD
75802018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7581
7582 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7583
9a62a939
JM
75842018-11-20 Joseph Myers <joseph@codesourcery.com>
7585
7586 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7587 in tests. Use names for format arguments.
7588 (ConstantTest.run): Likewise.
7589 (SymbolTest.run): Likewise.
7590 (TypeTest.run): Likewise.
7591 (TagTest.run): Likewise.
7592 (FunctionTest.run): Likewise.
7593 (VariableTest.run): Likewise.
7594 (MacroFunctionTest.run): Likewise.
7595 (MacroStrTest.run): Likewise.
7596 (HeaderTests.__init__): Set self.num_tests.
7597 (HeaderTests.handle_test_line): Set test.num. Increment
7598 self.num_tests.
7599
b15b1a95
ST
76002018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7601
7602 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7603 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7604 SEEK_SET.
7605
0c7f97ae
MH
76062018-11-19 Mao Han <han_mao@c-sky.com>
7607
7608 * scripts/config.guess: Update to version 2018-08-29.
7609 * scripts/config.sub: Update to version 2018-08-29.
7610
35e3fbc4
FW
76112018-11-19 Florian Weimer <fweimer@redhat.com>
7612
7613 support: Print timestamps in timeout handler.
7614 * support/support_test_main.c (print_timestamp): New function.
7615 (signal_handler): Use it to print the termination time and the
7616 time of the last write to standard output.
7617
c75772e3
ZW
76182018-11-16 Zack Weinberg <zackw@panix.com>
7619 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7620
7621 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7622 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7623 argument.
7624 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7625 and add flags argument. Check flags instead of __ldbl_is_dbl when
7626 deciding whether to set is_long_double.
7627 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7628 passing zero for flags argument.
7629 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7630
7631 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7632 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7633 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7634 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7635 variable names. Remove libc_hidden_def/libc_hidden_proto from
7636 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7637 longer called from within the library.
7638 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7639 for __nldbl___vstrfmon_l, declare it explicitly.
7640
7641 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7642
346ef23f
ST
76432018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7644
7645 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7646 macros
7647 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7648 F_SETLK64, F_SETLKW64, respectively.
7649 * sysdeps/mach/hurd/f_setlk.c: New file.
7650 * sysdeps/mach/hurd/f_setlk.h: New file.
7651 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7652 f_setlk.
7653 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7654 (__libc_fcntl): Move non-flock operations to...
7655 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7656 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7657
de20b81a
PE
76582018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7659
5d8af156
PE
7660 mktime: DEBUG_MKTIME cleanup
7661 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7662 And it’s no longer needed now that glibc and Gnulib both have
7663 their own testing mechanisms for mktime.
7664 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7665
86aece3b
PE
7666 mktime: fix non-EOVERFLOW errno handling
7667 [BZ#23789]
7668 mktime was not properly reporting failures when the underlying
7669 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7670 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7671 The problem could happen on non-glibc platforms, with Gnulib.
7672 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7673 (tm_diff): ... this simpler function, which does not change errno.
7674 All callers changed to deal with errno themselves.
7675 (ranged_convert, __mktime_internal): Return failure immediately if
7676 the underlying function reports any failure other than EOVERFLOW.
7677 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7678 gap code fails.
7679
f6b3331b
PE
7680 mktime: fix bug with Y2038 DST transition
7681 [BZ#23789]
7682 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7683 mishandle a DST transition that jumps over the Y2038 boundary.
7684 No such DST transitions are known so this is only a theoretical
7685 bug, but we might as well do things right.
7686
efbdddc3
PE
7687 mktime: make more room for overflow
7688 [BZ#23789]
7689 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7690 This is so that we can add tm_diff results to a previous guess,
7691 which will be useful in a later patch.
7692
6c90d759
PE
7693 mktime: simplify offset guess
7694 [BZ#23789]
7695 * time/mktime.c (__mktime_internal): Omit excess precision.
7696
32c12f3f
PE
7697 mktime: new test for mktime failure
7698 [BZ#23789]
7699 Based on a test suggested by Albert Aribaud in:
7700 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7701 * time/Makefile (tests): Add bug-mktime4.
7702 * time/bug-mktime4.c: New file.
7703
de20b81a
PE
7704 mktime: fix EOVERFLOW bug
7705 [BZ#23789]
7706 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7707 Include libc-config.h, not config.h, for __set_errno.
7708 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7709
8c6c3fb0
ST
77102018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7711
7712 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7713 __attribute_copy__ to copy attributes from name. Drop static qualifier
7714 to avoid warnings about leaf attribute not having effect on static
7715 functions.
7716
6923f6db
FW
77172018-11-13 Florian Weimer <fweimer@redhat.com>
7718
7719 * malloc/malloc.c (fastbin_push_entry): New function.
7720 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7721 (REMOVE_FB): Remove macro.
7722 (_int_malloc): Use fastbin_pop_entry and reindent.
7723 (_int_free): Use fastbin_push_entry.
7724 (malloc_consolidate): Use atomic_exchange_acquire.
7725
53f5c659
JM
77262018-11-13 Joseph Myers <joseph@codesourcery.com>
7727
0c096dcf
JM
7728 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7729 alias attribute, not with strong_alias.
7730
9c4b457e
JM
7731 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7732 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7733 with additional parameter thread.
7734 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7735 in terms of __hidden_ver2.
7736 (hidden_tls_def): New macro.
7737 (libc_hidden_tls_def): Likewise.
7738 (rtld_hidden_tls_def): Likewise.
7739 (libm_hidden_tls_def): Likewise.
7740 (libmvec_hidden_tls_def): Likewise.
7741 (libresolv_hidden_tls_def): Likewise.
7742 (librt_hidden_tls_def): Likewise.
7743 (libdl_hidden_tls_def): Likewise.
7744 (libnss_files_hidden_tls_def): Likewise.
7745 (libnsl_hidden_tls_def): Likewise.
7746 (libnss_nisplus_hidden_tls_def): Likewise.
7747 (libutil_hidden_tls_def): Likewise.
7748 (libutil_hidden_tls_def): Likweise.
7749 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7750 libc_hidden_tls_def.
7751 (__sim_disabled_exceptions_thread): Likewise.
7752 (__sim_round_mode_thread): Likewise.
7753
53f5c659
JM
7754 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7755 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7756 copy attributes from name.
7757
092dfde6
JM
77582018-11-12 Joseph Myers <joseph@codesourcery.com>
7759
f578f97b
JM
7760 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7761 Use __attribute_copy__ to copy attributes from name.
7762
9a7c643a
JM
7763 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7764 with __hidden_ver1 call.
7765 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7766 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7767 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7768 (__cosf): Do not declare here.
7769 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7770 (__sincosf): Do not declare here.
7771 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7772 (__sinf): Do not declare here.
7773
092dfde6
JM
7774 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7775 (__BIG_ENDIAN): Likewise.
7776 (__BYTE_ORDER): Likewise.
7777 (strong_alias): Likewise.
7778 (_strong_alias): Likewise.
7779
1ecba1fa
FW
77802018-11-12 Florian Weimer <fweimer@redhat.com>
7781
7782 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7783 function. Move after the definition of in_smallbin_range. Do not
7784 use __builtin_expect for paths that lead to a noreturn function.
7785 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7786 because it is unclear whether this is in fact an unlikely
7787 condition.
7788 (_int_malloc, _int_free): Adjust.
7789 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7790 variables.
7791 * malloc/arena.c (heap_trim): Likewise.
7792
434c34bd
ST
77932018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7794
7795 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7796 it, free it if needed.
7797 (reauthenticate): Test and use ccwdir.
7798 (child_init_port): In non-resetids case, test and use ccwdir.
7799 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
7800 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7801 * hurd/hurd/port.h (_hurd_port_move): New function.
7802 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7803 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
7804 * hurd/Versions (_hurd_port_move): Export function.
7805 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7806 symbol.
58bb655a
ST
7807 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7808 of dtablesize for allocating dtable_cloexec.
434c34bd 7809
1626a1cf
MS
78102018-11-09 Martin Sebor <msebor@redhat.com>
7811
7812 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7813 it's already defined.
7814 (_strong_alias): Use __attribute_copy__.
7815 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7816 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7817 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7818 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7819 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7820 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7821 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7822 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7823 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7824 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7825 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7826 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7827 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7828 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7829 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7830 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7831 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7832 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7833 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7834
968ed530
GG
78352018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7836
7837 * misc/tst-efgcvt.c: Include support/check.h and
7838 support/test-driver.c. Do not include test-skeleton.c.
7839 (error_count): Remove.
7840 (output_error): Replace increments to error_count with calls to
7841 support_record_failure.
7842 (output_r_error): Likewise.
7843 (special): Likewise.
7844 (do_test): Unconditionally return zero.
7845 (TEST_FUNCTION): Remove.
7846
c3ec0972
JM
78472018-11-09 Joseph Myers <joseph@codesourcery.com>
7848
91faaa93
JM
7849 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7850 not $(@D)/scratch.
7851 ($(linknamespace-header-tests)): Likewise.
7852
c3ec0972
JM
7853 * conform/conformtest.py: New file.
7854 * conform/conformtest.pl: Remove.
7855 * conform/GlibcConform.pm: Likewise.
7856 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7857 (KEYWORDS_C99): Likewise.
7858 (KEYWORDS): Likewise.
7859 * conform/Makefile ($(conformtest-header-tests)): Use
7860 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7861 option. Use --header instead of --headers.
7862 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7863 function entries.
7864 * conform/data/spawn.h-data: Likewise.
7865 * conform/data/fcntl.h-data (openat): Add space after function
7866 name.
7867 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7868 (wcscasecmp_l): Likewise.
7869 * conform/data/termios.h-data (c_cc): Add space after element
7870 name.
7871
43257c33
GG
78722018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7873
7874 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7875 instead of manually comparing and reporting mismatching strings.
7876 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7877 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7878
e5de3b5b
JM
78792018-11-08 Joseph Myers <joseph@codesourcery.com>
7880
7881 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7882 __ASSUME_SOCKETCALL.
7883 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7884 (__ASSUME_SOCKETCALL): Remove.
7885 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7886 (__ASSUME_SOCKETCALL): Likewise.
7887 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7888 (__ASSUME_SOCKETCALL): Likewise.
7889 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7890 (__ASSUME_SOCKETCALL): Likewise.
7891 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7892 (__ASSUME_SOCKETCALL): Likewise.
7893 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7894 (__ASSUME_SOCKETCALL): Likewise.
7895 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7896 (__ASSUME_SOCKETCALL): Likewise.
7897
d524fa6c
L
78982018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7899
7900 [BZ #23509]
7901 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7902 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7903 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7904 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7905 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7906 lc_unknown.
7907
ac806026
AH
79082018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7909
7910 [BZ #17630]
7911 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7912
596cc360
JM
79132018-11-07 Joseph Myers <joseph@codesourcery.com>
7914
7915 [BZ #23867]
7916 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7917 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7918 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7919 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7920
00c86a37
AZ
79212018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7922
7923 * support/support_test_compare_string.c
7924 (support_test_compare_string): Fix printf format.
7925
1df872fd
FW
79262018-11-07 Florian Weimer <fweimer@redhat.com>
7927
7928 Implement TEST_COMPARE_STRING.
7929 * support/check.h (TEST_COMPARE_STRING): Define.
7930 (support_test_compare_string): Declare.
7931 * support/Makefile (libsupport-routines): Add
7932 support_test_compare_string.
7933 (tests): Add tst-test_compare_string.
7934 * support/support_test_compare_string.c: New file.
7935 * support/tst-test_compare_string.c: Likewise.
7936
295132ff
AS
79372018-11-07 Andreas Schwab <schwab@suse.de>
7938
7939 [BZ #23864]
7940 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7941 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7942 Undef.
7943
e143ceba
JM
79442018-11-06 Joseph Myers <joseph@codesourcery.com>
7945
7946 [BZ #23862]
7947 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7948 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7949 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7950 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7951 Likewise.
7952
4a938cb2
FW
79532018-11-06 Florian Weimer <fweimer@redhat.com>
7954
7955 [BZ #17405]
7956 * posix/Makefile (routines): Add spawn_faction_addchdir.
7957 (tests): Add tst-spawn-chdir.
7958 * posix/Versions (GLIBC_2.29): Add
7959 posix_spawn_file_actions_addchdir_np.
7960 * posix/spawn_faction_addchdir.c: New file.
7961 * posix/spawn_faction_destroy.c
7962 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7963 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7964 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7965 chdir_action.
7966 * posix/tst-spawn-chdir.c: New file.
7967 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7968 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7969 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7970 posix_spawn_file_actions_addchdir_np.
7971 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7972 Likewise.
7973 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7974 Likewise.
7975 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7976 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7977 Likewise.
7978 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7979 Likewise.
7980 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7981 Likewise.
7982 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7983 Likewise.
7984 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7985 Likewise.
7986 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7987 Likewise.
7988 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7989 (GLIBC_2.29): Likewise.
7990 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7991 (GLIBC_2.29): Likewise.
7992 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7993 (GLIBC_2.29): Likewise.
7994 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7995 (GLIBC_2.29): Likewise.
7996 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7997 Likewise.
7998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7999 (GLIBC_2.29): Likewise.
8000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8001 (GLIBC_2.29): Likewise.
8002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8003 (GLIBC_2.29): Likewise.
8004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8005 (GLIBC_2.29): Likewise.
8006 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8007 Likewise.
8008 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8009 Likewise.
8010 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8011 Likewise.
8012 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8013 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8014 Likewise.
8015 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8016 Likewise.
8017 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8018 Likewise.
8019 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8020 Likewise.
8021
7597b0c7
GG
80222018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8023
8024 * misc/Makefile (tests): Add tst-ldbl-error.
8025 * misc/tst-ldbl-error.c: New file.
8026
9771e6cb
GG
80272018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8028
8029 * misc/Makefile (tests): Add tst-ldbl-warn.
8030 * misc/tst-ldbl-warn.c: New file.
8031
2c03961f
GG
80322018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8033
8034 * argp/Makefile (tests): Add tst-ldbl-argp.
8035 * argp/tst-ldbl-argp.c: New file.
8036
6d6ee046
AS
80372018-11-05 Arjun Shankar <arjun@redhat.com>
8038
8039 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8040 __gconv_path_elem and call __gconv_get_path unconditionally.
8041
bd3b0fba
AS
80422018-11-05 Andreas Schwab <schwab@suse.de>
8043
8044 [BZ #22927]
8045 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8046 creating the first helper thread failed.
8047
2e96e980
ST
80482018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8049
8050 * sysdeps/mach/hurd/msync.c: New file.
8051
6e36266c
FW
80522018-11-02 Florian Weimer <fweimer@redhat.com>
8053
8054 * support/shell-container.c (copy_func): Call
8055 support_copy_file_range instead of copy_file_range to support
8056 cross-device copies.
8057
599f7bee
FW
80582018-11-02 Florian Weimer <fweimer@redhat.com>
8059
8060 * support/test-container.c: Include <libc-pointer-arith.h> for
8061 ALIGN_UP.
8062
ff48ea67
ZL
80632018-11-01 Zong Li <zong@andestech.com>
8064
af1d5782
ZL
8065 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8066 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8067 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8068 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8069
ff48ea67
ZL
8070 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8071 variable to avoid overlap arguments.
8072
daea71c2
JM
80732018-11-01 Joseph Myers <joseph@codesourcery.com>
8074
eac4405a
JM
8075 * posix/bug-regex22.c (main): Use puts with distinct error
8076 messages for unexpected success of re_compile_pattern, not printf
8077 with NULL argument to %s.
8078
6f30e59f
JM
8079 * stdio-common/bug22.c: Include <libc-diag.h>.
8080 (do_test): Disable -Wformat-overflow= warnings around fprintf
8081 calls outputting more than INT_MAX characters.
8082 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8083 around printf call with NULL %s argument.
8084
daea71c2
JM
8085 [BZ #23848]
8086 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8087 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8088 Undefine.
8089 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8090 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8091 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8092 (__ASSUME_SENDTO_SYSCALL): Likewise.
8093 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8094 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8095 [!__arch64__].
8096 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8097 (__ASSUME_CONNECT_SYSCALL): Likewise.
8098 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8099 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8100 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8101 Define.
8102 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8103 Likewise.
8104 [__LINUX_KERNEL_VERSION >= 0x040400]
8105 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8106 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8107 Remove.
8108 (listen): Likewise.
8109 (setsockopt): Likewise.
8110
8e3c00db
FN
81112018-11-01 Fredrik Noring <noring@nocrew.org>
8112
8113 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8114 with the ISA override.
8115
9c3dbdbe
RAE
81162018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8117
8118 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8119 #endif.
8120
e3a88b3e
ST
81212018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8122
a67377e7 8123 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 8124 translate the error message.
a67377e7
ST
8125 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8126 printing trailing whitespaces refused by git.
8127 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8128 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 8129 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 8130
3ca235ed
JM
81312018-10-30 Joseph Myers <joseph@codesourcery.com>
8132
8133 * conform/linknamespace.py: New file.
8134 * conform/linknamespace.pl: Remove file.
8135 * conform/Makefile ($(linknamespace-header-tests)): Use
8136 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8137 option.
8138
60708030
FW
81392018-10-30 Florian Weimer <fweimer@redhat.com>
8140
8141 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8142 memory leaks.
8143
a91e9301
FW
81442018-10-30 Florian Weimer <fweimer@redhat.com>
8145
8146 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8147
07da99aa
FW
81482018-10-30 Florian Weimer <fweimer@redhat.com>
8149
8150 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8151 support_blob_repeat.
8152
f5e7e959
FW
81532018-10-30 Florian Weimer <fweimer@redhat.com>
8154
8155 Avoid spurious test failures in stdlib/test-bz22786.
8156 * support/Makefile (libsupport-routines): Add blob_repeat.
8157 (tests): Add tst-support_blob_repeat.
8158 * support/blob_repeat.h: New file.
8159 * support/blob_repeat.c: Likewise.
8160 * support/tst-support_blob_repeat.c: Likewise.
8161 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8162 support_blob_repeat_allocate.
8163
2dd12baa
AS
81642018-10-30 Andreas Schwab <schwab@suse.de>
8165
8166 [BZ #23125]
8167 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8168 Don't use tail call.
8169 * elf/tst-unwind-main.c: New file.
8170 * elf/Makefile (tests): Add tst-unwind-main.
8171 (CFLAGS-tst-unwind-main.c): Define.
8172
6b5c8607 81732018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
8174
8175 [BZ #23791]
8176 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8177 n_cs_precedes to 0.
8178 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8179
c6982f7e
JM
81802018-10-29 Joseph Myers <joseph@codesourcery.com>
8181
954cf3c2
JM
8182 * conform/glibcconform.py: Do not import shutil.
8183 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8184 of mkdtemp.
8185
c6982f7e
JM
8186 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8187 critic_missing for versions before 3.4.
8188 * configure: Regenerated.
8189 * manual/install.texi (Tools for Compilation): Document
8190 requirement for Python to build glibc.
8191 * INSTALL: Regenerated.
8192 * Rules [PYTHON]: Make code unconditional.
8193 * benchtests/Makefile [PYTHON]: Likewise.
8194 * conform/Makefile [PYTHON]: Likewise.
8195 * manual/Makefile [PYTHON]: Likewise.
8196 * math/Makefile [PYTHON]: Likewise.
8197
46a7f24c
ST
81982018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8199
8200 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 8201 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 8202 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
8203 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8204 _hurd_intr_rpc_msg_about_to global point to start of controlled
8205 assembly snippet. Make it check canceled flag.
8206 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8207 the _hurd_intr_rpc_msg_about_to point.
8208 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8209 issue, remove cancel flag check.
46a7f24c 8210
e5b8756d
JM
82112018-10-26 Joseph Myers <joseph@codesourcery.com>
8212
8213 * scripts/build-many-glibcs.py: Remove compatibility for missing
8214 os.cpu_count and re.fullmatch.
8215
ba5b14c7
SN
82162018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8217
8218 [BZ #23822]
8219 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8220 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8221 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8222
fe61f17c
JM
82232018-10-25 Joseph Myers <joseph@codesourcery.com>
8224
8225 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8226 macro.
8227
7c5e34d7
FW
82282018-10-25 Florian Weimer <fweimer@redhat.com>
8229
8230 [BZ #23562]
8231 [BZ #23821]
8232 XFAIL siginfo_t si_band conform test on sparc64.
8233 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8234 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8235 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8236 (conformtest-xfail-conds): Add sparc64-linux.
8237 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8238 sparc64.
8239 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8240
5b784e88
JM
82412018-10-25 Joseph Myers <joseph@codesourcery.com>
8242
8243 * elf/elf.h (NT_MIPS_DSP): New macro.
8244 (NT_MIPS_FP_MODE): Likewise.
8245
41432ebe
ZL
82462018-10-25 Zong Li <zong@andestech.com>
8247
8248 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8249 name by adding the file extension (.so).
8250
d026efea
ST
82512018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8252
8253 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8254 (test-xfail-ISO11/threads.h/linknamespace,
8255 test-xfail-ISO11/threads.h/conform): Add.
8256
b71ac2b9
JM
82572018-10-24 Joseph Myers <joseph@codesourcery.com>
8258
8259 * math/gen-libm-test.py: Import os.
8260 (ALL_FLOATS_MANUAL): New constant.
8261 (ALL_FLOATS_SUFFIX): Likewise.
8262 (Ulps.all_functions): New function.
8263 (real_all_ulps): Likewise.
8264 (generate_err_table_sub): Likewise.
8265 (generate_err_table): Likewise.
8266 (main): Handle -s and -m options.
8267 * manual/libm-err-tab.pl: Remove.
8268 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8269 instead of libm-err-tab.pl.
8270 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8271 != no].
8272 * manual/install.texi (Tools for Compilation): Document
8273 requirement for Python to build manual.
8274 * INSTALL: Regenerated.
8275
6b5c8607 82762018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
8277
8278 * bits/time64.h: New file.
8279 * include/time.h: Replace internal_time_t with __time64_t.
8280 * posix/bits/types (__time64_t): Add.
8281 * stdlib/Makefile: Add bits/time64.h to includes.
8282 * time/tzfile.c: Replace internal_time_t with __time64_t.
8283
97d91fcc 82842018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
8285
8286 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8287 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8288 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8289 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8290 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8291 prototype.
8292 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8293 * posix/spawn_faction_addclose.c
8294 (__posix_spawn_file_actions_addclose): Add hidden definition.
8295 * posix/spawn_faction_adddup2.c
8296 (__posix_spawn_file_actions_adddup2): Likewise.
8297 * posix/spawn_faction_destroy.c
8298 (__posix_spawn_file_actions_destroy): Likewise.
8299 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8300 Likewise.
8301 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8302 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8303 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8304 Likewise.
8305 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8306 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8307 Likewise.
8308
2954daf0
AS
83092018-10-24 Andreas Schwab <schwab@suse.de>
8310
8311 [BZ #18093]
8312 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8313 format cache.
8314 * elf/cache.c (print_cache): Likewise.
8315
6b5c8607 83162018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
8317
8318 * bits/timesize.h: New file.
8319 * stdlib/Makefile (headers): Add bits/timesize.h.
8320 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8321 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8322 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8323 (__SEM_PAD_AFTER_TIME): Likewise.
8324 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8325 (__SHM_PAD_AFTER_TIME): Likewise.
8326 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8327 (__MSQ_PAD_BEFORE_TIME): Likewise.
8328 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8329 (__SEM_PAD_BEFORE_TIME): Likewise.
8330 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8331 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8332 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
8333 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8334 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8335 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
8336 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8337 (__SEM_PAD_BEFORE_TIME): Likewise.
8338 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8339 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8340 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8341 (__MSQ_PAD_BEFORE_TIME): Likewise.
8342 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8343 (__SEM_PAD_BEFORE_TIME): Likewise.
8344 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8345 (__SHM_PAD_BEFORE_TIME): Likewise.
8346 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8347 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8348 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8349
7cc65773
L
83502018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8351
8352 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8353 USE_RDTSCP is defined.
8354 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8355 USE_RDTSCP is defined.
8356
c3d8dc45
AZ
83572018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8358
18ad0de6
AZ
8359 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8360 defined.
8361
c3d8dc45
AZ
8362 [BZ #23709]
8363 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8364 independently of other flags.
8365
f1034472
FW
83662018-10-23 Florian Weimer <fweimer@redhat.com>
8367
8368 * time/tst-mktime2.c (N_STRINGS): Remove.
8369 (set_timezone): New function.
8370 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8371 (mktime_test1): Report localtime failure and check errno value.
8372 Use TEST_COMPARE.
8373 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8374 (do_test): Remove alarm call. Use set_timezone and array_length.
8375
367d7cc2
AS
83762018-10-23 Andreas Schwab <schwab@suse.de>
8377
8378 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8379 (__start_context): Use END instead of PSEUDO_END.
8380
be8ff03f
JM
83812018-10-22 Joseph Myers <joseph@codesourcery.com>
8382
029ad711
JM
8383 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8384 version to 4.19.
8385
8190520f
JM
8386 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8387 version to 4.19.
8388
be8ff03f
JM
8389 [BZ #23793]
8390 * wcsmbs/c32rtomb.c: New file.
8391 * wcsmbs/mbrtoc32.c: Likewise.
8392 * wcsmbs/tst-c32-state.c: Likewise.
8393 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8394 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8395 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8396 (tests): Add tst-c32-state.
8397 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8398 $(gen-locales).
8399
2dd8e58c
L
84002018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8401
8402 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8403 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8404
d0a74159
JM
84052018-10-19 Joseph Myers <joseph@codesourcery.com>
8406
8407 [BZ #23794]
8408 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8409 pair and return 0 in that case, and use saved character to
8410 interpret following character.
8411 * wcsmbs/tst-c16-surrogate.c: New file.
8412 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8413 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8414 Depend on $(gen-locales)
8415
f997b4be
IYM
84162018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8417
8418 [BZ #23562]
8419 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8420 (struct siginfo_t): Use correct type for si_band.
8421
53b2bb87
FW
84222018-10-19 Florian Weimer <fweimer@redhat.com>
8423
8424 [BZ #23689]
8425 * resource/bits/types/struct_rusage.h (struct rusage): Update
8426 comment on struct. Remove extraneous field comment.
8427
0a271c8f
DM
84282018-10-18 David S. Miller <davem@davemloft.net>
8429
94a3a27f
DM
8430 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8431 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8432 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8433 sysdep_routines in subdir elf.
8434 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8435 version for __vdso_clock_gettime.
8436 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8437 Define.
8438 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8439 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8440
0a271c8f
DM
8441 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8442
72771e53
L
84432018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8444
8445 * sysdeps/i386/init-arch.h: Removed.
8446 * sysdeps/i386/i586/init-arch.h: Likewise.
8447 * sysdeps/i386/i686/init-arch.h: Likewise.
8448 * sysdeps/i386/i686/hp-timing.h: Likewise.
8449 * sysdeps/x86_64/hp-timing.h: Likewise.
8450 * sysdeps/i386/isa.h: New file.
8451 * sysdeps/i386/i586/isa.h: Likewise.
8452 * sysdeps/i386/i686/isa.h: Likewise.
8453 * sysdeps/x86_64/isa.h: Likewise.
8454 * sysdeps/x86/hp-timing.h: New file.
8455 * sysdeps/x86/init-arch.h: Include <isa.h>.
8456
c2b7ccad
JM
84572018-10-17 Joseph Myers <joseph@codesourcery.com>
8458
8459 * math/libm-test-pow.inc (pow_test_data): Do not allow
8460 divide-by-zero exception for pow(+/- 0, -Inf).
8461
26756e57
ZW
84622018-10-17 Zack Weinberg <zackw@panix.com>
8463
8464 * manual/job.texi (Job Control is Optional): Remove node, as
8465 job control has not been optional in quite some time.
8466 (Job Control): Mention briefly that systems older than
8467 POSIX.1-2001 might not support job control.
8468 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8469 defined on systems conforming to POSIX.1-2001.
8470
c5288d37
AS
84712018-10-17 Arjun Shankar <arjun@redhat.com>
8472
8473 [BZ #22062]
8474 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8475 indentation.
8476 * (__gconv_read_conf): Mark function static.
8477 * (once): New static variable.
8478 * (__gconv_load_conf): New function.
8479 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8480 * iconv/gconv_db.c (once): Remove static variable.
8481 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8482 __gconv_read_conf.
8483 * (__gconv_find_transform): Likewise.
8484 * iconv/tst-iconv-mt.c: New test.
8485 * iconv/Makefile: Add tst-iconv_mt.
8486
8c8d2a8a
JM
84872018-10-17 Joseph Myers <joseph@codesourcery.com>
8488
8489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
8490 bits/shm-pad.h.
8491 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8492 (shmatt_t): Define as __syscall_ulong_t.
8493 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8494 and [__SHM_PAD_AFTER_TIME].
8495 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8496 Define shm_segsz and associated padding based on
8497 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8498 Use __syscall_ulong_t instead of unsigned long int.
8499 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8500 unsigned long int.
8501 [__USE_MISC] (struct shm_info): Likewise.
8502 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8503 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8504 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8505 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8506 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8507 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8508 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8509 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8510 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8511 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8512 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8513
8514 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
8515 bits/shmlba.h.
8516 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8517 (SHMLBA): Remove macro.
8518 (__getpagesize): Remove function declaration.
8519 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8520 <bits/shmlba.h>.
8521 (SHMLBA): Remove macro.
8522 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8523 <bits/shmlba.h>.
8524 (SHMLBA): Remove macro.
8525 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8526 <bits/shmlba.h>.
8527 (SHMLBA): Remove macro.
8528 (__getpagesize): Remove function declaration.
8529 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8530 <bits/shmlba.h>.
8531 (SHMLBA): Remove macro.
8532 (__getshmlba): Remove function declaration.
8533 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8534 (SHMLBA): Remove macro.
8535 (__getpagesize): Remove function declaration.
8536 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8537 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8538 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8539 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8540 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8541 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8542 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8543 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8544 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8545 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8546
403b4feb
SL
85472018-10-17 Stefan Liebler <stli@linux.ibm.com>
8548
8549 [BZ #23275]
8550 * nptl/tst-mutex10.c: New File.
8551 * nptl/Makefile (tests): Add tst-mutex10.
8552 (tst-mutex10-ENV): New variable.
8553 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8554 Ensure that elision path is used if elision is available.
8555 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8556 Likewise.
8557 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8558 Likewise.
8559 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8560 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8561 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8562 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8563 Likewise.
8564 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8565 (__pthread_mutex_cond_lock_adjust): Likewise.
8566 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8567 Likewise.
8568 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8569 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8570 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8571 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8572 Add comments.
8573 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8574 Use atomic_load_relaxed and atomic_store_relaxed.
8575 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8576 Use atomic_store_relaxed.
8577
ce5a7de6
AS
85782018-10-17 Andreas Schwab <schwab@suse.de>
8579
8580 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8581 * crypt/badsalttest.c (TIMEOUT): Likewise.
8582 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8583 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8584 * io/test-lfs.c (TIMEOUT): Likewise.
8585 * libio/tst-atime.c (TIMEOUT): Likewise.
8586 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8587 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8588 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8589 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8590 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8591 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8592 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8593 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8594 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8595 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8596 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8597 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8598 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8599 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8600 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8601 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8602 * nptl/tst-once2.c (TIMEOUT): Likewise.
8603 * nptl/tst-once3.c (TIMEOUT): Likewise.
8604 * nptl/tst-once4.c (TIMEOUT): Likewise.
8605 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8606 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8607 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8608 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8609 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8610 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8611 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8612 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8613 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8614 * posix/tst-chmod.c (TIMEOUT): Likewise.
8615 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8616 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8617 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8618 * posix/tst-regex2.c (TIMEOUT): Likewise.
8619 * posix/tst-waitid.c (TIMEOUT): Likewise.
8620 * rt/tst-aio.c (TIMEOUT): Likewise.
8621 * rt/tst-aio10.c (TIMEOUT): Likewise.
8622 * rt/tst-aio4.c (TIMEOUT): Likewise.
8623 * rt/tst-aio5.c (TIMEOUT): Likewise.
8624 * rt/tst-aio6.c (TIMEOUT): Likewise.
8625 * rt/tst-aio64.c (TIMEOUT): Likewise.
8626 * rt/tst-aio7.c (TIMEOUT): Likewise.
8627 * rt/tst-aio9.c (TIMEOUT): Likewise.
8628 * rt/tst-clock.c (TIMEOUT): Likewise.
8629 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8630 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8631 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8632 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8633 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8634 * rt/tst-timer4.c (TIMEOUT): Likewise.
8635 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8636 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8637 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8638 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8639 * time/tst-ftime.c (TIMEOUT): Likewise.
8640 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8641
6b5c8607 86422018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
8643
8644 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8645 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8646 for thunderX2.
8647
bcdb1bfa
JM
86482018-10-15 Joseph Myers <joseph@codesourcery.com>
8649
8650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8651 bits/sem-pad.h.
8652 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8653 instead of <bits/wordsize.h>.
8654 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8655 and [__SEM_PAD_AFTER_TIME].
8656 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8657 __syscall_ulong_t instead of unsigned long int.
8658 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8659 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8660 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8661 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8662 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8663 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8664 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8665 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8666 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8667 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8668 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8669
f4efbdfb
PE
86702018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8671
620a5d4c
PE
8672 regex: simplify by using intprops.h
8673 [BZ#23744]
8674 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8675 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8676 intprops.h defines them.
8677
f4efbdfb
PE
8678 regex: __builtin_expect → __glibc_unlikely
8679 [BZ#23744]
8680 This refactoring was prompted by a problem when the regex code is
8681 used as part of Gnulib and when the builder’s compiler does not grok
8682 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8683 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8684 Although this refactoring does not fix the problem directly,
8685 we might as well have Gawk use the now-preferred glibc style for when
8686 __builtin_expect is unavailable.
8687 * posix/regex_internal.h (BE): Remove.
8688 All uses replaced by __glibc_unlikely or __glibc_likely.
8689
9f9feb6d
JM
86902018-10-11 Joseph Myers <joseph@codesourcery.com>
8691
8692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8693 bits/msq-pad.h.
8694 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8695 instead of <bits/wordsize.h>.
8696 (msgqnum_t): Define as __syscall_ulong_t.
8697 (msglen_t): Likewise.
8698 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8699 and [__MSQ_PAD_AFTER_TIME].
8700 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8701 __syscall_ulong_t instead of unsigned long int.
8702 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8703 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8704 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8705 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8706 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8707 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8708 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8709 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8710 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8711 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8712 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8713
b9c0f6c1
JM
87142018-10-10 Joseph Myers <joseph@codesourcery.com>
8715
2a4b25fa
JM
8716 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8717 (struct shmid_ds): Condition padding after time fields on
8718 [__WORDSIZE == 32].
8719 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8720 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8721 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8722
19e62f26
JM
8723 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8724 (struct semid_ds): Condition padding after time fields on
8725 [__WORDSIZE == 32].
8726 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8727 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8728 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8729 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8730
b9c0f6c1
JM
8731 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8732 (struct msqid_ds): Condition padding after time fields on
8733 [__WORDSIZE == 32].
8734 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8735 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8736 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8737 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8738
97785a61
SN
87392018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8740
8741 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8742
ed643089
SN
87432018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8744
8745 * libio/tst-readline.c (TIMEOUT): Define.
8746
5a580643
PE
87472018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8748
8749 mktime fix for Gnulib + coreutils
8750 [BZ#23745]
8751 This fix affects only Gnulib. Problem discovered when
8752 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8753 * time/mktime.c:
8754 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8755 Do not define since it is not used. Defining an unused static
8756 function prompts a warning from GCC when Coreutils is configured
8757 with --enable-gcc-warnings.
8758
c892ae04
LS
87592018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8760
8761 * benchtests/scripts/compare_bench.py (main): set float type on
8762 threshold argument.
8763
a68ec8ea
RL
87642018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8765
8766 [BZ #23740]
8767 * localedata/locales/kl_GL (mon): Update, the relative case.
8768 (alt_mon): Add, fill with month names in the nominative case.
8769 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8770 (d_fmt): Set to "%b %d %Y".
8771
a1987621
JM
87722018-10-04 Joseph Myers <joseph@codesourcery.com>
8773
47c49251
JM
8774 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8775 <bits/mman-linux.h>.
8776 (PROT_READ): Don't define here.
8777 (PROT_WRITE): Likewise.
8778 (PROT_EXEC): Likewise.
8779 (PROT_NONE): Likewise.
8780 (PROT_GROWSDOWN): Likewise.
8781 (PROT_GROWSUP): Likewise.
8782 (MAP_SHARED): Likewise.
8783 (MAP_PRIVATE): Likewise.
8784 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8785 [__USE_MISC] (MAP_FILE): Likewise.
8786 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8787 [__USE_MISC] (MAP_ANON): Likewise.
8788 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8789 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8790 (MCL_CURRENT): Likewise.
8791 (MCL_FUTURE): Likewise.
8792 (MCL_ONFAULT): Likewise.
8793 [__USE_MISC] (MADV_NORMAL): Likewise.
8794 [__USE_MISC] (MADV_RANDOM): Likewise.
8795 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8796 [__USE_MISC] (MADV_WILLNEED): Likewise.
8797 [__USE_MISC] (MADV_DONTNEED): Likewise.
8798 [__USE_MISC] (MADV_FREE): Likewise.
8799 [__USE_MISC] (MADV_REMOVE): Likewise.
8800 [__USE_MISC] (MADV_DONTFORK): Likewise.
8801 [__USE_MISC] (MADV_DOFORK): Likewise.
8802 [__USE_MISC] (MADV_HWPOISON): Likewise.
8803 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8804 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8805 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8806 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8807 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8808 (__MAP_ANONYMOUS): New macro.
8809 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8810 <bits/mman-linux.h> inclusion.
8811 (MAP_FIXED): Likewise.
8812 (MS_SYNC): Likewise.
8813 (MS_ASYNC): Likewise.
8814 (MS_INVALIDATE): Likewise.
8815 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8816 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8817 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8818 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8819 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8820 [__USE_MISC] (MADV_DODUMP): Likewise.
8821 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8822 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8823
a1987621
JM
8824 [BZ #23735]
8825 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8826 Define.
8827 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8828 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8829 Add test-nldbl-redirect.
8830 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8831 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8832 $(objpfx)libnldbl_nonshared.a.
8833
e7624d70
SL
88342018-10-04 Stefan Liebler <stli@linux.ibm.com>
8835
8836 * support/support.h (support_objdir_elf_ldso): New variable.
8837 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8838 * support/Makefile (CFLAGS-support_paths.c): Add definition
8839 for OBJDIR_ELF_LDSO_PATH.
8840 * support/test-container.c (main): Search for the ld.so
8841 which is also used by the testsuite.
8842
dae3ed95
RL
88432018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8844
8845 [BZ #20209]
8846 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8847 should be "sap" rather than "sab".
8848 (day): Fix spelling of Sunday, should be "sapaat" rather than
8849 "sabaat".
8850
f346b5b3
JM
88512018-10-02 Joseph Myers <joseph@codesourcery.com>
8852
8853 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8854
4a06ceea
MJ
88552018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8856
8857 [BZ #19444]
8858 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8859 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8860 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8861
a06fc4a5
AZ
88622018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8863
8864 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8865
a1ccc065
L
88662018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8867
8868 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8869 Add -mrtm.
8870 (CFLAGS-elision-unlock.c): Likewise.
8871 (CFLAGS-elision-timed.c): Likewise.
8872 (CFLAGS-elision-trylock.c): Likewise.
8873 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8874
0b727ed4
AZ
88752018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8876
8877 [BZ #21037]
8878 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8879 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8880 new fd_to_filename interface.
8881 * libio/freopen64.c (freopen64): Likewise.
8882 * libio/tst-memstream.h: New file.
8883 * libio/tst-memstream4.c: Likewise.
8884 * libio/tst-wmemstream4.c: Likewise.
8885 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8886 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8887 and remove internal dynamic allocation.
8888
d0e91e8c
JM
88892018-10-01 Joseph Myers <joseph@codesourcery.com>
8890
8891 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8892 (MREMAP_MAYMOVE): Do not define here.
8893 [__USE_GNU] (MREMAP_FIXED): Likewise.
8894 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8895 (MREMAP_MAYMOVE): Define here instead.
8896 [__USE_GNU] (MREMAP_FIXED): Likewise.
8897 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8898 (MREMAP_MAYMOVE): Remove.
8899 [__USE_GNU] (MREMAP_FIXED): Likewise.
8900
c52944e8
JM
89012018-09-28 Joseph Myers <joseph@codesourcery.com>
8902
8903 * math/fromfp.h: Do not include <math_private.h>.
8904 * math/s_cacosh_template.c: Likewise.
8905 * math/s_casin_template.c: Likewise.
8906 * math/s_casinh_template.c: Likewise.
8907 * math/s_ccos_template.c: Likewise.
8908 * math/s_cproj_template.c: Likewise.
8909 * math/s_fdim_template.c: Likewise.
8910 * math/s_fmaxmag_template.c: Likewise.
8911 * math/s_fminmag_template.c: Likewise.
8912 * math/s_iseqsig_template.c: Likewise.
8913 * math/s_ldexp_template.c: Likewise.
8914 * math/s_nextdown_template.c: Likewise.
8915 * math/w_log1p_template.c: Likewise.
8916 * math/w_scalbln_template.c: Likewise.
8917 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8918 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8919 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8920 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8921 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8922 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8923 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8924 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8925 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8926 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8927 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8928 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8929 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8930 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8931 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8932 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8933 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8935 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8936 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8937 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8938 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8939 * sysdeps/ieee754/k_standardf.c: Likewise.
8940 * sysdeps/ieee754/k_standardl.c: Likewise.
8941 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8942 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8943 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8945 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8946 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8947 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8948 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8949 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8950 * sysdeps/ieee754/s_signgam.c: Likewise.
8951 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8952 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8953 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8954 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8955 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8956 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8957 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8958 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8959 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8960 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8961 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8962 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8963 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8964 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8965 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8966 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8967 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8968 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8969 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8970 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8971 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8972 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8973 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8974 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8975 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8976 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8977 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8978 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8979 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8980 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8981 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8982 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8983 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8984 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8985 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8986 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8987 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8988 <math_private.h>.
8989 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8990
7b1f9406
L
89912018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8992
8993 [BZ #23716]
8994 * sysdeps/i386/dl-cet.c: Removed.
8995 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8996 prototype.
8997 (_dl_runtime_profile_shstk): Likewise.
8998 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8999 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9000
7a16bdbb
AZ
90012018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9002
9003 [BZ #23579]
9004 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9005 do_test_with_invalid_iov): New tests.
9006 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9007 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9008 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9009 errno is ENOSYS.
9010 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9011 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9012 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9013
9755bc46
JM
90142018-09-27 Joseph Myers <joseph@codesourcery.com>
9015
81dca813
JM
9016 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9017 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9018 (MATH_REDIRECT_BINARY_ARGS): New macro.
9019 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9020 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9021 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9022 header inclusion.
9023 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9024 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9025 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9026 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9027 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9028 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9029 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9031 Likewise.
9032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9033 Likewise.
9034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9036 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9037 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9039 Likewise.
9040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9041 Likewise.
9042 * sysdeps/generic/math_private_calls.h
9043 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9044 Do not declare and define as an inline function.
9045 * math/divtc3.c (__divtc3): Use copysign functions instead of
9046 __copysign variants.
9047 * math/multc3.c (__multc3): Likewise.
9048 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9049 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9050 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9051 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9052 Likewise.
9053 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9054 (__ieee754_yn): Likewise.
9055 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9056 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9057 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9058 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9059 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9060 (__sin): Likewise.
9061 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9062 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9063 Likewise.
9064 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9065 Likewise.
9066 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9067 Likewise.
9068 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9069 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9070 Likewise.
9071 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9072 (__ieee754_ynf): Likewise.
9073 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9074 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9075 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9076 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9077 Likewise.
9078 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9079 (__ieee754_ynl): Likewise.
9080 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9081 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9082 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9083 Likewise.
9084 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9085 (__ieee754_ynl): Likewise.
9086 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9087 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9088 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9089 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9090 Likewise.
9091 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9092 (__ieee754_ynl)
9093 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9094 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9095 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9096 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9097 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9098
9755bc46
JM
9099 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9100 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9101 using MATH_REDIRECT.
9102 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9103 header inclusion.
9104 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9105 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9106 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9107 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9108 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9109 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9115 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9116 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9118 (round): Redirect to __round.
9119 (__roundl): Call round instead of __round.
9120 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9121 Remove macro.
9122 [_ARCH_PWR5X] (__roundf): Likewise.
9123 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9124 functions instead of __round variants.
9125 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9126 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9127 Likewise.
9128 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9129 Likewise.
9130 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9131 Likewise.
9132 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9133 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9134 __lroundl.
9135 (__ieee754_expl): Call roundl instead of __roundl.
9136
f841c97e
AS
91372018-09-27 Andreas Schwab <schwab@suse.de>
9138
9139 [BZ #23717]
9140 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9141 (do_test): Make st1 static.
9142
6ca8284e
AS
91432018-09-26 Andreas Schwab <schwab@suse.de>
9144
9145 [BZ #23707]
9146 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9147 * elf/Makefile (tests): Add tst-unwind-ctor.
9148 (modules-names): Add tst-unwind-ctor-lib.
9149 ($(objpfx)tst-unwind-ctor): Depend on
9150 $(objpfx)tst-unwind-ctor-lib.so.
9151
61d8b5fe
JM
91522018-09-26 Joseph Myers <joseph@codesourcery.com>
9153
9154 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9155 file. Most contents moved from ....
9156 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9157 and include <bits/mman-map-flags-generic.h>.
9158 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9159 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9160 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9161 <bits/mman-map-flags-generic.h>.
9162 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9163 macros defined in <bits/mman-map-flags-generic.h>.
9164 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9165 <bits/mman-map-flags-generic.h>.
9166 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9167 defined in <bits/mman-map-flags-generic.h>.
9168
46341286
AS
91692018-09-26 Andreas Schwab <schwab@suse.de>
9170
9171 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9172 output.
9173
b5c45e83
AZ
91742018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9175 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9176 Fangrui Song <maskray@google.com>
9177
9178 [BZ #20480]
9179 * config.make.in (have-textrel_ifunc): New define.
9180 * configure.ac: Add check if linker supports textrel relocation with
9181 ifunc.
9182 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9183 tst-ifunc-textrel.
9184 (CFLAGS-tst-ifunc-textrel.c): New rule.
9185 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9186 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9187 * elf/tst-ifunc-textrel.c: New file.
9188
8ea4d2b7
JM
91892018-09-25 Joseph Myers <joseph@codesourcery.com>
9190
d62f9ec0
JM
9191 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9192 <bits/procfs-prregset.h>.
9193 (prgregset_t): Define using __prgregset_t.
9194 (prfpregset_t): Define using __prfpregset_t.
9195 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9196 (sysdep_headers): Add bits/procfs-prregset.h.
9197 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9198 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9199 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9200 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9201
d0d8eb43
JM
9202 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9203 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9204 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9205 pr_uid and pr_gid.
9206 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9207 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9208 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9209 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9210 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9211 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9212 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9213 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9214 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9215 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9216 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9217 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9218 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9219 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9220 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9221 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9222 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9223 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9224 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9225 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9226 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9227 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9228 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9229 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9230
8ea4d2b7
JM
9231 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9232 AArch64 version. Include <bits/procfs.h>.
9233 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9234 (sysdep_headers): Add bits/procfs.h.
9235 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9236 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9237 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9238 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9239 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9240 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9241 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9242 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9243 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9244 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9245 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9246 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9247 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9248 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9249 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9250 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9251 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9252
c7027166
AZ
92532018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9254
9255 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9256 Use libsupport.
9257
335a3b0a
AS
92582018-09-25 Arjun Shankar <arjun@redhat.com>
9259
9260 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9261 (__gconv_max_path_elem_len): Likewise.
9262 (__gconv_nmodules): Likewise.
9263 (__gconv_get_path): Likewise.
9264 (path_elem): Move to ...
9265 * iconv/gconv_conf.c: ... here.
9266 (__gconv_get_path): Mark function static.
9267 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9268 * iconv/gconv_open.c: ... here.
9269
462d348c
AS
92702018-09-24 Andreas Schwab <schwab@suse.de>
9271
9272 * scripts/haveversions.awk: New file.
9273 * Makerules ($(common-objpfx)Versions.def)
9274 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9275 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9276 Move rules ...
9277 * Makeconfig ($(common-objpfx)Versions.def)
9278 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9279 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9280 ... here.
9281 ($(common-objpfx)Versions.mk): New rule. Include it.
9282 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9283 Emit error if build-obsolete-nsl = yes.
9284 * manual/install.texi (Configuring and compiling): Describe
9285 --enable-obsolete-nsl as unavaiable after version 2.28.
9286 * INSTALL: Regenerate.
9287
f0458cf4
AZ
92882018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9289
9290 * NEWS: Add note about new TLE support on powerpc64le.
9291 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9292 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9293 __ununsed1.
9294 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9295 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9296 * sysdeps/powerpc/powerpc32/sysdep.h,
9297 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9298 ABORT_TRANSACTION): Remove macros.
9299 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9300 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9301 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9303 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9304 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9305 usage.
9306 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9307
434d45fd
RL
93082018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9309
9310 [BZ #10425]
9311 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9312 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9313 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9314 which is the same as in it_IT.
9315 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9316 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9317
d90c9b1a
JM
93182018-09-20 Joseph Myers <joseph@codesourcery.com>
9319
7abf97be
JM
9320 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9321 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9322 using MATH_REDIRECT.
9323 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9324 header inclusion.
9325 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9326 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9327 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9328 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9329 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9335 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9336 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9337 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9338 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9339 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9340 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9341 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9342 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9343 (ceil): Redirect to __ceil.
9344 (floor): Redirect to __floor.
9345 (trunc): Redirect to __trunc.
9346 (__truncl): Call trunc instead of __trunc.
9347 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9348 Remove macro.
9349 [_ARCH_PWR5X] (__truncf): Likewise.
9350 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9351 trunc functions instead of __trunc variants.
9352 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9353 Likewise.
9354 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9355 Likewise.
9356 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9357 Likewise.
9358 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9359 Likewise.
9360
d90c9b1a
JM
9361 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9362 [__i586__ || __pentium__].
9363 [__i486__]: Handle explicitly.
9364 (HAS_CPUID): Define to 1 if above macros are undefined.
9365 (HAS_I586): Likewise.
9366 (HAS_I686): Likewise.
9367
db9a8ad4
FW
93682018-09-20 Florian Weimer <fweimer@redhat.com>
9369
9370 * misc/tst-gethostid.c: New file.
9371 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9372 (tst-gethostid): Link with -ldl.
9373
1214ba06
MY
93742018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9375
9376 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9377 value from gethostbyname_r.
9378
791b350d
CD
93792018-09-19 Carlos O'Donell <carlos@redhat.com>
9380
9381 * stdlib/tst-setcontext9.c (f1): Rename to...
9382 (f1a): ... this.
9383 (f1b): New function implementing lower half of f1 in alternate stack.
9384
8e6fd2bd
PE
93852018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9386
e1080e7e
PE
9387 Fix mktime localtime offset confusion
9388 [BZ #23603]
9389 * include/time.h (__mktime_internal): The localtime offset is now
9390 of type long int instead of time_t. This is the longstanding type
9391 in glibc, and it is more than enough to represent difference
9392 between localtime and gmtime even if it is 32 bits and time_t is
9393 64. Changing it now will let us avoid an unnecessary change when
9394 time_t is widened to 64 bits on 32-bit platforms.
9395 * time/mktime-internal.h (mktime_offset_t): Now long int.
9396
8e6fd2bd
PE
9397 Merge mktime, timegm from upstream Gnulib
9398 [BZ #23603][BZ #16346]
9399 This fixes some obscure problems with integer overflow.
9400 Although it looks scary, it is almost all a byte-for-byte copy
9401 from Gnulib, and the Gnulib code has been tested reasonably well.
9402 * include/intprops.h: New file, copied from Gnulib.
9403 * include/verify.h, time/mktime-internal.h:
9404 New tiny files, simplified from Gnulib.
9405 * time/mktime.c: Copy from Gnulib. This has the following changes:
9406 Do not include config.h if DEBUG_MKTIME is nonzero.
9407 Include stdbool.h, intprops.h, verify.h.
9408 Include string.h only if needed.
9409 Include stdlib.h on MS-Windows.
9410 Include mktime-internal.h.
9411 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9412 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9413 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9414 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9415 simplify later conditionals; default the others to zero. Use
9416 these conditionals to express only the code needed on the current
9417 platform. In uses of these conditionals, explicitly spell out how
9418 _LIBC affects things, so it’s easier to review from a glibc
9419 viewpoint.
9420 (WRAPV): Remove; no longer needed now that we have
9421 systematic overflow checking.
9422 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9423 compartmentalize tzset issues. Move system-dependent tzsettish
9424 code here from mktime.
9425 (verify): Remove; now done by verify.h. All uses changed.
9426 (long_int): Use a more-conservative definition, to avoid
9427 integer overflow.
9428 (SHR): Remove, replacing with ...
9429 (shr): New function, which means we needn’t worry about side
9430 effects in args, and conversion analysis is simpler.
9431 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9432 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9433 (time_t_avg, time_t_add_ok): Remove.
9434 (mktime_min, mktime_max): New constants.
9435 (leapyear, isdst_differ): Use bool for booleans.
9436 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9437 Use long_int, not time_t, for mktime differences.
9438 (long_int_avg): New function, replacing time_t_avg.
9439 INT_ADD_WRAPV replaces time_t_add_ok.
9440 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9441 All uses changed.
9442 (convert_time): New function.
9443 (ranged_convert): Use it.
9444 (__mktime_internal): Last arg now points to mktime_offset_t, not
9445 time_t. All uses changed. This is a no-op on glibc, where
9446 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9447 offset guess. Directly check for integer overflow instead of
9448 using a heuristic that works only 99.9...% of the time.
9449 Access *OFFSET only once, to avoid an unlikely race if the
9450 compiler delays a load and if this cascades into a signed integer
9451 overflow.
9452 (mktime): Move tzsettish code to my_tzset, and move
9453 localtime_offset to within mktime so that it doesn’t
9454 need a separate ifdef.
9455 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9456 instead of localtime.
9457 * time/timegm.c: Copy from Gnulib. This has the following changes:
9458 Include mktime-internal.h.
9459 [!_LIBC]: Include config.h and time.h. Do not include
9460 timegm.h or time_r.h. Make __mktime_internal a macro,
9461 and include mktime-internal.h to get its declaration.
9462 (timegm): Temporary is now mktime_offset_t, not time_t.
9463 This affects only Gnulib.
9464
83a552b0
WD
94652018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9466
9467 [BZ #23637]
9468 * string/test-strstr.c (pr23637): New function.
9469 (test_main): Add tests with longer needles.
9470 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9471 * string/strstr.c (AVAILABLE): Likewise.
9472
d7347278
SN
94732018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9474
9475 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9476
424c4f60
SN
94772018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9478
9479 * NEWS: Mention pow improvements.
9480 * math/Makefile (type-double-routines): Add e_pow_log_data.
9481 * sysdeps/generic/math_private.h (__exp1): Remove.
9482 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9483 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9484 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9485 contraction.
9486 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9487 (exp_inline): Remove.
9488 (__ieee754_exp): Only single double input is handled.
9489 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9490 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9491 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9492 (__pow_log_data): Define.
9493 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9494 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9495 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9496 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9497 contraction.
9498 (CFLAGS-e_pow-fma4.c): Likewise.
9499
e4e4fde5
PE
95002018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9501
dab9c348
PE
9502 Simplify tzfile fstat failure code
9503 [BZ #21716]
9504 * time/tzfile.c (__tzfile_read): Simplify slightly.
9505
e4e4fde5
PE
9506 Fix tzfile low-memory assertion failure
9507 [BZ #21716]
9508 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9509 when registering time zone abbreviations.
9510
50bc59ca
JM
95112018-09-18 Joseph Myers <joseph@codesourcery.com>
9512
d3a43e49
JM
9513 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9514 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9515 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9516 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9517 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9518 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9519 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9520 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9521 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9522
50bc59ca
JM
9523 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9524 __ceil.
9525 (__ceill): Call ceil instead of __ceil.
9526 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9527 __floor.
9528 (__floorl): Call floor instead of __floor.
9529
89983cb3
JM
95302018-09-17 Joseph Myers <joseph@codesourcery.com>
9531
71223ef9
JM
9532 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9533 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9534 using MATH_REDIRECT.
9535 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9536 header inclusion.
9537 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9538 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9539 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9540 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9541 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9544 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9549 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9550 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9553 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9554 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9555 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9556 Remove macro.
9557 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9558 functions instead of __ceil variants.
9559 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9560 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9561 Likewise.
9562 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9563 Likewise.
9564 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9565 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9566 Likewise.
9567 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9568 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9569
89983cb3
JM
9570 [BZ #21286]
9571 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9572 constant.
9573 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9574 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9575 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9576 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9577 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9578 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9579 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9580 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9581 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9582 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9583 (ILL_BADIADDR): Remove constant.
9584 (TRAP_BRANCH): Likewise.
9585 (TRAP_HWBKPT): Likewise.
9586
e44acb20
JM
95872018-09-14 Joseph Myers <joseph@codesourcery.com>
9588
3f7f1d18
JM
9589 [BZ #23656]
9590 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9591 Remove [_MIPS_SIM = _ABIN32] conditional case.
9592 (struct elf_prpsinfo): Likewise.
9593
d59f3e5e
JM
9594 [BZ #23649]
9595 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9596 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9597 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9598 Likewise.
9599 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9600 elf_prpsinfo): Likewise.
9601 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9602 elf_prpsinfo): Likewise.
9603 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9604 Likewise.
9605
f29b6f17
JM
9606 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9607 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9608 using MATH_REDIRECT.
9609 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9610 header inclusion.
9611 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9612 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9613 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9614 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9615 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9616 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9617 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9618 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9620 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9621 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9622 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9623 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9624 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9625 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9626 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9627 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9628 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9629 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9632 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9633 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9634 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9635 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9636 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9637 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9638 __rint variants.
9639 * math/e_scalbf.c (invalid_fn): Likewise.
9640 * math/e_scalbl.c (invalid_fn): Likewise.
9641 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9642 Likewise.
9643 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9644 Likewise.
9645 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9646 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9647 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9648 Likewise.
9649 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9650 Likewise.
9651 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9652 Likewise.
9653 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9654 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9655
e44acb20
JM
9656 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9657 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9658 New macro.
9659 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9660 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9661 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9662 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9663 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9664 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9665 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9666 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9667 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9668 && !NO_MATH_REDIRECT] (floor): Likewise.
9669 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9670 header inclusion.
9671 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9672 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9673 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9674 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9675 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9676 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9677 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9678 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9683 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9684 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9685 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9686 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9687 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9688 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9689 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9690 Remove macro.
9691 [_ARCH_PWR5X] (__floorf): Likewise.
9692 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9693 inline function.
9694 [__SSE4_1__] (__floorf): Likewise.
9695 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9696 instead of __floor variants.
9697 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9698 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9699 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9700 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9701 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9702 * math/w_tgamma_compat.c (__tgamma): Likewise.
9703 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9704 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9705 * math/w_tgammal_compat.c (__tgammal): Likewise.
9706 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9707 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9708 Likewise.
9709 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9710 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9711 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9712 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9713 Likewise.
9714 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9715 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9716 Likewise.
9717 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9718 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9719 Likewise.
9720 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9721 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9722 Likewise.
9723 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9724 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9725 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9726 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9727 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9728 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9729
221e4bab
JM
97302018-09-12 Joseph Myers <joseph@codesourcery.com>
9731
9732 * elf/Makefile (modules-names-tests): New variable.
9733
3e08ff54
SN
97342018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9735
9736 * NEWS: Mention log2 improvements.
9737 * math/Makefile (type-double-routines): Add e_log2_data.
9738 * sysdeps/i386/fpu/e_log2_data.c: New file.
9739 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9740 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9741 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9742 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9743 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9744 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9745
f41b0a43
SN
97462018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9747
9748 * NEWS: Mention log improvement.
9749 * math/Makefile (type-double-routines): Add e_log_data.
9750 * sysdeps/i386/fpu/e_log_data.c: New file.
9751 * sysdeps/ia64/fpu/e_log_data.c: New file.
9752 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9753 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9754 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9755 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9756 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9757 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9758
5a274db4
L
97592018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9760 Xuepeng Guo <xuepeng.guo@intel.com>
9761
9762 [BZ #23606]
9763 * sysdeps/i386/start.S: Include <sysdep.h>
9764 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9765 enabled. Add cfi_undefined (eip).
9766
b1176270
JM
97672018-09-11 Joseph Myers <joseph@codesourcery.com>
9768
4e7fbdd7
JM
9769 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9770 (MOVQ): Likewise.
9771 (EXTRACT_WORDS64): Likewise.
9772 (INSERT_WORDS64): Likewise.
9773 (GET_FLOAT_WORD): Likewise.
9774 (SET_FLOAT_WORD): Likewise.
9775
b1176270
JM
9776 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9777 argument.
9778 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9779 build, but not for second build if --full-gcc. Use
9780 --enable-languages=all for second build if --full-gcc.
9781 (get_parser): Add --full-gcc option.
9782 (main): Update call to Context.
9783
527f355e
RL
97842018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9785
9786 [BZ #10797]
9787 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9788 Single Quotation Mark).
9789 (thousands_sep): Likewise.
9790 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9791 * localedata/locales/it_IT (thousands_sep): Use ".".
9792 (grouping): Use "3;3".
9793
7244f13d
JM
97942018-09-10 Joseph Myers <joseph@codesourcery.com>
9795
9796 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9797 x86_64 and i686 configs using --enable-obsolete-rpc
9798 --enable-obsolete-nsl.
9799
38245425
SL
98002018-09-06 Stefan Liebler <stli@linux.ibm.com>
9801
9802 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9803
28669f86
SL
98042018-09-06 Stefan Liebler <stli@linux.ibm.com>
9805
9806 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9807 Increment size of new_argv by one.
9808
a33650d1
RL
98092018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9810
9811 [BZ #17426]
9812 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9813 * localedata/locales/ar_IN (d_fmt): Likewise.
9814 * localedata/locales/bhb_IN (d_fmt): Likewise.
9815 * localedata/locales/bho_IN (d_fmt): Likewise.
9816 * localedata/locales/bn_BD (d_fmt): Likewise.
9817 * localedata/locales/bn_IN (d_fmt): Likewise.
9818 * localedata/locales/doi_IN (d_fmt): Likewise.
9819 * localedata/locales/gu_IN (d_fmt): Likewise.
9820 * localedata/locales/hi_IN (d_fmt): Likewise.
9821 * localedata/locales/hne_IN (d_fmt): Likewise.
9822 * localedata/locales/kn_IN (d_fmt): Likewise.
9823 * localedata/locales/mag_IN (d_fmt): Likewise.
9824 * localedata/locales/mai_IN (d_fmt): Likewise.
9825 * localedata/locales/mjw_IN (d_fmt): Likewise.
9826 * localedata/locales/ml_IN (d_fmt): Likewise.
9827 * localedata/locales/mni_IN (d_fmt): Likewise.
9828 * localedata/locales/mr_IN (d_fmt): Likewise.
9829 * localedata/locales/pa_IN (d_fmt): Likewise.
9830 * localedata/locales/raj_IN (d_fmt): Likewise.
9831 * localedata/locales/sat_IN (d_fmt): Likewise.
9832 * localedata/locales/sd_IN (d_fmt): Likewise.
9833 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9834 * localedata/locales/ta_IN (d_fmt): Likewise.
9835 * localedata/locales/ta_LK (d_fmt): Likewise.
9836 * localedata/locales/tcy_IN (d_fmt): Likewise.
9837 * localedata/locales/ur_IN (d_fmt): Likewise.
9838
9839 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9840 * localedata/locales/ks_IN (d_fmt): Likewise.
9841 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9842
9843 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9844 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9845 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9846 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9847
d114e6a7
SN
98482018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9849
9850 * NEWS: Mention exp and exp2 improvements.
9851 * math/Makefile (libm-support): Remove t_exp.
9852 (type-double-routines): Add math_err and e_exp_data.
9853 * sysdeps/aarch64/libm-test-ulps: Update.
9854 * sysdeps/arm/libm-test-ulps: Update.
9855 * sysdeps/i386/fpu/e_exp_data.c: New file.
9856 * sysdeps/i386/fpu/math_err.c: New file.
9857 * sysdeps/i386/fpu/t_exp.c: Remove.
9858 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9859 * sysdeps/ia64/fpu/math_err.c: New file.
9860 * sysdeps/ia64/fpu/t_exp.c: Remove.
9861 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9862 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9863 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9864 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9865 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9866 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9867 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9868 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9869 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9870 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9871 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9872 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9873 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9874 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9877
b9d8c474
JM
98782018-09-05 Joseph Myers <joseph@codesourcery.com>
9879
b7cdc2ae
JM
9880 * sysdeps/alpha/fpu/math_private.h: Remove.
9881
b9d8c474
JM
9882 * sysdeps/generic/math_private.h
9883 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9884 Move this inline function ....
9885 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9886 * include/math.h [!_ISOMAC]: To here....
9887
418d99e6
JM
98882018-09-04 Joseph Myers <joseph@codesourcery.com>
9889
9890 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9891 code ....
9892 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9893 * include/fenv.h [!_ISOMAC]: ... to here.
9894 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9895 (feraiseexcept): Likewise.
9896 * math/fromfp.h: Do not include <fenv_private.h>.
9897 * math/s_cexp_template.c: Likewise.
9898 * math/s_csin_template.c: Likewise.
9899 * math/s_csinh_template.c: Likewise.
9900 * math/s_ctan_template.c: Likewise.
9901 * math/s_ctanh_template.c: Likewise.
9902 * math/s_iseqsig_template.c: Likewise.
9903 * math/w_acos_compat.c: Likewise.
9904 * math/w_acosf_compat.c: Likewise.
9905 * math/w_acosl_compat.c: Likewise.
9906 * math/w_asin_compat.c: Likewise.
9907 * math/w_asinf_compat.c: Likewise.
9908 * math/w_asinl_compat.c: Likewise.
9909 * math/w_j0_compat.c: Likewise.
9910 * math/w_j0f_compat.c: Likewise.
9911 * math/w_j0l_compat.c: Likewise.
9912 * math/w_j1_compat.c: Likewise.
9913 * math/w_j1f_compat.c: Likewise.
9914 * math/w_j1l_compat.c: Likewise.
9915 * math/w_jn_compat.c: Likewise.
9916 * math/w_jnf_compat.c: Likewise.
9917 * math/w_log10_compat.c: Likewise.
9918 * math/w_log10f_compat.c: Likewise.
9919 * math/w_log10l_compat.c: Likewise.
9920 * math/w_log2_compat.c: Likewise.
9921 * math/w_log2f_compat.c: Likewise.
9922 * math/w_log2l_compat.c: Likewise.
9923 * math/w_log_compat.c: Likewise.
9924 * math/w_logf_compat.c: Likewise.
9925 * math/w_logl_compat.c: Likewise.
9926 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9927 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9928 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9929 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9930 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9931 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9932 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9933 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9934 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9935 * sysdeps/ieee754/k_standardl.c: Likewise.
9936 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9937 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9938 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9939 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9940 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9941 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9942 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9943 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9944 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9945 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9946 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9947 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9948 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9949 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9950 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9951 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9952 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9953 * math/w_ilogb_template.c: Include <fenv.h> instead of
9954 <fenv_private.h>.
9955 * math/w_llogb_template.c: Likewise.
9956 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9957 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9958
70e2ba33
JM
99592018-09-03 Joseph Myers <joseph@codesourcery.com>
9960
9961 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9962 * math/fromfp.h: Include <fenv_private.h>.
9963 * math/math-narrow.h: Likewise.
9964 * math/s_cexp_template.c: Likewise.
9965 * math/s_csin_template.c: Likewise.
9966 * math/s_csinh_template.c: Likewise.
9967 * math/s_ctan_template.c: Likewise.
9968 * math/s_ctanh_template.c: Likewise.
9969 * math/s_iseqsig_template.c: Likewise.
9970 * math/w_acos_compat.c: Likewise.
9971 * math/w_acosf_compat.c: Likewise.
9972 * math/w_acosl_compat.c: Likewise.
9973 * math/w_asin_compat.c: Likewise.
9974 * math/w_asinf_compat.c: Likewise.
9975 * math/w_asinl_compat.c: Likewise.
9976 * math/w_ilogb_template.c: Likewise.
9977 * math/w_j0_compat.c: Likewise.
9978 * math/w_j0f_compat.c: Likewise.
9979 * math/w_j0l_compat.c: Likewise.
9980 * math/w_j1_compat.c: Likewise.
9981 * math/w_j1f_compat.c: Likewise.
9982 * math/w_j1l_compat.c: Likewise.
9983 * math/w_jn_compat.c: Likewise.
9984 * math/w_jnf_compat.c: Likewise.
9985 * math/w_llogb_template.c: Likewise.
9986 * math/w_log10_compat.c: Likewise.
9987 * math/w_log10f_compat.c: Likewise.
9988 * math/w_log10l_compat.c: Likewise.
9989 * math/w_log2_compat.c: Likewise.
9990 * math/w_log2f_compat.c: Likewise.
9991 * math/w_log2l_compat.c: Likewise.
9992 * math/w_log_compat.c: Likewise.
9993 * math/w_logf_compat.c: Likewise.
9994 * math/w_logl_compat.c: Likewise.
9995 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9996 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9997 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9998 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9999 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10001 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10002 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10003 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10004 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10005 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10006 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10007 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10008 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10009 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10010 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10011 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10012 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10013 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10014 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10015 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10016 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10017 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10018 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10019 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10020 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10021 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10022 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10023 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10024 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10025 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10026 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10027 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10028 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10029 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10030 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10031 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10032 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10033 * sysdeps/ieee754/k_standardl.c: Likewise.
10034 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10035 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10036 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10037 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10038 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10039 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10040 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10041 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10042 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10043 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10044 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10045 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10046 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10047 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10048 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10049 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10050 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10051 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10052 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10053 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10054 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10055 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10056 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10057 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10058 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10059 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10060 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10061 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10062 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10063 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10064 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10065 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10066 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10067 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10068 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10069 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10070 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10071 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10072 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10073 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10074 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10075 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10076 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10077 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10078 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10079 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10080 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10081 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10082 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10083 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10084 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10085 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10086 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10087 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10088 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10089 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10090 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10091 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10092 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10093 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10094 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10095 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10096 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10097 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10098 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10099 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10100 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10101 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10102 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10103 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10104 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10105
a6e8926f
PP
101062018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10107
10108 [BZ #20271]
10109 * include/stdio.h (__libc_fatal): Mention newline in comment.
10110 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10111 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10112 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10113 * nss/nsswitch.c (__nss_next2): Likewise.
10114 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10115 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10116 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10117 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10118 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10119 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10120 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10121 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10122 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10123 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10124 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10125 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10126 (__netlink_assert_response): Likewise.
10127
2bbd06bc
JM
101282018-08-31 Joseph Myers <joseph@codesourcery.com>
10129
10130 * conform/glibcconform.py: New file.
10131 * conform/list-header-symbols.py: Likewise.
10132 * conform/list-header-symbols.pl: Remove.
10133 * conform/Makefile (tests-special): Only add linknamespace tests
10134 if [PYTHON].
10135 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10136
81b9d87b
L
101372018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10138
10139 [BZ #23597]
10140 * support/Makefile (libsupport-routines): Add
10141 support_copy_file_range and xcopy_file_range.
10142 * support/support.h: Include <sys/types.h>.
10143 (support_copy_file_range): New prototype.
10144 * support/support_copy_file_range.c: New file. Copied and
10145 modified from io/copy_file_range-compat.c.
10146 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10147 instead of copy_file_range.
10148 * support/xcopy_file_range.c: New file.
10149 * support/xunistd.h (xcopy_file_range): New prototype.
10150
d330f31a
CD
101512018-08-30 Carlos O'Donell <carlos@redhat.com>
10152
10153 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10154 xpthread_create and xpthread_join.
10155
2bda273a
FW
101562018-08-30 Florian Weimer <fweimer@redhat.com>
10157
10158 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10159
3bad2358
SL
101602018-08-30 Stefan Liebler <stli@linux.ibm.com>
10161
10162 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10163 if malloc fails.
10164
09c12efc
JM
101652018-08-29 Joseph Myers <joseph@codesourcery.com>
10166
10167 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10168 and minus_oflow as non-finite.
10169
ff6b2450
JM
101702018-08-28 Joseph Myers <joseph@codesourcery.com>
10171
10172 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10173 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10174 moved to fenv_private.h except for ...
10175 (TOINT_INTRINSICS): Kept in math_private.h.
10176 (roundtoint): Likewise.
10177 (converttoint): Likewise.
10178 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10179 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10180 * sysdeps/arm/math_private.h: Remove.
10181 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10182 ....
10183 * sysdeps/generic/math_private.h: ... this file. Include
10184 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10185 Include <fenv_private.h>. Remove functions and macros moved to
10186 fenv_private.h.
10187 * sysdeps/i386/fpu/math_private.h: Remove.
10188 * sysdeps/mips/math_private.h: Move to ....
10189 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10190 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10191 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10192 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10193 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10194 * sysdeps/powerpc/fpu/math_private.h: Do not include
10195 <fenv_private.h>.
10196 * sysdeps/riscv/rvf/math_private.h: Move to ....
10197 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10198 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10199 <fenv_private.h>.
10200 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10201 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10202 * sysdeps/sparc/fpu/math_private.h: Remove.
10203 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10204 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10205 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10206 <fenv_private.h>.
10207 * sysdeps/x86_64/fpu/math_private.h: Do not include
10208 <sysdeps/i386/fpu/fenv_private.h>.
10209
761404b7
FW
102102018-08-28 Florian Weimer <fweimer@redhat.com>
10211
10212 [BZ #23578]
10213 * posix/tst-regcomp-truncated.c: New file.
10214 * posix/Makefile (tests): Add it.
10215 (tst-regcomp-truncated.out): Depend on generated locales.
10216
d6c44c3d
FW
102172018-08-28 Florian Weimer <fweimer@redhat.com>
10218
10219 * support/test-container.c (main): Treat unshare failure with
10220 EPERM as an unsupported test.
10221
745664bd
FW
102222018-08-28 Florian Weimer <fweimer@redhat.com>
10223
10224 [BZ #23520]
10225 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10226 * nscd/netgroupcache.c
10227 (addgetnetgrentX): Add tofreep parameter. Do not free
10228 heap-allocated buffer.
10229 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10230 (addgetnetgrentX_ignore): New function.
10231 (addgetnetgrent): Call it.
10232 (readdgetnetgrent): Likewise.
10233
c8dd67e7
RS
102342018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10235
10236 * string/memmem.c: Use memcmp for first match.
10237
5abedf97
RL
102382018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10239
10240 [BZ #17426]
10241 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10242
86de0499
DD
102432018-08-27 DJ Delorie <dj@redhat.com>
10244
10245 * support/Makefile (others): Don't list programs explicitly as a
10246 dependency of "others".
10247
c3ab2110
JM
102482018-08-27 Joseph Myers <joseph@codesourcery.com>
10249
10250 * sysdeps/generic/math-tests-trap-force.h: New file.
10251 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10252 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10253 * sysdeps/powerpc/math-tests.h: Remove file.
10254 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10255
6b5c8607
TS
102562018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10257 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
10258
10259 [BZ #23538]
10260 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10261 Update r to include the set wake-request flag if waiters are
10262 remaining after spinning.
10263
4061791f
JM
102642018-08-27 Joseph Myers <joseph@codesourcery.com>
10265
10266 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10267
bc680b33
PE
102682018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10269
761404b7 10270 [BZ #23578]
bc680b33
PE
10271 regex: fix uninitialized memory access
10272 I introduced this bug into gnulib in commit
10273 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10274 eventually it was merged into glibc. The bug was found by
10275 project-repo <bugs@feusi.co> and reported here:
10276 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10277 Diagnosis and draft fix reported by Assaf Gordon here:
10278 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10279 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10280 * posix/regex_internal.c (build_wcs_upper_buffer):
10281 Fix bug when mbrtowc returns 0.
10282
02458a52
CD
102832018-08-24 Carlos O'Donell <carlos@redhat.com>
10284
10285 * po/be.po: Update translation.
10286
acc2842a
DD
102872018-08-24 DJ Delorie <dj@delorie.com>
10288
10289 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10290 $(libunwind).
10291
6c3a8a9d
PP
102922018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10293
b39d961c
TS
10294 [BZ #23400]
10295 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10296 create temporary files in source tree.
6c3a8a9d 10297
895ef79e
JM
102982018-08-24 Joseph Myers <joseph@codesourcery.com>
10299
10300 * sysdeps/generic/math-tests-trap.h: New file.
10301 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10302 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10303 * sysdeps/aarch64/math-tests.h: Remove file.
10304 * sysdeps/arm/math-tests.h: Likewise.
10305 * sysdeps/riscv/math-tests.h: Likewise.
10306 * sysdeps/aarch64/math-tests-trap.h: New file.
10307 * sysdeps/arm/math-tests-trap.h: Likewise.
10308 * sysdeps/riscv/math-tests-trap.h: Likewise.
10309
ca3aac57
WD
103102018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10311
10312 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10313 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10314 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10315 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10316 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10317 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10318 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10319 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10320 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10321 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10322 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10323 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10324 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10325 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10326 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10327 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10328 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10329 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10330
60bcac09
JM
103312018-08-23 Joseph Myers <joseph@codesourcery.com>
10332
10333 * sysdeps/generic/math-tests-exceptions.h: New file.
10334 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10335 (EXCEPTION_TESTS_float): Do not define here.
10336 (EXCEPTION_TESTS_double): Likewise.
10337 (EXCEPTION_TESTS_long_double): Likewise.
10338 (EXCEPTION_TESTS_float128): Likewise.
10339 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10340 Likewise.
10341 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10342 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10343 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10344 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10345 * sysdeps/mips/math-tests.h: Likewise.
10346 * sysdeps/nios2/math-tests.h: Likewise.
10347 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10348 (EXCEPTION_TESTS_float): Do not define here.
10349 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10350 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10351 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10352
3bded567
WD
103532018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10354
10355 * NEWS: Move optimized sinf entry to 2.29.
10356
900fb446
WD
103572018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10358
10359 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10360
561b0bec
DD
103612018-08-22 DJ Delorie <dj@redhat.com>
10362
10363 * Makefile (testroot.pristine): New rules to initialize the
10364 test-in-container "testroot".
10365 * Makerules (all-testsuite): Add tests-container.
10366 * Rules (tests-expected): Add tests-container.
10367 (binaries-all-tests): Likewise.
10368 (tests-container): New, run these tests in the testroot container.
10369 * support/Makefile (others): Add *-container, support_paths.c,
10370 xmkdirp, and links-dso-program.
10371 * support/links-dso-program-c.c: New.
10372 * support/links-dso-program.cc: New.
10373 * support/test-container.c: New.
10374 * support/shell-container.c: New.
10375 * support/echo-container.c: New.
10376 * support/true-container.c: New.
10377 * support/xmkdirp.c: New.
10378 * support/xsymlink.c: New.
10379 * support/support_paths.c: New.
10380 * support/support.h: Add support paths prototypes.
10381 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10382
10383 * nss/tst-nss-test3.c: Convert to test-in-container.
10384 * nss/tst-nss-test3.root/: New.
10385
b35d3509
PE
103862018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10387
10388 regex: port Gnulib code to z/OS POSIX environment
10389 Problem reported by Arnold Robbins in:
10390 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10391 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10392 Undef.
10393
16a25138
JM
103942018-08-22 Joseph Myers <joseph@codesourcery.com>
10395
debc4c98
JM
10396 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10397 (ROUNDING_TESTS_double): Remove.
10398 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10399 (ROUNDING_TESTS_double): Remove.
10400 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10401 (ROUNDING_TESTS_double): Remove.
10402 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10403 (ROUNDING_TESTS_float): Remove.
10404 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10405 (ROUNDING_TESTS_float): Remove.
10406 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10407 (ROUNDING_TESTS_float): Remove.
10408 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10409 !TEST_MATHVEC here.
10410 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10411 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10412
16a25138
JM
10413 * sysdeps/generic/math-tests-rounding.h: New file.
10414 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10415 (ROUNDING_TESTS_float): Do not define here.
10416 (ROUNDING_TESTS_double): Likewise.
10417 (ROUNDING_TESTS_long_double): Likewise.
10418 (ROUNDING_TESTS_float128): Likewise.
10419 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10420 (ROUNDING_TESTS_double): Undefine before defining.
10421 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10422 (ROUNDING_TESTS_double): Undefine before defining.
10423 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10424 (ROUNDING_TESTS_double): Undefine before defining.
10425 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10426 (ROUNDING_TESTS_float): Undefine before defining.
10427 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10428 (ROUNDING_TESTS_float): Undefine before defining.
10429 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10430 (ROUNDING_TESTS_float): Undefine before defining.
10431 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10432 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10433 not define here.
10434 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10435 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10436 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10437 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10438 (ROUNDING_TESTS_float): Do not define here.
10439 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10440 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10441 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10442 (ROUNDING_TESTS_float): Likewise.
10443 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10444 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10445 * sysdeps/mips/math-tests.h [__mips_soft_float]
10446 (ROUNDING_TESTS_float): Likewise.
10447 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10448 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10449 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10450 (ROUNDING_TESTS_double): Likewise.
10451 (ROUNDING_TESTS_long_double): Likewise.
10452
38b0593e
TK
104532018-08-21 Tobias Klauser <tklauser@distanz.ch>
10454
10455 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10456 (PF_XDP): New macro.
10457 (AF_XDP): New macro.
10458 (SOL_XDP): New macro.
10459
5cd7dbde
JM
104602018-08-21 Joseph Myers <joseph@codesourcery.com>
10461
10462 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10463 (TCP_INQ): Likewise.
10464 (TCP_CM_INQ): Likewise.
10465 (TCP_REPAIR_ON): Likewise.
10466 (TCP_REPAIR_OFF): Likewise.
10467 (TCP_REPAIR_OFF_NO_WP): Likewise.
10468 (struct tcp_zerocopy_receive): New type.
10469
aa42b3db
FW
104702018-08-21 Florian Weimer <fweimer@redhat.com>
10471
10472 * support/support.h (support_descriptor_supports_holes): Declare.
10473 * support/Makefile (libsupport-routines): Add
10474 support_descriptor_supports_holes.
10475 * support/support_descriptor_supports_holes.c: New file.
10476 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10477 and stop testing if holes are not supported.
10478 * io/test-lfs.c (do_prepare): Likewise.
10479 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10480 Likewise.
10481 * timezone/tst-tzset.c (create_tz_file): Likewise.
10482 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10483 variable.
10484 (do_prepare): Set it.
10485 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10486
c7627f41
FW
104872018-08-21 Florian Weimer <fweimer@redhat.com>
10488
10489 [BZ #17248]
10490 * Makeconfig (+cflags): Do not sort (and deduplicate).
10491
ef939d92
FW
104922018-08-21 Florian Weimer <fweimer@redhat.com>
10493
10494 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10495 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10496
88ffb39d
FW
104972018-08-20 Florian Weimer <fweimer@redhat.com>
10498
10499 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10500 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10501
17419540
JM
105022018-08-20 Joseph Myers <joseph@codesourcery.com>
10503
e6edd40d
JM
10504 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10505 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10506 and ssi_arch members.
10507
17419540
JM
10508 * elf/elf.c (NT_VMCOREDD): New macro.
10509 (AT_MINSIGSTKSZ): Likewise.
10510
fa78896b
RS
105112018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10512
10513 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10514 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10515 s_cosf-ppc64 and s_cosf-power8.
10516 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10517 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10518 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10519 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10526 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10527 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10528
86a6c75a
FW
105292018-08-17 Florian Weimer <fweimer@redhat.com>
10530
10531 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10532
35cfefd9
FW
105332018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10534
10535 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10536
6413fcde
FW
105372018-08-16 Florian Weimer <fweimer@redhat.com>
10538
10539 * configure.ac: Add --with-nonshared-cflags option.
10540 * config.make.in (extra-nonshared-cflags): Set variable.
10541 * Makeconfig (CFLAGS-.oS): Use it.
10542 * manual/install.texi (Configuring and compiling): Document
10543 --with-nonshared-cflags.
10544 * configure: Regenerate.
10545 * INSTALL: Likewise.
10546
93a2584c
FW
105472018-08-16 Florian Weimer <fweimer@redhat.com>
10548
10549 * Makeconfig (ASFLAGS): Always append required assembler flags.
10550
f6f275d2 105512018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
10552
10553 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10554 (malloc_consolidate): Likewise.
10555
30a17d8c
PC
105562018-08-16 Pochang Chen <johnchen902@gmail.com>
10557
10558 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10559
953a5a4a
SP
105602018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10561
34f86d61
SP
10562 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10563 every strlen call.
10564
953a5a4a
SP
10565 * benchtests/bench-strlen.c: Print performance numbers in json.
10566
7793ad7a
RS
105672018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10568
10569 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10570 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10571 only for little endian.
10572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10573 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10574 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10575 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10576 Add check for little endian.
10577 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10578 (__strcmp_power9): Add check for little endian.
10579 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10580 Add check for little endian.
10581 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10582 (__strncmp_power9): Add check for little endian.
10583 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10584 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10585 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10586 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10587 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10588
436e4d5b
SP
105892018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10590
10591 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10592 [!STRLEN](STRLEN): Set to __strlen.
10593 * sysdeps/aarch64/multiarch/strlen.c: New file.
10594 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10595 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10596 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10597 (__libc_ifunc_impl_list): Add strlen.
10598 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10599 strlen_generic and strlen_asimd.
10600
126c4e3f
WD
106012018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10602
10603 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10604 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10605 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10606
49acec17
WD
106072018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10608
10609 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10610
fdb16de3
FW
106112018-08-14 Florian Weimer <fweimer@redhat.com>
10612
10613 [BZ #23519]
10614 * include/stdio.h (__vfxprintf): Declare.
10615 * stdio-common/fxprintf.c (__vfxprintf): New function.
10616 (__fxprintf): Call it.
10617 * misc/err.c (convert_and_print): Remove function.
10618 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10619 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10620 * misc/Makefile (tests): Add tst-warn-wide.
10621 * misc/tst-warn-wide.c: New file.
10622
599cf397
WD
106232018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10624 Szabolcs Nagy <szabolcs.nagy@arm.com>
10625
10626 * NEWS: Mention sinf, cosf, sincosf.
10627 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10628 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10629 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10630 constants rather than including generic sincosf.h.
10631 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10632 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10633 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10634 (reduced_cos): Remove.
10635 (sinf_poly): New function.
10636 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10637
e95c6f61
FW
106382018-08-14 Florian Weimer <fweimer@redhat.com>
10639
10640 [BZ #23521]
10641 [BZ #23522]
10642 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10643 processing, bail out if no room, and close the stream before
10644 returning ERANGE.
10645 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10646 (tst-nss-files-alias-leak): Link with libdl.
10647 (tst-nss-files-alias-leak.out): Depend on nss_files.
10648
10649 * nss/tst-nss-files-alias-leak.c: New file.
10650
2d7acfac
FW
106512018-08-14 Florian Weimer <fweimer@redhat.com>
10652
10653 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10654 server_user, stat_user.
10655
f3cd0904
JM
106562018-08-13 Joseph Myers <joseph@codesourcery.com>
10657
17b26500
JM
10658 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10659 version to 4.18.
10660 (io_pgetevents): New syscall.
10661 (rseq): Likewise.
10662
3c1622eb
JM
10663 * manual/install.texi (Configuring and compiling): Do not list
10664 tools used for testing pretty printers here.
10665 (Tools for Compilation): List Python, PExpect and GDB here.
10666 Update descriptions of uses of Perl and Python.
10667 * INSTALL: Regenerate.
10668
f3cd0904
JM
10669 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10670 version to 4.18.
10671
b7b52b9d
FW
106722018-08-13 Florian Weimer <fweimer@redhat.com>
10673
10674 * misc/error.c (error): Add missing va_end call.
10675 (error_at_line): Likewise.
10676
01780188
FW
106772018-08-13 Florian Weimer <fweimer@redhat.com>
10678
10679 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10680
44727aec
SP
106812018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10682
8cac1f26
SP
10683 * benchtests/scripts/benchout.schema.json (properties): Add
10684 new properties.
10685
44727aec
SP
10686 * benchtests/bench-skeleton.c (main): Add duration and
10687 iterations attributes.
10688
c77bf91b
PE
106892018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10690
10691 regex: Gnulib unibyte RRI uses bytes not chars
10692 Adjust the non-glibc code to agree with what Gawk needs for
10693 rational range interpretation (RRI) for regular expression ranges.
10694 In unibyte locales, Gawk wants ranges to use the underlying byte
10695 rather than the character code point. This change does not affect
10696 glibc proper.
10697 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10698 In unibyte locales, use the byte value rather than
10699 running it through btowc.
10700
2ce7ba7d
JM
107012018-08-10 Joseph Myers <joseph@codesourcery.com>
10702
10703 * sysdeps/generic/math-tests-snan.h: New file.
10704 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10705 (SNAN_TESTS_float): Do not define here.
10706 (SNAN_TESTS_double): Likewise.
10707 (SNAN_TESTS_long_double): Likewise.
10708 (SNAN_TESTS_float128): Likewise.
10709 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10710 * sysdeps/i386/fpu/math-tests.h: Remove file.
10711 * sysdeps/ia64/math-tests-snan.h: New file.
10712 * sysdeps/ia64/math-tests.h: Remove file.
10713 * sysdeps/x86/math-tests.h: Likewise.
10714 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10715
ea5c662c
WD
107162018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10717 Szabolcs Nagy <szabolcs.nagy@arm.com>
10718
10719 * math/Makefile: Add s_sincosf_data.c.
10720 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10721 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10722 (sincosf_poly): Likewise.
10723 (reduce_small): Likewise.
10724 (reduce_large): Likewise.
10725 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10726 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10727 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10728 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10729
43cfdf8f
SN
107302018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10731 Szabolcs Nagy <szabolcs.nagy@arm.com>
10732
10733 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10734 (converttoint): Use lround.
10735 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10736 document the semantics when TOINT_INTRINSICS is set.
10737 (converttoint): Likewise.
10738 (TOINT_RINT): Remove.
10739 (TOINT_SHIFT): Remove.
10740 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10741 path.
10742
69065288
FW
107432018-08-10 Florian Weimer <fweimer@redhat.com>
10744
10745 [BZ #23497]
10746 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10747 function.
10748 (__old_getdents64): Use getdents64. Convert entries without
10749 moving them.
10750 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10751 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10752 tst-readdir64-compat.
10753
8f135efc
IL
107542018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10755
10756 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10757 Fix unwind.
10758
71c01af5
IL
107592018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10760
10761 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10762 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10763 code to s390x-mcount.h and #include it.
10764 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10765 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10766 (__fentry__): Add.
10767
8d997d22
IL
107682018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10769
10770 * stdlib/Versions: Remove __fentry__.
10771 * sysdeps/i386/Versions: Add __fentry__.
10772 * sysdeps/x86_64/Versions: Add __fentry__.
10773
69e2444a
IL
107742018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10775
10776 * sysdeps/s390/Makefile: Register the new tests.
10777 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10778 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10779 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10780 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10781 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10782 * sysdeps/s390/tst-dl-runtime.c: New file.
10783
bde6320f
IL
107842018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10785
10786 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10787 Do not clobber R0.
10788
5755f5e4
IL
107892018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10790
10791 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10792 Do not clobber R0.
10793
c8ad8522
IL
107942018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10795
10796 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10797 Do not clobber R0.
10798
b215eee1
IL
107992018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10800
10801 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10802 Do not clobber R0.
10803
329c6fec
IL
108042018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10805
10806 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10807 Use symbolic offsets for stack variables.
10808
0fb7afa2
IL
108092018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10810
10811 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10812 Use symbolic offsets for stack variables.
10813
6954059a
IL
108142018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10815
10816 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10817 Use symbolic offsets for stack variables.
10818
c7099673
IL
108192018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10820
10821 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10822 Use symbolic offsets for stack variables.
10823
2813e41e
JM
108242018-08-09 Joseph Myers <joseph@codesourcery.com>
10825
10826 * math/gen-libm-test.py: New file.
10827 * math/gen-libm-test.pl: Remove.
10828 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10829 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10830 gen-libm-test.pl.
10831 ($(libm-test-c-noauto-obj)): Likewise.
10832 ($(libm-test-c-auto-obj)): Likewise.
10833 ($(libm-test-c-narrow-obj)): Likewise.
10834 (regen-ulps): Likewise.
10835 * math/README.libm-test: Update references to gen-libm-test.pl.
10836 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10837 referencing gen-libm-test.pl.
10838 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10839 * math/libm-test-support.c: Likewise.
10840 * math/libm-test-support.h: Likewise.
10841 * sysdeps/generic/libm-test-ulps: Likewise.
10842
be64b194
SP
108432018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10844
10845 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10846 Fix value.
10847
140137fb
JM
108482018-08-08 Joseph Myers <joseph@codesourcery.com>
10849
10850 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10851 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10852
b5403eca
ST
108532018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10854
10855 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10856 symbols.
8ac0f9e6
ST
10857 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10858 __pthread_setspecific): Add hidden proto.
10859 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10860 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 10861
014efdd7
SP
108622018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10863
10864 * benchtests/bench-string.h (buf1_size, buf2_size): New
10865 variables.
10866 (init_sizes): New function.
10867 (test_init): Use it.
10868 (alloc_buf, exit_error): New functions.
10869 (alloc_bufs): Use ALLOC_BUF.
10870 (realloc_bufs): Remove.
10871 * benchtests/bench-memcmp.c (do_test): Adjust.
10872 * benchtests/bench-memset-large.c (do_test): Likewise.
10873 * benchtests/bench-memset-walk.c (do_test): Likewise.
10874 * benchtests/bench-memset.c (do_test): Likewise.
10875 * benchtests/bench-strncmp.c (do_test): Likewise.
10876
92a4cba7
AS
108772018-08-06 Andreas Schwab <schwab@suse.de>
10878
10879 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10880 of CONST_THREAD_AREA.
10881
fb4c32ae
L
108822018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10883
10884 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10885 (STATE_SAVE_MASK): Likewise.
10886 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10887 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10888 (STATE_SAVE_MASK): Likewise.
10889 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10890 instead of <cpu-features.h>.
10891
bf418187
DD
108922018-08-03 DJ Delorie <dj@redhat.com>
10893
10894 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 10895 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 10896
bb17621a
DD
10897 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10898
ea705eb5
JM
108992018-08-03 Joseph Myers <joseph@codesourcery.com>
10900
10901 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10902 after TEST_* calls.
10903 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10904 * math/libm-test-logb.inc (logb_test_data): Likewise.
10905
284f42bc
WD
109062018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10907
10908 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10909 * string/strstr.c (AVAILABLE): Likewise.
10910
430388d5
L
109112018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10912
10913 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10914 <init-arch.h>.
10915 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10916 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10917 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10918
c5760aa9
CD
109192018-08-03 Carlos O'Donell <carlos@redhat.com>
10920
10921 * po/be.po: Update translation.
10922
6b535b84
CD
10923 * po/be.po: Update translation.
10924
ae67f2e5
L
109252018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10926
10927 * sysdeps/x86/cpu-features-offsets.sym
10928 (rtld_global_ro_offsetof): Removed.
10929 (CPU_FEATURES_SIZE): Likewise.
10930 (CPUID_OFFSET): Likewise.
10931 (CPUID_SIZE): Likewise.
10932 (CPUID_EAX_OFFSET): Likewise.
10933 (CPUID_EBX_OFFSET): Likewise.
10934 (CPUID_ECX_OFFSET): Likewise.
10935 (CPUID_EDX_OFFSET): Likewise.
10936 (FAMILY_OFFSET): Likewise.
10937 (MODEL_OFFSET): Likewise.
10938 (FEATURE_OFFSET): Likewise.
10939 (FEATURE_SIZ): Likewise.
10940 (COMMON_CPUID_INDEX_1): Likewise.
10941 (COMMON_CPUID_INDEX_7): Likewise.
10942 (FEATURE_INDEX_1): Likewise.
10943 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10944
6b5c8607 109452018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
10946
10947 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10948 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10949 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10950 (install-locales): Depend on install-locale-archive.
10951 (install-locale-archive): Define.
7b7adbd8 10952 (install-locale-files): Define.
08a5ee14
CD
10953 (build-one-locale): Define macro.
10954 * manual/install.texi (Running make install): Document.
10955 * manual/INSTALL: Regenerate.
10956
525691bd
SP
109572018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10958
d67d634b
SP
10959 * benchtests/scripts/compare_strings.py: Import traceback.
10960 (parse_file): Pretty-print error.
10961
525691bd
SP
10962 * NEWS: Mention the change.
10963 * elf/dl-tunables.list: Rename tune namespace to cpu.
10964 * sysdeps/powerpc/dl-tunables.list: Likewise.
10965 * sysdeps/x86/dl-tunables.list: Likewise.
10966 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10967 cpu.name.
10968 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10969 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10970 * manual/README.tunables: Likewise.
10971 * manual/tunables.texi: Likewise.
10972 * sysdeps/powerpc/cpu-features.c: Likewise.
10973 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10974 (init_cpu_features): Likewise.
10975 * sysdeps/x86/cpu-features.c: Likewise.
10976 * sysdeps/x86/cpu-features.h: Likewise.
10977 * sysdeps/x86/cpu-tunables.c: Likewise.
10978 * sysdeps/x86_64/Makefile: Likewise.
10979 * sysdeps/x86/dl-cet.c: Likewise.
10980
506d7fb1
JM
109812018-08-02 Joseph Myers <joseph@codesourcery.com>
10982
10983 [BZ #23479]
10984 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10985 [__mips_hard_float].
10986 (FE_UNDERFLOW): Likewise.
10987 (FE_OVERFLOW): Likewise.
10988 (FE_DIVBYZERO): Likewise.
10989 (FE_INVALID): Likewise.
10990 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10991 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10992 (FE_UPWARD): Likewise.
10993 (FE_DOWNWARD): Likewise.
10994 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10995 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10996 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10997 [__mips_hard_float].
10998 (FP_ROUNDMODE): Likewise.
10999 (FP_RND_NEAREST): Likewise.
11000 (FP_RND_ZERO): Likewise.
11001 (FP_RND_PINF): Likewise.
11002 (FP_RND_MINF): Likewise.
11003 (FP_EX_INVALID): Likewise.
11004 (FP_EX_OVERFLOW): Likewise.
11005 (FP_EX_UNDERFLOW): Likewise.
11006 (FP_EX_DIVZERO): Likewise.
11007 (FP_EX_INEXACT): Likewise.
11008 (FP_INIT_ROUNDMODE): Likewise.
11009 * sysdeps/mips/nofpu/fesetenv.c: New file.
11010 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11011
f6dcefbe
JM
110122018-08-01 Joseph Myers <joseph@codesourcery.com>
11013
11014 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11015 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11016 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11017 conditional on [FE_UPWARD].
11018
fa67ba06
PE
110192018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11020
11021 regex: fix memory leak in Gnulib
11022 Problem and fix reported by Assaf Gordon in:
11023 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11024 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11025 range_ends members too, as they are defined in 'struct
11026 re_charset_t' even if not _LIBC. This affects only Gnulib.
11027
82c80ac2
L
110282018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11029
11030 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11031 ...
11032 (get_common_indices): This.
11033 (init_cpu_features): Updated.
11034
c0e7e2c1
JM
110352018-08-01 Joseph Myers <joseph@codesourcery.com>
11036
46f8cf57
JM
11037 * sysdeps/generic/math-tests-snan-payload.h: New file.
11038 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11039 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11040 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11041 * sysdeps/generic/math-tests.h: Include
11042 <math-tests-snan-payload.h>.
11043 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11044 * sysdeps/hppa/math-tests.h: Remove file.
11045 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11046 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11047 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11048 Likewise.
11049
c0e7e2c1
JM
11050 * sysdeps/generic/math-tests-snan-cast.h: New file.
11051 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11052 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11053 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11054 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11055
74939c83
CD
110562018-08-01 Carlos O'Donel <carlos@redhat.com>
11057
b029723b
CD
11058 * version.h (RELEASE): Set to "development".
11059 (VERSION): Set to "2.28.9000".
11060 * NEWS (2.29): New section.
11061
3c03baca
CD
11062 * version.h (RELEASE): Set to "stable".
11063 (VERSION): Set to "2.28".
11064 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11065 * NEWS: Add the list of bugs fixed in 2.28.
11066
74939c83
CD
11067 * po/ca.po: Update to latest version.
11068 * po/cs.po: Likewise
11069 * po/da.po: Likewise
11070 * po/el.po: Likewise
11071 * po/eo.po: Likewise
11072 * po/es.po: Likewise
11073 * po/fi.po: Likewise
11074 * po/fr.po: Likewise
11075 * po/gl.po: Likewise
11076 * po/hu.po: Likewise
11077 * po/ia.po: Likewise
11078 * po/id.po: Likewise
11079 * po/it.po: Likewise
11080 * po/ja.po: Likewise
11081 * po/ko.po: Likewise
11082 * po/lt.po: Likewise
11083 * po/nb.po: Likewise
11084 * po/nl.po: Likewise
11085 * po/pt_BR.po: Likewise
11086 * po/ru.po: Likewise
11087 * po/rw.po: Likewise
11088 * po/sk.po: Likewise
11089 * po/sl.po: Likewise
11090 * po/tr.po: Likewise
11091 * po/zh_CN.po: Likewise
11092 * po/zh_TW.po: Likewise
11093
d4b54bdf
ST
110942018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11095
11096 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11097 initialization...
11098 (init): ... before initializing libpthread.
11099
42fc12ef
ST
11100 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11101 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11102 (__mach_setup_tls): ... new function.
11103 (mach_setup_tls): New alias.
11104 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11105 __mach_setup_thread.
11106 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11107 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11108 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11109 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11110
6cca855e
CD
111112018-07-31 Carlos O'Donell <carlos@redhat.com>
11112
f650932b
CD
11113 * manual/install.texi: Update versions.
11114 * INSTALL: Regenerate.
11115
6cca855e
CD
11116 * manual/contrib.texi (Contributors): Update contributions.
11117
07fdea47
CD
111182018-07-31 Carlos O'Donell <carlos@redhat.com>
11119
11120 * po/be.po: Update translations.
11121
63d5fad4
AZ
111222018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11123
11124 * sysdeps/sh/libm-test-ulps: Update.
11125
1ff712a6
CD
111262018-07-30 Carlos O'Donell <carlos@redhat.com>
11127
11128 * po/bg.po: Update translations.
11129 * po/de.po: Likewise.
11130 * po/hr.po: Likewise.
11131 * po/pt_BR.po: Likewise.
11132 * po/sv.po: Likewise.
11133 * po/vi.po: Likewise.
11134
98864ed0
L
111352018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11136
11137 [BZ #23467]
11138 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11139 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11140 (CFLAGS-tst-cet-property-1.o): New.
11141 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11142 ($(objpfx)tst-cet-property-2): Likewise.
11143 ($(objpfx)tst-cet-property-2.out): Likewise.
11144 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11145 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11146 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11147 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11148 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11149
c92a00d8
L
111502018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11151
11152 [BZ #23458]
11153 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11154
99bc6241
ST
111552018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11156
11157 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11158 __sbrk): Do not set attribute_hidden.
af86087f 11159 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
11160 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11161 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11162
bcb1c4af
CD
111632018-07-27 Carlos O'Donell <carlos@redhat.com>
11164
11165 * po/uk.po: Update translations.
11166 * po/cs.po: Likewise.
11167 * po/pl.po: Likewise.
11168
4591b7db
L
111692018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11170
11171 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11172 parse beyond the note end.
11173
2c6da2f4
AZ
111742018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11175
11176 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11177 kernel does not support OFD locks.
11178 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11179
20365a31
ST
111802018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11181
11182 * sysdeps/mach/hurd/Versions (libc): Make __access and
11183 __access_noerrno external so they can override the ld symbols.
11184 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11185 __writev, __open64, __access_noerrno extern so they can be overrided.
11186 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11187 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11188
cb1a43db
CD
111892018-07-26 Carlos O'Donell <carlos@redhat.com>
11190
11191 * po/libc.pot: Regenerate.
11192
74759ae5
JM
111932018-07-26 Joseph Myers <joseph@codesourcery.com>
11194
11195 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11196
da80612d
L
111972018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11198
11199 [BZ #23459]
11200 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11201 function.
11202 (init_cpu_features): Call get_extended_indices for both Intel
11203 and AMD CPUs.
11204 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11205 Remove "for AMD" comment.
11206
65d87ade
L
112072018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11208
11209 [BZ # 23456]
11210 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11211 COMMON_CPUID_INDEX_80000001.
11212
c9dc4d51
SL
112132018-07-26 Stefan Liebler <stli@linux.ibm.com>
11214
11215 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11216 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11217
cfba5dbb
FW
112182018-07-26 Florian Weimer <fweimer@redhat.com>
11219
11220 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11221 aliases for symbols not in the implementation namespace.
11222
6b5c8607 112232018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
11224
11225 [BZ #23393]
11226 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11227 lowercase in LATIN script.
11228 * localedata/Makefile (test-input): Add en_US.UTF-8.
11229 * localedata/en_US.UTF-8.in: New file.
11230 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11231 and restore old tests.
11232 * posix/tst-regexloc.c (do_test): Add back range expression test.
11233
3fb455b3
L
112342018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11235
11236 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11237
d6499b70
AZ
112382018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11239
11240 * nptl/threads.h: Move to ...
11241 * sysdeps/nptl/threads.h: ... here.
11242 * sysdeps/hurd/stdc-predef.h: New file.
11243
08ac6bed
L
112442018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11245
11246 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11247 tst-cet-setcontext-1 if CET is enabled.
11248 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11249 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11250
9faaf938
AZ
112512018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11252
11253 * include/threads.h: Move to ...
11254 * sysdeps/nptl/threads.h: ... here.
11255 * sysdeps/htl/threads.h: New file.
11256 * conform/Makefile (linknamespace-libs-ISO11): Use
11257 static-thread-library instead of linking libpthread.
11258 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11259
d6b8f847
FW
112602018-07-25 Florian Weimer <fweimer@redhat.com>
11261
11262 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11263 nanoseconds into seconds.
11264 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11265 (do_test): Likewise.
11266 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11267 (do_test): Likewise. Avoid nanosecond overflow and spurious
11268 timeouts due to system load.
11269 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11270 (child_wait): Increment it.
11271 (do_test): Wait as long as necessary until all expected threads
11272 have arrived.
11273
25123a1c
L
112742018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11275 H.J. Lu <hongjiu.lu@intel.com>
11276
11277 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11278 __ssp.
11279 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11280 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11281 (__push___start_context): New.
11282 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11283 <asm/prctl.h>.
11284 (__getcontext): Record the current shadow stack base. Save the
11285 caller's shadow stack pointer and base.
11286 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11287 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11288 (__push___start_context): New prototype.
11289 (__makecontext): Call __push___start_context to allocate a new
11290 shadow stack, push __start_context onto the new stack as well
11291 as the new shadow stack.
11292 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11293 <asm/prctl.h>.
11294 (__setcontext): Restore the target shadow stack.
11295 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11296 <asm/prctl.h>.
11297 (__swapcontext): Record the current shadow stack base. Save
11298 the caller's shadow stack pointer and base. Restore the target
11299 shadow stack.
11300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11301 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11302 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11303
375a4844
L
113042018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11305
11306 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11307 tst-setcontext8 and tst-setcontext9.
11308 * stdlib/tst-setcontext6.c: New file.
11309 * stdlib/tst-setcontext7.c: Likewise.
11310 * stdlib/tst-setcontext8.c: Likewise.
11311 * stdlib/tst-setcontext9.c: Likewise.
11312
bd4f7903
L
113132018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11314
11315 * stdlib/Makefile ((tests): Add tst-setcontext5.
11316 * stdlib/tst-setcontext5.c: New file.
11317
7e28f203
L
113182018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11319
11320 * stdlib/Makefile (tests): Add tst-setcontext4.
11321 * stdlib/tst-setcontext4.c: New file.
11322
8516ad2d
L
113232018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11324
11325 * stdlib/Makefile (tests): Add tst-swapcontext1.
11326 * stdlib/tst-swapcontext1.c: New test.
11327
fddcd003
L
113282018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11329
11330 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11331 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11332 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11333 and tst-cet-legacy-4c.
11334 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11335 and tst-cet-legacy-mod-4.
11336 (CFLAGS-tst-cet-legacy-2.c): New.
11337 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11338 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11339 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11340 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11341 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11342 ($(objpfx)tst-cet-legacy-1): Likewise.
11343 ($(objpfx)tst-cet-legacy-2): Likewise.
11344 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11345 ($(objpfx)tst-cet-legacy-2a): Likewise.
11346 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11347 ($(objpfx)tst-cet-legacy-4): Likewise.
11348 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11349 ($(objpfx)tst-cet-legacy-4a): Likewise.
11350 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11351 (tst-cet-legacy-4a-ENV): Likewise.
11352 ($(objpfx)tst-cet-legacy-4b): Likewise.
11353 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11354 (tst-cet-legacy-4b-ENV): Likewise.
11355 ($(objpfx)tst-cet-legacy-4c): Likewise.
11356 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11357 (tst-cet-legacy-4c-ENV): Likewise.
11358 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11359 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11360 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11361 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11362 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11363 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11364 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11365 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11366 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11367 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11368 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11369
9aa3113a
L
113702018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11371
11372 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11373 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11374 with ssp_base.
11375 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11376 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11377 with ssp_base.
11378
9c79cec8
AS
113792018-07-25 Andreas Schwab <schwab@suse.de>
11380
11381 [BZ #23442]
11382 * locale/weightwc.h (findidx): Handle the case where usrc is a
11383 prefix of cp but one character too short.
11384
969c3355
AZ
113852018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11386
11387 * NEWS: Add ISO C threads addition.
11388
e0f9c462
FW
113892018-07-24 Florian Weimer <fweimer@redhat.com>
11390
11391 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11392 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11393 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11394 4.13.
11395
394df381
L
113962018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11397
11398 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11399 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11400 <sys/prctl.h> and <asm/prctl.h>.
11401 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11402 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11403 and <asm/prctl.h>.
11404 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11405 ARCH_CET_LEGACY_BITMAP.
11406 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11407 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11408 * sysdeps/x86/libc-start.c: Include <startup.h>.
11409
46545530
FW
114102018-07-24 Florian Weimer <fweimer@redhat.com>
11411
11412 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11413 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11414
6b5c8607 114152018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 11416 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
11417 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11418
11419 [BZ #14092]
9d0a979e
RJ
11420 * manual/debug.texi: Update adjacent chapter name.
11421 * manual/probes.texi: Likewise.
11422 * manual/threads.texi (ISO C Threads): New section.
11423 (POSIX Threads): Convert to a section.
11424
114252018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11426 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11427
11428 [BZ# 14092]
0a07288b
AZ
11429 * nptl/Makefile (tests): Add new test files.
11430 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11431 * nptl/tst-cnd-basic.c: Likewise.
11432 * nptl/tst-cnd-broadcast.c: Likewise.
11433 * nptl/tst-cnd-timedwait.c: Likewise.
11434 * nptl/tst-mtx-basic.c: Likewise.
11435 * nptl/tst-mtx-recursive.c: Likewise.
11436 * nptl/tst-mtx-timedlock.c: Likewise.
11437 * nptl/tst-mtx-trylock.c: Likewise.
11438 * nptl/tst-thrd-basic.c: Likewise.
11439 * nptl/tst-thrd-detach.c: Likewise.
11440 * nptl/tst-thrd-sleep.c: Likewise.
11441 * nptl/tst-tss-basic.c: Likewise.
11442
ce7528f6
AZ
114432018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11444
c6dd669b
AZ
11445 [BZ #14092]
11446 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11447 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11448 symbols.
11449 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11450 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11451 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11452 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11453 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11454 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11455 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11456 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11457 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11458 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11459 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11460 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11462 Likewise.
11463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11464 Likewise.
11465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11466 Likewise.
11467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11468 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11469 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11470 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11471 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11472 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11473 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11474 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11475 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11476 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11477 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11478 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11479 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11480 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11481 Likewise.
11482 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11483 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11484 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11485 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11486 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11487 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11488 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11489 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11490 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11491 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11492 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11493 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11494 ikewise.
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11497 Likewise.
11498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11499 Likewise.
11500 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11501 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11502 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11503 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11504 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11505 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11506 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11507 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11508
78d40132
AZ
11509 [BZ #14092]
11510 * conform/data/threads.h-data (thread_local): New macro.
11511 (TSS_DTOR_ITERATIONS): Likewise.
11512 (tss_t): New type.
11513 (tss_dtor_t): Likewise.
11514 (tss_create): New function.
11515 (tss_get): Likewise.
11516 (tss_set): Likewise.
11517 (tss_delete): Likewise.
11518 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11519 tss_get, and tss_set objects.
11520 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11521 * nptl/tss_create.c: New file.
11522 * nptl/tss_delete.c: Likewise.
11523 * nptl/tss_get.c: Likewise.
11524 * nptl/tss_set.c: Likewise.
11525 * sysdeps/nptl/threads.h (thread_local): New define.
11526 (TSS_DTOR_ITERATIONS): Likewise.
11527 (tss_t): New typedef.
11528 (tss_dtor_t): Likewise.
11529 (tss_create): New prototype.
11530 (tss_get): Likewise.
11531 (tss_set): Likewise.
11532 (tss_delete): Likewise.
11533
918311a3
AZ
11534 [BZ #14092]
11535 * conform/data/threads.h-data (cnd_t): New type.
11536 (cnd_init): New function.
11537 (cnd_signal): Likewise.
11538 (cnd_broadcast): Likewise.
11539 (cnd_wait): Likewise.
11540 (cnd_timedwait): Likewise.
11541 (cnd_destroy): Likewise.
11542 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11543 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11544 object.
11545 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11546 * nptl/cnd_broadcast.c: New file.
11547 * nptl/cnd_destroy.c: Likewise.
11548 * nptl/cnd_init.c: Likewise.
11549 * nptl/cnd_signal.c: Likewise.
11550 * nptl/cnd_timedwait.c: Likewise.
11551 * nptl/cnd_wait.c: Likewise.
11552 * sysdeps/nptl/threads.h (cnd_t): New type.
11553 (cnd_init): New prototype.
11554 (cnd_signa): Likewise.
11555 (cnd_broadcast): Likewise.
11556 (cnd_wait): Likewise.
11557 (cnd_timedwait): Likewise.
11558 (cnd_destroy): Likewise.
11559
3c20a679
AZ
11560 [BZ #14092]
11561 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11562 (once_flag): New type.
11563 (call_once): New function.
11564 * nptl/Makefile (libpthread-routines): Add call_once object.
11565 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11566 * nptl/call_once.c: New file.
11567 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11568 (once_flag): New type.
11569 (call_once): New prototype.
11570
18d59c1b
AZ
11571 [BZ #14092]
11572 * conform/data/threads.h-data (mtx_plain): New constant.
11573 (mtx_recursive): Likewise.
11574 (mtx_timed): Likewise.
11575 (mtx_t): New type.
11576 (mtx_init): New function.
11577 (mtx_lock): Likewise.
11578 (mtx_timedlock): Likewise.
11579 (mtx_trylock): Likewise.
11580 (mtx_unlock): Likewise.
11581 (mtx_destroy): Likewise.
11582 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11583 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11584 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11585 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11586 * nptl/mtx_destroy.c: New file.
11587 * nptl/mtx_init.c: Likewise.
11588 * nptl/mtx_lock.c: Likewise.
11589 * nptl/mtx_timedlock.c: Likewise.
11590 * nptl/mtx_trylock.c: Likewise.
11591 * nptl/mtx_unlock.c: Likewise.
11592 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11593 (mtx_recursive): Likewise.
11594 (mtx_timed): Likewise.
11595 (mtx_t): New type.
11596 (mtx_init): New prototype.
11597 (mtx_lock): Likewise.
11598 (mtx_timedlock): Likewise.
11599 (mtx_trylock): Likewise.
11600 (mtx_unlock): Likewise.
11601 (mtx_destroy): Likewise.
11602
ce7528f6
AZ
11603 [BZ #14092]
11604 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11605 (linknamespace-libs-ISO11): Add libpthread.a.
11606 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11607 functions.
11608 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11609 * nptl/Makefile (headers): Add threads.h.
11610 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11611 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11612 thrd_yield.
11613 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11614 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11615 thrd_join, thrd_sleep, and thrd_yield symbols.
11616 * nptl/descr.h (struct pthread): Add c11 field.
11617 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11618 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11619 routine with expected function prototype.
11620 (__pthread_create_2_1): Add C11 threads check based on attribute
11621 value.
11622 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11623 * nptl/thrd_create.c: New file.
11624 * nptl/thrd_current.c: Likewise.
11625 * nptl/thrd_detach.c: Likewise.
11626 * nptl/thrd_equal.c: Likewise.
11627 * nptl/thrd_exit.c: Likewise.
11628 * nptl/thrd_join.c: Likewise.
11629 * nptl/thrd_priv.h: Likewise.
11630 * nptl/thrd_sleep.c: Likewise.
11631 * nptl/thrd_yield.c: Likewise.
11632 * include/threads.h: Likewise.
11633
e27f41ba
L
116342018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11635
11636 * bits/indirect-return.h: New file.
11637 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11638 * sysdeps/x86/bits/indirect-return.h: Likewise.
11639 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11640 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11641 (swapcontext): Add __INDIRECT_RETURN.
11642 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11643 (prepare_test_buffer): Use it.
11644
21526a50
AS
116452018-07-24 Andreas Schwab <schwab@suse.de>
11646
11647 [BZ #23448]
11648 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11649 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11650
3650e1d9
L
116512018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11652
11653 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11654 Redefine if shadow stack is enabled.
11655 (SYSCALL_ERROR_LABEL): Likewise.
11656 (__vfork): Pop shadow stack and jump back to to caller directly
11657 when shadow stack is in use.
11658 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11659 Redefine if shadow stack is enabled.
11660 (SYSCALL_ERROR_LABEL): Likewise.
11661 (__vfork): Pop shadow stack and jump back to to caller directly
11662 when shadow stack is in use.
11663
ca027e0f
L
116642018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11665
11666 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11667 enabled.
11668 (foo): Likewise.
11669 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11670 (foo): Likewise.
11671
b99f1c95
JM
116722018-07-20 Joseph Myers <joseph@codesourcery.com>
11673
11674 * scripts/build-many-glibcs.py (Context.checkout): Default
11675 binutils version to 2.31 branch.
11676
c8fabb84
ZL
116772018-07-20 Zong Li <zong@andestech.com>
11678
11679 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11680 URL of gcc's tarball.
11681
786658a0
FW
116822018-07-20 Florian Weimer <fweimer@redhat.com>
11683
11684 [BZ #23396]
11685 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11686 not compare an extra byte after the end of the weights.
11687
46f2474e
ST
116882018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11689
11690 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11691 to 1.
8ba1520e
ST
11692 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11693 hidden prototypes.
11694 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11695 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
11696 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11697 list of libraries whose stack executability is expected.
11698 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11699 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11700 variable.
11701 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11702 libc.so libpthread.so.
46f2474e 11703
60088242
TS
117042018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11705
11706 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11707 SOCK_NONBLOCK.
75d5e4a0
TS
11708 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11709 and SOCK_NONBLOCK.
de195be0
TS
11710 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11711 implement __pipe2.
11712 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 11713
1cf4ae7f
LS
117142018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11715
11716 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11717 library to improve command line parsing.
11718 (__main__): make schema file as optional parameter (--schema),
11719 defaulting to benchtests/scripts/benchout.schema.json.
11720 (main): move out of the parsing stuff to __main_  and leave it
11721 only as caller of main comparison functions.
11722
e84bd851
L
117232018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11724
11725 * NEWS: Add a note for Intel CET status.
11726 * manual/install.texi: Likewise.
11727 * INSTALL: Regenerated.
11728
df467d22
QP
117292018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11730
11731 [BZ #23140]
11732 * localedata/locales/oc_FR (mon): Rename to...
11733 (alt_mon): This, then update October (typo fix).
11734 (mon): New content (genitive case, month names preceded by
11735 "de" or "d’").
11736
11737 [BZ #23422]
11738 * localedata/locales/oc_FR (abday): Update all items.
11739 (day): Update Wednesday and Saturday (typo fixes).
11740 (abmon): Update all items, except May.
11741 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11742 (LC_IDENTIFICATION): Bump the revision number and date.
11743 Keep the "category" entries in alphabetic order.
11744 (LC_ADDRESS): Remove no longer needed comment.
11745 (LC_COLLATE): Use “copy "ca_ES"”.
11746 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11747 "name_mrs".
11748
5c112f1b
JM
117492018-07-18 Joseph Myers <joseph@codesourcery.com>
11750
11751 * grp/tst_fgetgrent.c: Include <unistd.h>.
11752 (main): Use mkstemp instead of tmpnam.
11753 * io/test-utime.c (main): Likewise.
11754 * posix/annexc.c (macrofile): Change to modifiable array.
11755 (main): Remove macrofile here.
11756 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11757 macrofile here.
11758 (check_header): Do not remove macrofile here.
11759 * posix/bug-getopt1.c: Include <stdlib.h>.
11760 (do_test): Use mkstemp instead of tmpnam.
11761 * posix/bug-getopt2.c: Include <stdlib.h>.
11762 (do_test): Use mkstemp instead of tmpnam.
11763 * posix/bug-getopt3.c: Include <stdlib.h>.
11764 (do_test): Use mkstemp instead of tmpnam.
11765 * posix/bug-getopt4.c: Include <stdlib.h>.
11766 (do_test): Use mkstemp instead of tmpnam.
11767 * posix/bug-getopt5.c: Include <stdlib.h>.
11768 (do_test): Use mkstemp instead of tmpnam.
11769 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11770 (main): Use mkstemp instead of tmpnam.
11771 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11772 (main): Use mkstemp instead of tmpnam.
11773 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11774 (main): use mkstemp instead of tmpnam.
11775 * stdlib/isomac.c (macrofile): Change to modifiable array.
11776 (main): Remove macrofile here.
11777 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11778 macrofile here.
11779 (check_header): Do not remove macrofile here.
11780
6d90776d
L
117812018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11782
11783 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11784 glibc.tune.x86_shstk.
11785
e6c69509
L
117862018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11787
11788 * NEWS: Mention --enable-cet.
11789 * manual/install.texi: Document --enable-cet.
11790 * INSTALL: Regenerated.
11791
e2d40a88
L
117922018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11793
11794 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11795 Add _CET_NOTRACK before indirect jump to jump table.
11796
77a8ae09
L
117972018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11798
11799 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11800 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11801 to jump table.
11802
90d15dc5
L
118032018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11804
11805 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11806 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11807 to jump table.
11808
f1574581
L
118092018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11810
11811 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11812 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11813 to jump table.
11814
7fb61336
L
118152018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11816
11817 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11818 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11819 to jump table.
11820
0a899af0
L
118212018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11822
11823 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11824 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11825 to jump table.
11826 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11827
177824e2
L
118282018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11829
11830 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11831 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11832 to jump table.
11833
00e7b76a
L
118342018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11835
11836 * sysdeps/i386/i686/multiarch/memset-sse2.S
11837 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11838 to jump table.
11839
7e119cd5
L
118402018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11841
11842 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11843 indirect jump to jump table.
11844
03aaf49b
L
118452018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11846
11847 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11848 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11849 to jump table.
11850 (MEMCPY): Likewise.
11851
811e9e52
L
118522018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11853
11854 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11855 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11856 to jump table.
11857 (MEMCPY): Likewise.
11858
8817df42
L
118592018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11860
11861 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11862 _CET_NOTRACK before indirect jump to jump table.
11863
921595d1
L
118642018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11865
11866 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11867 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11868 to jump table.
11869
4ef60d95
L
118702018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11871
11872 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11873 indirect jump to jump table.
11874
61c4aad7
VT
118752018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11876
11877 [BZ #22241]
11878 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11879 (LOCALES): Likewise.
11880 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11881 * localedata/locales/sah_RU: New file.
11882 * localedata/sah_RU.UTF-8.in: New file.
11883
be9ccd27
L
118842018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11885
11886 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11887 "sysdep.h".
11888 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11889 _CET_ENDBR to indirect jump targets and adjust jump destination
11890 for _CET_ENDBR.
11891 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11892 "sysdep.h".
11893 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11894 _CET_ENDBR to indirect jump targets and adjust jump destination
11895 for _CET_ENDBR.
11896 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11897 "sysdep.h".
11898 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11899 _CET_ENDBR to indirect jump targets and adjust jump destination
11900 for _CET_ENDBR.
11901
5efc6777
L
119022018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11903
11904 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11905 _CET_ENDBR.
11906
562837c0
L
119072018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11908
11909 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11910 _CET_ENDBR.
11911 (_dl_tlsdesc_undefweak): Likewise.
11912 (_dl_tlsdesc_dynamic): Likewise.
11913 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11914 (_dl_tlsdesc_resolve_rel): Likewise.
11915 (_dl_tlsdesc_resolve_rela): Likewise.
11916 (_dl_tlsdesc_resolve_hold): Likewise.
11917 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11918 (_dl_tlsdesc_undefweak): Likewise.
11919 (_dl_tlsdesc_dynamic): Likewise.
11920 (_dl_tlsdesc_resolve_rela): Likewise.
11921 (_dl_tlsdesc_resolve_hold): Likewise.
11922
124bcde6
L
119232018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11924
11925 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11926 (_fini): Likewise.
11927 * sysdeps/x86_64/crti.S (_init): Likewise.
11928 (_fini): Likewise.
11929
9145f033
RL
119302018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11931
11932 [BZ #23140]
11933 * localedata/locales/os_RU (mon): Rename to...
11934 (alt_mon): This.
11935 (mon): Import from CLDR (genitive case).
11936
ba2ea23d
L
119372018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11938
11939 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11940 cet-tunables.h> when CET is enabled.
11941
f753fa7d
L
119422018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11943
6b5c8607 11944 [BZ #21598]
f753fa7d
L
11945 * configure.ac: Add --enable-cet.
11946 * configure: Regenerated.
11947 * elf/Makefille (all-built-dso): Add a comment.
11948 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11949 Include <dl-prop.h>.
11950 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11951 segment.
11952 * elf/dl-open.c: Include <dl-prop.h>.
11953 (dl_open_worker): Call _dl_open_check.
11954 * elf/rtld.c: Include <dl-prop.h>.
11955 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11956 _rtld_main_check.
11957 * sysdeps/generic/dl-prop.h: New file.
11958 * sysdeps/i386/dl-cet.c: Likewise.
11959 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11960 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11961 * sysdeps/x86/cet-tunables.h: Likewise.
11962 * sysdeps/x86/check-cet.awk: Likewise.
11963 * sysdeps/x86/configure: Likewise.
11964 * sysdeps/x86/configure.ac: Likewise.
11965 * sysdeps/x86/dl-cet.c: Likewise.
11966 * sysdeps/x86/dl-procruntime.c: Likewise.
11967 * sysdeps/x86/dl-prop.h: Likewise.
11968 * sysdeps/x86/libc-start.h: Likewise.
11969 * sysdeps/x86/link_map.h: Likewise.
11970 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11971 _CET_ENDBR.
11972 (_dl_runtime_profile): Likewise.
11973 (_dl_runtime_resolve_shstk): New.
11974 (_dl_runtime_profile_shstk): Likewise.
11975 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11976 if CET is enabled.
11977 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11978 (CFLAGS-.os): Likewise.
11979 (CFLAGS-.op): Likewise.
11980 (CFLAGS-.oS): Likewise.
11981 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11982 is enabled.
11983 (tests-special): Add $(objpfx)check-cet.out.
11984 (cet-built-dso): New.
11985 (+$(cet-built-dso:=.note)): Likewise.
11986 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11987 ($(objpfx)check-cet.out): New.
11988 (generated): Add check-cet.out.
11989 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11990 <cet-tunables.h>.
11991 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11992 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11993 (init_cpu_features): Call get_cet_status to check CET status
11994 and update dl_x86_feature_1 with CET status. Call
11995 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11996 (set_x86_shstk). Disable and lock CET in libc.a.
11997 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11998 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11999 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12000 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12001 (_CET_ENDBR): Define if not defined.
12002 (ENTRY): Add _CET_ENDBR.
12003 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12004 x86_shstk.
12005 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12006 _CET_ENDBR.
12007 (_dl_runtime_profile): Likewise.
12008
52b2a80f
RA
120092018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12010
12011 [BZ #21895]
12012 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12013 restore r2 on longjmp.
12014 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12015 test list.
12016 Added rules to build test tst-setjmp-bug21895-static.
12017 Added module setjmp-bug21895 and rules to build a shared object from it.
12018 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12019 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12020
3ae725df
WD
120212018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12022
12023 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12024 * benchtests/bench-strstr.c: Likewise.
12025 * string/memmem.c (FASTSEARCH): Define.
12026 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12027 Add support for FASTSEARCH.
12028 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12029 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12030 (FASTSEARCH): Define.
12031 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12032 * string/test-strstr.c: Likewise.
12033
31e422ca
L
120342018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12035
12036 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12037 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12038
faaee1f0
L
120392018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12040 H.J. Lu <hongjiu.lu@intel.com>
12041
12042 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12043 (__longjmp): Restore shadow stack pointer if shadow stack is
12044 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12045 isn't defined for __longjmp_cancel.
12046 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12047 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12048 and SHADOW_STACK_POINTER_OFFSET is defined.
12049 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12050 (setjmp): Save shadow stack pointer if shadow stack is enabled
12051 and SHADOW_STACK_POINTER_OFFSET is defined.
12052 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
12053 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12054 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12055 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12056 <jmp_buf-ssp.h>.
12057 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12058 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12059 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12060 Remove jmp_buf-ssp.sym.
12061 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12062 <jmp_buf-ssp.h>.
12063 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12064 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12065 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12066 jmp_buf-ssp.sym.
12067 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12068 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12069 (__longjmp): Restore shadow stack pointer if shadow stack is
12070 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12071 isn't defined for __longjmp_cancel.
12072 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12073 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12074 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12075
ebff9c5c
L
120762018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12077
12078 [BZ #22563]
12079 * nptl/pthread_create.c: Include <tls-setup.h>.
12080 (__pthread_create_2_1): Call tls_setup_tcbhead.
12081 * sysdeps/generic/tls-setup.h: New file.
12082 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12083 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12084 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12085 Likewise.
12086 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12087 to feature_1.
12088 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12089 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12090 (X86_FEATURE_1_SHSTK): Likewise.
12091 (CET_ENABLED): Likewise.
12092 (IBT_ENABLED): Likewise.
12093 (SHSTK_ENABLED): Likewise.
12094
0a83bad2
RL
120952018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12096
12097 [BZ #23208]
12098 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12099 (LOCALES): Likewise.
12100 * localedata/dsb_DE.UTF-8.in: New file.
12101 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12102
046bfed9
FW
121032018-07-12 Florian Weimer <fweimer@redhat.com>
12104
12105 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12106 __mprotect, not mprotect.
12107
93304f5f
FW
121082018-07-11 Florian Weimer <fweimer@redhat.com>
12109
12110 * io/Makefile (headers): Add bits/statx.h.
12111
4beefeeb
MF
121122018-07-10 Mike FABIAN <mfabian@redhat.com>
12113
12114 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12115 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12116 and headers.
12117 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12118 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12119 for utf8_gen.py
12120
fd70af45
FW
121212018-07-10 Florian Weimer <fweimer@redhat.com>
12122
12123 * io/Makefile (routines): Add statx.
12124 (tests-internal): Add tst-statx.
12125 * io/Versions (GLIBC_2.28): Export statx.
12126 * io/bits/statx.h: New file.
12127 * io/sys/stat.h [__USE_GNU]: Include it.
12128 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12129 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12130 Define.
12131 * io/statx.c: New file.
12132 * io/statx_generic.: Likewise.
12133 * io/tst-statx.: Likewise.
12134 * include/bits/statx.h: Likewise.
12135 * sysdeps/unix/sysv/linux/kernel-features.h
12136 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12137 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12138 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12139 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12140 Undefine.
12141 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12142 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12143 * sysdeps/unix/sysv/linux/statx.c: New file.
12144 * manual/filesys.texi: Note that statx is undocumented.
12145 * sysdeps/**/libc*.abilist: Update.
12146
b444e8f7
AZ
121472018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12148
12149 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12150 a kernel issue which lead to test failure in some cases.
12151
7b2f4ced
FW
121522018-07-10 Florian Weimer <fweimer@redhat.com>
12153
12154 [BZ #23036]
12155 * posix/regexec.c (check_node_accept_bytes): When comparing
12156 weights, do not compare an extra byte after the end of the
12157 weights.
12158
4fa34da6
FW
121592018-07-10 Florian Weimer <fweimer@redhat.com>
12160
12161 * libio/readline.c: Fix copyright year.
12162 * libio/tst-readline.c Likewise.
12163 * nss/tst-nss-files-hosts-getent.c: Likewise.
12164
916124ed
FW
121652018-07-06 Florian Weimer <fweimer@redhat.com>
12166
12167 [BZ #18991]
12168 * nss/nss_files/files-XXX.c (internal_getent): Use
12169 __libc_readline_unlocked. Seek back to the start of the line if
12170 parsing failes with ERANGE.
12171 (get_contents_ret, get_contents): Remove.
12172 * nss/tst-nss-files-hosts-getent.c: New file.
12173 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12174 (tst-nss-files-hosts-getent): Link with -ldl.
12175
3f5e3f5d
FW
121762018-07-06 Florian Weimer <fweimer@redhat.com>
12177
12178 * include/stdio.h (__libc_readline_unlocked): Declare.
12179 (__ftello64, __fseeko64): Declare aliases.
12180 * libio/readline.c: New file.
12181 * libio/tst-readline.c: Likewise.
12182 (routines): Add readline.
12183 (tests-internal): Add tst-readlime.
12184 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12185 __libc_readline_unlocked.
12186 * libio/fseeko.c (__fseeko): Rename from fseeko.
12187 (fseeko): Add alias.
12188 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12189 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12190 (fseeko64): Add alias.
12191 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12192 * libio/ftello64.c (__ftello64): Rename from ftello64.
12193 (ftello64): Add alias.
12194
397c54c1
SN
121952018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12196
12197 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12198 HWCAP_ATOMICS.
12199
d0cd7980
SN
122002018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12201
12202 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12203 Use dl_hwcap without masking.
12204 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12205 Remove HWCAP_CPUID.
12206
ddb3c626
FW
122072018-07-06 Florian Weimer <fweimer@redhat.com>
12208
12209 * conform/conformtest.pl (checknamespace): Escape literal braces
12210 in regular expressions.
12211
bce5911b
AP
122122018-07-06 Amit Pawar <amit.pawar@amd.com>
12213
12214 * sysdeps/x86/cpu-features.c (get_common_indeces):
12215 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12216 * sysdeps/x86/cpu-features.c (init_cpu_features):
12217 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12218
3a885c1f
FW
122192018-07-05 Florian Weimer <fweimer@redhat.com>
12220
12221 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12222 protector.
12223 (CFLAGS-elf-init.oS): Likewise.
12224
38cade0c
FW
122252018-07-05 Florian Weimer <fweimer@redhat.com>
12226 Carlos O'Donell <carlos@redhat.com>
12227
12228 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12229 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12230 with stack protector enabled because there is no risk of infinite
12231 recursion.
12232
9449a295
MR
122332018-07-05 Maciej W. Rozycki <macro@mips.com>
12234
12235 [BZ #19818]
12236 [BZ #23307]
12237 * libc-abis (ABSOLUTE): New ABI.
12238 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12239 * NEWS: Mention the new ABI.
12240
d6da5cb6
FW
122412018-07-05 Florian Weimer <fweimer@redhat.com>
12242
12243 [BZ # 17662]
12244 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12245 (RENAME_WHITEOUT): Define.
12246 [__USE_GNU] (renameat2): Declare.
12247 * stdio-common/Makefile (routines): Add renameat2.
12248 (tests): Add tst-renameat2.
12249 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12250 * stdio-common/renameat2.c: New file.
12251 * stdio-common/tst-renameat2.c: Likewise.
12252 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12253 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12254 undocumented.
12255 * sysdeps/unix/sysv/linux/kernel-features.h
12256 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12257 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12258 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12259 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12260 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12261 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12262 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12263 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12264 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12265 * include/stdio.h (__renameat): Add alias for renameat.
12266 * stdio-common/renameat.c (__renameat): Rename from renameat.
12267 Add hidden definition and alias.
12268 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12269 * sysdeps/mach/hurd/renameat.c: Likewise.
12270 * sysdeps/**/libc*.abilist: Add renameat2.
12271
1002d708
AZ
122722018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12273
12274 * posix/bug-regex33.c: Fix build after regex sync.
12275
34fdb893
CD
122762018-07-04 Carlos O'Donell <carlos@redhat.com>
12277
12278 [BZ #23164]
12279 * localedata/tst-langinfo-setlocale.c: New file.
12280 * localedata/tst-langinfo-setlocale-static.c: New file.
12281 * localedata/tst-langinfo-newlocale.c: New file.
12282 * localedata/tst-langinfo-newlocale-static.c: New file.
12283 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12284 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12285 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12286 (tests-static): Remove tst-langinfo-static. Add
12287 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12288 (tests-special): Remove $(objpfx)tst-langinfo.out,
12289 $(objpfx)tst-langinfo-static.out. Add
12290 $(objpfx)tst-langinfo-setlocale.out,
12291 $(objpfx)tst-langinfo-newlocale.out,
12292 $(objpfx)tst-langinfo-setlocale-static.out,
12293 $(objpfx)tst-langinfo-newlocale-static.out.
12294 ($(objpfx)tst-langinfo.out): Remove.
12295 ($(objpfx)tst-langinfo-static.out): Remove.
12296 ($(objpfx)tst-langinfo-newlocale.out): New target.
12297 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12298 (test-xfail-tst-langinfo-newlocale-static): Add.
12299 ($(objpfx)tst-langinfo-setlocale.out): New target.
12300 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12301 * localedata/tst-langinfo.c: Call test_locale.
12302 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12303 data.
12304
f2873d2d
FW
123052018-07-04 Florian Weimer <fweimer@redhat.com>
12306
12307 testrun.sh: Implement --tool=strace, --tool=valgrind
12308 * Makefile (testrun-script): Define variable.
12309 (testrun.sh): Use variable.
12310 * manual/install.texi (Tools for Compilation): make 4.0 or later
12311 is required.
12312 * configure.ac: Check for make 4.0 or later.
12313 * INSTALL: Regenerate.
12314 * configure: Likewise.
12315
eb04c213
AZ
123162018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12317
12318 [BZ #23233]
12319 [BZ #21163]
12320 [BZ #18986]
12321 [BZ #13762]
12322 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12323 * posix/PCRE.tests: Remove invalid test.
12324 * posix/bug-regex28.c: Fix expected values for used syntax.
12325 * posix/bug-regex37.c: New file.
12326 * posix/bug-regex38.c: Likewise.
12327 * posix/regcomp.c: Sync with gnulib.
12328 * posix/regex.c: Likewise.
12329 * posix/regex.h: Likewise.
12330 * posix/regex_internal.c: Likewise.
12331 * posix/regex_internal.h: Likewise.
12332 * posix/regexec.c: Likewise.
12333
b11643c2
MF
123342018-06-26 Mike FABIAN <mfabian@redhat.com>
12335
12336 [BZ #23308]
12337 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12338 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12339 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12340 * localedata/unicode-gen/PropList.txt: likewise.
12341 * localedata/unicode-gen/UnicodeData.txt: likewise.
12342 * localedata/charmaps/UTF-8: Regenerate.
12343 * localedata/locales/i18n_ctype: likewise.
12344 * localedata/locales/tr_TR: likewise.
12345 * localedata/locales/translit_circle: likewise.
12346 * localedata/locales/translit_cjk_compat: likewise.
12347 * localedata/locales/translit_combining: likewise.
12348 * localedata/locales/translit_compat: likewise.
12349 * localedata/locales/translit_font: likewise.
12350 * localedata/locales/translit_fraction: likewise.
12351
5a357506
FW
123522018-07-03 Florian Weimer <fweimer@redhat.com>
12353
12354 [BZ #23363]
12355 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12356 * stdio-common/tst-printf.sh: Adjust expected output.
12357 * LICENSES: Update.
12358
7279af00
AZ
123592018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12360
12361 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12362 symbol.
12363
b7b88cea
GG
123642018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12365
12366 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12367 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12368 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12369 * stdio-common/tst-printfsz-islongdouble.c: New file.
12370 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12371 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12372 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12373 [subdir == stdio-common] (tests-internal): Add
12374 test-printf-size-ieee128, and test-printf-size-ibm128.
12375 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12376 (CFLAGS-test-printf-size-ibm128.c): New variables.
12377 [subdir == stdio-common] (tests-special): Add
12378 $(objpfx)test-printf-size-ieee128.out and
12379 $(objpfx)test-printf-size-ibm128.out.
12380 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12381 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12382 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12383 __printf_sizeieee128.
12384 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12385 New file.
12386 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12387 Likewise.
12388 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12389 Likewise.
12390
2b445206
SN
123912018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12392
12393 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12394 (exp2f_inline): Likewise.
12395 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12396 (__math_uflowf): Likewise.
12397 (__math_may_uflowf): Likewise.
12398 (__math_divzerof): Likewise.
12399 (__math_invalidf): Likewise.
12400 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12401 (__math_oflowf): Likewise.
12402 (__math_uflowf): Likewise.
12403 (__math_may_uflowf): Likewise.
12404 (__math_divzerof): Likewise.
12405 (__math_invalidf): Likewise.
12406
2827ab99
CD
124072018-06-29 DJ Delorie <dj@redhat.com>
12408 Carlos O'Donell <carlos@redhat.com>
12409
12410 [BZ #23329]
12411 * include/libc-symbols.h: Comment the freeres framework.
12412 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12413 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12414 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12415 * dlfcn/dlerror.c: Include libc-symbols.h
12416 (__dlerror_main_freeres): New function.
12417 * dlfcn/dlfreeres.c: New file.
12418 * dlfcn/sdlfreeres.c: New file.
12419 * include/dlfcn.h: Declare __dlerror_main_freeres.
12420 * malloc/set-freeres.c: Declare __libdl_freeres, and
12421 __libpthread_freeres.
12422 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12423 the releavant libraries are loaded.
12424 * malloc/thread-freeres.c: Add comments.
12425 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12426 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12427 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12428 (__free_stacks): Rename to...
12429 (free_stacks): ...this. Mark static.
12430 (queue_stack): Call free_stacks.
12431 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12432 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12433 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12434 ptr_freeres element from struct.
12435 (pthread_functions): Remove .ptr_freeres from struct initializer.
12436 [SHARED] (nptl_freeres): Remove.
12437 * nptl/nptlfreeres.c: New file.
12438 * nptl/pthreadP.h
12439 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12440 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12441 attribute_hidden.
12442 (__free_stacks): Rename to...
12443 (__nptl_stacks_freeres): ...this.
12444 (__shm_directory_freeres): Declare.
12445 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12446 (__nptl_unwind_freeres): ...this.
12447 * resolv/res-close.c: Add comment.
12448 * resolv/resolv_conf.c: Include libc-symbols.h.
12449 * string/strerror_l.c: Include libc-symbols.h.
12450 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12451 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12452 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12453 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12454
37d3d244
RS
124552018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12456
12457 * stdlib/tst-strfmon_l.c: Add tests for long double.
12458
a1e0c5fa
MW
124592018-06-29 Michael Wolf <milupo@sorbzilla.de>
12460
12461 [BZ #23208]
12462 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12463 * localedata/locales/dsb_DE: New file.
12464
2e0c5de6
RL
124652018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12466
12467 [BZ #23140]
12468 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12469 genitive case).
12470 (alt_mon): New entry, import from CLDR (nominative case).
12471
cdb52c71
SL
124722018-06-29 Sylvain Lesage <severo@rednegra.net>
12473
12474 [BZ #22996]
12475 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12476
ce76a5cb
SP
124772018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12478
0aec4c1d
SP
12479 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12480 Use vector registers.
12481
ce76a5cb
SP
12482 * sysdeps/aarch64/multiarch/memmove_falkor.S
12483 (__memcpy_falkor): Use vector registers.
12484
7e8989d0
MS
124852018-06-29 Martin Sebor <msebor@redhat.com>
12486
12487 * manual/stdio.texi (Customizing Printf): Mention interaction
12488 with GCC built-ins.
12489
bac15a72
MR
124902018-06-29 Maciej W. Rozycki <macro@mips.com>
12491
12492 [BZ #23307]
12493 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12494 `st_value' is 0 if `st_shndx' is SHN_ABS.
12495 * elf/tst-absolute-zero.c: New file.
12496 * elf/tst-absolute-zero-lib.c: New file.
12497 * elf/tst-absolute-zero-lib.lds: New file.
12498 * elf/Makefile (tests): Add `tst-absolute-zero'.
12499 (modules-names): Add `tst-absolute-zero-lib'.
12500 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12501 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12502 ($(objpfx)tst-absolute-zero: New dependency.
12503
e69d994a
ZW
125042018-06-29 Zack Weinberg <zackw@panix.com>
12505
12506 * configure.ac: New command-line option --disable-crypt.
12507 Force --disable-nss-crypt when --disable-crypt is given, with a
12508 warning if it was explicitly enabled.
12509 * configure: Regenerate.
12510 * config.make.in: New boolean substitution variable $(build-crypt).
12511 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12512 when $(build-crypt).
12513 * manual/install.texi: Document --disable-crypt.
12514 * INSTALL: Regenerate.
12515
12516 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12517 which is never set.
12518 * conform/Makefile: Only include libcrypt.a in
12519 linknamespace-libs-xsi and linknamespace-libs-XPG4
12520 when $(build-crypt).
12521 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12522 USE_CRYPT to 1 when $(build-crypt).
12523 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12524 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12525 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12526
841785ba
ZW
125272018-06-29 Zack Weinberg <zackw@panix.com>
12528
12529 * crypt/crypt.h, posix/unistd.h: Update comments and
12530 prototypes for crypt and crypt_r.
12531
12532 * manual/crypt.texi (Cryptographic Functions): New initial
12533 exposition.
12534 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12535 (Unpredictable Bytes): Improve initial exposition. Clarify error
12536 behavior of getentropy and getrandom.
12537 * manual/examples/genpass.c: Generate a salt using getentropy
12538 instead of the current time. Use hash $5$ (SHA-2-256).
12539 * manual/examples/testpass.c: Demonstrate validation against
12540 hashes generated with three different one-way functions.
12541
12542 * manual/intro.texi: crypt.texi does not need an overview
12543 anymore.
12544
12545 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12546 * manual/terminal.texi: Consistently refer to "passphrases"
12547 * instead of "passwords", and to the "user database" instead
12548 * of the "password database".
12549 * manual/users.texi: Similarly. Add notes about how actual
12550 passphrase hashes are now stored in the shadow database.
12551 Remove 20-year-old junk todo note.
12552
6ab902e4
ZW
125532018-06-29 Zack Weinberg <zackw@panix.com>
12554
12555 * manual/crypt.texi: Use a normal top-level @node declaration.
12556 Move most of the introductory text to the 'crypt' section.
12557 Move the example programs below the @deftypefun for 'crypt_r'.
12558 Move the 'getpass' section...
12559 * manual/terminal.texi: ...here.
12560
b10a0acc
ZW
125612018-06-29 Zack Weinberg <zackw@panix.com>
12562 Florian Weimer <fweimer@redhat.com>
12563
12564 * posix/unistd.h: Do not declare encrypt.
12565 (_XOPEN_CRYPT): Remove macro definition.
12566 (crypt): Declare only for _USE_MISC.
12567 * stdlib/stdlib.h: Do not declare setkey.
12568 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12569 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12570
12571 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12572 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12573 into compat symbols. Don't define initial_perm if it's not
12574 going to be used.
12575 * crypt/cert.c: Link explicitly with the expected versions for
12576 setkey and encrypt. If they are not available at all, mark
12577 the test as unsupported.
12578
12579 * sunrpc/des_crypt.c: Unconditionally block linkage with
12580 cbc_crypt and ecb_crypt for new binaries.
12581 * sunrpc/des_soft.c: Unconditionally block linkage with
12582 des_setparity for new binaries.
12583
12584 * manual/crypt.texi: Remove the entire "DES Encryption"
12585 section. Also remove the paragraph talking about FIPS 140-2
12586 from the introduction.
12587 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12588 of libgcrypt for "real" encryption, not DES.
12589 * manual/conf.texi (Constants for Sysconf): Mention that
12590 _XOPEN_CRYPT is no longer impelemented.
12591
12592 * conform/data/unistd.h-data: Remove crypt function declaration.
12593
524d796d
FW
125942018-06-29 Florian Weimer <fweimer@redhat.com>
12595
12596 [BZ #23351]
12597 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12598 (disallow_malloc_check): Remove variable.
12599 (__malloc_check_init): Adjust.
12600 (malloc_set_state): Update comment.
12601 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12602 declarations.
12603
339124ab
RL
126042018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12605
12606 [BZ #23140]
12607 * localedata/locales/ast_ES (mon): Rename to...
12608 (alt_mon): This.
12609 (mon): Import from CLDR (genitive case).
12610
c1f86a33
DA
126112018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12612 Jakub Sitnicki <jkbs@redhat.com>
12613
12614 [BZ #21812]
12615 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12616 on NLM_F_DUMP_INTR.
12617
0b11b649
SN
126182018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12619
12620 * manual/llio.texi: Remove spurious space.
12621
c1c2848b
FW
126222018-06-28 Florian Weimer <fweimer@redhat.com>
12623
12624 [BZ #23349]
12625 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12626 _STRUCT_TIMESPEC.
12627
86a0f561
RS
126282018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12629
12630 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 12631 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
12632 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12633 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12634 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12635 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12636 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12637
780684eb
MR
126382018-06-27 Maciej W. Rozycki <macro@mips.com>
12639
12640 [BZ #23266]
12641 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12642 Copy and null-terminate entries that are not terminated, in
12643 addition to empty ones.
12644
c49e1822
FW
126452018-06-27 Florian Weimer <fweimer@redhat.com>
12646
12647 [BZ #18023]
b39d961c
TS
12648 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12649 (extend_alloca_account): Remove.
c49e1822
FW
12650 * manual/stdio.texi (Variable Arguments Output): Update comment.
12651
a833e627
JM
126522018-06-27 Joseph Myers <joseph@codesourcery.com>
12653
12654 * nptl/sockperf.c: Remove file.
12655
92d6aa85
FW
126562018-06-27 Florian Weimer <fweimer@redhat.com>
12657
12658 [BZ #18023]
12659 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12660 scratch_buffer instead of extend_alloca.
12661
890c2ced
FW
126622018-06-27 Florian Weimer <fweimer@redhat.com>
12663
12664 [BZ #18023]
12665 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12666 scratch_buffer instead of extend_alloca. Update comments.
12667
4272059d
FW
126682018-06-27 Florian Weimer <fweimer@redhat.com>
12669
12670 [BZ #18023]
12671 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12672 instead of extend_alloca.
12673
27f10a09
JM
126742018-06-26 Joseph Myers <joseph@codesourcery.com>
12675
12676 [BZ #13888]
12677 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12678 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12679 /tmp.
12680 * scripts/test-installation.pl: Put temporary files in build
12681 directory, not /tmp.
12682 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12683 (CFLAGS-bug4.c): Likewise.
12684 (CFLAGS-bug5.c): Likewise.
12685 (CFLAGS-test-fseek.c): Likewise.
12686 (CFLAGS-test-popen.c): Likewise.
12687 (CFLAGS-test_rdwr.c): Likewise.
12688 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12689 /tmp.
12690 * stdio-common/bug4.c (main): Likewise.
12691 * stdio-common/bug5.c (main): Likewise.
12692 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12693 * stdio-common/test-popen.c (do_test): Likewise.
12694 * stdio-common/test_rdwr.c (main): Likewise.
12695
05598a09
PF
126962018-06-26 Patsy Franklin <pfrankli@redhat.com>
12697
12698 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12699 (sem_open): Set sem.newsem.pad to zero for valgrind.
12700
06ab719d
AZ
127012018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12702
12703 [BZ #20251]
12704 * NEWS: Mention fcntl64 addition.
12705 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12706 * login/utmp_file.c: Likewise.
12707 * sysdeps/posix/fdopendir.c: Likewise.
12708 * sysdeps/posix/opendir.c: Likewise.
12709 * sysdeps/unix/pt-fcntl.c: Likewise.
12710 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12711 __fcntl64_nocancel_adjusted): New prototype.
12712 (__fcntl_nocancel_adjusted): Remove prototype.
12713 * io/Makefile (routines): Add fcntl64.
12714 (CFLAGS-fcntl64.c): New rule.
12715 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12716 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12717 * io/fcntl.h (fcntl64): Add prototype and redirect if
12718 __USE_FILE_OFFSET64 is defined.
12719 * io/fcntl64.c: New file.
12720 * manual/llio.text: Add a note for which commands fcntl acts a
12721 cancellation point.
12722 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12723 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12724 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12725 New symbols.
12726 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12727 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12728 non-LFS case.
12729 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12730 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12731 to __fcntl64_nocancel.
12732 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12733 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12734 to __fcntl64_nocancel.
12735 * sysdeps/generic/not-cancel.h: Likewise.
12736 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12737 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12738 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12739 (fcntl64): New symbol.
12740 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12741 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12742 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12745 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12746 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12747 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12748 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12749 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12750 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12751 fcntl64): Likewise.
12752 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12753 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12754 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12755 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12756 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12757 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12758 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12759 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12760 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12762 Likewise.
12763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12764 Likewise.
12765 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12766 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12767 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12768
124e0258
FW
127692018-06-26 Florian Weimer <fweimer@redhat.com>
12770
12771 Run thread shutdown functions in an explicit order.
12772 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12773 definition.
12774 (__libc_thread_freeres): Call thread shutdown functions
12775 explicitly.
12776 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12777 * include/string.h (__strerror_thread_freeres): Declare.
12778 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12779 arena_thread_freeres. No longer static. Remove thread shutdown
12780 hook registration.
12781 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12782 Declare.
12783 * resolv/res-close.c (__res_thread_freeres): Renamed from
12784 res_thread_freeres. No longer static. Remove thread shutdown
12785 hook registration.
12786 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12787 * resolv/resolv_conf.c (freeres): Remove incorrect section
12788 attribute and use libc_freeres_fn.
12789 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12790 strerror_thread_freeres. No longer static. Remove thread
12791 shutdown hook registration.
12792 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12793 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12794 shutdown hook registration.
12795 * Makerules (shlib.lds): Do not provide section boundary symbols
12796 for __libc_thread_subfreeres.
12797 * manual/memory.texi (Basic Allocation): Update comment.
12798
935d920e
FW
127992018-06-26 Florian Weimer <fweimer@redhat.com>
12800
12801 Remove always-defined _RPC_THREAD_SAFE_ macro.
12802 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12803 Do not define _RPC_THREAD_SAFE_.
12804 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12805 conditional.
12806 * sunrpc/clnt_perr.c: Likewise.
12807 * sunrpc/clnt_raw.c: Likewise.
12808 * sunrpc/clnt_simp.c: Likewise.
12809 * sunrpc/key_call.c: Likewise.
12810 * sunrpc/rpc_common.c: Likewise.
12811 * sunrpc/rpc_main.c: Likewise.
12812 * sunrpc/rpc_thread.c: Likewise.
12813 * sunrpc/svc.c: Likewise.
12814 * sunrpc/svc_raw.c: Likewise.
12815 * sunrpc/svc_simple.c: Likewise.
12816 * sumrpc/svcauth_des.c: Likewise.
12817
29055464
FW
128182018-06-26 Florian Weimer <fweimer@redhat.com>
12819
12820 * libio/Makefile (tests-internal): Add tst-vtables,
12821 tst-vtables-interposed.
12822 * libio/tst-vtables.c: New file.
12823 * libio/tst-vtables-common.c: Likewise.
12824 * libio/tst-vtables-interposed.c: Likewise.
12825
5c0202af
FW
128262018-06-26 Florian Weimer <fweimer@redhat.com>
12827
12828 * support/support_test_main.c (support_test_main): Only call
12829 setvbuf if not disables.
12830 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12831 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12832
c402355d
FW
128332018-06-26 Florian Weimer <fweimer@redhat.com>
12834
12835 [BZ #23313]
12836 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12837
43b1048a
FW
128382018-06-25 Florian Weimer <fweimer@redhat.com>
12839
12840 [BZ #18023]
12841 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12842 Use struct scratch_buffer instead of extend_alloca.
12843
1599ed4e
FW
128442018-06-25 Florian Weimer <fweimer@redhat.com>
12845
12846 [BZ #18023]
12847 * nss/getent.c (initgroups_keys): Use dynarray instead of
12848 extend_alloca.
12849
a26fe163
FW
128502018-06-25 Florian Weimer <fweimer@redhat.com>
12851
12852 [BZ #18023]
12853 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12854 Use struct scratch_buffer instead of extend_alloca.
12855
90d9d9ce
FW
128562018-06-25 Florian Weimer <fweimer@redhat.com>
12857
12858 [BZ #18023]
12859 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12860 back to malloc directly, without stack allocations.
12861
6b7b2aba
FW
128622018-06-25 Florian Weimer <fweimer@redhat.com>
12863
12864 [BZ #18023]
12865 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12866 of extend_alloca.
12867
2f9f0d18
FW
128682018-06-25 Florian Weimer <fweimer@redhat.com>
12869
12870 [BZ #18023]
12871 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12872 of extend_alloca.
12873 * nscd/hstcache.c (addhstbyX): Likewise.
12874 * nscd/pwdcache.c (addpwbyX): Likewise.
12875 * nscd/servicescache.c (addservbyX): Likewise.
12876
318bad78
FW
128772018-06-25 Florian Weimer <fweimer@redhat.com>
12878
12879 [BZ #18023]
12880 * nscd/connections.c (read_cmdline): New function.
12881 (restart): Use it. Update comment.
12882
189699ab
RL
128832018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12884
12885 [BZ #23140]
12886 * localedata/locales/csb_PL (mon): Rename to...
12887 (alt_mon): This.
12888 (abmon): Rename to...
12889 (ab_alt_mon): This.
12890 (mon): Add with proper genitive forms, copy from Wikipedia.
12891 (abmon): Likewise.
12892
0ea3f13c
RL
128932018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12894
12895 [BZ #19485]
12896 * localedata/locales/csb_PL (mon): Fix typos:
12897 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12898 (yesstr): Add, value is "jo".
12899 (nostr): Add, value is "nié".
12900
d93f4ff1
TMQMF
129012018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12902
12903 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12904 all log1p and significand functions on m680x0.
12905 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12906 of s_significand.c..
12907 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12908 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12909 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12910 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12911 s_log1p.c and include it..
12912
f6299d2a
VC
129132018-06-21 Vincent Chen <vincentc@andestech.com>
12914
12915 * elf/elf.h (R_NDS32_NONE): New define.
12916 (R_NDS32_32_RELA): Likewise.
12917 (R_NDS32_COPY): Likewise.
12918 (R_NDS32_GLOB_DAT): Likewise.
12919 (R_NDS32_JUMP_SLOT): Likewise.
12920 (R_NDS32_RELATIVE): Likewise.
12921 (R_NDS32_TLS_TPOFF): Likewise.
12922 (R_NDS32_TLS_DESC): Likewise.
12923
61ab61c2
MW
129242018-06-21 Mark Wielaard <mark@klomp.org>
12925
12926 * elf/elf.h (R_BPF_MAP_FD): Removed.
12927 (R_BPF_64_64, R_BPF_64_32): New.
12928
f496b28e
FW
129292018-06-21 Florian Weimer <fweimer@redhat.com>
12930
12931 [BZ #23253]
12932 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12933 Renamed from libc_feholdsetround_ctx.
12934 (default_libc_feresetround_ctx): Renamed from
12935 libc_feresetround_ctx.
12936 (default_libc_feholdsetround_noex_ctx): Renamed from
12937 libc_feholdsetround_noex_ctx.
12938 (default_libc_feresetround_noex_ctx): Renamed from
12939 libc_feresetround_noex_ctx.
12940 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12941 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12942 forwardning to the old implementations under the new names.
12943 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12944 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12945 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12946 (libc_feresetround_ctx): Forward to default implements for i386
12947 and MATH_SET_BOTH_ROUNDING_MODES.
12948 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12949 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12950
1760daad
JM
129512018-06-20 Joseph Myers <joseph@codesourcery.com>
12952
99c7adf9
JM
12953 * string/tst-cmp.c: Include <libc-diag.h>.
12954 (strncmp_max): Disable -Wstringop-overflow= around call to
12955 strncmp.
12956 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12957 strncasecmp.
12958
1760daad
JM
12959 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12960 (main): Disable -Wunused-value around call to strpbrk.
12961 * string/bug-strspn1.c: Include <libc-diag.h>.
12962 (main): Disable -Wunused-value around call to strspn.
12963
209ae17c
TMQMF
129642018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12965 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12966
12967 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12968 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12969
badba23c
TMQMF
129702018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12971
5e79e029
TMQMF
12972 * math/Makefile (libm-calls): Move s_significandF to...
12973 (gen-libm-calls): ... here.
12974 * math/s_significand_template.c: New file.
12975 * math/s_significand.c: Removed.
12976 * math/s_significandf.c: Removed.
12977 * math/s_significandl.c: Removed.
12978 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12979 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12980
badba23c
TMQMF
12981 * math/e_exp2_template.c (declare_mgen_finite_alias,
12982 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12983 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12984 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12985
2d1c89a5
FW
129862018-06-20 Florian Weimer <fweimer@redhat.com>
12987
12988 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12989
646c2833
JM
129902018-06-19 Joseph Myers <joseph@codesourcery.com>
12991
12992 [BZ #23280]
12993 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12994 floating-point number to strtod functions rather than possibly
12995 negating result of those functions.
12996 * stdio-common/tst-scanf-round.c: New file.
12997 * stdio-common/Makefile (tests): Add tst-scanf-round.
12998 ($(objpfx)tst-scanf-round): Depend on $(libm).
12999
c77e4dc0
ST
130002018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13001
13002 * sysdeps/mach/hurd/localplt.data: Move to...
13003 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13004 R_386_GLOB_DAT like on Linux i386.
13005
91b2f3e5
JM
130062018-06-18 Joseph Myers <joseph@codesourcery.com>
13007
f2857da7
JM
13008 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13009 (SHM_STAT_ANY): New macro.
13010 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13011 (SHM_STAT_ANY): Likewise.
13012 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13013 (SHM_STAT_ANY): Likewise.
13014 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13015 (SHM_STAT_ANY): Likewise.
13016 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13017 (SHM_STAT_ANY): Likewise.
13018 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13019 (SHM_STAT_ANY): Likewise.
13020 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13021 (SHM_STAT_ANY): Likewise.
13022 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13023 (SHM_STAT_ANY): Likewise.
13024 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13025 (SHM_STAT_ANY): Likewise.
13026 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13027 (SHM_STAT_ANY): Likewise.
13028 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13029 (SHM_STAT_ANY): Likewise.
13030 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13031 (SHM_STAT_ANY): Likewise.
13032
176c7fee
JM
13033 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13034 (SEM_STAT_ANY): New macro.
13035 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13036 (SEM_STAT_ANY): Likewise.
13037 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13038 (SEM_STAT_ANY): Likewise.
13039 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13040 (SEM_STAT_ANY): Likewise.
13041 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13042 (SEM_STAT_ANY): Likewise.
13043 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13044 (SEM_STAT_ANY): Likewise.
13045 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13046 (SEM_STAT_ANY): Likewise.
13047 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13048 (SEM_STAT_ANY): Likewise.
13049 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13050 (SEM_STAT_ANY): Likewise.
13051 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13052 (SEM_STAT_ANY): Likewise.
13053
86bf0019
JM
13054 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13055 (MSG_STAT_ANY): New macro.
13056 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13057 (MSG_STAT_ANY): Likewise.
13058 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13059 (MSG_STAT_ANY): Likewise.
13060 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13061 (MSG_STAT_ANY): Likewise.
13062 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13063 (MSG_STAT_ANY): Likewise.
13064 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13065 (MSG_STAT_ANY): Likewise.
13066 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13067 (MSG_STAT_ANY): Likewise.
13068 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13069 (MSG_STAT_ANY): Likewise.
13070 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13071 (MSG_STAT_ANY): Likewise.
13072 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13073 (MSG_STAT_ANY): Likewise.
13074
91b2f3e5
JM
13075 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13076 (MAP_TYPE): Change value to 0x2b.
13077
3fe8fc79
FW
130782018-06-18 Florian Weimer <fweimer@redhat.com>
13079
13080 [BZ #15722]
13081 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13082 socket with SOCK_CLOEXEC.
13083
809dc95d
JM
130842018-06-18 Joseph Myers <joseph@codesourcery.com>
13085
13086 [BZ #23303]
13087 * sysdeps/powerpc/powerpc64/le/Makefile
13088 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13089 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13090 (gnulib-tests): Also add $(f128-loader-link) for
13091 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13092
298a8b59
ST
130932018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13094
13095 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13096 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13097 of sendfile.
13098 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13099 (sendfile64): New strong alias.
faf7bbc2
ST
13100 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13101 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13102 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
13103 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13104 attribute.
13105 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13106 ___pthread_get_cleanup_stack.
932d05f0 13107 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
13108 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13109 * mach/shortcut.awk: Make syscall stubs include
13110 <mach-shortcuts-hidden.h> and add hidden definition.
13111 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
13112 (__mach_msg): Add hidden prototype.
13113 * mach/msg.c: Include <mach.h>.
13114 (__mach_msg): Add hidden definition.
b0344cf5
ST
13115 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13116 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13117 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13118 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
13119 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13120 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
13121 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13122 prototype and definition.
13123 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13124 hidden target for _hurd_self_sigstate.
298a8b59 13125
b12c1e79
JM
131262018-06-15 Joseph Myers <joseph@codesourcery.com>
13127
13128 [BZ #23007]
13129 * stdlib/tst-strtod-nan-sign-main.c: New file.
13130 * stdlib/tst-strtod-nan-sign.c: Likewise.
13131 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13132 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13133 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13134 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13135 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13136
b0debe14
HB
131372018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13138
13139 [BZ #23007]
13140 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13141 appropriate sign.
13142
14beef75
FW
131432018-06-14 Florian Weimer <fweimer@redhat.com>
13144
13145 [BZ #23290]
13146 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13147 that the result stays within the ISO-8859-1 range.
13148 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13149 characters are defined in IBM273.
13150
c596630b
ST
131512018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13152
13153 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13154 __mach_task_self): Remove attribute_hidden.
13155
35ebb6b0
JM
131562018-06-14 Joseph Myers <joseph@codesourcery.com>
13157
13158 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13159 ignore -Wrestrict for one test.
13160
3c7b9f1f
SE
131612018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13162 Szabolcs Nagy <szabolcs.nagy@arm.com>
13163
13164 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13165
c59ee916
FW
131662018-06-14 Florian Weimer <fweimer@redhat.com>
13167
13168 * scripts/update-abilist.sh: Accept empty list of files to patch.
13169
43b5ff50
ST
131702018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13171
13172 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13173 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
13174 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13175 __libc_read and __libc_write to __read and __write.
c8c6e6d6 13176 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
13177 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13178 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13179 __thread_switch, __evc_wait): Move declarations to...
13180 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13181 attribute_hidden.
06d1a826
ST
13182 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13183 use PLT to call _hurd_self_sigstate.
43b5ff50 13184
fcd6b5ac
JM
131852018-06-13 Joseph Myers <joseph@codesourcery.com>
13186
13187 [BZ #23279]
13188 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13189 MAX_EXP as overflowing.
13190 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13191 overflow flag.
13192 (round_str): Output also whether result overflows in each rounding
13193 mode.
13194 * stdlib/tst-strtod-round-data: Add more tests.
13195 * stdlib/tst-strtod-round-data.h: Regenerated.
13196 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13197 (TEST): Handle extra arguments for overflow flags.
13198 (struct test_overflow): New type.
13199 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13200 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13201 (test_in_one_mode): Take argument with overflow information.
13202 (do_test): Update calls to test_in_one_mode.
13203
35df5a77
CD
132042018-06-12 Carlos O'Donell <carlos@redhat.com>
13205
a745c837
CD
13206 * elf/dl-load (_dl_dst_substitute): Correct comment.
13207 (_dl_dst_count): Likewise.
13208
35df5a77
CD
13209 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13210 lll_futex_timed_wait.
13211
48b12ed5
JM
132122018-06-12 Joseph Myers <joseph@codesourcery.com>
13213
13214 [BZ #23277]
13215 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13216 attribute.
13217 * math/test-nan-const.c: New file.
13218 * math/Makefile (tests): Add test-nan-const.
13219 (CFLAGS-test-nan-const.c): New variable.
13220
cb8f6aff
L
132212018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13222
13223 * benchtests/scripts/compare_strings.py (process_results): Add
13224 funcs argument. Compare only functions which are selected.
13225 (main): Check if base function is among selected functions.
13226 Pass selected functions to process_results.
13227 (__main__): Add -f/--functions argument.
13228
fc2ba803
HZ
132292018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13230 Hongbo Zhang <hongbo.zhang@linaro.org>
13231
13232 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13233 __memcpy_falkor for phecda core.
13234 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13235 __memmove_falkor for phecda core.
13236 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13237 __memset_falkor for phecda core.
13238 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13239 for phecda core.
13240 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13241 macro to identify phecda core.
13242
5aad5f61
CD
132432018-06-12 Carlos O'Donell <carlos@redhat.com>
13244 Andreas Schwab <schwab@suse.de>
13245 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 13246 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
13247
13248 [BZ #23102]
13249 [BZ #21942]
13250 [BZ #18018]
13251 [BZ #23259]
13252 CVE-2011-0536
13253 * elf/dl-dst.h: Remove DL_DST_COUNT.
13254 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13255 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13256 (is_dst): Comment. Support ELF gABI.
13257 (_dl_dst_count): Comment. Simplify and count DSTs.
13258 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13259 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13260 locals.
13261
329ea513
ZW
132622018-06-12 Zack Weinberg <zackw@panix.com>
13263
13264 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13265 * sysdeps/unix/sysv/linux/dl-sysdep.c
13266 Include not-cancel.h. Use __close_nocancel instead of __close,
13267 __open64_nocancel instead of __open, __read_nocancel instead of
13268 __libc_read, and __write_nocancel instead of __libc_write.
13269
13270 * csu/check_fds.c (check_one_fd)
13271 * sysdeps/posix/fdopendir.c (__fdopendir)
13272 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 13273 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
13274
13275 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13276 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 13277 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
13278 Use __open64_nocancel instead of __open_nocancel.
13279
13280 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13281 hidden_proto declarations to the end and issue them if either
13282 IS_IN(libc) or IS_IN(rtld).
13283 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13284 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13285 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13286 read_nocancel, waitpid_nocancel, write_nocancel.
13287
b39d961c
TS
13288 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13289 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13290 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 13291
b39d961c
TS
13292 * nptl/pt-fcntl.c: New file.
13293 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13294 (libpthread-routines): Add pt-fcntl.
13295 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13296 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
13297 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13298 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 13299 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
13300 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13301 to fcntl_nocancel.c.
13302 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13305 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13306
13307 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13308 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13309 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13310 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13311 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13312 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13313 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13314 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13315 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13316 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13317 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13318 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13319 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13320 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13321 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13322 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13323 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13324 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13325 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13326 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13327
b39d961c
TS
13328 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13329 libpthread-routines.
13330 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13331 defines nothing.
329ea513 13332
b39d961c
TS
13333 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13334 __libc_read, and __write instead of __libc_write. Define
13335 __open64 in addition to __open.
329ea513 13336
0221ce2a
L
133372018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13338
13339 [BZ #23250]
13340 [BZ #10686]
13341 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13342 to _private_tm[3] and add __glibc_reserved2.
13343 Add _Static_assert of offset of __private_ss == 0x30.
13344 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13345 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13346
e826574c
FW
133472018-06-12 Florian Weimer <fweimer@redhat.com>
13348
13349 x86: Make strncmp usable from rtld.
13350 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13351 __strncmp_ia32 if in libc (and not in rtld).
13352 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13353 strncmp if not in libc (and not to __strncmp_sse2).
13354
c4ad5782
RL
133552018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13356
13357 [BZ #23140]
13358 * localedata/locales/gd_GB (mon): Rename to...
13359 (alt_mon): This.
13360 (mon): Import from CLDR (genitive case).
13361 * localedata/locales/hsb_DE (mon): Rename to...
13362 (alt_mon): This.
13363 (mon): Import from CLDR (genitive case).
13364 * localedata/locales/wa_BE (mon): Rename to...
13365 (alt_mon): This.
13366 (mon): Add, fill with the proper genitive forms, but CLDR data
13367 is incomplete; completed according to the comments in this file.
13368 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13369
13370 * localedata/locales/wa_BE (country_name): Reword
13371 "Beljike" -> "Beldjike".
13372
ca121b11
JM
133732018-06-11 Joseph Myers <joseph@codesourcery.com>
13374
13375 [BZ #23272]
13376 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13377 cases of non-finite arguments.
13378 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13379
2b69fecb
JDA
133802018-06-10 John David Anglin <danglin@gcc.gnu.org>
13381
13382 [BZ #23174]
13383 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13384
283d9851
AZ
133852018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13386
13387 [BZ #23264]
13388 * include/unistd.h (__execvpex): New prototype.
13389 * posix/Makefile (tests): Add tst-spawn4.
13390 (tests-internal): Add tst-spawn4-compat.
13391 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13392 * posix/tst-spawn4-compat.c: New file.
13393 * posix/tst-spawn4.c: Likewise.
13394 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13395 binaries as shell scripts.
13396 * sysdeps/posix/spawni.c (__spawni): Likewise.
13397
67c05796
L
133982018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13399
13400 [BZ #23145]
13401 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13402 ($(all-built-dso:=.dynsym): New target.
13403 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13404 ($(objpfx)check-initfini.out): New target.
13405 (generated): Add check-initfini.out.
13406 * scripts/check-initfini.awk: New file.
13407 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13408 (_fini): Likewise.
13409 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13410 (_fini): Likewise.
13411 * sysdeps/arm/crti.S (_init): Mark as hidden.
13412 (_fini): Likewise.
13413 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13414 (_fini): Likewise.
13415 * sysdeps/i386/crti.S (_init): Mark as hidden.
13416 (_fini): Likewise.
13417 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13418 (_fini): Likewise.
13419 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13420 (_fini): Likewise.
13421 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13422 (_fini): Likewise.
13423 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13424 (_fini): Likewise.
13425 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13426 (_fini): Likewise.
13427 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13428 (_fini): Likewise.
13429 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13430 (_fini): Likewise.
13431 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13432 (_fini): Likewise.
13433 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13434 (_fini): Likewise.
13435 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13436 (_fini): Likewise.
13437 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13438 (_fini): Likewise.
13439 * sysdeps/sh/crti.S (_init): Mark as hidden.
13440 (_fini): Likewise.
13441 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13442 (_fini): Likewise.
13443 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13444 (_fini): Likewise.
13445
1c09524e
TMQMF
134462018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13447
13448 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13449 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13450 and TF redirection to KFtype and KF only when the default
13451 long double type is not the IEEE 128-bit floating point type.
13452
0e0577c9
JM
134532018-06-05 Joseph Myers <joseph@codesourcery.com>
13454
0c1c33b2
JM
13455 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13456 macro.
13457 (HWCAP_USCAT): Likewise.
13458 (HWCAP_ILRCPC): Likewise.
13459 (HWCAP_FLAGM): Likewise.
13460 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13461 Increase to 28.
13462 (_dl_aarch64_cap_flags): Add new flag names.
13463
bef1cbf4
JM
13464 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13465 (MAP_FIXED_NOREPLACE): New macro.
13466 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13467 (MAP_FIXED_NOREPLACE): Likewise.
13468 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13469 (MAP_FIXED_NOREPLACE): Likewise.
13470 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13471 (MAP_FIXED_NOREPLACE): Likewise.
13472 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13473 (MAP_FIXED_NOREPLACE): Likewise.
13474 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13475 (MAP_FIXED_NOREPLACE): Likewise.
13476 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13477 (MAP_FIXED_NOREPLACE): Likewise.
13478 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13479 (MAP_FIXED_NOREPLACE): Likewise.
13480 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13481 (MAP_FIXED_NOREPLACE): Likewise.
13482 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13483 (MAP_FIXED_NOREPLACE): Likewise.
13484 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13485 (MAP_FIXED_NOREPLACE): Likewise.
13486 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13487 (MAP_FIXED_NOREPLACE): Likewise.
13488 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13489 (MAP_FIXED_NOREPLACE): Likewise.
13490 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13491 (MAP_FIXED_NOREPLACE): Likewise.
13492 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13493 (MAP_FIXED_NOREPLACE): Likewise.
13494
0e0577c9
JM
13495 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13496 version to 4.17.
13497
ab3a0da0
JM
134982018-06-04 Joseph Myers <joseph@codesourcery.com>
13499
13500 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13501 version to 4.17
13502
d2d9dfb6
ST
135032018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13504
13505 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13506 int.
13507 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13508
a650b05e
LS
135092018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13510
13511 * benchtests/scripts/compare_string.py: (process_results) Catch
13512 exception in non-existent base_func and catch exception in
13513 non-existent attribute.
13514 (parse_file) Catch exception if input file does not exist.
13515
195abbf4
LS
135162018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13517
13518 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13519 options to avoid diff calculation and omit header, respectively.
13520 (main): process --no-diff and --no-header
13521
14570163
LS
135222018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13523 H.J. Lu <hongjiu.lu@intel.com>
13524
13525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13526 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13527 wcsncmp-sse2.
13528 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13529 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13530 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13531 and __wcsncmp_sse2.
13532 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13533 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13534 AVX unaligned load is fast and vzeroupper is preferred.
13535 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13536 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13537 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13538 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13539 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13540 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13541 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13542 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13543 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13544 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13545 is undefined.
13546
e02c026f
FW
135472018-06-01 Florian Weimer <fweimer@redhat.com>
13548
13549 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13550 configuring with --disable-multi-arch, building with
13551 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13552 Haswell-era CPU.
13553
d8c19275
FW
135542018-06-01 Florian Weimer <fweimer@redhat.com>
13555
13556 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13557 results from building with “-march=x86-64 -mtune=generic
13558 -mfpmath=sse” and running on a Haswell-era CPU.
13559
0d2163eb
JM
135602018-06-01 Joseph Myers <joseph@codesourcery.com>
13561
13562 [BZ #18473]
13563 * soft-fp/sqrttf2.c: Remove file.
13564 * soft-fp/sqrtdf2.c: Move to ....
13565 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13566 <shlib-compat.h>.
13567 (__sqrtdf2): Make conditional on
13568 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13569 symbol.
13570 * soft-fp/sqrtsf2.c: Move to ....
13571 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13572 <shlib-compat.h>.
13573 (__sqrtsf2): Make conditional on
13574 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13575 symbol.
13576 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13577 (gcc-double-routines): Remove sqrtdf2.
13578 (gcc-quad-routines): Remove sqrttf2.
13579 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13580 Do not filter out sqrtsf2 and sqrtdf2.
13581 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13582 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13583
10450210
FW
135842018-06-01 Florian Weimer <fweimer@redhat.com>
13585
13586 * sysdeps/generic/libcidn.abilist: Remove file.
13587
4e8a6346
FW
135882018-06-01 Florian Weimer <fweimer@redhat.com>
13589
13590 [BZ #23236]
13591 * libio/strfile.h (struct _IO_str_fields): Rename members to
13592 discourage their use and add comment.
13593 (_IO_STR_DYNAMIC): Remove unused macro.
13594 * libio/strops.c (_IO_str_init_static_internal): Do not use
13595 callback pointers. Call malloc and free.
13596 (_IO_str_overflow): Do not use callback pointers. Call malloc
13597 and free.
13598 (enlarge_userbuf): Likewise.
13599 (_IO_str_finish): Call free.
13600 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13601 _allocate_buffer_unused.
13602 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13603 and free.
13604 (enlarge_userbuf): Likewise.
13605 (_IO_wstr_finish): Call free.
13606 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13607 _allocate_buffer_unused, _free_buffer_unused.
13608 * libio/memstream.c (__open_memstream): Likewise.
13609 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13610 * libio/wmemstream.c (open_wmemstream): Likewise.
13611
50d004c9
PP
136122018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13613
13614 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13615 AMD Ryzen 7 1800X.
13616
2c93fce7
RS
136172018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13618
13619 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13620 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13621 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13622 New file.
13623 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13624 Likewise.
13625 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13626
0ce2fa69
FW
136272018-05-29 Florian Weimer <fweimer@redhat.com>
13628
13629 * support/Makefile (libsupport-routines): Add
13630 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13631 xpthread_barrierattr_setpshared.
13632 * support/xpthread_barrierattr_destroy.c: New file.
13633 * support/xpthread_barrierattr_init.c: Likewise.
13634 * support/xpthread_barrierattr_setpshared.c: Likewise.
13635
7f7b5d8d
L
136362018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13637
13638 [BZ #23206]
13639 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13640 _r_debug and update DT_DEBUG for debugger.
13641
e4890300
FW
136422018-05-29 Florian Weimer <fweimer@redhat.com>
13643
13644 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13645 (tst-strtod5i.out): Likewise.
13646
2c753f3e
JM
136472018-05-25 Joseph Myers <joseph@codesourcery.com>
13648
b5453d9f
JM
13649 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13650 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13651 (sparc64-quad-routines): New variable. Moved from ....
13652 [$(subdir) = soft-fp] (sysdep_routines): Add
13653 $(sparc64-quad-routines). Moved from ....
13654 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13655 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13656 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13657 moved from ....
13658 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13659 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13660 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13661 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13662 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13663 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13664 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13665 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13666 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13667 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13668 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13669 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13670 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13671 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13672 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13673 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13674 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13675 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13676 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13677 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13678 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13679 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13680 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13681 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13682 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13683 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13684 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13685 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13686 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13687 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13688 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13689 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13690 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13691 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13692 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13693 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13694 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13695 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13696 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13697 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13698 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13699 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13700 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13701 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13702 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13703 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13704 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13705 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13706 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13707 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13708 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13709 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13710 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13711 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13712 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13713 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13714 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13715 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13716
2c753f3e
JM
13717 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13718 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13719 (sparc32-quad-routines): New variable. Moved from ....
13720 [$(subdir) = soft-fp] (sysdep_routines): Add
13721 $(sparc32-quad-routines). Moved from ....
13722 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13723 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13724 moved from ....
13725 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13726 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13727 * sysdeps/sparc/sparc32/q_add.c: ... here.
13728 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13729 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13730 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13731 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13732 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13733 * sysdeps/sparc/sparc32/q_div.c: ... here.
13734 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13735 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13736 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13737 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13738 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13739 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13740 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13741 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13742 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13743 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13744 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13745 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13746 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13747 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13748 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13749 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13750 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13751 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13752 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13753 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13754 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13755 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13756 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13757 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13758 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13759 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13760 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13761 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13762 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13763 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13764 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13765 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13766 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13767 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13768 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13769 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13770 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13771 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13772 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13773 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13774 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13775 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13776 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13777 * sysdeps/sparc/sparc32/q_util.c: ... here.
13778 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13779 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13780 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13781 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13782
c1dc1e1b
TMQMF
137832018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13784 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13785
13786 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13787 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13788 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13789 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13790
14186e8d
JM
137912018-05-24 Joseph Myers <joseph@codesourcery.com>
13792
13793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13794 powerpc/soft-fp.
13795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13796 Likewise.
13797 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13798 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13799
fb0e10b8
GG
138002018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13801
13802 [BZ #23171]
13803 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13804 double version.
13805
1dfeb17e
JM
138062018-05-23 Joseph Myers <joseph@codesourcery.com>
13807
13808 * sysdeps/sh/Implies: Remove sh/soft-fp.
13809 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13810 * sysdeps/sh/sfp-machine.h: ... here.
13811
727b38df
L
138122018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13813
13814 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13815 (__mempcpy_erms): Skip zero length.
13816 (__memmove_erms): Likewise.
13817 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13818 (__memset_erms): Likewise.
13819
2834fb46
JM
138202018-05-23 Joseph Myers <joseph@codesourcery.com>
13821
13822 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13823 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13824 Add functions moved from ....
13825 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13826 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13827 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13828 from ....
13829 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13830 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13831 * sysdeps/alpha/e_sqrtl.c: ... here.
13832 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13833 * sysdeps/alpha/local-soft-fp.h: ... here.
13834 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13835 * sysdeps/alpha/ots_add.c: ... here.
13836 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13837 * sysdeps/alpha/ots_cmp.c: ... here.
13838 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13839 * sysdeps/alpha/ots_cmpe.c: ... here.
13840 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13841 * sysdeps/alpha/ots_cvtqux.c: ... here.
13842 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13843 * sysdeps/alpha/ots_cvtqx.c: ... here.
13844 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13845 * sysdeps/alpha/ots_cvttx.c: ... here.
13846 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13847 * sysdeps/alpha/ots_cvtxq.c: ... here.
13848 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13849 * sysdeps/alpha/ots_cvtxt.c: ... here.
13850 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13851 * sysdeps/alpha/ots_div.c: ... here.
13852 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13853 * sysdeps/alpha/ots_mul.c: ... here.
13854 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13855 * sysdeps/alpha/ots_nintxq.c: ... here.
13856 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13857 * sysdeps/alpha/ots_sub.c: ... here.
13858 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13859 * sysdeps/alpha/sfp-machine.h: ... here.
13860
7f9f1ecb
FW
138612018-05-23 Florian Weimer <fweimer@redhat.com>
13862
13863 [BZ #19728]
13864 [BZ #19729]
13865 [BZ #22247]
13866 CVE-2016-6261
13867 CVE-2016-6263
13868 CVE-2017-14062
13869 Switch to extern IDNA implementation (libidn2).
13870 * libidn: Remove subdirectory.
13871 * LICENSES: Do not mention licensing conditions for the removed
13872 libidn code.
13873 * config.h.in (HAVE_LIBIDN): Remove.
13874 * include/dlfcn.h (__libc_dlopen): Update comment.
13875 * include/idna.h: Remove file.
13876 * inet/Makefile (routines): Add idna.
13877 (tests-static, tests-internal): Add tst-idna_name_classify.
13878 (LOCALES): Generate locales for tests.
13879 (tst-idna_name_classify.out): Depend on generated locales.
13880 * inet/idna_name_classify.c: New file.
13881 * inet/tst-idna_name_classify.c: Likewise.
13882 * inet/net-internal.h (__idna_to_dns_encoding)
13883 (__idna_from_dns_encoding): Declare.
13884 * inet/net-internal.h (enum idna_name_classification): Define.
13885 (__idna_name_classify): Declare.
13886 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13887 __idna_from_dns_encoding.
13888 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13889 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13890 name as a fallback in case of encoding errors.
13891 (getnameinfo): Use DEPRECATED_NI_IDN.
13892 * inet/idna.c: New file.
13893 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13894 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13895 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13896 (modules-names): Add tst-no-libidn2.
13897 (extra-test-objs): Add tst-no-libidn2.os.
13898 (LDFLAGS-tst-no-libidn2.so): Set soname.
13899 (LOCALES): Set, and generate locales.
13900 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13901 (tst-resolv-ai_idn-latin1): Likewise.
13902 (tst-resolv-ai_idn-nolibidn2): Likewise.
13903 (tst-resolv-ai_idn.out): Depend on locales.
13904 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13905 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13906 tst-no-libidn2.so.
13907 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13908 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13909 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13910 * resolv/tst-resolv-ai_idn.c: New file.
13911 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13912 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13913 * resolv/tst-no-libidn2.c: Likewise.
13914 * support/support_format_addrinfo.c (format_ai_flags): Do not
13915 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13916 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13917 (gaih_inet): Call __idna_to_dns_encoding and
13918 __idna_from_dns_encoding, and use the original (punycode) name if
13919 __idna_from_dns_encoding fails due to an encoding error.
13920 (getaddrinfo): Use DEPRECATED_AI_IDN.
13921 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13922 * sysdeps/unix/inet/configure: Remove file.
13923 * sysdeps/unix/inet/configure.ac: Likewise.
13924
5f7b841d
FW
139252018-05-23 Florian Weimer <fweimer@redhat.com>
13926
13927 Implement allocate_once.
13928 * include/allocate_once.h: New file.
13929 * misc/allocate_once.c: Likewise.
13930 * misc/tst-allocate_once.c: Likewise.
13931 * misc/Makefile (routines): Add allocate_once.
13932 (tests-internal): Add tst-allocate_once.
13933 (generated): Add tst-allocate_once.mtrace,
13934 tst-allocate_once-mem.out.
13935 (tests-special): Add tst-allocate_once-mem.out.
13936 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13937 (tst-allocate_once-mem.out): Call mtrace.
13938 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13939
ed983107
L
139402018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13941
13942 [BZ #23196]
13943 * string/test-memcpy.c (do_test1): New function.
13944 (test_main): Call it.
13945
9aaaab7c
AS
139462018-05-23 Andreas Schwab <schwab@suse.de>
13947
13948 [BZ #23196]
13949 CVE-2018-11237
13950 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13951 (L(preloop_large)): Save initial destination pointer in %r11 and
13952 use it instead of %rax after the loop.
13953 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13954
5c5c0dd7
JM
139552018-05-22 Joseph Myers <joseph@codesourcery.com>
13956
8f145c77
JM
13957 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13958 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13959 -I../soft-fp. Moved from ....
13960 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13961 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13962 * sysdeps/aarch64/e_sqrtl.c: ... here.
13963 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13964 * sysdeps/aarch64/sfp-machine.h: ... here.
13965
3d6302a5
JM
13966 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13967 -Wmaybe-uninitialized around access to fq[0].
13968 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13969 Likewise.
13970
5c5c0dd7
JM
13971 [BZ #18471]
13972 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13973 aliases for non-libc case of versioned symbols.
13974 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13975 (llseek): Define as compat symbol if
13976 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13977 with link warning.
13978 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13979 Make into a compat symbol, disabled for minimum symbol version
13980 GLIBC_2.28 and later.
13981 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13982
ed0d6988
FW
139832018-05-22 Florian Weimer <fweimer@redhat.com>
13984
13985 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13986 not add -mpreferred-stack-boundary=4.
13987 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13988 (stack-align-test-flags): Likewise.
13989 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13990 Likewise.
13991 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13992 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13993 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13994 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13995 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13996 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13997 (CFLAGS-tst-align2.c): Likewise.
13998
e28e9b1e
L
139992018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14000
14001 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14002 (index_arch_Prefer_FSRM): Likewise.
14003 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14004 Also check Prefer_FSRM.
14005 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14006 Also return OPTIMIZE (erms) for Prefer_FSRM.
14007
1af30adc
L
140082018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14009
14010 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14011 (index_cpu_FSRM): Likewise.
14012 (reg_FSRM): Likewise.
14013
78274dc8
JM
140142018-05-18 Joseph Myers <joseph@codesourcery.com>
14015
7c67e6e8
JM
14016 * math/gen-tgmath-tests.py: Import sys.
14017 (Tests.__init__): Initialize macros_seen.
14018 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14019 if requested to do so for this macro.
14020 (Tests.add_all_tests): Take argument for macro for which to
14021 generate tests.
14022 (Tests.check_macro_list): New function.
14023 (main): Handle check-list argument and argument specifying macro
14024 for which to generate tests.
14025 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14026 [PYTHON] (tgmath3-macro-tests): Likewise.
14027 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14028 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14029 not test-tgmath3.c.
14030 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14031 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14032 to CFLAGS.
14033 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14034 [PYTHON] ($(foreach
14035 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14036 rule.
14037 [PYTHON] (tests-special): Add
14038 $(objpfx)test-tgmath3-macro-list.out.
14039 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14040
ebc129fd
JM
14041 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14042 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14043 later.
14044
78274dc8
JM
14045 [BZ #22639]
14046 * time/tzset.c (SECSPERDAY): Cast to time_t.
14047 * time/tst-y2039.c: New file.
14048 * time/Makefile (tests): Add tst-y2039.
14049
6f7fdeeb
LS
140502018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14051
14052 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14053 (PREFETCH_ONE_SET): Remove duplicate line.
14054
e363a91c
FW
140552018-05-17 Florian Weimer <fweimer@redhat.com>
14056
14057 * sysdeps/generic/math-type-macros-double.h: Include
14058 <math-nan-payload-double.h> after <libm-alias-double.h>.
14059 * sysdeps/generic/math-type-macros-float.h: Include
14060 <math-nan-payload-float.h> after <libm-alias-float.h>.
14061 * sysdeps/generic/math-type-macros-float128.h: Include
14062 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14063 * sysdeps/generic/math-type-macros-ldouble.h: Include
14064 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14065
dae6c43c
AS
140662018-05-17 Andreas Schwab <schwab@suse.de>
14067
14068 * resolv/res_send.c (__res_context_send): Don't set errno when
14069 returing error after malloc failure.
14070
0068c085
L
140712018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14072
14073 * nptl/allocatestack.c (allocate_stack): Remove the
14074 !__ASSUME_PRIVATE_FUTEX paths.
14075 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14076 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14077 Likewise.
14078 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14079 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14080 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14081 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14082 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14083 !__ASSUME_PRIVATE_FUTEX path.
14084 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14085 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14086 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14087 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14088 !__ASSUME_PRIVATE_FUTEX macros.
14089 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14090 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14091 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14092 * sysdeps/unix/sysv/linux/kernel-features.h
14093 (__ASSUME_PRIVATE_FUTEX): Removed.
14094
632a6cbe
JM
140952018-05-17 Joseph Myers <joseph@codesourcery.com>
14096
14097 * math/Makefile (libm-narrow-fns): Add div.
14098 (libm-test-funcs-narrow): Likewise.
14099 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14100 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14101 * math/gen-auto-libm-tests.c (test_functions): Add div.
14102 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14103 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14104 (NARROW_DIV_TRIVIAL): Likewise.
14105 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14106 macro.
14107 (__ddivl): Likewise.
14108 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14109 ddiv.
14110 (CFLAGS-nldbl-ddiv.c): New variable.
14111 (CFLAGS-nldbl-fdiv.c): Likewise.
14112 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14113 __nldbl_ddivl.
14114 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14115 prototype.
14116 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14117 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14118 * math/auto-libm-test-in: Add tests of div.
14119 * math/auto-libm-test-out-narrow-div: New generated file.
14120 * math/libm-test-narrow-div.inc: New file.
14121 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14122 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14124 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14125 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14126 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14127 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14128 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14129 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14130 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14131 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14132 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14133 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14134 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14135 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14136 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14137 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14138 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14140 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14141 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14142 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14143 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14144 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14145 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14146 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14147 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14148 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14149 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14150 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14151 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14152 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14157 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14158 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14159 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14160 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14161 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14162 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14163 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14164 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14165
8c78faa9
AZ
141662018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14167
14168 [BZ #23178]
14169 * nscd/nscd-client.h (sendfileall): Remove prototype.
14170 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14171 (handle_request): Use writeall instead of sendfileall.
14172 * nscd/aicache.c (addhstaiX): Likewise.
14173 * nscd/grpcache.c (cache_addgr): Likewise.
14174 * nscd/hstcache.c (cache_addhst): Likewise.
14175 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14176 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14177 * nscd/pwdcache.c (cache_addpw): Likewise.
14178 * nscd/servicescache.c (cache_addserv): Likewise.
14179 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14180 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14181 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14182 Remove define.
14183
04958880
L
141842018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14185
14186 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14187 Include <string/strncat.c>.
14188 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14189 alias.
14190 (__GI___strncat): New hidden alias.
14191
c9992d13
JM
141922018-05-16 Joseph Myers <joseph@codesourcery.com>
14193
14194 * sysdeps/mips/mips32/libm-test-ulps: Update.
14195 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14196
2afece36
FW
141972018-05-16 Florian Weimer <fweimer@redhat.com>
14198
14199 * support/Makefile (libsupport-routines): Add support_quote_blob,
14200 support_test_compare_blob.
14201 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14202 * support/check.h (TEST_COMPARE_BLOB): Define.
14203 (support_test_compare_blob): Declare.
14204 * support/support.h (support_quote_blob): Declare.
14205 * support/support_quote_blob.c: New file.
14206 * support/support_test_compare_blob.c: Likewise.
14207 * support/tst-support_quote_blob.c: Likewise.
14208 * support/tst-test_compare_blob.c: Likewise.
14209
9761bf4d
FW
142102018-05-16 Florian Weimer <fweimer@redhat.com>
14211
14212 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14213 of <strtod_nan_double.h>.
14214 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14215 instead of SET_MANTISSA.
14216 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14217 of include <strtod_nan_float.h>.
14218 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14219 instead of <strtod_nan_ldouble.h>.
14220 * stdlib/strtod_nan_double.h: Move to ...
14221 * sysdeps/generic/math-nan-payload-double.h: ... here.
14222 (FLOAT): Remove definition.
14223 (SET_MANTISSA): Rename to ...
14224 (SET_NAN_PAYLOAD): ... this.
14225 * stdlib/strtod_nan_float.h: Move to ...
14226 * sysdeps/generic/math-nan-payload-float.h: ... here.
14227 (FLOAT): Remove definition.
14228 (SET_MANTISSA): Rename to ...
14229 (SET_NAN_PAYLOAD): ... this.
14230 * sysdeps/generic/math-type-macros-double.h: Include
14231 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14232 instead of <math-svid-compat.h>.
14233 * sysdeps/generic/math-type-macros-float.h: Include
14234 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14235 instead of <math-svid-compat.h>.
14236 * sysdeps/generic/math-type-macros-float128.h: Include
14237 <math-nan-payload-float128.h>.
14238 * sysdeps/generic/math-type-macros-ldouble.h: Include
14239 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14240 instead of <math-svid-compat.h>.
14241 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14242 check for definition.
14243 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14244 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14245 Include <ieee754_float128.h>.
14246 (FLOAT): Remove definition.
14247 (SET_MANTISSA): Rename to ...
14248 (SET_NAN_PAYLOAD): ... this.
14249 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14250 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14251 Do not include <float128_private.h>.
14252 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14253 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14254 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14255 (FLOAT): Remove definition.
14256 (SET_MANTISSA): Rename to ...
14257 (SET_NAN_PAYLOAD): ... this.
14258 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14259 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14260 (FLOAT): Remove definition.
14261 (SET_MANTISSA): Rename to ...
14262 (SET_NAN_PAYLOAD): ... this.
14263 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14264 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14265 (FLOAT): Remove definition.
14266 (SET_MANTISSA): Rename to ...
14267 (SET_NAN_PAYLOAD): ... this.
14268 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14269 of "../stdlib/strtod_nan_double.h".
14270 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14271 of "../stdlib/strtod_nan_float.h".
14272 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14273 instead of "../stdlib/strtod_nan_ldouble.h".
14274 * manual/arith.texi (Parsing of Floats): Adjust comment.
14275
69a01461
JM
142762018-05-16 Joseph Myers <joseph@codesourcery.com>
14277
14278 * math/Makefile (libm-narrow-fns): Add mul.
14279 (libm-test-funcs-narrow): Likewise.
14280 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14281 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14282 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14283 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14284 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14285 (NARROW_MUL_TRIVIAL): Likewise.
14286 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14287 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14288 macro.
14289 (__dmull): Likewise.
14290 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14291 dmul.
14292 (CFLAGS-nldbl-dmul.c): New variable.
14293 (CFLAGS-nldbl-fmul.c): Likewise.
14294 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14295 __nldbl_dmull.
14296 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14297 prototype.
14298 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14299 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14300 * math/auto-libm-test-in: Add tests of mul.
14301 * math/auto-libm-test-out-narrow-mul: New generated file.
14302 * math/libm-test-narrow-mul.inc: New file.
14303 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14304 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14305 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14306 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14307 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14308 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14309 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14310 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14311 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14312 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14313 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14314 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14315 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14316 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14317 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14318 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14319 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14320 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14322 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14323 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14324 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14325 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14326 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14327 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14328 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14329 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14330 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14331 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14332 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14333 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14334 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14339 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14340 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14341 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14342 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14343 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14344 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14345 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14346 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14347
a15529fd
L
143482018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14349
14350 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14351 with *%eax in call.
14352
98ee36c7
L
143532018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14354
14355 * sysdeps/i386/ldsodefs.h: Removed.
14356 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14357 * sysdeps/x86/ldsodefs.h: This.
14358 (La_i86_regs): New.
14359 (La_i86_retval): Likewise.
14360 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14361 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14362
e322ec32
L
143632018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14364
14365 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14366 unnecessary testl.
14367
0937e209
AM
143682018-05-13 Alan Modra <amodra@gmail.com>
14369
14370 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14371 R_PARISC_TLS_DTPOFF32 reloc addend.
14372
5db7d705
TMQMF
143732018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14374
14375 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14376 * math/math.h: Restrict the prototype definition for the functions
14377 issignaling(_Float128) and iszero(_Float128); and template
14378 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14379 __HAVE_FLOAT128_UNLIKE_LDBL.
14380 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14381 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14382 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14383 __f128() constants; define the type _Float128 as long double;
14384 and reuse long double in __CFLOAT128.
14385
b4d5b8b0
JM
143862018-05-11 Joseph Myers <joseph@codesourcery.com>
14387
14388 * sysdeps/generic/math_private.h: Do not include
14389 <math-barriers.h>.
14390 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14391 <math_private.h>.
14392 * math/fromfp.h: Include <math-barriers.h>.
14393 * math/math-narrow.h: Likewise.
14394 * math/s_nextafter.c: Likewise.
14395 * math/s_nexttowardf.c: Likewise.
14396 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14397 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14398 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14399 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14400 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14401 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14402 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14403 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14404 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14405 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14406 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14407 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14408 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14409 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14410 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14411 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14412 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14413 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14414 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14415 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14416 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14417 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14418 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14419 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14420 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14421 * sysdeps/ieee754/k_standardl.c: Likewise.
14422 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14423 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14424 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14425 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14426 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14427 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14428 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14429 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14430 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14431 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14432 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14433 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14434 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14435 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14436 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14437 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14438 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14439 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14440 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14441 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14442 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14443 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14444
fc79706a
FW
144452018-05-11 Florian Weimer <fweimer@redhat.com>
14446
14447 Use 64-bit epoch values in the time zone file parser.
14448 * include/time.h (internal_time_t): Define.
14449 (__tzfile_compute): Use it.
14450 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14451 member.
14452 (transitions): Switch to internal_time_t.
14453 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14454 types.
14455 (__tzfile_compute): Use internal_time_t for timer argument. Check
14456 for truncation before calling __offtime.
14457
89aacb51
FW
144582018-05-11 Florian Weimer <fweimer@redhat.com>
14459
14460 [BZ #23166]
14461 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14462 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14463 Likewise.
14464 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14465 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14466 export without --enable-obsolete-rpc.
14467 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14468 symbol. This should not have been exported, ever.
14469
bb066cb8
RL
144702018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14471
14472 [BZ #23152]
14473 * localedata/locales/gd_GB (abmon): Fix typo in May:
14474 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14475
70c97f84
SP
144762018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14477
db725a45
SP
14478 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14479 Use multiple registers to copy data in loop tail.
14480
70c97f84
SP
14481 * sysdeps/aarch64/multiarch/memmove_falkor.S
14482 (__memmove_falkor): Use multiple registers to move data in
14483 loop tail.
14484
8f5b00d3
JM
144852018-05-10 Joseph Myers <joseph@codesourcery.com>
14486
14487 * math/math-underflow.h: New file.
14488 * sysdeps/generic/math_private.h: Do not include <float.h>.
14489 (fabs_tg): Remove macro. Moved to math-underflow.h.
14490 (min_of_type_f): Likewise.
14491 (min_of_type_): Likewise.
14492 (min_of_type_l): Likewise.
14493 (min_of_type_f128): Likewise.
14494 (min_of_type): Likewise.
14495 (math_check_force_underflow): Likewise.
14496 (math_check_force_underflow_nonneg): Likewise.
14497 (math_check_force_underflow_complex): Likewise.
14498 * math/e_exp2_template.c: Include <math-underflow.h>.
14499 * math/k_casinh_template.c: Likewise.
14500 * math/s_catan_template.c: Likewise.
14501 * math/s_catanh_template.c: Likewise.
14502 * math/s_ccosh_template.c: Likewise.
14503 * math/s_cexp_template.c: Likewise.
14504 * math/s_clog10_template.c: Likewise.
14505 * math/s_clog_template.c: Likewise.
14506 * math/s_csin_template.c: Likewise.
14507 * math/s_csinh_template.c: Likewise.
14508 * math/s_csqrt_template.c: Likewise.
14509 * math/s_ctan_template.c: Likewise.
14510 * math/s_ctanh_template.c: Likewise.
14511 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14512 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14513 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14514 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14515 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14516 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14517 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14518 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14519 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14520 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14521 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14522 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14523 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14524 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14525 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14526 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14527 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14528 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14529 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14530 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14531 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14532 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14533 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14534 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14535 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14536 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14537 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14538 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14539 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14540 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14541 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14542 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14543 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14544 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14545 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14546 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14547 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14548 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14549 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14550 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14551 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14552 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14553 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14554 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14555 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14556 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14557 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14558 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14559 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14560 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14561 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14562 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14563 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14564 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14565 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14566 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14567 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14568 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14569 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14570 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14571 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14572 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14573 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14574 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14575 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14576 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14577 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14578 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14579 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14580 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14581 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14582 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14583 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14584 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14585 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14586 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14587 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14588 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14589 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14590 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14591 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14592 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14593 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14594 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14595
9ed2e15f
JM
145962018-05-09 Joseph Myers <joseph@codesourcery.com>
14597
14598 * sysdeps/generic/math-barriers.h: New file.
14599 * sysdeps/generic/math_private.h [!math_opt_barrier]
14600 (math_opt_barrier): Move to math-barriers.h.
14601 [!math_opt_barrier] (math_force_eval): Likewise.
14602 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14603 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14604 math-barriers.h.
14605 (math_force_eval): Likewise.
14606 * sysdeps/alpha/fpu/math-barriers.h: New file.
14607 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14608 math-barriers.h.
14609 (math_force_eval): Likewise.
14610 * sysdeps/x86/fpu/math-barriers.h: New file.
14611 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14612 math-barriers.h.
14613 (math_force_eval): Likewise.
14614 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14615 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14616 multiple-include guard for rename.
14617 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14618 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14619 math-barriers.h.
14620 (math_force_eval): Likewise.
14621
5460617d
PP
146222018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14623
14624 [BZ #22786]
43d4f3d5 14625 CVE-2018-11236
5460617d
PP
14626 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14627 computation.
14628 * stdlib/Makefile (test-bz22786): New test.
14629 * stdlib/test-bz22786.c: New test.
14630
aaee3cd8
JM
146312018-05-09 Joseph Myers <joseph@codesourcery.com>
14632
14633 * include/math-narrow-eval.h: New file. Contents moved from ....
14634 * sysdeps/generic/math_private.h: ... here.
14635 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14636 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14637 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14638 * stdlib/strtod_l.c: Likewise.
14639 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14640 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14641 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14642 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14643 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14644 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14647 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14648 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14649 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14650 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14652 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14653 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14654 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14655 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14656 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14657 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14658 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14659 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14660 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14661 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14662 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14663 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14664 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14665 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14666 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14667 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14668
0555c477
AS
146692018-05-08 Andreas Schwab <schwab@suse.de>
14670
14671 * sysdeps/nptl/internaltypes.h: Fix comment.
14672
50d7d351
L
146732018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14674
14675 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14676 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14677 hidden.
14678
543477f7
SP
146792018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14680
14681 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14682 of I into loop header.
14683 * benchtests/bench-memmove-walk.c
14684 (test_main): Likewise.
14685
146862018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
14687
14688 Revert:
14689 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14690 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14691
0065aaaa
PP
146922018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14693
14694 [BZ #20419]
14695 * elf/dl-load.c (open_verify): Fix stack overflow.
14696 * elf/Makefile (tst-big-note): New test.
14697 * elf/tst-big-note-lib.S: New.
14698 * elf/tst-big-note.c: New.
14699
b289cd9d
JM
147002018-05-04 Joseph Myers <joseph@codesourcery.com>
14701
14702 * scripts/abilist.awk: Ignore absolute symbols.
14703 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14704 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14705 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14706 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14707 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14708 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14709 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14710 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14711 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14712 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14713 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14714 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14715 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14716 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14717 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14718 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14719 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14720 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14721 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14722 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14723 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14724 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14725 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14726 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14727 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14728 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14729 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14730 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14731 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14732 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14733 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14734 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14735 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14736 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14737 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14738 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14739 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14740 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14741 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14742 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14743 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14744 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14745 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14746 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14747 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14748 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14749 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14750 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14751 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14752 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14753 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14754 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14755 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14756 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14757 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14758 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14759 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14760 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14761 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14762 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14763 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14764 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14765 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14766 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14767 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14768 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14769 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14770 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14771 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14772 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14773 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14774 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14775 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14776 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14777 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14778 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14779 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14780 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14781 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14782 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14783 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14784 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14785 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14786 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14787 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14788 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14789 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14790 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14791 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14792 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14793 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14794 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14795 Likewise.
14796 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14797 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14798 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14799 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14800 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14801 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14802 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14803 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14804 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14805 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14806 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14807 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14808 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14809 Likewise.
14810 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14811 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14812 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14813 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14814 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14815 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14816 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14817 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14818 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14819 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14820 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14821 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14822 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14823 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14824 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14825 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14826 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14827 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14828 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14829 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14830 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14831 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14832 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14833 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14834 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14835 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14836 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14837 Likewise.
14838 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14839 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14840 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14841 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14842 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14843 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14844 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14845 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14846 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14847 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14848 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14849 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14850 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14851 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14852 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14853 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14854 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14855 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14856 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14857 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14858 Likewise.
14859 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14860 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14861 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14862 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14863 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14864 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14865 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14866 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14867 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14868 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14869 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14870 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14871 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14872 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14873 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14874 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14875 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14876 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14877 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14878 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14879 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14880 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14881 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14882 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14883 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14884 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14885 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14886 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14891 Likewise.
14892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14897 Likewise.
14898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14899 Likewise.
14900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14902 Likewise.
14903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14905 Likewise.
14906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14907 Likewise.
14908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14911 Likewise.
14912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14913 Likewise.
14914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14915 Likewise.
14916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14920 Likewise.
14921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14927 Likewise.
14928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14930 Likewise.
14931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14932 Likewise.
14933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14934 Likewise.
14935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14936 Likewise.
14937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14940 Likewise.
14941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14942 Likewise.
14943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14944 Likewise.
14945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14946 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14947 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14948 Likewise.
14949 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14950 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14951 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14952 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14953 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14954 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14955 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14956 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14957 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14958 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14959 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14960 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14961 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14962 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14963 Likewise.
14964 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14965 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14966 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14967 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14968 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14969 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14970 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14971 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14972 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14973 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14974 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14975 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14976 Likewise.
14977 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14978 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14979 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14980 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14981 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14982 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14983 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14984 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14985 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14986 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14987 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14988 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14989 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14990 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14991 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14992 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14993 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14994 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14995 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14996 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14997 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14998 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14999 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15000 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15001 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15002 Likewise.
15003 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15004 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15005 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15006 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15007 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15008 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15009 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15010 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15011 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15012 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15013 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15014 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15015 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15016 Likewise.
15017 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15019 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15020 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15021 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15024 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15025 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15026 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15030 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15031 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15032 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15033 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15034 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15035 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15036 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15037 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15038 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15039 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15040 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15041 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15043 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15044 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15045 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15046 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15047 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15048 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15049 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15050 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15051 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15052 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15053 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15054 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15055
16609018
SL
150562018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15057
15058 [BZ #23137]
15059 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15060 Use atomic_load_acquire to load __tid.
15061
556f5c46
L
150622018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15063
15064 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15065 Restore the pointer into %rdx, after syscall and use %rdx,
15066 instead of %rsi, to restore context.
15067
8b8f32b2
L
150682018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15069
15070 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15071 Pop the pointer into %rdx after syscall and use %rdx, instead
15072 of %rsi, to restore context.
15073
d6cc1829
L
150742018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15075
15076 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15077 handlers after setjmp.
15078 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15079 defined.
15080 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15081 <libc-pointer-arith.h>.
15082 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15083 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15084 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15085 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15086 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15087 * sysdeps/x86/__longjmp_cancel.S: New file.
15088 * sysdeps/x86/longjmp.c: Likewise.
15089 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15090
cf2478d5
AZ
150912018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15092
15093 * NEWS: Add ustat.h deprecation entry.
15094 * bits/ustat.h: Remove file.
15095 * misc/sys/ustat.h: Likewise.
15096 * misc/ustat.h: Likewise.
15097 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15098 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15099 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15100 compatibility mode.
15101 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15102 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15103 generic Linux implementation.
15104
dc115e1c
TMQMF
151052018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15106
15107 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15108 * math/w_expl_compat.c: Likewise.
15109 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15110
6b5c8607 151112018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
15112
15113 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15114
c57bf7c1
AZ
151152018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15116
15117 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15118 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15119 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15120 Remove.
15121 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15123 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15124 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15125 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15126 and SYSCALL_LL64.
15127
06135c33
TMQMF
151282018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15129
33927914
TMQMF
15130 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15131
06135c33
TMQMF
15132 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15133 * math/w_asin_template.c: Likewise.
15134 * math/w_atanh_template.c: Likewise.
15135
3a33b069
GG
151362018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15137
15138 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15139 to powerpc/powerpc64/be for big-endian.
15140 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15141 little-endian.
15142
15143 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15144 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15145 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15146 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15147 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15148 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15149 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15150 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15151 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15152 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15153 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15154 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15155 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15156 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15157 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15158 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15159 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15160 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15161 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15162 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15163 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15164 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15165 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15166 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15167 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15168 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15169 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15170 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15171 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15172 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15173 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15174 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15175
15176 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15177 adjusted to imply powerpc64 and older processors on powerpc64/be.
15178 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15179 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15180 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15181 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15182 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15183 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15184 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15185 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15186 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15187 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15188 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15189 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15190 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15191 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15192 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15193 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15194 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15195 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15196 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15197 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15198 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15199 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15200 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15201 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15202 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15203 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15204 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15205 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15206 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15207 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15208 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15209
15210 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15211 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15212 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15213 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15214
15215 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15216 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15217 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15218 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15219
15220 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15221 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15222 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15223 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15224 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15225 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15226 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15227 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15228 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15229 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15230 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15231
15232 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15233 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15234 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15235 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15236 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15237 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15238 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15239 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15240 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15241 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15242 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15243
15244 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15245 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15246 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15247 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15248 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15249 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15250 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15251 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15252 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15253 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15254 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15255 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15256
15257 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15258 and adjusted to imply olders processors.
15259 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15260 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15261 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15262 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15263 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15264 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15265 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15266 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15267 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15268 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15269 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15270
15271 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15272 powerpc64/le.
15273 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15274 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15275
15276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15277 powerpc64le.
15278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15280
15281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15282 powerpc64/be.
15283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15286
15287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15288 powerpc64 and adjusted.
15289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15292 Likewise.
15293
a3fb6b6b
JM
152942018-04-27 Joseph Myers <joseph@codesourcery.com>
15295
15296 * sysdeps/tile: Remove.
15297 * sysdeps/unix/sysv/linux/tile: Likewise.
15298 * README (tilegx-*-linux-gnu): Remove from list of supported
15299 configurations.
15300 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15301 contribution of support for generic Linux kernel syscall
15302 interface.
15303 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15304 tilegx configurations.
15305 (Config.install_linux_headers): Do not handle tile.
15306 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15307 in comment.
15308 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15309 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15310 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15311 conditional undefine and redefine.
15312 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15313 in comment.
15314 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15315 conditional undefine and redefine.
15316
7a6f7478
AJ
153172018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15318
15319 * signal/tst-sigaction.c: New file to test BZ #23069.
15320 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15321
81b49e96
TMQMF
153222018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15323
15324 [BZ #22766]
15325 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15326 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15327 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15328 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15329
7d80f48e
AZ
153302018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15331
15332 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15333 _DIRENT_MATCHES_DIRENT64 is not defined.
15334 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15335 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15336 is defined.
15337 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15338 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15339
42a2bf58
JM
153402018-04-25 Joseph Myers <joseph@codesourcery.com>
15341
15342 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15343 version to GCC 8 branch.
15344
9320ca88
JM
153452018-04-24 Joseph Myers <joseph@codesourcery.com>
15346
5e14bb97
JM
15347 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15348 (check_no_hidden): Use type of original function when declaring
15349 alias.
15350
9320ca88
JM
15351 * sysdeps/unix/sysv/linux/sys/ptrace.h
15352 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15353 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15354 (struct __ptrace_seccomp_metadata): New type.
15355 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15356 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15357 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15358 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15359 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15360 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15361 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15362 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15363 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15364 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15365 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15366 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15367 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15368 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15369 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15370 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15371
af7e376b
AZ
153722018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15373
15374 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15375 defined.
15376 * dirent/versionsort.c (versionsort): Likewise.
15377 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15378 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15379 * dirent/versionsort64.c (versionsort64): Likewise.
15380 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15381 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15382 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15383 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15384 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15385 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15386 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15387 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15388 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15389 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15392 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15393 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15394
da5e0361
JM
153952018-04-23 Joseph Myers <joseph@codesourcery.com>
15396
15397 * elf/elf.h (NT_PPC_PKEY): New macro.
15398
6b5c8607 153992018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
15400
15401 [BZ #23094]
15402 * localedata/locales/hr_HR: fix thousands_sep and
15403 mon_thousands_sep
15404
573963e3
JM
154052018-04-20 Joseph Myers <joseph@codesourcery.com>
15406
15407 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15408 (XTABS): Define to TAB3.
15409
c0123b3b
AZ
154102018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15411
0900a849
AZ
15412 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15413
c0123b3b
AZ
15414 * dirent/scandir-tail-common.c: New file.
15415 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15416 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15417 * dirent/scandir.c: Use scandir-tail-common.c.
15418 * dirent/scandirat.c: Likewise.
15419 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15420 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15421 if _DIRENT_MATCHES_DIRENT64 is defined.
15422 * dirent/scandirat64.c (scandirat64): Likewise.
15423 * include/dirent.h (__scandir_tail): Only define iff
15424 _DIRENT_MATCHES_DIRENT64 is not defined.
15425 (__scandir64_tail): Define regardless.
15426 (__scandirat, scandirat64): Remove libc_hidden_proto.
15427 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15428 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15430 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15431 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15432 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15433 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15434
458b94f6
JM
154352018-04-20 Joseph Myers <joseph@codesourcery.com>
15436
15437 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15438 New macro.
15439 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15440 Increase to 24.
15441 (_dl_aarch64_cap_flags): Add asimdfhm.
15442
9f0437e8
CLT
154432018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15444
15445 * sysdeps/nios2/libm-test-ulps: Update.
15446
298d0e31
AZ
154472018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15448
50511ca4
AZ
15449 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15450 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15451
298d0e31
AZ
15452 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15453 requirements.
6b5c8607 15454 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
15455 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15456 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15457 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15458 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15459 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15460 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15461 use getdents64 syscalls as base.
15462 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15463 symbol if required.
15464 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15465 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15466 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15467 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15468 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15469 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15470 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15471 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15472 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15473 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15474 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15475
0085be14
SL
154762018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15477
15478 * scripts/test_printers_common.py (init_test): Disable lock elision.
15479
da796524
SL
154802018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15481
15482 * math/test-tgmath.c (count_double, count_float,
15483 count_ldouble, count_cdouble, count_cfloat,
15484 count_cldouble): Use volatile int.
15485
0dd25301
ST
154862018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15487
15488 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15489 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 15490 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
15491 i386-gnu.
15492 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15493 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15494 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15495 msqid_ds.msg_lrpid): Likewise.
15496 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15497 Likewise.
15498 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15499 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
15500 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15501 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15502 unsigned int.
15503 (struct statvfs64): Likewise.
f55a4fde
ST
15504 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15505 Likewise.
77b93390
ST
15506 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15507 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15508 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15509 instead of wait_queue.
15510 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15511 instead of vm_area_struct.
5cd2931a
ST
15512 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15513 struct sched_param definition to it.
e60c3f2b
ST
15514 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15515 * bits/types/struct_sched_param.h: New file.
15516 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15517 <bits/types/struct_sched_param.h> instead of <sched.h>.
15518 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
15519 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15520 generic version but include <bits/pthreadtypes.h> to make struct
15521 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
15522 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15523 non-compliant.
a564872d
ST
15524 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15525 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15526 [__USE_XOPEN] (OFDEL): New macro.
15527 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 15528 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
15529 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15530 prototypes.
15531 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15532 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
15533 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15534 non-compliant.
15535 * sysdeps/i386/sys/ucontext.h: Likewise.
15536 * sysdeps/m68k/sys/ucontext.h: Likewise.
15537 * sysdeps/mips/sys/ucontext.h: Likewise.
15538 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
15539 * sysdeps/mach/hurd/i386/Makefile
15540 (test-xfail-POSIX/fcntl.h/conform): Add.
15541 (test-xfail-POSIX/signal.h/conform): Add.
15542 (test-xfail-POSIX/semaphore.h/conform): Add.
15543 (test-xfail-POSIX/regex.h/conform): Add.
15544 (test-xfail-POSIX/aio.h/conform): Add.
15545 (test-xfail-POSIX/mqueue.h/conform): Add.
15546 (test-xfail-POSIX/sys/types.h/conform): Add.
15547 (test-xfail-UNIX98/fcntl.h/conform): Add.
15548 (test-xfail-UNIX98/netdb.h/conform): Add.
15549 (test-xfail-UNIX98/signal.h/conform): Add.
15550 (test-xfail-UNIX98/semaphore.h/conform): Add.
15551 (test-xfail-UNIX98/regex.h/conform): Add.
15552 (test-xfail-UNIX98/aio.h/conform): Add.
15553 (test-xfail-UNIX98/ftw.h/conform): Add.
15554 (test-xfail-UNIX98/mqueue.h/conform): Add.
15555 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15556 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15557 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15558 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15559 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15560 (test-xfail-UNIX98/sys/types.h/conform): Add.
15561 (test-xfail-UNIX98/stdlib.h/conform): Add.
15562 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15563 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15564 (test-xfail-POSIX2008/netdb.h/conform): Add.
15565 (test-xfail-POSIX2008/signal.h/conform): Add.
15566 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15567 (test-xfail-POSIX2008/regex.h/conform): Add.
15568 (test-xfail-POSIX2008/aio.h/conform): Add.
15569 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15570 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15571 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15572 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15573 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15574 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15575 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15576 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15577 (test-xfail-XOPEN2K/signal.h/conform): Add.
15578 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15579 (test-xfail-XOPEN2K/regex.h/conform): Add.
15580 (test-xfail-XOPEN2K/aio.h/conform): Add.
15581 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15582 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15583 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15584 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15585 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15586 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15587 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15588 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15589 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15590 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15591 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15592 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15593 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15594 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15595 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15596 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15597 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15598 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15599 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15600 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15601 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15602 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15603 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15604 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15605 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15606 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
15607 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15608 i386-gnu.
15609 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15610 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 15611
d6397de3
JM
156122018-04-18 Joseph Myers <joseph@codesourcery.com>
15613
15614 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15615 --enable-obsolete for powerpc-linux-gnuspe.
15616
8323a902
ST
156172018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15618
3dc0814c 15619 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 15620 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 15621 prototypes.
c5896a45
ST
15622 * sysdeps/mach/include/mach.h: Likewise.
15623 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15624 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 15625
743b9c2a
AZ
156262018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15627
15628 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15629 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15630 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15631 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15632
326e74e7
AS
156332018-04-16 Andreas Schwab <schwab@suse.de>
15634
15635 [BZ #19527]
15636 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15637
6b5c8607 156382018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
15639
15640 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15641 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15642
a700e7cb
DD
156432018-04-12 DJ Delorie <dj@redhat.com>
15644
15645 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15646 version to 4.16.
15647
d8abfab7
SL
156482018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15649
15650 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15651 (struct kernel_sigaction): Use the same definition on 31bit as is used
15652 on 64bit.
15653
583a27d5
FW
156542018-04-09 Florian Weimer <fweimer@redhat.com>
15655
15656 [BZ #23037]
15657 * resolv/res_send.c (send_dg): Use designated initializers instead
15658 of assignment to zero-initialize other fields of struct mmsghdr.
15659
243f59e5
AZ
156602018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15661
942de61a
AZ
15662 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15663 __READDIR_ALIAS): Undefine after usage.
15664 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15665 __READDIR_R_ALIAS): Likewise.
15666 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15667 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15668 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15669 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15670 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15671 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15672 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15673 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15674 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15675 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15676 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15677 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15678 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15679 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15680 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15681 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15682 * sysdeps/unix/sysv/linux/readdir.c: New file.
15683 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15684 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15685 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15686
243f59e5
AZ
15687 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15688
690c3475
AS
156892018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15690
15691 * manual/charset.texi (Converting a Character): Fix typo.
15692
6b5c8607 156932018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 15694
bbc2062a
AZ
15695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15696
fa7c6199
AZ
15697 * sysdeps/arm/libm-test-ulps: Update.
15698
b4a5d26d
AZ
15699 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15700 as base implementation.
15701 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15702 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15703 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15704 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15705 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15706 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15707 remove unrequired definitions and update comments.
15708 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15709 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15710 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15711 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15712 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15713 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15714 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15715 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15716 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15717 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15718 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15719 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15720 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15721 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15722 and RESET_SA_RESTORER hooks.
15723
db9e55ff
SL
157242018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15725
15726 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15727
cf138b0c
FW
157282018-04-05 Florian Weimer <fweimer@redhat.com>
15729
15730 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15731 integer overflow, memory leak on error, and indeterminate errno
15732 value. Add a null wide character to terminate the result string.
15733 * manual/charset.texi (Converting a Character): Mention embedded
15734 null bytes in the mbrtowc input string. Explain what happens in
15735 the -2 result case. Do not claim that mbrtowc is simple or
15736 obvious to use. Adjust the description of the code example. Use
15737 @code, not @var, for concrete variables.
15738
0f339252
FW
157392018-04-05 Florian Weimer <fweimer@redhat.com>
15740
15741 * manual/examples/mbstouwcs.c: New file.
15742 * manual/charset.texi (Converting a Character): Include it.
15743
e5f9508a
ST
157442018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15745
c120981d
ST
15746 * include/dirent.h (dirfd): Add hidden proto.
15747 * dirent/dirfd.c (dirfd): Add hidden def.
15748 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15749 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 15750
b2fd61ca
TMQMF
157512018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15752
15753 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15754 sin, cos and sincos to 1 ULP.
15755
10a446dd
MR
157562018-04-04 Maciej W. Rozycki <macro@mips.com>
15757
e7feec37
MR
15758 [BZ #19818]
15759 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15760 symbols.
15761 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15762 * elf/tst-absolute-sym.c: New file.
15763 * elf/tst-absolute-sym-lib.c: New file.
15764 * elf/tst-absolute-sym-lib.lds: New file.
15765 * elf/Makefile (tests): Add `tst-absolute-sym'.
15766 (modules-names): Add `tst-absolute-sym-lib'.
15767 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15768 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15769 ($(objpfx)tst-absolute-sym): New dependency.
15770
10a446dd
MR
15771 [BZ #19818]
15772 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15773 parameter.
15774 (SYMBOL_ADDRESS): New macro.
15775 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15776 SYMBOL_ADDRESS for symbol address calculation.
15777 * elf/dl-runtime.c (_dl_fixup): Likewise.
15778 (_dl_profile_fixup): Likewise.
15779 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15780 * elf/rtld.c (dl_main): Likewise.
15781 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15782 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15783 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15784 (elf_machine_rela): Likewise.
15785 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15786 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15787 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15788 (elf_machine_rela): Likewise.
15789 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15790 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15791 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15792 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15793 Likewise.
15794 (elf_machine_reloc): Likewise.
15795 (elf_machine_got_rel): Likewise.
15796 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15797 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15798 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15799 Likewise.
15800 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15801 Likewise.
15802 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15803 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15804 Likewise.
15805 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15806 Likewise.
15807 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15808 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15809 Likewise.
15810 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15811 Likewise.
15812 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15813 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15814
9185f86d
ZW
158152018-04-04 Zack Weinberg <zackw@panix.com>
15816
15817 * sysdeps/generic/internal-signals.h: Include signal.h,
15818 sigsetops.h, and stdbool.h.
15819 (__libc_signal_block_all): Actually block all signals.
15820 (__libc_signal_block_app): Likewise.
15821 (__libc_signal_restore_set): Actually restore the signal mask.
15822
b07367bc
FW
158232018-04-04 Florian Weimer <fweimer@redhat.com>
15824
15825 inet: Actually build and run tst-deadline.
15826 * inet/Makefile (tests-internal): Add tst-deadline and do not
15827 overwrite the variable.
15828 (tests-static-internal): Remove variable.
15829
f2652643
L
158302018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15831
15832 [BZ #22947]
15833 * bits/uio-ext.h (RWF_APPEND): New.
15834 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15835 * manual/llio.texi: Document RWF_APPEND.
15836 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15837 (RWF_SUPPORTED): Add RWF_APPEND.
15838
6b5c8607 158392018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
15840
15841 [BZ #22391]
15842 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15843 check for internal nptl signals.
15844 * nptl/sigaction.c (__sigaction): Likewise.
15845 * signal/sigaddset.c (sigaddset): Likewise.
15846 * signal/sigdelset.c (sigdelset): Likewise.
15847 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15848 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15849 value.
15850 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15851 to filter out internal nptl signals.
15852 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15853 also check realtime signals using standard macros.
15854 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15855 __is_internal_signal, __libc_signal_block_all,
15856 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15857 * sysdeps/nptl/sigfillset.c: Remove file.
15858 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15859 Change return to bool.
15860 (__clear_internal_signals): Remove SIGTIMER clean since it is
15861 equal to SIGCANEL on Linux.
15862 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15863 signal set was constructed using standard functions.
15864
511ed56f
ST
158652018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15866
92846492
ST
15867 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15868 ifname is too long.
e8ef51b1
ST
15869 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15870 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
15871 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15872 hidden def.
15873 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
15874 * signal/sigaddset.c: Include <sigsetopts.h>.
15875 * signal/sigdelset.c: Likewise.
511ed56f 15876
e88ecbbf
WD
158772018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15878
15879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15880 (__cos): Likewise.
15881 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15882 logic as sin and cos.
15883
aef3e255
WD
158842018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15885
15886 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15887 inputs. Return correct sign.
15888 (do_sincos): Remove small input check before do_sin, let do_sin set
15889 the sign.
15890 (__sin): Likewise.
15891 (__cos): Likewise.
15892
72f6e9a3
WD
158932018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15894
15895 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15896 (do_cos_slow): Likewise.
15897 (do_sin_slow): Likewise.
15898 (reduce_and_compute): Likewise.
15899 (slow): Likewise.
15900 (slow1): Likewise.
15901 (slow2): Likewise.
15902 (sloww): Likewise.
15903 (sloww1): Likewise.
15904 (sloww2): Likewise.
15905 (bslow): Likewise.
15906 (bslow1): Likewise.
15907 (bslow2): Likewise.
15908 (cslow2): Likewise.
15909
64909583
WD
159102018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15911
15912 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15913 (do_cos): Remove corp parameter and calculations.
15914 (do_sin): Likewise.
15915 (do_sincos): Remove cor variable.
15916 (__sin): Use do_sincos for huge inputs.
15917 (__cos): Likewise.
15918 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15919 (reduce_and_compute_sincos): Remove unused function.
15920
d9469deb
WD
159212018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15922
15923 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15924 reduce_sincos, improve accuracy to 136 bits.
15925 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15926 (__sin): Use improved reduction and simplified do_sincos calculation.
15927 (__cos): Likewise.
15928 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15929
7a5640f2
WD
159302018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15931
15932 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15933 (do_sincos_2): Likewise.
15934 (__sin): Remove middle range reduction case.
15935 (__cos): Likewise.
15936 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15937 reduction case.
15938
19a8b9a3
WD
159392018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15940
15941 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15942 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15943 inputs.
15944 (__cos): Likewise.
15945 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15946
f72aa11d
JM
159472018-04-03 Joseph Myers <joseph@codesourcery.com>
15948
15949 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 15950 version to 4.16
f72aa11d 15951
8e4754ed
AZ
159522018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15953
15954 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15955 Remove definitions.
15956 (opendir_oflags): Use O_DIRECTORY regardless.
15957 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15958 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15959
8e2666ea
ST
159602018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15961
15962 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15963 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15964 macros.
15965 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15966 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15967 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15968 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
15969 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15970 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 15971
ad2b41bf
ST
15972 * htl/Makefile: Bump licence to LGPL 2.1+.
15973 * htl/alloca_cutoff.c: Likewise.
15974 * htl/cthreads-compat.c: Likewise.
15975 * htl/lockfile.c: Likewise.
15976 * htl/pt-alloc.c: Likewise.
15977 * htl/pt-cancel.c: Likewise.
15978 * htl/pt-cleanup.c: Likewise.
15979 * htl/pt-create.c: Likewise.
15980 * htl/pt-dealloc.c: Likewise.
15981 * htl/pt-detach.c: Likewise.
15982 * htl/pt-exit.c: Likewise.
15983 * htl/pt-getattr.c: Likewise.
15984 * htl/pt-initialize.c: Likewise.
15985 * htl/pt-internal.h: Likewise.
15986 * htl/pt-join.c: Likewise.
15987 * htl/pt-self.c: Likewise.
15988 * htl/pt-setcancelstate.c: Likewise.
15989 * htl/pt-setcanceltype.c: Likewise.
15990 * htl/pt-sigmask.c: Likewise.
15991 * htl/pt-spin-inlines.c: Likewise.
15992 * htl/pt-testcancel.c: Likewise.
15993 * htl/pt-yield.c: Likewise.
15994 * htl/tests/test-1.c: Likewise.
15995 * htl/tests/test-10.c: Likewise.
15996 * htl/tests/test-11.c: Likewise.
15997 * htl/tests/test-12.c: Likewise.
15998 * htl/tests/test-13.c: Likewise.
15999 * htl/tests/test-14.c: Likewise.
16000 * htl/tests/test-15.c: Likewise.
16001 * htl/tests/test-16.c: Likewise.
16002 * htl/tests/test-17.c: Likewise.
16003 * htl/tests/test-2.c: Likewise.
16004 * htl/tests/test-3.c: Likewise.
16005 * htl/tests/test-4.c: Likewise.
16006 * htl/tests/test-5.c: Likewise.
16007 * htl/tests/test-6.c: Likewise.
16008 * htl/tests/test-7.c: Likewise.
16009 * htl/tests/test-8.c: Likewise.
16010 * htl/tests/test-9.c: Likewise.
16011 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16012 * sysdeps/htl/bits/cancelation.h: Likewise.
16013 * sysdeps/htl/bits/pthread-np.h: Likewise.
16014 * sysdeps/htl/bits/pthread.h: Likewise.
16015 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16016 * sysdeps/htl/bits/semaphore.h: Likewise.
16017 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16018 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16019 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16020 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16021 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16022 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16023 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16024 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16025 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16026 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16027 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16028 * sysdeps/htl/old_pt-atfork.c: Likewise.
16029 * sysdeps/htl/pt-atfork.c: Likewise.
16030 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16031 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16032 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16033 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16034 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16035 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16036 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16037 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16038 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16039 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16040 * sysdeps/htl/pt-attr-init.c: Likewise.
16041 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16042 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16043 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16044 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16045 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16046 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16047 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16048 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16049 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16050 * sysdeps/htl/pt-attr.c: Likewise.
16051 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16052 * sysdeps/htl/pt-barrier-init.c: Likewise.
16053 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16054 * sysdeps/htl/pt-barrier.c: Likewise.
16055 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16056 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16057 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16058 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16059 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16060 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16061 * sysdeps/htl/pt-cond-init.c: Likewise.
16062 * sysdeps/htl/pt-cond-signal.c: Likewise.
16063 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16064 * sysdeps/htl/pt-cond-wait.c: Likewise.
16065 * sysdeps/htl/pt-cond.c: Likewise.
16066 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16067 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16068 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16069 * sysdeps/htl/pt-condattr-init.c: Likewise.
16070 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16071 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16072 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16073 * sysdeps/htl/pt-equal.c: Likewise.
16074 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16075 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16076 * sysdeps/htl/pt-getschedparam.c: Likewise.
16077 * sysdeps/htl/pt-getspecific.c: Likewise.
16078 * sysdeps/htl/pt-init-specific.c: Likewise.
16079 * sysdeps/htl/pt-key-create.c: Likewise.
16080 * sysdeps/htl/pt-key-delete.c: Likewise.
16081 * sysdeps/htl/pt-key.h: Likewise.
16082 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16083 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16084 * sysdeps/htl/pt-mutex-init.c: Likewise.
16085 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16086 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16087 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16088 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16089 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16090 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16091 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16092 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16093 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16094 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16095 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16096 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16097 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16098 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16099 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16100 * sysdeps/htl/pt-mutexattr.c: Likewise.
16101 * sysdeps/htl/pt-once.c: Likewise.
16102 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16103 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16104 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16105 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16106 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16107 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16108 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16109 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16110 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16111 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16112 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16113 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16114 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16115 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16116 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16117 * sysdeps/htl/pt-setschedparam.c: Likewise.
16118 * sysdeps/htl/pt-setschedprio.c: Likewise.
16119 * sysdeps/htl/pt-setspecific.c: Likewise.
16120 * sysdeps/htl/pt-spin.c: Likewise.
16121 * sysdeps/htl/pt-startup.c: Likewise.
16122 * sysdeps/htl/pthread.h: Likewise.
16123 * sysdeps/htl/sem-close.c: Likewise.
16124 * sysdeps/htl/sem-destroy.c: Likewise.
16125 * sysdeps/htl/sem-getvalue.c: Likewise.
16126 * sysdeps/htl/sem-init.c: Likewise.
16127 * sysdeps/htl/sem-open.c: Likewise.
16128 * sysdeps/htl/sem-post.c: Likewise.
16129 * sysdeps/htl/sem-timedwait.c: Likewise.
16130 * sysdeps/htl/sem-trywait.c: Likewise.
16131 * sysdeps/htl/sem-unlink.c: Likewise.
16132 * sysdeps/htl/sem-wait.c: Likewise.
16133 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16134 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16135 * sysdeps/mach/htl/pt-block.c: Likewise.
16136 * sysdeps/mach/htl/pt-spin.c: Likewise.
16137 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16138 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16139 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16140 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16141 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16142 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16143 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16144 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16145 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16146 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16147 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16148 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16149 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16150 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16151 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16152 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16153 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16154 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16155 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16156 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16157 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16158 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16159 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16160 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16161 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16162 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16163 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16164 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16165 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16166 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16167 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16168 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16169 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16170 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16171 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16172 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16173 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16174 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16175 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16176 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16177 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16178 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16179 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16180
fb03b04b
ST
16181 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16182 * README: Remove the mention of out-of-tree patches needed for
16183 GNU/Hurd.
16184
fa9e1555
ST
16185 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16186 (UTIME_NOW, UTIME_OMIT): Define macros.
16187
f6fb29d2
ST
16188 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16189 instead of pthread_detach.
16190 (__cthread_fork): Call __pthread_create instead of pthread_create.
16191 (__cthread_keycreate): Call __pthread_key_create instead of
16192 pthread_key_create.
16193 (__cthread_getspecific): Call __pthread_getspecific instead of
16194 pthread_getspecific.
16195 (__cthread_setspecific): Call __pthread_setspecific instead of
16196 pthread_setspecific.
16197 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16198 __pthread_mutex_unlock instead of pthread_mutex_lock and
16199 pthread_mutex_unlock.
16200 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16201 ___pthread_get_cleanup_stack.
16202 (__pthread_get_cleanup_stack): New strong alias.
16203 * htl/pt-create.c: Include <pthreadP.h>.
16204 (entry_point): Call __pthread_exit instead of pthread_exit.
16205 (pthread_create): Rename to __pthread_create.
16206 (pthread_create): New strong alias.
16207 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16208 (pthread_detach): New strong alias.
16209 (__pthread_detach): Call __pthread_cond_broadcast instead of
16210 pthread_cond_broadcast.
fe9748cc
ST
16211 * htl/pt-exit.c: Include <pthreadP.h>.
16212 (__pthread_exit): Call __pthread_setcancelstate and
16213 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16214 __pthread_get_cleanup_stack.
f6fb29d2
ST
16215 * htl/pt-testcancel.c: Include <pthreadP.h>.
16216 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16217 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16218 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16219 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16220 pthread_attr_getstacksize.
16221 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16222 Rename to __pthread_attr_getstackaddr.
16223 (pthread_attr_getstackaddr): New strong alias.
16224 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16225 Rename to __pthread_attr_getstacksize.
16226 (pthread_attr_getstacksize): New strong alias.
16227 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16228 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16229 (pthread_attr_setstack): New strong alias.
16230 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16231 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16232 pthread_attr_getstacksize, pthread_attr_setstacksize and
16233 pthread_attr_setstackaddr.
16234 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16235 Rename to __pthread_attr_setstackaddr.
16236 (pthread_attr_setstackaddr): New strong alias.
16237 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16238 Rename to __pthread_attr_setstacksize.
16239 (pthread_attr_setstacksize): New strong alias.
16240 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16241 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16242 pthread_exit.
16243 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16244 (__pthread_key_create): New hidden def.
16245 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16246 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16247 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16248 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16249 __pthread_setspecific, __pthread_setcancelstate,
16250 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16251 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16252 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16253 declarations.
16254 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16255 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16256 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16257 (pthread_attr_setstackaddr): New strong alias.
16258 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16259 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16260 (pthread_attr_setstacksize): New strong alias.
16261 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16262 (call_exit): Call __pthread_exit instead of pthread_exit.
16263 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16264 (_pthread_mutex_init): New hidden definition.
16265 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16266 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16267 instead of pthread_attr_init and pthread_attr_setstack.
16268
dba2bdbe
ST
16269 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16270 __vm_deallocate instead of vm_allocate and vm_deallocate.
16271 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16272 setenv.
16273 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16274 of geteuid.
16275 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16276 strdup.
16277 * hurd/siginfo.c: Include <libioP.h>.
16278 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16279 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16280 munmap.
dba2bdbe
ST
16281 * mach/devstream.c: Include <libioP.h>.
16282 (dealloc_ref): Call __mach_port_deallocate instead of
16283 mach_port_deallocate.
16284 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16285 Call __mach_port_deallocate instead of mach_port_deallocate.
16286 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16287 pathconf.
16288 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16289 munmap.
16290 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16291 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16292 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16293 of munmap.
16294 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16295 of close.
16296 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16297 instead of sysconf.
16298 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16299 __clock_gettime instead of clock_gettime.
16300 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16301 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16302 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16303 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16304 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16305 tcgetattr.
16306 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16307 __clock_gettime and __nanosleep instead of clock_gettime and
16308 nanosleep.
7a8f45e3
ST
16309 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16310 __hurd_catch_signal.
16311 (hurd_catch_signal): New strong alias.
16312 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16313 __hurd_catch_signal instead of hurd_catch_signal.
16314 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16315 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16316 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16317 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16318 (_hurd_thread_sigstate): Add hidden def.
16319 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16320 mutex_unlock.
16321 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16322 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16323 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16324 __hurd_file_name_path_lookup.
16325 (hurd_file_name_path_lookup): New strong alias.
16326 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16327 hurd_file_name_path_lookup.
16328 * mach/errstring.c (mach_error_type): Add hidden def.
16329 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16330 * mach/mutex-init.c (__mutex_init): Add hidden def.
16331 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16332 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16333 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16334 * sysdeps/mach/hurd/getcwd.c
16335 (_hurd_canonicalize_directory_name_internal): Rename to
16336 __hurd_canonicalize_directory_name_internal.
16337 (_hurd_canonicalize_directory_name_internal): New strong alias.
16338 (__canonicalize_directory_name_internal, __getcwd): Call
16339 __hurd_canonicalize_directory_name_internal instead of
16340 _hurd_canonicalize_directory_name_internal.
16341 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16342 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16343 hidden defs.
16344 * sysdeps/hurd/include/hurd.h: New file.
16345 * sysdeps/hurd/include/hurd/fd.h: New file.
16346 * sysdeps/hurd/include/hurd/signal.h: New file.
16347 * sysdeps/mach/include/lock-intern.h: New file.
16348 * sysdeps/mach/include/mach.h: New file.
16349 * sysdeps/mach/include/mach/mig_support.h: New file.
16350 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
16351 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16352 prototype.
16353 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16354 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16355 _HEADER_H_HIDDEN_DEF macro.
16356 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16357 _hurd_fd_error_signal): Add hidden prototype.
16358 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16359 hidden def.
82dbf555
ST
16360 * libio/iolibio.h (_IO_puts): New hidden prototype.
16361 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
16362 * sysdeps/mach/hurd/localplt.data: New file.
16363
33574c17 163642018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
16365 Amos Jeffries <squid3@treenet.co.nz>
16366 David Michael <fedora.dm0@gmail.com>
16367 Marco Gerards <marco@gnu.org>
16368 Marcus Brinkmann <marcus@gnu.org>
16369 Neal H. Walfield <neal@gnu.org>
16370 Pino Toscano <toscano.pino@tiscali.it>
16371 Richard Braun <rbraun@sceen.net>
16372 Roland McGrath <roland@gnu.org>
16373 Samuel Thibault <samuel.thibault@ens-lyon.org>
16374 Thomas DiModica <ricinwich@yahoo.com>
16375 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
16376
16377 * htl: New directory.
16378 * sysdeps/htl: New directory.
16379 * sysdeps/hurd/htl: New directory.
16380 * sysdeps/i386/htl: New directory.
16381 * sysdeps/mach/htl: New directory.
16382 * sysdeps/mach/hurd/htl: New directory.
16383 * sysdeps/mach/hurd/i386/htl: New directory.
16384 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16385 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16386 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16387
03e2aa50
ST
163882018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16389
16390 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16391 signals in thread created for runing timers.
16392
1aa52ced
FW
163932018-04-01 Florian Weimer <fweimer@redhat.com>
16394
16395 * support/support_format_addrinfo.c (support_format_addrinfo):
16396 Include unknown error number in formatted result.
16397
4d76d3e5
FW
163982018-03-29 Florian Weimer <fweimer@redhat.com>
16399
16400 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16401 capture SIGBUS.
16402
d39c0a45
AZ
164032018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16404
16405 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16406 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16407 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16408 (__ASSUME_CLONE_BACKWARDS): Define.
16409
cc8a1620
JH
164102018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16411
57408435 16412 [BZ #23024]
cc8a1620
JH
16413 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16414 early when linux sentinel value is set.
16415
8bfd94d0
ST
164162018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16417
16418 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16419
f178e59f
AS
164202018-03-27 Andreas Schwab <schwab@suse.de>
16421
16422 [BZ #23005]
16423 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16424 allocation of private copy of nsaddr_list fails.
16425
5f45f96a
JM
164262018-03-26 Joseph Myers <joseph@codesourcery.com>
16427
16428 [BZ #16552]
16429 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16430 * sysdeps/unix/sysv/linux/umount.c: ... here.
16431 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16432 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16433 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16434 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16436 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16437 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16438
3dfd23eb
AS
164392018-03-26 Andreas Schwab <schwab@suse.de>
16440
16441 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16442 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16443 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16444 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16445 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16446 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16447 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16448 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16449 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16450 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16451 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16452 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16453 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16454 (R_RISCV_NUM): Define.
16455
fa97d2ab
ST
164562018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16457
16458 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16459 TLS declaration of errno.
37be82a0
ST
16460 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16461 __libc_setup_tls.
16462 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16463 (ARCH_SETUP_TLS): Likewise.
16464 * sysdeps/mach/hurd/libc-start.h: New file copied from
16465 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
16466 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16467 instead of __libc_setup_tls.
37be82a0 16468 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
16469 __libc_setup_tls before initializing libpthread and running _hurd_init
16470 which starts the signal thread.
16471 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16472 Declare function.
2d813d7b 16473 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 16474
b8114edd
L
164752018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16476
16477 [BZ #22998]
16478 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16479 after it is defined.
16480
cd66c0e5
AS
164812018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16482 Max Horn <max@quendi.de>
16483
16484 [BZ #22644]
43d4f3d5 16485 CVE-2017-18269
cd66c0e5
AS
16486 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16487 branch conditions.
16488 * string/test-memmove.c (do_test2): New testcase.
16489
a4406139
JM
164902018-03-22 Joseph Myers <joseph@codesourcery.com>
16491
16492 * sysdeps/generic/frame.h: Remove file.
16493 * sysdeps/arm/frame.h: Likewise.
16494 * sysdeps/hppa/frame.h: Likewise.
16495 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16496 macro.
16497 (GET_FRAME): Likewise.
16498 (GET_STACK): Likewise.
16499 (CALL_SIGHANDLER): Likewise.
16500 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16501 Likewise.
16502 (GET_FRAME): Likewise.
16503 (GET_STACK): Likewise.
16504 (CALL_SIGHANDLER): Likewise.
16505 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16506 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16507 (GET_FRAME): Likewise.
16508 (GET_STACK): Likewise.
16509 (CALL_SIGHANDLER): Likewise.
16510 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16511 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16512 (GET_FRAME): Likewise.
16513 (GET_STACK): Likewise.
16514 (ADVANCE_STACK_FRAME): Likewise.
16515 (CALL_SIGHANDLER): Likewise.
16516 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16517 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16518 (GET_FRAME): Likewise.
16519 (GET_STACK): Likewise.
16520 (CALL_SIGHANDLER): Likewise.
16521 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16522 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16523 (GET_FRAME): Likewise.
16524 (GET_STACK): Likewise.
16525 (CALL_SIGHANDLER): Likewise.
16526 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16527 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16528 (GET_FRAME): Likewise.
16529 (GET_STACK): Likewise.
16530 (CALL_SIGHANDLER): Likewise.
16531 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16532 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16533 (GET_FRAME): Likewise.
16534 (GET_STACK): Likewise.
16535 (CALL_SIGHANDLER): Likewise.
16536 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16537 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16538 (GET_FRAME): Likewise.
16539 (GET_STACK): Likewise.
16540 (CALL_SIGHANDLER): Likewise.
16541 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16542 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16543 (GET_FRAME): Likewise.
16544 (GET_STACK): Likewise.
16545 (CALL_SIGHANDLER): Likewise.
16546 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16547 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16548 (GET_FRAME): Likewise.
16549 (GET_STACK): Likewise.
16550 (CALL_SIGHANDLER): Likewise.
16551 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16552 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16553 (GET_FRAME): Likewise.
16554 (GET_STACK): Likewise.
16555 (CALL_SIGHANDLER): Likewise.
16556 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16557 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16558 (GET_FRAME): Likewise.
16559 (GET_STACK): Likewise.
16560 (CALL_SIGHANDLER): Likewise.
16561 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16562 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16563 (FIRST_FRAME_POINTER): Likewise.
16564 (ADVANCE_STACK_FRAME): Likewise.
16565 (GET_STACK): Likewise.
16566 (GET_FRAME): Likewise.
16567 (CALL_SIGHANDLER): Likewise.
16568 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16569 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16570 (ADVANCE_STACK_FRAME): Likewise.
16571 (GET_STACK): Likewise.
16572 (GET_FRAME): Likewise.
16573 (CALL_SIGHANDLER): Likewise.
16574 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16575 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16576 (GET_FRAME): Likewise.
16577 (GET_STACK): Likewise.
16578 (CALL_SIGHANDLER): Likewise.
16579 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16580 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16581 (GET_FRAME): Likewise.
16582 (GET_STACK): Likewise.
16583 (CALL_SIGHANDLER): Likewise.
16584
ffec7b27
JM
165852018-03-21 Joseph Myers <joseph@codesourcery.com>
16586
16587 * sysdeps/x86_64/backtrace.c: Move to ....
16588 * debug/backtrace.c: ... here.
16589 * sysdeps/aarch64/backtrace.c: Remove file.
16590 * sysdeps/alpha/backtrace.c: Likewise.
16591 * sysdeps/hppa/backtrace.c: Likewise.
16592 * sysdeps/ia64/backtrace.c: Likewise.
16593 * sysdeps/mips/backtrace.c: Likewise.
16594 * sysdeps/nios2/backtrace.c: Likewise.
16595 * sysdeps/riscv/backtrace.c: Likewise.
16596 * sysdeps/sh/backtrace.c: Likewise.
16597 * sysdeps/tile/backtrace.c: Likewise.
16598
8a07b0c4
JM
165992018-03-20 Joseph Myers <joseph@codesourcery.com>
16600
d0c5d731
JM
16601 [BZ #22987]
16602 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16603 function.
16604 (fdimf): Likewise.
16605 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16606
8a07b0c4
JM
16607 [BZ #17343]
16608 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16609 possibly overflowing computations.
16610
ceb54b9b
ST
166112018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16612
16613 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16614 values from Linux-specific section now that it is in the GNU section.
16615 * sysdeps/gnu/errlist.c: Regenerate.
16616
8d3f9e85
JM
166172018-03-20 Joseph Myers <joseph@codesourcery.com>
16618
16619 * math/Makefile (libm-narrow-fns): Add sub.
16620 (libm-test-funcs-narrow): Likewise.
16621 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16622 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16623 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16624 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16625 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16626 (NARROW_SUB_TRIVIAL): Likewise.
16627 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16628 macro.
16629 (__dsubl): Likewise.
16630 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16631 dsub.
16632 (CFLAGS-nldbl-dsub.c): New variable.
16633 (CFLAGS-nldbl-fsub.c): Likewise.
16634 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16635 __nldbl_dsubl.
16636 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16637 prototype.
16638 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16639 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16640 * math/auto-libm-test-in: Add tests of sub.
16641 * math/auto-libm-test-out-narrow-sub: New generated file.
16642 * math/libm-test-narrow-sub.inc: New file.
16643 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16645 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16646 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16647 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16648 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16649 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16650 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16651 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16652 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16653 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16654 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16655 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16656 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16657 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16658 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16659 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16660 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16662 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16663 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16664 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16665 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16666 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16667 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16668 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16669 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16670 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16671 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16672 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16673 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16674 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16679 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16680 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16681 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16682 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16683 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16684 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16685 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16686 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16687 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16688 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16689
d473f015
JM
166902018-03-19 Joseph Myers <joseph@codesourcery.com>
16691
16692 [BZ #20079]
16693 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16694
fbce6f72
WD
166952018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16696
16697 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16698
72e7ffc3
RB
166992018-03-18 Richard Braun <rbraun@sceen.net>
16700
16701 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16702 thread reference.
16703
542c20a1
AA
167042018-03-18 Agustina Arzille <avarzille@riseup.net>
16705
16706 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16707 (__libc_cleanup_fct): Define function.
16708 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16709 __libc_cleanup_end): Rewrite implementation using
16710 __attribute__ ((__cleanup__)).
16711 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
16712 * hurd/Makefile (routines): Add hurdlock.
16713 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16714 interface.
16715 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16716 * hurd/hurdpid.c: Include <lowlevellock.h>
16717 (_S_msg_proc_newids): Use lll_wait to synchronize.
16718 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16719 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16720 * mach/Makefile (lock-headers): Remove machine-lock.h.
16721 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16722 <machine-lock.h>.
16723 (__spin_lock_t): New type.
16724 (__SPIN_LOCK_INITIALIZER): New macro.
16725 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16726 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16727 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16728 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16729 (__mutex_init): Initialize with lll.
16730 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16731 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16732 needing lll.
16733 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16734 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16735 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16736 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16737 (__setpgid): Use lll for synchronization.
16738 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16739 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16740 instead of <cthreads.h>.
16741 (_IO_lock_inexpensive): New macro
16742 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16743 (__libc_lock_self0): New declaration.
16744 (__libc_lock_owner_self): New macro.
16745 (__libc_key_t): Remove type.
16746 (_LIBC_LOCK_INITIALIZER): New macro.
16747 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16748 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16749 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16750 __libc_lock_define_initialized_recursive,
16751 __rtld_lock_define_initialized_recursive,
16752 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16753 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16754 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16755 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16756 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16757 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16758 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16759 New macros.
16760 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16761 * hurd/hurdlock.c: New file.
16762 * hurd/hurdlock.h: New file.
16763 * mach/lowlevellock.h: New file
542c20a1 16764
9a37922e
ST
167652018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16766
16767 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
16768 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16769 when opening a symlink with O_NOFOLLOW.
72103e73
ST
16770 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16771 path when flags contains O_NOFOLLOW.
16772 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16773 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
16774 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16775 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
16776 * sysdeps/mach/hurd/mlockall.c: New file.
16777 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 16778
34e6a869
ST
167792018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16780
16781 * hurd/hurdsig.c: Include <pthread.h>.
16782 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16783 get the signal thread stack layout.
dc33bef3
ST
16784 * hurd/Makefile (headers): Remove threadvar.h.
16785 (inline-headers): Remove threadvar.h.
16786 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16787 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16788 __hurd_threadvar_max, __hurd_errno_location.
16789 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16790 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16791 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16792 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16793 unless TLS is not initialized yet, in which case we do not need a
16794 critical section yet anyway.
16795 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16796 <machine-sp.h>.
16797 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16798 declarations.
16799 (__hurd_threadvar_index): Remove enum.
16800 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16801 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16802 inlines.
16803 (__hurd_reply_port0): New variable declaration.
16804 (__hurd_local_reply_port): New macro.
16805 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16806 (interrupted_reply_port_location): Add thread_t parameter. Use it
16807 with THREAD_TCB to access thread-local variables.
16808 (_hurdsig_abort_rpcs): Pass ss->thread to
16809 interrupted_reply_port_location.
16810 (_hurd_internal_post_signal): Likewise.
16811 (_hurdsig_init): Use presence of cthread_fork instead of
16812 __hurd_threadvar_stack_mask to start signal thread by hand.
16813 Remove signal thread threadvar initialization.
16814 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16815 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16816 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16817 of threadvar.
16818 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16819 __libc_lock_self0.
16820 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16821 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16822 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16823 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16824 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16825 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16826 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16827 define variables.
16828 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16829 <hurd/threadvar.h>.
16830 [IS_IN(rtld)] (rtld_errno): New variable.
16831 [IS_IN(rtld)] (__errno_location): New weak function.
16832 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16833 * sysdeps/mach/hurd/errno.c: Remove file.
16834 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16835 (__fork): Remove THREADVAR_SPACE macro and its use.
16836 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16837 variable.
16838 (init): Do not initialize threadvar.
16839 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16840 symbol.
16841 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16842 __hurd_local_reply_port instead of threadvar.
16843 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16844 _hurd_sigstate fields.
16845 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16846 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16847 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16848 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16849 instead of threadvar.
16850 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16851 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16852 (use_threadvar, global_reply_port): Remove variables.
16853 (__hurd_reply_port0): New variable.
16854 (__mig_get_reply_port): Use __hurd_local_reply_port and
16855 __hurd_reply_port0 instead of threadvar.
16856 (__mig_dealloc_reply_port): Likewise.
16857 (__mig_init): Do not initialize threadvar.
16858 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
16859 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16860 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16861 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16862 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16863 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16864 __cthread_setspecific.
16865 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16866 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16867 __cthread_t instead of cthread_fork, cthread_detach,
16868 pthread_getattr_np, pthread_attr_getstack.
16869 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16870 __cthread_keycreate.
16871 (cthread_getspecific): Rename to __cthread_getspecific.
16872 (cthread_setspecific): Rename to __cthread_setspecific.
16873 (__libc_getspecific): Use __cthread_getspecific instead of
16874 cthread_getspecific.
16875 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16876 __cthread_keycreate instead of cthread_keycreate.
16877 (__libc_setspecific): Use __cthread_setspecific instead of
16878 cthread_setspecific.
16879 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16880 Likewise.
dd28d4ba
ST
16881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16882 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16883 testing whether it is defined.
34e6a869 16884
f8baf2a2
ST
168852018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16886
16887 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16888 Define macro.
16889 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16890 * sysdeps/mach/i386/thread_state.h
16891 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16892 i386_THREAD_STATE.
16893 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16894 i386_THREAD_STATE.
16895 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16896
16897 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16898 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16899
16900 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16901 macros.
16902 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16903 descriptor instead of creating a new one.
16904 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16905
16906 * mach/setup-thread.c: Include <ldsodefs.h>.
16907 (__mach_setup_thread): Call _dl_allocate_tls, pass
16908 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16909 MACHINE_THREAD_STATE_FLAVOR, before getting
16910 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16911 MACHINE_THREAD_STATE_FLAVOR with the result.
16912 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16913 MACHINE_THREAD_STATE_FIX_NEW.
16914 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16915 too. Add original thread parameter.
16916
34ba96b8
JM
169172018-03-16 Joseph Myers <joseph@codesourcery.com>
16918
5d75b75f
JM
16919 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16920 Remove inline function.
16921
34ba96b8
JM
16922 * sysdeps/i386/fpu/libm-test-ulps: Update.
16923 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16924
22679b2c
WD
169252018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16926
16927 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16928 commit.
16929
c429a8d8
JM
169302018-03-15 Joseph Myers <joseph@codesourcery.com>
16931
16932 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16933 (__sincos_code): Remove define and undefine.
16934 [__FAST_MATH__] (__sincos): Remove inline function.
16935 [__FAST_MATH__] (__sincosf): Remove inline function.
16936 [__FAST_MATH__] (__sincosl): Remove inline function.
16937 (__atan2l): Remove inline functions.
16938 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16939 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16940 function.
16941 (floor): Remove inline function.
16942 (ceil): Likewise.
16943 [__FAST_MATH__] (__ldexp_code): Remove macro.
16944 [__FAST_MATH__] (ldexp): Remove inline function.
16945 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16946 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16947 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16948 [__USE_ISOC99] (__lrint_code): Remove macro.
16949 [__USE_ISOC99] (__llrint_code): Likewise.
16950 [__USE_ISOC99] (lrintf): Remove inline function.
16951 [__USE_ISOC99] (lrint): Likewise.
16952 [__USE_ISOC99] (lrintl): Likewise.
16953 [__USE_ISOC99] (llrint): Likewise.
16954 [__USE_ISOC99] (llrintf): Likewise.
16955 [__USE_ISOC99] (llrintl): Likewise.
16956
700593fd
WD
169572018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16958
16959 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16960 (__ieee754_sqrtf): Remove.
16961 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16962 (__ieee754_sqrtf): Remove.
16963 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16964 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16965 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16966 (__ieee754_sqrtf): Remove.
16967 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16968 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16969 (sqrtf): Remove.
16970 (sqrtl): Remove.
16971 (__ieee754_sqrt): Remove.
16972 (__ieee754_sqrtf): Remove.
16973 (__ieee754_sqrtl): Remove.
16974 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16975 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16976 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16977 (__ieee754_sqrtf): Remove.
16978 (__ieee754_sqrtl): Remove.
16979
f67a8147
WD
169802018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16981
16982 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16983 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16984 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16985 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16986 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16987 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16988 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16989 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16990 Likewise.
16991 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16992 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16993 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16994 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16995 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16996 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16997 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16998 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16999 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17000 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17001 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17002 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17003 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17004 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17005 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17006 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17007 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17008 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17009 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17010 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17011 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17012 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17013 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17014 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17015 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17016 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17017 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17018 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17019 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17020 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17021 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17022 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17023 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17024 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17025 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17026 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17027 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17028 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17029 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17030 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17031
1294b189
WD
170322018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17033
17034 * include/math.h (sqrt): Declare with asm redirect.
17035 (sqrtf): Likewise.
17036 (sqrtl): Likewise.
17037 (sqrtf128): Likewise.
17038 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17039 nonlib and libnldbl with -fmath-errno.
17040 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17041 * math/w_sqrt_template.c: Likewise.
17042 * math/w_sqrtf_compat.c: Likewise.
17043 * math/w_sqrtl_compat.c: Likewise.
17044 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17045 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17046 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17047 complex.h.
17048
f1c8185d
WD
170492018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17050
17051 * benchtests/Makefile: Define _ISOMAC.
17052 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17053 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17054 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17055 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17056 * benchtests/bench-timing.h: Define attribute_hidden.
17057
b47c3e76
SP
170582018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17059
17060 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17061 mov + lsr.
17062
807fee29
RL
170632018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17064
17065 [BZ #22963]
17066 * localedata/locales/cs_CZ (mon): Rename to...
17067 (alt_mon): This.
17068 (mon): Import from CLDR (genitive case).
17069
e7155a28
RL
170702018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17071
17072 [BZ #22937]
17073 * localedata/locales/el_CY (abmon): Rename to...
17074 (ab_alt_mon): This.
17075 (abmon): Import from CLDR (abbreviated genitive case).
17076 * localedata/locales/el_GR (abmon): Rename to...
17077 (ab_alt_mon): This.
17078 (abmon): Import from CLDR (abbreviated genitive case).
17079
71d7b121
RL
170802018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17081
17082 [BZ #22932]
17083 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17084
a00bffe8
RB
170852018-03-15 Robert Buj <robert.buj@gmail.com>
17086
17087 [BZ #22848]
17088 * localedata/locales/ca_ES (abmon): Rename to...
17089 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17090 (mon): Rename to...
17091 (alt_mon): This.
17092 (abmon): Import from CLDR (genitive case, month names preceded by
17093 "de" or "d’").
17094 (mon): Likewise.
17095 (abday): Synchronize with CLDR.
17096 (d_t_fmt): Likewise.
17097 (d_fmt): Likewise.
17098 (am_pm): Likewise.
17099
17100 (LC_TIME): Improve indentation.
17101 (LC_TELEPHONE): Likewise.
17102 (LC_NAME): Likewise.
17103 (LC_ADDRESS): Likewise.
17104
f9555d73
JM
171052018-03-14 Joseph Myers <joseph@codesourcery.com>
17106
17107 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17108 (lrintf): Remove definitions used only with old GCC.
17109 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17110 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17111 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17112 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17113 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17114 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17115 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17116 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17117 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17118 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17119 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17120 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17121 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17122 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17123 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17124 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17125 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17126 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17127 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17128 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17129 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17130 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17131 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17132 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17133 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17134 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17135 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17136 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17137
d46f84de
SP
171382018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17139
17140 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17141 instruction to unbreak builds with binutils 2.26 and older.
17142
7108f1f9
SP
171432018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17144
17145 * sysdeps/aarch64/strncmp.S (count): New macro.
17146 (strncmp): Store misaligned length in SRC1 in COUNT.
17147 (mutual_align): Adjust.
17148 (misaligned8): Load dword at a time when it is safe.
17149
2cc7bad0
ZW
171502018-03-12 Zack Weinberg <zackw@panix.com>
17151
17152 [BZ #1190]
17153 [BZ #19476]
17154 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17155 if the _IO_EOF_SEEN bit is already set; update commentary.
17156 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17157 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17158
17159 * support/support_openpty.c, support/tty.h: New files.
17160 * support/Makefile (libsupport-routines): Add support_openpty.
17161
17162 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17163 New test cases.
17164 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17165 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17166
778f1974
DL
171672018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17168
17169 * po/pt_BR.po: Update translations.
17170
6b5c8607 171712018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
17172
17173 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17174 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17175 get a port to the startup server.
17176
d3da750d
ZW
171772018-03-11 Zack Weinberg <zackw@panix.com>
17178
17179 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17180 before nldbl-compat.h.
17181
054b72cc
ZW
171822018-03-10 Zack Weinberg <zackw@panix.com>
17183
0d13dfa1
ZW
17184 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17185 math.h or math_private.h.
17186
17187 * sysdeps/alpha/fpu/s_isnan.c
17188 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17189 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17190 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17191 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17192 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17193 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17194 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17195 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17196 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17199 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17200 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17201 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17202 Include math_private.h.
17203
17204 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17205 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17206 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17207 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17208 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17209 * sysdeps/powerpc/power7/fpu/s_logb.c:
17210 Include math.h and math_private.h.
17211
054b72cc
ZW
17212 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17213 uses of $at in .set noat / .set at.
17214
6253bacd
L
172152018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17216
17217 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17218 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17219 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17220 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17221 Likewise.
17222
229855e5
FW
172232018-03-09 Florian Weimer <fweimer@redhat.com>
17224
17225 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17226 in comment.
17227
9aa5c222
AJ
172282018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17229
17230 [BZ #22919]
17231 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17232 Add nop before __startcontext, add explaining comments.
17233
3dc21497
AZ
172342018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17235
e921c89e
AZ
17236 [BZ #22926]
17237 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17238 empty for __SPE__.
17239 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17240 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17241 Do not build hardware transactional code for __SPE__.
17242 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17243 (__lll_trylock_elision): Likewise.
17244 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17245 (__lll_unlock_elision): Likewise.
17246
d9f26dab 17247 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
17248 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17249 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17250 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17251 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17252 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17253 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17254 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17255 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17256 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17257 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17258 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17259 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17260 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17261 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17262 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17263 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17264 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17265 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17266 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17267 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17268 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17269 (__ASSUME_CLONE_BACKWARDS): Define.
17270 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17271 __clone2 if __NR_clone2 is defined.
17272 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17273 (__ASSUME_CLONE_BACKWARDS): Likewise.
17274 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17275 (__ASSUME_CLONE_BACKWARDS): Likewise.
17276 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17277 (__ASSUME_CLONE2): Likewise.
17278 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17279 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17280 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17281 variants and the define architecture can use.
17282 (__ASSUME_CLONE_DEFAULT): Define as default.
17283 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17284 (__ASSUME_CLONE_BACKWARDS): Likewise.
17285 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17286 (__ASSUME_CLONE_BACKWARDS): Likewise.
17287 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17288 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17289
adc95fb0
SP
172902018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17291
4e54d918
SP
17292 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17293
30a81dae
SP
17294 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17295 time.
17296
adc95fb0
SP
17297 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17298 (do_test_limit): Likewise.
17299
17300 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17301 for every implementation.
17302 (do_test): Likewise.
17303
17304 * benchtests/bench-strncmp.c: Convert output to json.
17305
4e9066bc
ST
173062018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17307
17308 * io/futimens.c: Add missing start-of-file descriptive comment.
17309 * io/utime.c: Likewise.
17310 * misc/futimesat.c: Likewise.
17311 * misc/utimes.c: Likewise.
17312 * sysdeps/mach/hurd/futimesat.c: Likewise.
17313 * sysdeps/mach/hurd/utimes.c: Likewise.
17314 * sysdeps/posix/utime.c: Likewise.
17315 * sysdeps/posix/utimes.c: Likewise.
17316 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17317 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17318 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17319 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17320
ec1300cf
ST
173212018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17322
17323 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17324 hurd_futimes.
17325 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17326 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17327 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17328 (__futimens): Move implementation to...
17329 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17330 utime_tvalue_from_tspec): ... new helper functions.
17331 (hurd_futimens): New function.
17332 * sysdeps/mach/hurd/futimesat.c: New file.
17333 * sysdeps/mach/hurd/utimensat.c: New file.
17334
bbe762d1
FC
173352018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17336
17337 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17338 UTIME_OMIT): New macros.
17339 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17340 before reverting to converting time spec to time value and calling
17341 __file_utimes.
17342 * sysdeps/mach/hurd/utime-helper.c: New file.
17343 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17344 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17345 reverting to utime_tvalue_from_tval and __file_utimes.
17346 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17347 (__lutimes): Just call hurd_futimens after lookup.
17348 * sysdeps/mach/hurd/utimes.c: Likewise.
17349
a1ede3a4
ST
173502018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17351
17352 * bits/sigaction.h: Add include guard.
17353 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17354 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17355 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17356 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17357 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17358 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17359 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17360 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17361 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17362
6900d2ca
JM
173632018-03-05 Joseph Myers <joseph@codesourcery.com>
17364
17365 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17366 -Wmaybe-uninitialized for -Os.
17367 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17368 this disabling.
17369
68448be2
AZ
173702018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17371
5226a81f
AZ
17372 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17373 __INO_T_MATCHES_INO64_T is defined.
17374 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17375 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17376 of definition.
17377 * dirent/alphasort64.c: Likewise.
17378 * dirent/scandir.c: Likewise.
17379 * dirent/scandir64-tail.c: Likewise.
17380 * dirent/scandir64.c: Likewise.
17381 * dirent/scandirat.c: Likewise.
17382 * dirent/scandirat64.c: Likewise.
17383 * dirent/versionsort.c: Likewise.
17384 * dirent/versionsort64.c: Likewise.
17385 * include/dirent.h: Likewise.
17386
fbd01e6c
AZ
17387 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17388 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17389 for socketpair endpoint.
17390 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17391 WRITE_BUFFER_SIZE as buffer size for sending socket.
17392 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17393 issue on system where send is implemented with sendto syscall.
17394 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17395 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17396 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17397 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17398
68448be2
AZ
17399 [BZ #21269]
17400 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17401 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17402 sa_restorer for vDSO case.
17403 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17404
eb1ca47e
ST
174052018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17406
17407 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
17408 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17409 * hurd/hurd/ioctl.h: Include <mach/port.h>
17410 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
17411 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17412 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
17413 (headers): Move mach/param.h to bits/mach/param.h.
17414 * sysdeps/mach/i386/mach/param.h: Move file to ...
17415 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17416 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17417 of <mach/param.h>.
3403cb7d
ST
17418 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17419 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17420 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
17421 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17422 trivial, for C++ conformity.
44c6376c 17423 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
17424 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17425 Process mig output through $(migheadersed).
17426 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
17427 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17428 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17429 headers.
ba89615d
ST
17430 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17431 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17432 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17433 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17434 <bits/types/sigset_t.h>.
17435 [!defined __USE_GNU]: Do not #error out.
17436 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17437 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17438 Include <stddef.h> and <bits/types/sigset_t.h>
17439 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17440 instead of sighandler_t.
974393ea
ST
17441 * stdlib/errno.h (error_t): Move definition to...
17442 * bits/types/error_t.h: ... new header.
17443 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17444 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17445 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17446 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17447 * hurd/hurd.h: Include <bits/types/error_t.h>
17448 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17449 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17450 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17451 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17452 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17453 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 17454 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 17455
eaf6753f
AS
174562018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17457
17458 [BZ #22918]
17459 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17460 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17461 * nscd/gai.c (__nss_hosts_database): Readd definition.
17462 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17463 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17464 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17465
4dc23804
JM
174662018-03-02 Joseph Myers <joseph@codesourcery.com>
17467
17468 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17469 (ifunc_one): Likewise.
17470
1c81d55f
DD
174712018-03-01 DJ Delorie <dj@delorie.com>
17472
17473 [BZ #22342]
17474 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17475 key value.
17476
b717c14f
MR
174772018-03-01 Maciej W. Rozycki <macro@mips.com>
17478
17479 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17480 `match_pid' parameter.
17481 (td_ta_thr_iter): Update accordingly.
17482
1efe1358
FW
174832018-03-01 Florian Weimer <fweimer@redhat.com>
17484
17485 * nptl/Makefile (install-lib-ldscripts): Remove.
17486 (install): Remove rule.
17487 ($(inst_libdir)/libpthread.so): Likewise.
17488
a527f09c
MF
174892018-03-01 Mike FABIAN <mfabian@redhat.com>
17490
17491 [BZ #22896]
17492 * localedata/locales/an_ES: update month and day names,
17493 improve d_fmt, improve postal_fmt, add country_post,
17494 add country_isbn
17495
35d660b0
MF
174962018-03-01 Mike FABIAN <mfabian@redhat.com>
17497
17498 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17499 Ukrainian instead of Bulgarian.
17500
1a2f44a8
FW
175012018-03-01 Florian Weimer <fweimer@redhat.com>
17502
17503 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17504 reference.
17505
bd60ce86
FW
175062018-03-01 Florian Weimer <fweimer@redhat.com>
17507
17508 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17509 * nptl/Makefile (routines): Add pthread_atfork.
17510 (static-only-routines): Set to pthread_atfork.
17511 (libpthread-routines): Remove pthread_atfork.
17512 (libpthread-static-only-routines): Remove.
17513 (install): Update comment.
17514 (libpthread.so): Do not install libpthread_nonshared.a.
17515 (tests): Do not link with libpthread_nonshared.a.
17516 (generated): Remove libpthread_nonshared.a.
17517 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17518 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17519 with libpthread_nonshared.a.
17520
000f290f
JM
175212018-02-28 Joseph Myers <joseph@codesourcery.com>
17522
e2bcf6a8
JM
17523 [BZ #22902]
17524 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17525 (libc_feholdexcept_setroundf128): New macro.
17526 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17527
000f290f
JM
17528 [BZ #15105]
17529 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17530 libc_hidden_def.
17531 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17532 * include/inttypes.h: New file.
17533
02f2fead
JM
175342018-02-27 Joseph Myers <joseph@codesourcery.com>
17535
17536 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17537 -Os in two more places.
17538
874c56d7
MF
175392018-02-27 Mike FABIAN <mfabian@redhat.com>
17540
17541 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17542 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17543 be sorted correctly at the moment because of a bug.
17544
15973854
MF
175452018-02-27 Mike FABIAN <mfabian@redhat.com>
17546
17547 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17548 treat ñ as a primary different character, sync the collation
17549 for Spanish with CLDR.
17550 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17551 * localedata/Makefile: Add new test files.
17552 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17553 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17554 collation order.
17555 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17556 * localedata/am_ET.UTF-8.in: New test file.
17557 * localedata/az_AZ.UTF-8.in: Likewise.
17558 * localedata/be_BY.UTF-8.in: Likewise.
17559 * localedata/ber_DZ.UTF-8.in: Likewise.
17560 * localedata/ber_MA.UTF-8.in: Likewise.
17561 * localedata/bg_BG.UTF-8.in: Likewise.
17562 * localedata/br_FR.UTF-8.in: Likewise.
17563 * localedata/cmn_TW.UTF-8.in: Likewise.
17564 * localedata/crh_UA.UTF-8.in: Likewise.
17565 * localedata/csb_PL.UTF-8.in: Likewise.
17566 * localedata/cv_RU.UTF-8.in: Likewise.
17567 * localedata/cy_GB.UTF-8.in: Likewise.
17568 * localedata/dz_BT.UTF-8.in: Likewise.
17569 * localedata/eo.UTF-8.in: Likewise.
17570 * localedata/es_ES.UTF-8.in: Likewise.
17571 * localedata/fa_IR.UTF-8.in: Likewise.
17572 * localedata/fi_FI.UTF-8.in: Likewise.
17573 * localedata/fil_PH.UTF-8.in: Likewise.
17574 * localedata/fur_IT.UTF-8.in: Likewise.
17575 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17576 * localedata/ha_NG.UTF-8.in: Likewise.
17577 * localedata/ig_NG.UTF-8.in: Likewise.
17578 * localedata/ik_CA.UTF-8.in: Likewise.
17579 * localedata/kk_KZ.UTF-8.in: Likewise.
17580 * localedata/ku_TR.UTF-8.in: Likewise.
17581 * localedata/ky_KG.UTF-8.in: Likewise.
17582 * localedata/ln_CD.UTF-8.in: Likewise.
17583 * localedata/mi_NZ.UTF-8.in: Likewise.
17584 * localedata/ml_IN.UTF-8.in: Likewise.
17585 * localedata/mn_MN.UTF-8.in: Likewise.
17586 * localedata/mr_IN.UTF-8.in: Likewise.
17587 * localedata/mt_MT.UTF-8.in: Likewise.
17588 * localedata/nb_NO.UTF-8.in: Likewise.
17589 * localedata/om_KE.UTF-8.in: Likewise.
17590 * localedata/os_RU.UTF-8.in: Likewise.
17591 * localedata/ps_AF.UTF-8.in: Likewise.
17592 * localedata/ro_RO.UTF-8.in: Likewise.
17593 * localedata/ru_RU.UTF-8.in: Likewise.
17594 * localedata/sc_IT.UTF-8.in: Likewise.
17595 * localedata/se_NO.UTF-8.in: Likewise.
17596 * localedata/sq_AL.UTF-8.in: Likewise.
17597 * localedata/sv_SE.UTF-8.in: Likewise.
17598 * localedata/szl_PL.UTF-8.in: Likewise.
17599 * localedata/tg_TJ.UTF-8.in: Likewise.
17600 * localedata/tk_TM.UTF-8.in: Likewise.
17601 * localedata/tt_RU.UTF-8.in: Likewise.
17602 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17603 * localedata/ug_CN.UTF-8.in: Likewise.
17604 * localedata/uz_UZ.UTF-8.in: Likewise.
17605 * localedata/vi_VN.UTF-8.in: Likewise.
17606 * localedata/yi_US.UTF-8.in: Likewise.
17607 * localedata/yo_NG.UTF-8.in: Likewise.
17608 * localedata/zh_CN.UTF-8.in: Likewise.
17609 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17610 file and fix bugs in the collation.
17611 * localedata/locales/az_AZ: Likewise.
17612 * localedata/locales/be_BY: Likewise.
17613 * localedata/locales/ber_DZ: Likewise.
17614 * localedata/locales/ber_MA: Likewise.
17615 * localedata/locales/bg_BG: Likewise.
17616 * localedata/locales/br_FR: Likewise.
17617 * localedata/locales/br_FR@euro: Likewise.
17618 * localedata/locales/ca_ES: Likewise.
17619 * localedata/locales/cns11643_stroke: Likewise.
17620 * localedata/locales/crh_UA: Likewise.
17621 * localedata/locales/cs_CZ: Likewise.
17622 * localedata/locales/csb_PL: Likewise.
17623 * localedata/locales/cv_RU: Likewise.
17624 * localedata/locales/cy_GB: Likewise.
17625 * localedata/locales/da_DK: Likewise.
17626 * localedata/locales/dz_BT: Likewise.
17627 * localedata/locales/en_CA: Likewise.
17628 * localedata/locales/eo: Likewise.
17629 * localedata/locales/es_CU: Likewise.
17630 * localedata/locales/es_EC: Likewise.
17631 * localedata/locales/es_ES: Likewise.
17632 * localedata/locales/es_US: Likewise.
17633 * localedata/locales/et_EE: Likewise.
17634 * localedata/locales/fa_IR: Likewise.
17635 * localedata/locales/fi_FI: Likewise.
17636 * localedata/locales/fil_PH: Likewise.
17637 * localedata/locales/fur_IT: Likewise.
17638 * localedata/locales/gez_ER@abegede: Likewise.
17639 * localedata/locales/ha_NG: Likewise.
17640 * localedata/locales/hr_HR: Likewise.
17641 * localedata/locales/hsb_DE: Likewise.
17642 * localedata/locales/hu_HU: Likewise.
17643 * localedata/locales/ig_NG: Likewise.
17644 * localedata/locales/ik_CA: Likewise.
17645 * localedata/locales/is_IS: Likewise.
17646 * localedata/locales/iso14651_t1_pinyin: Likewise.
17647 * localedata/locales/kk_KZ: Likewise.
17648 * localedata/locales/ku_TR: Likewise.
17649 * localedata/locales/ky_KG: Likewise.
17650 * localedata/locales/ln_CD: Likewise.
17651 * localedata/locales/lt_LT: Likewise.
17652 * localedata/locales/lv_LV: Likewise.
17653 * localedata/locales/mi_NZ: Likewise.
17654 * localedata/locales/ml_IN: Likewise.
17655 * localedata/locales/mn_MN: Likewise.
17656 * localedata/locales/mr_IN: Likewise.
17657 * localedata/locales/mt_MT: Likewise.
17658 * localedata/locales/nb_NO: Likewise.
17659 * localedata/locales/om_KE: Likewise.
17660 * localedata/locales/os_RU: Likewise.
17661 * localedata/locales/pl_PL: Likewise.
17662 * localedata/locales/ps_AF: Likewise.
17663 * localedata/locales/ro_RO: Likewise.
17664 * localedata/locales/ru_RU: Likewise.
17665 * localedata/locales/ru_UA: Likewise.
17666 * localedata/locales/sc_IT: Likewise.
17667 * localedata/locales/se_NO: Likewise.
17668 * localedata/locales/si_LK: Likewise.
17669 * localedata/locales/sq_AL: Likewise.
17670 * localedata/locales/sv_FI: Likewise.
17671 * localedata/locales/sv_FI@euro: Likewise.
17672 * localedata/locales/sv_SE: Likewise.
17673 * localedata/locales/szl_PL: Likewise.
17674 * localedata/locales/tg_TJ: Likewise.
17675 * localedata/locales/ti_ER: Likewise.
17676 * localedata/locales/tk_TM: Likewise.
17677 * localedata/locales/tl_PH: Likewise.
17678 * localedata/locales/tr_TR: Likewise.
17679 * localedata/locales/tt_RU: Likewise.
17680 * localedata/locales/tt_RU@iqtelif: Likewise.
17681 * localedata/locales/ug_CN: Likewise.
17682 * localedata/locales/uk_UA: Likewise.
17683 * localedata/locales/uz_UZ: Likewise.
17684 * localedata/locales/uz_UZ@cyrillic: Likewise.
17685 * localedata/locales/vi_VN: Likewise.
17686 * localedata/locales/yi_US: Likewise.
17687 * localedata/locales/yo_NG: Likewise.
17688
ce6636b0
MF
176892018-02-27 Mike FABIAN <mfabian@redhat.com>
17690
17691 * gen-locales.mk: Make test files which contain @ modifiers in their
17692 name work.
17693 * localedata/gen-locale.sh: Likewise.
17694
ac3a3b4b
MF
176952018-02-27 Mike FABIAN <mfabian@redhat.com>
17696
17697 * posix/tst-fnmatch.input: Fix results for range expressions
17698 for non C locales.
17699 * posix/tst-regexloc.c: Do not use a range expression for
17700 de_DE.ISO-8859-1 locale.
17701
770cbe14
MF
177022018-02-27 Mike FABIAN <mfabian@redhat.com>
17703
17704 * posix/bug-regex5.c: Fix test case because with the new
17705 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17706 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17707 file.
17708
0fc355d9
MF
177092018-02-27 Mike FABIAN <mfabian@redhat.com>
17710
17711 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17712 downloaded from ISO, the collation order of @-. and space has changed.
17713 Therefore, this test file needed to be adapted.
17714 * localedata/fr_CA.UTF-8.in: Likewise.
17715 * localedata/fr_FR.UTF-8.in: Likewise.
17716 * localedata/uk_UA.UTF-8.in: Likewise.
17717
43f3893f
MF
177182018-02-27 Mike FABIAN <mfabian@redhat.com>
17719
17720 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17721 order of ȥ in the new iso14651_t1_common file.
17722 * localedata/pl_PL.UTF-8.in: Likewise.
17723
df74ef78
MF
177242018-02-27 Mike FABIAN <mfabian@redhat.com>
17725
17726 * localedata/locales/iso14651_t1_common: Add sections for various
17727 scripts to the iso14651_t1_common file.
17728
d5adfbad
MF
177292018-02-27 Mike FABIAN <mfabian@redhat.com>
17730
17731 * localedata/locales/iso14651_t1_common: Use the code point of a
17732 character in the fourth collation level instead of IGNORE for all
17733 entries which have IGNORE on all 4 levels.
17734
5f5a9610
MF
177352018-02-27 Mike FABIAN <mfabian@redhat.com>
17736
17737 * localedata/locales/iso14651_t1_common: Add some convenient collation
17738 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17739 rules similar to those in CLDR.
17740
8a97e900
MF
177412018-02-27 Mike FABIAN <mfabian@redhat.com>
17742
17743 * localedata/locales/iso14651_t1_common: The new version of this
17744 file downloaded from ISO contained several syntax errors which
17745 are fixed by this patch.
17746
bbdd2fba
MF
177472018-02-27 Mike FABIAN <mfabian@redhat.com>
17748
17749 * localedata/locales/iso14651_t1_common: replace all <U.....>
17750 with <U000.....> because glibc understands only 4 digit or 8 digit
17751
1569e551
MF
177522018-02-27 Mike FABIAN <mfabian@redhat.com>
17753
17754 * localedata/locales/iso14651_t1_common: Necessary changes
17755 to make the file downloaded from ISO usable by glibc.
17756
9479b6d5
MF
177572018-02-27 Mike FABIAN <mfabian@redhat.com>
17758
17759 [BZ #14095]
17760 * localedata/locales/iso14651_t1_common: Update file to
17761 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17762
03b540b3
ST
177632018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17764
17765 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17766 of <nptl/pthreadP.h>
17767 (thread_attr_compare): Move function to...
eb937a52 17768 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 17769 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 17770 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 17771
20602c72
JM
177722018-02-26 Joseph Myers <joseph@codesourcery.com>
17773
f54d8f73
JM
17774 * string/strcoll_l.c: Include <libc-diag.h>.
17775 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17776 declarations of seq1 and seq2.
17777
20602c72
JM
17778 [BZ #15105]
17779 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17780 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17781
f5f473a9
DL
177822018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17783
17784 [BZ #22433]
17785 [BZ #22807]
17786 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17787 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17788 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17789 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17790 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17791 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17792
398c6fdd
TMQMF
177932018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17794
17795 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17796 macros used in __ptrace_request.
17797
f5d1f629
L
177982018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17799
17800 [BZ #22792]
17801 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17802 to $(CC).
17803 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17804 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17805 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17806 <tcb-offsets.h>.
17807
54412d20
JM
178082018-02-23 Joseph Myers <joseph@codesourcery.com>
17809
17810 [BZ #15105]
17811 * ctype/ctype.c (tolower): Use libc_hidden_def.
17812 (toupper): Likewise.
17813 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17814 [!_ISOMAC] (toupper): Likewise.
17815
81be4b5e
MF
178162018-02-23 Mike FABIAN <mfabian@redhat.com>
17817
17818 * localedata/Makefile: Remove --quiet argument when
17819 installing locales
17820
9d5cfd8e
MF
178212018-02-23 Mike FABIAN <mfabian@redhat.com>
17822
17823 [BZ #17438]
17824 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17825 in d_fmt.
17826 * localedata/locales/pt_PT (LC_TIME): likewise
17827
6c7269f3
MF
178282018-02-23 Mike FABIAN <mfabian@redhat.com>
17829
17830 [BZ #22646]
17831 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17832 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17833 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17834
92aabad9
AZ
178352018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17836
4cdc25a4
AZ
17837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17838
27761a10
AZ
17839 * nptl/Makefile (routines): Remove unregister-atfork.
17840 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17841 (fork_handler_alloc): Remove function.
17842 (fork_handlers, fork_handler_init): New variables.
17843 (__fork_lock): Rename to atfork_lock.
17844 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17845 to use a dynamic array to add/remove atfork handlers.
17846 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17847 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17848 Remove declaration.
17849 (fork_handler): Remove next, refcntr, and need_signal member.
17850 (__run_fork_handler_type): New enum.
17851 (__run_fork_handlers): New prototype.
17852 * nptl/register-atfork.c: Remove file.
17853 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17854
92aabad9
AZ
17855 * sysdeps/nptl/nptl-signals.h: Move to ...
17856 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17857 comments.
17858 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17859 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17860 unnecessary check for SIGTIMER.
17861 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17862 remove unnecessary removal of SIGTIMER.
17863 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17864 include-signals.h rename.
17865 * nptl/pthreadP.h: Likewise.
17866 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17867 __is_internal_signal instead of __nptl_is_internal_signal.
17868
6b5c8607 178692018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 17870
7e04eb29 17871 [BZ # 22884]
fdcc6253
AW
17872 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17873 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17874 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17875 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17876
8090720a
DD
178772018-02-22 DJ Delorie <dj@delorie.com>
17878
17879 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17880
6ca24c43
SP
178812018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17882
17883 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17884 do_misaligned, not misaligned8.
17885
e9537ddd
SE
178862018-02-22 Steve Ellcey <sellcey@cavium.com>
17887
17888 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17889 Add memcpy_thunderx2.
17890 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17891 Increment to 4.
17892 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17893 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17894 and IS_THUNDERX2PA checks.
17895 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17896 Use macro to set name appropriately.
17897 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17898 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17899 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17900 New macro.
17901 (IS_THUNDERX2): New macro.
17902
6e336476
SL
179032018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17904
17905 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17906
34957904
ZW
179072018-02-21 Zack Weinberg <zackw@panix.com>
17908
30bfee26
ZW
17909 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17910 Define here, unconditionally.
17911 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17912 * libio/libioP.h: Remove #if 0 blocks.
17913 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17914 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17915 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17916
17917 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17918 Assume weak_alias is always defined.
17919
17920 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17921 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17922 Remove #if 0 and #ifdef TODO blocks.
17923 Assume text_set_element is always defined.
17924
17925 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17926 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17927 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17928
df6c012b
ZW
17929 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17930 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17931 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17932 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17933 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17934 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17935 Reformat bit flags for _flags field to make occupancy clearer.
17936 Update commentary.
17937 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17938 Keep definitions consistent with those in libio/libio.h.
17939
17940 * libio/libio.h (_IO_file_flags): Remove macro.
17941 All uses changed to _flags.
17942
177aad3f
ZW
17943 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17944 (__HAVE_COLUMN, _IO_BE): Don't define.
17945 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17946 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17947 * libio/libioP.h (EOF): Don't define.
17948 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17949 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17950 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17951 testing _IO_UNIFIED_JUMPTABLES.
17952
9964a145
ZW
17953 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17954 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17955 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17956 (_IO_size_t): Delete; all uses changed to size_t.
17957 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17958 (_IO_off_t): Delete; all uses changed to off_t.
17959 (_IO_off64_t): Delete; all uses changed to off64_t.
17960 (_IO_pid_t): Delete; all uses changed to pid_t.
17961 (_IO_uid_t): Delete; all uses changed to uid_t.
17962 (_IO_wint_t): Delete; all uses changed to wint_t.
17963 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17964 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17965 (_IO_cookie_io_functions_t): Delete; all uses changed to
17966 cookie_io_functions_t.
17967 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17968 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17969 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17970 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17971
17972 * libio/iofopncook.c: Remove unnecessary forward declarations.
17973 * libio/iolibio.h: Correct outdated commentary.
17974 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17975 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17976 Remove unnecessary casts.
17977 * stdio-common/getline.c: Use _IO_getdelim directly.
17978 Don't redefine ssize_t.
17979 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17980 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17981 Remove outdated comments.
17982 * stdio-common/vfscanf.c: Don't redefine va_list.
17983
34957904
ZW
17984 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17985 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17986 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17987 which are always true, and __cplusplus, which is always false.
17988
30ac923d
JM
179892018-02-21 Joseph Myers <joseph@codesourcery.com>
17990
039c721a
JM
17991 [BZ #15105]
17992 [BZ #19463]
17993 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17994 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17995 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17996 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17997 libc_hidden_proto.
17998 [!_ISOMAC] (putc_unlocked): Likewise.
17999 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18000 define inline if [__USE_EXTERN_INLINES].
18001 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18002 putc_unlocked.
18003
30ac923d
JM
18004 [BZ #15105]
18005 [BZ #19463]
18006 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18007 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18008 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18009 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18010 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18011 getc_unlocked.
18012 * time/tzfile.c (__tzfile_read): Likewise.
18013
7ec5f946
MF
180142018-02-21 Mike FABIAN <mfabian@redhat.com>
18015
18016 [BZ #22517]
18017 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18018
0d217f40
RJ
180192018-02-21 Rical Jasan <ricaljasan@pacific.net>
18020
18021 * io/fcntl.h: Fix a typo in a comment.
18022
862b4502
RJ
180232018-02-21 Rical Jasan <ricaljasan@pacific.net>
18024
18025 [BZ #22862]
18026 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18027 define _DEFAULT_SOURCE.
18028 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18029
999a6dab
FW
180302018-02-21 Florian Weimer <fweimer@redhat.com>
18031
18032 [BZ #20890]
18033 * elf/cache.c (save_cache): Call fsync on temporary file before
18034 renaming it.
18035 (save_aux_cache): Call fdatasync on temporary file before renaming
18036 it.
18037
52a01100
FW
180382018-02-21 Florian Weimer <fweimer@redhat.com>
18039
18040 [BZ #22787]
18041 * include/caller.h: Remove file.
18042 * elf/dl-caller.c: Likewise.
18043 * elf/Makefile (dl-routines): Remove dl-caller.
18044 (shared-only-routines): Do not add dl-caller.
18045 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18046 __check_caller.
18047 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18048 member.
18049 (dl_open_worker): Do not call __check_caller.
18050 (_dl_open): Do not set caller_dl_open member.
18051 * elf/rtld.c (_rtld_global_ro): Do not initialize
18052 _dl_check_caller member.
18053 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18054 _dl_check_caller member.
18055 (_dl_check_caller): Remove declaration.
18056 * sysdeps/unix/sysv/linux/dl-execstack.c
18057 (_dl_make_stack_executable): Do not call __check_caller.
18058
b5bf62e4
ST
180592018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18060
18061 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 18062 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 18063
e8d190b9
RJ
180642018-02-20 Rical Jasan <ricaljasan@pacific.net>
18065
18066 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18067 description.
18068
6a3962c4
RJ
180692018-02-20 Rical Jasan <ricaljasan@pacific.net>
18070
da81ae64 18071 [BZ #16335]
6a3962c4
RJ
18072 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18073 of 199606L, 200112L, and 200809L.
18074 (_XOPEN_SOURCE): Document special values of 600 and 700.
18075 (_ISOC11_SOURCE): Document macro.
18076 (_ATFILE_SOURCE): Likewise.
18077 (_FORTIFY_SOURCE): Likewise.
18078
ec481ad8
JM
180792018-02-19 Joseph Myers <joseph@codesourcery.com>
18080
18081 [BZ #15105]
18082 [BZ #19463]
18083 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18084 and define as weak alias of __ferror_unlocked. Use
18085 libc_hidden_weak.
18086 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18087 libc_hidden_proto.
18088 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18089 function if [__USE_EXTERN_INLINES].
18090 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18091 ferror_unlocked.
18092
7d15ef84
RJ
180932018-02-19 Rical Jasan <ricaljasan@pacific.net>
18094
18095 [BZ #6889]
18096 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18097
f8d79582
AJ
180982018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18099
18100 [BZ #22818]
18101 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18102 the GLIBC_2.1 version.
18103
56456a2a
AJ
181042018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18105
18106 [BZ #21508]
18107 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18108 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18109 intl/tst-gettext-de.po from po/de.po by removing the
18110 POT-Creation-Date line.
18111 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18112 ../po/de.po.
18113 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18114 ../po/de.po.
18115
13768813
ST
181162018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18117
18118 * mach/Makefile (headers): Add mach/param.h.
18119 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18120 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
18121 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18122 (__ptsname_r): Move implementation to...
18123 (__ptsname_internal): ... new function. Add filling the STP
18124 structure.
13768813 18125
6aca1b61
JDA
181262018-02-17 John David Anglin <danglin@gcc.gnu.org>
18127
18128 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18129 idouble to 1 ULP.
18130
16efad51
RJ
181312018-02-16 Rical Jasan <ricaljasan@pacific.net>
18132
18133 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18134 syntax.
18135
87245073
SL
181362018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18137
18138 * nptl/Makefile (tst-mutex8-ENV): Delete.
18139 * nptl/tst-mutex8.c (check_type):
18140 Add runtime check if mutex will be elided.
18141
7fc03cf3
JM
181422018-02-15 Joseph Myers <joseph@codesourcery.com>
18143
db9881ec
JM
18144 [BZ #20980]
18145 [BZ #21234]
18146 * manual/install.texi (Configuring and compiling): Describe
18147 passing CC and CFLAGS on configure command line, not as
18148 environment variables. Use @code markup on those variables.
18149 Specify what options go in CC and what go in CFLAGS. Note the
18150 requirement to compile with optimization.
18151 * INSTALL: Regenerated.
18152
3785b31c
JM
18153 [BZ #18124]
18154 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18155 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18156 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18157 __sigprocmask instead of sigprocmask.
18158 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18159 Likewise.
18160 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18161 __sigsetjmp and sigprocmask.
18162
055ac2a7
JM
18163 [BZ #15105]
18164 * include/argz.h (argz_next): Use libc_hidden_proto.
18165 (__argz_next): Likewise.
18166 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18167 (argz_next): Use libc_hidden_weak.
18168
e4452a2d
JM
18169 [BZ #15105]
18170 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18171 libc_hidden_proto.
18172 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18173 libc_hidden_def.
18174
499b3153
JM
18175 [BZ #15105]
18176 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18177 libc_hidden_proto.
18178 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18179
7fc03cf3
JM
18180 [BZ #15105]
18181 [BZ #19463]
18182 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18183 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18184 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18185 (__feof_unlocked): New declaration, and inline function if
18186 [__USE_EXTERN_INLINES].
18187 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18188 instead of feof_unlocked.
18189 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18190 * nss/nsswitch.c (nss_parse_file): Likewise.
18191 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18192 Likewise.
18193 * time/getdate.c (__getdate_r): Likewise.
18194 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18195 Define as macro to call __feof_unlocked.
18196
0c8a67a5
WD
181972018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18198
18199 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18200
610ee1fc
WD
182012018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18202
18203 * math/Makefile: Remove mpexp.c and mplog.c
18204 * sysdeps/i386/fpu/mpexp.c: Delete file.
18205 * sysdeps/i386/fpu/mplog.c: Likewise.
18206 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18207 * sysdeps/ia64/fpu/mplog.c: Likewise.
18208 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18209 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18210 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18211 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18212 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18213 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18214 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18215 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18216 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18217 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18218 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18219 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18220 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18221 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18222 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18223 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18224
8e7196c8
SL
182252018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18226
18227 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18228
4f55ad0b
AZ
182292018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18230
18231 * sysdeps/sh/libm-test-ulps: Update.
18232
261a851c
TMQMF
182332018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18234
18235 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18236 idouble to 1 ULP.
18237
e16deca6
ZW
182382018-02-12 Zack Weinberg <zackw@panix.com>
18239
18240 [BZ #19239]
18241 * posix/sys/types.h: Don't include sys/sysmacros.h.
18242 * misc/sys/sysmacros.h: Remove the conditional deprecation
18243 warnings for the macros defined by this header.
18244
de800d83
SN
182452018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18246
18247 * manual/probes.texi: Remove slowexp probes.
18248 * math/Makefile: Remove slowexp.
18249 * sysdeps/generic/math_private.h (__slowexp): Remove.
18250 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18251 document error bounds.
18252 * sysdeps/i386/fpu/slowexp.c: Remove.
18253 * sysdeps/ia64/fpu/slowexp.c: Remove.
18254 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18255 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18256 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18257 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18258 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18259 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18260 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18261 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18262 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18263 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18264 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18265
c3d466cb
WD
182662018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18267
18268 [BZ #13932]
18269 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18270 * benchtests/pow-inputs: Update comment for slow path cases.
18271 * manual/probes.texi (slowpow_p10): Delete removed probe.
18272 (slowpow_p10): Likewise.
18273 * math/Makefile: Remove halfulp.c and slowpow.c.
18274 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18275 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18276 (__halfulp): Remove.
18277 (__slowpow): Remove.
18278 * sysdeps/i386/fpu/halfulp.c: Delete file.
18279 * sysdeps/i386/fpu/slowpow.c: Likewise.
18280 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18281 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18282 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18283 improve comments and add error analysis.
18284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18285 (power1): Remove function:
18286 (log1): Remove error argument, add error analysis.
18287 (my_log2): Remove function.
18288 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18289 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18290 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18291 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18292 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18293 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18294 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18295 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18296 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18297 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18298 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18299 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18300 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18301 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18302
7bb087bd
ST
183032018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18304
18305 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18306 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18307
2fd4bbaa
DL
183082018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18309
18310 [BZ #22433]
18311 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18312 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18313 and PTRACE_SETHBPREGS.
18314
402ecba4
ZW
183152018-02-10 Zack Weinberg <zackw@panix.com>
18316
18317 [BZ #22830]
18318 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18319 correctly.
18320 * malloc/tst-malloc-stats-cancellation.c: New test case.
18321 * malloc/Makefile: Add new test case.
18322
4f5b921e
WD
183232018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18324
18325 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18326
a85b70db
JM
183272018-02-10 Joseph Myers <joseph@codesourcery.com>
18328
d8742dd8
JM
18329 * math/Makefile (libm-narrow-fns): Add add.
18330 (libm-test-funcs-narrow): Likewise.
18331 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18332 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18333 * math/gen-auto-libm-tests.c (test_functions): Add add.
18334 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18335 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18336 (NARROW_ADD_TRIVIAL): Likewise.
18337 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18338 macro.
18339 (__daddl): Likewise.
18340 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18341 dadd.
18342 (CFLAGS-nldbl-dadd.c): New variable.
18343 (CFLAGS-nldbl-fadd.c): Likewise.
18344 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18345 __nldbl_daddl.
18346 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18347 prototype.
18348 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18349 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18350 * math/auto-libm-test-in: Add tests of add.
18351 * math/auto-libm-test-out-narrow-add: New generated file.
18352 * math/libm-test-narrow-add.inc: New file.
18353 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18354 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18355 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18356 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18357 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18358 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18359 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18360 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18361 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18362 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18363 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18364 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18365 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18366 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18367 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18368 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18369 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18370 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18372 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18373 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18374 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18375 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18376 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18377 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18378 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18379 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18380 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18381 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18382 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18383 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18384 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18389 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18390 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18391 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18392 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18393 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18394 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18395 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18396 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18397 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18398 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18399
a85b70db
JM
18400 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18401 (f128-pairs): New variable.
18402 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18403 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18404 to CFLAGS.
18405 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18406 Also make tests add $(f128-loader-link) to gnulib-tests.
18407
6a1ff640
DD
184082018-02-09 DJ Delorie <dj@redhat.com>
18409
18410 [BZ #22827]
18411 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18412 64-bit ELF type for 64-bit ELF objects.
18413
bfd47587
JM
184142018-02-09 Joseph Myers <joseph@codesourcery.com>
18415
31958338
JM
18416 * math/libm-test-driver.c (snan_tests_arg): New variable.
18417 * math/libm-test-support.h (snan_tests_arg): New declaration.
18418 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18419
8e554659
JM
18420 * math/Makefile (test-type-pairs): New variable.
18421 (test-type-pairs-f64xf128-yes): Likewise.
18422 (tests): Add test-narrow-macros.
18423 (libm-test-funcs-narrow): New variable.
18424 (libm-test-c-narrow): Likewise.
18425 (generated): Add $(libm-test-c-narrow).
18426 (libm-tests-base-narrow): New variable.
18427 (libm-tests-narrow): Likewise.
18428 (libm-tests): Add $(libm-tests-narrow).
18429 (libm-tests-for-type): Handle $(libm-tests-narrow).
18430 (libm-test-c-narrow-obj): New variable.
18431 ($(libm-test-c-narrow-obj)): New rule.
18432 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18433 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18434 $(o-iterator) to set dependencies and CFLAGS.
18435 * math/gen-auto-libm-tests.c: Document use for narrowing
18436 functions.
18437 (output_for_one_input_case): Take argument NARROW.
18438 (generate_output): Likewise. Update call to
18439 output_for_one_input_case.
18440 (main): Take --narrow option. Update call to generate_output.
18441 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18442 (apply_lit): Update call to _apply_lit.
18443 (apply_arglit): New function.
18444 (parse_args): Handle "a" arguments.
18445 (parse_auto_input): Handle format names using ":".
18446 * math/README.libm-test: Document "a" parameter type.
18447 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18448 (ARG_TYPE_TRUE_MIN): Likewise.
18449 (ARG_TYPE_MAX): Likwise.
18450 (ARG_MIN_EXP): Likewise.
18451 (ARG_MAX_EXP): Likewise.
18452 (ARG_MANT_DIG): Likewise.
18453 (TEST_COND_arg_ibm128): Likewise.
18454 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18455 (TEST_COND_arg_fmt): New macro.
18456 (init_max_error): Update prototype.
18457 * math/libm-test-support.c (test_ibm128): New variable.
18458 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18459 instead of using [TEST_COND_ibm128] conditional.
18460 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18461 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18462 [TEST_NARROW] (TEST_MSG): New definition.
18463 (arg_plus_zero): New macro.
18464 (arg_minus_zero): Likewise.
18465 (arg_plus_infty): Likewise.
18466 (arg_minus_infty): Likewise.
18467 (arg_qnan_value_pl): Likewise.
18468 (arg_qnan_value): Likewise.
18469 (arg_snan_value_pl): Likewise.
18470 (arg_snan_value): Likewise.
18471 (arg_max_value): Likewise.
18472 (arg_min_value): Likewise.
18473 (arg_min_subnorm_value): Likewise.
18474 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18475 (RUN_TEST_LOOP_aa_f): New macro.
18476 (TEST_SUFF): New macro.
18477 (TEST_SUFF_STR): Likewise.
18478 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18479 (TEST_COND_any_ibm128): New macro.
18480 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18481 this_func. Update call to init_max_error.
18482 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18483 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18484 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18485 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18486 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18487 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18488 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18489 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18490 * math/test-math-vector.h (TEST_NARROW): Likewise.
18491 * math/test-arg-double.h: New file.
18492 * math/test-arg-float128.h: Likewise.
18493 * math/test-arg-float32x.h: Likewise.
18494 * math/test-arg-float64.h: Likewise.
18495 * math/test-arg-float64x.h: Likewise.
18496 * math/test-arg-ldouble.h: Likewise.
18497 * math/test-math-narrow.h: Likewise.
18498 * math/test-narrow-macros.c: Likewise.
18499 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18500 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18501 test-narrow-macros-ldbl-64.
18502 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18503
63716ab2
JM
18504 * math/bits/mathcalls-narrow.h: New file.
18505 * include/bits/mathcalls-narrow.h: Likewise.
18506 * math/math-narrow.h: Likewise.
18507 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18508 (__MATHCALL_NARROW_ARGS_2): Likewise.
18509 (__MATHCALL_NARROW_ARGS_3): Likewise.
18510 (__MATHCALL_NARROW_NORMAL): Likewise.
18511 (__MATHCALL_NARROW_REDIR): Likewise.
18512 (__MATHCALL_NARROW): Likewise.
18513 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18514 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18515 defined.
18516 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18517 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18518 (libm-narrow-fns): New variable.
18519 (libm-narrow-types-basic): Likewise.
18520 (libm-narrow-types-ldouble-yes): Likewise.
18521 (libm-narrow-types-float128-yes): Likewise.
18522 (libm-narrow-types-float128-alias-yes): Likewise.
18523 (libm-narrow-types): Likewise.
18524 (libm-routines): Add narrowing functions.
18525 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18526 (libc_feholdexcept_setroundf128): New macro.
18527 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18528 * sysdeps/ieee754/float128/float128_private.h: Include
18529 <math/math-narrow.h>.
18530 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18531 Undefine and redefine.
18532 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18533 (libm_alias_float_ldouble): Undefine and redefine.
18534 (libm_alias_double_ldouble): Likewise.
18535
bfd47587
JM
18536 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18537
3f8d9d58
WD
185382018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18539
18540 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18541 FPCR/FPSR.
18542
1f6676d7
RJ
185432018-02-09 Rical Jasan <ricaljasan@pacific.net>
18544
18545 * manual/creature.texi: Convert references to gcc.info to gcc.
18546 * manual/stdio.texi: Likewise.
18547 * manual/string.texi: Likewise.
18548
d80441dd
JM
185492018-02-07 Joseph Myers <joseph@codesourcery.com>
18550
15081be9
JM
18551 [BZ #17979]
18552 * posix/bits/types.h (__int_least8_t): New typedef.
18553 (__uint_least8_t): Likewise.
18554 (__int_least16_t): Likewise.
18555 (__uint_least16_t): Likewise.
18556 (__int_least32_t): Likewise.
18557 (__uint_least32_t): Likewise.
18558 (__int_least64_t): Likewise.
18559 (__uint_least64_t): Likewise.
18560 * sysdeps/generic/stdint.h (int_least8_t): Define using
18561 __int_least8_t.
18562 (int_least16_t): Define using __int_least16_t.
18563 (int_least32_t): Define using __int_least32_t.
18564 (int_least64_t): Define using __int_least64_t.
18565 (uint_least8_t): Define using __uint_least8_t.
18566 (uint_least16_t): Define using __uint_least16_t.
18567 (uint_least32_t): Define using __uint_least32_t.
18568 (uint_least64_t): Define using __uint_least64_t.
18569 * wcsmbs/uchar.h: Include <bits/types.h>.
18570 (char16_t): Define using __uint_least16_t conditional only on
18571 [!__USE_ISOCXX11].
18572 (char32_t): Define using __uint_least32_t conditional only on
18573 [!__USE_ISOCXX11].
18574 * wcsmbs/test-char-types.c: New file.
18575 * wcsmbs/Makefile (tests): Add test-char-types.
18576
d80441dd
JM
18577 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18578 version to 4.0.1.
18579
6c6c962a
ZW
185802018-02-07 Zack Weinberg <zackw@panix.com>
18581
63fb8f9a
ZW
18582 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18583 Delete all contents except for definitions of _G_HAVE_MMAP and
18584 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18585 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18586 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18587 change as above.
18588
18589 * libio/libio.h: Don't include bits/_G_config.h here.
18590 Include stddef.h with __need_wchar_t defined. Include
18591 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18592 Define _IO_iconv_t here, directly.
18593 Don't define _IO_HAVE_ST_BLKSIZE.
18594 * libio/libioP.h: Include _G_config.h here. Move include of
18595 shlib-compat.h up with rest of includes. Simplify conditionals
18596 controlling definition of _IO_JUMPS_OFFSET.
18597
18598 * csu/init.c: Remove always-true #if around entire file.
18599 Don't include stdio.h. Set _IO_stdin_used to hardwired
18600 constant 0x20001, and update commentary.
18601 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18602 Replace all uses of _G_va_list with __gnuc_va_list.
18603 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18604 instead of #if _IO_HAVE_ST_BLKSIZE.
18605 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18606 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18607 not #ifdef.
18608
6c6c962a
ZW
18609 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18610 multiple-include guard to match.
18611 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18612 into this file.
18613 Remove preprocessor conditionals that are always true and/or
18614 redundant to other preprocessor conditionals in the same nest.
18615 Include shlib-compat.h unconditionally.
18616 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18617 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18618 defined after including stdio.h.
18619 Use __BEGIN_DECLS/__END_DECLS.
18620
18621 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18622 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18623 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18624
a4fea3f2
ZW
186252018-02-07 Zack Weinberg <zackw@panix.com>
18626
18627 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18628 New single-type headers split from _G_config.h.
18629 * libio/bits/types/cookie_io_functions_t.h
18630 * libio/bits/types/struct_FILE.h
18631 New single-type headers split from libio.h.
18632
18633 * libio/Makefile: Install the above new headers. Don't install
18634 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18635 bits/libio-ldbl.h.
18636 * libio/_G_config.h, libio/libio.h: Delete file.
18637
18638 * libio/bits/libio.h: Remove improper-inclusion guard.
18639 Include stdio.h and don't repeat anything that it does.
18640 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18641 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18642 __io_read_fn as cookie_read_function_t,
18643 __io_write_fn as cookie_write_function_t,
18644 __io_seek_fn as cookie_seek_function_t,
18645 __io_close_fn as cookie_close_function_t,
18646 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18647 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18648 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 18649 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
18650 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18651 and _IO_ferror_unlocked.
18652 Move prototypes of __uflow and __overflow...
18653
18654 * libio/stdio.h: ...here. Don't include bits/libio.h.
18655 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 18656 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
18657 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18658 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18659 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18660 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18661 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18662 __ssize_t, not _IO_ssize_t. Unconditionally define
18663 BUFSIZ as 8192 and EOF as (-1).
18664
18665 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18666 macros from bits/types/struct_FILE.h instead of _IO_* macros
18667 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18668 instead of _IO_ssize_t.
18669 * libio/bits/stdio2.h: Similarly.
18670
18671 * libio/iolibio.h: Add multiple-include guard.
18672 Include bits/libio.h after stdio.h.
18673 * libio/libioP.h: Add multiple-include guard.
18674 Include stdio.h and bits/libio.h before iolibio.h.
18675
6c6c962a 18676 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
18677 * include/bits/types/cookie_io_functions_t.h
18678 * include/bits/types/struct_FILE.h: New wrappers.
18679
18680 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
18681 Get definitions of _G_fpos_t and _G_fpos64_t from
18682 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18683 respectively. Remove improper-inclusion guards.
a4fea3f2 18684
6c6c962a 18685 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 18686 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 18687 libio.h and _G_config.h.
a4fea3f2 18688
ce999220
JM
186892018-02-07 Joseph Myers <joseph@codesourcery.com>
18690
8b4a1182
JM
18691 [BZ #15105]
18692 [BZ #19463]
18693 * include/sys/sysmacros.h [!_ISOMAC]
18694 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18695 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18696 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18697 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18698 libc_hidden_proto.
18699 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18700 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18701 Likewise.
18702 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18703 Undefine and redefine to add use __gnu_dev_ prefix.
18704 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18705 Likewise.
18706 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18707 and define as hidden inline function.
18708 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18709 Likewise.
18710 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18711 Likewise.
18712 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18713 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18714 (gnu_dev_minor): Likewise.
18715 (gnu_dev_makedev): Likewise.
18716 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18717 makedev.
18718 * posix/wordexp.c (exec_comm_child): Likewise.
18719 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18720 instead of minor and __gnu_dev_major instead of major.
18721 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18722 __gnu_dev_major instead of major.
18723 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18724 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18725 instead of gnu_dev_minor.
18726 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18727 (SLAVE_P): Likewise.
18728 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18729 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18730 instead of major.
18731
ce999220
JM
18732 [BZ #21313]
18733 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18734 in another place.
18735 * locale/weightwc.h (findidx): Likewise.
18736
b7c83ca3
WD
187372018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18738
18739 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18740 (slowlog_inexact): Likewise
18741 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18742 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18743
388ff7bd
IG
187442018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18745
18746 [BZ #22797]
18747 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18748 missing second underscore to parameter name.
18749
663e7d78
JM
187502018-02-06 Joseph Myers <joseph@codesourcery.com>
18751
0d40d0ec
JM
18752 [BZ #14508]
18753 [BZ #15512]
18754 [BZ #17082]
18755 [BZ #20530]
18756 * bits/byteswap.h: Update file comment. Do not include
18757 <bits/byteswap-16.h>.
18758 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18759 constant.
18760 (__bswap_16): Define as inline function.
18761 (__bswap_constant_32): Reformat definition.
18762 (__bswap_32): Always define as inline function, not macro, using
18763 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18764 otherwise __bswap_constant_32.
18765 (__bswap_constant_64): Reformat definition. Do not use
18766 __extension__ here.
18767 (__bswap_64): Always define as inline function, not macro. Use
18768 __extension__ on function definition. Use __builtin_bswap64 if
18769 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18770 * string/test-endian-file-scope.c: New file.
18771 * string/test-endian-sign-conversion.c: Likewise.
18772 * string/Makefile (headers): Remove bits/byteswap-16.h.
18773 (tests): Add test-endian-file-scope and
18774 test-endian-sign-conversion.
18775 (CFLAGS-test-endian-sign-conversion.c): New variable.
18776 * bits/byteswap-16.h: Remove file.
18777 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18778 * sysdeps/ia64/bits/byteswap.h: Likewise.
18779 * sysdeps/m68k/bits/byteswap.h: Likewise.
18780 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18781 * sysdeps/s390/bits/byteswap.h: Likewise.
18782 * sysdeps/tile/bits/byteswap.h: Likewise.
18783 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18784 * sysdeps/x86/bits/byteswap.h: Likewise.
18785
383e87c9
JM
18786 [BZ #17721]
18787 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18788 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18789 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18790 199901L] (__restrict): Define to restrict.
18791
d92c2759
JM
18792 [BZ #19667]
18793 * string/testcopy.c: Include <support/support.h>. Do not include
18794 <malloc.h>. Use <support/test-driver.c>.
18795 (main): Rename to do_test. Make static. Use xmalloc instead of
18796 malloc.
18797
625fb764
JM
18798 [BZ #13575]
18799 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18800 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18801 (SSIZE_MAX): Define to INT_MAX.
18802 * posix/test-ssize-max.c: New file.
18803 * posix/Makefile (tests): Add test-ssize-max.
18804
02325d6c
JM
18805 [BZ #19668]
18806 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18807 <support/support.h>. Do not include <malloc.h>.
18808 (query_auxv): Use xmalloc instead of malloc.
18809
663e7d78
JM
18810 [BZ #14553]
18811 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18812 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18813 instead of loff_t.
18814
6b5c8607 188152018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
18816
18817 [BZ #18023]
18818 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18819 Use scratch_buffer instead of extend_alloca.
18820
de6da571
ZW
188212018-02-06 Zack Weinberg <zackw@panix.com>
18822
26c07172
ZW
18823 * libio/stdio.h: Don't define getc or putc as macros.
18824 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18825 not _IO_getc and _IO_putc.
18826
de6da571
ZW
18827 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18828 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18829
92669d6e
JM
188302018-02-06 Joseph Myers <joseph@codesourcery.com>
18831
c2b84df9
JM
18832 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18833 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18834
41376f8c
JM
18835 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18836
d28bf648
JM
18837 [BZ #14890]
18838 * elf/elf.h (NT_PRFPREG): New macro.
18839 (NT_S390_VXRS_LOW): Likewise.
18840 (NT_S390_VXRS_HIGH): Likewise.
18841 (NT_S390_GS_CB): Likewise.
18842 (NT_S390_GS_BC): Likewise.
18843 (NT_S390_RI_CB): Likewise.
18844
e76def72
JM
18845 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18846 (MAP_SYNC): New macro.
18847 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18848 Likewise.
18849 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18850 (MAP_SYNC): Likewise.
18851 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18852 (MAP_SYNC): Likewise.
18853 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18854 (MAP_SYNC): Likewise.
18855 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18856 (MAP_SYNC): Likewise.
18857 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18858 (MAP_SYNC): Likewise.
18859 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18860 (MAP_SYNC): Likewise.
18861 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18862 Likewise.
18863 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18864 Likewise.
18865
92669d6e
JM
18866 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18867 (MAP_SHARED_VALIDATE): New macro.
18868 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18869 (MAP_SHARED_VALIDATE): Likewise.
18870
6a5cac49
L
188712018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18872
18873 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18874 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18875 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18876
b44e0dfb
L
188772018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18878
18879 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18880 (DT_NUM): Updated to 35.
18881
f886c16c
L
188822018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18883
18884 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18885 __builtin_expect with __glibc_likely and __glibc_unlikely.
18886 (elf_machine_rela): Likewise.
18887 (elf_machine_lazy_rel): Likewise.
18888
06fbebff
L
188892018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18890
18891 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 18892 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
18893 (elf_machine_lazy_rel): Likewise.
18894
371b220f
L
188952018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18896
18897 [BZ #22638]
18898 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18899 SHARED.
65805016 18900 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 18901
f649a1b8
AS
189022018-02-05 Andreas Schwab <schwab@suse.de>
18903
18904 [BZ #22761]
18905 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18906 string.
18907
9fdb340e
ST
189082018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18909
18910 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18911 not check against PTHREAD_STACK_MIN.
18912
09e56b9e
SM
189132018-02-02 Sean McKean <smckean83@gmail.com>
18914
18915 [BZ #22735]
18916 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18917
d4b4a00a
FW
189182018-02-02 Florian Weimer <fweimer@redhat.com>
18919
18920 [BZ #22753]
18921 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18922 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18923 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18924 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18925 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18926 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18927 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18928 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18929 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18930 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18931 * misc/tst-preadvwritev2.c (do_test): Call it.
18932 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18933
3dfcbfa1
SP
189342018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18935
84c94d2f
SP
18936 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18937
96e6a716
SP
18938 * benchtests/bench-memcmp.c: Print json instead of plain text.
18939
3dfcbfa1
SP
18940 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18941 every test run.
18942
049375e2
JM
189432018-02-01 Joseph Myers <joseph@codesourcery.com>
18944
39f898c6
JM
18945 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18946 version to 4.15.
18947 (s390_sthyi): New syscall.
18948
6f9a3dd8
JM
18949 * sysdeps/generic/ldbl-classify-compat.h: New file.
18950 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18951 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18952 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18953 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18954 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18955 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18956 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18957 <ldbl-classify-compat.h>.
18958 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18959 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18960 <ldbl-classify-compat.h>.
18961 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18962 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18963 <ldbl-classify-compat.h>.
18964 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18965 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18966 <ldbl-classify-compat.h>.
18967 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18969 <ldbl-classify-compat.h>.
18970 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18971 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18972 <ldbl-classify-compat.h>.
18973 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18974 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18975 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18976 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18977 * sysdeps/microblaze/math_private.h: Likewise.
18978 * sysdeps/nios2/math_private.h: Likewise.
18979 * sysdeps/sh/math_private.h: Likewise.
18980
eb65a3d5
JM
18981 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18982 * sysdeps/m68k/coldfire/math_private.h: ... here.
18983 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18984 * sysdeps/tile/math_private.h: Likewise.
18985 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18986 Remove macro.
18987 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18988 Likewise.
18989
8a6bb1d0
JM
18990 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18991 Remove macro.
18992 (libc_fetestexcept): Likewise.
18993 (libc_feupdateenv_test): Likewise.
18994 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18995 (libc_fetestexcept): Likewise.
18996 (libc_feupdateenv_test): Likewise.
18997 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18998 (libc_fetestexcept): Likewise.
18999 (libc_feupdateenv_test): Likewise.
19000 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19001 (libc_fetestexcept): Likewise.
19002 (libc_feupdateenv_test): Likewise.
19003
ae1fcb7b
JM
19004 * sysdeps/generic/math_private.h
19005 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19006 New inline function.
19007 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19008 Likewise.
19009
b1c347e2
JM
19010 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19011 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19012 * sysdeps/generic/math_private.h
19013 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19014 inline function.
19015 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19016 Likewise.
19017 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19018 Likewise.
19019 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19020 Likewise.
19021 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19022 Likewise.
19023 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19024 Likewise.
19025 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19026 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19027 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19028 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19029 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19030 (__fegetenv): Likewise.
19031 (fesetenv): Likewise.
19032 (__fesetenv): Likewise.
19033 (feupdateenv): Likewise.
19034 (__feupdateenv): Likewise.
19035 (fegetround): Likewise.
19036 (__fegetround): Likewise.
19037 (fesetround): Likewise.
19038 (__fesetround): Likewise.
19039
d23a4962
JM
19040 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19041 (feraiseexcept): New macro.
19042 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19043 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19044 Remove macro.
19045 (__feraiseexcept): Likewise.
19046 (feclearexcept): Likewise.
19047 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19048 (__feraiseexcept): Likewise.
19049 (feclearexcept): Likewise.
19050 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19051 (__feraiseexcept): Likewise.
19052 (feclearexcept): Likewise.
19053 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19054 (__feraiseexcept): Likewise.
19055 (feclearexcept): Likewise.
19056 (fetestexcept): Likewise.
19057
5f167950
JM
19058 * sysdeps/m68k/coldfire/math-tests.h: New file.
19059
ccc9035a
JM
19060 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19061 * sysdeps/m68k/bits/fenv.h: ... here.
19062 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19063 not define.
19064 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19065 Likewise.
19066 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19067 Likewise.
19068 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19069 Likewise.
19070 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19071 Likewise.
19072 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19073 Define to 0.
19074 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19075 (__FE_UNDEFINED): New enum constant.
19076 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19077 Do not define.
19078 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19079 Likewise.
19080 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19081 Likewise.
19082 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19083 to match generic bits/fenv.h.
19084 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19085 Do not define.
19086
049375e2
JM
19087 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19088 packed on bits.
19089 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19090 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19091 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19092 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19093
f1d73681
CD
190942018-02-01 Carlos O'Donell <carlos@redhat.com>
19095 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19096 Joseph Myers <joseph@codesourcery.com>
19097
19098 [BZ #21314]
19099 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19100 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19101 computation using c.
19102 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19103 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19104 computation using c.
19105
242cbc90
DL
191062018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19107
086ee48e
DL
19108 * version.h (RELEASE): Set to "development".
19109 (VERSION): Set to "2.27.9000".
19110 * NEWS (2.28): New section.
19111
23158b08
DL
19112 * version.h (RELEASE): Set to "stable".
19113 (VERSION): Set to "2.27".
19114 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19115
242cbc90
DL
19116 * NEWS: Add the list of bugs fixed in 2.27.
19117
673e2305
AZ
191182018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19119
19120 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19121 against PTHREAD_STACK_MIN.
19122
ced64e01
DL
191232018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19124
19125 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19126 New entries.
19127 (Rafal Luzynski, Andreas Schwab): Update.
19128
c10c9a5e
RL
191292018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19130
19131 [BZ #10871]
19132 * NEWS: List the languages which actually use the alternative
19133 months feature in this release. Also explain that "alt_mon" and
19134 "ab_alt_mon" are optional.
19135
650ba77a
IM
191362018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19137
19138 [BZ #22765]
19139 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19140
93493119
DL
191412018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19142
19143 * manual/install.texi (Tools for Compilation): Update the newest
19144 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19145 * INSTALL: Regenerated.
19146
363e4519 191472018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
19148
19149 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19150 instead of __builtin_expect.
19151
d7536874
FW
191522018-01-30 Florian Weimer <fweimer@redhat.com>
19153
19154 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19155 data.
19156 * nss/tst-nss-getpwent.c (do_test): Likewise.
19157
9a1b267d
RL
191582018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19159
19160 [BZ #10871]
19161 * localedata/locales/hr_HR (mon): Rename to...
19162 (alt_mon): This.
19163 (mon): Import from CLDR (genitive case).
19164 (d_t_fmt): Update the comment.
19165
9a179328
AS
191662018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19167
19168 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19169 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19170 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19171
e01e0ddc
ST
191722018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19173
19174 * mach/Versions: Fix version when __mach_host_self_ was added.
19175 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19176 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19177 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19178 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19179 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19180 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19181 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19182 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19183 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19184 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19185 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19186 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
19187 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19188 || to respect codestyle.
2aadb705
ST
19189 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19190 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
19191 * malloc/malloc.c: Include <assert.h>.
19192 (assert): Do not define.
19193 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
19194 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19195 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 19196 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 19197 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 19198
521877e1
PD
191992018-01-29 Darius Rad <darius@bluespec.com>
19200
19201 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19202
532cf290
PD
192032018-01-29 Palmer Dabbelt <palmer@sifive.com>
19204
19205 * sysdeps/init_array/crti.S (.section .init_array): Add
19206 PREINIT_FUNCTION when defined.
40ca951b 19207 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 19208 * config.h.in: Regenerate.
ba9e25a6
PD
19209 * manual/platform.texi: Add RISC-V documenation for
19210 __riscv_flush_icache.
c776fa11
PD
19211 * sysdeps/riscv/__longjmp.S: New file.
19212 * sysdeps/riscv/backtrace.c: Likewise.
19213 * sysdeps/riscv/bits/endian.h: Likewise.
19214 * sysdeps/riscv/bits/setjmp.h: Likewise.
19215 * sysdeps/riscv/bits/wordsize.h: Likewise.
19216 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19217 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19218 * sysdeps/riscv/dl-trampoline.S: Likewise.
19219 * sysdeps/riscv/gccframe.h: Likewise.
19220 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19221 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19222 * sysdeps/riscv/machine-gmon.h: Likewise.
19223 * sysdeps/riscv/memusage.h: Likewise.
19224 * sysdeps/riscv/setjmp.S: Likewise.
19225 * sysdeps/riscv/sys/asm.h: Likewise.
19226 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
19227 * sysdeps/riscv/dl-tls.h: New file.
19228 * sysdeps/riscv/libc-tls.c: Likewise.
19229 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19230 * sysdeps/riscv/nptl/tls.h: Likewise.
19231 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
19232 * sysdeps/riscv/bits/fenv.h: New file.
19233 * sysdeps/riscv/e_sqrtl.c: Likewise.
19234 * sysdeps/riscv/fpu_control.h: Likewise.
19235 * sysdeps/riscv/math-tests.h: Likewise.
19236 * sysdeps/riscv/nofpu/Implies: Likewise.
19237 * sysdeps/riscv/sfp-machine.h: Likewise.
19238 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
19239 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19240 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19241 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19242 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19243 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19244 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19245 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19246 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19247 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19248 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19249 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19250 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19251 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19252 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19253 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19254 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19255 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19256 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19257 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19258 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19259 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19260 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19261 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19262 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19263 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19264 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19265 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19266 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19267 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19268 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19269 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19270 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19271 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19272 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19273 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19274 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19275 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19276 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19277 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19278 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19279 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19280 * sysdeps/riscv/rvf/math_private.h: Likewise.
19281 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19282 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19283 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19284 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19285 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19286 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19287 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19288 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19289 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19290 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19291 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19292 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19293 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19294 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19295 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19296 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
19297 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19298 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19299 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19300 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
19301 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19302 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19303 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19304 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19305 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19306 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19307 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19308 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19309 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
19310 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19311 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19312 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19313 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19314 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19315 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19316 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19317 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19318 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19319 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19320 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19321 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19322 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19323 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19324 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19325 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19326 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19327 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19328 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19329 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19330 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19331 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
19332 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19333 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19334 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
19335 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19336 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19337 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19338 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19339 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19340 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19341 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19342 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19343 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19344 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19345 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19346 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19347 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19348 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
19349 * sysdeps/riscv/Implies: New file.
19350 * sysdeps/riscv/Makefile: Likewise.
19351 * sysdeps/riscv/configure: Likewise.
19352 * sysdeps/riscv/configure.ac: Likewise.
19353 * sysdeps/riscv/nptl/Makefile: Likewise.
19354 * sysdeps/riscv/preconfigure: Likewise.
19355 * sysdeps/riscv/rv64/Implies-after: Likewise.
19356 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19357 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19358 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19359 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19360 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19361 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19362 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19363 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19364 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19365 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19366 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
19367 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19368 (Config): Likewise.
532cf290 19369
cdd14619
FW
193702018-01-29 Florian Weimer <fweimer@redhat.com>
19371
19372 [BZ #22701]
19373 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19374 libnsl_hidden_proto.
19375 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19376 libnsl_hidden_proto.
19377 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19378 * nis/Makefile (libnsl-routines): Add nss-default only for
19379 build-obsolete-nsl.
19380 * nis/nis_defaults.c (__nis_default_ttl): Add
19381 libnsl_hidden_nolink_def.
19382 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19383 declaration.
19384 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19385 * nis/ypclnt.c (yp_maplist): Likewise.
19386
b7ccb5de
RN
193872018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19388
19389 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19390 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19391
522623e4
JM
193922018-01-29 Joseph Myers <joseph@codesourcery.com>
19393
e3aa6999
JM
19394 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19395 clean -dxfq for git updates when replacing sources.
19396
088de7d0
JM
19397 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19398 --disable-libcilkrts unconditionally, not just for the final GCC
19399 build for Hurd.
19400
522623e4
JM
19401 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19402 version to 4.15.
19403
8b406f87
RL
194042018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19405
19406 [BZ #10871]
19407 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19408 case).
19409
105e90bd
RL
194102018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19411
19412 [BZ #10871]
19413 * localedata/locales/be_BY (mon): Rename to...
19414 (alt_mon): This, then synchronize with CLDR (nominative case).
19415 (abmon): Rename to...
19416 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19417 (mon): Import from CLDR (genitive case).
19418 (abmon): Likewise.
19419 * localedata/locales/be_BY@latin (mon): Rename to...
19420 (alt_mon): This.
19421 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19422
19423 * localedata/locales/be_BY@latin (lang_name): Reworded to
19424 "biełaruskaja mova".
19425
561cb414
RL
194262018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19427
19428 [BZ #10871]
19429 * localedata/locales/el_CY (mon): Renamed to...
19430 (alt_mon): This.
19431 (mon): Import from CLDR (genitive case).
19432 * localedata/locales/el_GR: Likewise.
19433
f7bdf30d
RL
194342018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19435
19436 [BZ #10871]
19437 * localedata/locales/ru_RU (mon): Rename to...
19438 (alt_mon): This.
19439 (abmon): Rename to...
19440 (ab_alt_mon): This.
19441 (mon): Import from CLDR (genitive case).
19442 (abmon): Copy from the old content except the 5th month which is
19443 now in the genitive case, even when abbreviated.
19444 * localedata/locales/ru_UA: Likewise.
19445 * time/tst-strptime.c (day_tests): Add an actual example of
19446 a difference between %b and %Ob in Russian.
19447
85285a0c
ST
194482018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19449
19450 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
19451 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19452 a `c' variable.
3538a4b6 19453 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
19454 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19455 <sys/wait.h>, <time.h>, <sys/uio.h>.
19456 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 19457 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
19458 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19459 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19460 return 0.
05ebfe87
ST
19461 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19462 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
19463 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19464 instead of void *.
19465 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19466 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
19467 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19468 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
19469 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19470 and make them the default for now.
903d3633
ST
19471 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19472 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
19473 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19474 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19475 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19476 MACH_IPC_COMPAT.
06fac9f5
ST
19477 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19478 __task_terminate would ever return successfully.
f8177753
ST
19479 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19480 to global scope.
41cdb1eb
ST
19481 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19482 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
19483 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19484 critical section to make code simpler and avoid warning.
19485 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19486 critical section to make code simpler and avoid warning.
844bf921
ST
19487 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19488 const char * instead of char *.
f8bee46c
ST
19489 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19490 __hurd_file_name_split, hurd_file_name_split,
19491 __hurd_directory_name_split, hurd_directory_name_split,
19492 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19493 hurd_file_name_path_lookup): Make lookup function parameter take a
19494 const char *name instead of char *name.
19495 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19496 __hurd_directory_name_split): Likewise.
19497 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19498 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
19499 * sysdeps/mach/hurd/check_native.c: New file.
19500 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
19501 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19502 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
19503 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19504 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
19505 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19506 (do_test_bz20181): Rename accordingly.
19507 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
19508 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19509 <sys/mount.h>.
28f6186f
ST
19510 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19511 version only if __USE_EXTERN_INLINES is defined.
19512 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19513 __hurd_sockfail): Likewise.
19514 (_hurd_fd_get): Always declare functions, and provide inline versions
19515 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19516 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19517 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19518 _hurd_port_set): Always declare functions, and provide inline versions
19519 only if __USE_EXTERN_INLINES and _LIBC are defined and
19520 IS_IN(libc).
19521 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19522 _hurd_critical_section_unlock): Likewise.
19523 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19524 * __hurd_threadvar_location): Likewise.
19525 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19526 _hurd_userlink_clear): Likewise.
19527 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19528 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19529 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19530 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19531 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19532 __spin_lock_locked): Likewise.
19533 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19534 __spin_lock_locked): Likewise.
19535 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19536 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19537 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19538 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19539 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
19540 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19541 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
19542 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19543 check size against PTHREAD_STACK_MIN.
625ba81e
ST
19544 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19545 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
19546 * mach/Makefile (user-interfaces): Add mach/gnumach.
19547 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19548 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
19549 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19550 instead of invalid -1.
1f89ac71
ST
19551 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19552 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19553 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19554 <net/ppp_defs.h>.
85285a0c 19555
1fd1e27c 195562018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
19557
19558 * hurd/fcntl-internal.h: New file.
19559
3854c5a8
JC
195602018-01-27 James Clarke <jrtc27@jrtc27.com>
19561
7e23a7dd
JC
19562 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19563
3854c5a8
JC
19564 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19565
5503f413
AS
195662018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19567
19568 [BZ #22701]
19569 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19570 Build only shared objects.
19571
caaf7804
CD
195722018-01-26 Carlos O'Donell <carlos@redhat.com>
19573
19574 * README: Update for hppa.
19575
1cbf818d
PM
195762018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19577
caaf7804
CD
19578 * sysdeps/sparc/fpu/libm-test-ulps: Update
19579 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 19580
caaf7804 195812018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
19582
19583 Revert:
19584
19585 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19586
19587 [BZ #22563]
19588 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19589 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19590 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19591 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19592 to feature_1.
19593
19594 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19595
19596 [BZ #22563]
19597 * bits/types/__cancel_jmp_buf_tag.h: New file.
19598 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19599 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19600 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19601 * nptl/Makefile (headers): Add
19602 bits/types/__cancel_jmp_buf_tag.h.
19603 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19604 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19605 * sysdeps/nptl/pthread.h: Include
19606 <bits/types/__cancel_jmp_buf_tag.h>.
19607 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19608 __cancel_jmp_buf.
19609 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19610
65f6c94e
RL
196112018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19612
19613 [BZ #10871]
19614 * localedata/locales/uk_UA (mon): Renamed to...
19615 (alt_mon): This.
19616 (alt_digits): "0" removed and then renamed to...
19617 (mon): This.
19618 (date_fmt): Definition changed not to use the alternative
19619 digits hack.
19620
fb58aac5
PD
196212018-01-25 Palmer Dabbelt <palmer@sifive.com>
19622
19623 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19624 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19625 * elf/elf.h (EF_RISCV_RVC): New define.
19626 (EF_RISCV_FLOAT_ABI): Likewise.
19627 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19628 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19629 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19630 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19631 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19632 define.
19633 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19634
128c43a2
AS
196352018-01-25 Andreas Schwab <schwab@suse.de>
19636
19637 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19638 single quotes.
19639 * sysdeps/gnu/configure: Regenerate.
19640 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19641 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19643 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19644 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19645 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19646 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19647 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19648
f9015003
ST
196492018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19650
48130690 19651 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 19652 URL, and run autoconf, make it the default for now.
f9015003 19653
91b2cffa
JM
196542018-01-24 Joseph Myers <joseph@codesourcery.com>
19655
3005b705
JM
19656 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19657 soft-float ColdFire configuration.
19658
69231fab
JM
19659 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19660 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19661 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19662
d4c7e1d0
JM
19663 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19664 MicroBlaze file.
19665
0cfe5be5
JM
19666 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19667 ....
19668 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19669 ... here.
19670 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19671 New file.
19672
91b2cffa
JM
19673 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19674 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19675 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19676 file.
19677
c739e191
SN
196782018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19679
19680 [BZ #22742]
19681 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19682 Rename to __reserved and add comment.
19683 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19684 Rename to __reserved.
19685
394b5bac
JM
196862018-01-24 Joseph Myers <joseph@codesourcery.com>
19687
19688 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19689 i686-gnu configurations.
19690 (Context.run_builds): Include mig, gnumach and hurd in components
19691 considered.
19692 (Context.checkout): Add mig, gnumach and hurd to components.
19693 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19694 hurd.
19695 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19696 (Config.build): Install gnumach headers, build mig and install
19697 hurd headers for 'gnu' OS.
19698 (Config.install_gnumach_headers): New function.
19699 (Config.install_hurd_headers): Likewise.
19700 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19701 when building for 'gnu' OS.
19702
28c3f14f
TK
197032018-01-23 Tobias Klauser <tklauser@distanz.ch>
19704
19705 * manual/tunables.texi (Hardware Capability Tunables): Fix
19706 spelling.
19707
0f5e2da1
RJ
197082018-01-22 Rical Jasan <ricaljasan@pacific.net>
19709
19710 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19711 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19712 (ALTMON_11, ALTMON_12): Improve documentation.
19713 * manual/time.texi (strftime): Likewise.
19714
7817b14a
RL
197152018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19716
19717 [BZ #10871]
19718 * localedata/locales/pl_PL: Alternative month names added,
19719 primary month names are genitive now.
19720 * time/tst-strptime.c (day_tests): Actually use a genitive case
19721 of a month name in Polish language.
19722
22390764
RL
197232018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19724
19725 [BZ #10871]
19726 * manual/locale.texi: Document ALTMON_1..12 constants for
19727 nl_langinfo. Specify when to use ALTMON instead of MON.
19728 * manual/time.texi (strftime, strptime): Document GNU extension
19729 permitting O modifier with %B and %b. Specify when to use
19730 %OB instead of %B.
19731
761a585c
RL
197322018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19733
19734 [BZ #10871]
19735 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19736 names, define them as the same as abbreviated month names explicitly.
19737 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19738 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19739 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19740 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19741 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19742 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19743 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19744 _NL_WABALTMON_12): New enum constants.
19745 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19746 wab_alt_mon, and ab_alt_mon_defined members.
19747 (time_output): Output ab_alt_mon and wab_alt_mon members.
19748 (time_read): Read them, initialize them as copies of abmon and wabmon
19749 respectively if they are missing, initialize ab_alt_mon_defined.
19750 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19751 * locale/programs/locfile-kw.h: Regenerate.
19752 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19753 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19754 and ru_RU.UTF-8.
19755 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19756 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19757 (__strftime_internal): Handle %Ob and %Oh formats.
19758 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19759 (__strptime_internal): Handle %Ob and %Oh formats.
19760 * time/tst-strptime.c (day_tests): Add more tests to parse different
19761 forms of month names including the new %Ob format specifier.
19762
95cb863a
RL
197632018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19764
19765 [BZ #10871]
19766 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19767 define them as the same as primary full month names explicitly.
19768 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19769 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19770 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19771 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19772 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19773 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19774 _NL_WALTMON_12): New enum constants.
19775 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19776 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19777 macros.
19778 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19779 walt_mon, and alt_mon_defined members.
19780 (time_output): Output alt_mon and walt_mon members.
19781 (time_read): Read them, initialize them as copies of mon and wmon
19782 respectively if they are missing, initialize alt_mon_defined.
19783 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19784 * locale/programs/locfile-kw.h: Regenerate.
19785 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19786 * localedata/tst-langinfo.c (map): Add tests for the new constants
19787 ALTMON_1 .. ALTMON_12.
19788 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19789 and pl_PL.UTF-8.
19790 * time/strftime_l.c (f_altmonth): New macro.
19791 (__strftime_internal): Handle %OB format.
19792 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19793 (__strptime_internal): Handle %OB format.
19794 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19795 of month names including the new %OB format specifier.
19796
4612268a
TMQMF
197972018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19798
19799 [BZ #22685]
19800 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19801 from ABORT_TRANSACTION.
19802 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19803 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19804 ABORT_TRANSACTION_IMPL): Likewise.
19805 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19806 Linux code, but remove the code that aborts transactions.
19807
64f63cb4
ST
198082018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19809
19810 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19811
32ac6e92
RL
198122018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19813
19814 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19815 in date: "2004-14-09" should be "2004-09-14".
19816 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19817 "2003-15-09" should be "2003-09-15".
19818
8e448310
AS
198192018-01-18 Arjun Shankar <arjun@redhat.com>
19820
19821 [BZ #22343]
71aa429b 19822 [BZ #22774]
4590634f 19823 CVE-2018-6485
71aa429b 19824 CVE-2018-6551
8e448310
AS
19825 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19826 after padding.
19827 (_int_memalign): check for integer overflow before calling
19828 _int_malloc.
19829 * malloc/tst-malloc-too-large.c: New test.
19830 * malloc/Makefile: Add tst-malloc-too-large.
19831
e234d7cb
RL
198322018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19833
19834 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19835 in date: "2017-24-07" should be "2017-07-24".
19836 * localedata/locales/mai_IN: Likewise.
19837 * localedata/locales/mai_NP: Likewise.
19838
48b66019
DL
198392018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19840
19841 * po/ru.po: Update translations.
19842
1eeddc58
JM
198432018-01-17 Joseph Myers <joseph@codesourcery.com>
19844
19845 [BZ #22719]
19846 * sysdeps/hppa/backtrace.c: New file.
19847
207a72e2
L
198482018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19849
19850 [BZ #22715]
19851 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19852 align La_x86_64_retval to VEC_SIZE.
19853
4942c4ea
JM
198542018-01-16 Joseph Myers <joseph@codesourcery.com>
19855
19856 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19857 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19858
10d200db
FW
198592018-01-16 Florian Weimer <fweimer@redhat.com>
19860
19861 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19862 Move tst-thread-exit-clobber ...
19863 [$(CXX)] (tests-unsupported): ... to here.
19864
953c49cc
SN
198652018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19866
19867 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19868 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19869 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19870 (_dl_aarch64_cap_flags): Update.
19871 (_DL_HWCAP_COUNT): Update.
19872
afce1991
SN
198732018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19874
19875 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19876 (_DL_HWCAP_LAST): Remove.
19877 (_DL_HWCAP_COUNT): Move to ...
19878 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19879 (_DL_HWCAP_COUNT): ... here.
19880
b725132d
FW
198812018-01-16 Florian Weimer <fweimer@redhat.com>
19882
19883 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19884 mode with GNU extensions.
19885
c9e613a7
AH
198862018-01-15 Alan Hayward <alan.hayward@arm.com>
19887
19888 * elf/elf.h (NT_ARM_SVE): Define.
19889
860b0240
FW
198902018-01-15 Florian Weimer <fweimer@redhat.com>
19891
19892 [BZ #22636]
19893 * nptl/tst-minstack-throw.cc: New file.
19894 * nptl/Makefile (tests): Add tst-minstack-throw.
19895 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19896 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19897
16d0f6ac
JM
198982018-01-15 Joseph Myers <joseph@codesourcery.com>
19899
19900 * scripts/build-many-glibcs.py (Context.checkout): Default
19901 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19902 version to 1.1.0.
19903
505d3910
CD
199042018-01-13 Carlos O'Donell <carlos@redhat.com>
19905
19906 [BZ #22707]
19907 * elf/elf.h (DF_1_STUB): Define.
19908 (DF_1_PIE): Define.
19909
af1e6be4
TMQMF
199102018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19911
19912 [BZ #22697]
19913 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19914 Do not add 0.5 to integer or out-of-range arguments.
19915
98d13ce0
DL
199162018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19917
19918 * po/bg.po: Update translations.
19919 * po/cs.po: Likewise.
19920 * po/de.po: Likewise.
19921 * po/ko.po: Likewise.
19922 * po/pl.po: Likewise.
19923 * po/sv.po: Likewise.
19924 * po/uk.po: Likewise.
19925 * po/vi.po: Likewise.
19926
3d1d7928
SN
199272018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19928
19929 * aarch64/start.S (_start): Use __wrap_main.
19930 (__wrap_main): New local symbol.
19931
52a713fd
DL
199322018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19933
19934 [BZ #22679]
19935 CVE-2018-1000001
19936 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19937 generic_getcwd if the path returned by getcwd syscall is not absolute.
19938 * io/tst-getcwd-abspath.c: New test.
19939 * io/Makefile (tests): Add tst-getcwd-abspath.
19940
249a5895
IK
199412018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19942
19943 * malloc/malloc.c (malloc_consolidate): Add size check.
19944
1a51e46e
FW
199452018-01-12 Florian Weimer <fweimer@redhat.com>
19946
19947 * support/write_message.c (write_message): Preserve errno.
19948 * support/check.c (print_failure): Likewise.
19949 * support/support_test_verify_impl.c (support_test_verify_impl):
19950 Likewise.
19951 * support/support_test_compare_failure.c
19952 (support_test_compare_failure): Likewise.
19953
9a08a366
FW
199542018-01-12 Florian Weimer <fweimer@redhat.com>
19955
19956 [BZ #22701]
19957 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19958 Prevent installation of libnsl.so.
19959 (libnsl-inhibit-o): Do not build (or install) static libraries.
19960
80647883 199612018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
19962
19963 [BZ #22657]
19964 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19965 before the day number which may produce a double space.
19966 (date_fmt): Likewise.
19967
c8924f1f
JM
199682018-01-12 Joseph Myers <joseph@codesourcery.com>
19969
19970 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19971 instead of fegetenv.
19972
da09e6fa
JM
199732018-01-11 Joseph Myers <joseph@codesourcery.com>
19974
19975 [BZ #22702]
19976 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19977 comment to say exceptions are discarded.
19978 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19979 __fegetenv.
19980 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19981 be enabled.
19982
08c6e952
FW
199832018-01-11 Florian Weimer <fweimer@redhat.com>
19984
19985 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19986 and error message.
19987
d8b77890
FW
199882018-01-11 Florian Weimer <fweimer@redhat.com>
19989
19990 [BZ #22636]
19991 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19992 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19993
b303185d
JM
199942018-01-10 Joseph Myers <joseph@codesourcery.com>
19995
19996 [BZ #22693]
19997 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19998 negative arguments in test for NaN or infinity argument.
19999
ee61d028
DL
200002018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20001
20002 * po/libc.pot: Regenerate.
20003
f993b875
FW
200042018-01-10 Florian Weimer <fweimer@redhat.com>
20005
20006 [BZ #22636]
20007 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20008 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20009
09085ede
ST
200102018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20011
20012 * hurd/hurd/fd.h: Include <fcntl.h>
20013 (__hurd_at_flags): New function.
20014 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20015 with call to __hurd_at_flags.
20016 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20017 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20018 __faccessat
20019 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20020 (__access_noerrno): Use __faccessat_common instead of access_common.
20021 (__access): Likewise.
20022 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20023 with a call to __faccessat.
20024 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20025 (__faccessat_common): ... this. Move implementation of __access into it when
20026 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20027 reauthenticate_cwdir_at helper to implement AT mechanism.
20028 (__faccessat_noerrno): New function, just calls __faccessat_common.
20029 (__faccessat): New function, just calls __faccessat_common.
20030 (faccessat): Define weak alias.
20031
12727488
JM
200322018-01-10 Joseph Myers <joseph@codesourcery.com>
20033
87faac55
JM
20034 [BZ #22691]
20035 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20036 (CFLAGS-s_fmaxmagl.c): New variable.
20037 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20038
12727488
JM
20039 [BZ #22690]
20040 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20041 long int for arguments of possibly overflowing addition or
20042 subtraction.
20043 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20044
e134ca17
JM
200452018-01-09 Joseph Myers <joseph@codesourcery.com>
20046
b2584ac2
JM
20047 [BZ #22688]
20048 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20049 (CFLAGS-e_remainderl.c): New variable.
20050
e134ca17
JM
20051 [BZ #22687]
20052 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20053 variable.
20054 (CFLAGS-s_cacoshl.c): Likewise.
20055 (CFLAGS-s_casinhl.c): Likewise.
20056 (CFLAGS-s_catanl.c): Likewise.
20057 (CFLAGS-s_catanhl.c): Likewise.
20058 (CFLAGS-s_cexpl.c): Likewise.
20059 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20060 (CFLAGS-s_csinhl.c): Likewise.
20061 (CFLAGS-s_clogl.c): Likewise.
20062 (CFLAGS-s_clog10l.c): Likewise.
20063 (CFLAGS-s_csinl.c): Likewise.
20064 (CFLAGS-s_csqrtl.c): Likewise.
20065
d31a4a48
ST
200662017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
200672017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
20068
20069 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20070 (_hurd_exec_paths): New function.
20071 * hurd/hurd.h (_hurd_exec): Deprecate function.
20072 (_hurd_exec_paths): Declare function.
20073 * hurd/Versions: Export _hurd_exec_paths.
20074 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20075 (__execve): Use __getcwd to build absolute path, and use
20076 _hurd_exec_paths instead of _hurd_exec.
20077 * sysdeps/mach/hurd/spawni.c: Likewise.
20078 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20079 _hurd_exec.
20080
d7ff3f11
DL
200812018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20082
20083 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20084 test instead of failing in case of ENOENT returned by posix_openpt.
20085
401311cf
FW
200862018-01-08 Florian Weimer <fweimer@redhat.com>
20087
20088 resolv: Support binary labels in test framework.
20089 * support/resolv_test.c (struct to_be_freed): Remove.
20090 (struct compressed_name): New.
20091 (allocate_compressed_name, ascii_tolower)
20092 (compare_compressed_name): New functions.
20093 (struct resolv_response_builder): Update type of
20094 compression_offsets for use with tsearch. Rempve to_be_freed.
20095 (response_push_pointer_to_free): Remove function.
20096 (resolv_response_add_name): Rewrite using struct compressed_name
20097 and tsearch instead of hsearch_r.
20098 (response_builder_allocate): Remove initialization of
20099 compression_offsets.
20100 (response_builder_free): Update for removal of to_be_freed. Use
20101 tdestroy instead of hdestroy_r.
20102 * resolv/Makefile (tests): Add tst-resolv-binary.
20103 (tst-resolv-binary): Link with -lresolv -lpthread.
20104
2b3aa446
FW
201052018-01-08 Florian Weimer <fweimer@redhat.com>
20106
20107 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20108 time. Pass positive flag instead of negative flag to
20109 support_test_compare_failure.
20110 (support_test_compare_failure): Change negative parameter to
20111 positive.
20112 * support/support_test_compare_failure.c (report)
20113 (support_test_compare_failure): Likewise.
20114 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20115 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20116
630f4cc3
SN
201172018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20118
20119 [BZ #22637]
20120 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20121 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20122 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20123 stacksize.
20124 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20125
c70e4e9c
L
201262018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20127
20128 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20129 Add s_sincosf-sse2 and s_sincosf-fma.
20130 (CFLAGS-s_sincosf-fma.c): New.
20131 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20132 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20133 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20134 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20135 __sincosf is defined.
20136
579396ee
FW
201372018-01-08 Florian Weimer <fweimer@redhat.com>
20138
20139 * nptl/tst-thread-exit-clobber.cc: New file.
20140 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20141 C++11 mode.
20142 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20143 (tests): Add tst-thread-exit-clobber.
20144 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20145
dabd75b6
FW
201462018-01-08 Florian Weimer <fweimer@redhat.com>
20147
20148 * support/check.h (support_static_assert): Define.
20149 (TEST_COMPARE): Use it.
20150
c2e014cc
AJ
201512018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20152
20153 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20154 [!__RLIM_T_MATCHES_RLIM64_T]
20155 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20156 __getrlimit64. Add libc_hidden_weak.
20157
31a98837
PD
201582018-01-06 Palmer Dabbelt <palmer@sifive.com>
20159
20160 * elf/elf.h (R_RISCV_NONE): New define.
20161 (R_RISCV_32): Likewise.
20162 (R_RISCV_64): Likewise.
20163 (R_RISCV_RELATIVE): Likewise.
20164 (R_RISCV_COPY): Likewise.
20165 (R_RISCV_JUMP_SLOT): Likewise.
20166 (R_RISCV_TLS_DTPMOD32): Likewise.
20167 (R_RISCV_TLS_DTPMOD64): Likewise.
20168 (R_RISCV_TLS_DTPREL32): Likewise.
20169 (R_RISCV_TLS_DTPREL64): Likewise.
20170 (R_RISCV_TLS_TPREL32): Likewise.
20171 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
20172 * Makerules (make-link-multidir): Make directories before linking into
20173 them.
150bbac1
PD
20174 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20175 define.
20176 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
20177 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20178 in subdirectories of lib.
8e13c51b
PD
20179 * nptl/Makefile (/librt.so): Always depend on
20180 "$(shared-thread-library)".
31a98837 20181
fad7d57e
ST
201822018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20183
20184 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
20185 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20186 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20187 (___tls_get_addr).
20188 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
20189 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20190 "-O2 -march=i686".
01c7e549 20191 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
20192 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20193 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20194 * sysdeps/gnu/glob-lstat-compat.c: New file.
20195 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 20196 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 20197
3a32b716
TMQMF
201982018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20199
20200 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20201 Reserve 16 chars to reloc_addr before calling _itoa_word.
20202
24731685
AJ
202032018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20204
20205 [BZ #22678]
20206 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20207 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20208
19be56d8
AJ
20209 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20210 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20211
a6d0afb5
AJ
20212 * resource/tst-getrlimit.c: Add copyright header.
20213
8e900969
AJ
202142018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20215 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20216
20217 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20218 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20219 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20220 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20221 instead.
20222 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20223 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20224 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20225 RLIM64_INFINITY): Fix values to match the kernel ones.
20226 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20227 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20228 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20229 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20230 getrlimit64@@GLIBC_2_27.
20231 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20232 and setrlimit64.
20233 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20234 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20235 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20236 setrlimit, getrlimit64 and setrlimit64.
20237
0d0bc784
AJ
202382018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20239
20240 [BZ #22648]
20241 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20242 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20243
ba374b6d
JM
202442018-01-04 Joseph Myers <joseph@codesourcery.com>
20245
20246 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20247 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20248 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20249
4854ddd8
AZ
202502018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20251
b0a4eca2
AZ
20252 [BZ #15479]
20253 [BZ #22666]
20254 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20255 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20256
4854ddd8
AZ
20257 [BZ #15479]
20258 [BZ #22665]
20259 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20260 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20261 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20262 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20263
8a5df95f
FW
202642018-01-04 Florian Weimer <fweimer@redhat.com>
20265
20266 [BZ #22667]
20267 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20268 Align the stack before calling exit.
20269 * stdlib/tst-makecontext-align.c: New file.
20270 * stdlib/Makefile (tests): Add tst-makecontext-align.
20271
82eef55f
FW
202722018-01-04 Florian Weimer <fweimer@redhat.com>
20273
20274 Add support for calling dlvsym from libc.so.
20275 * include/dlfcn.h (__libc_dlvsym): Declare.
20276 * elf/Makefile (tests-static-internal): Add
20277 tst-libc_dlvsym-static.
20278 (tests-internal): Add tst-libc_dlvsym.
20279 (modules-names): Add tst-libc_dlvsym-dso.
20280 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20281 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20282 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20283 object tst-libc_dlvsym-dso.so needs to be built before running
20284 these tests.
20285 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20286 * elf/Versions: Export __libc_dlvsym.
20287 * elf/dl-libc.c (struct do_dlvsym_args): New.
20288 (do_dlvsym, __libc_dlvsym): New functions.
20289 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20290 (_dl_open_hook2): New variable.
20291 (__libc_register_dl_open_hook): Set it.
20292 * elf/tst-libc_dlvsym-dso.c: New file.
20293 * elf/tst-libc_dlvsym-static.c: Likewise.
20294 * elf/tst-libc_dlvsym.c: Likewise.
20295 * elf/tst-libc_dlvsym.h: Likewise.
20296
1714fc06
ST
202972018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20298
20299 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20300 include <sys/mount.h>.
20301
3c7d0312
WD
203022018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20303
20304 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20305 Add __NO_MATH_ERRNO__ check.
20306
7eff0954
JM
203072018-01-02 Joseph Myers <joseph@codesourcery.com>
20308
20309 * sysdeps/mips/mips32/libm-test-ulps: Update.
20310 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20311
77f49956
FW
203122018-01-02 Florian Weimer <fweimer@redhat.com>
20313
20314 * misc/tst-pselect.c: Add copyright header.
20315
363e4519 203162018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
20317
20318 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20319 comment.
20320 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20321 comment.
20322 (settrlimit): Rename into setrlimit.
20323 (__sttrlimit): Rename into __setrlimit.
20324
3e4226ff
AJ
20325 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20326 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20327 never defined in that case.
20328
b9256ab6
JM
203292018-01-02 Joseph Myers <joseph@codesourcery.com>
20330
28fd6a44
JM
20331 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20332
a4933a15
JM
20333 * sysdeps/arm/libm-test-ulps: Update.
20334
b9256ab6
JM
20335 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20336 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20337
4cf82d23
RS
203382018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20339
20340 * NEWS: Add cosf and sincosf to list of optimized functions.
20341
6a9dd7a7
AJ
203422018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20343
20344 [BZ #22660]
20345 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20346 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20347 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20348 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20349
dbba87d5
DL
203502018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20351
b05cb613
DL
20352 [BZ #22433]
20353 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20354
dbba87d5
DL
20355 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20356 making a copy of it.
20357
688903eb
JM
203582018-01-01 Joseph Myers <joseph@codesourcery.com>
20359
66ac23de
JM
20360 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20361 trailing whitespace removed.
20362 * scripts/config.guess: Update to version 2018-01-01.
20363 * scripts/config.sub: Update to version 2018-01-01.
20364 * scripts/move-if-change: Update from gnulib.
20365
09533208
JM
20366 * NEWS: Update copyright dates.
20367 * catgets/gencat.c (print_version): Likewise.
20368 * csu/version.c (banner): Likewise.
20369 * debug/catchsegv.sh: Likewise.
20370 * debug/pcprofiledump.c (print_version): Likewise.
20371 * debug/xtrace.sh (do_version): Likewise.
20372 * elf/ldconfig.c (print_version): Likewise.
20373 * elf/ldd.bash.in: Likewise.
20374 * elf/pldd.c (print_version): Likewise.
20375 * elf/sotruss.sh: Likewise.
20376 * elf/sprof.c (print_version): Likewise.
20377 * iconv/iconv_prog.c (print_version): Likewise.
20378 * iconv/iconvconfig.c (print_version): Likewise.
20379 * locale/programs/locale.c (print_version): Likewise.
20380 * locale/programs/localedef.c (print_version): Likewise.
20381 * login/programs/pt_chown.c (print_version): Likewise.
20382 * malloc/memusage.sh (do_version): Likewise.
20383 * malloc/memusagestat.c (print_version): Likewise.
20384 * malloc/mtrace.pl: Likewise.
20385 * manual/libc.texinfo: Likewise.
20386 * nptl/version.c (banner): Likewise.
20387 * nscd/nscd.c (print_version): Likewise.
20388 * nss/getent.c (print_version): Likewise.
20389 * nss/makedb.c (print_version): Likewise.
20390 * posix/getconf.c (main): Likewise.
20391 * scripts/test-installation.pl: Likewise.
20392 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20393
688903eb
JM
20394 * All files with FSF copyright notices: Update copyright dates
20395 using scripts/update-copyrights.
20396 * locale/programs/charmap-kw.h: Regenerated.
20397 * locale/programs/locfile-kw.h: Likewise.
20398
4f820792
ZW
203992017-12-31 Zack Weinberg <zackw@panix.com>
20400
20401 * libio/bits/libio-ldbl.h: Correct check for improper
20402 inclusion. Add own multiple include guard.
20403
3e3c904d
AJ
204042017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20405 Dmitry V. Levin <ldv@altlinux.org>
20406
20407 [BZ #22625]
31f96325 20408 CVE-2017-16997
3e3c904d
AJ
20409 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20410 string token expansion. Check for NULL pointer or empty string possibly
20411 returned by expand_dynamic_string_token.
20412 (decompose_rpath): Check for empty path after dynamic string
20413 token expansion.
20414
7e21972b
DL
204152017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20416
c48831d0
DL
20417 [BZ #22433]
20418 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20419
ac583f50
DL
20420 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20421 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20422 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20423 and PTRACE_SYSCALL.
20424 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20425 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20426 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20427 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20428 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20429 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20430
7e21972b
DL
20431 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20432 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20433 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20434 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20436 bits/ptrace-shared.h.
20437 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20438 <bits/ptrace-shared.h>.
20439 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20440 __ptrace_peeksiginfo_flags, ptrace): Remove.
20441 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20442 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20443 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20444 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20445 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20446
72f29e3a
AJ
204472017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20448
20449 [BZ #17804]
20450 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20451 end of the loop. Improve comments.
20452
54e4efc2
AJ
204532017-12-29 Zack Weinberg <zackw@panix.com>
20454
20455 [BZ #22615]
20456 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20457 might be set on success.
20458
f8aa69be
AJ
204592017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20460
20461 [BZ #22611]
20462 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20463 is unchanged on success.
20464
97f13188
DL
204652017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20466
2bd86632
DL
20467 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20468 updated.
20469 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20470 expand_dynamic_string_token): Likewise.
20471 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20472 is_path argument.
20473
1c36e1e6
DL
20474 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20475 contains ':'.
20476
97f13188
DL
20477 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20478 is set and name contains ':', and all code depending on these checks.
20479
48a8f832
ZW
204802017-12-24 Zack Weinberg <zackw@panix.com>
20481
20482 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20483 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20484 respectively.
20485 * libio/libio.h: Rename the original version of this file to
20486 libio/bits/libio.h. Error out if not included by stdio.h or the
20487 stub libio.h.
20488 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20489 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20490 if not included by bits/libio.h or the stub _G_config.h.
20491 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20492 sysdeps/unix/sysv/linux/bits. Error out if not included by
20493 bits/libio.h or the stub _G_config.h.
20494 * libio/stdio.h: Include bits/libio.h, not libio.h.
20495 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20496 well as libio.h and _G_config.h.
20497
20498 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20499 * libio/strfile.h, stdio-common/vfscanf.c
20500 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20501 Include stdio.h, not _G_config.h nor libio.h.
20502 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20503 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20504
20505 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20506
a47ad79a
DL
205072017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20508
20509 [BZ #22347]
20510 * stdlib/getrandom.c (getrandom): Fix comment.
20511 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20512
363e4519 205132017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 20514
f5c558f3
AJ
20515 [BZ #21161]
20516 * manual/arith.texi (strtoul): Fix a typo.
20517
e65a5644
AJ
20518 [BZ #22596]
20519 * manual/arith.texi (finite): Fix the description of the return
20520 value.
20521
ed8ae46b
EB
205222017-12-22 Eric Blake <ebb9@byu.net>
20523
20524 Avoid gcc warnings on cygwin
20525 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20526 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20527 Avoid unused variable.
20528
bad7a0c8
FW
205292017-12-22 Florian Weimer <fweimer@redhat.com>
20530
20531 * io/Makefile (routines): Add copy_file_range.
20532 (tests): Add tst-copy_file_range.
20533 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20534 * io/Versions (GLIBC_2.27): Export copy_file_range.
20535 * io/copy_file_range-compat.c: New file.
20536 * io/copy_file_range.c: Likewise.
20537 * io/tst-copy_file_range-compat.c: Likewise.
20538 * io/tst-copy_file_range.c: Likewise.
20539 * manual/llio.texi (Copying File Data): New section.
20540 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20541 * support/Makefile (libsupport-routines): Add support-xfstat,
20542 xftruncate, xlseek.
20543 * support/support-xfstat.c: New file.
20544 * support/xftruncate.c: Likewise.
20545 * support/xlseek.c: Likewise.
20546 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20547 * sysdeps/unix/sysv/linux/**.abilist: Update.
20548 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20549
6cb86fd2
SN
205502017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20551
20552 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20553 disable-multi-arch variant to aarch64-linux-gnu.
20554
41d11b15
JM
205552017-12-20 Joseph Myers <joseph@codesourcery.com>
20556
20557 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20558 trailing whitespace removed.
20559 * scripts/config.guess: Update to version 2017-12-17.
20560 * scripts/config.sub: Update to version 2017-11-23.
20561 * scripts/install-sh: Update to version 2017-09-23.17.
20562 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20563
4735850f
AZ
205642017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20565
8d2d239c
AZ
20566 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20567 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20568 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20569 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20570 * sysdeps/tile/crtn.S: Likewise.
20571 * sysdeps/tile/dl-start.S (_start): Likewise.
20572 * sysdeps/tile/dl-trampoline.S: Likewise.
20573 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20574 * sysdeps/tile/start.S (_start): Likewise.
20575 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20576 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20577 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20578 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20579 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20580 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20581 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20582
24d1d8ec
AZ
20583 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20584 comment.
20585 * sysdeps/tile/preconfigure: Remove tilegx folder.
20586 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20587 * sysdeps/tile/Implies: ... here.
20588 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20589 * sysdeps/tile/Makefile: ... here.
20590 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20591 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20592 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20593 * sysdeps/tile/bits/wordsize.h: ... here.
20594 * sysdeps/tile/tilegx/*: Move to ...
20595 * sysdeps/tile/*: ... here.
20596 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20597 * sysdeps/tile/tilegx32/Implies: ... here.
20598 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20599 * sysdeps/tile/tilegx64/Implies: ... here.
20600 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20601 to ...
20602 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20603 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20604 * sysdeps/unix/sysv/linux/tile/*: ... here.
20605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20606 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20608 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20609
ed95f611
AZ
20610 * README: Remove tilepro-*-linux-gnu from supported architecture.
20611 * scripts/build-many-glibcs.py: Likewise.
20612 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20613 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20614 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20615 elf_machine_matches_host, elf_machine_dynamic,
20616 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20617 howto, elf_machine_rela): Likewise.
20618 * sysdeps/tile/dl-start.S (_start): Likewise.
20619 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20620 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20621 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20622 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20623 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20624 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20625 Likewise.
20626 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20627 * sysdeps/tile/preconfigure: Likewise.
20628 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20629 POINTER_CHK_GUARD): Likewise.
20630 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20631 * sysdeps/tile/start.S (_start): Likewise.
20632 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20633 Likewise.
20634 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20635 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20636 CMOVNEZ): Remove.
20637 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20638 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20639 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20640 Likewise.
20641 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20642 * sysdeps/tile/tilepro/Implies: Remove file.
20643 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20644 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20645 * sysdeps/tile/tilepro/memchr.c: Likewise.
20646 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20647 * sysdeps/tile/tilepro/memset.c: Likewise.
20648 * sysdeps/tile/tilepro/memusage.h: Likewise.
20649 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20650 * sysdeps/tile/tilepro/strchr.c: Likewise.
20651 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20652 * sysdeps/tile/tilepro/strlen.c: Likewise.
20653 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20654 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20655 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20656 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20657 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20658 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20659 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20660 Likewise.
20661 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20662 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20663 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20664 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20665 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20666 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20667 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20668 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20669 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20670 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20671 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20672 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20673 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20674 tilepro mention in comment.
20675
4735850f
AZ
20676 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20677 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20678 * nptl/pthread_join_common.c: New file: common function used on
20679 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20680 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20681 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20682 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20683 (cleanup): Move definition to pthread_join_common.c.
20684 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20685 Remove superflous checks.
20686 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20687 Likewise.
20688
8bfb461e
SN
206892017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20690
20691 * sysdeps/aarch64/libm-test-ulps: Update.
20692
4e001969
AZ
206932017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20694
20695 * sysdeps/aarch64/memset.S (MEMSET): Define.
20696
8a26ad2a
FW
206972017-12-20 Florian Weimer <fweimer@redhat.com>
20698
20699 [BZ #22635]
20700 nptl: Provide full implementation of pthread_self in libc.so.
20701 * nptl/Makefile (routines): Add pthread_self.
20702 (libpthread-routines): Replace pthread_self with
20703 compat-pthread_self.
20704 * nptl/forward.c (pthread_self): Remove.
20705 * nptl/nptl-init.c (pthread_functions): Do not initialize
20706 ptr_pthread_self.
20707 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20708 * nptl/compat-pthread_self.c: New file.
20709 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20710 Remove ptr_pthread_self.
20711
5069ff32
AR
207122017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20713
20714 * posix/regcomp.c: Fix spelling in comments.
20715 * posix/regex.h: Likewise.
20716 * posix/regex_internal.c: Likewise.
20717 * posix/regexec.c: Likewise.
20718
c85e54ac
GG
207192017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20720
20721 [BZ #22377]
20722 * math/Makefile [C++] (tests): Add test for iseqsig.
20723 * math/math.h [C++] (iseqsig): New implementation, which does
20724 not rely on __MATH_TG/__builtin_types_compatible_p.
20725 * math/test-math-iseqsig.cc: New file.
20726 * sysdeps/powerpc/powerpc64le/Makefile
20727 (CFLAGS-test-math-iseqsig.cc): New variable.
20728
10e93d96
DL
207292017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20730
20731 * elf/dl-load.c (is_trusted_path): Remove.
20732 (fillin_rpath): Remove check_trusted argument and its use,
20733 all callers changed.
20734
ce16eb52
L
207352017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20736
20737 [BZ #22630]
20738 * Makeconfig (link-pie-before-libc): Replace -pie with
20739 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20740 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20741 (tst-dlopen-aout-no-pie): New.
20742 (LDFLAGS-tst-prelink): Removed.
20743 (tst-prelink-no-pie): New.
20744 (LDFLAGS-tst-main1): Removed.
20745 (tst-main1-no-pie): New.
20746 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20747 (tst-gmon-no-pie): New.
20748
126adc89
L
207492017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20750
20751 * manual/install.texi: Document that --enable-static-pie
20752 implies PIE.
20753 * INSTALL: Regenerated.
20754
648615e1
BE
207552017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20756
20757 [BZ #21309]
20758 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20759 unsigned.
20760
f1e00502
JM
207612017-12-19 Joseph Myers <joseph@codesourcery.com>
20762
20763 Revert:
20764
20765 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20766
20767 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20768
20769 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20770
20771 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20772 <errno.h>. Include "eexp.tbl".
20773 (half): New constant.
20774 (one): Likewise.
20775 (__ieee754_exp): Rewrite.
20776 (__slowexp): Remove prototype.
20777 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20778 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20779 * sysdeps/i386/fpu/slowexp.c: Likewise.
20780 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20781 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20782 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20783 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20784 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20785 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20786 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20787 comment.
20788 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20789 (CPPFLAGS-slowexp.c): Remove variable.
20790 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20791 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20792 (CFLAGS-slowexp-fma.c): Remove variable.
20793 (CFLAGS-slowexp-fma4.c): Likewise.
20794 (CFLAGS-slowexp-avx.c): Likewise.
20795 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20796 define as macro.
20797 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20798 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20799 * math/Makefile (type-double-routines): Remove slowexp.
20800 * manual/probes.texi (slowexp_p6): Remove.
20801 (slowexp_p32): Likewise.
20802
d711a00f
AZ
208032017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20804
e184ac3a
AZ
20805 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20806 arithmetic.
20807
d711a00f
AZ
20808 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20809
6f58c10d
JM
208102017-12-19 Joseph Myers <joseph@codesourcery.com>
20811
20812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20813
6fd0a3c6
PM
208142017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20815
20816 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20817 <errno.h>. Include "eexp.tbl".
20818 (half): New constant.
20819 (one): Likewise.
20820 (__ieee754_exp): Rewrite.
20821 (__slowexp): Remove prototype.
20822 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20823 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20824 * sysdeps/i386/fpu/slowexp.c: Likewise.
20825 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20826 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20827 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20828 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20829 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20830 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20831 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20832 comment.
20833 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20834 (CPPFLAGS-slowexp.c): Remove variable.
20835 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20836 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20837 (CFLAGS-slowexp-fma.c): Remove variable.
20838 (CFLAGS-slowexp-fma4.c): Likewise.
20839 (CFLAGS-slowexp-avx.c): Likewise.
20840 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20841 define as macro.
20842 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20843 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20844 * math/Makefile (type-double-routines): Remove slowexp.
20845 * manual/probes.texi (slowexp_p6): Remove.
20846 (slowexp_p32): Likewise.
20847
3bb1ef58 208482017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 20849 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
20850
20851 [BZ #22603]
20852 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20853 addition.
20854
554e3d51
AZ
208552017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20856
20857 [BZ #22605]
20858 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20859 code.
20860
cba595c3
L
208612017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20862
20863 [BZ #22563]
20864 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20865 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20866 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20867 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20868 to feature_1.
20869
f81ddabf
L
208702017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20871
20872 [BZ #22563]
20873 * bits/types/__cancel_jmp_buf_tag.h: New file.
20874 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20875 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20876 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20877 * nptl/Makefile (headers): Add
20878 bits/types/__cancel_jmp_buf_tag.h.
20879 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20880 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20881 * sysdeps/nptl/pthread.h: Include
20882 <bits/types/__cancel_jmp_buf_tag.h>.
20883 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20884 __cancel_jmp_buf.
20885 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20886
1a49fc59
L
208872017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20888
20889 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20890 --enable-static-pie variants to x86_64, x32 and i686.
20891
8e52f573
JM
208922017-12-19 Joseph Myers <joseph@codesourcery.com>
20893
66425185
JM
20894 [BZ #22631]
20895 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20896 argument for attrubutes. All callers changed.
20897 (__inline_mathop1): Likewise. All callers changed.
20898 (__inline_mathop): Likewise. All callers changed.
20899 [__USE_MISC] (scalbn): Use __inline_forward instead of
20900 __inline_forward_c.
20901 [__USE_ISOC99] (scalbln): Likewise.
20902 [__USE_ISOC99] (nearbyint): Likewise.
20903 [__USE_ISOC99] (lrint): Likewise.
20904 [__USE_MISC] (scalbnf): Likewise.
20905 [__USE_ISOC99] (scalblnf): Likewise.
20906 [__USE_ISOC99] (nearbyintf): Likewise.
20907 [__USE_ISOC99] (lrintf): Likewise.
20908 [__USE_MISC] (scalbnl): Likewise.
20909 [__USE_ISOC99] (scalblnl): Likewise.
20910 [__USE_ISOC99] (nearbyintl): Likewise.
20911 [__USE_ISOC99] (lrintl): Likewise.
20912 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20913 __inline_mathop and __m81_defun changed.
20914
8e52f573
JM
20915 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20916 CPU or FPU for ARM hard-float configurations.
20917
1421f39b
JM
209182017-12-18 Joseph Myers <joseph@codesourcery.com>
20919
40c4162d
JM
20920 * nptl/tst-attr3.c: Include <libc-diag.h>.
20921 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20922
5983df32
JM
20923 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20924
1421f39b
JM
20925 * string/tester.c (test_strncat): Also disable -Warray-bounds
20926 warnings for two tests.
20927
00c714df
L
209282017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20929
20930 [BZ #22614]
20931 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20932 $(cc-pie-default) == yes.
20933 * config.make.in (cc-pie-default): New.
20934 * configure.ac (libc_cv_pie_default): Renamed to ...
20935 (libc_cv_cc_pie_default): This.
20936 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20937 * configure: Regenerated.
20938
8e1472d2
FW
209392017-12-18 Florian Weimer <fweimer@redhat.com>
20940
20941 [BZ #20204]
20942 ld.so: Harden dl-libc/libdl hooks.
20943 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20944 (rtld_active): New function.
20945 * dlfcn/dladdr.c (__dladdr): Call it.
20946 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20947 * dlfcn/dlclose.c (__dlcose): Likewise.
20948 * dlfcn/dlerror.c (__dlerror): Likewise.
20949 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20950 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20951 * dlfcn/dlopen.c (__dlopen): Likewise.
20952 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20953 * dlfcn/dlsym.c (__dlsym): Likewise.
20954 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20955 * libio/vtables.c (_IO_vtable_check): Likewise.
20956 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20957 (__libc_dlclose): Likewise.
20958 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20959 assignment.
20960
49b036bc
JM
209612017-12-18 Joseph Myers <joseph@codesourcery.com>
20962
20963 [BZ #22446]
20964 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20965 buffers for readlink input and output.
20966
368b6c8d
ST
209672017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20968
c85c564d
ST
20969 [BZ #22624]
20970 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20971 inhibit_stack_protector.
20972
368b6c8d
ST
20973 [BZ #22624]
20974 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20975 inhibit_stack_protector.
20976
bb195224
DL
209772017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20978
20979 [BZ #22627]
20980 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20981 code and invocation.
20982
14d886ed
SN
209832017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20984
20985 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20986
7d38eb38
AJ
209872017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20988
20989 [BZ #22505]
20990 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20991
2e77deef
RS
209922017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20993
20994 * sysdeps/s390/fpu/libm-test-ulps: Update.
20995
0b9bef6d
RS
209962017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20997
20998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20999
984ae996
RS
210002017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21001
21002 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21003 constants to s_sincosf.h file.
21004 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21005 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21006 implementation.
21007 * sysdeps/ieee754/flt-32/s_sincosf.h:
21008 New file.
21009
363e4519 210102017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
21011
21012 [BZ #14681]
21013 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21014 before mtrace.
21015
9d7a3741
L
210162017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21017
21018 [BZ #19574]
21019 * INSTALL: Regenerated.
21020 * Makeconfig (real-static-start-installed-name): New.
21021 (pic-default): Updated for --enable-static-pie.
21022 (pie-default): New for --enable-static-pie.
21023 (default-pie-ldflag): Likewise.
21024 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21025 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21026 Replace $(static-start-installed-name) with
21027 $(real-static-start-installed-name).
21028 (+prectorT): Updated for --enable-static-pie.
21029 (+postctorT): Likewise.
21030 (CFLAGS-.o): Add $(pie-default).
21031 (CFLAGS-.op): Likewise.
21032 * NEWS: Mention --enable-static-pie.
21033 * config.h.in (ENABLE_STATIC_PIE): New.
21034 * configure.ac (--enable-static-pie): New configure option.
21035 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21036 (have-static-pie): Likewise.
21037 Enable static PIE if linker supports --no-dynamic-linker.
21038 (ENABLE_STATIC_PIE): New AC_DEFINE.
21039 (enable-static-pie): New LIBC_CONFIG_VAR.
21040 * configure: Regenerated.
21041 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21042 gr$(start-installed-name) for --enable-static-pie.
21043 (extra-objs): Likewise.
21044 (install-lib): Likewise.
21045 (extra-objs): Add static-reloc.o and static-reloc.os
21046 ($(objpfx)$(start-installed-name)): Also depend on
21047 $(objpfx)static-reloc.o.
21048 ($(objpfx)r$(start-installed-name)): New.
21049 ($(objpfx)g$(start-installed-name)): Also depend on
21050 $(objpfx)static-reloc.os.
21051 ($(objpfx)gr$(start-installed-name)): New.
21052 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21053 in libc.a.
21054 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21055 initimage.
21056 * csu/static-reloc.c: New file.
21057 * elf/Makefile (routines): Add dl-reloc-static-pie.
21058 (elide-routines.os): Likewise.
21059 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21060 (tst-tls1-static-non-pie-no-pie): New.
21061 * elf/dl-reloc-static-pie.c: New file.
21062 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21063 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21064 STATIC_PIE_BOOTSTRAP.
21065 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21066 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21067 (tests-static): Likewise.
21068 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21069 (tst-gmon-static-no-pie): New.
21070 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21071 (CRT-tst-gmon-static-pie): Likewise.
21072 (tst-gmon-static-pie-ENV): Likewise.
21073 (tests-special): Likewise.
21074 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21075 (clean-tst-gmon-static-pie-data): Likewise.
21076 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21077 * gmon/tst-gmon-static-pie.c: New file.
21078 * manual/install.texi: Document --enable-static-pie.
21079 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21080 (_dl_get_dl_main_map): Likewise.
21081 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21082 * sysdeps/x86_64/configure.ac: Likewise.
21083 * sysdeps/i386/configure: Regenerated.
21084 * sysdeps/x86_64/configure: Likewise.
21085 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21086 (ASFLAGS-.op): Likewise.
21087
95511aab
JM
210882017-12-15 Joseph Myers <joseph@codesourcery.com>
21089
21090 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21091 * posix/tst-mmap-offset.c (fname): Use /tmp.
21092 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21093
a7e3edf4
SE
210942017-12-15 Steve Ellcey <sellcey@cavium.com>
21095
21096 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21097
d232f2e1
TS
210982017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21099
21100 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21101 errno.
21102
174edbde
JM
211032017-12-15 Joseph Myers <joseph@codesourcery.com>
21104
5170fa49
JM
21105 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21106 --with-float=hard for arm-linux-gnueabihf configurations.
21107
f2da2fd8
JM
21108 [BZ #14121]
21109 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21110 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21111 ($(mo-installed)): Use $(objpfx)%.mo.
21112 (realclean): Remove rule.
21113
0c4fe28d
JM
21114 * po/Makefile (linguas): Remove rule and dependencies.
21115 (linguas.mo): Likewise.
21116 (.PHONY): Do not depend on linguas and linguas.mo.
21117 (podir): Remove variable.
21118 (pofiles): Likewise.
21119 [$(pofiles)] (%.po): Remove rule.
21120
174edbde
JM
21121 * sysdeps/sparc/sparc32/Makefile
21122 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21123 start-of-line whitespace in argument of echo.
21124 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21125 with whitespace. Generate __wrap_.udiv alias.
21126 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21127 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21128 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21129 * sysdeps/sparc/sparc32/urem.S: Likewise.
21130
1e36806f
RS
211312017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21132
21133 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21134 for aligned inputs.
21135
aa6932aa
SP
211362017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21137
5f1603c3
SP
21138 * benchtests/bench-strcmp.c: Print output in JSON format.
21139
aa6932aa
SP
21140 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21141
3ff3dfa5
FW
211422017-12-14 Florian Weimer <fweimer@redhat.com>
21143
21144 [BZ #22607]
21145 CVE-2017-1000409
21146 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21147 the expanded path string.
21148
8a0b17e4
FW
211492017-12-14 Florian Weimer <fweimer@redhat.com>
21150
21151 [BZ #22606]
21152 CVE-2017-1000408
21153 * elf/dl-load.c (system_dirs): Update comment.
21154 (nsystem_dirs_len): Use array_length.
21155 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21156
f58bd7f0
FW
211572017-12-14 Florian Weimer <fweimer@redhat.com>
21158
21159 Simplify compiling most of support/ outside of glibc.
21160 * support/check_addrinfo.c: Include <string.h>.
21161 * support/check_dns_packet.c: Likewise.
21162 * support/check_hostent.c: Likewise.
21163 * support/support_can_chroot.c: Include <support/xunistd.h>.
21164 * support/support_format_addrinfo.c: Include <stdlib.h>
21165 * support/support_format_dns_packet.c: Include <stdbool.h>.
21166 * support/support_format_hostent.c: Include <stdlib.h>.
21167 * support/support_format_netent.c: Likewise.
21168 * support/support_write_string.c: Include <support/xunistd.h>.
21169 * support/xdlfcn.c: Include <stddef.h>.
21170
4ca945e9
L
211712017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21172
21173 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21174
1b6e07f8
PM
211752017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21176 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21177
e6a1c5dc
PM
21178 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21179 (sysdeps_routines): Add memset-niagara7.
21180 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21181 Likewise.
21182 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21183 file.
21184 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21185 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21186 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21187 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21188 Add niagara7 option.
21189 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21190 memset.
21191
1b6e07f8
PM
21192 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21193 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21194 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21195 Likewise.
21196 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21197 New file.
21198 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21199 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21200 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21201 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21202 and __memmove_niagara7.
21203 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21204 Add niagara7 option.
21205 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21206 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21207 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21208 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21209 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21210
bfb7bf22
JM
212112017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21212
767a26d6
JM
21213 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21214 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21215 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21216 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21217
bfb7bf22
JM
21218 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21219 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21220 _dl_sparc_cap_flags array.
21221 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21222
2bce01eb
SP
212232017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21224
21225 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21226 time whenever possible.
21227
363e4519 212282017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
21229
21230 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21231 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21232
6f7c0092
JM
212332017-12-12 Joseph Myers <joseph@codesourcery.com>
21234
21235 * soft-fp/fmadf4.c: Move to ....
21236 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21237 * soft-fp/fmasf4.c: Move to ....
21238 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21239 * soft-fp/fmatf4.c: Move to ....
21240 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21241 * sysdeps/ieee754/soft-fp/Makefile: New file.
21242 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21243 * sysdeps/arm/preconfigure: Regenerated.
21244 * sysdeps/arm/nofpu/Implies: New file.
21245 * sysdeps/arm/s_fma.c: Remove file.
21246 * sysdeps/arm/s_fmaf.c: Likewise.
21247 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21248 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21249 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21250 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21251 * sysdeps/microblaze/s_fma.c: Remove file.
21252 * sysdeps/microblaze/s_fmaf.c: Likewise.
21253 * sysdeps/mips/mips32/nofpu/Implies: New file.
21254 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21255 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21256 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21257 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21258 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21259 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21260 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21261 implementation.
21262 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21263 * sysdeps/nios2/s_fma.c: Remove file.
21264 * sysdeps/nios2/s_fmaf.c: Likewise.
21265 * sysdeps/sh/nofpu/Implies: New file.
21266 * sysdeps/sh/s_fma.c: Remove file.
21267 * sysdeps/sh/s_fmaf.c: Likewise.
21268 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21269 * sysdeps/tile/s_fma.c: Remove file.
21270 * sysdeps/tile/s_fmaf.c: Likewise.
21271
ac817e08
L
212722017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21273
21274 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21275 Add s_cosf-sse2 and s_cosf-fma.
21276 (CFLAGS-s_cosf-fma.c): New.
21277 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21278 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21279 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21280
eb428576
SE
212812017-12-12 Steve Ellcey <sellcey@cavium.com>
21282
21283 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21284
c80acdc3
AZ
212852017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21286
cc683f7e
AZ
21287 * libio/Makefile (tests): Add tst-bz22415.
21288 (tst-bz22415-ENV): New rule.
21289 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21290 (tests-special): Add tst-bz22415-mem.out.
21291 ($(objpfx)tst-bz22415-mem.out): New rule.
21292 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21293 in case of a successful seek operation.
21294 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21295 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21296 buffer is required.
21297 * libio/tst-bz22415.c: New test.
21298
c80acdc3
AZ
21299 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21300
363e4519 213012017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
21302
21303 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21304 __IPC_64 to 0 to avoid IPC_64 being set.
21305
4e0dca54
SN
213062017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21307
21308 [BZ #22593]
21309 * math/bits/mathcalls.h (nextafter): Remove const.
21310 (nexttoward): Likewise.
21311
8df5d347
JM
213122017-12-12 Joseph Myers <joseph@codesourcery.com>
21313
21314 * configure.ac (--with-fp): Remove configure option.
21315 (with_fp_cond): New variable.
21316 (libc_cv_with_fp): New configure test. Use this variable instead
21317 of with_fp.
21318 * configure: Regenerated.
21319 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21320 * manual/install.texi (Configuring and compiling): Remove
21321 --without-fp.
21322 * INSTALL: Regenerated.
21323 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21324 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21325 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21326 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21327 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21328 use --without-fp to configure glibc.
21329
0cee1257
RJ
213302017-12-12 Rical Jasan <ricaljasan@pacific.net>
21331
21332 * manual/locale.texi (nl_langinfo): Fix a typo.
21333
363e4519 213342017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
21335
21336 [BZ #22588]
21337 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21338
36975e8e
L
213392017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21340
21341 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21342 (CFLAGS-argp-parse.c): Likewise.
21343 (CFLAGS-argp-fmtstream.c): Likewise.
21344 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21345 (CPPFLAGS-sha512-crypt.c): Likewise.
21346 (CPPFLAGS-md5-crypt.c): Likewise.
21347 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21348 (CFLAGS-stack_chk_fail_local.c): Likewise.
21349 (CFLAGS-backtrace.c): Likewise.
21350 (CFLAGS-sprintf_chk.c): Likewise.
21351 (CFLAGS-snprintf_chk.c): Likewise.
21352 (CFLAGS-vsprintf_chk.c): Likewise.
21353 (CFLAGS-vsnprintf_chk.c): Likewise.
21354 (CFLAGS-asprintf_chk.c): Likewise.
21355 (CFLAGS-vasprintf_chk.c): Likewise.
21356 (CFLAGS-obprintf_chk.c): Likewise.
21357 (CFLAGS-dprintf_chk.c): Likewise.
21358 (CFLAGS-vdprintf_chk.c): Likewise.
21359 (CFLAGS-printf_chk.c): Likewise.
21360 (CFLAGS-fprintf_chk.c): Likewise.
21361 (CFLAGS-vprintf_chk.c): Likewise.
21362 (CFLAGS-vfprintf_chk.c): Likewise.
21363 (CFLAGS-gets_chk.c): Likewise.
21364 (CFLAGS-fgets_chk.c): Likewise.
21365 (CFLAGS-fgets_u_chk.c): Likewise.
21366 (CFLAGS-fread_chk.c): Likewise.
21367 (CFLAGS-fread_u_chk.c): Likewise.
21368 (CFLAGS-swprintf_chk.c): Likewise.
21369 (CFLAGS-vswprintf_chk.c): Likewise.
21370 (CFLAGS-wprintf_chk.c): Likewise.
21371 (CFLAGS-fwprintf_chk.c): Likewise.
21372 (CFLAGS-vwprintf_chk.c): Likewise.
21373 (CFLAGS-vfwprintf_chk.c): Likewise.
21374 (CFLAGS-fgetws_chk.c): Likewise.
21375 (CFLAGS-fgetws_u_chk.c): Likewise.
21376 (CFLAGS-read_chk.c): Likewise.
21377 (CFLAGS-pread_chk.c): Likewise.
21378 (CFLAGS-pread64_chk.c): Likewise.
21379 (CFLAGS-recv_chk.c): Likewise.
21380 (CFLAGS-recvfrom_chk.c): Likewise.
21381 (CFLAGS-tst-longjmp_chk.c): Likewise.
21382 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21383 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21384 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21385 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21386 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21387 (CFLAGS-tst-chk1.c): Likewise.
21388 (CFLAGS-tst-chk2.c): Likewise.
21389 (CFLAGS-tst-chk3.c): Likewise.
21390 (CFLAGS-tst-chk4.cc): Likewise.
21391 (CFLAGS-tst-chk5.cc): Likewise.
21392 (CFLAGS-tst-chk6.cc): Likewise.
21393 (CFLAGS-tst-lfschk1.c): Likewise.
21394 (CFLAGS-tst-lfschk2.c): Likewise.
21395 (CFLAGS-tst-lfschk3.c): Likewise.
21396 (CFLAGS-tst-lfschk4.cc): Likewise.
21397 (CFLAGS-tst-lfschk5.cc): Likewise.
21398 (CFLAGS-tst-lfschk6.cc): Likewise.
21399 (CFLAGS-tst-ssp-1.c): Likewise.
21400 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21401 (CFLAGS-scandir64.c): Likewise.
21402 (CFLAGS-scandir-tail.c): Likewise.
21403 (CFLAGS-scandir64-tail.c): Likewise.
21404 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21405 (CFLAGS-dl-tunables.c): Likewise.
21406 (CFLAGS-dl-runtime.c): Likewise.
21407 (CFLAGS-dl-lookup.c): Likewise.
21408 (CFLAGS-dl-iterate-phdr.c): Likewise.
21409 (CFLAGS-vismain.c): Likewise.
21410 (CFLAGS-tst-linkall-static.c): Likewise.
21411 (CFLAGS-tst-linkall-static.c): Likewise.
21412 (CPPFLAGS-dl-load.c): Likewise.
21413 (CFLAGS-ldconfig.c): Likewise.
21414 (CFLAGS-dl-cache.c): Likewise.
21415 (CFLAGS-cache.c): Likewise.
21416 (CFLAGS-rtld.c): Likewise.
21417 (CFLAGS-multiload.c): Likewise.
21418 (CFLAGS-filtmod1.c): Likewise.
21419 (CFLAGS-tst-align.c): Likewise.
21420 (CFLAGS-tst-align2.c): Likewise.
21421 (CFLAGS-tst-alignmod.c): Likewise.
21422 (CFLAGS-tst-alignmod2.c): Likewise.
21423 (CPPFLAGS-tst-execstack.c): Likewise.
21424 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21425 (CFLAGS-tst-latepthreadmod.c): Likewise.
21426 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21427 (CFLAGS-getgrnam_r.c): Likewise.
21428 (CFLAGS-getgrent_r.c): Likewise.
21429 (CFLAGS-getgrent.c): Likewise.
21430 (CFLAGS-fgetgrent.c): Likewise.
21431 (CFLAGS-fgetgrent_r.c): Likewise.
21432 (CFLAGS-putgrent.c): Likewise.
21433 (CFLAGS-initgroups.c): Likewise.
21434 (CFLAGS-getgrgid.c): Likewise.
21435 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21436 (CFLAGS-getsgent.c): Likewise.
21437 (CFLAGS-fgetsgent.c): Likewise.
21438 (CFLAGS-fgetsgent_r.c): Likewise.
21439 (CFLAGS-putsgent.c): Likewise.
21440 (CFLAGS-getsgnam.c): Likewise.
21441 (CFLAGS-getsgnam_r.c): Likewise.
21442 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21443 (CFLAGS-iconv_charmap.c): Likewise.
21444 (CFLAGS-dummy-repertoire.c): Likewise.
21445 (CFLAGS-charmap.c): Likewise.
21446 (CFLAGS-linereader.c): Likewise.
21447 (CFLAGS-simple-hash.c): Likewise.
21448 (CFLAGS-gconv_conf.c): Likewise.
21449 (CFLAGS-iconvconfig.c): Likewise.
21450 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21451 (CFLAGS-gethstbyad.c): Likewise.
21452 (CFLAGS-gethstbynm_r.c): Likewise.
21453 (CFLAGS-gethstbynm.c): Likewise.
21454 (CFLAGS-gethstbynm2_r.c): Likewise.
21455 (CFLAGS-gethstbynm2.c): Likewise.
21456 (CFLAGS-gethstent_r.c): Likewise.
21457 (CFLAGS-gethstent.c): Likewise.
21458 (CFLAGS-rcmd.c): Likewise.
21459 (CFLAGS-getnetbynm_r.c): Likewise.
21460 (CFLAGS-getnetbynm.c): Likewise.
21461 (CFLAGS-getnetbyad_r.c): Likewise.
21462 (CFLAGS-getnetbyad.c): Likewise.
21463 (CFLAGS-getnetent_r.c): Likewise.
21464 (CFLAGS-getnetent.c): Likewise.
21465 (CFLAGS-getaliasent_r.c): Likewise.
21466 (CFLAGS-getaliasent.c): Likewise.
21467 (CFLAGS-getrpcent_r.c): Likewise.
21468 (CFLAGS-getrpcent.c): Likewise.
21469 (CFLAGS-getservent_r.c): Likewise.
21470 (CFLAGS-getservent.c): Likewise.
21471 (CFLAGS-getprtent_r.c): Likewise.
21472 (CFLAGS-getprtent.c): Likewise.
21473 (CFLAGS-either_ntoh.c): Likewise.
21474 (CFLAGS-either_hton.c): Likewise.
21475 (CFLAGS-getnetgrent.c): Likewise.
21476 (CFLAGS-getnetgrent_r.c): Likewise.
21477 (CFLAGS-tst-checks-posix.c): Likewise.
21478 (CFLAGS-tst-sockaddr.c): Likewise.
21479 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21480 (CFLAGS-tst-translit.c): Likewise.
21481 (CFLAGS-tst-gettext2.c): Likewise.
21482 (CFLAGS-tst-codeset.c): Likewise.
21483 (CFLAGS-tst-gettext3.c): Likewise.
21484 (CFLAGS-tst-gettext4.c): Likewise.
21485 (CFLAGS-tst-gettext5.c): Likewise.
21486 (CFLAGS-tst-gettext6.c): Likewise.
21487 * io/Makefile (CFLAGS-open.c): Likewise.
21488 (CFLAGS-open64.c): Likewise.
21489 (CFLAGS-creat.c): Likewise.
21490 (CFLAGS-creat64.c): Likewise.
21491 (CFLAGS-fcntl.c): Likewise.
21492 (CFLAGS-poll.c): Likewise.
21493 (CFLAGS-ppoll.c): Likewise.
21494 (CFLAGS-lockf.c): Likewise.
21495 (CFLAGS-statfs.c): Likewise.
21496 (CFLAGS-fstatfs.c): Likewise.
21497 (CFLAGS-statvfs.c): Likewise.
21498 (CFLAGS-fstatvfs.c): Likewise.
21499 (CFLAGS-fts.c): Likewise.
21500 (CFLAGS-fts64.c): Likewise.
21501 (CFLAGS-ftw.c): Likewise.
21502 (CFLAGS-ftw64.c): Likewise.
21503 (CFLAGS-lockf.c): Likewise.
21504 (CFLAGS-posix_fallocate.c): Likewise.
21505 (CFLAGS-posix_fallocate64.c): Likewise.
21506 (CFLAGS-fallocate.c): Likewise.
21507 (CFLAGS-fallocate64.c): Likewise.
21508 (CFLAGS-read.c): Likewise.
21509 (CFLAGS-write.c): Likewise.
21510 (CFLAGS-test-stat.c): Likewise.
21511 (CFLAGS-test-lfs.c): Likewise.
21512 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21513 (CFLAGS-fputc.c): Likewise.
21514 (CFLAGS-fputwc.c): Likewise.
21515 (CFLAGS-freopen64.c): Likewise.
21516 (CFLAGS-freopen.c): Likewise.
21517 (CFLAGS-fseek.c): Likewise.
21518 (CFLAGS-fseeko64.c): Likewise.
21519 (CFLAGS-fseeko.c): Likewise.
21520 (CFLAGS-ftello64.c): Likewise.
21521 (CFLAGS-ftello.c): Likewise.
21522 (CFLAGS-fwide.c): Likewise.
21523 (CFLAGS-genops.c): Likewise.
21524 (CFLAGS-getc.c): Likewise.
21525 (CFLAGS-getchar.c): Likewise.
21526 (CFLAGS-getwc.c): Likewise.
21527 (CFLAGS-getwchar.c): Likewise.
21528 (CFLAGS-iofclose.c): Likewise.
21529 (CFLAGS-iofflush.c): Likewise.
21530 (CFLAGS-iofgetpos64.c): Likewise.
21531 (CFLAGS-iofgetpos.c): Likewise.
21532 (CFLAGS-iofgets.c): Likewise.
21533 (CFLAGS-iofgetws.c): Likewise.
21534 (CFLAGS-iofputs.c): Likewise.
21535 (CFLAGS-iofputws.c): Likewise.
21536 (CFLAGS-iofread.c): Likewise.
21537 (CFLAGS-iofsetpos64.c): Likewise.
21538 (CFLAGS-iofsetpos.c): Likewise.
21539 (CFLAGS-ioftell.c): Likewise.
21540 (CFLAGS-iofwrite.c): Likewise.
21541 (CFLAGS-iogetdelim.c): Likewise.
21542 (CFLAGS-iogetline.c): Likewise.
21543 (CFLAGS-iogets.c): Likewise.
21544 (CFLAGS-iogetwline.c): Likewise.
21545 (CFLAGS-ioputs.c): Likewise.
21546 (CFLAGS-ioseekoff.c): Likewise.
21547 (CFLAGS-ioseekpos.c): Likewise.
21548 (CFLAGS-iosetbuffer.c): Likewise.
21549 (CFLAGS-iosetvbuf.c): Likewise.
21550 (CFLAGS-ioungetc.c): Likewise.
21551 (CFLAGS-ioungetwc.c): Likewise.
21552 (CFLAGS-oldfileops.c): Likewise.
21553 (CFLAGS-oldiofclose.c): Likewise.
21554 (CFLAGS-oldiofgetpos64.c): Likewise.
21555 (CFLAGS-oldiofgetpos.c): Likewise.
21556 (CFLAGS-oldiofsetpos64.c): Likewise.
21557 (CFLAGS-oldiofsetpos.c): Likewise.
21558 (CFLAGS-peekc.c): Likewise.
21559 (CFLAGS-putc.c): Likewise.
21560 (CFLAGS-putchar.c): Likewise.
21561 (CFLAGS-putwc.c): Likewise.
21562 (CFLAGS-putwchar.c): Likewise.
21563 (CFLAGS-rewind.c): Likewise.
21564 (CFLAGS-wfileops.c): Likewise.
21565 (CFLAGS-wgenops.c): Likewise.
21566 (CFLAGS-oldiofopen.c): Likewise.
21567 (CFLAGS-iofopen.c): Likewise.
21568 (CFLAGS-iofopen64.c): Likewise.
21569 (CFLAGS-oldtmpfile.c): Likewise.
21570 (CFLAGS-tst_putwc.c): Likewise.
21571 * locale/Makefile (CFLAGS-md5.c): Likewise.
21572 (CFLAGS-charmap.c): Likewise.
21573 (CFLAGS-locfile.c): Likewise.
21574 (CFLAGS-charmap-dir.c): Likewise.
21575 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21576 (CFLAGS-getpt.c): Likewise.
21577 (CFLAGS-pt_chown.c): Likewise.
21578 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21579 (CFLAGS-obstack.c): Likewise.
21580 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21581 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21582 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21583 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21584 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21585 (CFLAGS-test-tgmath.c): Likewise.
21586 (CFLAGS-test-tgmath2.c): Likewise.
21587 (CFLAGS-test-tgmath-ret.c): Likewise.
21588 (CFLAGS-test-powl.c): Likewise.
21589 (CFLAGS-test-snan.c): Likewise.
21590 (CFLAGS-test-signgam-finite.c): Likewise.
21591 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21592 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21593 (CFLAGS-test-signgam-uchar.c): Likewise.
21594 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21595 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21596 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21597 (CFLAGS-test-signgam-uint.c): Likewise.
21598 (CFLAGS-test-signgam-uint-init.c): Likewise.
21599 (CFLAGS-test-signgam-uint-static.c): Likewise.
21600 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21601 (CFLAGS-test-signgam-ullong.c): Likewise.
21602 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21603 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21604 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21605 (CFLAGS-test-math-cxx11.cc): Likewise.
21606 (CFLAGS-test-math-isinff.cc): Likewise.
21607 (CFLAGS-test-math-iszero.cc): Likewise.
21608 (CFLAGS-test-math-issignaling.cc): Likewise.
21609 (CFLAGS-test-math-iscanonical.cc): Likewise.
21610 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21611 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21612 (CFLAGS-test-flt-eval-method.c): Likewise.
21613 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21614 (CFLAGS-test-finite-macros.c): Likewise.
21615 * misc/Makefile (CFLAGS-select.c): Likewise.
21616 (CFLAGS-tsearch.c): Likewise.
21617 (CFLAGS-lsearch.c): Likewise.
21618 (CFLAGS-pselect.c): Likewise.
21619 (CFLAGS-readv.c): Likewise.
21620 (CFLAGS-writev.c): Likewise.
21621 (CFLAGS-preadv.c): Likewise.
21622 (CFLAGS-preadv64.c): Likewise.
21623 (CFLAGS-pwritev.c): Likewise.
21624 (CFLAGS-pwritev64.c): Likewise.
21625 (CFLAGS-preadv2.c): Likewise.
21626 (CFLAGS-preadv64v2.c): Likewise.
21627 (CFLAGS-pwritev2.c): Likewise.
21628 (CFLAGS-pwritev64v2.c): Likewise.
21629 (CFLAGS-usleep.c): Likewise.
21630 (CFLAGS-syslog.c): Likewise.
21631 (CFLAGS-error.c): Likewise.
21632 (CFLAGS-getpass.c): Likewise.
21633 (CFLAGS-mkstemp.c): Likewise.
21634 (CFLAGS-mkstemp64.c): Likewise.
21635 (CFLAGS-getsysstats.c): Likewise.
21636 (CFLAGS-getusershell.c): Likewise.
21637 (CFLAGS-err.c): Likewise.
21638 (CFLAGS-tst-tsearch.c): Likewise.
21639 (CFLAGS-msync.c): Likewise.
21640 (CFLAGS-fdatasync.c): Likewise.
21641 (CFLAGS-fsync.c): Likewise.
21642 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21643 (CFLAGS-unwind.c): Likewise.
21644 (CFLAGS-unwind-forcedunwind.c): Likewise.
21645 (CFLAGS-pthread_cancel.c): Likewise.
21646 (CFLAGS-pthread_setcancelstate.c): Likewise.
21647 (CFLAGS-pthread_setcanceltype.c): Likewise.
21648 (CFLAGS-cancellation.c): Likewise.
21649 (CFLAGS-libc-cancellation.c): Likewise.
21650 (CFLAGS-pthread_exit.c): Likewise.
21651 (CFLAGS-forward.c): Likewise.
21652 (CFLAGS-pthread_testcancel.c): Likewise.
21653 (CFLAGS-pthread_join.c): Likewise.
21654 (CFLAGS-pthread_timedjoin.c): Likewise.
21655 (CFLAGS-pthread_once.c): Likewise.
21656 (CFLAGS-pthread_cond_wait.c): Likewise.
21657 (CFLAGS-sem_wait.c): Likewise.
21658 (CFLAGS-sem_timedwait.c): Likewise.
21659 (CFLAGS-fcntl.c): Likewise.
21660 (CFLAGS-lockf.c): Likewise.
21661 (CFLAGS-pread.c): Likewise.
21662 (CFLAGS-pread64.c): Likewise.
21663 (CFLAGS-pwrite.c): Likewise.
21664 (CFLAGS-pwrite64.c): Likewise.
21665 (CFLAGS-wait.c): Likewise.
21666 (CFLAGS-waitpid.c): Likewise.
21667 (CFLAGS-sigwait.c): Likewise.
21668 (CFLAGS-msgrcv.c): Likewise.
21669 (CFLAGS-msgsnd.c): Likewise.
21670 (CFLAGS-tcdrain.c): Likewise.
21671 (CFLAGS-open.c): Likewise.
21672 (CFLAGS-open64.c): Likewise.
21673 (CFLAGS-pause.c): Likewise.
21674 (CFLAGS-recv.c): Likewise.
21675 (CFLAGS-send.c): Likewise.
21676 (CFLAGS-accept.c): Likewise.
21677 (CFLAGS-sendto.c): Likewise.
21678 (CFLAGS-connect.c): Likewise.
21679 (CFLAGS-recvfrom.c): Likewise.
21680 (CFLAGS-recvmsg.c): Likewise.
21681 (CFLAGS-sendmsg.c): Likewise.
21682 (CFLAGS-close.c): Likewise.
21683 (CFLAGS-read.c): Likewise.
21684 (CFLAGS-write.c): Likewise.
21685 (CFLAGS-nanosleep.c): Likewise.
21686 (CFLAGS-sigsuspend.c): Likewise.
21687 (CFLAGS-msync.c): Likewise.
21688 (CFLAGS-fdatasync.c): Likewise.
21689 (CFLAGS-fsync.c): Likewise.
21690 (CFLAGS-pt-system.c): Likewise.
21691 (CFLAGS-tst-cleanup2.c): Likewise.
21692 (CFLAGS-tst-cleanupx2.c): Likewise.
21693 (CFLAGS-flockfile.c): Likewise.
21694 (CFLAGS-ftrylockfile.c): Likewise.
21695 (CFLAGS-funlockfile.c): Likewise.
21696 (CFLAGS-tst-initializers1.c): Likewise.
21697 (CFLAGS-tst-initializers1-c89.c): Likewise.
21698 (CFLAGS-tst-initializers1-c99.c): Likewise.
21699 (CFLAGS-tst-initializers1-c11.c): Likewise.
21700 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21701 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21702 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21703 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21704 (CFLAGS-nscd_getgr_r.c): Likewise.
21705 (CFLAGS-nscd_gethst_r.c): Likewise.
21706 (CFLAGS-nscd_getai.c): Likewise.
21707 (CFLAGS-nscd_initgroups.c): Likewise.
21708 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21709 (CFLAGS-pause.c): Likewise.
21710 (CFLAGS-pread.c): Likewise.
21711 (CFLAGS-pread64.c): Likewise.
21712 (CFLAGS-pwrite.c): Likewise.
21713 (CFLAGS-pwrite64.c): Likewise.
21714 (CFLAGS-sleep.c): Likewise.
21715 (CFLAGS-wait.c): Likewise.
21716 (CFLAGS-waitid.c): Likewise.
21717 (CFLAGS-waitpid.c): Likewise.
21718 (CFLAGS-getopt.c): Likewise.
21719 (CFLAGS-wordexp.c): Likewise.
21720 (CFLAGS-sysconf.c): Likewise.
21721 (CFLAGS-pathconf.c): Likewise.
21722 (CFLAGS-fpathconf.c): Likewise.
21723 (CFLAGS-spawn.c): Likewise.
21724 (CFLAGS-spawnp.c): Likewise.
21725 (CFLAGS-spawni.c): Likewise.
21726 (CFLAGS-glob.c): Likewise.
21727 (CFLAGS-glob64.c): Likewise.
21728 (CFLAGS-getconf.c): Likewise.
21729 (CFLAGS-nanosleep.c): Likewise.
21730 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21731 (CFLAGS-getpwent.c): Likewise.
21732 (CFLAGS-getpw.c): Likewise.
21733 (CFLAGS-fgetpwent_r.c): Likewise.
21734 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21735 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21736 (CFLAGS-mq_timedreceive.c): Likewise.
21737 (CFLAGS-mq_timedsend.c): Likewise.
21738 (CFLAGS-clock_nanosleep.c): Likewise.
21739 (CFLAGS-librt-cancellation.c): Likewise.
21740 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21741 (CFLAGS-getspent.c): Likewise.
21742 (CFLAGS-fgetspent.c): Likewise.
21743 (CFLAGS-fgetspent_r.c): Likewise.
21744 (CFLAGS-putspent.c): Likewise.
21745 (CFLAGS-getspnam.c): Likewise.
21746 (CFLAGS-getspnam_r.c): Likewise.
21747 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21748 (CFLAGS-sigsuspend.c): Likewise.
21749 (CFLAGS-sigtimedwait.c): Likewise.
21750 (CFLAGS-sigwait.c): Likewise.
21751 (CFLAGS-sigwaitinfo.c): Likewise.
21752 (CFLAGS-sigreturn.c): Likewise.
21753 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21754 (CFLAGS-vfwprintf.c): Likewise.
21755 (CFLAGS-tmpfile.c): Likewise.
21756 (CFLAGS-tmpfile64.c): Likewise.
21757 (CFLAGS-tempname.c): Likewise.
21758 (CFLAGS-psignal.c): Likewise.
21759 (CFLAGS-vprintf.c): Likewise.
21760 (CFLAGS-cuserid.c): Likewise.
21761 (CFLAGS-errlist.c): Likewise.
21762 (CFLAGS-siglist.c): Likewise.
21763 (CFLAGS-scanf15.c): Likewise.
21764 (CFLAGS-scanf17.c): Likewise.
21765 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21766 (CFLAGS-msort.c): Likewise.
21767 (CFLAGS-qsort.c): Likewise.
21768 (CFLAGS-system.c): Likewise.
21769 (CFLAGS-fmtmsg.c): Likewise.
21770 (CFLAGS-strfmon.c): Likewise.
21771 (CFLAGS-strfmon_l.c): Likewise.
21772 (CFLAGS-strfromd.c): Likewise.
21773 (CFLAGS-strfromf.c): Likewise.
21774 (CFLAGS-strfroml.c): Likewise.
21775 (CFLAGS-tst-bsearch.c): Likewise.
21776 (CFLAGS-tst-qsort.c): Likewise.
21777 (CFLAGS-tst-makecontext2.c): Likewise.
21778 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21779 (CFLAGS-xnlm_prot.c): Likewise.
21780 (CFLAGS-xrstat.c): Likewise.
21781 (CFLAGS-xyppasswd.c): Likewise.
21782 (CFLAGS-xklm_prot.c): Likewise.
21783 (CFLAGS-xrex.c): Likewise.
21784 (CFLAGS-xsm_inter.c): Likewise.
21785 (CFLAGS-xmount.c): Likewise.
21786 (CFLAGS-xrusers.c): Likewise.
21787 (CFLAGS-xspray.c): Likewise.
21788 (CFLAGS-xnfs_prot.c): Likewise.
21789 (CFLAGS-xrquota.c): Likewise.
21790 (CFLAGS-xkey_prot.c): Likewise.
21791 (CFLAGS-auth_unix.c): Likewise.
21792 (CFLAGS-key_call.c): Likewise.
21793 (CFLAGS-pmap_rmt.c): Likewise.
21794 (CFLAGS-clnt_perr.c): Likewise.
21795 (CFLAGS-openchild.c): Likewise.
21796 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21797 (CFLAGS-msgsnd.c): Likewise.
21798 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21799 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21800 (CFLAGS-tzset.c): Likewise.
21801 (CFLAGS-getdate.c): Likewise.
21802 (CFLAGS-test_time.c): Likewise.
21803 (CPPFLAGS-tst-tzname.c): Likewise.
21804 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21805 (CFLAGS-zic.c): Likewise.
21806 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21807 (CFLAGS-wcswidth.c): Likewise.
21808 (CFLAGS-wcstol.c): Likewise.
21809 (CFLAGS-wcstoul.c): Likewise.
21810 (CFLAGS-wcstoll.c): Likewise.
21811 (CFLAGS-wcstoull.c): Likewise.
21812 (CFLAGS-wcstod.c): Likewise.
21813 (CFLAGS-wcstold.c): Likewise.
21814 (CFLAGS-wcstof128.c): Likewise.
21815 (CFLAGS-wcstof.c): Likewise.
21816 (CFLAGS-wcstol_l.c): Likewise.
21817 (CFLAGS-wcstoul_l.c): Likewise.
21818 (CFLAGS-wcstoll_l.c): Likewise.
21819 (CFLAGS-wcstoull_l.c): Likewise.
21820 (CFLAGS-wcstod_l.c): Likewise.
21821 (CFLAGS-wcstold_l.c): Likewise.
21822 (CFLAGS-wcstof128_l.c): Likewise.
21823 (CFLAGS-wcstof_l.c): Likewise.
21824 (CPPFLAGS-tst-wchar-h.c): Likewise.
21825 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 21826
f4b2aea6
PC
218272017-12-11 Paul A. Clarke <pc@us.ibm.com>
21828
21829 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21830
c9cd7b0c
AZ
218312017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21832 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21833
21834 * manual/tunables.texi (Hardware Capability Tunables): Document
21835 glibc.tune.cached_memopt.
21836 * sysdeps/powerpc/cpu-features.c: New file.
21837 * sysdeps/powerpc/cpu-features.h: New file.
21838 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21839 _dl_powerpc_cpu_features.
21840 * sysdeps/powerpc/dl-tunables.list: New file.
21841 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21842 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21843 (INIT_ARCH): Initialize use_aligned_memopt.
21844 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21845 IS_IN(rtld))]: Restrict dl_platform_init availability and
21846 initialize CPU features used by tunables.
21847 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21848 Add memcpy-power8-cached.
21849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21850 __memcpy_power8_cached.
21851 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21852 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21853 New file.
21854
e70c6fee
L
218552017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21856
21857 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21858 (CFLAGS-noinl-tester.c): Likewise.
21859 (CFLAGS-tst-strlen.c): Likewise.
21860 (CFLAGS-stratcliff.c): Likewise.
21861 (CFLAGS-test-ffs.c): Likewise.
21862 (CFLAGS-tst-inlcall.c): Likewise.
21863 (CFLAGS-tst-xbzero-opt.c): Likewise.
21864 (CFLAGS-memcpy.c): Likewise.
21865 (CFLAGS-wordcopy.c): Likewise.
21866
dee94366
SL
218672017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21868
21869 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21870 Store r15 on stack and add cfi rule.
21871 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21872 Likewise.
21873
363e4519 218742017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
21875
21876 [BZ #22577]
21877 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21878 call.
21879
9d0ffa60
L
218802017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21881
21882 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21883 Add s_sinf-sse2 and s_sinf-fma.
21884 (CFLAGS-s_sinf-fma.c): New.
21885 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21886 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21887 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21888
9574c7b6
L
218892017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21890
21891 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21892
d15e83c5
JM
218932017-12-07 Joseph Myers <joseph@codesourcery.com>
21894
21895 [BZ #22568]
21896 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21897 part of result to imaginary part of argument if it is zero and the
21898 real part of the argument is not finite.
21899 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21900 of result to real part of argument if it is zero and the imaginary
21901 part of the argument is not finite.
21902
d89756eb
MF
219032017-12-07 Mike FABIAN <mfabian@redhat.com>
21904
21905 [BZ #22524]
21906 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21907 and to the list of locales to be built for testing.
21908 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21909 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21910 and build the collation rules upon that.
21911
1f9055ce
JM
219122017-12-07 Joseph Myers <joseph@codesourcery.com>
21913
21914 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21915 * manual/math.texi (Mathematics): Document support for _Float32.
21916 * math/Makefile (test-types): Add float32.
21917 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21918 * stdlib/Versions (GLIBC_2.27): Likewise.
21919 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21920 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21921 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21922 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21923 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21924 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21925 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21926 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21927 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21928 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21929 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21930 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21931 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21932 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21933 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21934 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21935 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21936 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21937 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21938 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21939 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21940 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21941 Likewise.
21942 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21943 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21944 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21945 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21946 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21948 Likewise.
21949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21950 Likewise.
21951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21952 Likewise.
21953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21954 Likewise.
21955
21956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21957 Likewise.
21958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21959 Likewise.
21960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21961 Likewise.
21962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21963 Likewise.
21964 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21965 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21966 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21967 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21968 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21969 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21970 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21971 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21972 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21973 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21975 Likewise.
21976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21977 Likewise.
21978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21979 Likewise.
21980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21981 Likewise.
21982 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21983 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21984 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21985 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21986 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21987 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21988 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21989 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21990
5244527d
JM
219912017-12-06 Joseph Myers <joseph@codesourcery.com>
21992
fb1ca2aa
JM
21993 * stdlib/strtof.c: Include <bits/floatn.h>
21994 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21995 and later undefine as macro. Define as weak alias if
21996 [!USE_WIDE_CHAR].
21997 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21998 and later undefine as macro. Define as weak alias if
21999 [USE_WIDE_CHAR].
22000 * stdlib/strtof_l.c: Include <bits/floatn.h>
22001 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22002 and later undefine as macro. Define as weak alias if
22003 [!USE_WIDE_CHAR].
22004 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22005 and later undefine as macro. Define as weak alias if
22006 [USE_WIDE_CHAR].
22007
fc10cc3f
JM
22008 * stdlib/strfromf.c: Include <bits/floatn.h>.
22009 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22010 and later undefine as macro and define as weak alias.
22011
e420d228
JM
22012 * math/test-float32.h: New file.
22013
26007a2f
JM
22014 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22015 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22016 (libm_alias_float_other_r): Create f32 alias.
22017 (libm_alias_float_r): Use semicolon before call to
22018 libm_alias_float_other_r.
22019
c191f64c
JM
22020 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22021 second argument to libm_alias_float_other.
22022 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22023 second argument to libm_alias_float_other.
22024 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22025 argument to libm_alias_float_other.
22026
5244527d
JM
22027 [BZ #22561]
22028 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22029 real part of result for argument 0 + i * NaN.
22030 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22031 results for tests of 0 + i * NaN.
22032
d73fac82
AZ
220332017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22034
22035 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22036
7ec094e8
DM
220372017-12-06 David S. Miller <davem@davemloft.net>
22038
22039 * sysdeps/sparc/fpu/libm-test-ulps: Update
22040 exp_{downward,towardzero,upward} ulps.
22041
53994f12
JM
220422017-12-06 Joseph Myers <joseph@codesourcery.com>
22043
1dbe6f64
JM
22044 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22045 variables static.
22046
53994f12
JM
22047 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22048 (Y0_2D): Likewise.
22049 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22050 (Y0_2D): Likewise.
22051 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22052 (Y0_2D): Likewise.
22053 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22054 (Y0_2D): Likewise.
22055
62ea2193
MF
220562017-12-06 Mike FABIAN <mfabian@redhat.com>
22057
22058 [BZ #22515]
22059 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22060 and to the list of locales to be built for testing.
22061 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22062 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22063 and build the collation rules upon that.
22064
87235d70
RS
220652017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22066
22067 * NEWS: Add sinf to list of optimized functions.
22068
0d93b7fd
JM
220692017-12-06 Joseph Myers <joseph@codesourcery.com>
22070
22071 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22072 (__HAVE_FLOAT32X): Likewise.
22073 * manual/math.texi (Mathematics): Document support for _Float64
22074 and _Float32x.
22075 * math/Makefile (test-types): Add float64 and float32x.
22076 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22077 functions.
22078 * stdlib/Versions (GLIBC_2.27): Likewise.
22079 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22080 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22081 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22082 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22083 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22084 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22085 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22086 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22087 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22088 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22089 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22090 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22091 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22092 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22093 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22094 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22095 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22096 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22097 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22098 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22099 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22100 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22101 Likewise.
22102 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22103 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22104 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22105 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22106 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22108 Likewise.
22109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22110 Likewise.
22111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22112 Likewise.
22113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22114 Likewise.
22115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22116 Likewise.
22117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22118 Likewise.
22119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22120 Likewise.
22121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22122 Likewise.
22123 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22124 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22125 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22126 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22127 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22128 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22129 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22130 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22131 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22132 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22134 Likewise.
22135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22136 Likewise.
22137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22138 Likewise.
22139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22140 Likewise.
22141 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22142 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22143 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22144 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22145 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22146 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22147 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22148 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22149
f7787234
JM
221502017-12-05 Joseph Myers <joseph@codesourcery.com>
22151
22152 * bits/floatn-common.h: Include <bits/long-double.h>.
22153 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22154 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22155 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22156 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22157 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22158 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22159 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22160 (__builtin_huge_valf64): Use __builtin_huge_vall.
22161 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22162 (__builtin_inff64): Use __builtin_infl.
22163 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22164 (__builtin_nanf64): Use __builtin_nanl.
22165 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22166 (__builtin_nansf64): Use __builtin_nansl.
22167
363e4519
DL
221682017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22169 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 22170 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
22171
22172 * elf/dl-tunables.list: Add elision parameters.
22173 * manual/tunables.texi: Add entries about elision tunable.
22174 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22175 Add callback functions to dynamically enable/disable elision.
22176 Add multiple callbacks functions to set elision parameters.
22177 Deleted __libc_enable_secure check.
22178 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22179 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22180 * configure: Regenerated.
22181 * configure.ac: Option enable_lock_elision was deleted.
22182 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22183 * config.make.in: Remove references to enable_lock_elision.
22184 * manual/install.texi: Elision configure option was removed.
22185 * INSTALL: Regenerated to remove enable_lock_elision.
22186 * nptl/Makefile:
22187 Disable elision so it can verify error case for destroying a mutex.
22188 * sysdeps/powerpc/nptl/elide.h:
22189 Cleanup ENABLE_LOCK_ELISION check.
22190 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22191 * sysdeps/s390/configure: Regenerated.
22192 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22193 * nptl/tst-mutex8.c:
22194 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22195 * sysdeps/powerpc/powerpc32/sysdep.h:
22196 Deleted all ENABLE_LOCK_ELISION checks.
22197 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22198 * sysdeps/powerpc/sysdep.h: Likewise.
22199 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22200 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22201 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22202 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22203 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22204 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22205 enable-lock-elision.
22206
a5a2a76b
JM
222072017-12-05 Joseph Myers <joseph@codesourcery.com>
22208
22209 * stdlib/strtod.c: Include <bits/floatn.h>.
22210 (BUILD_DOUBLE): New macro.
22211 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22212 (strtof64): Define and later undefine as macro. Define as weak
22213 alias if [!USE_WIDE_CHAR].
22214 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22215 (wcstof64): Define and later undefine as macro. Define as weak
22216 alias if [USE_WIDE_CHAR].
22217 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22218 (strtof32x): Define and later undefine as macro. Define as weak
22219 alias if [!USE_WIDE_CHAR].
22220 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22221 (wcstof32x): Define and later undefine as macro. Define as weak
22222 alias if [USE_WIDE_CHAR].
22223 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22224 (BUILD_DOUBLE): New macro.
22225 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22226 (strtof64_l): Define and later undefine as macro. Define as weak
22227 alias if [!USE_WIDE_CHAR].
22228 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22229 (wcstof64_l): Define and later undefine as macro. Define as weak
22230 alias if [USE_WIDE_CHAR].
22231 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22232 (strtof32x_l): Define and later undefine as macro. Define as weak
22233 alias if [!USE_WIDE_CHAR].
22234 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22235 (wcstof32x_l): Define and later undefine as macro. Define as weak
22236 alias if [USE_WIDE_CHAR].
22237
94d80dfc
AZ
222382017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22239
22240 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22241 (reduced): Use ones as double instead of integer.
22242
00d54af7
SN
222432017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22244
22245 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22246
f2d64d62
JM
222472017-12-05 Joseph Myers <joseph@codesourcery.com>
22248
1f70eae4
JM
22249 * stdlib/strfromd.c: Include <bits/floatn.h>.
22250 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22251 and later undefine as macro and define as weak alias.
22252 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22253 Likewise.
22254
e2c4dce5
JM
22255 * math/test-float32x.h: New file.
22256 * math/test-float64.h: Likewise.
22257
f2d64d62
JM
22258 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22259 (libm_alias_double_other_r_f64): New macro.
22260 (libm_alias_double_other_r_f32x): Likewise.
22261 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22262 libm_alias_double_other_r_f32x.
22263 (libm_alias_double_r): Use semicolon before call to
22264 libm_alias_double_other_r.
22265 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22266 <bits/floatn.h>.
22267 (libm_alias_double_other_r_f64): New macro.
22268 (libm_alias_double_other_r_f32x): Likewise.
22269 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22270 libm_alias_double_other_r_f32x.
22271
91c318e7
L
222722017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22273
22274 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22275 int.
22276 (SINF_FUNC): Likewise. Replace floor with simple casts.
22277
de9661d6
MF
222782017-12-05 Mike FABIAN <mfabian@redhat.com>
22279
22280 [BZ #22517]
22281 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22282 and to the list of locales to be built for testing.
22283 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22284 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22285 and build the collation rules upon that.
22286
f18b8dc7
CM
222872017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22288
22289 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22290 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22291 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22292 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22293 instead of __insn__xxx.
22294 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22295 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22296 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22297 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22298 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22299 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22300
446d22e9
FW
223012017-12-05 Florian Weimer <fweimer@redhat.com>
22302
22303 Linux: Implement interfaces for memory protection keys
22304 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22305 xsignal, xsysconf.
22306 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22307 * support/xunistd.h (xsysconf): Declare.
22308 * support/xraise.c: New file.
22309 * support/xsigaction.c: Likewise.
22310 * support/xsignal.c: Likewise.
22311 * support/xsysconf.c: Likewise.
22312 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22313 pkey_set, pkey_get, pkey_mprotect.
22314 [misc] (tests): Add tst-pkey.
22315 (tst-pkey): Link with -lpthread.
22316 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22317 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22318 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22319 (PKEY_DISABLE_WRITE): Define.
22320 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22321 Declare.
22322 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22323 (SEGV_PKUERR): Add.
22324 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22325 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22326 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22327 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22328 Add.
22329 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22330 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22331 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22332 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22333 * sysdeps/unix/sysv/linux/**.abilist: Update.
22334
da616c14
FW
223352017-12-05 Florian Weimer <fweimer@redhat.com>
22336
22337 * support/tst-test_compare.c (subprocess): Use long long instead
22338 of long argument for consistent type width across 32-bit and
22339 64-bit architectures.
22340 (do_test): Adjust expected output.
22341
216933b2
JM
223422017-12-05 Joseph Myers <joseph@codesourcery.com>
22343
22344 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22345 (cosf): Define using libm_alias_float.
22346 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22347 (fabsf): Define using libm_alias_float.
22348 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22349 (fmaf): Define using libm_alias_float.
22350 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22351 (rintf): Define using libm_alias_float.
22352 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22353 (sinf): Define using libm_alias_float.
22354 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22355 <libm-alias-float.h>.
22356 (modff): Define using libm_alias_float.
22357 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22358 <libm-alias-float.h>.
22359 (logbf): Define using libm_alias_float.
22360 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22361 <libm-alias-float.h>.
22362 (ceilf): Define using libm_alias_float.
22363 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22364 <libm-alias-float.h>.
22365 (copysignf): Define using libm_alias_float.
22366 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22367 <libm-alias-float.h>.
22368 (floorf): Define using libm_alias_float.
22369 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22370 <libm-alias-float.h>.
22371 (llrintf): Define using libm_alias_float.
22372 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22373 <libm-alias-float.h>.
22374 (llroundf): Define using libm_alias_float.
22375 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22376 <libm-alias-float.h>.
22377 (lrintf): Define using libm_alias_float.
22378 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22379 <libm-alias-float.h>.
22380 (lroundf): Define using libm_alias_float.
22381 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22382 <libm-alias-float.h>.
22383 (nearbyintf): Define using libm_alias_float.
22384 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22385 <libm-alias-float.h>.
22386 (rintf): Define using libm_alias_float.
22387 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22388 <libm-alias-float.h>.
22389 (roundf): Define using libm_alias_float.
22390 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22391 <libm-alias-float.h>.
22392 (truncf): Define using libm_alias_float.
22393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22394 Include <libm-alias-float.h>.
22395 (ceilf): Define using libm_alias_float.
22396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22397 Include <libm-alias-float.h>.
22398 (copysignf): Define using libm_alias_float.
22399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22400 Include <libm-alias-float.h>.
22401 (floorf): Define using libm_alias_float.
22402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22403 Include <libm-alias-float.h>.
22404 (llrintf): Define using libm_alias_float.
22405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22406 Include <libm-alias-float.h>.
22407 (llroundf): Define using libm_alias_float.
22408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22409 Include <libm-alias-float.h>.
22410 (logbf): Define using libm_alias_float.
22411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22412 Include <libm-alias-float.h>.
22413 (lrintf): Define using libm_alias_float.
22414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22415 Include <libm-alias-float.h>.
22416 (lroundf): Define using libm_alias_float.
22417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22418 Include <libm-alias-float.h>.
22419 (modff): Define using libm_alias_float.
22420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22421 Include <libm-alias-float.h>.
22422 (roundf): Define using libm_alias_float.
22423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22424 Include <libm-alias-float.h>.
22425 (truncf): Define using libm_alias_float.
22426 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22427 <libm-alias-float.h>.
22428 (llrintf): Define using libm_alias_float.
22429 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22430 <libm-alias-float.h>.
22431 (llroundf): Define using libm_alias_float.
22432 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22433 <libm-alias-float.h>.
22434 (ceilf): Define using libm_alias_float.
22435 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22436 <libm-alias-float.h>.
22437 (floorf): Define using libm_alias_float.
22438 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22439 <libm-alias-float.h>.
22440 (llroundf): Define using libm_alias_float.
22441 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22442 <libm-alias-float.h>.
22443 (lroundf): Define using libm_alias_float.
22444 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22445 <libm-alias-float.h>.
22446 (roundf): Define using libm_alias_float.
22447 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22448 <libm-alias-float.h>.
22449 (truncf): Define using libm_alias_float.
22450 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22451 <libm-alias-float.h>.
22452 (copysignf): Define using libm_alias_float.
22453 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22454 <libm-alias-float.h>.
22455 (llrintf): Define using libm_alias_float.
22456 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22457 <libm-alias-float.h>.
22458 (llroundf): Define using libm_alias_float.
22459 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22460 <libm-alias-float.h>.
22461 (lrintf): Define using libm_alias_float.
22462 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22463 <libm-alias-float.h>.
22464 (lroundf): Define using libm_alias_float.
22465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22466 <libm-alias-float.h>.
22467 (ceilf): Define using libm_alias_float.
22468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22469 <libm-alias-float.h>.
22470 (copysignf): Define using libm_alias_float.
22471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22472 <libm-alias-float.h>.
22473 (cosf): Define using libm_alias_float.
22474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22475 <libm-alias-float.h>.
22476 (floorf): Define using libm_alias_float.
22477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22478 <libm-alias-float.h>.
22479 (llrintf): Define using libm_alias_float.
22480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22481 <libm-alias-float.h>.
22482 (llroundf): Define using libm_alias_float.
22483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22484 <libm-alias-float.h>.
22485 (logbf): Define using libm_alias_float.
22486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22487 <libm-alias-float.h>.
22488 (modff): Define using libm_alias_float.
22489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22490 <libm-alias-float.h>.
22491 (roundf): Define using libm_alias_float.
22492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22493 <libm-alias-float.h>.
22494 (sinf): Define using libm_alias_float.
22495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22496 <libm-alias-float.h>.
22497 (truncf): Define using libm_alias_float.
22498 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22499 <libm-alias-float.h>.
22500 (ceilf): Define using libm_alias_float.
22501 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22502 <libm-alias-float.h>.
22503 (copysignf): Define using libm_alias_float.
22504 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22505 <libm-alias-float.h>.
22506 (floorf): Define using libm_alias_float.
22507 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22508 <libm-alias-float.h>.
22509 (llrintf): Define using libm_alias_float.
22510 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22511 <libm-alias-float.h>.
22512 (llroundf): Define using libm_alias_float.
22513 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22514 <libm-alias-float.h>.
22515 (nearbyintf): Define using libm_alias_float.
22516 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22517 <libm-alias-float.h>.
22518 (rintf): Define using libm_alias_float.
22519 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22520 <libm-alias-float.h>.
22521 (roundf): Define using libm_alias_float.
22522 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22523 <libm-alias-float.h>.
22524 (truncf): Define using libm_alias_float.
22525 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22526 <libm-alias-float.h>.
22527 (ceilf): Define using libm_alias_float.
22528 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22529 <libm-alias-float.h>.
22530 (floorf): Define using libm_alias_float.
22531 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22532 <libm-alias-float.h>.
22533 (llroundf): Define using libm_alias_float.
22534 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22535 <libm-alias-float.h>.
22536 (roundf): Define using libm_alias_float.
22537 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22538 <libm-alias-float.h>.
22539 (truncf): Define using libm_alias_float.
22540 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22541 <libm-alias-float.h>.
22542 (copysignf): Define using libm_alias_float.
22543 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22544 <libm-alias-float.h>.
22545 (llrintf): Define using libm_alias_float.
22546 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22547 <libm-alias-float.h>.
22548 (llroundf): Define using libm_alias_float.
22549 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22550 <libm-alias-float.h>.
22551 (cosf): Define using libm_alias_float.
22552 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22553 <libm-alias-float.h>.
22554 (llrintf): Define using libm_alias_float.
22555 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22556 <libm-alias-float.h>.
22557 (llroundf): Define using libm_alias_float.
22558 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22559 <libm-alias-float.h>.
22560 (sinf): Define using libm_alias_float.
22561
93485524
FW
225622017-12-04 Florian Weimer <fweimer@redhat.com>
22563
22564 * support/check.h (TEST_COMPARE): Define.
22565 (support_test_compare_failure): Declare.
22566 * support/Makefile (libsupport-routines): Add
22567 support_test_compare_failure.
22568 (tests): Add tst-test_compare.
22569 * support /support_test_compare_failure.c: New file.
22570 * support/tst-test_compare.c: Likewise.
22571
96b06a19
MF
225722017-12-04 Mike FABIAN <mfabian@redhat.com>
22573
22574 [BZ #22527]
22575 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22576 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22577 available, this rewrite of the collation rules does reproduce
22578 the test file in the same order.
22579
1f6d91f3
MF
225802017-12-04 Mike FABIAN <mfabian@redhat.com>
22581
22582 [BZ #10580]
22583 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22584 digraphs in the month and day names. Using single code points for
22585 digraphs is deprecated. While there are dedicated Unicode
22586 codepoints, for the digraphs, these are included for backwards
22587 compatibility and modern texts use a sequence of Basic Latin
22588 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22589 This makes the month and day names agree exactly with CLDR now,
22590 CLDR does not use the single code points for the digraphs either.
22591
2e49fed8
CM
225922017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22593
22594 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22595
73895b49
JM
225962017-12-04 Joseph Myers <joseph@codesourcery.com>
22597
22598 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22599 of floor.
22600
4c1d801a
SP
226012017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22602
22603 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22604 Define only for libc.so.
22605
478593e6
SL
226062017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22607
22608 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22609 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 22610 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
22611 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22612 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22613
7863a711
RS
226142017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22615
22616 [BZ #5997]
22617 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22618
800a496a
JDA
226192017-12-02 John David Anglin <danglin@gcc.gnu.org>
22620
b3f7fb12
JDA
22621 [BZ libc/19170]
22622 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22623 PREINIT_FUNCTION_WEAK is nonzero.
22624 (gmon_initializer): New function. Put procedure label for it in
22625 .init_array section.
22626 (_init): Don't call PREINIT_FUNCTION.
22627 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22628 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22629 value when map argument is null.
22630
800a496a
JDA
22631 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22632 depi instruction from PIC pc-relative sequence.
22633 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22634 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22635 (elf_machine_load_address): Likewise.
22636 (elf_machine_runtime_setup): Likewise.
22637
d17542d2
JM
226382017-12-02 Joseph Myers <joseph@codesourcery.com>
22639
22640 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22641 <libm-alias-double.h>.
22642 (logb): Define using libm_alias_double.
22643 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22644 <libm-alias-double.h>.
22645 (copysign): Define using libm_alias_double.
22646 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22647 <libm-alias-double.h>.
22648 (llrint): Define using libm_alias_double.
22649 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22650 <libm-alias-double.h>.
22651 (llround): Define using libm_alias_double.
22652 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22653 <libm-alias-double.h>.
22654 (lrint): Define using libm_alias_double.
22655 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22656 <libm-alias-double.h>.
22657 (lround): Define using libm_alias_double.
22658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22659 Include <libm-alias-double.h>.
22660 (copysign): Define using libm_alias_double.
22661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22662 Include <libm-alias-double.h>.
22663 (llrint): Define using libm_alias_double.
22664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22665 Include <libm-alias-double.h>.
22666 (llround): Define using libm_alias_double.
22667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22668 <libm-alias-double.h>.
22669 (logb): Define using libm_alias_double.
22670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22671 Include <libm-alias-double.h>.
22672 (lrint): Define using libm_alias_double.
22673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22674 Include <libm-alias-double.h>.
22675 (lround): Define using libm_alias_double.
22676 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22677 <libm-alias-double.h>.
22678 (llrint): Define using libm_alias_double.
22679 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22680 <libm-alias-double.h>.
22681 (llround): Define using libm_alias_double.
22682 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22683 <libm-alias-double.h>.
22684 (llround): Define using libm_alias_double.
22685 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22686 <libm-alias-double.h>.
22687 (lround): Define using libm_alias_double.
22688 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22689 <libm-alias-double.h>.
22690 (copysign): Define using libm_alias_double.
22691 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22692 <libm-alias-double.h>.
22693 (llrint): Define using libm_alias_double.
22694 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22695 <libm-alias-double.h>.
22696 (llround): Define using libm_alias_double.
22697 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22698 <libm-alias-double.h>.
22699 (lrint): Define using libm_alias_double.
22700 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22701 <libm-alias-double.h>.
22702 (lround): Define using libm_alias_double.
22703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22704 <libm-alias-double.h>.
22705 (copysign): Define using libm_alias_double.
22706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22707 <libm-alias-double.h>.
22708 (llrint): Define using libm_alias_double.
22709 (lrint): Likewise.
22710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22711 <libm-alias-double.h>.
22712 (llround): Define using libm_alias_double.
22713 (lround): Likewise.
22714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22715 <libm-alias-double.h>.
22716 (logb): Define using libm_alias_double.
22717 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22718 <libm-alias-double.h>.
22719 (copysign): Define using libm_alias_double.
22720 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22721 <libm-alias-double.h>.
22722 (llrint): Define using libm_alias_double.
22723 (lrint): Likewise.
22724 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22725 <libm-alias-double.h>.
22726 (llround): Define using libm_alias_double.
22727 (lround): Likewise.
22728 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22729 <libm-alias-double.h>.
22730 (llround): Define using libm_alias_double.
22731 (lround): Likewise.
22732 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22733 <libm-alias-double.h>.
22734 (copysign): Define using libm_alias_double.
22735 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22736 <libm-alias-double.h>.
22737 (llrint): Define using libm_alias_double.
22738 (lrint): Likewise.
22739 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22740 <libm-alias-double.h>.
22741 (llround): Define using libm_alias_double.
22742 (lround): Likewise.
22743 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22744 <libm-alias-double.h>.
22745 (llrint): Define using libm_alias_double.
22746 (lrint): Likewise.
22747 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22748 <libm-alias-double.h>.
22749 (llround): Define using libm_alias_double.
22750 (lround): Likewise.
22751
ec2cf3f4
JM
227522017-12-01 Joseph Myers <joseph@codesourcery.com>
22753
0ddde474
JM
22754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22755 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22756 compat symbol based on llround.
22757
0d5ba561
JM
22758 * sysdeps/powerpc/power7/fpu/s_logb.c
22759 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22760 symbol based on __logb, not on logb.
22761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22762 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22764 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22765
51ea3b20
JM
22766 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22767 (rint): Define using libm_alias_double.
22768 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22769 <libm-alias-double.h>.
22770 (modf): Define using libm_alias_double.
22771 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22772 <libm-alias-double.h>.
22773 (ceil): Define using libm_alias_double.
22774 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22775 <libm-alias-double.h>.
22776 (floor): Define using libm_alias_double.
22777 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22778 <libm-alias-double.h>.
22779 (nearbyint): Define using libm_alias_double.
22780 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22781 <libm-alias-double.h>.
22782 (rint): Define using libm_alias_double.
22783 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22784 <libm-alias-double.h>.
22785 (round): Define using libm_alias_double.
22786 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22787 <libm-alias-double.h>.
22788 (trunc): Define using libm_alias_double.
22789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22790 <libm-alias-double.h>.
22791 (ceil): Define using libm_alias_double.
22792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22793 Include <libm-alias-double.h>.
22794 (floor): Define using libm_alias_double.
22795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22796 <libm-alias-double.h>.
22797 (modf): Define using libm_alias_double.
22798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22799 Include <libm-alias-double.h>.
22800 (round): Define using libm_alias_double.
22801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22802 Include <libm-alias-double.h>.
22803 (trunc): Define using libm_alias_double.
22804 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22805 <libm-alias-double.h>.
22806 (ceil): Define using libm_alias_double.
22807 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22808 <libm-alias-double.h>.
22809 (floor): Define using libm_alias_double.
22810 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22811 <libm-alias-double.h>.
22812 (round): Define using libm_alias_double.
22813 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22814 <libm-alias-double.h>.
22815 (trunc): Define using libm_alias_double.
22816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22817 <libm-alias-double.h>.
22818 (ceil): Define using libm_alias_double.
22819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22820 <libm-alias-double.h>.
22821 (floor): Define using libm_alias_double.
22822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22823 <libm-alias-double.h>.
22824 (modf): Define using libm_alias_double.
22825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22826 <libm-alias-double.h>.
22827 (round): Define using libm_alias_double.
22828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22829 <libm-alias-double.h>.
22830 (trunc): Define using libm_alias_double.
22831 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22832 <libm-alias-double.h>.
22833 (ceil): Define using libm_alias_double.
22834 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22835 <libm-alias-double.h>.
22836 (floor): Define using libm_alias_double.
22837 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22838 <libm-alias-double.h>.
22839 (nearbyint): Define using libm_alias_double.
22840 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22841 <libm-alias-double.h>.
22842 (rint): Define using libm_alias_double.
22843 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22844 <libm-alias-double.h>.
22845 (round): Define using libm_alias_double.
22846 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22847 <libm-alias-double.h>.
22848 (trunc): Define using libm_alias_double.
22849 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22850 <libm-alias-double.h>.
22851 (ceil): Define using libm_alias_double.
22852 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22853 <libm-alias-double.h>.
22854 (floor): Define using libm_alias_double.
22855 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22856 <libm-alias-double.h>.
22857 (round): Define using libm_alias_double.
22858 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22859 <libm-alias-double.h>.
22860 (trunc): Define using libm_alias_double.
22861
ec2cf3f4
JM
22862 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22863 (fabs): Define using libm_alias_double.
22864 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22865 (fma): Define using libm_alias_double.
22866 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22867 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22868 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22869 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22870
5b7bd975
AZ
228712017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22872
0594b13f
AZ
22873 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22874
dbdfcf3b
AZ
22875 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22876 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22877 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22878
5b7bd975
AZ
22879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22880 due redirect macro.
22881
ef9ecfa6
AS
228822017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22883
22884 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22885
5b4e5e78
AZ
228862017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22887
2a14526b
AZ
22888 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22889 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22890 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22891 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22892
dbeb74ef 22893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
22894 (libm-sysdep_routines): Add s_nearbyintf-generic and
22895 s_nearbyint-generic.
22896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22897 New file.
22898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22900 Likewise.
22901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22902 Likewise.
22903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22904 file.
22905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22906 Likewise.
22907
22908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
22909 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22911 file.
22912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22914 Likewise.
22915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22918
fa7ded96
AZ
22919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22920 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22922 file.
22923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22925 Likewise.
22926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22929
e240cf0e
AZ
22930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22931 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22933 file.
22934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22936 Likewise.
22937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22940
5b4e5e78
AZ
22941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22942 (sysdep_calls): New rule.
22943 (sysdep_routines): Use sysdep_calls as base.
22944 (libm-sysdep_routines): Add generic rule for symbols shared with
22945 libc. Add s_copysign-generic and s_copysign-generic objects.
22946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22947 New file.
22948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22950 Likewise.
22951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22954
d985adae
MF
229552017-12-01 Mike FABIAN <mfabian@redhat.com>
22956
22957 [BZ #22519]
22958 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22959 the list of locales to be built for testing.
22960 * localedata/is_IS.UTF-8.in: New file.
22961 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22962 on iso14651_t1.
22963
ff84a0e0
JM
229642017-12-01 Joseph Myers <joseph@codesourcery.com>
22965
22966 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22967 <libm-alias-float.h>.
22968 (fabsf): Define using libm_alias_float.
22969
ef5d8b43
L
229702017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22971
22972 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22973
c0535adf
JM
229742017-11-30 Joseph Myers <joseph@codesourcery.com>
22975
f938b397
JM
22976 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22977 <libm-alias-float.h>.
22978 (fabsf): Define using libm_alias_float.
22979 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22980 <libm-alias-float.h>.
22981 (lrintf): Define using libm_alias_float.
22982 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22983 <libm-alias-float.h>.
22984 (rintf): Define using libm_alias_float.
22985
2251fad0
JM
22986 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22987 <libm-alias-double.h>.
22988 (fabs): Define using libm_alias_double.
22989 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22990 <libm-alias-double.h>.
22991 (lrint): Define using libm_alias_double.
22992 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22993 <libm-alias-double.h>.
22994 (rint): Define using libm_alias_double.
22995
e53df1de
JM
22996 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22997 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22998 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22999 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23000 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23001 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23002 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23003 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23004 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23005 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23006 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23007 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23008 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23009 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23010 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23011 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23012 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23013 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23014 s_atan_template.c.
23015 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23016 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23017 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23018 s_ceil_template.c.
23019 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23020 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23021 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23022 s_cos_template.c.
23023 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23024 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23025 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23026 s_expm1_template.c.
23027 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23028 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23029 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23030 s_fabs_template.c.
23031 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23032 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23033 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23034 s_floor_template.c.
23035 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23036 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23037 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23038 s_frexp_template.c.
23039 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23040 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23041 s_lrint_template.c.
23042 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23043 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23044 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23045 s_modf_template.c.
23046 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23047 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23048 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23049 s_nearbyint_template.c.
23050 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23051 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23052 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23053 s_remquo_template.c.
23054 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23055 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23056 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23057 s_rint_template.c.
23058 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23059 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23060 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23061 s_sin_template.c.
23062 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23063 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23064 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23065 s_sincos_template.c.
23066 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23067 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23068 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23069 s_tan_template.c.
23070 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23071 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23072 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23073 s_tanh_template.c.
23074 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23075 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23076 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23077 s_trunc_template.c.
23078 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23079 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23080 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23081 s_atan.c instead of including s_atan.c.
23082 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23083 s_atanf.c instead of including s_atanf.c.
23084 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23085 s_atanl.c instead of including s_atanl.c.
23086 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23087 instead of s_atan.c.
23088 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23089 instead of s_atanf.c.
23090 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23091 instead of s_atanl.c.
23092
c0535adf
JM
23093 * scripts/update-copyrights: Do not handle intl/plural.c
23094 specially.
23095
1faaf703
JB
230962017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23097
23098 [BZ #22432]
23099 * configure.ac (BISON): Require to be present.
23100 * configure: Regenerated.
23101 * intl/Makefile (generated): Add plural.c.
23102 [$(BISON) != no]: Make code unconditional.
23103 (plural.c): Change rule to $(objpfx)plural.c.
23104 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23105 * intl/plural.c: Remove.
23106 * manual/install.texi (Tools for Compilation): Document bison as
23107 required.
23108 * INSTALL: Regenerated.
23109
faec6323
JM
231102017-11-30 Joseph Myers <joseph@codesourcery.com>
23111
bd6ea9ed
JM
23112 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23113 <libm-alias-double.h>.
23114 (llrint): Define using libm_alias_double.
23115 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23116 <libm-alias-float.h>.
23117 (llrintf): Define using libm_alias_float.
23118 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23119 <libm-alias-ldouble.h>.
23120 (llrintl): Define using libm_alias_ldouble.
23121
faec6323
JM
23122 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23123 declare_mgen_alias instead of weak_alias.
23124 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23125 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23126 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23127
023cade3
AZ
231282017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23129
9e2279a0
AZ
23130 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23131 Add add_n-generic.
23132 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23133 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23134 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23135
75f37c71
AZ
23136 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23137 Add submul_1-generic.
23138 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23139 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23140 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23141
b70cbbfc 23142 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
23143 Add addmul_1-generic.
23144 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23145 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23146 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23147
23148 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
23149 Add sub_n-generic.
23150 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23151 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23152 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23153
023cade3
AZ
23154 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23155 Add mul_1-generic.
23156 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23157 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23158 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23159
fbb5fd03
MF
231602017-11-30 Mike FABIAN <mfabian@redhat.com>
23161
23162 According to CLDR, collation rules for Serbian and Bosnian
23163 should be the same as for Croatian.
23164
23165 [BZ #22534]
23166 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23167 and to the list of locales to be built for testing.
23168 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23169 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23170 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23171 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23172
5e56e937
MF
231732017-11-30 Mike FABIAN <mfabian@redhat.com>
23174
23175 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23176 to make test case pass.
23177 * localedata/hr_HR.UTF-8.in: Add more test strings.
23178
cf4341ca
MF
231792017-11-30 Mike FABIAN <mfabian@redhat.com>
23180
23181 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23182
363e4519 231832017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
23184
23185 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23186 the list of locales to built for testing.
23187 * localedata/hr_HR.UTF-8.in: New file.
23188
363e4519 231892017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
23190
23191 [BZ #10580]
23192 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23193 iso14651_t1.
23194 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23195 CLDR (except use ligatures for the digraphs, CLDR does not use
23196 the ligatures), add first_workday, some fixes in the date and time
23197 formats.
23198 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23199 for Đ and đ.
23200 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23201 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23202 Add int_p_cs_precedes and int_n_cs_precedes.
23203 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23204 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23205 LC_MONETARY now).
23206 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23207 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23208 name_miss.
23209 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23210 and lang_lib. Change postal_fmt.
23211
f33632cc
L
232122017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23213
23214 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23215 <setjmp.h>.
23216 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23217 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23218 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23219 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23220 * sysdeps/generic/setjmpP.h: New file.
23221 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23222 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23223 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23224 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23225 Add jmp_buf-ssp.sym.
23226 (tests): Add tst-saved_mask-1.
23227
34697694
AS
232282017-11-30 Arjun Shankar <arjun@redhat.com>
23229
23230 [BZ #22375]
37ac8e63 23231 CVE-2017-17426
34697694
AS
23232 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23233 instead of request2size.
23234
3e5efdbd
JM
232352017-11-30 Joseph Myers <joseph@codesourcery.com>
23236
18305fba
JM
23237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23238 (__lllrint): Remove alias.
23239 (lllrint): Likewise.
23240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23241 (__lllrintf): Likewise.
23242 (lllrintf): Likewise.
23243
3e5efdbd
JM
23244 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23245 <libm-alias-float.h>.
23246 (copysignf): Define using libm_alias_float.
23247 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23248 <libm-alias-float.h>.
23249 (fabsf): Define using libm_alias_float.
23250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23251 Include <libm-alias-float.h>.
23252 (copysignf): Define using libm_alias_float.
23253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23254 <libm-alias-float.h>.
23255 (fabsf): Define using libm_alias_float.
23256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23257 <libm-alias-float.h>.
23258 (fdimf): Define using libm_alias_float.
23259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23260 <libm-alias-float.h>.
23261 (fmaf): Define using libm_alias_float.
23262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23263 <libm-alias-float.h>.
23264 (llrintf): Define using libm_alias_float.
23265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23266 Include <libm-alias-float.h>.
23267 (nearbyintf): Define using libm_alias_float.
23268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23269 <libm-alias-float.h>.
23270 (rintf): Define using libm_alias_float.
23271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23272 <libm-alias-float.h>.
23273 (llrintf): Define using libm_alias_float.
23274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23275 <libm-alias-float.h>.
23276 (lrintf): Define using libm_alias_float.
23277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23278 <libm-alias-float.h>.
23279 (nearbyintf): Define using libm_alias_float.
23280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23281 <libm-alias-float.h>.
23282 (rintf): Define using libm_alias_float.
23283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23284 <libm-alias-float.h>.
23285 (ceilf): Define using libm_alias_float.
23286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23287 <libm-alias-float.h>.
23288 (floorf): Define using libm_alias_float.
23289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23290 <libm-alias-float.h>.
23291 (fmaf): Define using libm_alias_float.
23292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23293 <libm-alias-float.h>.
23294 (lrintf): Define using libm_alias_float.
23295 (llrintf): Likewise.
23296 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23297 <libm-alias-float.h>.
23298 (nearbyintf): Define using libm_alias_float.
23299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23300 <libm-alias-float.h>.
23301 (rintf): Define using libm_alias_float.
23302 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23303 <libm-alias-float.h>.
23304 (truncf): Define using libm_alias_float.
23305 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23306 <libm-alias-float.h>.
23307 (copysignf): Define using libm_alias_float.
23308 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23309 <libm-alias-float.h>.
23310 (fabsf): Define using libm_alias_float.
23311 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23312 <libm-alias-float.h>.
23313 (lrintf): Define using libm_alias_float.
23314 (llrintf): Likewise.
23315 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23316 <libm-alias-float.h>.
23317 (nearbyintf): Define using libm_alias_float.
23318 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23319 <libm-alias-float.h>.
23320 (rintf): Define using libm_alias_float.
23321
011fba7e
JM
233222017-11-29 Joseph Myers <joseph@codesourcery.com>
23323
875cd548
JM
23324 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23325 <libm-alias-double.h>.
23326 (copysign): Define using libm_alias_double.
23327 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23328 <libm-alias-double.h>.
23329 (fabs): Define using libm_alias_double.
23330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23331 Include <libm-alias-double.h>.
23332 (copysign): Define using libm_alias_double.
23333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23334 <libm-alias-double.h>.
23335 (fabs): Define using libm_alias_double.
23336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23337 <libm-alias-double.h>.
23338 (fdim): Define using libm_alias_double.
23339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23340 <libm-alias-double.h>.
23341 (fma): Define using libm_alias_double.
23342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23343 <libm-alias-double.h>.
23344 (llrint): Define using libm_alias_double.
23345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23346 Include <libm-alias-double.h>.
23347 (nearbyint): Define using libm_alias_double.
23348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23349 <libm-alias-double.h>.
23350 (rint): Define using libm_alias_double.
23351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23352 <libm-alias-double.h>.
23353 (fabs): Define using libm_alias_double.
23354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23355 <libm-alias-double.h>.
23356 (llrint): Define using libm_alias_double.
23357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23358 <libm-alias-double.h>.
23359 (nearbyint): Define using libm_alias_double.
23360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23361 <libm-alias-double.h>.
23362 (rint): Define using libm_alias_double.
23363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23364 <libm-alias-double.h>.
23365 (ceil): Define using libm_alias_double.
23366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23367 <libm-alias-double.h>.
23368 (floor): Define using libm_alias_double.
23369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23370 <libm-alias-double.h>.
23371 (fma): Define using libm_alias_double.
23372 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23373 <libm-alias-double.h>.
23374 (lrint): Define using libm_alias_double.
23375 (llrint): Likewise.
23376 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23377 <libm-alias-double.h>.
23378 (nearbyint): Define using libm_alias_double.
23379 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23380 <libm-alias-double.h>.
23381 (rint): Define using libm_alias_double.
23382 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23383 <libm-alias-double.h>.
23384 (trunc): Define using libm_alias_double.
23385 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23386 <libm-alias-double.h>.
23387 (copysign): Define using libm_alias_double.
23388 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23389 <libm-alias-double.h>.
23390 (fabs): Define using libm_alias_double.
23391 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23392 <libm-alias-double.h>.
23393 (lrint): Define using libm_alias_double.
23394 (llrint): Likewise.
23395 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23396 <libm-alias-double.h>.
23397 (nearbyint): Define using libm_alias_double.
23398 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23399 <libm-alias-double.h>.
23400 (rint): Define using libm_alias_double.
23401
cf4ebc27
JM
23402 [BZ #22229]
23403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23404 <math_ldbl_opt.h>.
23405 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23406
0c097378
JM
23407 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23408 SPARC --disable-multi-arch glibc variants.
23409
34bb10aa
JM
23410 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23411 <libm-alias-float.h>.
23412 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23413 if [SHARED].
23414 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23415 <libm-alias-float.h>.
23416 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23417 if [SHARED].
23418 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23419 <libm-alias-float.h>.
23420 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23421 if [SHARED].
23422 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23423 <libm-alias-float.h>.
23424 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23425 if [SHARED].
23426 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23427 <libm-alias-float.h>.
23428 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23429 if [SHARED].
23430 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23431 <libm-alias-float.h>.
23432 (ceilf): Define using libm_alias_float.
23433 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23434 <libm-alias-float.h>.
23435 (floorf): Define using libm_alias_float.
23436 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23437 <libm-alias-float.h>.
23438 (fmaf): Define using libm_alias_float.
23439 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23440 <libm-alias-float.h>.
23441 (nearbyintf): Define using libm_alias_float.
23442 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23443 <libm-alias-float.h>.
23444 (rintf): Define using libm_alias_float.
23445 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23446 <libm-alias-float.h>.
23447 (truncf): Define using libm_alias_float.
23448 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23449 (copysignf): Define using libm_alias_float.
23450 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23451 (cosf): Define using libm_alias_float.
23452 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23453 (fabsf): Define using libm_alias_float.
23454 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23455 (fmaxf): Define using libm_alias_float.
23456 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23457 (fminf): Define using libm_alias_float.
23458 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23459 (llrintf): Define using libm_alias_float.
23460 [!__ILP32__] (lrintf): Likewise.
23461 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23462 (sincosf): Define using libm_alias_float.
23463 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23464 (sinf): Define using libm_alias_float.
23465 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23466 (lrintf): Define using libm_alias_float.
23467
011fba7e
JM
23468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23469 <libm-alias-double.h>.
23470 (atan): Define using libm_alias_double.
23471 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23472 <libm-alias-double.h>.
23473 (ceil): Define using libm_alias_double.
23474 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23475 <libm-alias-double.h>.
23476 (floor): Define using libm_alias_double.
23477 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23478 <libm-alias-double.h>.
23479 (fma): Define using libm_alias_double.
23480 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23481 <libm-alias-double.h>.
23482 (nearbyint): Define using libm_alias_double.
23483 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23484 <libm-alias-double.h>.
23485 (rint): Define using libm_alias_double.
23486 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23487 <libm-alias-double.h>.
23488 (sin): Define using libm_alias_double.
23489 (cos): Likewise.
23490 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23491 <libm-alias-double.h>.
23492 (tan): Define using libm_alias_double.
23493 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23494 <libm-alias-double.h>.
23495 (trunc): Define using libm_alias_double.
23496 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23497 (copysign): Define using libm_alias_double.
23498 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23499 (fabs): Define using libm_alias_double.
23500 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23501 (fmax): Define using libm_alias_double.
23502 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23503 (fmin): Define using libm_alias_double.
23504 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23505 (llrint): Define using libm_alias_double.
23506 [!__ILP32__] (lrint): Likewise.
23507 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23508 (lrint): Define using libm_alias_double.
23509
1cbd7bfe
AZ
235102017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23511
21bfcc3d
AZ
23512 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23513 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23514 objects.
23515 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23516 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23517 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23518 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23519 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23520 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23521
522228dd
AZ
23522 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23523 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23524 objects.
23525 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23526 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23527 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23528 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23529 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23530 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23531
2a6f4fab
AZ
23532 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23533 (libm-sysdep_routines): Add s_nearbyint-generic and
23534 s_nearbyintf-generic objects.
23535 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23536 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23537 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23538 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23539 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23540 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23541
712b5b83
AZ
23542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23543 Add s_finitef-generic and s_finite-generic objects.
23544 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23545 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23546 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23547 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23548 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23549 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23550
c96d3335
AZ
23551 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23552 Add s_isinff-generic and s_isinf-generic objects.
23553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23559
c6862a23
AZ
23560 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23561 Add s_isnanf-generic and s_isnan-generic objects.
23562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23568
1cbd7bfe
AZ
23569 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23570 macro.
23571 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23572 rule.
23573 (sysdep_routines): Use sysdep_calls as base.
23574 (libm-sysdep_routines): Add generic rule for symbols shared with
23575 libc. Add s_signbit-generic and s_signbitf-generic objects.
23576 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23577 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23578 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23579 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23580 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23581 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23582
aa1142c5
JM
235832017-11-29 Joseph Myers <joseph@codesourcery.com>
23584
23585 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23586 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23587 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23588 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23589 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23590 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23591 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23592 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23593 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23594 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23595 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23596 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23597 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23598 libm_alias_float_r.
23599 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23600 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23601 (logf): Likewise.
23602 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23603 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23604 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23605 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23606 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23607 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23608 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23609 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23610 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23611 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23612 libm_alias_float.
23613 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23614 (cosf): Likewise.
23615 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23616 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23617 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23618 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23619 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23620 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23621 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23622 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23623 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23624 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23625 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23626 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23627 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23628 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23629 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23630 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23631 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23632 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23633 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23634 libm_alias_float.
23635 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23636 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23637 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23638 * sysdeps/ia64/fpu/w_lgammaf_main.c
23639 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23640 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23641
363e4519
DL
236422017-11-28 Mike FABIAN <mfabian@redhat.com>
23643 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
23644
23645 [BZ #17750]
23646 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23647 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23648 accents sorting.
23649 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23650 sorting.
23651 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23652 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23653 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23654 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23655 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23656 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23657 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23658 instead of “ifdef DIACRIT_BACKWARD”.
23659
a55430cb
AZ
236602017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23661
23662 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23663 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23664 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23665 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23666 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23667 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23668 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23674 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23675 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23676 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23677 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23678 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23679 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23681 ($(have-as-vis3) == yes): Remove conditional.
23682 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23683 Likewise.
23684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23685 file.
23686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23687 file.
23688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23689 file.
23690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23691 file.
23692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23698 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23699 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23700
0609ec0a
JM
237012017-11-29 Joseph Myers <joseph@codesourcery.com>
23702
23703 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23704 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23705 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23706 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23707 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23708 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23709 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23710 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23711 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23712 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23713 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23714 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23715 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23716 libm_alias_double_r.
23717 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23718 (log): Likewise.
23719 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23720 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23721 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23722 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23723 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23724 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23725 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23726 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23727 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23728 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23729 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23730 libm_alias_double.
23731 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23732 (cos): Likewise.
23733 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23734 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23735 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23736 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23737 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23738 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23739 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23740 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23741 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23742 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23743 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23744 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23745 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23746 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23747 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23748 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23749 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23750 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23751 libm_alias_double.
23752 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23753 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23754 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23755 * sysdeps/ia64/fpu/w_lgamma_main.c
23756 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23757 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23758
d5bfa34a
JDA
237592017-11-28 John David Anglin <danglin@gcc.gnu.org>
23760
23761 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23762 address of $global$ into %dp register earlier. Use pc-relative
23763 instruction sequence for PIC case.
23764
bc4e8f9b
JM
237652017-11-28 Joseph Myers <joseph@codesourcery.com>
23766
e4602cba
JM
23767 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23768 (asinhf): Define using libm_alias_float.
23769 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23770 (atanf): Define using libm_alias_float.
23771 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23772 (cbrtf): Define using libm_alias_float.
23773 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23774 (ceilf): Define using libm_alias_float.
23775 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23776 (copysignf): Define using libm_alias_float.
23777 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23778 (expm1f): Define using libm_alias_float.
23779 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23780 (fabsf): Define using libm_alias_float.
23781 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23782 (floorf): Define using libm_alias_float.
23783 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23784 (fmaxf): Define using libm_alias_float.
23785 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23786 (fminf): Define using libm_alias_float.
23787 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23788 (frexpf): Define using libm_alias_float.
23789 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23790 (llrintf): Define using libm_alias_float.
23791 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23792 (logbf): Define using libm_alias_float.
23793 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23794 (lrintf): Define using libm_alias_float.
23795 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23796 (nearbyintf): Define using libm_alias_float.
23797 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23798 (remquof): Define using libm_alias_float.
23799 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23800 (rintf): Define using libm_alias_float.
23801 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23802 (truncf): Define using libm_alias_float.
23803 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23804 <libm-alias-float.h>.
23805 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23806 if [SHARED].
23807 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23808 <libm-alias-float.h>.
23809 (expf): Define using libm_alias_float, or libm_alias_float_other
23810 if [SHARED].
23811 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23812 <libm-alias-float.h>.
23813 (log2f): Define using libm_alias_float, or libm_alias_float_other
23814 if [SHARED].
23815 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23816 <libm-alias-float.h>.
23817 (logf): Define using libm_alias_float, or libm_alias_float_other
23818 if [SHARED].
23819 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23820 <libm-alias-float.h>.
23821 (powf): Define using libm_alias_float, or libm_alias_float_other
23822 if [SHARED].
23823 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23824 <libm-alias-float.h>.
23825 (cosf): Define using libm_alias_float.
23826 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23827 <libm-alias-float.h>.
23828 (sincosf): Define using libm_alias_float.
23829 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23830 <libm-alias-float.h>.
23831 (sinf): Define using libm_alias_float.
23832 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23833 (fmaxf): Define using libm_alias_float.
23834 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23835 (fminf): Define using libm_alias_float.
23836 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23837 <libm-alias-float.h>.
23838 (fmaf): Define using libm_alias_float.
23839
bc4e8f9b
JM
23840 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23841 (asinh): Define using libm_alias_double.
23842 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23843 (atan): Define using libm_alias_double.
23844 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23845 (cbrt): Define using libm_alias_double.
23846 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23847 (ceil): Define using libm_alias_double.
23848 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23849 (copysign): Define using libm_alias_double.
23850 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23851 (expm1): Define using libm_alias_double.
23852 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23853 (fabs): Define using libm_alias_double.
23854 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23855 (fdim): Define using libm_alias_double.
23856 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23857 (floor): Define using libm_alias_double.
23858 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23859 (fmax): Define using libm_alias_double.
23860 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23861 (fmin): Define using libm_alias_double.
23862 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23863 (frexp): Define using libm_alias_double.
23864 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23865 (llrint): Define using libm_alias_double.
23866 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23867 (logb): Define using libm_alias_double.
23868 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23869 (lrint): Define using libm_alias_double.
23870 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23871 (nearbyint): Define using libm_alias_double.
23872 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23873 (remquo): Define using libm_alias_double.
23874 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23875 (rint): Define using libm_alias_double.
23876 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23877 (trunc): Define using libm_alias_double.
23878 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23879 (fmax): Define using libm_alias_double.
23880 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23881 (fmin): Define using libm_alias_double.
23882 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23883 (fma): Define using libm_alias_double.
23884
8d81ce0c
L
238852017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23886
23887 [BZ #22370]
23888 * elf/dl-hwcaps.c (ROUND): Removed.
23889 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23890 and ELF_NOTE_NEXT_OFFSET.
23891 * elf/dl-load.c (ROUND): Removed.
23892 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23893 * elf/readelflib.c (ROUND): Removed.
23894 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23895 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23896 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23897 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23898
6940bd96
JM
238992017-11-28 Joseph Myers <joseph@codesourcery.com>
23900
313ba463
JM
23901 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23902 [!__fmaf] (fmaf): Define using libm_alias_float.
23903
6940bd96
JM
23904 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23905 [!__fma] (fma): Define using libm_alias_double.
23906 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23907
22c69b6a
MF
239082017-11-28 Mike FABIAN <mfabian@redhat.com>
23909
23910 [BZ #22336]
23911 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23912 and implement the collation rules for cs from CLDR on top of that.
23913 * Makefile: Add cs_CZ.UTF-8 to test-input.
23914 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23915
8d7d3ba8
SP
239162017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23917
23918 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23919
0422ed1e
VR
239202017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23921 Icarus Sparry <icarus.w.sparry@intel.com>
23922
23923 * benchtests/Makefile:Add BENCHSET to allow subsets of
23924 benchmarks to be run.
23925 * benchtests/README: Add documentation for: Running subsets of
23926 benchmarks.
23927
0595e360
VR
239282017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23929
d5090db3
VR
23930 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23931 range of tests names.
23932
0595e360
VR
23933 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23934 result from property and remove "max", min" and "mean" from
23935 required properties based on benchtests/bench-skeleton.c.
23936
b4c645c2
FW
239372017-11-28 Florian Weimer <fweimer@redhat.com>
23938
23939 [BZ #20826]
23940 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23941 due to Internet requirement.
23942 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23943 tst-getaddrinfo5.
23944 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23945
88684de7
AZ
239462017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23947
69056564
AZ
23948 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23949 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23950 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23951 (sysdep_routines): Add memset-ultra1.
23952 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23953 file.
23954 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23955 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23956 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23957 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23958 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23959 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23960 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23961 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23962
88684de7
AZ
23963 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23964 file.
23965 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23966 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23967 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23968 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23969 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23970 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23971 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23972 macro.
23973 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23974 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23975 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23976 (sysdep_routines): Add memcpy-ultra1.
23977 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23978 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23979
d8124864
JM
239802017-11-28 Joseph Myers <joseph@codesourcery.com>
23981
f433d0b3
JM
23982 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23983 (cfloat_versions): Take function argument without trailing 'f'.
23984 Call libm_alias_float_other.
23985 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23986 * sysdeps/alpha/fpu/cargf.c: Likewise.
23987 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23988 * sysdeps/alpha/fpu/conjf.c: Likewise.
23989 * sysdeps/alpha/fpu/crealf.c: Likewise.
23990 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23991 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23992 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23993 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23994 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23995 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23996 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23997 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23998 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23999 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24000 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24001 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24002 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24003 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24004 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24005 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24006 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24007 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24008 (clog10f): Use libm_alias_float_other.
24009 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24010 (ceilf): Define using libm_alias_float.
24011 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24012 (copysignf): Define using libm_alias_float.
24013 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24014 (fabsf): Define using libm_alias_float.
24015 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24016 (floorf): Define using libm_alias_float.
24017 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24018 (fmaxf): Define using libm_alias_float.
24019 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24020 (fminf): Define using libm_alias_float.
24021 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24022 (lrintf): Define using libm_alias_float.
24023 (llrintf): Likewise.
24024 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24025 (lroundf): Define using libm_alias_float.
24026 (llroundf): Likewise.
24027 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24028 (rintf): Define using libm_alias_float.
24029 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24030 (truncf): Define using libm_alias_float.
24031
15ff4900
JM
24032 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24033 (ceilf): Define using libm_alias_float.
24034 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24035 (floorf): Define using libm_alias_float.
24036 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24037 (fmaf): Define using libm_alias_float.
24038 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24039 (fmaxf): Define using libm_alias_float.
24040 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24041 (fminf): Define using libm_alias_float.
24042 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24043 (llrintf): Define using libm_alias_float.
24044 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24045 (llroundf): Define using libm_alias_float.
24046 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24047 (lrintf): Define using libm_alias_float.
24048 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24049 (lroundf): Define using libm_alias_float.
24050 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24051 <libm-alias-float.h>.
24052 (nearbyintf): Define using libm_alias_float.
24053 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24054 (rintf): Define using libm_alias_float.
24055 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24056 (roundf): Define using libm_alias_float.
24057 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24058 (truncf): Define using libm_alias_float.
24059
5de60638
JM
24060 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24061 (ceil): Define using libm_alias_double.
24062 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24063 (copysign): Define using libm_alias_double.
24064 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24065 (fabs): Define using libm_alias_double.
24066 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24067 (floor): Define using libm_alias_double.
24068 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24069 (fmax): Define using libm_alias_double.
24070 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24071 (fmin): Define using libm_alias_double.
24072 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24073 (lrint): Define using libm_alias_double.
24074 (llrint): Likewise.
24075 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24076 (lround): Define using libm_alias_double.
24077 (llround): Likewise.
24078 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24079 (rint): Define using libm_alias_double.
24080 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24081 (trunc): Define using libm_alias_double.
24082
d8124864
JM
24083 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24084 (libm_alias_double_r): Add semicolon after weak_alias call.
24085
f07d2ec8
JM
240862017-11-27 Joseph Myers <joseph@codesourcery.com>
24087
24088 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24089 (ceil): Define using libm_alias_double.
24090 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24091 (floor): Define using libm_alias_double.
24092 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24093 (fma): Define using libm_alias_double.
24094 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24095 (fmax): Define using libm_alias_double.
24096 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24097 (fmin): Define using libm_alias_double.
24098 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24099 (llrint): Define using libm_alias_double.
24100 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24101 (llround): Define using libm_alias_double.
24102 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24103 (lrint): Define using libm_alias_double.
24104 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24105 (lround): Define using libm_alias_double.
24106 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24107 (nearbyint): Define using libm_alias_double.
24108 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24109 (rint): Define using libm_alias_double.
24110 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24111 (round): Define using libm_alias_double.
24112 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24113 (trunc): Define using libm_alias_double.
24114
4bab0224
FW
241152017-11-27 Florian Weimer <fweimer@redhat.com>
24116
24117 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24118 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24119 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24120 (tests): Add tst-mlock2.
24121 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24122 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24123 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24124 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24125 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24126 for mlock. Document mlock2.
24127
a23aa5b7
JM
241282017-11-27 Joseph Myers <joseph@codesourcery.com>
24129
24130 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24131 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24132 Likewise.
24133 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24134 Likewise.
24135 * sysdeps/x86/Makeconfig: New file.
24136 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24137 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24138 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24139 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24140 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24141 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24142 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24143 Likewise.
24144 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24145 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24146 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24147 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24148 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24149 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24150 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24151 * manual/math.texi (Mathematics): Document support for _Float64x.
24152 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24153 * stdlib/Versions (GLIBC_2.27): Likewise.
24154 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24155 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24156 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24157 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24158 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24159 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24160 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24161 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24162 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24163 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24164 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24165 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24167 Likewise.
24168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24169 Likewise.
24170 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24171 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24172 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24173 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24174 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24175 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24176 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24177 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24178 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24179 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24180 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24181 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24182 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24183 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24184
c2c299fd
AS
241852017-11-27 Andreas Schwab <schwab@suse.de>
24186
24187 * elf/Makefile (dl-routines): Add dl-sort-maps.
24188 * elf/dl-sort-maps.c: New file.
24189 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24190 (_dl_sort_maps): Declare.
24191 * elf/dl-fini.c (_dl_sort_fini): Remove.
24192 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24193 * elf/dl-close.c (_dl_close_worker): Likewise.
24194 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24195 open-coding it.
24196 * elf/dl-open.c (dl_open_worker): Likewise.
24197
9d4b0117
JM
241982017-11-24 Joseph Myers <joseph@codesourcery.com>
24199
de61465c
JM
24200 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24201 using libm_alias_float128.
24202 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24203 Likewise.
24204 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24205 Likewise.
24206 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24207 (setpayloadsigf128): Likewise.
24208 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24209 Likewise.
24210 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24211 Likewise.
24212
9ae6d171
JM
24213 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24214 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24215 -mfloat128 to CFLAGS.
24216 ($(foreach
24217 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24218 Likewise.
24219 (CFLAGS-libm-test-support-float64x.c): New variable.
24220 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24221 $(f128-loader-link) to gnulib-tests.
24222
6e70d156
JM
24223 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24224 (libm_alias_float128_other_r): If
24225 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24226 alias.
24227 (libm_alias_float128_r): Add semicolon after weak_alias call.
24228 * sysdeps/generic/libm-alias-ldouble.h
24229 (libm_alias_ldouble_other_r_f128): New macro.
24230 (libm_alias_ldouble_other_r_f64x): Likewise.
24231 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24232 and libm_alias_ldouble_other_r_f64x.
24233 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24234 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24235 (libm_alias_ldouble_other_r_f128): New macro.
24236 (libm_alias_ldouble_other_r_f64x): Likewise.
24237 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24238 and libm_alias_ldouble_other_r_f64x.
24239
df2806cd
JM
24240 * stdlib/strfroml.c: Always include <stdlib.h>.
24241 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24242 undefine as macro and define as weak alias.
24243 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24244 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24245 <stdlib.h>.
24246 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24247 Define and later undefine as macro and define as weak alias.
24248
0df4fe35
JM
24249 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24250 Define and later undefine as macro. Define as weak alias if
24251 [!USE_WIDE_CHAR].
24252 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24253 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24254 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24255 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24256 Define and later undefine as macro. Define as weak alias if
24257 [!USE_WIDE_CHAR].
24258 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24259 Define and later undefine as macro. Define as weak alias if
24260 [USE_WIDE_CHAR].
24261 * sysdeps/ieee754/float128/strtof128_l.c
24262 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24263 Define and later undefine as macro. Define as weak alias if
24264 [!USE_WIDE_CHAR].
24265 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24266 Define and later undefine as macro. Define as weak alias if
24267 [USE_WIDE_CHAR].
24268 * sysdeps/ieee754/ldbl-128/strtold_l.c
24269 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24270 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24271 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24272 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24273 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24274 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24275 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24276 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24277 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24278 * sysdeps/ieee754/ldbl-96/strtold_l.c
24279 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24280 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24281 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24282 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24283
ae7207d0
JM
24284 * math/test-float64x.h: New file.
24285 * math/Makefile (type-float64x-yes): New variable.
24286 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24287
9596fc69
JM
24288 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24289 function-like macro.
24290 (min_of_type_): Likewise.
24291 (min_of_type_l): Likewise.
24292 (min_of_type_f128): Likewise.
24293 (min_of_type): Pass () as last argument of __MATH_TG.
24294
46453c3c
JM
24295 * stdlib/tst-strtod-round-skeleton.c
24296 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24297 headers.
24298
01e659e7
JM
24299 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24300 for combinations of long double with _Float64 and _Float64x.
24301
5c60afdd
JM
24302 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24303 (__DECL_SIMD_cosf32): Likewise.
24304 (__DECL_SIMD_cosf64): Likewise.
24305 (__DECL_SIMD_cosf32x): Likewise.
24306 (__DECL_SIMD_cosf64x): Likewise.
24307 (__DECL_SIMD_cosf128x): Likewise.
24308 (__DECL_SIMD_sinf16): Likewise.
24309 (__DECL_SIMD_sinf32): Likewise.
24310 (__DECL_SIMD_sinf64): Likewise.
24311 (__DECL_SIMD_sinf32x): Likewise.
24312 (__DECL_SIMD_sinf64x): Likewise.
24313 (__DECL_SIMD_sinf128x): Likewise.
24314 (__DECL_SIMD_sincosf16): Likewise.
24315 (__DECL_SIMD_sincosf32): Likewise.
24316 (__DECL_SIMD_sincosf64): Likewise.
24317 (__DECL_SIMD_sincosf32x): Likewise.
24318 (__DECL_SIMD_sincosf64x): Likewise.
24319 (__DECL_SIMD_sincosf128x): Likewise.
24320 (__DECL_SIMD_logf16): Likewise.
24321 (__DECL_SIMD_logf32): Likewise.
24322 (__DECL_SIMD_logf64): Likewise.
24323 (__DECL_SIMD_logf32x): Likewise.
24324 (__DECL_SIMD_logf64x): Likewise.
24325 (__DECL_SIMD_logf128x): Likewise.
24326 (__DECL_SIMD_expf16): Likewise.
24327 (__DECL_SIMD_expf32): Likewise.
24328 (__DECL_SIMD_expf64): Likewise.
24329 (__DECL_SIMD_expf32x): Likewise.
24330 (__DECL_SIMD_expf64x): Likewise.
24331 (__DECL_SIMD_expf128x): Likewise.
24332 (__DECL_SIMD_powf16): Likewise.
24333 (__DECL_SIMD_powf32): Likewise.
24334 (__DECL_SIMD_powf64): Likewise.
24335 (__DECL_SIMD_powf32x): Likewise.
24336 (__DECL_SIMD_powf64x): Likewise.
24337 (__DECL_SIMD_powf128x): Likewise.
24338
9d4b0117
JM
24339 * stdlib/Versions (libc): Move entries for wcstof128 and
24340 wcstof128_l to ....
24341 * wcsmbs/Versions (libc): ... here.
24342 Include <float128-abi.h>.
24343
7911dd47
FW
243442017-11-24 Florian Weimer <fweimer@redhat.com>
24345
24346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24347 bits/mman-shared.h.
24348 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24349 <bits/mman-shared.h>.
24350 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24351 to ...
24352 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24353 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24354 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24355 <bits/mman-shared.h>.
24356
c45d78aa
AZ
243572017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24358
24359 [BZ #22457]
24360 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24361 posix_memalign/free.
24362 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24363
3ffc4cc1
MF
243642017-11-22 Mike FABIAN <mfabian@redhat.com>
24365
24366 [BZ #22469]
24367 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24368 and implement the collation rules for pl from CLDR on top of that.
24369 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24370 of locales to be built for testing.
24371 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24372
3a327316
JM
243732017-11-23 Joseph Myers <joseph@codesourcery.com>
24374
24375 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24376 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24377 libm_alias_ldouble_other.
24378 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24379 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24380 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24381 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24382 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24383 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24384 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24385 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24386 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24387 libm_alias_ldouble_r.
24388 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24389 libm_alias_ldouble_other.
24390 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24391 (log10l): Likewise.
24392 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24393 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24394 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24395 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24396 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24397 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24398 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24399 (atan2l): Likewise.
24400 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24401 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24402 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24403 libm_alias_ldouble.
24404 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24405 (cosl): Likewise.
24406 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24407 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24408 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24409 (expl): Likewise.
24410 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24411 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24412 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24413 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24414 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24415 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24416 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24417 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24418 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24419 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24420 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24421 libm_alias_ldouble.
24422 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24423 libm_alias_ldouble_other.
24424 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24425 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24426 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24427 libm_alias_ldouble.
24428 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24429 libm_alias_ldouble_other.
24430 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24431 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24432 * sysdeps/ia64/fpu/w_lgammal_main.c
24433 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24434 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24435
0a947e06
FW
244362017-11-23 Florian Weimer <fweimer@redhat.com>
24437
24438 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24439 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24440 alike. Remove freeres marker.
24441 * malloc/arena.c (arena_thread_freeres): Call
24442 tcache_thread_shutdown.
24443
67f36c79
FW
244442017-11-23 Florian Weimer <fweimer@redhat.com>
24445
24446 [BZ #22459]
24447 Export nscd hash function as __nss_hash.
24448 * include/nss.h (__nss_hash): Declare.
24449 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24450 symbol.
24451 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24452 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24453 of __nscd_hash.
24454 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24455 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24456 * nss/Makefiles (routines): Add nss_hash.
24457 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24458 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24459 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24460 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24461
cccb6d4e
FW
244622017-11-23 Florian Weimer <fweimer@redhat.com>
24463
24464 [BZ #22478]
24465 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24466 Return error code, not -1.
24467 * signal/tst-sigwait-eintr.c: New file.
24468 * signal/Makefile (tests): Add tst-sigwait-eintr.
24469
59d2cbb1
FW
244702017-11-23 Florian Weimer <fweimer@redhat.com>
24471
24472 Linux: Add memfd_create system call wrapper
24473 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24474 tst-memfd_create.
24475 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24476 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24477 [__USE_GNU] (memfd_create): Declare.
24478 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24479 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24480 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24481 * sysdeps/unix/sysv/linux/**.abilist: Update.
24482 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24483
a90d1ac2
JM
244842017-11-22 Joseph Myers <joseph@codesourcery.com>
24485
0a9d1d62
JM
24486 * localedata/gen-locale.sh: Fix typo in variable name.
24487
754034c4
JM
24488 * resolv/res_debug.c (p_secstodate): Condition definition on
24489 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24490 directly as __p_secstodate, and as a compat symbol. Do not use
24491 libresolv_hidden_def.
24492 * resolv/resolv.h (p_secstodate): Remove macro and function
24493 declaration.
24494 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24495 using p_secstodate.
24496 * include/resolv.h (__p_secstodate): Do not use
24497 libresolv_hidden_proto.
24498 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24499 (tests-internal): ... here.
24500 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24501 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24502 and declare and use __p_secstodate and use compat_symbol_reference
24503 in that case.
24504 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24505 implementation returning 77.
24506
f120cda6
JM
24507 [BZ #22463]
24508 * resolv/res_debug.c: Include <libc-diag.h>.
24509 (p_secstodate): Assert time_t at least as wide as u_long. On
24510 overflow, use integer seconds since the epoch as output, or use
24511 "<overflow>" as output and set errno to EOVERFLOW if integer
24512 seconds since the epoch would be 14 or more characters.
24513 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24514 for sprintf call.
24515 * resolv/tst-p_secstodate.c: New file.
24516 * resolv/Makefile (tests): Add tst-p_secstodate.
24517 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24518
a90d1ac2
JM
24519 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24520 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24521 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24522
0285e6bd
PE
245232017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24524
24525 * posix/regcomp.c (init_word_char): Add comments.
24526
4bae6150
JM
245272017-11-22 Joseph Myers <joseph@codesourcery.com>
24528
24529 [BZ #22447]
24530 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24531 strlen to compute length of ut_user and set trailing NUL byte of
24532 result explicitly.
24533
4b7af5fc
MF
245342017-11-21 Mike FABIAN <mfabian@redhat.com>
24535
24536 [BZ #15537]
24537 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24538 using “copy "iso14651_t1"” and then implementing the
24539 collation rules for lv from CLDR on top of that.
24540 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24541 of locales to be built for testing.
24542 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24543 sorting.
24544
922bb78c
JM
245452017-11-21 Joseph Myers <joseph@codesourcery.com>
24546
24547 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24548 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24549 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24550 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24551 [__USE_MISC] (MADV_HWPOISON): New macro.
24552 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24553
a3aaa598
AZ
245542017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24555
24556 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24557 -Wmissing-braces on GCC 4.9.
24558
8beba15d
SL
245592017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24560
24561 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24562 * sysdeps/s390/s390-32/start.S (_start): Likewise
24563 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24564 (thread_start): Likewise.
24565 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24566 (thread_start): Likewise.
24567 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24568 (__makecontext_ret): Likewise.
24569 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24570 (__makecontext_ret): Likewise.
24571
80eb52e3
SL
245722017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24573
24574 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24575 __wcschrnul): Remove attribute_hidden.
24576
567d8c1f
PE
245772017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24578
24579 regex: don't assume uint64_t or uint32_t
24580 This avoids -Werror=overflow errors for 32-bit systems in
24581 the 64-bit case. Problem reported by Joseph Myers in:
24582 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24583 Also, when this code is used in Gnulib it ports to platforms
24584 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24585 them, and on some 32-bit compilers there is no uint64_t.
24586 Problem reported by Gianluigi Tiesi in:
24587 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24588 * posix/regcomp.c (init_word_char): Don't assume that the types
24589 uint64_t and uint32_t exist. Adapted from Gnulib patch
24590 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24591 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24592
4d7632ff
SP
245932017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24594
5a67c4fa
SP
24595 * sysdeps/aarch64/memset-reg.h: New file.
24596 * sysdeps/aarch64/memset.S: Use it.
24597 (__memset): Rename to MEMSET macro.
24598 [ZVA_MACRO]: Use zva_macro.
24599 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24600 Add memset_generic and memset_falkor.
24601 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24602 (__libc_ifunc_impl_list): Add memset ifuncs.
24603 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24604 local variable zva_size.
24605 * sysdeps/aarch64/multiarch/memset.c: New file.
24606 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24607 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24608 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24609 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24610 (DCZID_DZP_MASK): New macro.
24611 (DCZID_BS_MASK): Likewise.
24612 (init_cpu_features): Read and set zva_size.
24613 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24614 (struct cpu_features): New member zva_size.
24615
eb332f9f
SP
24616 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24617 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24618 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24619
4d7632ff
SP
24620 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24621 backwards. Fix timing computation.
24622 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24623 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24624 on memset by N at a time. Fix timing computation.
24625
a465b89e
FW
246262017-11-20 Florian Weimer <fweimer@redhat.com>
24627
24628 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24629 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24630
0f74bbf5
FW
246312017-11-19 Florian Weimer <fweimer@redhat.com>
24632
24633 manual: Document mprotect
24634 * manual/memory.texi (Memory Protection): New section.
24635 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24636 documentation of PROT_* flags and reference the Memory Protection
24637 section instead.
24638
f6e965ee
FW
246392017-11-19 Florian Weimer <fweimer@redhat.com>
24640
24641 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24642 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24643 (Scatter-Gather): ... to here. Remove misleading comment.
24644
363e4519 246452017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 24646
5f9d1949
CB
24647 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24648 style.
24649
ea69a5c8
CB
24650 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24651 when /proc/<pid>/setgroups does not exist.
24652
8db7f48c
FW
246532017-11-18 Florian Weimer <fweimer@redhat.com>
24654
24655 * sysdeps/unix/sysv/linux/tst-ttyname.c
24656 (become_root_in_mount_ns): Remove.
24657 (do_in_chroot_1): Call support_enter_mount_namespace.
24658 (do_in_chroot_2): Likewise.
24659 (do_test): Call support_become_root early.
24660
273a0c49
FW
246612017-11-18 Florian Weimer <fweimer@redhat.com>
24662
24663 * support/namespace.h (support_enter_mount_namespace): Declare.
24664 * support/support_enter_mount_namespace.c: New file.
24665 * support/Makefile (libsupport-routines): Add
24666 support_enter_mount_namespace.
24667
8adfb0ee
FW
246682017-11-18 Florian Weimer <fweimer@redhat.com>
24669
24670 * support/temp_file.c (support_create_temp_directory): Use
24671 test_dir and do not rely on the presence of the XXXXXX suffix.
24672 * support/temp_file.h (support_create_temp_directory): Update
24673 comment.
24674 * support/tst-xreadlink.c (do_test): Adjust.
24675 * support/support_chroot.c (support_chroot_create): Likewise.
24676
df0c40ee
TMQMF
246772017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24678
24679 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24680 macro.
24681 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24682 htm-no-suspend.
24683
015c6dc2
JM
246842017-11-17 Joseph Myers <joseph@codesourcery.com>
24685
f58e5f48
JM
24686 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24687 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24688 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24689 (ceill): Define using libm_alias_ldouble.
24690 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24691 <libm-alias-ldouble.h>.
24692 (copysignl): Define using libm_alias_ldouble.
24693 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24694 (fabsl): Define using libm_alias_ldouble.
24695 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24696 (floorl): Define using libm_alias_ldouble.
24697 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24698 (fmaxl): Define using libm_alias_ldouble.
24699 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24700 (fminl): Define using libm_alias_ldouble.
24701 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24702 (llrintl): Define using libm_alias_ldouble.
24703 (lrintl): Likewise.
24704 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24705 <libm-alias-ldouble.h>.
24706 (nearbyintl): Define using libm_alias_ldouble.
24707 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24708 (truncl): Define using libm_alias_ldouble.
24709 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24710 <libm-alias-ldouble.h>.
24711 (lrintl): Define using libm_alias_ldouble.
24712
2ce30701
JM
24713 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24714 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24715 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24716 (asinhl): Define using libm_alias_ldouble.
24717 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24718 (atanl): Define using libm_alias_ldouble.
24719 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24720 (cbrtl): Define using libm_alias_ldouble.
24721 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24722 (ceill): Define using libm_alias_ldouble.
24723 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24724 (copysignl): Define using libm_alias_ldouble.
24725 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24726 (fabsl): Define using libm_alias_ldouble.
24727 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24728 (floorl): Define using libm_alias_ldouble.
24729 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24730 (fmaxl): Define using libm_alias_ldouble.
24731 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24732 (fminl): Define using libm_alias_ldouble.
24733 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24734 (frexpl): Define using libm_alias_ldouble.
24735 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24736 (llrintl): Define using libm_alias_ldouble.
24737 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24738 (logbl): Define using libm_alias_ldouble.
24739 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24740 (lrintl): Define using libm_alias_ldouble.
24741 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24742 (nearbyintl): Define using libm_alias_ldouble.
24743 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24744 (nextafterl): Define using libm_alias_ldouble.
24745 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24746 (remquol): Define using libm_alias_ldouble.
24747 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24748 (rintl): Define using libm_alias_ldouble.
24749 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24750 (truncl): Define using libm_alias_ldouble.
24751 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24752 (fmaxl): Define using libm_alias_ldouble.
24753 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24754 (fminl): Define using libm_alias_ldouble.
24755
015c6dc2
JM
24756 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24757 to C syntax instead of availability and properties of types.
24758 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24759 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24760 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24761 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24762 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24763 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24764
ce003e5d
FW
247652017-11-17 Florian Weimer <fweimer@redhat.com>
24766
24767 support_become_root: Enable file creation in namespaces.
24768 * support/support_become_root.c (setup_mapping): New function.
24769 (support_become_root): Call it.
24770
e7df6c5c
JM
247712017-11-17 Joseph Myers <joseph@codesourcery.com>
24772
24773 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24774 macro.
24775
58a813bf
AZ
247762017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24777
24778 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24779 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24780
f97773d1
JM
247812017-11-16 Joseph Myers <joseph@codesourcery.com>
24782
6a6aa1f3
JM
24783 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24784
f97773d1
JM
24785 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24786 version to 4.14.
24787
a306c790
SP
247882017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24789
7b0fb870
SP
24790 * INSTALL: Fix botched up regeneration.
24791
24792 * NEWS: Update sourceare link to https.
a306c790
SP
24793 * configure.ac: Likewise.
24794 * crypt/md5test-giant.c: Likewise.
24795 * dlfcn/bug-atexit1.c: Likewise.
24796 * dlfcn/bug-atexit2.c: Likewise.
24797 * localedata/README: Likewise.
24798 * malloc/tst-mallocfork.c: Likewise.
24799 * manual/install.texi: Likewise.
24800 * nptl/tst-pthread-getattr.c: Likewise.
24801 * stdio-common/tst-fgets.c: Likewise.
24802 * stdio-common/tst-fwrite.c: Likewise.
24803 * sunrpc/Makefile: Likewise.
24804 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24805 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
24806 * configure: Regenerate.
24807 * INSTALL: Regenerate.
a306c790 24808
7532837d
MS
248092017-11-15 Martin Sebor <msebor@redhat.com>
24810
24811 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24812 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24813 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24814
495a56fd
LS
248152017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24816
d9611e30
LS
24817 [BZ #22145]
24818 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24819 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24820
a09dfc19
LS
24821 [BZ #22145]
24822 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24823 Defer is_pty check until end of the function.
24824 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24825
2fbce9c2
LS
24826 [BZ #22145]
24827 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24828 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24829 (ttyname): Likewise.
24830 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24831 (__ttyname_r): Likewise.
24832
d10d6cab
LS
24833 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24834 int to bool.
24835
9b5a8750
LS
24836 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24837
495a56fd
LS
24838 * manual/terminal.texi (Is It a Terminal):
24839 Mention ENODEV for ttyname and ttyname_r.
24840
fa680dc6
JM
248412017-11-15 Joseph Myers <joseph@codesourcery.com>
24842
78cde19f
JM
24843 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24844 constant and macro.
24845
fa680dc6
JM
24846 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24847 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24848 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24849 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24850 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24851 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24852
ad4f43a2
AZ
248532017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24854
1ba1d8a4
AZ
24855 * signal/sigrelse.c (sigrelse): Optimize implementation.
24856
ad4f43a2
AZ
24857 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24858 (__sigpause): Rely on __sigsuspend to implement single thread
24859 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24860
d0212d42
JM
248612017-11-15 Joseph Myers <joseph@codesourcery.com>
24862
24863 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24864 kernel version to 4.14.
24865
2180fee1
SE
248662017-11-15 Steve Ellcey <sellcey@cavium.com>
24867
24868 [BZ #22442]
24869 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24870 Check if ifname is too long.
24871
cad7ca39
LS
248722017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24873
24874 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24875
58c9f659
MF
248762017-11-15 Mike FABIAN <mfabian@redhat.com>
24877
24878 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24879 was accidentally lost.
24880
0fa87c01
MF
248812017-11-15 Mike FABIAN <mfabian@redhat.com>
24882
24883 * localedata/locales/az_IR: Add standard copyright header.
24884
34eb4157
FW
248852017-11-15 Florian Weimer <fweimer@redhat.com>
24886
24887 [BZ #22439]
24888 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24889 not just the top one. Output a new "subheaps" statistic.
24890
7a9368a1
FW
248912017-11-15 Florian Weimer <fweimer@redhat.com>
24892
24893 [BZ #22408]
24894 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24895 under the per-arena lock.
24896 * malloc/Makefile (tests): Add tst-malloc_info.
24897 (tst-malloc_info): Link with libpthread.
24898 * malloc/tst-malloc_info.c: New file.
24899
be3a79a3
JM
249002017-11-15 Joseph Myers <joseph@codesourcery.com>
24901
24902 [BZ #21660]
24903 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24904 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24905 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24906 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24907 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24908 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24909 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24910 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24911 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24912 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24913 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24914 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24915 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24916 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24917 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24918 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24919 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24920 (__floating_type): Likewise.
24921 (__real_integer_type): Likewise.
24922 (__complex_integer_type): Likewise.
24923 (__expr_is_real): Likewise.
24924 (__tgmath_real_type_sub): Likewise.
24925 (__tgmath_real_type): Likewise.
24926 (__tgmath_complex_type_sub): Likewise.
24927 (__tgmath_complex_type): Likewise.
24928 (__TGMATH_F128): Likewise.
24929 (__TGMATH_CF128): Likewise.
24930 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24931 new macros.
24932 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24933 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24934 Likewise.
24935 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24936 Likewise.
24937 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24938 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24939 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24940 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24941 Likewise.
24942 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24943 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24944 Likewise.
24945 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24946 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24947 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24948 Likewise.
24949 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24950 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24951 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24952 (cimag): Likewise.
24953 (creal): Likewise.
24954
ec72135e
JM
249552017-11-14 Joseph Myers <joseph@codesourcery.com>
24956
2e64ec9c
JM
24957 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24958 for stpncpy calls for GCC 8.
24959 (test_strncat): Disable -Wstringop-truncation warning for strncat
24960 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24961 strncat call for GCC 7.
24962 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24963 calls for GCC 8.
24964 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24965 trailing NUL.
24966
ec72135e
JM
24967 * string/bug-strncat1.c: Include <libc-diag.h>.
24968 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24969
363e4519 249702017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
24971
24972 [BZ #22387]
24973 * localedata/locales/aa_DJ: Improved readibility by replacing
24974 <Uxxxx> sequences in the ASCII printable range by their ASCII
24975 character equivalents.
24976 * localedata/locales/aa_ER: Likewise.
24977 * localedata/locales/aa_ER@saaho: Likewise.
24978 * localedata/locales/aa_ET: Likewise.
24979 * localedata/locales/af_ZA: Likewise.
24980 * localedata/locales/agr_PE: Likewise.
24981 * localedata/locales/ak_GH: Likewise.
24982 * localedata/locales/am_ET: Likewise.
24983 * localedata/locales/anp_IN: Likewise.
24984 * localedata/locales/ar_AE: Likewise.
24985 * localedata/locales/ar_BH: Likewise.
24986 * localedata/locales/ar_DZ: Likewise.
24987 * localedata/locales/ar_EG: Likewise.
24988 * localedata/locales/ar_IN: Likewise.
24989 * localedata/locales/ar_IQ: Likewise.
24990 * localedata/locales/ar_JO: Likewise.
24991 * localedata/locales/ar_KW: Likewise.
24992 * localedata/locales/ar_LB: Likewise.
24993 * localedata/locales/ar_LY: Likewise.
24994 * localedata/locales/ar_MA: Likewise.
24995 * localedata/locales/ar_OM: Likewise.
24996 * localedata/locales/ar_QA: Likewise.
24997 * localedata/locales/ar_SA: Likewise.
24998 * localedata/locales/ar_SD: Likewise.
24999 * localedata/locales/ar_SS: Likewise.
25000 * localedata/locales/ar_SY: Likewise.
25001 * localedata/locales/ar_TN: Likewise.
25002 * localedata/locales/ar_YE: Likewise.
25003 * localedata/locales/as_IN: Likewise.
25004 * localedata/locales/ast_ES: Likewise.
25005 * localedata/locales/ayc_PE: Likewise.
25006 * localedata/locales/az_AZ: Likewise.
25007 * localedata/locales/az_IR: Likewise.
25008 * localedata/locales/be_BY: Likewise.
25009 * localedata/locales/be_BY@latin: Likewise.
25010 * localedata/locales/bem_ZM: Likewise.
25011 * localedata/locales/ber_DZ: Likewise.
25012 * localedata/locales/ber_MA: Likewise.
25013 * localedata/locales/bg_BG: Likewise.
25014 * localedata/locales/bhb_IN: Likewise.
25015 * localedata/locales/bho_IN: Likewise.
25016 * localedata/locales/bi_VU: Likewise.
25017 * localedata/locales/bn_BD: Likewise.
25018 * localedata/locales/bn_IN: Likewise.
25019 * localedata/locales/bo_CN: Likewise.
25020 * localedata/locales/bo_IN: Likewise.
25021 * localedata/locales/br_FR: Likewise.
25022 * localedata/locales/brx_IN: Likewise.
25023 * localedata/locales/bs_BA: Likewise.
25024 * localedata/locales/byn_ER: Likewise.
25025 * localedata/locales/ca_AD: Likewise.
25026 * localedata/locales/ca_ES: Likewise.
25027 * localedata/locales/ca_FR: Likewise.
25028 * localedata/locales/ca_IT: Likewise.
25029 * localedata/locales/ce_RU: Likewise.
25030 * localedata/locales/chr_US: Likewise.
25031 * localedata/locales/cmn_TW: Likewise.
25032 * localedata/locales/crh_UA: Likewise.
25033 * localedata/locales/cs_CZ: Likewise.
25034 * localedata/locales/csb_PL: Likewise.
25035 * localedata/locales/cv_RU: Likewise.
25036 * localedata/locales/cy_GB: Likewise.
25037 * localedata/locales/da_DK: Likewise.
25038 * localedata/locales/de_AT: Likewise.
25039 * localedata/locales/de_BE: Likewise.
25040 * localedata/locales/de_CH: Likewise.
25041 * localedata/locales/de_DE: Likewise.
25042 * localedata/locales/de_IT: Likewise.
25043 * localedata/locales/de_LI: Likewise.
25044 * localedata/locales/de_LU: Likewise.
25045 * localedata/locales/doi_IN: Likewise.
25046 * localedata/locales/dv_MV: Likewise.
25047 * localedata/locales/dz_BT: Likewise.
25048 * localedata/locales/el_CY: Likewise.
25049 * localedata/locales/el_GR: Likewise.
25050 * localedata/locales/en_AG: Likewise.
25051 * localedata/locales/en_AU: Likewise.
25052 * localedata/locales/en_BW: Likewise.
25053 * localedata/locales/en_CA: Likewise.
25054 * localedata/locales/en_DK: Likewise.
25055 * localedata/locales/en_GB: Likewise.
25056 * localedata/locales/en_HK: Likewise.
25057 * localedata/locales/en_IE: Likewise.
25058 * localedata/locales/en_IL: Likewise.
25059 * localedata/locales/en_IN: Likewise.
25060 * localedata/locales/en_NG: Likewise.
25061 * localedata/locales/en_NZ: Likewise.
25062 * localedata/locales/en_PH: Likewise.
25063 * localedata/locales/en_SG: Likewise.
25064 * localedata/locales/en_US: Likewise.
25065 * localedata/locales/en_ZA: Likewise.
25066 * localedata/locales/en_ZM: Likewise.
25067 * localedata/locales/en_ZW: Likewise.
25068 * localedata/locales/eo: Likewise.
25069 * localedata/locales/es_AR: Likewise.
25070 * localedata/locales/es_BO: Likewise.
25071 * localedata/locales/es_CL: Likewise.
25072 * localedata/locales/es_CO: Likewise.
25073 * localedata/locales/es_CR: Likewise.
25074 * localedata/locales/es_CU: Likewise.
25075 * localedata/locales/es_DO: Likewise.
25076 * localedata/locales/es_EC: Likewise.
25077 * localedata/locales/es_ES: Likewise.
25078 * localedata/locales/es_GT: Likewise.
25079 * localedata/locales/es_HN: Likewise.
25080 * localedata/locales/es_MX: Likewise.
25081 * localedata/locales/es_NI: Likewise.
25082 * localedata/locales/es_PA: Likewise.
25083 * localedata/locales/es_PE: Likewise.
25084 * localedata/locales/es_PR: Likewise.
25085 * localedata/locales/es_PY: Likewise.
25086 * localedata/locales/es_SV: Likewise.
25087 * localedata/locales/es_US: Likewise.
25088 * localedata/locales/es_UY: Likewise.
25089 * localedata/locales/es_VE: Likewise.
25090 * localedata/locales/et_EE: Likewise.
25091 * localedata/locales/eu_ES: Likewise.
25092 * localedata/locales/eu_ES@euro: Likewise.
25093 * localedata/locales/fa_IR: Likewise.
25094 * localedata/locales/ff_SN: Likewise.
25095 * localedata/locales/fi_FI: Likewise.
25096 * localedata/locales/fil_PH: Likewise.
25097 * localedata/locales/fo_FO: Likewise.
25098 * localedata/locales/fr_BE: Likewise.
25099 * localedata/locales/fr_CA: Likewise.
25100 * localedata/locales/fr_CH: Likewise.
25101 * localedata/locales/fr_FR: Likewise.
25102 * localedata/locales/fr_LU: Likewise.
25103 * localedata/locales/fur_IT: Likewise.
25104 * localedata/locales/fy_DE: Likewise.
25105 * localedata/locales/fy_NL: Likewise.
25106 * localedata/locales/ga_IE: Likewise.
25107 * localedata/locales/gd_GB: Likewise.
25108 * localedata/locales/gez_ER: Likewise.
25109 * localedata/locales/gez_ET: Likewise.
25110 * localedata/locales/gl_ES: Likewise.
25111 * localedata/locales/gu_IN: Likewise.
25112 * localedata/locales/gv_GB: Likewise.
25113 * localedata/locales/ha_NG: Likewise.
25114 * localedata/locales/hak_TW: Likewise.
25115 * localedata/locales/he_IL: Likewise.
25116 * localedata/locales/hi_IN: Likewise.
25117 * localedata/locales/hif_FJ: Likewise.
25118 * localedata/locales/hne_IN: Likewise.
25119 * localedata/locales/hr_HR: Likewise.
25120 * localedata/locales/hsb_DE: Likewise.
25121 * localedata/locales/ht_HT: Likewise.
25122 * localedata/locales/hu_HU: Likewise.
25123 * localedata/locales/hy_AM: Likewise.
25124 * localedata/locales/i18n: Likewise.
25125 * localedata/locales/ia_FR: Likewise.
25126 * localedata/locales/id_ID: Likewise.
25127 * localedata/locales/ig_NG: Likewise.
25128 * localedata/locales/ik_CA: Likewise.
25129 * localedata/locales/is_IS: Likewise.
25130 * localedata/locales/it_CH: Likewise.
25131 * localedata/locales/it_IT: Likewise.
25132 * localedata/locales/iu_CA: Likewise.
25133 * localedata/locales/ja_JP: Likewise.
25134 * localedata/locales/ka_GE: Likewise.
25135 * localedata/locales/kk_KZ: Likewise.
25136 * localedata/locales/kl_GL: Likewise.
25137 * localedata/locales/kn_IN: Likewise.
25138 * localedata/locales/ko_KR: Likewise.
25139 * localedata/locales/kok_IN: Likewise.
25140 * localedata/locales/ks_IN: Likewise.
25141 * localedata/locales/ks_IN@devanagari: Likewise.
25142 * localedata/locales/ku_TR: Likewise.
25143 * localedata/locales/kw_GB: Likewise.
25144 * localedata/locales/ky_KG: Likewise.
25145 * localedata/locales/lb_LU: Likewise.
25146 * localedata/locales/lg_UG: Likewise.
25147 * localedata/locales/li_BE: Likewise.
25148 * localedata/locales/li_NL: Likewise.
25149 * localedata/locales/lij_IT: Likewise.
25150 * localedata/locales/ln_CD: Likewise.
25151 * localedata/locales/lo_LA: Likewise.
25152 * localedata/locales/lt_LT: Likewise.
25153 * localedata/locales/lv_LV: Likewise.
25154 * localedata/locales/lzh_TW: Likewise.
25155 * localedata/locales/mag_IN: Likewise.
25156 * localedata/locales/mai_IN: Likewise.
25157 * localedata/locales/mg_MG: Likewise.
25158 * localedata/locales/mhr_RU: Likewise.
25159 * localedata/locales/mi_NZ: Likewise.
25160 * localedata/locales/mk_MK: Likewise.
25161 * localedata/locales/ml_IN: Likewise.
25162 * localedata/locales/mn_MN: Likewise.
25163 * localedata/locales/mni_IN: Likewise.
25164 * localedata/locales/mr_IN: Likewise.
25165 * localedata/locales/ms_MY: Likewise.
25166 * localedata/locales/mt_MT: Likewise.
25167 * localedata/locales/my_MM: Likewise.
25168 * localedata/locales/nan_TW: Likewise.
25169 * localedata/locales/nan_TW@latin: Likewise.
25170 * localedata/locales/nb_NO: Likewise.
25171 * localedata/locales/nds_DE: Likewise.
25172 * localedata/locales/nds_NL: Likewise.
25173 * localedata/locales/ne_NP: Likewise.
25174 * localedata/locales/nhn_MX: Likewise.
25175 * localedata/locales/niu_NU: Likewise.
25176 * localedata/locales/niu_NZ: Likewise.
25177 * localedata/locales/nl_AW: Likewise.
25178 * localedata/locales/nl_BE: Likewise.
25179 * localedata/locales/nl_NL: Likewise.
25180 * localedata/locales/nn_NO: Likewise.
25181 * localedata/locales/nr_ZA: Likewise.
25182 * localedata/locales/nso_ZA: Likewise.
25183 * localedata/locales/oc_FR: Likewise.
25184 * localedata/locales/om_ET: Likewise.
25185 * localedata/locales/om_KE: Likewise.
25186 * localedata/locales/or_IN: Likewise.
25187 * localedata/locales/os_RU: Likewise.
25188 * localedata/locales/pa_IN: Likewise.
25189 * localedata/locales/pa_PK: Likewise.
25190 * localedata/locales/pap_AW: Likewise.
25191 * localedata/locales/pap_CW: Likewise.
25192 * localedata/locales/pl_PL: Likewise.
25193 * localedata/locales/ps_AF: Likewise.
25194 * localedata/locales/pt_BR: Likewise.
25195 * localedata/locales/pt_PT: Likewise.
25196 * localedata/locales/quz_PE: Likewise.
25197 * localedata/locales/raj_IN: Likewise.
25198 * localedata/locales/ro_RO: Likewise.
25199 * localedata/locales/ru_RU: Likewise.
25200 * localedata/locales/ru_UA: Likewise.
25201 * localedata/locales/rw_RW: Likewise.
25202 * localedata/locales/sa_IN: Likewise.
25203 * localedata/locales/sat_IN: Likewise.
25204 * localedata/locales/sc_IT: Likewise.
25205 * localedata/locales/sd_IN: Likewise.
25206 * localedata/locales/sd_IN@devanagari: Likewise.
25207 * localedata/locales/se_NO: Likewise.
25208 * localedata/locales/sgs_LT: Likewise.
25209 * localedata/locales/shs_CA: Likewise.
25210 * localedata/locales/si_LK: Likewise.
25211 * localedata/locales/sid_ET: Likewise.
25212 * localedata/locales/sk_SK: Likewise.
25213 * localedata/locales/sl_SI: Likewise.
25214 * localedata/locales/sm_WS: Likewise.
25215 * localedata/locales/so_DJ: Likewise.
25216 * localedata/locales/so_ET: Likewise.
25217 * localedata/locales/so_KE: Likewise.
25218 * localedata/locales/so_SO: Likewise.
25219 * localedata/locales/sq_AL: Likewise.
25220 * localedata/locales/sq_MK: Likewise.
25221 * localedata/locales/sr_ME: Likewise.
25222 * localedata/locales/sr_RS: Likewise.
25223 * localedata/locales/sr_RS@latin: Likewise.
25224 * localedata/locales/ss_ZA: Likewise.
25225 * localedata/locales/st_ZA: Likewise.
25226 * localedata/locales/sv_FI: Likewise.
25227 * localedata/locales/sv_SE: Likewise.
25228 * localedata/locales/sw_KE: Likewise.
25229 * localedata/locales/sw_TZ: Likewise.
25230 * localedata/locales/szl_PL: Likewise.
25231 * localedata/locales/ta_IN: Likewise.
25232 * localedata/locales/ta_LK: Likewise.
25233 * localedata/locales/tcy_IN: Likewise.
25234 * localedata/locales/te_IN: Likewise.
25235 * localedata/locales/tg_TJ: Likewise.
25236 * localedata/locales/th_TH: Likewise.
25237 * localedata/locales/the_NP: Likewise.
25238 * localedata/locales/ti_ER: Likewise.
25239 * localedata/locales/ti_ET: Likewise.
25240 * localedata/locales/tig_ER: Likewise.
25241 * localedata/locales/tk_TM: Likewise.
25242 * localedata/locales/tl_PH: Likewise.
25243 * localedata/locales/tn_ZA: Likewise.
25244 * localedata/locales/to_TO: Likewise.
25245 * localedata/locales/tpi_PG: Likewise.
25246 * localedata/locales/tr_CY: Likewise.
25247 * localedata/locales/tr_TR: Likewise.
25248 * localedata/locales/ts_ZA: Likewise.
25249 * localedata/locales/tt_RU: Likewise.
25250 * localedata/locales/tt_RU@iqtelif: Likewise.
25251 * localedata/locales/ug_CN: Likewise.
25252 * localedata/locales/uk_UA: Likewise.
25253 * localedata/locales/unm_US: Likewise.
25254 * localedata/locales/ur_IN: Likewise.
25255 * localedata/locales/ur_PK: Likewise.
25256 * localedata/locales/uz_UZ: Likewise.
25257 * localedata/locales/uz_UZ@cyrillic: Likewise.
25258 * localedata/locales/ve_ZA: Likewise.
25259 * localedata/locales/vi_VN: Likewise.
25260 * localedata/locales/wa_BE: Likewise.
25261 * localedata/locales/wae_CH: Likewise.
25262 * localedata/locales/wal_ET: Likewise.
25263 * localedata/locales/wo_SN: Likewise.
25264 * localedata/locales/xh_ZA: Likewise.
25265 * localedata/locales/yi_US: Likewise.
25266 * localedata/locales/yo_NG: Likewise.
25267 * localedata/locales/yue_HK: Likewise.
25268 * localedata/locales/yuw_PG: Likewise.
25269 * localedata/locales/zh_CN: Likewise.
25270 * localedata/locales/zh_HK: Likewise.
25271 * localedata/locales/zh_SG: Likewise.
25272 * localedata/locales/zh_TW: Likewise.
25273 * localedata/locales/zu_ZA: Likewise.
25274
cae87e64
FW
252752017-11-13 Florian Weimer <fweimer@redhat.com>
25276
25277 * support/next_to_fault.h, support/next_to_fault.c: New files.
25278 * support/Makefile (libsupport-routines): Add next_to_fault.
25279 * resolv/tst-inet_pton.c (struct next_to_fault)
25280 (next_to_fault_allocate, next_to_fault_free): Remove.
25281 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25282
4a306ef1
L
252832017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25284
25285 * elf/dl-support.c: Include <dl-procruntime.c>.
25286 * include/link.h: Include <link_map.h>.
25287 * sysdeps/generic/dl-procruntime.c: New file.
25288 * sysdeps/generic/link_map.h: Likewise.
25289 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25290 the writable ld.so namespace.
25291
e69897bf
PE
252922017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25293
25294 timezone: pacify GCC -Wstringop-truncation
25295 Problem reported by Martin Sebor in:
25296 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25297 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25298
1ffe1ccb
FW
252992017-11-12 Florian Weimer <fweimer@redhat.com>
25300
eceed671
FW
25301 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25302 tst-xreadlink.
25303 (tests): Add tst-xreadlink.
1ffe1ccb
FW
25304 * support/support.h (xstrndup): Declare.
25305 * support/xunistd.h (xunlink, xreadlink): Declare.
25306 * support/temp_file.h (support_create_temp_directory): Declare.
25307 * support/temp_file.c (support_create_temp_directory): New function.
25308 * support/support_chroot.c (support_chroot_create): Use it.
25309 * support/xreadlink.c: New file.
25310 * support/xstrndup.c: Likewise.
25311 * support/xunlink.c: Likewise.
25312 * support/tst-xreadlink.c: Likewise.
25313
456b40a9
JDA
253142017-11-11 John David Anglin <danglin@gcc.gnu.org>
25315
25316 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25317
c0a25aa9
FW
253182017-11-11 Florian Weimer <fweimer@redhat.com>
25319
25320 [BZ #22409]
25321 [BZ #22412]
25322 * resolv/res_comp.c (printable_string, binary_hnok)
25323 (binary_leading_dash): New functions.
25324 (res_hnok): Reimplement using these functions and ns_name_pton.
25325 (res_ownok): Likewise.
25326 (res_mailok): Reimplement using printable_string, ns_name_pton and
25327 binary_hnok.
25328 (res_dnok): Reimplement using printable_string and ns_name_pton.
25329 * resolv/tst-res_hnok.c (tests): Add additional tests.
25330 (LETTERDIGITS, PRINTABLE): Define.
25331 (do_test): Adjust one_char results.
25332
9e0ad304
FW
253332017-11-11 Florian Weimer <fweimer@redhat.com>
25334
25335 [BZ #22413]
25336 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25337 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25338
e2a9fca8
FW
253392017-11-11 Florian Weimer <fweimer@redhat.com>
25340
25341 * resolv/tst-ns_name_pton.c: New file.
25342 * resolv/Makefile (tests): Add tst-ns_name_pton.
25343 (tst-ns_name_pton): Link against libresolv.
25344
5c1a6923
FW
253452017-11-11 Florian Weimer <fweimer@redhat.com>
25346
25347 * resolv/tst-res_hnok.c: New file.
25348 * resolv/Makefile (tests): Add tst-res_hnok.
25349 (tst-res_hnok): Link against libresolv.
25350
a19c0a1d
FW
253512017-11-11 Florian Weimer <fweimer@redhat.com>
25352
25353 * resolv/tst-resolv-network.c: Use test framework instead explicit
25354 main function.
25355
8cb5295d
L
253562017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25357
25358 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25359 <jmp_buf-macros.h>.
25360 [!_ISOMAC] (STR_HELPER): New.
25361 [!_ISOMAC] (STR): Likewise.
25362 [!_ISOMAC] (TEST_SIZE): Likewise.
25363 [!_ISOMAC] (TEST_ALIGN): Likewise.
25364 [!_ISOMAC] (TEST_OFFSET): Likewise.
25365 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25366 field offsets of jmp_buf as well as sigjmp_buf.
25367 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25368 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25369 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25370 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25371 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25372 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25373 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25374 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25375 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25376 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25377 Likewise.
25378 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25379 Likewise.
25380 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25382 Likewise.
25383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25384 Likewise.
25385 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25386 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25387 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25388 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25389 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25391 Likewise.
25392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25393 Likewise.
25394 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25395 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25396 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25397
58c4a161
JM
253982017-11-07 Joseph Myers <joseph@codesourcery.com>
25399
3683b423
JM
25400 * include/float.h
25401 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25402 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25403 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25404 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25405 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25406 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25407 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25408 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25409 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25410 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25411 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25412 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25413 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25414 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25415 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25416 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25417 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25418 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25419 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25420 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25421 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25422 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25423 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25424 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25425 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25426 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25427 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25428 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25429 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25430 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25431 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25432 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25433 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25434 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25435 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25436 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25437 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25438 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25439 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25440 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25441 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25442 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25443 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25444 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25445 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25446 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25447 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25448 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25449 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25450 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25451 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25452 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25453 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25454 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25455 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25456 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25457 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25458 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25459 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25460 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25461 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25462 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25463 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25464 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25465 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25466 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25467 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25468 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25469 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25470 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25471 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25472 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25473 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25474 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25475 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25476 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25477 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25478 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25479 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25480 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25481 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25482 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25483 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25484 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25485 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25486 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25487 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25488 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25489
58c4a161
JM
25490 * stdlib/tst-strtod.h (F16): New macro.
25491 (F32): Likewise.
25492 (F64): Likewise.
25493 (F32X): Likewise.
25494 (F64X): Likewise.
25495 (F128X): Likewise.
25496 (IF_FLOAT16): Likewise.
25497 (IF_FLOAT32): Likewise.
25498 (IF_FLOAT64): Likewise.
25499 (IF_FLOAT32X): Likewise.
25500 (IF_FLOAT64X): Likewise.
25501 (IF_FLOAT128X): Likewise.
25502 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25503 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25504 (STRTOD_TEST_FOREACH): Likewise.
25505 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25506 (CHOOSE_f64): Likewise.
25507 (CHOOSE_f32x): Likewise.
25508 (CHOOSE_f64x): Likewise.
25509
feda96a1
AS
255102017-11-07 Andreas Schwab <schwab@suse.de>
25511
25512 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25513
1bd0cbb8
MF
255142017-11-07 Mike FABIAN <mfabian@redhat.com>
25515
25516 [BZ #22403]
25517 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25518 to be escaped.
25519 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25520 to be escaped.
25521
363e4519 255222017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
25523
25524 [BZ #22403]
25525 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25526 to be escaped.
25527 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25528 to be escaped.
25529 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25530 to be escaped.
25531
dff91cd4
AZ
255322017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25533
06be6368
AZ
25534 [BZ #22298]
25535 * nptl/allocatestack.c (allocate_stack): Check if
25536 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25537 __PTHREAD_MUTEX_HAVE_PREV is defined.
25538 * nptl/descr.h (pthread): Likewise.
25539 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25540 Likewise.
25541 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25542 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25543 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25544 * sysdeps/nptl/bits/thread-shared-types.h
25545 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25546 defines.
25547 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25548 of __WORDSIZE for internal layout.
25549 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25550 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25551 instead of __WORDSIZE whether to use an union for __spins and __list
25552 fields.
25553 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25554 case.
25555 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25556 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25557 defines.
25558 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25559 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25560 Likewise.
25561 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25562 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25563 Likewise.
25564 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25565 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25566 Likewise.
25567 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25568 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25569 Likewise.
25570 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25571 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25572 Likewise.
25573 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25574 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25575 Likewise.
25576 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25577 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25578 Likewise.
25579 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25580 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25581 Likewise.
25582 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25583 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25584 Likewise.
25585 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25586 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25587 Likewise.
25588 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25589 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25590 Likewise.
25591 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25592 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25593 Likewise.
25594 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25595 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25596 Likewise.
25597 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25598 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25599 Likewise.
25600
72b3c6ee
AZ
25601 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25602 New macros.
25603 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25604 checks for expected input type size.
25605 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25606 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25607 Likewise.
25608 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25609 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25610 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25611 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25612 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25613 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25614 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25615 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25616 superflous runtime assert check.
25617 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25618 Likewise.
25619 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25620 Likewise.
25621 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25622 Likewise.
25623 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25624 Likewise.
25625 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25626 Likewise.
25627 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25628 Likewise.
25629 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25630 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25631 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25632 Likewise.
25633 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25634 Likewise.
25635 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25636 Likewise.
25637 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25638 Likewise.
25639 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25640 Likewise.
25641 * nptl/pthread_attr_setinheritsched.c
25642 (__pthread_attr_setinheritsched): Likewise.
25643 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25644 Likewise.
25645 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25646 Likewise.
25647 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25648 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25649 __old_pthread_attr_setstack): Likewise.
25650 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25651 Likewise.
25652 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25653 Likewise.
25654 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25655 Likewise.
25656 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25657 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25658 Likewise.
25659 * nptl/tst-typesizes.c: Remove file.
25660
dff91cd4
AZ
25661 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25662 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25663 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25664 checks for internal pthread_mutex_t offsets.
25665 * sysdeps/aarch64/nptl/pthread-offsets.h
25666 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25667 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25668 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25669 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25670 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25671 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25672 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25673 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25674 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25675 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25676 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25677 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25678 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25679 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25680 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25681 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25682 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25683 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25684
b7fc95f8
FW
256852017-11-07 Florian Weimer <fweimer@redhat.com>
25686
25687 * bits/mman-linux.h: Move ...
25688 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25689 comment.
25690 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25691 outdated comment.
25692
6b860364
RS
256932017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25694
25695 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25696 Redefine STRNLEN as __strnlen_power8.
25697
802c1f16
AZ
256982017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25699
d83da3a4
AZ
25700 * signal/sighold.c (sighold): Optimize implementation.
25701
6a4235f1
AZ
25702 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25703 __NR_rt_sigqueueinfo.
25704
8b0e795a
AZ
25705 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25706 __sigtimedwait.
25707 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25708 assume __NR_rt_sigtimedwait.
25709 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25710 and add LIBC_CANCEL_HANDLED for cancellation marking.
25711 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25712
a1a638dd
AZ
25713 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25714 (sysdeps_routines): Add memchr_noneon.
25715 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25716 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25717 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25718 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25719 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25720 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25721 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25722
802c1f16
AZ
25723 * sysdeps/arm/arm-ifunc.h: New file.
25724 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25725 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25726 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25727 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25728 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25729 (__memcpy_neon): Avoid create hidden alias.
25730 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25731 (__memcpy_vfp): Likewise.
25732 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25733 (sysdep_routines): Add memcpy_arm.
25734 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25735
abcb584d
L
257362017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25737
25738 [BZ #22362]
25739 * Makerules (make-link-multidir): New.
25740 * config.make.in (multidir): New.
25741 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25742 * configure: Regenerated.
25743 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25744 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25745 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25746 New target.
25747
4e2dff67
JM
257482017-11-06 Joseph Myers <joseph@codesourcery.com>
25749
25750 [BZ #22402]
25751 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25752 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25753
a1c7cd3c
MF
257542017-11-04 Mike FABIAN <mfabian@redhat.com>
25755
25756 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25757 to be escaped.
25758
b9af29c0
FW
257592017-11-04 Florian Weimer <fweimer@redhat.com>
25760
25761 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25762
4ca70e1a
JM
257632017-11-03 Joseph Myers <joseph@codesourcery.com>
25764
25765 * math/math.h [__HAVE_DISTINCT_FLOAT16
25766 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25767 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25768 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25769 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25770 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25771 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25772 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25773 (__MATH_TG_F32): New macro.
25774 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25775 (__MATH_TG_F64X): Likewise.
25776 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25777 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25778
ba0e6668
DL
257792017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25780
25781 * po/de.po: Update translations.
25782 * po/ru.po: Likewise.
25783
bc18a6d3
FW
257842017-11-03 Florian Weimer <fweimer@redhat.com>
25785
25786 * manual/filesys.texi (Hard Links): Document linkat.
25787
97255170
JM
257882017-11-03 Joseph Myers <joseph@codesourcery.com>
25789
86ec4865
JM
25790 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25791 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25792 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25793 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25794 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25795 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25796 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25797 the same as _Float128.
25798 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25799 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25800 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25801
97255170
JM
25802 * stdlib/stdlib.h
25803 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25804 Declare.
25805 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25806 Likewise.
25807 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25808 Likewise.
25809 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25810 (strtof32x): Likewise.
25811 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25812 (strtof64x): Likewise.
25813 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25814 (strtof128x): Likewise.
25815 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25816 (strfromf16): Likewise.
25817 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25818 (strfromf32): Likewise.
25819 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25820 (strfromf64): Likewise.
25821 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25822 (strfromf32x): Likewise.
25823 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25824 (strfromf64x): Likewise.
25825 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25826 (strfromf128x): Likewise.
25827 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25828 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25829 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25830 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25831 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25832 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25833
6d58ce5e
RH
258342017-11-03 Richard Henderson <rth@twiddle.net>
25835
25836 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25837
659ca267
SN
258382017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25839
25840 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25841
94d2f0af
SN
258422017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25843
25844 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25845 DT_TLSDESC_GOT initialization.
25846 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25847 (_dl_tlsdesc_resolve_hold): Likewise.
25848 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25849 (_dl_tlsdesc_resolve_hold): Likewise.
25850 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25851 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25852
28e1ddf3
SN
258532017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25854
25855 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25856
0ca3d1d6
SN
258572017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25858
25859 [BZ #18572]
25860 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25861 non-lazily for R_ARM_TLS_DESC.
25862
2c1d4e5f
SN
258632017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25864
25865 [BZ #17078]
25866 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25867 R_ARM_TLS_DESC case.
25868 (elf_machine_lazy_rel): Remove the prelink check.
25869
91c5a366
SN
258702017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25871
25872 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25873 DT_TLSDESC_GOT initialization.
25874 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25875 (_dl_tlsdesc_resolve_rela): Likewise.
25876 (_dl_tlsdesc_resolve_hold): Likewise.
25877 (_dl_tlsdesc_undefweak): Remove ldar.
25878 (_dl_tlsdesc_dynamic): Likewise.
25879 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25880 (_dl_tlsdesc_resolve_rela): Likewise.
25881 (_dl_tlsdesc_resolve_hold): Likewise.
25882 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25883 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25884 (_dl_tlsdesc_resolve_rela): Likewise.
25885 (_dl_tlsdesc_resolve_hold): Likewise.
25886
b7cf203b
SN
258872017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25888
25889 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25890 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25891
0cc5b022
SN
258922017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25893
25894 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25895 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25896
43ddff2e
JM
258972017-11-02 Joseph Myers <joseph@codesourcery.com>
25898
25899 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25900 Declare.
25901 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25902 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25903 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25904 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25905 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25906 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25907 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25908 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25909 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25910 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25911 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25912
5baac970
MF
259132017-11-02 Mike FABIAN <mfabian@redhat.com>
25914
25915 [BZ #22382]
25916 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25917 * localedata/locales/tpi_PG: Add standard header.
25918
ef11081f
FW
259192017-11-02 Florian Weimer <fweimer@redhat.com>
25920
25921 test-errno-linux: quotactl can fail with EPERM in containers.
25922 * sysdeps/unix/sysv/linux/test-errno-linux.c
25923 (LIST, LIST_FORWARD): New macros.
25924 (check_error_in_list): New function.
25925 (test_wrp_rv): Accept list of permitted error codes.
25926 (test_wrp_rv2): Remove.
25927 (test_wrp): Call test_wrp_rv with list of error codes.
25928 (test_wrp2): Accept list of error codes.
25929 (do_test): Adjust. Allow EPERM for quotactl.
25930
d10b132b
FW
259312017-11-02 Florian Weimer <fweimer@redhat.com>
25932
25933 * stdio-common/bug16.c (do_test): Use array_length.
25934 * stdio-common/errlist.c (_sys_nerr): Likewise.
25935 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25936 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25937 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25938 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25939 (do_test): Use array_length.
25940 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25941 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25942 * stdio-common/tst-printf-round.c (do_test): Likewise.
25943 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25944 (CHECK): Use array_length.
25945 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25946 * stdio-common/tstscanf.c (main): Likewise.
25947 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25948
c94a5688
FW
259492017-11-02 Florian Weimer <fweimer@redhat.com>
25950
25951 Add array_length and array_end macros.
25952 * include/array_length.h: New file.
25953
2fac6a6c
FW
259542017-11-02 Florian Weimer <fweimer@redhat.com>
25955
25956 [BZ #22332]
25957 * posix/tst-glob-tilde.c (do_noescape): New variable.
25958 (one_test): Process it.
25959 (do_test): Set do_noescape. Add unescaping test case.
25960
2f1b212e
JM
259612017-11-01 Joseph Myers <joseph@codesourcery.com>
25962
260fbd0a
JM
25963 * math/complex.h
25964 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25965 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25966 with appropriate macros defined and undefined.
25967 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25968 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25969 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25970 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25971 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25972 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25973 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25974 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25975 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25976 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25977
2f1b212e
JM
25978 * math/complex.h
25979 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25980 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25981 that for long double. Do not condition define and undefine of
25982 _Mdouble_complex_ on [__CFLOAT128].
25983
95b93c6e
L
259842017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25985
25986 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25987 of <sysdeps/generic/sysdep.h>.
25988 (ALIGNARG): Removed.
25989 (ASM_SIZE_DIRECTIVE): Likewise.
25990 (ENTRY): Likewise.
25991 (END): Likewise.
25992 (ENTRY_CHK): Likewise.
25993 (END_CHK): Likewise.
25994 (syscall_error): Likewise.
25995 (mcount): Likewise.
25996 (PSEUDO_END): Likewise.
25997 (L): Likewise.
25998 (atom_text_section): Likewise.
25999 * sysdeps/x86/sysdep.h: New file.
26000 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26001 of <sysdeps/generic/sysdep.h>.
26002 (ALIGNARG): Removed.
26003 (ASM_SIZE_DIRECTIVE): Likewise.
26004 (ENTRY): Likewise.
26005 (END): Likewise.
26006 (ENTRY_CHK): Likewise.
26007 (END_CHK): Likewise.
26008 (syscall_error): Likewise.
26009 (mcount): Likewise.
26010 (PSEUDO_END): Likewise.
26011 (L): Likewise.
26012 (atom_text_section): Likewise.
26013
1bb36539
RL
260142017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26015
26016 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26017 category of LC_CTYPE set to "i18n:2012".
26018 * localedata/locales/i18n_ctype: Regenerate.
26019
067f5d97 260202017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 26021
87bbc4cf
YN
26022 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26023 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26024 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26025 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26026
e8681faa
YN
26027 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26028 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26029 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26030 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26031
540af6e2
JM
260322017-10-31 Joseph Myers <joseph@codesourcery.com>
26033
43e66283
JM
26034 * math/complex.h
26035 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26036 New macro.
26037 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26038 Likewise.
26039 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26040 Likewise.
26041 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26042 (CMPLXF32X): Likewise.
26043 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26044 (CMPLXF64X): Likewise.
26045 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26046 (CMPLXF128X): Likewise.
26047
540af6e2
JM
26048 * math/math.h
26049 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26050 (__MATH_EVAL_FMT2): Define to add 0.0f.
26051
58af72b4
AM
260522017-10-31 Alan Modra <amodra@gmail.com>
26053
26054 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26055 include sysdep.h.
26056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26070 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26071 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26072 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26073 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26074 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26075 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26076 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26077 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26078 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26079 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26080 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26081 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26082 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26083 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26084 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26085 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26086 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26087 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26088 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26089 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26090 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26091 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26092 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26093 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26094 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26095 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26096 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26097 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26098 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26099 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26100 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26101 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26102 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26103 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26104 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26105 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26106 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26107 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26108 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26109 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26110 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26111 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26112 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26113 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26114 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26115 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26116 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26117 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26118 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26119 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26120 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26121 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26122 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26123 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26124 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26125
26126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26127 include sysdep.h and math_ldbl_opt.h.
26128
26129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26130 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26155
112f30b3
AM
261562017-10-31 Alan Modra <amodra@gmail.com>
26157
26158 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26159 string/strncase_l.c, not string/strncase.c.
26160 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26161 (libc_hidden_def): Redefine.
26162
e9e7eced
AM
261632017-10-31 Alan Modra <amodra@gmail.com>
26164
26165 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26166 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26167 (__strcasecmp): Don't define.
26168
f7b465cf
AM
261692017-10-31 Alan Modra <amodra@gmail.com>
26170
26171 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26172 IS_IN (libc).
26173 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26174 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26175 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26176
d46b09f9
AM
261772017-10-31 Alan Modra <amodra@gmail.com>
26178
26179 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26180 USE_AS_STPNCPY.
26181
e9b8e194
AM
261822017-10-31 Alan Modra <amodra@gmail.com>
26183
26184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26185 Redefine only when SHARED.
26186
eda162dd
JM
261872017-10-30 Joseph Myers <joseph@codesourcery.com>
26188
b61afe8c
JM
26189 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26190 Include <bits/math-finite.h> with appropriate macros defined and
26191 undefined.
26192 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26193 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26194 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26195 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26196 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26197
eda162dd
JM
26198 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26199 [!_Mlong_double_] (_Mlong_double_): Likewise.
26200 [!_Mfloat16_] (_Mfloat16_): Likewise.
26201 [!_Mfloat32_] (_Mfloat32_): Likewise.
26202 [!_Mfloat64_] (_Mfloat64_): Likewise.
26203 [!_Mfloat128_] (_Mfloat128_): Likewise.
26204 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26205 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26206 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26207 (_Mdouble_): Define without indirection through those macros.
26208 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26209 [!_Mfloat128_] (_Mfloat128_): Likewise.
26210 [_Mlong_double_] (_Mlong_double_): Likewise.
26211 (_Mdouble_): Define without indirection through those macros.
26212 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26213 not add -D_Mlong_double_=double.
26214 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26215 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26216
4ad5106e
L
262172017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26218
26219 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26220
fe326df7
L
262212017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26222
26223 * sysdeps/x86/libc-start.c: Reformat.
26224
c5cc4514
L
262252017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26226
26227 [BZ #22353]
26228 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26229 (1): Renamed to ...
26230 (L(Src0)): This.
26231 (L(Src1)): New.
26232 (L(Src2)): Likewise.
26233 (L(1)): Renamed to ...
26234 (L(Src3)): This.
26235
ce12269f
JM
262362017-10-30 Joseph Myers <joseph@codesourcery.com>
26237
26238 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26239 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26240 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26241 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26242 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26243 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26244 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26245 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26246 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26247 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26248 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26249 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26250 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26251 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26252 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26253 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26254 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26255 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26256 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26257 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26258 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26259 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26260 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26261 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26262 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26263 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26264 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26265 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26266 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26267 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26268 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26269 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26270 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26271 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26272 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26273 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26274 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26275 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26276 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26277 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26278 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26279 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26280 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26281 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26282 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26283 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26284 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26285 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26286 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26287 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26288 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26289 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26290 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26291 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26292 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26293 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26294 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26295 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26296 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26297 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26298 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26299 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26300 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26301 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26302 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26303 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26304
4484b9e2
FW
263052017-10-30 Florian Weimer <fweimer@redhat.com>
26306
26307 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26308 always defined.
26309 * io/tst-mkdirat.c (do_test): Likewise.
26310 * io/tst-mkfifoat.c (do_test): Likewise.
26311 * io/tst-mknodat.c (do_test): Likewise.
26312 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26313 * locale/programs/locale.c (select_dirs): Likewise.
26314 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26315 * posix/bug-glob2.c (my_readdir): Likewise.
26316 * posix/tst-dir.c (main): Likewise.
26317 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26318 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26319
68fe16dd
FW
263202017-10-30 Florian Weimer <fweimer@redhat.com>
26321
26322 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26323 just __USE_GNU.
26324
dadf23f0
FW
263252017-10-30 Florian Weimer <fweimer@redhat.com>
26326
26327 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26328 Convert to support/test-driver.c.
26329 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26330 New macro parameters.
26331 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26332 * posix/tst-gnuglob.c: New file.
26333 * posix/tst-gnuglob64.c: Likewise.
26334 * posix/Makefile (tests): Add tst-gnuglob64.
26335
363e4519 263362017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
26337
26338 [BZ #19485]
26339 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26340 and use a better translation for March in “mon”.
26341 * localedata/locales/csb_PL: Use more ASCII to improve the
26342 readability of the source.
26343
b110af82
MF
263442017-10-30 Mike FABIAN <mfabian@redhat.com>
26345
26346 [BZ #13953]
26347 * localedata/locales/km_KH: Use ASCII as much
26348 as possible for better readability of the source and
26349 remove useless comments.
26350 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26351 was commented out and apparently wrong anyway because it was
26352 using Lao characters. If Buddhist era should be used
26353 for km_KH, a native speaker should write the correct formaat
26354 for Khmer.
26355 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26356 (According to CLDR, the first weekday for Cambodia is Sunday).
26357 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26358 (These were using Lao characters which must be wrong. If we get
26359 the correct data from a native speaker, we could add it back, until
26360 then it is better not to have name_mr and name_mrs at all than
26361 having it wrong).
26362
f301e533
RL
263632017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26364
26365 * locale/loadlocale.c: Correct size of
26366 _nl_value_type_LC_<category> arrays.
26367
7e9d7073
JM
263682017-10-27 Joseph Myers <joseph@codesourcery.com>
26369
26370 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26371 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26372 with appropriate macros defined and undefined.
26373 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26374 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26375 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26376 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26377 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26378
63d3b468
L
263792017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26380
26381 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26382 "-O2 -march=i586".
26383
a4cc02c7
MF
263842017-10-27 Mike FABIAN <mfabian@redhat.com>
26385
26386 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26387 with lowercase letters to make it agree with CLDR.
26388
1e5971ec
MF
263892017-10-27 Mike FABIAN <mfabian@redhat.com>
26390
26391 [BZ #15260]
26392 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26393 first letters of yesstr and nostr in yesexpr and noexpr,
26394 not for the full words.
26395 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26396 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26397 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26398 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26399 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26400 first letters of yesstr and nostr in yesexpr and noexpr,
26401 until now only English was matched in yesexpr and noexpr.
26402 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26403 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26404 fil but not for tl. As tl and fil are very similar, using fil
26405 is probably better than using English.
26406
363e4519 264072017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
26408
26409 [BZ #21706]
26410 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26411 in yesstr and nostr.
26412
5d220788
JM
264132017-10-26 Joseph Myers <joseph@codesourcery.com>
26414
ecc7da5b
JM
26415 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26416 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26417 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26418 Likewise.
26419 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26420 Likewise.
26421 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26422 Likewise.
26423 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26424 Likewise.
26425 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26426 (SNANF128X): Likewise.
26427
5d220788
JM
26428 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26429 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26430 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26431 (HUGE_VAL_F32): Likewise.
26432 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26433 (HUGE_VAL_F64): Likewise.
26434 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26435 (HUGE_VAL_F32X): Likewise.
26436 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26437 (HUGE_VAL_F64X): Likewise.
26438 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26439 (HUGE_VAL_F128X): Likewise.
26440
363e4519 264412017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
26442
26443 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26444 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26445 for the br_FR locale.
26446
363e4519 264472017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
26448
26449 [BZ #21706]
26450 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26451
337ff3c5
CD
264522017-10-25 Carlos O'Donell <carlos@redhat.com>
26453
02eec681
CD
26454 * locale/programs/record-status.h: Define globals, and function
26455 prototypes. Move function bodies...
26456 * locale/programs/record-status.c: ... to here. New file.
26457 * iconv/Makefile (iconv_prog-modules): Add record-status.
26458 * locale/Makefile (lib-modules): Likewise.
26459 * iconv/iconv_prog.c: Remove verbose.
26460 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26461 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26462 record a warning about ASCII compatibility.
26463 * locale/programs/ld-monetary.c (monetary_finish): If
26464 warn_int_curr_symbol is true then record a warning about the symbol
26465 not being in our ISO 4217 list.
26466 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26467 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26468 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26469 (OPT_NO_WARN): Define.
26470 (OPT_WARN): Define.
26471 (options): Add entry for --no-warnings, and --warnings.
26472 (set_warnings): New function to enable/disable warnings.
26473 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26474 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26475 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26476 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26477 Pass flags to generate_locale.
26478 (generate_locale): Accept new flag argument and pass it to localedef
26479 invocation.
26480 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26481 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26482
56fa555a
CD
26483 * localedata/Makefile (test-input-data): Use full file name.
26484 * localedata/da_DK.in: Rename to...
26485 * localedata/da_DK.ISO-8859-1.in: ...this.
26486 * localedata/de_DE.in: Rename to...
26487 * localedata/de_DE.ISO-8859-1.in: ...this.
26488 * localedata/en_US.in: Rename to...
26489 * localedata/en_US.ISO-8859-1.in: ...this.
26490 * localedata/fr_FR.in: Rename to...
26491 * localedata/fr_FR.UTF-8.in: ... this.
26492 * localedata/hr_HR.in: Rename to...
26493 * localedata/hr_HR.ISO-8859-2.in: ...this.
26494 * localedata/hu_HU.in: Rename to...
26495 * localedata/hu_HU.UTF-8.in: ...this.
26496 * localedata/si_LK.in: Rename to...
26497 * localedata/si_LK.UTF-8.in: ...this.
26498 * localedata/sv_SE.in: Rename to...
26499 * localedata/sv_SE.ISO-8859-1.in: ...this.
26500 * localedata/tr_TR.in: Rename to...
26501 * localedata/tr_TR.UTF-8.in: ...this.
26502 * localedata/uk_UA.in: Rename to...
26503 * localedata/uk_UA.UTF-8.in: ...this.
26504 * localedata/sort-test.sh: Test file is locale name with the
26505 suffix.
26506
337ff3c5
CD
26507 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26508 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26509 file.
26510 * localedata/locales/i18n_ctype: Regenerate.
26511 * localedata/locales/tr_TR: Likewise.
26512 * localedata/locales/translit_circle: Likewise.
26513 * localedata/locales/translit_cjk_compat: Likewise.
26514 * localedata/locales/translit_combining: Likewise.
26515 * localedata/locales/translit_compat: Likewise.
26516 * localedata/locales/translit_font: Likewise.
26517 * localedata/locales/translit_fraction: Likewise.
26518
63da5cd4
RS
265192017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26520
26521 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26522 lxvd2x/stxvd2x with lvx/stvx.
26523 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26524
a122dbfb
L
265252017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26526
26527 * include/alloc_buffer.h: Replace "if if " with "if " in
26528 comments.
26529 * sysdeps/mips/memcpy.S: Likkewise.
26530 * sysdeps/mips/memset.S: Likewise.
26531 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26532 Likewise.
26533 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26534 Likewise.
26535 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26536 Likewise.
26537
9be7530c
MF
265382017-10-25 Mike FABIAN <mfabian@redhat.com>
26539
26540 [BZ #15261]
26541 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26542 yesexpr and noexpr.
26543 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26544 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26545 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26546 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26547 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26548 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26549 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26550
6ccbf6ff
MF
265512017-10-25 Mike FABIAN <mfabian@redhat.com>
26552
26553 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26554 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26555 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26556 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26557 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26558 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26559 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26560 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26561 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26562 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26563 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26564 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26565
58b1a7ea
MF
265662017-10-25 Mike FABIAN <mfabian@redhat.com>
26567
26568 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26569 as possible for better readability of the source.
26570 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26571 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26572 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26573 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26574 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26575 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26576 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26577 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26578 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26579 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26580 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26581 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26582 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26583 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26584 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26585 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26586 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26587 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26588 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26589 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26590 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26591 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26592 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26593 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26594 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26595 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26596 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26597 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26598 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26599 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26600 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26601 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26602 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26603 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26604 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26605 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26606 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26607 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26608 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26609 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26610 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26611 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26612 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26613 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26614 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26615 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26616 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26617 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26618 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26619 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26620 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26621 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26622 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26623 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26624 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26625 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26626 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26627 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26628 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26629 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26630 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26631 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26632 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26633 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26634 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26635 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26636 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26637 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26638 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26639 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26640 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26641 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26642 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26643 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26644 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26645 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26646 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26647 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26648 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26649 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26650 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26651 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26652 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26653 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26654 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26655 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26656 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26657 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26658 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26659 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26660 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26661 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26662 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26663 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26664 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26665 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26666 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26667 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26668 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26669 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26670 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26671 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26672 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26673 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26674 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26675 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26676 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26677 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26678 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26679 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26680 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26681 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26682 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26683 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26684 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26685 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26686 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26687 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26688 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26689 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26690 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26691 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26692 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26693 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26694 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26695 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26696 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26697 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26698 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26699 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26700 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26701 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26702 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26703 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26704 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26705 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26706 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26707 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26708 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26709 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26710 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26711 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26712 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26713 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26714 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26715 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26716 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26717 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26718 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26719 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26720 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26721 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26722 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26723 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26724 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26725 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26726 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26727 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26728 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26729 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26730 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26731 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26732 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26733 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26734 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26735 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26736 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26737 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26738 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26739 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26740 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26741 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26742 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26743 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26744
17e78edb
MF
267452017-10-25 Mike FABIAN <mfabian@redhat.com>
26746
26747 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26748 (Use first letters of yesstr and nostr correctly instead of using
26749 full words).
26750
74e7284f
MF
267512017-10-25 Mike FABIAN <mfabian@redhat.com>
26752
26753 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26754 (Use first letters of yesstr and nostr correctly).
26755
b41a0ff1
MF
267562017-10-25 Mike FABIAN <mfabian@redhat.com>
26757
26758 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26759 also check for the first characters of yesstr and nostr.
26760 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26761 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26762
d971f380
MF
267632017-10-25 Mike FABIAN <mfabian@redhat.com>
26764
26765 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26766 also check for Chinese characters.
26767
effc9e1d
MF
267682017-10-25 Mike FABIAN <mfabian@redhat.com>
26769
26770 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26771 match also for the contents of yesstr and nostr. As the first letter
26772 of yesstr and nostr is equal, checking only for the first letter
26773 is not enough.
26774
10320881
MF
267752017-10-25 Mike FABIAN <mfabian@redhat.com>
26776
26777 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26778 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26779
d8682a15
MF
267802017-10-25 Mike FABIAN <mfabian@redhat.com>
26781
26782 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26783 of main contributor.
26784
1bfb86ae
MF
267852017-10-25 Mike FABIAN <mfabian@redhat.com>
26786
26787 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26788 instead of using English.
26789
da33d60b
MF
267902017-10-25 Mike FABIAN <mfabian@redhat.com>
26791
26792 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26793 by including the first letters of nostr and yesexpr in the regexp.
26794 Also make it more readable by using ASCII where possible.
26795
725bbb3e
MF
267962017-10-25 Mike FABIAN <mfabian@redhat.com>
26797
26798 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26799 the first letter of nostr in the regexp. It agrees with CLDR now.
26800 Also make it more readable by using ASCII where possible.
26801
fe043d8a
MF
268022017-10-24 Mike FABIAN <mfabian@redhat.com>
26803
26804 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26805 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26806 these strings contain a U+17D6 (which somewhat looks like a colon)
26807 instead of a real colon to separate the full words for “yes”
26808 and “no” from the single letter responses.
26809
360a8df3
MF
268102017-10-24 Mike FABIAN <mfabian@redhat.com>
26811
26812 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26813 it agree with CLDR (include the first letter of yesstr).
26814 Also make it more readable by using ASCII where possible.
26815
bab7b6b0
MF
268162017-10-24 Mike FABIAN <mfabian@redhat.com>
26817
26818 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26819 and improve yesexpr and noexpr. The yesstr and nostr apparently
26820 came from CLDR. And CLDR has a bug there: these strings contain
26821 a U+0903 (which looks like a colon) instead of a real colon
26822 to separate the full words for “yes” and “no” from the single
26823 letter responses.
26824
3e79f758
MF
268252017-10-24 Mike FABIAN <mfabian@redhat.com>
26826
26827 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26828 letters of the full yesstr and nostr in yesexpr and noexpr.
26829
4960c879
MF
268302017-10-24 Mike FABIAN <mfabian@redhat.com>
26831
26832 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26833 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26834 * localedata/locales/an_ES: Make source more readable by using ASCII
26835 where possible.
26836
b06a054f
MF
268372017-10-24 Mike FABIAN <mfabian@redhat.com>
26838
26839 [BZ #20952]
26840 * localedata/locales/yuw_PG: New file.
26841 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26842 * locale/iso-639.def: Add Yau (Uruwa).
26843
905a7725
WD
268442017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26845
26846 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26847
3f6bb8a3
WD
268482017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26849
26850 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26851 (__libc_realloc): Likewise.
26852 (_mid_memalign): Likewise.
26853 (__libc_calloc): Likewise.
26854
1d479c8c
MF
268552017-10-23 Mike FABIAN <mfabian@redhat.com>
26856
26857 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26858 by adding the generic +1 and -0 as in all other locales.
26859 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26860 day names and make it more readable by using ASCII where possible.
26861
91c3985c
JM
268622017-10-24 Joseph Myers <joseph@codesourcery.com>
26863
26864 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26865 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26866
aa95a241
AZ
268672017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26868
26869 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26870 WNOHANG in waitpid call.
26871
db9bab09
SP
268722017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26873
a2e0a7f1
SP
26874 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26875 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26876
db9bab09
SP
26877 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26878 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26879 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26880 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26881 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26882 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26883 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26884 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26885 variables.
26886
5062680c
MC
268872017-10-23 Michael Collison <michael.collison@arm.com>
26888
26889 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26890 with __builtin_sqrt.
26891 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26892 with __builtin_sqrtf.
26893 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26894 with __builtin_ceil.
26895 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26896 with __builtin_ceilf.
26897 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26898 with __builtin_floor.
26899 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26900 with __builtin_floorf.
26901 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26902 with __builtin_fma.
26903 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26904 with __builtin_fmaf.
26905 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26906 with __builtin_fmax.
26907 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26908 with __builtin_fmaxf.
26909 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26910 with __builtin_fmin.
26911 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26912 with __builtin_fminf.
26913 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26914 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26915 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26916 with builtin_rint and conversion to int.
26917 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26918 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26919 with builtin_llround.
26920 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26921 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26922 with builtin_rint and conversion to long int.
26923 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26924 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26925 with builtin_lround.
26926 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26927 with builtin_lroundf.
26928 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26929 statements with __builtin_nearbyint.
26930 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26931 statements with __builtin_nearbyintf.
26932 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26933 with __builtin_rint.
26934 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26935 with __builtin_rintf.
26936 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26937 with __builtin_round.
26938 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26939 with __builtin_roundf.
26940 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26941 with __builtin_trunc.
26942 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26943 with __builtin_truncf.
be080b6c
SN
26944 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26945 and s_l[l]round[f].c too.
5062680c 26946
174935af
AM
269472017-10-23 Alan Modra <amodra@gmail.com>
26948
26949 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26950 Adjust stack after restoring regs. Add missing LR cfi_restore.
26951
750a0e49
AM
269522017-10-23 Alan Modra <amodra@gmail.com>
26953
26954 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26955 Move LR save and frame setup/teardown and LR restore to
26956 immediately around memset call. Provide cfi.
26957
5313581c
L
269582017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26959
26960 * sysdeps/i386/fpu/e_powf.S: Removed.
26961 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26962 * sysdeps/i386/fpu/w_powf.c: Likewise.
26963 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26964 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26965 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26966 Add e_powf-sse2.
26967 (CFLAGS-e_powf-sse2.c): New.
26968 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26969 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26970
6089a3ee
L
269712017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26972
26973 * sysdeps/i386/fpu/e_log2f.S: Removed.
26974 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26975 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26976 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26977 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26978 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26979 Add e_log2f-sse2.
26980 (CFLAGS-e_log2f-sse2.c): New.
26981 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26982 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26983
80bb5935
L
269842017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26985
26986 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26987 Add e_powf-fma.
26988 (CFLAGS-e_powf-fma.c): New.
26989 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26990 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26991
5c7adbd8
L
269922017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26993
26994 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26995 Add e_log2f-fma.
26996 (CFLAGS-e_log2f-fma.c): New.
26997 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26998 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26999
0ccc7153
L
270002017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27001
27002 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27003 Add e_logf-fma.
27004 (CFLAGS-e_logf-fma.c): New.
27005 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27006 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27007
fe596486
L
270082017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27009
27010 * sysdeps/i386/fpu/e_logf.S: Removed.
27011 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27012 * sysdeps/i386/fpu/w_logf.c: Likewise.
27013 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27014 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27015 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27016 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27017 Add e_logf-sse2.
27018 (CFLAGS-e_logf-sse2.c): New.
27019 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27020 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27021
7eda65f6
L
270222017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27023
27024 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27025 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27026 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27027 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27028 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27029 Add e_exp2f-sse2.
27030 (CFLAGS-e_exp2f-sse2.c): New.
27031 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27032 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27033
5d15c969
L
270342017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27035
27036 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27037 Add e_exp2f-fma.
27038 (CFLAGS-e_exp2f-fma.c): New.
27039 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27040 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27041
b2f6137e
L
270422017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27043
27044 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27045 * sysdeps/i386/fpu/e_expf.S: Likewise.
27046 * sysdeps/i386/fpu/math_errf.c: Likewise.
27047 * sysdeps/i386/fpu/w_expf.c: Likewise.
27048 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27049 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27050 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27051 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27052 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27053 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27054 Remove e_expf-ia32.
27055 (CFLAGS-e_expf-sse2.c): New.
27056 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27057 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27058
e1f59beb
L
270592017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27060
27061 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27062 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27063 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27064 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27065 e_expf.c.
27066 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27067 New.
27068 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27069 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27070 Renamed to ...
27071 (__redirect_expf): This.
27072 (SYMBOL_NAME): Changed to expf.
27073 (__ieee754_expf): Renamed to ...
27074 (__expf): This.
27075 (__GI___expf): This.
27076 (__ieee754_expf): Add strong_alias.
27077 (__expf_finite): Likewise.
27078 (__expf): New.
27079 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27080
363e4519 270812017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
27082
27083 [BZ #22332]
27084 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27085 unescaping.
27086
e80fc1fc
FW
270872017-10-21 Florian Weimer <fweimer@redhat.com>
27088
27089 * posix/Makefile (tests): Add tst-glob-tilde.
27090 (tests-special): Add tst-glob-tilde-mem.out
27091 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27092 (tst-glob-tilde-mem.out): Add mtrace check.
27093 * posix/tst-glob-tilde.c: New file.
27094
797ba44b
JM
270952017-10-20 Joseph Myers <joseph@codesourcery.com>
27096
27097 * bits/floatn-common.h: New file.
27098 * math/Makefile (headers): Add bits/floatn-common.h.
27099 * bits/floatn.h: Include <bits/floatn-common.h>.
27100 * sysdeps/ia64/bits/floatn.h: Likewise.
27101 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27102 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27103 * sysdeps/powerpc/bits/floatn.h: Likewise.
27104 * sysdeps/x86/bits/floatn.h: Likewise.
27105
fe05e1cb
AZ
271062017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27107
8f6f5362
AZ
27108 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27109 indicates whether compiler emits an warning for alias for
27110 functions with incompatible types.
27111
fe05e1cb
AZ
27112 [BZ #22273]
27113 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27114 the auxiliary process is terminated by a signal before calling _exit
27115 or execve.
27116
b52b0d79
L
271172017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27118
27119 [BZ #21265]
27120 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27121 New.
27122 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27123 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27124 and bit_arch_XSAVEC_Usable if needed.
27125 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27126 and bit_arch_Use_dl_runtime_resolve_opt.
27127 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27128 Removed.
27129 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27130 (bit_arch_Prefer_No_AVX512): Updated.
27131 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27132 (bit_arch_XSAVEC_Usable): New.
27133 (STATE_SAVE_OFFSET): Likewise.
27134 (STATE_SAVE_MASK): Likewise.
27135 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27136 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27137 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27138 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27139 (index_arch_XSAVEC_Usable): New.
27140 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27141 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27142 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27143 is enabled.
27144 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27145 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27146 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27147 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27148 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27149 _dl_runtime_resolve_xsavec.
27150 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27151 Removed.
27152 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27153 instead of VEC_SIZE.
27154 (REGISTER_SAVE_BND0): Removed.
27155 (REGISTER_SAVE_BND1): Likewise.
27156 (REGISTER_SAVE_BND3): Likewise.
27157 (REGISTER_SAVE_RAX): Always defined to 0.
27158 (VMOV): Removed.
27159 (_dl_runtime_resolve_avx): Likewise.
27160 (_dl_runtime_resolve_avx_slow): Likewise.
27161 (_dl_runtime_resolve_avx_opt): Likewise.
27162 (_dl_runtime_resolve_avx512): Likewise.
27163 (_dl_runtime_resolve_avx512_opt): Likewise.
27164 (_dl_runtime_resolve_sse): Likewise.
27165 (_dl_runtime_resolve_sse_vex): Likewise.
27166 (USE_FXSAVE): New.
27167 (_dl_runtime_resolve_fxsave): Likewise.
27168 (USE_XSAVE): Likewise.
27169 (_dl_runtime_resolve_xsave): Likewise.
27170 (USE_XSAVEC): Likewise.
27171 (_dl_runtime_resolve_xsavec): Likewise.
27172 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27173 Removed.
27174 (_dl_runtime_resolve_avx512_opt): Likewise.
27175 (_dl_runtime_resolve_avx): Likewise.
27176 (_dl_runtime_resolve_avx_opt): Likewise.
27177 (_dl_runtime_resolve_sse): Likewise.
27178 (_dl_runtime_resolve_sse_vex): Likewise.
27179 (_dl_runtime_resolve_fxsave): New.
27180 (_dl_runtime_resolve_xsave): Likewise.
27181 (_dl_runtime_resolve_xsavec): Likewise.
27182
363e4519 271832017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
27184
27185 [BZ #22320]
27186 CVE-2017-15670
27187 * posix/glob.c (__glob): Fix one-byte overflow.
27188
6d43de4b
WD
271892017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27190
27191 * malloc/malloc.c (sysdep-cancel.h): Add include.
27192
a15d53e2
WD
271932017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27194
27195 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27196
b9a558e7
WH
271972017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27198
27199 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27200 (tests): Remove $(objpfx)ga_test depdendency.
27201 * resolv/ga_test.c: Remove file.
27202
b6b08b8e
MF
272032017-10-20 Mike FABIAN <mfabian@redhat.com>
27204
27205 [BZ #18812]
27206 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27207 * localedata/locales/kab_DZ: New file.
27208
9ba7e810
L
272092017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27210
27211 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27212 _dl_relocate_static_pie instead of _dl_start to compute load
27213 address in static PIE.
27214
4027a4fd
L
272152017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27216
27217 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27218
2f9314b4
MF
272192017-10-20 Mike FABIAN <mfabian@redhat.com>
27220
27221 [BZ #13605]
27222 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27223 * localedata/locales/shn_MM: New file.
27224
63b4baa4
FW
272252017-10-20 Florian Weimer <fweimer@redhat.com>
27226
27227 [BZ #22321]
27228 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27229 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27230 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27231 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27232 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27233 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27234
95ccb619
L
272352017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27236
27237 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27238
37bb78cb
JM
272392017-10-19 Joseph Myers <joseph@codesourcery.com>
27240
76f2ed92
JM
27241 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27242
37bb78cb
JM
27243 [BZ #22322]
27244 * sysdeps/mips/bits/long-double.h: Move to ....
27245 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27246
d74e6f6c
WD
272472017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27248
27249 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27250
363e4519 272512017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
27252 H.J. Lu <hongjiu.lu@intel.com>
27253
27254 [BZ #22299]
27255 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27256 GLRO(dl_platform) to NULL.
27257 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27258 (modules-names): Add tst-platformmod-1 and
27259 x86_64/tst-platformmod-2.
27260 (CFLAGS-tst-platform-1.c): New.
27261 (CFLAGS-tst-platformmod-1.c): Likewise.
27262 (CFLAGS-tst-platformmod-2.c): Likewise.
27263 (LDFLAGS-tst-platformmod-2.so): Likewise.
27264 ($(objpfx)tst-platform-1): Likewise.
27265 ($(objpfx)tst-platform-1.out): Likewise.
27266 (tst-platform-1-ENV): Likewise.
27267 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27268 * sysdeps/x86_64/tst-platform-1.c: New file.
27269 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27270 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27271
4b0fa403
MF
272722017-10-19 Mike FABIAN <mfabian@redhat.com>
27273
27274 [BZ #13994]
27275 * locale/iso-639.def: Add Karbi.
27276 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27277 * localedata/locales/mjw_IN: New file.
27278
81325b12
JM
272792017-10-18 Joseph Myers <joseph@codesourcery.com>
27280
27281 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27282 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27283 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27284 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27285 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27286 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27287 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27288 <bits/floatn.h>.
27289 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27290 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27291 * manual/math.texi (Mathematics): Document additional architecture
27292 support for _Float128.
27293 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27294 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27295 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27296 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27297 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27298 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27299 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27300 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27301 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27302 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27303 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27304 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27305 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27306 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27307 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27308
a68ba2f3
SN
273092017-10-18 Renlin Li <renlin.li@arm.com>
27310
27311 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27312 _DYNAMIC symbol to calculate load address.
27313
346729f6
PC
273142017-10-18 Paul A. Clarke <pc@us.ibm.com>
27315
27316 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27317 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27318 summary bits.
27319 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27320 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27321
508b1e71
MF
273222017-10-18 Mike FABIAN <mfabian@redhat.com>
27323
27324 [BZ #16777]
27325 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27326 and improve readability by using more ASCII.
27327 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27328 and improve readability by using more ASCII.
27329
2c2245b9
WD
273302017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27331
27332 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27333 not all targets support atomics on bool.
27334
13c92696
JM
273352017-10-17 Joseph Myers <joseph@codesourcery.com>
27336
27337 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27338 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27339 __f128.
27340 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27341 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27342 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27343 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27344 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27345 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27346
71d85045
AZ
273472017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27348
27349 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27350 defines.
27351
3381be5c
WD
273522017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27353
27354 [BZ #22159]
27355 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27356 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27357 (do_check_remalloced_chunk): Fix build bug.
27358 (do_check_malloc_state): Add assert that checks arena->top.
27359 (malloc_consolidate): Remove initialization.
27360 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 27361 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 27362
e956075a
WD
273632017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27364
27365 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27366 (have_fastchunks): Remove.
27367 (clear_fastchunks): Remove.
27368 (set_fastchunks): Remove.
27369 (malloc_state): Add have_fastchunks.
27370 (malloc_init_state): Use have_fastchunks.
27371 (do_check_malloc_state): Remove incorrect invariant checks.
27372 (_int_malloc): Use have_fastchunks.
27373 (_int_free): Likewise.
27374 (malloc_consolidate): Likewise.
27375
e4dd4ace
WD
273762017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27377
27378 * malloc/malloc.c (tcache_put): Inline.
27379 (tcache_get): Inline.
27380
5bf58bc7
AJ
273812017-10-17 Jordi Mallach <jordi@gnu.org>
27382
27383 Aurelien Jarno <aurelien@aurel32.net>
27384 [BZ #2522]
27385 * localedata/locales/ca_ES@valencia: New file.
27386 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27387
386e1c26
RN
273882017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27389
27390 [BZ #22296]
27391 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27392 < 6.x
27393
4e17c78e
AZ
273942017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27395
3d265601
AZ
27396 * scripts/build-many-glibcs.py (Context.add_all_configs):
27397 Add arm-linux-gnueabihf multiarch extra_glibcs.
27398
4e17c78e
AZ
27399 * sysdeps/generic/ifunc-init.h: New file.
27400 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27401
56a752ab
MF
274022017-10-17 Mike FABIAN <mfabian@redhat.com>
27403
27404 [BZ #22019]
27405 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27406 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27407 * stdlib/tst-strfmon_l.c: adapt test case.
27408
c38a4bfd
JM
274092017-10-16 Joseph Myers <joseph@codesourcery.com>
27410
27411 * sysdeps/generic/float128-abi.h: New file.
27412 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27413 non-__prefixed symbols to ....
27414 * math/Versions: ... here. Include <float128-abi.h>.
27415 * stdlib/Versions ... and here. Include <float128-abi.h>
27416
76009b26
FW
274172017-10-16 Florian Weimer <fweimer@redhat.com>
27418
27419 * version.h (VERSION): Switch to ".9000" as the development
27420 version suffix.
27421
7ece6cd5
FW
274222017-10-16 Florian Weimer <fweimer@redhat.com>
27423
27424 [BZ #22050]
27425 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27426 compat_symbol_reference to access non-default version.
27427
d8287b36
FW
274282017-10-16 Florian Weimer <fweimer@redhat.com>
27429
27430 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27431
3480ddc4
CD
274322017-10-16 Carlos O'Donell <carlos@redhat.com>
27433
27434 * include/shlib-compat.h (compat_symbol_reference): Update
27435 comment.
27436
02010e79
JM
274372017-10-16 Joseph Myers <joseph@codesourcery.com>
27438
596f7013
JM
27439 * math/Makefile (test-types): Add
27440 $(type-float128-$(float128-alias-fcts)).
27441 * math/test-float128.h (TYPE_STR): Define conditional on
27442 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27443 (ULP_IDX): Likewise.
27444 (ULP_I_IDX): Likewise.
27445
02010e79
JM
27446 * stdlib/strtold.c: Include <bits/floatn.h>
27447 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27448 and later undefine as macro. Define as weak alias if
27449 [!USE_WIDE_CHAR].
27450 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27451 and later undefine as macro. Define as weak alias if
27452 [USE_WIDE_CHAR].
27453 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27454 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27455 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27456 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27457 Define and later undefine as macro. Define as weak alias if
27458 [USE_WIDE_CHAR].
27459 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27460 <bits/floatn.h>.
27461 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27462 Define and later undefine as macro. Define as weak alias if
27463 [!USE_WIDE_CHAR].
27464 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27465 Define and later undefine as macro. Define as weak alias if
27466 [USE_WIDE_CHAR].
27467
ea91c315
CD
274682017-10-15 Carlos O'Donell <carlos@redhat.com>
27469
27470 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27471 record_verbose messages.
27472
8e57c943
L
274732017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27474
27475 [BZ #22052]
27476 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27477 to silence -O3 -Wall warning with GCC 7.
27478
a4777c46
L
274792017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27480
27481 * Makeconfig (+link-static-before-libc): Use the first of
27482 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27483 * gmon/Makefile (tests): Add tst-gmon-static.
27484 (tests-static): Likewise.
27485 (CFLAGS-tst-gmon-static.c): New.
27486 (CRT-tst-gmon-static): Likewise.
27487 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27488 (tst-gmon-static-ENV): Likewise.
27489 (tests-special): Likewise.
27490 ($(objpfx)tst-gmon-static.out): Likewise.
27491 (clean-tst-gmon-static-data): Likewise.
27492 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27493 * gmon/tst-gmon-static-gprof.sh: New file.
27494 * gmon/tst-gmon-static.c: Likewise.
27495
bc3821bb
CD
274962017-10-13 Carlos O'Donell <carlos@redhat.com>
27497
27498 [BZ #22295]
27499 * locale/programs/linereader.c (get_string): Don't warn on
27500 non-symbolic character.
27501
a3e23a2c
CD
27502 [BZ #22294]
27503 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27504 int_curr_symbol.
27505
f16491eb
CD
27506 [BZ #22292]
27507 * locale/programs/record-status.h: New file
27508 * locale/programs/locale.c: Add comment.
27509 * locale/programs/charmap-dir.c: Don't include error.h.
27510 (charmap_opendir): Use record_error.
27511 * locale/programs/charmap.c: Don't include error.h.
27512 (charmap_read): Use record_error, and record_warning.
27513 (parse_charmap): Likewise.
27514 * locale/programs/ld-address.c: Don't include error.h.
27515 (address_finish): Use record_error, and record_warning.
27516 * locale/programs/ld-collate.c: Don't include error.h.
27517 (collate_finish): Use record_error, and record_error_at_line.
27518 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27519 (ctype_class_new): Likewise.
27520 (ctype_map_new): Likewise.
27521 (set_one_default): Likewise.
27522 (set_class_defaults): Likewise.
27523 (translit_flatten): Likewise.
27524 (allocate_arrays): Use record_error, and record_verbose.
27525 * locale/programs/ld-identification.c: Don't include error.h.
27526 (indentation_finish): Use record_error and record_warning.
27527 * locale/programs/ld-measurement.c: Don't include error.h.
27528 (measurement_finish): Use record_error.
27529 * locale/programs/ld-messages.c
27530 (message_finish): Likewise.
27531 * locale/programs/ld-monetary.c
27532 (monetary_finish): Likewise.
27533 * locale/programs/ld-name.c (name_finish): Use record_error
27534 and record_warning.
27535 * locale/programs/ld-numeric.c
27536 (numeric_finish): Use record_error.
27537 * locale/programs/ld-paper.c: Don't include error.h.
27538 (paper_finish): Use record_error.
27539 * locale/programs/ld-telephone.c: Don't include error.h.
27540 (telephone_finish): Use record_error.
27541 * locale/programs/ld-time.c (time_finish): Likewise.
27542 * locale/programs/linereader.h (lr_error): Make inline func.
27543 * locale/programs/localedef.c: Define recorded_warning_count,
27544 and recorded_error_count.
27545 (main): Use record_error. Use recorded_error_count and
27546 recorded_warning_count to issue correct error returns.
27547 (add_to_readlist): Use record_error.
27548 (find_locale): Likewise.
27549 (load_locale): Likewise.
27550 * locale/programs/localedef.h: Remove be_quiet
27551 and WITH_CUR_LOCALE.
27552 * locale/programs/locarchive.c (compare_from_file): Use
27553 record_error.
27554 * locale/programs/locfile.c (write_locale_data): Use
27555 record_error.
27556 * locale/programs/repertoire.c: Dont include error.h.
27557 (repertoire_complain): Use record_error.
27558 * localedata/tst-fmon.sh: Expect failures from localedef.
27559 * localedata/tst-locale.sh: Likewise.
27560 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27561
8dc8be75
CD
27562 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27563 (REPORTS): Likewise.
27564 (check): Likewise.
27565 (i18n): Rename to...
27566 (i18n_ctype): ...this.
27567 (i18n-report): Rename to...
27568 (i18n_ctype-report): ...this.
27569 * localedata/locales/i18n_ctype: Regenerate.
27570 * localedata/locales/i18n: copy i18n_ctype.
27571
f8718a9e
JM
275722017-10-13 Joseph Myers <joseph@codesourcery.com>
27573
18c08b96
JM
27574 * stdlib/strfroml.c: Include <bits/floatn.h>.
27575 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27576 Define before include of <stdlib.h> and undefine afterwards, then
27577 define as weak alias.
27578
f8718a9e
JM
27579 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27580 Undefine and restore default definition. Use
27581 libm_alias_ldouble_other.
27582
e4f530da
PZ
275832017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27584
27585 [BZ #22153]
27586 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27587 in coredumps.
27588
86445888
JC
275892017-10-13 James Clarke <jrtc27@jrtc27.com>
27590
27591 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27592 Assign sym_map to be map for local symbols, as TLS relocations
27593 use sym_map to determine whether the symbol is defined and to
27594 extract the TLS information.
27595 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27596 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27597
179dcdb7
TMQMF
275982017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27599
e8dbd6a3
TMQMF
27600 [BZ #22189]
27601 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27602 (math_force_eval): Add powerpc version.
27603
179dcdb7
TMQMF
27604 [BZ #22142]
27605 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27606 -DBL_MAX.
27607 (do_test): Likewise.
27608 * stdio-common/tst-printf.sh: Likewise.
27609 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27610 ifdef clause in order to set the carry bit right. Replace r0 by
27611 0 without changing the behavior.
27612
7d25d410
JM
276132017-10-13 Joseph Myers <joseph@codesourcery.com>
27614
006e7664
JM
27615 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27616 <libm-alias-ldouble.h>.
27617 (fabsl): Define using libm_alias_ldouble.
27618 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27619 <libm-alias-ldouble.h>.
27620 (fabsl): Define using libm_alias_ldouble.
27621
1def91b3
JM
27622 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27623 Remove conditional code.
27624
7d25d410
JM
27625 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27626 Rename to __clog10_internal_l.
27627 (__clog10_internal_l): Define aliases using
27628 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27629 with __clog10.
27630
077ee129
RS
276312017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27632
27633 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27634 * benchtests/sincosf-inputs: New file.
27635 * benchtests/cosf-inputs: New file.
27636 * benchtests/sinf-inputs: New file.
27637
5ba41de9
SN
276382017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27639
27640 * posix/tst-spawn.c (do_test): Wait for both children.
27641
d165ca64
L
276422017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27643
27644 [BZ #22284]
27645 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27646 tests-pie): Add tst-gmon-pie.
27647 (CFLAGS-tst-gmon-pie.c): New.
27648 (CRT-tst-gmon-pie): Likewise.
27649 (tst-gmon-pie-ENV): Likewise.
27650 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27651 ($(objpfx)tst-gmon-pie.out): Likewise.
27652 (clean-tst-gmon-pie-data): Likewise.
27653 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27654 * gmon/gmon.c [PIC]: Include <link.h>.
27655 [PIC] (callback): New function.
27656 (write_hist): Add an argument for load address. Subtract load
27657 address from PCs.
27658 (write_call_graph): Likewise.
27659 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27660 it to write_hist and write_call_graph.
7bacdcfc 27661 * gmon/tst-gmon-pie.c: New file.
d165ca64 27662
bc9620d0
JM
276632017-10-11 Joseph Myers <joseph@codesourcery.com>
27664
27665 * math/Makefile (test-types-basic): New variable.
27666 (test-types): Likewise.
27667 (libm-test-support): Use $(test-types) instead of $(types).
27668 (libm-tests-base-normal): Likewise.
27669 (libm-tests-base-finite): Likewise.
27670 (libm-tests-base-inline): Likewise.
27671 (generated): Likewise.
27672 ($(objpfx)libm-test-support-$(t).c): Likewise.
27673 (libm-tests-for-type iterator): Likewise.
27674 (libm-test-support iterator): Likewise.
27675 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27676 (ulp_idx): Use ULP_IDX.
27677 * math/test-ldouble.h: Include <float.h>.
27678 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27679 (ULP_IDX): New macro.
27680 (ULP_I_IDX): Likewise.
27681 * math/test-double.h (ULP_IDX): Likewise.
27682 (ULP_I_IDX): Likewise.
27683 * math/test-float.h (ULP_IDX): Likewise.
27684 (ULP_I_IDX): Likewise.
27685 * math/test-float128.h (ULP_IDX): Likewise.
27686 (ULP_I_IDX): Likewise.
27687
09c76a74
AZ
276882017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27689
27690 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27691 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27692 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27693 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27694 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27695 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27696 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27697 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27698 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27699 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27700 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27701 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27702 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27703 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27704 (SINGLE_THREAD_BY_GLOBAL): Define.
27705 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27706 Likewise.
27707 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27708 Likewise.
27709 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27710 Likewise.
27711 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27712 Likewise.
27713 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27714 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27716 Likewise.
27717
2faa42da
AS
277182017-10-11 Andreas Schwab <schwab@suse.de>
27719
27720 * nis/Makefile (aux): Remove.
27721 * nscd/Makefile (aux): Add nscd_hash.
27722 (nscd-modules): Likewise.
27723 ($(objpfx)nscd): Don't depend on libnsl.
27724 * nscd/nscd_hash.c: New file.
27725 * nscd/nscd_hash.h: Likewise.
27726 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27727 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27728 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27729 instead of <nis/rpcsvc/nis.h>.
27730 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27731
d8425e11
FW
277322017-10-11 Florian Weimer <fweimer@redhat.com>
27733
27734 [BZ #22078]
27735 Avoid large NSS buffers with many addresses, aliases.
27736 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27737 using dynarrays and struct alloc_buffer.
27738 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27739 (tst-nss-files-hosts-multi): Link with -ldl.
27740 * nss/tst-nss-files-hosts-multi.c: New file.
27741
78e806fd
FW
277422017-10-11 Florian Weimer <fweimer@redhat.com>
27743
27744 [BZ #18023]
27745 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27746 scratch_buffer. Eliminate gotos.
27747
541f19ba
JM
277482017-10-11 Joseph Myers <joseph@codesourcery.com>
27749
0ff64d3a
JM
27750 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27751 libm_alias_ldouble_other.
27752 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27753 undefine and redefine.
27754 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27755 (exp10l): Do not define here.
27756 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27757 (weak_alias): Undefine and redefine.
27758 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27759 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27760 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27761 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27762
541f19ba
JM
27763 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27764 [!__fma] (fma): Define using libm_alias_double.
27765 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27766 [!__fmaf] (fmaf): Define using libm_alias_float.
27767 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27768 (fmal): Define using libm_alias_ldouble.
27769
24b6515d
JM
277702017-10-10 Joseph Myers <joseph@codesourcery.com>
27771
27772 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27773 New macro.
27774 (libm_alias_double_other): Likewise.
27775 (libm_alias_double_r): Use libm_alias_double_other_r.
27776 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27777 New macro.
27778 (libm_alias_float_other): Likewise.
27779 (libm_alias_float_r): Use libm_alias_float_other_r.
27780 * sysdeps/generic/libm-alias-float128.h
27781 (libm_alias_float128_other_r): New macro.
27782 (libm_alias_float128_other): Likewise.
27783 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27784 * sysdeps/generic/libm-alias-ldouble.h
27785 (libm_alias_ldouble_other_r): New macro.
27786 (libm_alias_ldouble_other): Likewise.
27787 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27788 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27789 (libm_alias_double_other_r): New macro.
27790 (libm_alias_double_other): Likewise.
27791 (libm_alias_double_r): Use libm_alias_double_other_r.
27792 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27793 (libm_alias_ldouble_other_r): New macro.
27794 (libm_alias_ldouble_other): Likewise.
27795 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27796 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27797 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27798 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27799 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27800 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27801 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27802 * math/w_exp2f.c: Use libm_alias_float_other.
27803 * math/w_expf.c: Likewise.
27804 * math/w_log2f.c: Likewise.
27805 * math/w_logf.c: Likewise.
27806 * math/w_powf.c: Likewise.
27807 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27808 [!__exp2f]: Use libm_alias_float_other.
27809 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27810 [!__expf]: Use libm_alias_float_other.
27811 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27812 [!__log2f]: Use libm_alias_float_other.
27813 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27814 [!__logf]: Use libm_alias_float_other.
27815 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27816 [!__powf]: Use libm_alias_float_other.
27817
8ed70de2
FW
278182017-10-10 Florian Weimer <fweimer@redhat.com>
27819
27820 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27821 function.
27822 (_nss_files_gethostbyname3_r): Call it.
27823
a8dce619
JM
278242017-10-09 Joseph Myers <joseph@codesourcery.com>
27825
27826 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27827 error. Remove default definition of declare_mgen_alias.
27828 [!declare_mgen_alias_r]: Likewise.
27829 * sysdeps/generic/math-type-macros-double.h
27830 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27831 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27832 (declare_mgen_alias_r): Likewise.
27833 * sysdeps/generic/math-type-macros-float128.h
27834 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27835 * sysdeps/generic/math-type-macros-ldouble.h
27836 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27837 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27838 macro.
27839 (declare_mgen_alias_r_s): Likewise.
27840 (declare_mgen_alias_r): Likewise.
27841 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27842 (lgamma_r): Define using libm_alias_double_r.
27843 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27844 (lgammaf_r): Define using libm_alias_float_r.
27845 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27846 (lgammal_r): Define using libm_alias_ldouble_r.
27847 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27848 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27849
bedac136
AZ
278502017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27851
27852 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27853 extern declaration.
27854
c7509db2
JM
278552017-10-09 Joseph Myers <joseph@codesourcery.com>
27856
27857 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27858
d6c064e9
JW
278592017-10-09 Jonathan Wakely <jwakely@redhat.com>
27860
27861 [BZ #21326]
27862 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27863 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27864 * math/Makefile (test-math-cxx11): New test.
27865 * math/test-math-cxx11.cc: New file.
27866
98e07420
CB
278672017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27868
27869 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27870
645ac9aa
CB
27871 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27872 call to allocate the slave pty file descriptor.
27873
fd3b4e7c
JM
278742017-10-06 Joseph Myers <joseph@codesourcery.com>
27875
f85a176f
JM
27876 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27877 [!__fma] (fma): Define using libm_alias_double.
27878 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27879 [!__fma] (fma): Define using libm_alias_double.
27880
fd3b4e7c
JM
27881 * sysdeps/ieee754/float128/float128_private.h: Include
27882 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27883 (libm_alias_ldouble_r): Undefine and redefine.
27884 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27885 <libm-alias-ldouble.h>.
27886 (asinhl): Define using libm_alias_ldouble.
27887 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27888 <libm-alias-ldouble.h>.
27889 (atanl): Define using libm_alias_ldouble.
27890 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27891 <libm-alias-ldouble.h>.
27892 (cbrtl): Define using libm_alias_ldouble.
27893 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27894 <libm-alias-ldouble.h>.
27895 (ceill): Define using libm_alias_ldouble.
27896 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27897 <libm-alias-ldouble.h>.
27898 (copysignl): Define using libm_alias_ldouble.
27899 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27900 <libm-alias-ldouble.h>.
27901 (cosl): Define using libm_alias_ldouble.
27902 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27903 <libm-alias-ldouble.h>.
27904 (erfl): Define using libm_alias_ldouble.
27905 (erfcl): Likewise.
27906 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27907 <libm-alias-ldouble.h>.
27908 (expm1l): Define using libm_alias_ldouble.
27909 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27910 <libm-alias-ldouble.h>.
27911 (fabsl): Define using libm_alias_ldouble.
27912 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27913 <libm-alias-ldouble.h>.
27914 (floorl): Define using libm_alias_ldouble.
27915 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27916 <libm-alias-ldouble.h>.
27917 (fmal): Define using libm_alias_ldouble.
27918 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27919 <libm-alias-ldouble.h>.
27920 (frexpl): Define using libm_alias_ldouble.
27921 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27922 libm_alias_ldouble.
27923 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27924 <libm-alias-ldouble.h>.
27925 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27926 libm_alias_ldouble.
27927 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27928 <libm-alias-ldouble.h>.
27929 (getpayloadl): Define using libm_alias_ldouble.
27930 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27931 <libm-alias-ldouble.h>.
27932 (llrintl): Define using libm_alias_ldouble.
27933 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27934 <libm-alias-ldouble.h>.
27935 (llroundl): Define using libm_alias_ldouble.
27936 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27937 <libm-alias-ldouble.h>.
27938 (logbl): Define using libm_alias_ldouble.
27939 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27940 <libm-alias-ldouble.h>.
27941 (lrintl): Define using libm_alias_ldouble.
27942 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27943 <libm-alias-ldouble.h>.
27944 (lroundl): Define using libm_alias_ldouble.
27945 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27946 <libm-alias-ldouble.h>.
27947 (modfl): Define using libm_alias_ldouble.
27948 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27949 <libm-alias-ldouble.h>.
27950 (nearbyintl): Define using libm_alias_ldouble.
27951 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27952 <libm-alias-ldouble.h>.
27953 (nextafterl): Define using libm_alias_ldouble.
27954 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27955 <libm-alias-ldouble.h>.
27956 (nextupl): Define using libm_alias_ldouble.
27957 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27958 <libm-alias-ldouble.h>.
27959 (remquol): Define using libm_alias_ldouble.
27960 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27961 <libm-alias-ldouble.h>.
27962 (rintl): Define using libm_alias_ldouble.
27963 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27964 <libm-alias-ldouble.h>.
27965 (roundevenl): Define using libm_alias_ldouble.
27966 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27967 <libm-alias-ldouble.h>.
27968 (roundl): Define using libm_alias_ldouble.
27969 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27970 using libm_alias_ldouble.
27971 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27972 <libm-alias-ldouble.h>.
27973 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27974 Define using libm_alias_ldouble.
27975 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27976 <libm-alias-ldouble.h>.
27977 (sincosl): Define using libm_alias_ldouble.
27978 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27979 <libm-alias-ldouble.h>.
27980 (sinl): Define using libm_alias_ldouble.
27981 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27982 <libm-alias-ldouble.h>.
27983 (tanhl): Define using libm_alias_ldouble.
27984 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27985 <libm-alias-ldouble.h>.
27986 (tanl): Define using libm_alias_ldouble.
27987 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27988 <libm-alias-ldouble.h>.
27989 (totalorderl): Define using libm_alias_ldouble.
27990 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27991 <libm-alias-ldouble.h>.
27992 (totalordermagl): Define using libm_alias_ldouble.
27993 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27994 <libm-alias-ldouble.h>.
27995 (truncl): Define using libm_alias_ldouble.
27996 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27997 libm_alias_ldouble.
27998 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27999 libm_alias_ldouble.
28000 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28001 <libm-alias-ldouble.h>.
28002 (weak_alias): Do not undefine and redefine.
28003 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28004 (copysignl): Define with long_double_symbol only if [IS_IN
28005 (libc)].
28006 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28007 <libm-alias-ldouble.h>.
28008 (weak_alias): Do not undefine and redefine.
28009 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28010 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28011 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28012 <libm-alias-ldouble.h>.
28013 (weak_alias): Do not undefine and redefine.
28014 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28015 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28016 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28017 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28018 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28019 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28020 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28021 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28022 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28023 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28024 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28025 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28026 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28027 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28028 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28029 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28030 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28031 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28032 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28033 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28034 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28035 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28036 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28037 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28038 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28039 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28040
1e26d351
CD
280412017-10-06 Carlos O'Donell <carlos@redhat.com>
28042
28043 [BZ #22111]
28044 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28045 (tcache_thread_freeres): Set tcache_shutting_down before
28046 freeing the tcache.
28047 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28048 * malloc/tst-malloc-tcache-leak.c: New file.
28049
d1386762
RS
280502017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28051
28052 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28053 back to powerpc32 file.
28054 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28055 (memrchr): Add __memrchr_power8 to ifunc list.
28056 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28057 extra bytes for unaligned inputs.
28058
6dff1983
JM
280592017-10-06 Joseph Myers <joseph@codesourcery.com>
28060
28061 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28062 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28063 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28064 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28065 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28066
86f9568a
JM
280672017-10-05 Joseph Myers <joseph@codesourcery.com>
28068
0db0b931
JM
28069 * sysdeps/arm/libm-test-ulps: Update.
28070
86f9568a
JM
28071 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28072 <libm-alias-ldouble.h>.
28073 (asinhl): Define using libm_alias_ldouble.
28074 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28075 <libm-alias-ldouble.h>.
28076 (cbrtl): Define using libm_alias_ldouble.
28077 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28078 <libm-alias-ldouble.h>.
28079 (copysignl): Define using libm_alias_ldouble.
28080 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28081 <libm-alias-ldouble.h>.
28082 (cosl): Define using libm_alias_ldouble.
28083 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28084 <libm-alias-ldouble.h>.
28085 (erfl): Define using libm_alias_ldouble.
28086 (erfcl): Likewise.
28087 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28088 <libm-alias-ldouble.h>.
28089 (fmal): Define using libm_alias_ldouble.
28090 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28091 <libm-alias-ldouble.h>.
28092 (frexpl): Define using libm_alias_ldouble.
28093 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28094 libm_alias_ldouble.
28095 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28096 <libm-alias-ldouble.h>.
28097 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28098 libm_alias_ldouble.
28099 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28100 <libm-alias-ldouble.h>.
28101 (getpayloadl): Define using libm_alias_ldouble.
28102 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28103 <libm-alias-ldouble.h>.
28104 (llrintl): Define using libm_alias_ldouble.
28105 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28106 <libm-alias-ldouble.h>.
28107 (llroundl): Define using libm_alias_ldouble.
28108 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28109 <libm-alias-ldouble.h>.
28110 (lrintl): Define using libm_alias_ldouble.
28111 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28112 <libm-alias-ldouble.h>.
28113 (lroundl): Define using libm_alias_ldouble.
28114 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28115 <libm-alias-ldouble.h>.
28116 (modfl): Define using libm_alias_ldouble.
28117 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28118 <libm-alias-ldouble.h>.
28119 (nextupl): Define using libm_alias_ldouble.
28120 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28121 <libm-alias-ldouble.h>.
28122 (remquol): Define using libm_alias_ldouble.
28123 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28124 <libm-alias-ldouble.h>.
28125 (roundevenl): Define using libm_alias_ldouble.
28126 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28127 <libm-alias-ldouble.h>.
28128 (roundl): Define using libm_alias_ldouble.
28129 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28130 using libm_alias_ldouble.
28131 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28132 <libm-alias-ldouble.h>.
28133 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28134 <libm-alias-ldouble.h>.
28135 (setpayloadsigl): Define using libm_alias_ldouble.
28136 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28137 <libm-alias-ldouble.h>.
28138 (sincosl): Define using libm_alias_ldouble.
28139 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28140 <libm-alias-ldouble.h>.
28141 (sinl): Define using libm_alias_ldouble.
28142 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28143 <libm-alias-ldouble.h>.
28144 (tanhl): Define using libm_alias_ldouble.
28145 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28146 <libm-alias-ldouble.h>.
28147 (tanl): Define using libm_alias_ldouble.
28148 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28149 <libm-alias-ldouble.h>.
28150 (totalorderl): Define using libm_alias_ldouble.
28151 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28152 <libm-alias-ldouble.h>.
28153 (totalordermagl): Define using libm_alias_ldouble.
28154 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28155 libm_alias_ldouble.
28156 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28157 libm_alias_ldouble.
28158
9ec87fd2
SP
281592017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28160
dd5bc7f1
SP
28161 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28162 memmove_falkor.
28163 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28164 (__libc_ifunc_impl_list): Likewise.
28165 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28166 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28167
5bfb0404
SP
28168 * benchtests/bench-memmove-walk.c: New file.
28169 * benchtests/Makefile (string-benchset): Add it.
28170
36bb8edf
SP
28171 * benchtests/bench-memset-walk.c: New file.
28172 * benchtests/Makefile (string-benchset): Add it.
28173
9ec87fd2
SP
28174 * benchtests/bench-memcpy-walk.c: New file.
28175 * benchtests/Makefile (string-benchset): Add it.
28176
1e9522c6
FW
281772017-10-05 Florian Weimer <fweimer@redhat.com>
28178
28179 nscd: Eliminate compilation time dependency in the build output.
28180 * nscd/nscd_stat.c (STATDATA_VERSION)
28181 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28182 (STATDATA_VERSION_FULL): New macro definitions.
28183 (compilation): Remove.
28184 (struct statdata): Adjust version member.
28185 (send_stats): Set version from STATDATA_VERSION_FULL.
28186 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28187
644d3857
JM
281882017-10-05 Joseph Myers <joseph@codesourcery.com>
28189
28190 * configure.ac (--enable-add-ons): Remove option.
28191 (machine): Do not mention add-ons in comment.
28192 (LIBC_PRECONFIGURE): Likewise.
28193 (add_ons): Remove variable and sanity checks and logic to locate
28194 add-ons.
28195 (add_ons_automatic): Remove variable.
28196 (configured_add_ons): Likewise.
28197 (add_ons_sfx): Likewise.
28198 (add_ons_pfx): Likewise.
28199 (add_on_subdirs): Likewise.
28200 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28201 consideration of add-ons in Implies handling.
28202 (sysdeps_add_ons): Likewise.
28203 * configure: Regenerated.
28204 * libidn/configure.ac: Remove.
28205 * libidn/configure: Likewise.
28206 * sysdeps/unix/inet/configure.ac: New file.
28207 * sysdeps/unix/inet/configure: New generated file.
28208 * sysdeps/unix/inet/Subdirs: Add libidn.
28209 * Makeconfig (sysdeps-srcdirs): Remove variable.
28210 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28211 ($(common-objpfx)config.status): Do not depend on add-on files.
28212 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28213 comment.
28214 (all-subdirs): Do not include $(add-on-subdirs).
28215 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28216 * config.make.in (add-ons): Remove variable.
28217 (add-on-subdirs): Likewise.
28218 (sysdeps-add-ons): Likewise.
28219 * manual/Makefile (add-chapters): Remove.
28220 ($(objpfx)texis): Do not depend on $(add-chapters).
28221 (nonexamples): Do not handle $(add-chapters).
28222 (examples): Do not handle $(add-ons).
28223 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28224 libc-texinfo.sh.
28225 * manual/install.texi (Installation): Do not mention add-ons.
28226 (--enable-add-ons): Do not document configure option.
28227 * INSTALL: Regenerated.
28228 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28229 * manual/maint.texi (Hierarchy Conventions): Do not mention
28230 add-ons.
28231 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28232 --enable-add-ons.
28233 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28234 add-ons.
28235 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28236 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28237
19f82f35
AS
282382017-10-05 Andreas Schwab <schwab@suse.de>
28239
28240 [BZ #15142]
28241 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28242 (_IO_flush_all_lockp): Always lock list_all_lock.
28243 (_IO_flush_all_linebuffered): Likewise.
28244 (_IO_unbuffer_all): Likewise.
28245
91e7cf98
FW
282462017-10-05 Florian Weimer <fweimer@redhat.com>
28247
28248 [BZ #15436]
28249 Do not flush stdio streams on abort.
28250 * stdlib/abort.c (fflush): Remove macro definition.
28251 (abort): Remove stages related to stdio flushing.
28252
0c251257
FW
282532017-10-05 Florian Weimer <fweimer@redhat.com>
28254
28255 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28256
7ea59e3e
SL
282572017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28258
28259 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28260
84d0e6f0
FW
282612017-10-05 Florian Weimer <fweimer@redhat.com>
28262
28263 * support/support_format_hostent.c (support_format_hostent): Add
28264 more error information for NETDB_INTERNAL.
28265
ee417882
L
282662017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28267
28268 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28269 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28270 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28271 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28272 AC_DEFINE if multi-arch is enabled.
28273 * sysdeps/i386/configure: Regenerated.
28274
a67029ff
L
282752017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28276
28277 * Makeconfig (+link-static-before-libc): Use
28278 $(DEFAULT-LDFLAGS-$(@F)).
28279 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28280 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28281 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28282
5dba84b3
L
282832017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28284
28285 * elf/Makefile (tests): Add tst-main1.
28286 (modules-names): Add tst-main1mod.
28287 ($(objpfx)tst-main1): New.
28288 (CRT-tst-main1): Likewise.
28289 (LDFLAGS-tst-main1): Likewise.
28290 (LDLIBS-tst-main1): Likewise.
28291 (tst-main1mod.so-no-z-defs): Likewise.
28292 * elf/tst-main1.c: New file.
28293 * elf/tst-main1mod.c: Likewise.
28294
758f1bfa
L
282952017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28296
28297 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28298
7e16a5d1
JM
282992017-10-04 Joseph Myers <joseph@codesourcery.com>
28300
28301 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28302 (fma): Define using libm_alias_double.
28303 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28304 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28305 <math_ldbl_opt.h>.
28306 (fmal): Do not define as compat symbol here.
28307 * sysdeps/alpha/fpu/s_fma.c: New file.
28308
db4f87ba
SN
283092017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28310
28311 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28312
72d13ed1
JM
283132017-10-04 Joseph Myers <joseph@codesourcery.com>
28314
32d372d5
JM
28315 [BZ #22229]
28316 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28317 <math_ldbl_opt.h>
28318 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28319 and libc.
28320 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28321 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28322 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28323 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28325 Include <math_ldbl_opt.h>
28326 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28327 and libc.
28328 (compat_symbol): Undefine and redefine.
28329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28330 <math_ldbl_opt.h>
28331 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28332 (compat_symbol): Undefine and redefine.
28333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28334 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28335 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28336 GLIBC_2_1 for libm.
28337 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28338 GLIBC_2.0 copysignl symbol.
28339 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28340 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28341
72d13ed1
JM
28342 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28343
11c4f501
FW
283442017-10-04 Florian Weimer <fweimer@redhat.com>
28345
28346 * scripts/check-local-headers.sh: Ignore nspr4 header file
28347 directory in addition to nspr.
28348
57b4af19
GT
283492017-10-04 Guido Trentalancia <guido@trentalancia.net>
28350
28351 [BZ #17956]
28352 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28353 * configure: Regenerate.
28354 * crypt/Makefile (nss-cpp-flags): New variable.
28355 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28356 (CPPFLAGS-md5-crypt.c): Use it.
28357 * scripts/check-local-headers.sh: Ignore nspr header file
28358 directory.
28359
64d1e08e
AS
283602017-10-04 Andreas Schwab <schwab@suse.de>
28361
28362 * nis/Makefile (services): Remove compat.
28363 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28364 ($(objpfx)libnss_compat.so): Remove rule.
28365 * nis/Versions (libnss_compat): Remove.
28366 * nss/Makefile (services): Add compat.
28367 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28368 * nss/Versions (libnss_compat): Define.
28369 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28370 Don't include <rpc/types.h>. Replace bool_t by bool.
28371 * nss/nss_compat/compat-initgroups.c: Likewise.
28372 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28373 instead of <rpcsrv/ypclnt.h>.
28374 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28375 yp_get_default_domain.
28376 * nss/nss_compat/compat-pwd.c: Likewise.
28377 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28378 yp_get_default_domain.
28379 * nss/nss_compat/nisdomain.c: New file.
28380 * nss/nss_compat/nisdomain.h: Likewise.
28381
86c27ade
SN
283822017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28383
28384 [BZ #22244]
28385 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28386 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28387
8f8f8ef7
SN
283882017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28389
28390 [BZ #22243]
28391 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28392 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28393
95577475
L
283942017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28395
28396 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28397 "movl main@GOTOFF(%ebx), %eax".
28398
02d2d892
L
283992017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28400
28401 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28402 allow undefined _DYNAMIC in PIE libc.a.
28403 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28404 Likewse.
28405
0c609d19
L
284062017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28407
28408 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28409 check _DYNAMIC.
28410
c34a19ed
L
284112017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28412
28413 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28414 check _DYNAMIC.
28415
cdd4155d
L
284162017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28417
28418 * math/test-math-iscanonical.cc (error): Replace bool with int.
28419
4699cb8b
JM
284202017-10-03 Joseph Myers <joseph@codesourcery.com>
28421
d8f619b3
JM
28422 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28423 (modf): Define using libm_alias_double, only if [!__modf].
28424 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28425 <libm-alias-double.h>.
28426 (modf): Define using libm_alias_double, only if [!__modf].
28427 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28428 compat symbol here.
28429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28430 (weak_alias): Do not undefine and redefine.
28431 (strong_alias): Likewise.
28432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28433 (weak_alias): Likewise.
28434 (strong_alias): Likewise.
28435
4699cb8b
JM
28436 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28437 (logb): Define using libm_alias_double, only if [!__logb].
28438 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28439 <libm-alias-double.h>.
28440 (logb): Define using libm_alias_double, only if [!__logb].
28441 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28443 (weak_alias): Do not undefine and redefine.
28444 (strong_alias): Likewise.
28445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28446 (weak_alias): Likewise.
28447 (strong_alias): Likewise.
28448
bcc4e4bb
L
284492017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28450
28451 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28452 Check SHARED instead PIC.
28453
39793865
JM
284542017-10-03 Joseph Myers <joseph@codesourcery.com>
28455
7f1cbdf8
JM
28456 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28457 [!__fmaf] (fmaf): Define using libm_alias_float.
28458
39793865
JM
28459 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28460 (frexp): Define using libm_alias_double.
28461 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28462 <libm-alias-double.h>.
28463 (frexp): Define using libm_alias_double.
28464 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28465 compat symbol here.
28466
aa0235df
GG
284672017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28468
28469 [BZ #22235]
28470 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28471 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28472 (CFLAGS-test-math-iscanonical.cc): New variable.
28473 * math/test-math-iscanonical.cc: New file.
28474 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28475 Provide a C++ implementation based on function overloading,
28476 rather than using __MATH_TG, which uses C-only builtins.
28477 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28478 Likewise.
28479 * sysdeps/powerpc/powerpc64le/Makefile
28480 (CFLAGS-test-math-iscanonical.cc): New variable.
28481
a1132b5e
JM
284822017-10-03 Joseph Myers <joseph@codesourcery.com>
28483
28484 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28485 (ceil): Define using libm_alias_double.
28486 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28487 (floor): Define using libm_alias_double.
28488 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28489 <libm-alias-double.h>.
28490 (llround): Define using libm_alias_double.
28491 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28492 <libm-alias-double.h>.
28493 (lround): Define using libm_alias_double.
28494 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28495 <libm-alias-double.h>.
28496 (nearbyint): Define using libm_alias_double.
28497 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28498 <libm-alias-double.h>.
28499 (remquo): Define using libm_alias_double.
28500 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28501 (rint): Define using libm_alias_double.
28502 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28503 (round): Define using libm_alias_double.
28504 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28505 (trunc): Define using libm_alias_double.
28506 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28507 <libm-alias-double.h>.
28508 (ceil): Define using libm_alias_double.
28509 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28510 <libm-alias-double.h>.
28511 (floor): Define using libm_alias_double.
28512 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28513 <libm-alias-double.h>.
28514 (llround): Define using libm_alias_double.
28515 [_LP64] (lround): Likewise.
28516 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28517 <libm-alias-double.h>.
28518 [!_LP64] (lround): Define using libm_alias_double.
28519 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28520 <libm-alias-double.h>.
28521 (nearbyint): Define using libm_alias_double.
28522 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28523 <libm-alias-double.h>.
28524 (remquo): Define using libm_alias_double.
28525 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28526 <libm-alias-double.h>.
28527 (rint): Define using libm_alias_double.
28528 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28529 <libm-alias-double.h>.
28530 (round): Define using libm_alias_double.
28531 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28532 <libm-alias-double.h>.
28533 (trunc): Define using libm_alias_double.
28534 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28535 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28536 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28537 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28538 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28539 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28540 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28541 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28542 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28543
f275f64e
SN
285442017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28545
28546 * math/w_remainder.c: New file.
28547 * math/w_remainderf.c: New file.
28548 * math/w_remainderl.c: New file.
28549
b8818ab5
L
285502017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28551
28552 * elf/rtld.c (BOOTSTRAP_MAP): New.
28553 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28554 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28555 Likewise.
28556 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28557 Likewise.
28558 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28559 Likewise.
28560
3d1870fa
ST
285612017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28562
28563 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28564 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28565 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28566 rtld_hidden_data_ver): Define to empty.
28567 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28568 __assert_perror_fail): Likewise.
28569 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28570 (__rewinddir): Likewise.
28571 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28572 (__profile_frequency): Likewise.
28573 * include/setjmp.h (__sigsetjmp): Likewise.
28574 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28575 __libc_sigaction): Likewise.
28576 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28577 not set hidden attribute.
28578 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28579 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28580 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28581 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28582 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28583 __fxstatat64): Likewise.
28584 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28585 (__uname): Likewise.
28586 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28587 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28588 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28589 (NO_RTLD_HIDDEN): Set.
28590 * sysdeps/mach/hurd/configure: Refresh.
28591 * config.h.in: Refresh.
28592
527cd19c
JM
285932017-10-02 Joseph Myers <joseph@codesourcery.com>
28594
38722448
JM
28595 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28596 (atan): Define using libm_alias_double.
28597 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28598 (tan): Define using libm_alias_double.
28599 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28600 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28601
527cd19c
JM
28602 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28603 define as weak alias of __atan. Do not define any aliases if
28604 [__atan].
28605 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28606 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28607 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28608 as weak alias of __tan. Do not define any aliases if [__tan].
28609 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28610 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28611 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28612 __atan.
28613 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28614 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28615 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28616 and define as weak alias of __atan.
28617 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28618 __atan.
28619 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28620 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28621 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28622 define as weak alias of __tan.
28623
bdc5c592
SN
286242017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28625
28626 * math/w_lgamma.c: New file.
28627 * math/w_lgammaf.c: New file.
28628 * math/w_lgammal.c: New file.
28629
bd4430c2
SN
286302017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28631
28632 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28633 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28634 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28635 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28636 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28637 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28638 * sysdeps/i386/fpu/w_log2f.c: New file.
28639 * sysdeps/i386/fpu/w_logf.c: New file.
28640 * sysdeps/i386/fpu/w_powf.c: New file.
28641 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28642 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28643 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28644
f7a0b063
SN
286452017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28646 H.J. Lu <hongjiu.lu@intel.com>
28647
28648 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28649 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28650 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28651 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28652 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28653 the new expf code.
28654 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28655 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28656 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28657 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28658 * sysdeps/i386/fpu/w_exp2f.c: New file.
28659 * sysdeps/i386/fpu/w_expf.c: New file.
28660 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28661 * sysdeps/x86_64/fpu/w_expf.c: New file.
28662
72d3d281
SN
286632017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28664
28665 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28666 (log2f): Likewise.
28667 (powf): Likewise.
28668 * math/w_log2f.c: New file.
28669 * math/w_logf.c: New file.
28670 * math/w_powf.c: New file.
28671 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28672 * math/w_logf_compat.c (__logf_compat): Likewise.
28673 * math/w_powf_compat.c (__powf_compat): Likewise.
28674 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28675 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28676 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28677 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28678 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28679 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28680 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28681 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28682 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28683 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28684 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28685 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28686 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28687 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28688 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28690 Likewise.
28691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28692 Likewise.
28693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28694 Likewise.
28695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28696 Likewise.
28697 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28698 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28699 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28700 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28701 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28703 Likewise.
28704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28705 Likewise.
28706 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28707 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28708 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28709
59ba2d2b
RS
287102017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28711
28712 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28713 (sysdep_routines): Add memrchr_power8.
28714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28715 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28716 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28717 New file.
28718 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28719 (memrchr): Add __memrchr_power8 to ifunc list.
28720 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28721
397286ea
L
287222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28723
28724 [BZ #18822]
28725 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28726 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28727 libc_hidden_def.
28728 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28729 (__posix_fallocate64_l64): Likewise.
28730
d0a4512b
L
287312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28732
28733 [BZ #18822]
28734 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28735 (__sched_setaffinity_new): Add libc_hidden_proto and
28736 libc_hidden_def.
28737
c0769f70
L
287382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28739
28740 [BZ #18822]
28741 * include/glob.h (__glob64): Add libc_hidden_proto.
28742 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28743 libc_hidden_def.
28744
0e7d5b6e
L
287452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28746
28747 [BZ #18822]
28748 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28749 attribute_hidden.
28750
bde06c87
L
287512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28752
28753 [BZ #18822]
28754 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28755
fa426590
L
287562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28757
28758 [BZ #18822]
28759 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28760 libc_hidden_def.
28761
2f8a05d8
L
287622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28763
28764 [BZ #18822]
28765 * csu/version.c (__libc_print_version): Add attribute_hidden.
28766
7bfd08ac
L
287672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28768
28769 [BZ #18822]
28770 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28771
0e1fd06c
L
287722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28773
28774 [BZ #18822]
28775 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28776
36e7ae1e
L
287772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28778
28779 [BZ #18822]
28780 * nscd/nscd_helper.c (__nis_hash): New prototype.
28781
87078544
L
287822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28783
28784 [BZ #18822]
28785 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28786 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28787 libc_hidden_def.
28788 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28789 * termios/tcgetattr.c (__tcgetattr): Likewise.
28790
dd3121df
L
287912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28792
28793 [BZ #18822]
28794 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28795 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28796 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28797 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28798 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28799
047d1a81
L
288002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28801
28802 [BZ #18822]
28803 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28804
fd331b11
L
288052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28806
28807 [BZ #18822]
28808 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28809 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28810
57f859bd
L
288112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28812
28813 [BZ #18822]
28814 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28815
d1903329
L
288162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28817
28818 [BZ #18822]
28819 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28820 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28821
b4744101
L
288222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28823
28824 [BZ #18822]
28825 * include/ifreq.h: New file.
28826 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28827 (__ifreq): Likewise.
28828 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28829 (__ifreq): Likewise.
28830
43b7dfd1
L
288312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28832
28833 [BZ #18822]
28834 * include/idna.h: New file.
28835 * inet/getnameinfo.c: Include <idna.h> instead of
28836 <libidn/idna.h>.
28837 (__idna_to_unicode_lzlz): Removed.
28838 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28839 <libidn/idna.h>.
28840 (__idna_to_ascii_lz): Removed.
28841 (__idna_to_unicode_lzlz): Likewise.
28842
2c0cd8f8
L
288432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28844
28845 [BZ #18822]
28846 * include/plural-exp.h: New file.
28847 * intl/plural-exp.c: Include <plural-exp.h> instead of
28848 "plural-exp.h".
28849
8369d216
L
288502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28851
28852 [BZ #18822]
28853 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28854 "getsourcefilter.h".
28855 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28856 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28857 "getsourcefilter.h".
28858 (__get_sol): Removed.
28859
a0aef783
L
288602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28861
28862 [BZ #18822]
28863 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28864 to ...
28865 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28866
3ee8209b
L
288672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28868
28869 [BZ #18822]
28870 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28871 attribute_hidden.
28872
6036fc38
L
288732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28874
28875 [BZ #18822]
28876 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28877
fe84fed0
L
288782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28879
28880 [BZ #18822]
28881 * include/search.h (__tdestroy): Add libc_hidden_proto.
28882 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28883
048dd681
L
288842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28885
28886 [BZ #18822]
28887 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28888
6e342af6
L
288892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28890
28891 [BZ #18822]
28892 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28893 attribute_hidden.
28894
6a088436
L
288952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28896
28897 [BZ #18822]
28898 * include/signal.h (__kill): Add libc_hidden_proto.
28899 (__sigblock): Likewise.
28900 (__sigprocmask): Likewise.
28901 (__sigaltstack): Likewise.
28902 * signal/kill.c (__kill): Add libc_hidden_def.
28903 * signal/sigblock.c (__sigblock): Likewise.
28904 * signal/sigprocmask.c (__sigprocmask): Likewise.
28905 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28906 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28907 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28908 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28909 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28910 Likewise.
28911 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28912 Likewise.
28913 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28914 (__sigprocmask): Likewise.
28915 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28916 Likewise.
28917 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28918 (__sigprocmask): Likewise.
28919 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28920 Likewise.
28921
78cf1d74
L
289222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28923
28924 [BZ #18822]
28925 * include/string.h (__strsep): Add libc_hidden_proto.
28926 * string/strsep.c (__strsep): Add libc_hidden_def.
28927
85b35894
L
289282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28929
28930 [BZ #18822]
28931 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28932 attribute_hidden.
28933 (__spawni): Likewise.
28934
225f7eec
L
289352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28936
28937 [BZ #18822]
28938 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28939 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28940 libc_hidden_def.
28941
372fe247
L
289422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28943
28944 [BZ #18822]
28945 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28946
9e5ee8b8
L
289472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28948
28949 [BZ #18822]
28950 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28951 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28952 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28953 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28954 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28955 Likewise.
28956 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28957 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28958
2ff16592
L
289592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28960
28961 [BZ #18822]
28962 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28963 (__dcigettext): Likewise.
28964
b5648377
L
289652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28966
28967 [BZ #18822]
28968 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28969 libc_hidden_proto.
28970 (__get_nprocs): Likewise.
28971 (__get_phys_pages): Likewise.
28972 (__get_avphys_pages): Likewise.
28973 (__get_child_max): Add attribute_hidden.
28974 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28975 (__get_nprocs): Likewise.
28976 (__get_phys_pages): Likewise.
28977 (__get_avphys_pages): Likewise.
28978 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28979 libc_hidden_def.
28980 (__get_nprocs): Likewise.
28981 (__get_phys_pages): Likewise.
28982 (__get_avphys_pages): Likewise.
28983 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28984 libc_hidden_def.
28985 (__get_nprocs_conf): Likewise.
28986 (__get_phys_pages): Likewise.
28987 (__get_avphys_pages): Likewise.
28988
0389a6aa
L
289892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28990
28991 [BZ #18822]
28992 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28993 attribute_hidden.
28994 (__netlink_close): Likewise.
28995 (__netlink_free_handle): Likewise.
28996 (__netlink_request): Likewise.
28997
d48354d8
L
289982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28999
29000 [BZ #18822]
29001 * include/rpc/rpc.h (__rpc_thread_variables): Add
29002 attribute_hidden.
29003 (__rpc_thread_svc_cleanup): Likewise.
29004 (__rpc_thread_clnt_cleanup): Likewise.
29005 (__rpc_thread_key_cleanup): Likewise.
29006
d6daff12
L
290072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29008
29009 [BZ #18822]
29010 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29011 (__writev): Likewise.
29012 * misc/readv.c (__readv): Add libc_hidden_def.
29013 * misc/writev.c (__writev): Likewise.
29014 * sysdeps/posix/readv.c (__readv): Likewise.
29015 * sysdeps/posix/writev.c (__writev): Likewise.
29016 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29017 (__readv): Likewise.
29018 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29019 (__writev): Likewise.
29020
b68f8620
L
290212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29022
29023 [BZ #18822]
29024 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29025 (__regcomp): Add libc_hidden_proto.
29026 (__regexec): Likewise.
29027 (__regfree): Likewise.
29028 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29029 (__regfree): Likewise.
29030 * posix/regexec.c (__regexec): Likewise.
29031
59c04e67
L
290322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29033
29034 [BZ #18822]
29035 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29036 (__getutent): Likewise.
29037 (__getutid): Likewise.
29038 (__getutline): Likewise.
29039 (__pututline): Likewise.
29040 (__getutent_r): Likewise.
29041 (__getutid_r): Likewise.
29042 (__getutline_r): Likewise.
29043 (__utmpname): Add attribute_hidden.
29044 (__setutent): Likewise.
29045 (__endutent): Likewise.
29046 * login/getutent.c (__getutent): Add libc_hidden_def.
29047 * login/getutent_r.c (__getutent_r): Likewise.
29048 (__pututline): Likewise.
29049 * login/getutid.c (__getutid): Likewise.
29050 * login/getutid_r.c (__getutid_r): Likewise.
29051 * login/getutline.c (__getutline): Likewise.
29052 * login/getutline_r.c (__getutline_r): Likewise.
29053 * login/updwtmp.c (__updwtmp): Likewise.
29054
4587a421
L
290552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29056
29057 [BZ #18822]
29058 * include/dirent.h (__opendir): Always add attribute_hidden.
29059 (__fdopendir): Likewise.
29060 (__closedir): Likewise.
29061 (__readdir): Likewise.
29062 (__readdir64): Add libc_hidden_proto.
29063 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29064 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29065 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29066 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29067 New alias.
29068
9635ce69
L
290692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29070
29071 [BZ #18822]
29072 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29073 * include/netdb.h (__gethostbyaddr_r): Likewise.
29074 (__gethostbyname_r): Likewise.
29075 (__gethostbyname2_r): Likewise.
29076 (__getnetbyaddr_r): Likewise.
29077 (__getnetbyname_r): Likewise.
29078 (__getservbyname_r): Likewise.
29079 (__getservbyport_r): Likewise.
29080 (__getprotobyname_r): Likewise.
29081 (__getprotobynumber_r): Likewise.
29082 (__getnetgrent_r): Likewise.
29083 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29084 (__getrpcbynumber_r): Likewise.
29085 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29086
2e0a6909
L
290872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29088
29089 [BZ #18822]
29090 * include/stdio.h (__fcloseall): Add attribute_hidden.
29091 (__getline): Likewise.
29092 (__path_search): Likewise.
29093 (__gen_tempname): Likewise.
29094 (__libc_message): Likewise.
29095 (__flockfile): Likewise.
29096 (__funlockfile): Likewise.
29097 (__fxprintf): Likewise.
29098 (__fxprintf_nocancel): Likewise.
29099
94fd682c
L
291002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29101
29102 [BZ #18822]
29103 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29104 (__sgetsgent_r): Likewise.
29105
e1b33bba
L
291062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29107
29108 [BZ #18822]
29109 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29110 (__statfs64): Likewise.
29111 (__fstatfs64): Likewise.
29112 * include/sys/statvfs.h (__statvfs64): Likewise.
29113 (__fstatvfs64): Likewise.
29114 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29115 (__statfs_filesize_max): Likewise.
29116 (__statfs_symlinks): Likewise.
29117 (__statfs_chown_restricted): Likewise.
29118
b0f56784
L
291192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29120
29121 [BZ #18822]
29122 * include/time.h (__tzstring): Add attribute_hidden.
29123 (__tzfile_read): Likewise.
29124 (__tzfile_compute): Likewise.
29125 (__tzfile_default): Likewise.
29126 (__tzset_parse_tz): Likewise.
29127 (__offtime): Likewise.
29128 (__asctime_r): Likewise.
29129 (__tzset): Likewise.
29130 (__tz_convert): Likewise.
29131 (__getdate_r): Likewise.
29132 (__getclktck): Likewise.
29133
a4338d99
L
291342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29135
29136 [BZ #18822]
29137 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29138 (__nscd_unmap): Likewise.
29139 (__nscd_cache_search): Likewise.
29140 (__nscd_get_nl_timestamp): Likewise.
29141 (__nscd_getpwnam_r): Likewise.
29142 (__nscd_getpwuid_r): Likewise.
29143 (__nscd_getgrnam_r): Likewise.
29144 (__nscd_getgrgid_r): Likewise.
29145 (__nscd_gethostbyname_r): Likewise.
29146 (__nscd_gethostbyname2_r): Likewise.
29147 (__nscd_gethostbyaddr_r): Likewise.
29148 (__nscd_getai): Likewise.
29149 (__nscd_getgrouplist): Likewise.
29150 (__nscd_getservbyname_r): Likewise.
29151 (__nscd_getservbyport_r): Likewise.
29152 (__nscd_innetgr): Likewise.
29153 (__nscd_setnetgrent): Likewise.
29154
a2ca1652
L
291552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29156
29157 [BZ #18822]
29158 * include/gmp.h: Declare internal functions only if _ISOMAC is
29159 undefined.
29160 (__mpn_extract_double): Add attribute_hidden.
29161 (__mpn_extract_long_double): Likewise.
29162 (__mpn_extract_float128): Likewise.
29163 (__mpn_construct_float): Likewise.
29164 (__mpn_construct_double): Likewise.
29165 (__mpn_construct_long_double): Likewise.
29166 (__mpn_construct_float128): Likewise.
29167 (mpn_add_1): Likewise.
29168 (mpn_addmul_1): Likewise.
29169 (mpn_add_n): Likewise.
29170 (mpn_cmp): Likewise.
29171 (mpn_divrem): Likewise.
29172 (mpn_lshift): Likewise.
29173 (mpn_mul): Likewise.
29174 (mpn_mul_1): Likewise.
29175 (mpn_rshift): Likewise.
29176 (mpn_sub_1): Likewise.
29177 (mpn_submul_1): Likewise.
29178 (mpn_sub_n): Likewise.
29179
44af8a32
L
291802017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29181
29182 [BZ #18822]
29183 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29184 (__wcscat): Likewise.
29185 (__btowc): Likewise.
29186 (__wcrtomb): Likewise.
29187 (__mbsrtowcs): Likewise.
29188 (__wcsrtombs): Likewise.
29189 (__mbsnrtowcs): Likewise.
29190 (__wcsnrtombs): Likewise.
29191 (__wcsncpy): Likewise.
29192 (__wcpncpy): Likewise.
29193 (__wmemcpy): Likewise.
29194 (__wmempcpy): Likewise.
29195 (__wmemmove): Likewise.
29196 (__wcschrnul): Likewise.
29197 (__vfwscanf): Likewise.
29198 (__vswprintf): Likewise.
29199 (__fwprintf): Likewise.
29200 (__vfwprintf): Likewise.
29201
783cd767
L
292022017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29203
29204 [BZ #18822]
29205 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29206 (__getgrgid_r): Likewise.
29207 (__getgrnam_r): Likewise.
29208 * include/pwd.h (__getpwuid_r): Likewise.
29209 (__getpwnam_r): Likewise.
29210 (__fgetpwent_r): Likewise.
29211 * include/shadow.h (__getspnam_r): Likewise.
29212 (__sgetspent_r): Likewise.
29213 (__fgetspent_r): Likewise.
29214
7ec4b39a
L
292152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29216
29217 [BZ #18822]
29218 * include/unistd.h (__access): Add attribute_hidden.
29219 (__lseek64): Likewise.
29220 (__libc_pread64): Likewise.
29221 (__pipe2): Likewise.
29222 (__sleep): Likewise.
29223 (__chdir): Likewise.
29224 (__fchdir): Likewise.
29225 (__getcwd): Likewise.
29226 (__rmdir): Likewise.
29227 (__execvpe): Likewise.
29228 (__execve): Likewise.
29229 (__setsid): Likewise.
29230 (__getuid): Likewise.
29231 (__geteuid): Likewise.
29232 (__getgid): Likewise.
29233 (__getegid): Likewise.
29234 (__getgroups): Likewise.
29235 (__group_member): Likewise.
29236 (__ttyname_r): Likewise.
29237 (__isatty): Likewise.
29238 (__readlink): Likewise.
29239 (__unlink): Likewise.
29240 (__gethostname): Likewise.
29241 (__profil): Likewise.
29242 (__getdtablesize): Likewise.
29243 (__brk): Likewise.
29244 (__ftruncate): Likewise.
29245 (__ftruncate64): Likewise.
29246
8345a760
L
292472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29248
29249 [BZ #18822]
29250 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29251 * argp/argp-fs-xinl.c: Likewise.
29252 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29253 * argp/argp-parse.c: Include <argp.h>.
29254 * argp/argp-xinl.c: Likewise.
29255 * include/argp-fmtstream.h: New file.
29256 * include/argp.h (__argp_error): Add attribute_hidden.
29257 (__argp_failure): Likewise.
29258 (__argp_input): Likewise.
29259 (__argp_state_help): Likewise.
29260
c26dd7c6
L
292612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29262
29263 [BZ #18822]
29264 * include/wchar.h (____wcstof_l_internal): New prototype.
29265 (____wcstod_l_internal): Likewise.
29266 (____wcstold_l_internal): Likewise.
29267 (____wcstol_l_internal): Likewise.
29268 (____wcstoul_l_internal): Likewise.
29269 (____wcstoll_l_internal): Likewise.
29270 (____wcstoull_l_internal): Likewise.
29271 (____wcstof128_l_internal): Likewise.
29272 * sysdeps/ieee754/float128/wcstof128.c
29273 (____wcstof128_l_internal): Removed.
29274 * sysdeps/ieee754/float128/wcstof128_l.c
29275 (____wcstof128_l_internal): Likewise.
29276 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29277 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29278 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29279 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29280 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29281 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29282 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29283 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29284 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29285 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29286
3aff5644
L
292872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29288
29289 [BZ #18822]
29290 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29291 instead of <sys/statvfs.h>.
29292 (__internal_statvfs): Removed.
29293 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29294 instead of <sys/statvfs.h>.
29295 (__internal_statvfs64): Removed.
29296 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29297 "internal_statvfs.h" instead of <sys/statvfs.h>.
29298 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29299 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29300 instead of <sys/statvfs.h>.
29301 (__internal_statvfs): Removed.
29302 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29303 instead of <sys/statvfs.h>.
29304 (__internal_statvfs64): Removed.
29305
8bcdb7e0
L
293062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29307
29308 [BZ #18822]
29309 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29310 (__gconv_close): Likewise.
29311 (__gconv): Likewise.
29312 (__gconv_find_transform): Likewise.
29313 (__gconv_lookup_cache): Likewise.
29314 (__gconv_compare_alias_cache): Likewise.
29315 (__gconv_load_cache): Likewise.
29316 (__gconv_get_path): Likewise.
29317 (__gconv_close_transform): Likewise.
29318 (__gconv_release_cache): Likewise.
29319 (__gconv_find_shlib): Likewise.
29320 (__gconv_release_shlib): Likewise.
29321 (__gconv_get_builtin_trans): Likewise.
29322 (__gconv_compare_alias): Likewise.
29323 * include/dlfcn.h (_dlerror_run): Likewise.
29324 * include/stdio.h (__fortify_fail_abort): Likewise.
29325 * include/time.h (__tz_compute): Likewise.
29326 (__strptime_internal): Likewise.
29327 * intl/gettextP.h (_nl_find_domain): Likewise.
29328 (_nl_load_domain): Likewise.
29329 (_nl_find_msg): Likewise.
29330 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29331 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29332 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29333 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29334 (__gai_find_request): Likewise.
29335 (__gai_remove_request): Likewise.
29336 (__gai_notify): Likewise.
29337 (__gai_notify_only): Likewise.
29338 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29339 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29340 (_dl_non_dynamic_init): Likewise.
29341 (_dl_aux_init): Likewise.
29342 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29343 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29344 Likewise.
29345 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29346 (__wcsmbs_clone_conv): Likewise.
29347 (__wcsmbs_named_conv): Likewise.
29348
8ed3b643
L
293492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29350
29351 [BZ #18822]
29352 * include/stdlib.h (__random): Add attribute_hidden.
29353 (__random_r): Likewise.
29354 (__srandom_r): Likewise.
29355 (__initstate_r): Likewise.
29356 (__setstate_r): Likewise.
29357 (__erand48_r): Likewise.
29358 (__nrand48_r): Likewise.
29359 (__jrand48_r): Likewise.
29360 (__srand48_r): Likewise.
29361 (__seed48_r): Likewise.
29362 (__lcong48_r): Likewise.
29363 (__drand48_iterate): Likewise.
29364 (__setenv): Likewise.
29365 (__unsetenv): Likewise.
29366 (__clearenv): Likewise.
29367 (__ptsname_r): Likewise.
29368 (__posix_openpt): Likewise.
29369 (__add_to_environ): Likewise.
29370 (__realpath): Add libc_hidden_proto.
29371 (__ecvt_r): Likewise.
29372 (__fcvt_r): Likewise.
29373 (__qecvt_r): Likewise.
29374 (__qfcvt_r): Likewise.
29375 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29376 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29377
ef9b6f73
L
293782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29379
29380 [BZ #18822]
29381 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29382 * include/time.h (__mktime_internal): Likewise.
29383 * libio/iolibio.h (__fopen_internal): Likewise.
29384
8da92e72
JDA
293852017-10-01 John David Anglin <danglin@gcc.gnu.org>
29386
29387 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29388 pointer in frame.
29389 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29390 Correct offset used to restore PIC register.
29391
388784cf
JDA
293922017-09-30 John David Anglin <danglin@gcc.gnu.org>
29393
29394 [BZ libc/22165]
29395 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29396 code to load address of __getcontext_ret when generating PIC code.
29397
2000067a
L
293982017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29399
29400 * elf/Makefile (tests-static-internal): Add
29401 tst-tls1-static-non-pie.
29402 (LDFLAGS-tst-tls1-static-non-pie): New.
29403 * elf/tst-tls1-static-non-pie.c: New file.
29404
1e2bffd0
JM
294052017-09-29 Joseph Myers <joseph@codesourcery.com>
29406
29407 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29408 (asinh): Define using libm_alias_double.
29409 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29410 (cbrt): Define using libm_alias_double.
29411 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29412 <libm-alias-double.h>.
29413 (copysign): Define using libm_alias_double.
29414 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29415 (erf): Define using libm_alias_double.
29416 (erfc): Likewise.
29417 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29418 (expm1): Define using libm_alias_double.
29419 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29420 (fabs): Define using libm_alias_double.
29421 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29422 libm_alias_double.
29423 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29424 <libm-alias-double.h>.
29425 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29426 libm_alias_double.
29427 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29428 <libm-alias-double.h>.
29429 (getpayload): Define using libm_alias_double.
29430 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29431 <libm-alias-double.h>.
29432 (llrint): Define using libm_alias_double.
29433 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29434 (lrint): Define using libm_alias_double.
29435 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29436 <libm-alias-double.h>.
29437 (nextup): Define using libm_alias_double.
29438 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29439 <libm-alias-double.h>.
29440 (roundeven): Define using libm_alias_double.
29441 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29442 libm_alias_double.
29443 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29444 <libm-alias-double.h>.
29445 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29446 using libm_alias_double.
29447 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29448 (cos): Define using libm_alias_double.
29449 (sin): Likewise.
29450 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29451 <libm-alias-double.h>.
29452 (sincos): Define using libm_alias_double.
29453 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29454 (tanh): Define using libm_alias_double.
29455 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29456 <libm-alias-double.h>.
29457 (totalorder): Define using libm_alias_double.
29458 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29459 <libm-alias-double.h>.
29460 (totalordermag): Define using libm_alias_double.
29461 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29462 libm_alias_double.
29463 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29464 libm_alias_double.
29465 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29466 <libm-alias-double.h>.
29467 (getpayload): Define using libm_alias_double.
29468 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29469 <libm-alias-double.h>.
29470 (roundeven): Define using libm_alias_double.
29471 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29472 <libm-alias-double.h>.
29473 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29474 <libm-alias-double.h>.
29475 (totalorder): Define using libm_alias_double.
29476 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29477 <libm-alias-double.h>.
29478 (totalordermag): Define using libm_alias_double.
29479 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29480 libc compat symbol here.
29481 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29482 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29483 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29484 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29485 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29486 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29487 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29488 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29489 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29490 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29491
8172aad9
L
294922017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29493
29494 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29495 _dl_relocate_static_pie instead of _dl_start to compute load
29496 address in static PIE. Return 0 if _DYNAMIC is undefined for
29497 static executable.
29498
54464e74
L
294992017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29500
29501 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29502 _DYNAMIC is undefined for static executable.
29503
f6c5e5bc
L
295042017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29505
29506 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29507
2f92505d
JM
295082017-09-29 Joseph Myers <joseph@codesourcery.com>
29509
29510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29511
bd8d53bb
WD
295122017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29513
29514 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29515 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29516 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29517 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29518 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29519 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29520 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29521 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29522 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29523 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29524 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29525 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29526 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29527 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29528 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29529 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29530 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29531
fffb1507
WD
295322017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29533
29534 * math/bits/cmathcalls.h (cimag): Remove inline.
29535 (creal): Remove inline.
29536 (conj): Remove inline.
29537
4ea49f4c
SN
295382017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29539
29540 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29541 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29542 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29543 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29544 (issignalingf_inline): Likewise.
29545 (POWF_LOG2_TABLE_BITS): Likewise.
29546 (POWF_LOG2_POLY_ORDER): Likewise.
29547 (POWF_SCALE_BITS): Likewise.
29548 (POWF_SCALE): Likewise.
29549 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29550 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29551 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29552
875c76c7
SN
295532017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29554
29555 * math/Makefile (type-float-routines): Add e_log2f_data.
29556 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29557 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29558 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29559 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29560 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29561 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29562 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29563
90c42e40
SN
295642017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29565
29566 * math/Makefile (type-float-routines): Add e_logf_data.
29567 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29568 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29569 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29570 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29571 * sysdeps/i386/fpu/e_logf_data.c: New file.
29572 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29573 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29574
4088d8dd
L
295752017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29576
29577 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29578 undefined _DYNAMIC in PIE libc.a.
29579 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29580 Likewse.
29581
4d3693ec
WD
295822017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29583
29584 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29585 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29586 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29587 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29588 (__signbit): Remove.
29589 (__signbitl): Remove.
29590 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29591 (__signbit): Remove.
29592 (__signbitl): Remove.
29593 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29594 (__signbit): Remove.
29595 (__signbitl): Remove.
29596 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29597 (__signbit): Remove.
29598 (__signbitl): Remove.
29599 * sysdeps/tile/bits/mathinline.h: Delete file.
29600 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29601 (__signbit): Remove.
29602 (__signbitl): Remove.
29603
1e6d0723
WD
296042017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29605
29606 * math/math.h: Improve handling of C99 isgreater macros.
29607 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29608 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29609 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29610 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29611 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29612
b2f03cf3
SN
296132017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29614
29615 * sysdeps/aarch64/libm-test-ulps: Update.
29616
f124cb38
JM
296172017-09-28 Joseph Myers <joseph@codesourcery.com>
29618
29619 [BZ #22225]
29620 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29621 math_opt_barrier on argument when doing arithmetic on it.
29622 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29623 Likewise. Use math_force_eval not math_opt_barrier after
29624 arithmetic.
29625 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29626 math_opt_barrier on argument when doing arithmetic on it.
29627 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29628 Likewise.
29629
7edd0691
L
296302017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29631
29632 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29633 libc_hidden_def.
29634 (__freeifaddrs): Likewise.
29635
2c7bbfaf
ST
296362017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29637
29638 * include/dirent.h (__dirfd): New declaration.
29639 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29640 alias.
29641 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29642 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29643 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
29644 * include/unistd.h (__revoke): New declaration.
29645 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29646 alias.
29647 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29648 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29649 revoke.
64a4af28
ST
29650 * include/dirent.h (__seekdir): New declaration.
29651 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29652 redefine as weak alias.
29653 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29654 of seekdir.
4009ddc6
ST
29655 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29656 and use libc_hidden_def on them.
29657 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29658 them.
29659 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29660 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29661 instead of getifaddrs and freeifaddrs.
2c7bbfaf 29662
825adeee
L
296632017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29664
29665 [BZ #18822]
29666 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29667 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29668 (__dso_handle): Remove declaration.
29669 * dlfcn/tstatexit.c (__dso_handle): Removed.
29670 (main): Don't check __dso_handle.
29671 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29672 (main): Don't check __dso_handle.
29673 * include/dso_handle.h: New file.
29674 * malloc/mtrace.c: Include <dso_handle.h>.
29675 (mtrace): Pass __dso_handle directly.
29676 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29677 (__dso_handle): Remove declaration.
29678 (__pthread_atfork): Pass __dso_handle directly.
29679 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29680 (__dso_handle): Removed.
29681 * posix/wordexp-test.c: Include <dso_handle.h>.
29682 (__dso_handle): Remove declaration.
29683 (__app_register_atfork): Pass __dso_handle directly.
29684 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29685 (__dso_handle): Remove declaration.
29686 (at_quick_exit): Pass __dso_handle directly.
29687 * stdlib/atexit.c: Include <dso_handle.h>.
29688 (__dso_handle): Remove declaration.
29689 (atexit): Pass __dso_handle directly.
29690 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29691 (__dso_handle): Removed.
29692
bfb0deb3
JM
296932017-09-26 Joseph Myers <joseph@codesourcery.com>
29694
29695 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29696 using VDSO.
29697
cebcb9f8
AM
296982017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29699
29700 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29701 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29702 values to correct default value for given type.
29703
592d5c75
L
297042017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29705
29706 [BZ #22101]
29707 * elf/Makefile (tests): Add tst-debug1.
29708 ($(objpfx)tst-debug1): New.
29709 ($(objpfx)tst-debug1.out): Likewise.
29710 ($(objpfx)tst-debug1mod1.so): Likewise.
29711 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29712 with p_filesz == 0.
29713 * elf/tst-debug1.c: New file.
29714
2d9193f2
JM
297152017-09-26 Joseph Myers <joseph@codesourcery.com>
29716
29717 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29718 Define using __ifunc.
29719
4c5a7a02
TMQMF
297202017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29721
29722 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29723 exp2f() values.
29724
12ef66c4
JM
297252017-09-26 Joseph Myers <joseph@codesourcery.com>
29726
29727 [BZ #22156]
29728 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29729
44dade71
FW
297302017-09-26 Florian Weimer <fweimer@redhat.com>
29731
29732 * resolv/Makefile (tests-internal): Fix typo in comment.
29733
eaca16f1
FW
297342017-09-26 Florian Weimer <fweimer@redhat.com>
29735
29736 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29737
ccf970c7
AZ
297382017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29739
5f9f31ad
AZ
29740 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29741 Use an union instead of a max_align_t array for __space,
29742 so that __space is the same size on all platforms.
29743 * malloc/scratch_buffer_grow_preserve.c
29744 (__libc_scratch_buffer_grow_preserve): Likewise.
29745
ccf970c7
AZ
29746 [BZ #22183]
29747 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29748 version to 2.
29749 * posix/Makefile (routines): Add glob-lstat-compat and
29750 glob64-lstat-compat.
29751 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29752 * posix/glob-lstat-compat.c: New file.
29753 * posix/glob64-lstat-compat.c: Likewise.
29754 * posix/tst-glob_lstat_compat.c: Likewise.
29755 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29756 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29757 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29758 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29759 Likewise.
29760 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29761 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29762 * posix/glob.c (glob_lstat): New function.
29763 (glob): Rename to __glob and add versioned symbol to 2.27.
29764 (glob_in_dir): Use glob_lstat.
29765 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29766 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29767 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29768 2.27.
29769 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29770 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29771 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29772 gl_lstat on glob call.
29773 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29774 and glob64 symbols.
29775 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29776 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29777 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29778 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29779 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29780 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29781 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29782 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29783 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29784 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29785 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29786 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29788 Likewise.
29789 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29791 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29792 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29793 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29794 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29795 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29798 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29799 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29800 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29801
b4396163
L
298022017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29803
29804 * configure.ac (AS): Require binutils 2.25 or later.
29805 * configure: Regenerated.
29806
8f834987
PP
298072017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29808
29809 [BZ #22207]
29810 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29811 VM size.
29812
3de93d19
DD
298132017-09-25 DJ Delorie <dj@redhat.com>
29814
29815 [BZ #22161]
29816 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29817 resetting timeout.
29818
9947638d
SL
298192017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29820
29821 * sysdeps/ieee754/dbl-64/sincos32.h
29822 [SINCCOS32_H]: Remove define.
29823 [SINCOS32_H]: Define.
29824
f5f0f526
SN
298252017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29826
29827 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29828 (exp2f): Likewise.
29829 * math/w_exp2f.c: New file.
29830 * math/w_expf.c: New file.
29831 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29832 * math/w_expf_compat.c (__expf_compat): Likewise.
29833 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29834 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29835 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29836 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29837 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29838 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29839 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29840 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29841 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29842 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29843 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29844 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29845 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29846 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29848 Likewise.
29849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29850 Likewise.
29851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29852 Likewise.
29853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29854 Likewise.
29855 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29856 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29857 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29858 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29859 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29861 Likewise.
29862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29863 Likewise.
29864 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29865 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29866 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29867
72aa6233
SN
298682017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29869
29870 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29871 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29872 (roundtoint, converttoint): Likewise.
29873 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29874 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29875 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29876 * sysdeps/ieee754/flt-32/math_config.h: New file.
29877 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29878 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29879 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29880 * sysdeps/i386/fpu/math_errf.c: New file.
29881 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29882 * sysdeps/ia64/fpu/math_errf.c: New file.
29883 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29884 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29885
5e6f3253
ST
298862017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29887
29888 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29889 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29890 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29891 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29892 to make sure that these symbols are defined.
b38a42a0
ST
29893 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29894 of <limits.h>
29895 (__need_NULL): Do not define.
29896 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29897 alignment.
29898 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29899 CMGROUP_MAX, cmsgcred): Do not define.
29900 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29901 NULL.
29902 * bits/socket.h: Likewise.
fcafcd16
ST
29903 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29904 __gettimeofday instead of gettimeofday.
29905 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29906 instead of settimeofday.
5e6f3253 29907
2f49ce7d
JM
299082017-09-22 Joseph Myers <joseph@codesourcery.com>
29909
29910 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29911 (asinhf): Define using libm_alias_float.
29912 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29913 (atanf): Define using libm_alias_float.
29914 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29915 (cbrtf): Define using libm_alias_float.
29916 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29917 (ceilf): Define using libm_alias_float.
29918 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29919 <libm-alias-float.h>.
29920 (copysignf): Define using libm_alias_float.
29921 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29922 (cosf): Define using libm_alias_float.
29923 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29924 (erff): Define using libm_alias_float.
29925 (erfcf): Likewise.
29926 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29927 (expm1f): Define using libm_alias_float.
29928 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29929 (fabsf): Define using libm_alias_float.
29930 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29931 (floorf): Define using libm_alias_float.
29932 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29933 (frexpf): Define using libm_alias_float.
29934 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29935 libm_alias_float.
29936 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29937 <libm-alias-float.h>.
29938 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29939 libm_alias_float.
29940 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29941 <libm-alias-float.h>.
29942 (getpayloadf): Define using libm_alias_float.
29943 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29944 <libm-alias-float.h>.
29945 (llrintf): Define using libm_alias_float.
29946 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29947 <libm-alias-float.h>.
29948 (llroundf): Define using libm_alias_float.
29949 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29950 (logbf): Define using libm_alias_float.
29951 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29952 (lrintf): Define using libm_alias_float.
29953 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29954 (lroundf): Define using libm_alias_float.
29955 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29956 (modff): Define using libm_alias_float.
29957 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29958 <libm-alias-float.h>.
29959 (nearbyintf): Define using libm_alias_float.
29960 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29961 <libm-alias-float.h>.
29962 (nextafterf): Define using libm_alias_float.
29963 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29964 <libm-alias-float.h>.
29965 (nextupf): Define using libm_alias_float.
29966 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29967 <libm-alias-float.h>.
29968 (remquof): Define using libm_alias_float.
29969 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29970 (rintf): Define using libm_alias_float.
29971 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29972 <libm-alias-float.h>.
29973 (roundevenf): Define using libm_alias_float.
29974 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29975 (roundf): Define using libm_alias_float.
29976 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29977 using libm_alias_float.
29978 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29979 <libm-alias-float.h>.
29980 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29981 Define using libm_alias_float.
29982 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29983 <libm-alias-float.h>.
29984 (sincosf): Define using libm_alias_float.
29985 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29986 (sinf): Define using libm_alias_float.
29987 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29988 (tanf): Define using libm_alias_float.
29989 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29990 (tanhf): Define using libm_alias_float.
29991 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29992 <libm-alias-float.h>.
29993 (totalorderf): Define using libm_alias_float.
29994 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29995 <libm-alias-float.h>.
29996 (totalordermagf): Define using libm_alias_float.
29997 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29998 (truncf): Define using libm_alias_float.
29999 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30000 libm_alias_float.
30001 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30002 libm_alias_float.
30003
c5c4a626
GG
300042017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30005
30006 [BZ #22146]
30007 math/math.h: Let fpclassify use the builtin in C++ mode, even
30008 when optimazing for size.
30009
23947846
JM
300102017-09-22 Joseph Myers <joseph@codesourcery.com>
30011
30012 * csu/Makefile (generated): Do not add version-info.h.
30013 (before-compile): Likewise.
30014 (all-Banner-files): Remove variable.
30015 ($(objpfx)version-info.h): Remove rule.
30016 * csu/version.c (banner): Do not include "version-info.h".
30017 * libidn/Banner: Remove.
30018 * manual/contrib.texi (Simon Josefsson): New entry.
30019
9ac3c682
GG
300202017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30021
30022 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30023 Remove conditionals on LDBL_MANT_DIG.
30024 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30025 (__ieee754_lgammal_r): Likewise.
30026
d2f0ed09
GG
300272017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30028
30029 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30030 _Float128 and L().
30031 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30032 _Float128 and L(). Replace _Float128 with long double and L(x)
30033 with xL, throughout the file.
30034 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30035 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30036 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30037 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30038
c5c2e667
GG
300392017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30040
30041 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30042 sysdeps/ieee754/ldbl-128ibm.
30043 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30044 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30045 of including it. Keep _Float128 and L() intact. These will be
30046 reviewed by a separate patch.
30047 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30048 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30049 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30050 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30051
e010deb2
GG
300522017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30053
30054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30055 (__finitef128): Define to __redirect___finitef128.
30056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30057 (__isinff128): Define to __redirect___isinff128.
30058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30059 (__isnanf128): Define to __redirect___isnanf128.
30060
ffa44804
GG
300612017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30062
30063 * sysdeps/powerpc/powerpc64le/Makefile
30064 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30065 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30066
e5e4d7cc
PP
300672017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30068 Carlos O'Donell <carlos@redhat.com>
30069
30070 [BZ #22180]
30071 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30072 * stdlib/test-dlclose-exit-race.c: New file.
30073 * stdlib/test-dlclose-exit-race-helper.c: New file.
30074 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30075
c10c5267
JM
300762017-09-21 Joseph Myers <joseph@codesourcery.com>
30077
30078 * crypt/Banner: Remove file.
30079 * nptl/Banner: Likewise.
30080 * resolv/Banner: Likewise.
30081 * soft-fp/Banner: Likewise.
30082 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30083 ($(objpfx)version.d): Remove dependency on banner.h.
30084 ($(objpfx)version.os): Likewise.
30085 * nptl/version.c (banner): Do not include banner.h.
30086 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30087 Jelinek and BIND code.
30088
1cc9e59a
PP
300892017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30090 Carlos O'Donell <carlos@redhat.com>
30091
30092 * support/xdlfcn.h: New file.
30093 * support/xdlfcn.c: New file.
30094 * support/Makefile (libsupport-routines): Add xdlfcn.
30095 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30096
ae8372d7
JM
300972017-09-20 Joseph Myers <joseph@codesourcery.com>
30098
30099 [BZ #20142]
30100 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30101 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30102 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30103 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30104 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30105 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30106 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30107 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30108
26e70aec 301092017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
30110 Ricky Zhou <rickyz@google.com>
30111 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
30112
30113 [BZ #14333]
30114 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30115 Remove atomics.
30116 (__new_exitfn): Fail registration when we finished at_exit processing.
30117 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30118 * stdlib/on_exit.c (__on_exit): Likewise.
30119 * stdlib/exit.c (__exit_funcs_done): New variable.
30120 (__run_exit_handlers): Use __exit_funcs_lock.
30121 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30122 declarations.
30123 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30124 (test-cxa_atexit-race, test-on_exit-race): New tests.
30125 * stdlib/test-atexit-race-common.c: New file.
30126 * stdlib/test-atexit-race.c: New file.
30127 * stdlib/test-at_quick_exit-race.c: New file.
30128 * stdlib/test-cxa_atexit-race.c: New file.
30129 * stdlib/test-on_exit-race.c: New file.
30130
0525ce48
SN
301312017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30132
30133 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30134 * benchtests/exp2f-inputs: Copy of expf-inputs.
30135 * benchtests/log2f-inputs: Copy of logf-inputs.
30136
d82468d1
JM
301372017-09-19 Joseph Myers <joseph@codesourcery.com>
30138
30139 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30140 Explicitly take address of first element of array arguments in
30141 call to INLINE_SYSCALL.
30142
43ffc53a
AS
301432017-09-19 Andreas Schwab <schwab@suse.de>
30144
30145 [BZ #22134]
30146 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30147 execveat first.
30148 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30149 unimplemented.
30150 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30151 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30152 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30153 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30154 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30155 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30156 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30157 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30158 * posix/Makefile (tests): Add tst-fexecve.
30159 * posix/tst-fexecve.c: New file.
30160
a5dcc87e
WD
301612017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30162
30163 * benchtests/Makefile: Add logf benchmark.
30164 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30165
7024d544
WD
301662017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30167
30168 * benchtests/Makefile: Add expf benchmark.
30169 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30170
ca3a382e
WD
301712017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30172
30173 * csu/Makefile: Add -funwind-tables to libc-start.c.
30174 * debug/Makefile: Add -funwind-tables to backtrace.c.
30175 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30176 * sysdeps/arm/Makefile: Likewise.
30177 * sysdeps/i386/Makefile: Likewise.
30178 * sysdeps/m68k/Makefile: Likewise.
30179 * sysdeps/mips/Makefile: Likewise.
30180 * sysdeps/nios2/Makefile: Likewise.
30181 * sysdeps/sh/Makefile: Likewise.
30182 * sysdeps/sparc/Makefile: Likewise.
30183
eb375def
JM
301842017-09-19 Joseph Myers <joseph@codesourcery.com>
30185
30186 * benchtests/Makefile (bench-math): Add trunc and truncf.
30187 (CFLAGS-bench-trunc.c): New variable.
30188 (CFLAGS-bench-truncf.c): Likewise.
30189 * benchtests/trunc-inputs: New file.
30190 * benchtests/truncf-inputs: Likewise.
30191
bd17ba29
RS
301922017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30193
30194 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30195
92892fdb
JM
301962017-09-18 Joseph Myers <joseph@codesourcery.com>
30197
6d9b0b5a
JM
30198 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30199 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30200 redefine.
30201 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30202 (exp10l): Define as weak alias.
30203 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30204 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30205 and redefine.
30206 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30207 (remainderl): Define as weak alias.
30208
92892fdb
JM
30209 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30210 (fmal): Define using libm_alias_ldouble.
30211 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30212 (acoshl): Define using libm_alias_ldouble.
30213 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30214 (acosl): Define using libm_alias_ldouble.
30215 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30216 (asinl): Define using libm_alias_ldouble.
30217 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30218 (atan2l): Define using libm_alias_ldouble.
30219 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30220 (atanhl): Define using libm_alias_ldouble.
30221 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30222 (coshl): Define using libm_alias_ldouble.
30223 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30224 (exp10l): Define using libm_alias_ldouble.
30225 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30226 (exp2l): Define using libm_alias_ldouble.
30227 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30228 (expl): Define using libm_alias_ldouble.
30229 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30230 (fmodl): Define using libm_alias_ldouble.
30231 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30232 (hypotl): Define using libm_alias_ldouble.
30233 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30234 (j0l): Define using libm_alias_ldouble.
30235 (y0l): Likewise.
30236 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30237 (j1l): Define using libm_alias_ldouble.
30238 (y1l): Likewise.
30239 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30240 (jnl): Define using libm_alias_ldouble.
30241 (ynl): Likewise.
30242 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30243 (log10l): Define using libm_alias_ldouble.
30244 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30245 (log2l): Define using libm_alias_ldouble.
30246 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30247 (logl): Define using libm_alias_ldouble.
30248 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30249 (powl): Define using libm_alias_ldouble.
30250 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30251 (remainderl): Define using libm_alias_ldouble.
30252 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30253 (sinhl): Define using libm_alias_ldouble.
30254 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30255 (sqrtl): Define using libm_alias_ldouble.
30256 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30257 (tgammal): Define using libm_alias_ldouble.
30258 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30259 (exp10l): Do not use long_double_symbol here.
30260 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30261 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30262 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30263 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30264 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30265 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30266 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30267 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30268 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30269 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30270 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30271 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30272 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30273 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30274 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30275 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30276 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30277 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30278 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30279 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30280 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30281 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30282
6cd380dd
WB
302832017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30284
30285 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30286 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30287
1c6d89e9
ST
302882017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30289
30290 * io/read.c (read): Add libc_hidden_weak.
30291 * sysdeps/mach/hurd/read.c (read): Likewise.
30292 * io/write.c (write): Likewise.
30293 * sysdeps/mach/hurd/write.c (write): Likewise.
30294 * io/pread64.c (__pread64): Likewise.
30295 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30296 * posix/pread64.c (__pread64): Add libc_hidden_def.
30297
06b1de23
SP
302982017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30299
140647ea
SP
30300 * benchtests/scripts/compare_strings.py: New option -g.
30301 (draw_graph): Print a message that a graph is being generated.
30302 (process_results): Generate graph only if -g is passed.
30303 (main): Process option -g.
30304
5a6547b7
SP
30305 * benchtests/scripts/compare_strings.py (process_results):
30306 Better spacing for output.
30307
06b1de23
SP
30308 * benchtests/scripts/compare_strings.py: Use argparse.
30309 * benchtests/README: Document existence of compare_strings.py.
30310
c67a2328
JM
303112017-09-15 Joseph Myers <joseph@codesourcery.com>
30312
9ac44708
JM
30313 * math/s_fma.c: Include <libm-alias-double.h>.
30314 (fma): Define using libm_alias_double.
30315 * math/s_nextafter.c: Include <libm-alias-double.h>.
30316 (nextafter): Define using libm_alias_double.
30317 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30318 (acos): Define using libm_alias_double.
30319 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30320 (aocsh): Define using libm_alias_double.
30321 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30322 (asin): Define using libm_alias_double.
30323 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30324 (atan2): Define using libm_alias_double.
30325 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30326 (atanh): Define using libm_alias_double.
30327 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30328 (cosh): Define using libm_alias_double.
30329 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30330 (exp10): Define using libm_alias_double.
30331 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30332 (exp2): Define using libm_alias_double.
30333 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30334 (exp): Define using libm_alias_double.
30335 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30336 (fmod): Define using libm_alias_double.
30337 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30338 (hypot): Define using libm_alias_double.
30339 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30340 (j0): Define using libm_alias_double.
30341 (y0): Likewise.
30342 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30343 (j1): Define using libm_alias_double.
30344 (y1): Likewise.
30345 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30346 (jn): Define using libm_alias_double.
30347 (yn): Likewise.
30348 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30349 (log10): Define using libm_alias_double.
30350 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30351 (log2): Define using libm_alias_double.
30352 * math/w_log_compat.c: Include <libm-alias-double.h>.
30353 (log): Define using libm_alias_double.
30354 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30355 (pow): Define using libm_alias_double.
30356 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30357 (remainder): Define using libm_alias_double.
30358 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30359 (sinh): Define using libm_alias_double.
30360 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30361 (sqrt): Define using libm_alias_double.
30362 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30363 (tgamma): Define using libm_alias_double.
30364 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30365 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30366 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30367 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30368 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30369 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30370 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30371 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30372 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30373 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30374 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30375 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30376 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30377 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30378 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30379 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30380 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30381 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30382 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30383 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30384 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30385 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30386 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30387 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30388 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30389
c67a2328
JM
30390 * math/e_acoshl.c: Remove.
30391 * math/e_acosl.c: Likewise.
30392 * math/e_asinl.c: Likewise.
30393 * math/e_atan2l.c: Likewise.
30394 * math/e_atanhl.c: Likewise.
30395 * math/e_coshl.c: Likewise.
30396 * math/e_expl.c: Likewise.
30397 * math/e_fmodl.c: Likewise.
30398 * math/e_gammal_r.c: Likewise.
30399 * math/e_hypotl.c: Likewise.
30400 * math/e_j0l.c: Likewise.
30401 * math/e_j1l.c: Likewise.
30402 * math/e_jnl.c: Likewise.
30403 * math/e_lgammal_r.c: Likewise.
30404 * math/e_log10l.c: Likewise.
30405 * math/e_log2l.c: Likewise.
30406 * math/e_logl.c: Likewise.
30407 * math/e_powl.c: Likewise.
30408 * math/e_rem_pio2l.c: Likewise.
30409 * math/e_sinhl.c: Likewise.
30410 * math/e_sqrtf128.c: Likewise.
30411 * math/e_sqrtl.c: Likewise.
30412 * math/k_cosl.c: Likewise.
30413 * math/k_sinl.c: Likewise.
30414 * math/k_tanl.c: Likewise.
30415 * math/s_asinhl.c: Likewise.
30416 * math/s_atanl.c: Likewise.
30417 * math/s_cbrtl.c: Likewise.
30418 * math/s_erfl.c: Likewise.
30419 * math/s_expm1l.c: Likewise.
30420 * math/s_log1pl.c: Likewise.
30421 * math/s_tanhl.c: Likewise.
30422
61c45f25
TMQMF
304232017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30424
30425 [BZ #21745]
30426 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30427 [$(subdir) = math] (sysdep_calls): New variable. Has the
30428 previous contents of sysdep_routines, but re-sorted..
30429 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30430 sysdep_calls.
30431 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30432 defined in sysdep_calls and replace by the respective m_* names.
30433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30434 (compat_symbol): Undefine to avoid duplicated compat symbols in
30435 libc.
30436
5bcdb315
JM
304372017-09-15 Joseph Myers <joseph@codesourcery.com>
30438
30439 * math/s_fmaf.c: Include <libm-alias-float.h>.
30440 (fmaf): Define using libm_alias_float.
30441 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30442 (acosf): Define using libm_alias_float.
30443 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30444 (acoshf): Define using libm_alias_float.
30445 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30446 (asinf): Define using libm_alias_float.
30447 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30448 (atan2f): Define using libm_alias_float.
30449 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30450 (atanhf): Define using libm_alias_float.
30451 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30452 (coshf): Define using libm_alias_float.
30453 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30454 (exp10f): Define using libm_alias_float.
30455 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30456 (fmodf): Define using libm_alias_float.
30457 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30458 (hypotf): Define using libm_alias_float.
30459 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30460 (j0f): Define using libm_alias_float.
30461 (y0f): Likewise.
30462 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30463 (j1f): Define using libm_alias_float.
30464 (y1f): Likewise.
30465 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30466 (jnf): Define using libm_alias_float.
30467 (ynf): Likewise.
30468 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30469 (log10f): Define using libm_alias_float.
30470 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30471 (log2f): Define using libm_alias_float.
30472 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30473 (logf): Define using libm_alias_float.
30474 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30475 (powf): Define using libm_alias_float.
30476 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30477 (remainderf): Define using libm_alias_float.
30478 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30479 (sinhf): Define using libm_alias_float.
30480 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30481 (sqrtf): Define using libm_alias_float.
30482 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30483 (tgammaf): Define using libm_alias_float.
30484
01f28812
JM
304852017-09-14 Joseph Myers <joseph@codesourcery.com>
30486
30487 * include/math.h (roundeven): Change hidden_proto call to
30488 __roundeven.
30489 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30490 alias.
30491 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30492 (y0): Rename to __y0 and define as weak alias.
30493 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30494 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30495 alias.
30496 (y0f): Rename to __y0f and define as weak alias.
30497 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30498 alias.
30499 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30500 (y1): Rename to __y1 and define as weak alias.
30501 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30502 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30503 alias.
30504 (y1f): Rename to __y1f and define as weak alias.
30505 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30506 alias.
30507 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30508 (yn): Rename to __yn and define as weak alias.
30509 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30510 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30511 alias.
30512 (ynf): Rename to __ynf and define as weak alias.
30513 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30514 (fromfp): Define as weak alias.
30515 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30516 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30517 (fromfpx): Define as weak alias.
30518 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30519 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30520 __getpayload and define as weak alias.
30521 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30522 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30523 __roundeven and define as weak alias.
30524 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30525 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30526 __setpayload.
30527 (setpayload): Define as weak alias.
30528 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30529 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30530 __setpayloadsig.
30531 (setpayloadsig): Define as weak alias.
30532 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30533 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30534 __totalorder and define as weak alias.
30535 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30536 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30537 to __totalordermag and define as weak alias.
30538 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30539 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30540 (ufromfp): Define as weak alias.
30541 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30542 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30543 __ufromfpx.
30544 (ufromfpx): Define as weak alias.
30545 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30546 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30547 Rename to __getpayload and define as weak alias.
30548 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30549 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30550 Rename to __roundeven and define as weak alias.
30551 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30552 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30553 Rename to __totalorder and define as weak alias.
30554 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30555 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30556 (totalordermag): Rename to __totalordermag and define as weak
30557 alias.
30558 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30559 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30560 macro.
30561 (__roundevenl): Likewise.
30562 (__totalorderl): Likewise.
30563 (__totalordermagl): Likewise
30564 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30565 __fromfpf128.
30566 (fromfpf128): Define as weak alias.
30567 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30568 __fromfpxf128.
30569 (fromfpxf128): Define as weak alias.
30570 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30571 __setpayloadf128.
30572 (setpayloadf128): Define as weak alias.
30573 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30574 __setpayloadsigf128.
30575 (setpayloadsigf128): Define as weak alias.
30576 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30577 __ufromfpf128.
30578 (ufromfpf128): Define as weak alias.
30579 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30580 __ufromfpxf128.
30581 (ufromfpxf128): Define as weak alias.
30582 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30583 (fromfpf): Define as weak alias.
30584 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30585 __fromfpxf.
30586 (fromfpxf): Define as weak alias.
30587 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30588 __getpayloadf and define as weak alias.
30589 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30590 __roundevenf and define as weak alias.
30591 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30592 __setpayloadf.
30593 (setpayloadf): Define as weak alias.
30594 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30595 __setpayloadsigf.
30596 (setpayloadsigf): Define as weak alias.
30597 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30598 __totalorderf and define as weak alias.
30599 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30600 Rename to __totalordermagf and define as weak alias.
30601 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30602 __ufromfpf.
30603 (ufromfpf): Define as weak alias.
30604 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30605 __ufromfpxf.
30606 (ufromfpxf): Define as weak alias.
30607 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30608 __fromfpl.
30609 (fromfpl): Define as weak alias.
30610 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30611 __fromfpxl.
30612 (fromfpxl): Define as weak alias.
30613 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30614 to __getpayloadl and define as weak alias.
30615 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30616 __roundevenl and define as weak alias.
30617 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30618 __setpayloadl.
30619 (setpayloadl): Define as weak alias.
30620 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30621 __setpayloadsigl.
30622 (setpayloadsigl): Define as weak alias.
30623 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30624 to __totalorderl and define as weak alias.
30625 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30626 Rename to __totalordermagl and define as weak alias.
30627 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30628 __ufromfpl.
30629 (ufromfpl): Define as weak alias.
30630 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30631 __ufromfpxl.
30632 (ufromfpxl): Define as weak alias.
30633 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30634 __fromfpl.
30635 (fromfpl): Define as weak alias.
30636 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30637 __fromfpxl.
30638 (fromfpxl): Define as weak alias.
30639 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30640 Rename to __getpayloadl and define as weak alias.
30641 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30642 to __roundevenl and define as weak alias. Call __roundeven
30643 instead of roundeven.
30644 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30645 __setpayloadl.
30646 (setpayloadl): Define as weak alias.
30647 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30648 __setpayloadsigl.
30649 (setpayloadsigl): Define as weak alias.
30650 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30651 Rename to __totalorderl and define as weak alias.
30652 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30653 Rename to __totalordermagl and define as weak alias.
30654 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30655 __ufromfpl.
30656 (ufromfpl): Define as weak alias.
30657 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30658 __ufromfpxl.
30659 (ufromfpxl): Define as weak alias.
30660 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30661 __fromfpl.
30662 (fromfpl): Define as weak alias.
30663 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30664 __fromfpxl.
30665 (fromfpxl): Define as weak alias.
30666 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30667 __getpayloadl and define as weak alias.
30668 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30669 __roundevenl and define as weak alias.
30670 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30671 __setpayloadl.
30672 (setpayloadl): Define as weak alias.
30673 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30674 __setpayloadsigl.
30675 (setpayloadsigl): Define as weak alias.
30676 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30677 __totalorderl and define as weak alias.
30678 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30679 Rename to __totalordermagl and define as weak alias.
30680 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30681 __ufromfpl.
30682 (ufromfpl): Define as weak alias.
30683 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30684 __ufromfpxl.
30685 (ufromfpxl): Define as weak alias.
30686
29c933fb
SP
306872017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30688
503c92c3
SP
30689 * benchtests/bench-string.h (realloc_bufs): New function.
30690 (test_init): Call it.
30691 * benchtests/bench-memset-large.c (do_test): Likewise.
30692 * benchtests/bench-memset.c (do_test): Likewise.
30693
29c933fb
SP
30694 * benchtests/bench-memset-large.c: Print output in JSON
30695 format.
30696 * benchtests/bench-memset.c: Likewise.
30697
799c8d69
MF
306982017-09-14 Mike FABIAN <mfabian@redhat.com>
30699
30700 [BZ #21084]
30701 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30702 * iconvdata/Makefile: Add IBM858.
30703 * iconvdata/gconv-modules: Likewise.
30704 * iconvdata/tst-tables.sh: Likewise.
30705 * iconvdata/ibm858.c: New file.
30706 * localedata/charmaps/IBM858: Likewise.
30707
c207f7ce 307082017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
30709
30710 [BZ #22023]
30711 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30712 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30713
f28a0926
AK
307142017-09-14 Mike FABIAN <mfabian@redhat.com>
30715
30716 [BZ #22112]
30717 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30718 and add tel_int_fmt.
30719
02093e62
JM
307202017-09-14 Joseph Myers <joseph@codesourcery.com>
30721
30722 * sysdeps/generic/libm-alias-float128.h: New file.
30723 * sysdeps/generic/math-type-macros-float128.h: Include
30724 <libm-alias-float128.h>.
30725 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30726
1aae75ef
JM
307272017-09-13 Joseph Myers <joseph@codesourcery.com>
30728
30729 * sysdeps/generic/libm-alias-ldouble.h: New file.
30730 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30731 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30732 * sysdeps/generic/math-type-macros-ldouble.h: Include
30733 <libm-alias-ldouble.h>.
30734 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30735 libm_alias_ldouble.
30736
bcea7ad6
SN
307372017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30738
30739 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30740 * math/w_exp_compat.c: ... here.
30741 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30742 * math/w_expf_compat.c: ... here.
30743 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30744 * math/w_expl_compat.c: ... here.
30745 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30746 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30747 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30748 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30749
0fc56478
JM
307502017-09-13 Joseph Myers <joseph@codesourcery.com>
30751
30752 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30753 redefine.
30754 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30755 macro.
30756 (ldexpl): Only define as compat symbol for libc, not libm.
30757 (scalbnl): Define as compat symbol for libc here.
30758 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30759 define for [IS_IN (libc)].
30760 (__ldexpl_2): Remove alias.
30761 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30762 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30763 name in long_double_symbol call.
30764 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30765 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30766 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30767 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30768 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30769 Remove macro.
30770 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30771 Define as compat symbol.
30772
3ca622e4
AZ
307732017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30774
30775 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30776 * sysdeps/unix/sysv/linux/alpha/Makefile
30777 [$(subdir) = csu] (sysdep_routines): Remove rule.
30778
620ff9ee
JM
307792017-09-13 Joseph Myers <joseph@codesourcery.com>
30780
30781 * sysdeps/generic/libm-alias-double.h: New file.
30782 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30783 * sysdeps/generic/math-type-macros-double.h: Include
30784 <libm-alias-double.h>.
30785 [declare_mgen_alias] (declare_mgen_alias): Define to use
30786 libm_alias_double.
30787 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30788 (M_LIBM_NEED_COMPAT): Remove macro.
30789 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30790 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30791 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30792 code.
30793 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30794 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30795 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30796 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30797 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30798 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30799 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30800 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30801 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30802 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30803 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30804 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30805 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30806 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30807 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30808 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30809 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30810 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30811 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30812 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30813 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30814 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30815 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30816 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30817 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30818 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30819 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30820 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30821 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30822 macro.
30823 (declare_mgen_alias): New macro.
30824 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30825 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30827 (M_LIBM_NEED_COMPAT): Remove macro.
30828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30829 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30830 <first-versions.h>.
30831 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30832 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30833
a891caff
JM
308342017-09-12 Joseph Myers <joseph@codesourcery.com>
30835
30836 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30837 (declare_mgen_alias_2): Remove.
30838 * sysdeps/generic/math-type-macros-double.h
30839 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30840 Likewise.
30841 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30842 alias.
30843 (ldexp): Define with declare_mgen_alias.
30844 (scalbn): Likewise.
30845
a1a78204
SE
308462017-09-12 Steve Ellcey <sellcey@cavium.com>
30847
30848 * grp/initgroups.c: Include config.h.
30849 (DEFAULT_CONFIG): New macro.
30850 (internal_getgrouplist): Use DEFAULT_CONFIG.
30851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30852 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30853 (DEFAULT_DEFCONFIG): New macro.
30854 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30855 * nss/grp-lookup.c: Include config.h
30856 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30857 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30858 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30859 * manual/nss.texi: Update default values section.
30860
ef8adeb0
L
308612017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30862
30863 [BZ #21967]
30864 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30865 New.
30866 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30867 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30868 Handle MathVec_Prefer_No_AVX512.
30869 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30870 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30871 is set.
30872
a166531f
ST
308732017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30874
30875 * posix/sched_primax.c (__sched_get_priority_max): Add
30876 libc_hidden_def.
30877 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30878 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30879 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30880 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30881 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30882 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30883 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30884 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30885 Add aliases.
30886
4b7d1efb
JM
308872017-09-11 Joseph Myers <joseph@codesourcery.com>
30888
30889 * sysdeps/generic/libm-alias-float.h: New file.
30890 * sysdeps/generic/math-type-macros-float.h: Include
30891 <libm-alias-float.h>.
30892 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30893
45ff3463
L
308942017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30895
30896 [BZ #22093]
30897 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30898 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30899 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30900 (HWCAP_IMPORTANT): Likewise.
30901 (HWCAP_X86_64): New enum.
30902 (HWCAP_X86_AVX512_1): Updated.
30903 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30904 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30905 (modules-names): Add x86_64/tst-x86_64mod-1.
30906 (LDFLAGS-tst-x86_64mod-1.so): New.
30907 ($(objpfx)tst-x86_64-1): Likewise.
30908 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30909 (tst-x86_64-1-clean): Likewise.
30910 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30911 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30912
891abfd3
SP
309132017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30914
30915 * po/sv.po: Update translations.
30916 * po/fr.po: Likewise.
30917
00c3da43
ST
309182017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30919
30920 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30921 seconds.
3bdfd9fb
ST
30922 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30923 seconds.
65b22ebc 30924 * elf/rtld-Rules: Fix $(error) use.
00c3da43 30925
96480903
MF
309262017-09-09 Mike FABIAN <mfabian@redhat.com>
30927
30928 [BZ #14925]
30929 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30930 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30931 * localedata/locales/bn_BD: “Bengali” was still used in some
30932 comments. Change it to “Bangla”.
30933
4c03a696
MT
309342017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30935
30936 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30937
9c9ec581
SE
309382017-09-08 Steve Ellcey <sellcey@cavium.com>
30939
30940 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30941 thunderx2t99p1 to list of cpu names.
30942 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30943 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30944
f00bce74
SE
309452017-09-08 Steve Ellcey <sellcey@cavium.com>
30946
30947 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30948 Use strcmp instead of tunable_is_name.
30949
27342d17
JM
309502017-09-08 Joseph Myers <joseph@codesourcery.com>
30951
af1b7c8c
JM
30952 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30953 (F_GET_RW_HINT): New macro.
30954 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30955 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30956 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30957 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30958 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30959 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30960 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30961 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30962 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30963
27342d17
JM
30964 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30965 (F_ADD_SEALS): New macro.
30966 [__USE_GNU] (F_GET_SEALS): Likewise.
30967 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30968 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30969 [__USE_GNU] (F_SEAL_GROW): Likewise.
30970 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30971
c66c9082
AZ
309722017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30973
07b4f49d
AZ
30974 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30975 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30976 * posix/glob_internal.h (__glob_pattern_type):
30977 * posix/glob.c (glob):
30978 * posix/glob_pattern_p.c (__glob_pattern_p):
30979 Use them.
30980
116f1c64
AZ
30981 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30982 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30983 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30984 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30985 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30987 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30988 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30989 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30990 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30991 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30992 * sysdeps/wordsize-64/glob.c: Likewise.
30993 * sysdeps/wordsize-64/glob64.c: Likewise.
30994 * sysdeps/wordsize-64/globfree.c: Likewise.
30995 * sysdeps/wordsize-64/globfree64.c: Likewise.
30996 * sysdeps/unix/sysv/linux/glob.c: New file.
30997 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30998 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30999 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31000 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31001 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31002 adds !GLOB_NO_OLD_VERSION as an extra condition.
31003 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31004 using relative path instead of absolute one.
31005 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31006 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31007 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31008 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31009 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31010 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31011
ffca8901
AZ
31012 [BZ #1062]
31013 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31014 (glob): Use the same scratch buffer for both getlogin_r and
31015 getpwnam_r. Don’t require preallocation of the login name. This
31016 simplifies storage allocation, and corrects the handling of
31017 long login names.
31018
5a79f975
AZ
31019 [BZ #1062]
31020 * posix/glob.c (glob): Port recent patches to platforms
31021 lacking getpwnam_r.
31022 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31023 returns an error number rather than setting errno.
31024
e00f2425
AZ
31025 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31026 instead of GCC extension.
31027 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31028 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31029 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31030
5554304f
AZ
31031 [BZ #866]
31032 [BZ #1062]
31033 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31034 * posix/bug-glob1.c: Remove file.
31035 * posix/tst-glob_symlinks.c: New file.
31036 * posix/glob.c (__lstat64): New macro.
31037 (is_dir): New function.
31038 (glob, glob_in_dir): Match symlinks even if they are dangling.
31039 (link_stat, link_exists_p): Remove. All uses removed.
31040
686f2ea1
AZ
31041 [BZ #1062]
31042 [BZ #19971]
31043 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31044 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31045 All uses removed.
31046
c66c9082 31047 [BZ #1062]
914c9994 31048 CVE-2017-15671
c66c9082
AZ
31049 * posix/Makefile (routines): Add globfree, globfree64, and
31050 glob_pattern_p.
31051 * posix/flexmember.h: New file.
31052 * posix/glob_internal.h: Likewise.
31053 * posix/glob_pattern_p.c: Likewise.
31054 * posix/globfree.c: Likewise.
31055 * posix/globfree64.c: Likewise.
31056 * sysdeps/gnu/globfree64.c: Likewise.
31057 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31058 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31059 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31060 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31061 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31062 * sysdeps/wordsize-64/globfree.c: Likewise.
31063 * sysdeps/wordsize-64/globfree64.c: Likewise.
31064 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31065 [NDEBUG): Remove comments.
31066 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31067 (dirent_type): New type. Use uint_fast8_t not
31068 uint8_t, as C99 does not require uint8_t.
31069 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31070 (struct readdir_result): Use dirent_type. Do not define skip_entry
31071 unless it is needed; this saves a byte on platforms lacking d_ino.
31072 (readdir_result_type, readdir_result_skip_entry):
31073 New functions, replacing ...
31074 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 31075 these functions, which were removed. This makes the callers
c66c9082
AZ
31076 easier to read. All callers changed.
31077 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31078 (size_add_wrapv, glob_use_alloca): New static functions.
31079 (glob, glob_in_dir): Check for size_t overflow in several places,
31080 and fix some size_t checks that were not quite right.
31081 Remove old code using SHELL since Bash no longer
31082 uses this.
31083 (glob, prefix_array): Separate MS code better.
31084 (glob_in_dir): Remove old Amiga and VMS code.
31085 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31086 separate files.
31087 (glob_in_dir): Do not rely on undefined behavior in accessing
31088 struct members beyond their bounds. Use a flexible array member
31089 instead
31090 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31091 0/1. Caller changed.
31092 (glob): Fix memory leaks.
31093 * posix/glob64 (globfree64): Move to separate file.
31094 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31095 (globfree64): Remove hidden alias.
31096 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31097 oldglob.
31098 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31099 separate file.
31100 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31101 define.
31102 Move compat code to separate file.
31103 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31104 separate file.
31105
78bfa877
L
311062017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31107
31108 * resolv/tst-resolv-qtypes.c (domain): Changed to
31109 "const char domain[] =".
31110
05f0011f
JM
311112017-09-07 Joseph Myers <joseph@codesourcery.com>
31112
85bec0f2
JM
31113 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31114 version to 3.1.6.
31115
5c23ee6e
JM
31116 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31117 (TCP_MD5SIG_EXT): Likewise.
31118 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31119 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31120 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31121
05f0011f
JM
31122 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31123
7c9c5be9
MF
311242017-09-07 Mike FABIAN <mfabian@redhat.com>
31125
31126 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31127
c207f7ce 311282017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
31129
31130 [BZ #22100]
31131 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31132
507fe027
ST
311332017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31134
31135 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31136 before assuming that the file is empty. Avoid testing buffer content
31137 when nread == 0.
31138
65687ac7
AZ
311392017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31140
7bbbb4b9 31141 [BZ #18858]
65687ac7
AZ
31142 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31143 Remove define.
31144 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31145 Likewise.
31146 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31147 Likewise.
31148 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31149 Likewise.
31150 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31151 Likewise.
31152 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31153 Likewise.
31154 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31155 Likewise.
31156
ab5ac271
FW
311572017-09-06 Florian Weimer <fweimer@redhat.com>
31158
31159 * malloc/dynarray_emplace_enlarge.c
31160 (__libc_dynarray_emplace_enlarge): Add missing else.
31161
a8304730
FW
311622017-09-06 Florian Weimer <fweimer@redhat.com>
31163
31164 [BZ #22096]
31165 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31166 case of failure to obtain the global conf object.
31167
5670c4ab
FW
311682017-09-06 Florian Weimer <fweimer@redhat.com>
31169
31170 [BZ #22095]
31171 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31172 dynarray allocation failure.
31173
c77eb969
FW
311742017-09-06 Florian Weimer <fweimer@redhat.com>
31175
31176 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31177 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31178 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31179 New functions.
31180 (response): Call them. Add 'p', '6' flag processing.
31181 (test_reverse): New function.
31182 (test_get2_any): Call it.
31183 (test_no_inet6): Add 'p' test.
31184 (test_inet6): Likewise.
31185
5e9c4d17
FW
311862017-09-06 Florian Weimer <fweimer@redhat.com>
31187
31188 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31189 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31190 the QNAME.
31191 (test_gai): Adjust query names. Add additional tests.
31192 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31193 test_get2. Adjust query names. Add additional tests.
31194 (test_no_inet6): New function, extracted from threadfunc.
31195 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31196 Add additional tests.
31197
2ae5be04
MF
311982017-09-06 Mike FABIAN <mfabian@redhat.com>
31199
31200 [BZ #22070]
31201 * localedata/unicode-gen/utf8_gen.py: Set the width for
31202 characters with Prepended_Concatenation_Mark property to 1
31203 * localedata/charmaps/UTF-8: Updated using the improved script.
31204
af83ed5c
MF
312052017-09-06 Mike FABIAN <mfabian@redhat.com>
31206
31207 [BZ #21750]
31208 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31209 use the range notation for all ranges of neighbouring characters
31210 with the same width.
31211
4f3647e4
JM
312122017-09-05 Joseph Myers <joseph@codesourcery.com>
31213
31214 * sysdeps/generic/math-type-macros-double.h: Include
31215 <math-svid-compat.h>.
31216 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31217 * sysdeps/generic/math-type-macros-float.h: Include
31218 <math-svid-compat.h>.
31219 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31220 * sysdeps/generic/math-type-macros-ldouble.h: Include
31221 <math-svid-compat.h>.
31222 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31223 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31224 condition.
31225 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31226 * math/w_acosf_compat.c: Likewise.
31227 * math/w_acosh_compat.c: Likewise.
31228 * math/w_acoshf_compat.c: Likewise.
31229 * math/w_acoshl_compat.c: Likewise.
31230 * math/w_acosl_compat.c: Likewise.
31231 * math/w_asin_compat.c: Likewise.
31232 * math/w_asinf_compat.c: Likewise.
31233 * math/w_asinl_compat.c: Likewise.
31234 * math/w_atan2_compat.c: Likewise.
31235 * math/w_atan2f_compat.c: Likewise.
31236 * math/w_atan2l_compat.c: Likewise.
31237 * math/w_atanh_compat.c: Likewise.
31238 * math/w_atanhf_compat.c: Likewise.
31239 * math/w_atanhl_compat.c: Likewise.
31240 * math/w_cosh_compat.c: Likewise.
31241 * math/w_coshf_compat.c: Likewise.
31242 * math/w_coshl_compat.c: Likewise.
31243 * math/w_exp10_compat.c: Likewise.
31244 * math/w_exp10f_compat.c: Likewise.
31245 * math/w_exp10l_compat.c: Likewise.
31246 * math/w_exp2_compat.c: Likewise.
31247 * math/w_exp2f_compat.c: Likewise.
31248 * math/w_exp2l_compat.c: Likewise.
31249 * math/w_fmod_compat.c: Likewise.
31250 * math/w_fmodf_compat.c: Likewise.
31251 * math/w_fmodl_compat.c: Likewise.
31252 * math/w_hypot_compat.c: Likewise.
31253 * math/w_hypotf_compat.c: Likewise.
31254 * math/w_hypotl_compat.c: Likewise.
31255 * math/w_j0_compat.c: Likewise.
31256 * math/w_j0f_compat.c: Likewise.
31257 * math/w_j0l_compat.c: Likewise.
31258 * math/w_j1_compat.c: Likewise.
31259 * math/w_j1f_compat.c: Likewise.
31260 * math/w_j1l_compat.c: Likewise.
31261 * math/w_jn_compat.c: Likewise.
31262 * math/w_jnf_compat.c: Likewise.
31263 * math/w_jnl_compat.c: Likewise.
31264 * math/w_lgamma_r_compat.c: Likewise.
31265 * math/w_lgammaf_r_compat.c: Likewise.
31266 * math/w_lgammal_r_compat.c: Likewise.
31267 * math/w_log10_compat.c: Likewise.
31268 * math/w_log10f_compat.c: Likewise.
31269 * math/w_log10l_compat.c: Likewise.
31270 * math/w_log2_compat.c: Likewise.
31271 * math/w_log2f_compat.c: Likewise.
31272 * math/w_log2l_compat.c: Likewise.
31273 * math/w_log_compat.c: Likewise.
31274 * math/w_logf_compat.c: Likewise.
31275 * math/w_logl_compat.c: Likewise.
31276 * math/w_pow_compat.c: Likewise.
31277 * math/w_powf_compat.c: Likewise.
31278 * math/w_powl_compat.c: Likewise.
31279 * math/w_remainder_compat.c: Likewise.
31280 * math/w_remainderf_compat.c: Likewise.
31281 * math/w_remainderl_compat.c: Likewise.
31282 * math/w_sinh_compat.c: Likewise.
31283 * math/w_sinhf_compat.c: Likewise.
31284 * math/w_sinhl_compat.c: Likewise.
31285 * math/w_sqrt_compat.c: Likewise.
31286 * math/w_sqrtf_compat.c: Likewise.
31287 * math/w_sqrtl_compat.c: Likewise.
31288 * math/w_tgamma_compat.c: Likewise.
31289 * math/w_tgammaf_compat.c: Likewise.
31290 * math/w_tgammal_compat.c: Likewise.
31291 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31292 [LIBM_SVID_COMPAT].
31293 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31294 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31295 [LIBM_SVID_COMPAT].
31296 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31297 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31298 [LIBM_SVID_COMPAT].
31299 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31300 * sysdeps/i386/fpu/w_sqrt.c: New file.
31301 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31302 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31303 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31304 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31305 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31306 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31307 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31308 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31309 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31310 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31311 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31312 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31313 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31314 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31315 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31316 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31317 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31318 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31319 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31320 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31321 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31322 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31323 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31324 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31325 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31326 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31327 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31328 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31329 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31330 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31331 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31332 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31333 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31334 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31335 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31336 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31337 * sysdeps/ia64/fpu/w_log.c: Likewise.
31338 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31339 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31340 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31341 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31342 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31343 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31344 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31345 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31346 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31347 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31348 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31349 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31350 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31351 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31352 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31353 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31354 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31355 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31356 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31357 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31358 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31359 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31360 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31361 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31362 [LIBM_SVID_COMPAT].
31363 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31364 * sysdeps/ieee754/k_standard.c: Likewise.
31365 * sysdeps/ieee754/k_standardf.c: Likewise.
31366 * sysdeps/ieee754/k_standardl.c: Likewise.
31367 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31368 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31369 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31370 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31371 long_double_symbol call on [LIBM_SVID_COMPAT].
31372 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31373 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31374 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31375 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31376 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31377 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31378 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31379 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31380 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31381 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31382 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31383 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31384 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31385 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31386 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31387 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31388 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31389 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31390 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31391 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31392 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31393 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31394
05b38d64
SE
313952017-09-05 Steve Ellcey <sellcey@cavium.com>
31396
31397 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31398 * malloc/tst-mallocstate.c: Convert from test-skeleton
31399 to test-driver. Ifdef code using TEST_COMPAT macro.
31400 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31401 * math/test-matherr.c: Likewise.
31402
99d67918
JM
314032017-09-05 Joseph Myers <joseph@codesourcery.com>
31404
31405 [BZ #22086]
31406 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31407 comparing word with byte-swapped constant.
31408
c207f7ce 314092017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
31410
31411 [BZ #20498]
31412 * locale/iso-639.def: add Miskito.
31413 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31414 * localedata/locales/miq_NI: New file.
31415
0a587a8a
L
314162017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31417
31418 [BZ #18822]
31419 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31420 (__mkdir): Likewise.
31421 * io/chmod.c (__chmod): Add libc_hidden_def.
31422 * io/mkdir.c (__mkdir): Likewise.
31423 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31424 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31425 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31426 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31427
f3a129b8
JM
314282017-09-04 Joseph Myers <joseph@codesourcery.com>
31429
1650e192
JM
31430 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31431 version to 4.13.
31432
f3a129b8
JM
31433 [BZ #22082]
31434 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31435 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31436
b38042f5
FW
314372017-09-04 Florian Weimer <fweimer@redhat.com>
31438
31439 * math/math.h: Issue warning if log is defined.
31440
059b6404
JM
314412017-09-04 Joseph Myers <joseph@codesourcery.com>
31442
31443 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31444 kernel version to 4.13.
31445
b794e16b
ST
314462017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31447
31448 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
31449 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31450 parameter.
01969395
ST
31451 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31452 just <bits/types.h>.
dd2b31de 31453 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 31454 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 31455 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 31456 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
31457 * misc/preadv2.c: Include <errno.h>.
31458 * misc/preadv64v2.c: Include <errno.h>.
31459 * misc/pwritev2.c: Include <errno.h>.
31460 * misc/pwritev64v2.c: Include <errno.h>.
31461 * sysdeps/posix/preadv2.c: Include <errno.h>.
31462 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31463 Fix <unistd.h> inclusion.
31464 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31465 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
31466 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31467 __strtoul_internal): New functions.
127e7773
ST
31468 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31469 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
31470 * sysdeps/mach/hurd/i386/Makefile
31471 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31472 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31473 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
31474 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31475 __feraiseexcept_renamed to feraiseexcept instead of
31476 __GI_feraiseexcept.
56bf5497 31477 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 31478 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
31479 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31480 RWF_NOWAIT): Define to 0 if undefined already.
31481 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31482 boils down to 0.
6547ec0a
ST
31483 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31484 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 31485
5a80d39d
JM
314862017-09-01 Joseph Myers <joseph@codesourcery.com>
31487
31488 * manual/math.texi (pow10): Do not document.
31489 (pow10f): Likewise.
31490 (pow10l): Likewise.
31491 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31492 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31493 * math/libm-test-exp10.inc (pow10_test): Remove.
31494 (do_test): Do not call pow10.
31495 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31496 [NO_LONG_DOUBLE] (pow10l): Likewise.
31497 * math/w_exp10f_compat.c (pow10f): Likewise.
31498 * math/w_exp10l_compat.c (pow10l): Likewise.
31499 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31500 (pow10): Make into compat symbol.
31501 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31502 (pow10f): Make into compat symbol.
31503 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31504 (pow10l): Make into compat symbol.
31505 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31506 pow10.
31507 (CFLAGS-nldbl-pow10.c): Remove variable..
31508 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31509 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31510 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31511 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31512 Undefine and redefine.
31513 (pow10l): Make into compat symbol.
31514 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31515 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31516 * sysdeps/arm/libm-test-ulps: Likewise.
31517 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31518 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31519 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31520 * sysdeps/microblaze/libm-test-ulps: Likewise.
31521 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31522 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31523 * sysdeps/nios2/libm-test-ulps: Likewise.
31524 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31525 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31526 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31527 * sysdeps/sh/libm-test-ulps: Likewise.
31528 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31529 * sysdeps/tile/libm-test-ulps: Likewise.
31530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31531
3824fc38
PP
315322017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31533
31534 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31535
b3008279
L
315362017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31537
31538 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31539 "../ChangeLog.old/ChangeLog.8".
31540 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31541 "../ChangeLog.old/ChangeLog.14".
31542
136fa185
L
315432017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31544
31545 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31546 Threads Library.
31547
c18d50a2
JM
315482017-09-01 Joseph Myers <joseph@codesourcery.com>
31549
31550 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31551
bedbd859
L
315522017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31553
31554 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31555 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31556
50c66c7a
PP
315572017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31558
31559 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31560 32 atexit handlers.
31561
a617bd11
ZW
315622017-09-01 Zack Weinberg <zackw@panix.com>
31563
31564 * math/math.h (HUGE_VAL): Improve commentary.
31565
e0d2eb5a
AZ
315662017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31567 Andreas Schwab <schwab@suse.de>
31568
31569 [BZ #21530]
31570 * include/stdio.h (__gen_tempfd): New function.
31571 * stdio-common/Makefile (routines): Add gentempfd.
31572 * stdio-common/gentempfd.c: New file.
31573 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31574 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31575 unnamed file first.
31576
f4a6be25
FW
315772017-09-01 Florian Weimer <fweimer@redhat.com>
31578
31579 [BZ #21915]
31580 [BZ #21922]
31581 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31582 result to determine success or failure, not the errno value.
31583 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31584 (tst-nss-files-hosts-erange): Link with -ldl.
31585 * nss/tst-nss-files-hosts-erange.c: New file.
31586 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31587 (do_test): Add NO_DATA tests.
31588 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31589 (do_test): Call it.
31590
5f8340f5
FW
315912017-09-01 Florian Weimer <fweimer@redhat.com>
31592
31593 [BZ #21922]
31594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31595 coming from gethostbyname2_r.
31596
65329bd2
FW
315972017-09-01 Florian Weimer <fweimer@redhat.com>
31598
31599 * support/namespace.h (struct support_chroot_configuration): Add
31600 hosts, host_conf.
31601 (struct support_chroot): Add path_hosts, path_host_conf.
31602 * support/support_chroot.c (write_file): New function.
31603 (support_chroot_create): Call it to process /etc/resolv.conf,
31604 /etc/hosts, /etc/host.conf.
31605 (support_chroot_free): Update.
31606
a2881ef0
FW
316072017-09-01 Florian Weimer <fweimer@redhat.com>
31608
31609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31610 status indicates it is set.
31611
ad816a5e
FW
316122017-09-01 Florian Weimer <fweimer@redhat.com>
31613
63b52889 31614 [BZ #20532]
ad816a5e
FW
31615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31616 function lookup failures more reliable.
31617
53250a21
FW
316182017-09-01 Florian Weimer <fweimer@redhat.com>
31619
31620 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31621 (getcanonname): Likewise.
31622 (gaih_inet): Likewise.
31623
924b121c
FW
316242017-09-01 Florian Weimer <fweimer@redhat.com>
31625
31626 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31627 (getcanonname): Likewise.
31628 (gaih_inet): Likewise.
31629
d9ff799a 316302017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 31631 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
31632
31633 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31634 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31635 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31636 (IREG_SIZE, OREG_SIZE): New macros.
31637 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31638 (IREG_SIZE, OREG_SIZE): New macros.
31639 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31640 (IREG_SIZE): New macro.
31641 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31642 (IREG_SIZE): New macro.
31643 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31644 New includes.
31645 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31646 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31647 (__CONCATX): Handle exceptions correctly on large values that may
31648 set FE_INVALID.
31649 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31650 Initialize if not already set.
b39d961c 31651 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 31652
102dde84
AZ
316532017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31654
31655 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31656 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31657 Likewise.
31658 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31659 Likewise.
31660 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31661 Likewise.
31662 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31663 Likewise.
31664 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31665 Likewise.
31666 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31667 Likewise.
31668 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31669 Likewise.
31670 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31671 (NO_CANCELLATION): Likewise.
31672 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31673 Likewise.
31674 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31675 Likewise.
31676 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31677 Likewise.
31678 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31679 (NO_CANCELLATION): Likewise.
31680 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31681 (NO_CANCELLATION): Likewise.
31682 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31683 Likewise
31684 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31685 Likewise.
31686 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31687 Likewise.
31688 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31689 Likewise.
31690 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31691 hidden prototype.
31692 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31693 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31694
9eee633b
SE
316952017-08-31 Steve Ellcey <sellcey@cavium.com>
31696
31697 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31698 in resolver call.
31699
65284eb7
FW
317002017-08-31 Florian Weimer <fweimer@redhat.com>
31701
31702 * include/libc-symbols.h (internal_function): Remove.
31703
41ad5ca6
FW
317042017-08-31 Florian Weimer <fweimer@redhat.com>
31705
31706 * stdlib/fmtmsg.c (internal_addseverity): Remove
31707 internal_function.
31708
2fa6d086
FW
317092017-08-31 Florian Weimer <fweimer@redhat.com>
31710
31711 * stdio-common/printf_fp.c (group_number): Remove
31712 internal_function.
31713 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31714
b41bd5bc
FW
317152017-08-31 Florian Weimer <fweimer@redhat.com>
31716
31717 * posix/fnmatch.c (internal_function): Remove definition.
31718 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31719 * posix/regcomp.c (peek_token, init_word_char)
31720 (duplicate_node_closure, fetch_token, peek_token)
31721 (peek_token_bracket, build_range_exp, build_collating_symbol):
31722 Likewise.
31723 * posix/regex_internal.c (re_string_construct_common)
31724 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31725 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31726 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31727 (re_string_translate_buffer, re_string_reconstruct)
31728 (re_string_peek_byte_case, re_string_fetch_byte_case)
31729 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31730 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31731 (re_node_set_add_intersect, re_node_set_init_union)
31732 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31733 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31734 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31735 (re_acquire_state_context): Likewise.
31736 * posix/regex_internal.h (internal_function): Remove definition.
31737 (re_string_realloc_buffers, build_wcs_buffer)
31738 (build_wcs_upper_buffer, build_upper_buffer)
31739 (re_string_translate_buffer, re_string_context_at)
31740 (re_string_char_size_at, re_string_wchar_at)
31741 (re_string_elem_size_at): Likewise.
31742 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31743 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31744 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31745 (re_search_internal, re_search_2_stub, re_search_stub)
31746 (re_copy_regs, prune_impossible_nodes, check_matching)
31747 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31748 (free_fail_stack_return, sift_states_iter_mb)
31749 (sift_states_backward, build_sifted_states)
31750 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31751 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31752 (check_subexp_limits, sift_states_bkref, merge_state_array)
31753 (find_recover_state, transit_state, merge_state_with_log)
31754 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31755 (transit_state_mb, transit_state_bkref, get_subexp)
31756 (get_subexp_sub, find_subexp_node, check_arrival)
31757 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31758 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31759 (check_node_accept_bytes, find_collation_sequence_value)
31760 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31761 (acquire_init_state_context, check_halt_node_context)
31762 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31763 (sub_epsilon_src_nodes): Likewise.
31764 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31765 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31766 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31767 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31768 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31769 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31770 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31771 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31772 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31773 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31774 (PREADV): Likewise.
31775 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31776 (PREADV): Likewise.
31777 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31778 (PWRITEV): Likewise.
31779 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31780 (PWRITEV): Likewise.
31781 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31782 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31783
83b09837
FW
317842017-08-31 Florian Weimer <fweimer@redhat.com>
31785
31786 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31787 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31788 Remove internal_function.
31789 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31790 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31791 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31792 (__deallocate_stack, __libc_pthread_init)
31793 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31794 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31795 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31796 Likewise.
31797 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31798 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31799 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31800 Likewise.
31801 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31802 (__pthread_mutex_unlock_usercnt): Likewise.
31803
116ac301
FW
318042017-08-31 Florian Weimer <fweimer@redhat.com>
31805
31806 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31807 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31808 (fts_safe_changedir): Remove internal_function.
31809 * io/ftw.c (internal_function): Remove definition.
31810 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31811
9da93bd7
FW
318122017-08-31 Florian Weimer <fweimer@redhat.com>
31813
31814 * inet/deadline.c (__deadline_current_time)
31815 (__deadline_from_timeval, __deadline_to_ms): Remove
31816 internal_function.
31817 * inet/getnameinfo.c (nrl_domainname): Likewise.
31818 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31819 * inet/inet6_option.c (add_pad): Likewise.
31820 * inet/net-internal.h (__deadline_current_time)
31821 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31822 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31823 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31824 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31825
a60eca2e
JM
318262017-08-31 Joseph Myers <joseph@codesourcery.com>
31827
c0c49d60
JM
31828 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31829 include <bits/nan.h>.
31830 * math/Makefile (headers): Remove bits/nan.h.
31831 * bits/nan.h: Remove.
31832 * sysdeps/ieee754/bits/nan.h: Likewise.
31833 * sysdeps/mips/bits/nan.h: Likewise.
31834
5ef1b213
JM
31835 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31836 not include <bits/inf.h>.
31837 * math/Makefile (headers): Remove bits/inf.h.
31838 * bits/inf.h: Remove.
31839 * sysdeps/ieee754/bits/inf.h: Likewise.
31840
a60eca2e
JM
31841 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31842 bits/huge_vall.h or bits/huge_val_flt128.h.
31843 (HUGE_VAL): Define directly here.
31844 [__USE_ISOC99] (HUGE_VALF): Likewise.
31845 [__USE_ISOC99] (HUGE_VALL): Likewise.
31846 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31847 (HUGE_VAL_F128): Likewise.
31848 * math/Makefile (headers): Remove bits/huge_val.h,
31849 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31850 * bits/huge_val.h: Remove.
31851 * bits/huge_val_flt128.h: Likewise.
31852 * bits/huge_valf.h: Likewise.
31853 * bits/huge_vall.h: Likewise.
31854 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31855 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31856 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31857 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31858 * sysdeps/sh/bits/huge_val.h: Likewise.
31859 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31860 * sysdeps/x86/bits/huge_vall.h: Likewise.
31861
17e00cc6
FW
318622017-08-31 Florian Weimer <fweimer@redhat.com>
31863
31864 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31865 internal_function.
31866 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31867 Likewise.
31868 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31869 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31870 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31871 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31872 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31873 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31874 * elf/dl-libc.c (dlerror_run): Likewise.
31875 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31876 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31877 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31878 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31879 Likewise.
31880 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31881 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31882 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31883 * elf/dl-profile.c (_dl_start_profile): Likewise.
31884 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31885 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31886 Likewise.
31887 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31888 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31889 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31890 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31891 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31892 (_dl_allocate_tls_storage): Likewise.
31893 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31894 (_dl_check_all_versions): Likewise.
31895 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31896 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31897 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31898 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31899 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31900 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31901 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31902 internal_function from __dl_start.
31903 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31904 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31905 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31906 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31907 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31908 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31909 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31910 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31911 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31912 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31913 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31914 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31915 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31916 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31917 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31918 Likewise.
31919 (struct rtld_global_ro): Remove internal_function from the
31920 _dl_lookup_symbol_x member.
31921 (_dl_symbol_value): Remove. No longer defined anywhere.
31922 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31923 internal_function.
31924 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31925 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31926 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31927 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31928 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31929 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31930 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31931 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31932 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31933 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31934 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31935 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31936
8d2f9410
FW
319372017-08-31 Florian Weimer <fweimer@redhat.com>
31938
31939 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31940 Remove internal_function.
31941 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31942 Likewise.
31943 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31944 Likewise.
31945
86e4919f
FW
319462017-08-31 Florian Weimer <fweimer@redhat.com>
31947
31948 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31949 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31950 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31951
59bd52b0
FW
319522017-08-31 Florian Weimer <fweimer@redhat.com>
31953
31954 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31955 (__gai_enqueue_request): Remove internal_function.
31956 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31957 (__gai_remove_request, __gai_notify, __gai_notify_only)
31958 (__gai_sigqueue): Likewise.
31959 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31960 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31961 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31962 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31963 Likewise.
31964
fc3d9497
FW
319652017-08-31 Florian Weimer <fweimer@redhat.com>
31966
31967 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31968 * include/dirent.h (__opendirat, __getdents, __getdents64)
31969 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31970 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31971 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31972 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31973 Likewise.
31974 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31975
18c54fac
FW
319762017-08-31 Florian Weimer <fweimer@redhat.com>
31977
31978 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31979 internal_function.
31980 (GETCWD_RETURN_TYPE): Likewise.
31981
7e01f080
FW
319822017-08-31 Florian Weimer <fweimer@redhat.com>
31983
31984 * include/time.h (__tz_compute, __strptime_internal): Remove
31985 internal_function.
31986 * time/strptime_l.c (__strptime_internal): Likewise.
31987 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31988
d7ccc6c9
FW
319892017-08-31 Florian Weimer <fweimer@redhat.com>
31990
31991 * iconv/gconv.c (__gconv): Remove internal_function.
31992 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31993 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31994 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31995 (__gconv_release_cache): Likewise.
31996 * iconv/gconv_close.c (__gconv_close): Likewise.
31997 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31998 (read_conf_file, __gconv_get_path): Likewise.
31999 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32000 (__gconv_release_step, gen_steps, increment_counter)
32001 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32002 (__gconv_close_transform, free_modules_db): Likewise.
32003 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32004 Likewise.
32005 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32006 (__gconv_find_transform, __gconv_lookup_cache)
32007 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32008 (__gconv_close_transform, __gconv_release_cache)
32009 (__gconv_loaded_object, __gconv_release_shlib)
32010 (__gconv_compare_alias): Likewise.
32011 * iconv/gconv_open.c (__gconv_open): Likewise.
32012 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32013 * iconv/iconvconfig.c (add_module): Likewise.
32014 * intl/dcigettext.c (plural_lookup, guess_category_value)
32015 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32016 * intl/eval-plural.h (plural_eval): Likewise.
32017 * intl/finddomain.c (_nl_find_domain): Likewise.
32018 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32019 (_nl_load_domain, _nl_find_msg): Likewise.
32020 (internal_function): Remove definition.
32021 * intl/loadinfo.h (internal_function): Likewise.
32022 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32023 internal_function.
32024 * intl/localealias.c (internal_function): Remove definition.
32025 (read_alias_file): Remove internal_function.
32026 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32027 * intl/plural-exp.h (internal_function): Remove definition.
32028 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32029 internal_function.
32030 * intl/plural.c: Regenerate.
32031 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32032 * locale/coll-lookup.c (__collidx_table_lookup)
32033 (__collseq_table_lookup): Likewise.
32034 * locale/coll-lookup.h (__collidx_table_lookup)
32035 (__collseq_table_lookup): Likewise.
32036 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32037 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32038 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32039 (_nl_unload_locale): Likewise.
32040 * locale/localeinfo.h (struct __locale_data): Remove
32041 internal_function from cleanup member.
32042 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32043 (_nl_remove_locale, _nl_load_locale_from_archive)
32044 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32045 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32046 (_nl_cleanup_time): Remove internal_function.
32047 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32048 (_nl_parse_alt_digit): Likewise.
32049 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32050 (_nl_select_era_entry): Likewise.
32051 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32052 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32053 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
32054 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32055 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 32056
dab0eece
FW
320572017-08-31 Florian Weimer <fweimer@redhat.com>
32058
32059 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32060 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32061 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32062 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32063 Likewise.
32064 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32065 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32066 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32067 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32068 Likewise.
32069 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32070
ab5bf7cf
FW
320712017-08-31 Florian Weimer <fweimer@redhat.com>
32072
32073 * misc/getttyent.c (skip, value): Remove internal_function.
32074 * misc/syslog.c (openlog_internal): Likewise.
32075 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32076
75b3047e
FW
320772017-08-31 Florian Weimer <fweimer@redhat.com>
32078
32079 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32080 (__nss_rewrite_field): Remove internal_function.
32081 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32082 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32083 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32084 * nss/nsswitch.c (nss_parse_file, nss_getline)
32085 (nss_parse_service_list, nss_new_service): Likewise.
32086 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32087 * nss/valid_field.c (__nss_valid_field): Likewise.
32088 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32089
0c71122c
FW
320902017-08-31 Florian Weimer <fweimer@redhat.com>
32091
32092 * malloc/arena.c (__malloc_fork_lock_parent)
32093 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32094 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32095 internal_function from defintions.
32096 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32097 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32098 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32099 internal_function from declarations.
32100 * malloc/malloc.c (internal_function): Do not define.
32101 (mem2mem_check): Remove internal_function from declaration.
32102 (munmap_chunk, mremap_chunk): Remove internal_function.
32103 * malloc/mtrace.c (tr_where): Likewise.
32104
ca4ec803
FW
321052017-08-31 Florian Weimer <fweimer@redhat.com>
32106
32107 * include/rpc/pmap_clnt.h (__get_socket): Remove
32108 internal_function.
32109 * sunrpc/auth_des.c (synchronize): Likewise.
32110 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32111 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32112 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32113 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32114 (key_call): Likewise.
32115 * sunrpc/pm_getport.c (__get_socket): Likewise.
32116 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32117 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32118 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32119 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32120 (invalidate): Likewise.
32121 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32122 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32123 (set_input_fragment, get_input_bytes): Likewise.
32124
24cffce7
FW
321252017-08-31 Florian Weimer <fweimer@redhat.com>
32126
32127 * malloc/malloc.c (_int_free): Remove locked variable and related
32128 asserts.
32129
ecd0747d
L
321302017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32131
32132 [BZ #22051]
32133 * Makerules (build-module-helper-objlist): Filter out
32134 $(elf-objpfx)sofini.os.
32135 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32136 needed.
32137
5f0704b6
FW
321382017-08-31 Florian Weimer <fweimer@redhat.com>
32139
32140 * libio/fcloseall.c: Assume weak_alias is defined.
32141 * libio/feof.c: Likewise.
32142 * libio/fileno.c: Likewise.
32143 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32144 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32145 definitions.
32146 (_IO_file_open): Call __open directly.
32147 (_IO_new_file_sync): Assume ESPIPE is defined.
32148 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32149 (_IO_new_file_write): Call __write directly.
32150 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32151 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32152 * libio/genops.c: Assume _LIBC is defined.
32153 (save_for_backup): Remove internal_function.
32154 * libio/getc.c: Assume weak_alias is defined.
32155 * libio/getwc.c: Likewise.
32156 * libio/iofclose.c: Assume _LIBC is defined.
32157 * libio/iofdopen.c: Likewise.
32158 (_IO_fcntl): Remove macro definition.
32159 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32160 Call __fcntl directly.
32161 * libio/iofflush.c: Assume weak_alias is defined.
32162 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32163 defined.
32164 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32165 * libio/iofgets.c: Likewise.
32166 * libio/iofopen.c: Assume _LIBC is defined.
32167 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32168 * libio/iofputs.c: Assume weak_alias is defined.
32169 * libio/iofread.c: Likewise.
32170 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32171 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32172 * libio/ioftell.c: Assume weak_alias is defined.
32173 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32174 * libio/iofwide.c: Assume _LIBC is defined.
32175 (_IO_fwide): Drop SHARED conditional because it is implied by
32176 SHLIB_COMPAT.
32177 * libio/iofwrite.c: Assume weak_alias is defined.
32178 * libio/iogetdelim.c: Likewise.
32179 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32180 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32181 (_IO_getwline): Call __wmemcpy directly.
32182 * libio/iopopen.c: Assume _LIBC is defined.
32183 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32184 (_IO_close): Remove macro definitions.
32185 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32186 _exit directly.
32187 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32188 directly.
32189 * libio/ioputs.c: Assume weak_alias is defined.
32190 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32191 * libio/iosetbuffer.c: Assume weak_alias is defined.
32192 * libio/iosetvbuf.c: Likewise.
32193 * libio/ioungetc.c: Likewise.
32194 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32195 libc_hidden_def, libc_hidden_weak, NULL are defined.
32196 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32197 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32198 defined.
32199 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32200 definitions.
32201 (_IO_old_file_init_internal): Drop SHARED conditional because it
32202 is implied by SHLIB_COMPAT.
32203 (_IO_old_file_fopen): Call __open directly.
32204 (_IO_old_file_sync): Assume ESPIPE is defined.
32205 (_IO_old_file_write): Call __write directly.
32206 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32207 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32208 Call __fcntl directly.
32209 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32210 (_IO_old_fgetpos): Assume EIO is defined.
32211 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32212 (_IO_old_fgetpos64): Assume EIO is defined.
32213 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32214 (_IO_old_fsetpos): Assume EIO is defined.
32215 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32216 (_IO_old_fsetpos64): Assume EIO is defined.
32217 * libio/oldiopopen.c: Assume _LIBC is defined.
32218 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32219 (_IO_close): Remove macro definitions.
32220 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32221 directly.
32222 (_IO_old_proc_close): Call __close, __waitpid directly.
32223 * libio/put.c: Assume weak_alias is defined.
32224 * libio/stdfiles.c: Assume _LIBC is defined.
32225 * libio/stdio.c: Likewise.
32226 * libio/wfileops.c: Likewise.
32227 (_IO_wfile_sync): Assume ESPIPE is defined.
32228 * libio/wgenops.c: Assume _LIBC is defined.
32229 (save_for_wbackup): Remove internal_function.
32230
5129873a
FW
322312017-08-31 Florian Weimer <fweimer@redhat.com>
32232
32233 * malloc/malloc.c (top_check): Change return type to void. Remove
32234 internal_function.
32235 * malloc/hooks.c (top_check): Likewise.
32236 (malloc_check, realloc_check, memalign_check): Adjust.
32237
4fa9b3bf
JM
322382017-08-30 Joseph Myers <joseph@codesourcery.com>
32239
32240 [BZ #21457]
32241 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32242 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32243 sigcontext and namespace requirements.
32244 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32245 * sysdeps/m68k/sys/ucontext.h: Likewise.
32246 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32247 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32248 <bits/sigcontext.h>.
32249 (__ctx): Define earlier.
32250 (mcontext_t): Define structure contents rather than using struct
32251 sigcontext.
32252 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32253 __glibc_reserved1 instead of __reserved.
32254 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32255 <bits/sigcontext.h>.
32256 (__ctx): Define earlier.
32257 (mcontext_t): Define structure contents rather than using struct
32258 sigcontext.
32259 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32260 mcontext_t instead of struct sigcontext.
32261 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32262 <bits/sigcontext.h>.
32263 (__ctx): Define earlier.
32264 (mcontext_t): Define structure contents rather than using struct
32265 sigcontext.
32266 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32267 <bits/sigcontext.h>.
32268 (__ctx): Define earlier.
32269 (mcontext_t): Define structure contents rather than using struct
32270 sigcontext.
32271 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32272 mcontext_t instead of struct sigcontext.
32273 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32274 mcontext_t instead of struct sigcontext.
32275 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32276 <bits/sigcontext.h>.
32277 (__ctx): New macro.
32278 (struct __ia64_fpreg_mcontext): New type.
32279 (mcontext_t): Define structure contents rather than using struct
32280 sigcontext.
32281 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32282 (uc_sigmask): Define using __ctx.
32283 (uc_stack): Likewise.
32284 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32285 <bits/sigcontext.h>.
32286 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32287 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32288 <bits/sigcontext.h>.
32289 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32290 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32291 <bits/sigcontext.h>.
32292 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32293 <bits/sigcontext.h>.
32294 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32295 <bits/sigcontext.h>.
32296 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32297 <bits/sigcontext.h>.
32298 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32299 <bits/sigcontext.h>.
32300 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32301 <bits/sigcontext.h>.
32302 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32303 <bits/sigcontext.h>.
32304 (__ctx): Define earlier.
32305 (mcontext_t): Define structure contents rather than using struct
32306 sigcontext.
32307 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32308 <bits/sigcontext.h>. Include <bits/types.h>.
32309 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32310 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32311 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32312 (test-xfail-UNIX98/signal.h/conform): Likewise.
32313 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32314 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32315 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32316 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32317 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32318 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32319 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32320 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32321 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32322
5898f454
FW
323232017-08-30 Florian Weimer <fweimer@redhat.com>
32324
32325 * malloc/dynarray_emplace_enlarge.c
32326 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32327 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32328 * malloc/tst-dynarray.c (test_long_overflow): New function.
32329 (do_test): Call it.
32330
a9da0bb2
FW
323312017-08-30 Florian Weimer <fweimer@redhat.com>
32332
32333 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32334 (set_arena_corrupt): Remove definitions.
32335 (mtrim): Do not check for corrupt arena.
32336 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32337 Likewise.
32338
ac3ed168
FW
323392017-08-30 Florian Weimer <fweimer@redhat.com>
32340
32341 [BZ #21754]
32342 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32343 check_action.
32344 (ptmalloc_init): Do not set or use check_action.
32345 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32346 call to malloc_printerr. Remove return statement.
32347 (free_check): Likewise. Remove arena unlock.
32348 (top_check): Update comment. Adjust call to malloc_printerr.
32349 Remove heap repair code.
32350 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32351 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32352 (sysmalloc): Adjust call to malloc_printerr.
32353 (munmap_chunk, __libc_realloc): Likewise. Remove return
32354 statement.
32355 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32356 Remove errout label and corresponding gotos.
32357 (_int_free): Likewise. Remove arena unlock.
32358 (do_set_mallopt_check): Do not set check_action.
32359 (malloc_printerr): Adjust parameter list. Do not mark arena as
32360 corrupt.
32361 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32362 comment.
32363 * manual/probes.texi (Memory Allocation Probes): Remove
32364 memory_mallopt_check_action.
32365
44bcba80
SE
323662017-08-30 Steve Ellcey <sellcey@cavium.com>
32367
32368 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32369 Use pointer to uint64_t instead of long int for sp.
32370
ec2c1fce
FW
323712017-08-30 Florian Weimer <fweimer@redhat.com>
32372
32373 [BZ #21754]
32374 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32375 without printing a backtrace. Do not leak any information in the
32376 error message.
32377 * manual/memory.texi (Heap Consistency Checking): Update.
32378 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32379
9ce673b6
FW
323802017-08-30 Florian Weimer <fweimer@redhat.com>
32381
32382 Do not scale NPTL tests with available number of CPUs.
32383 * nptl/tst-cond16.c (count): Set to constant value of 8.
32384 * nptl/tst-cond18.c (count): Likewise.
32385
2f1aef19
JM
323862017-08-29 Joseph Myers <joseph@codesourcery.com>
32387
32388 [BZ #22035]
32389 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32390 Define to take a second argument that is a macro that
32391 concatentates a suffix, not the suffix itself.
32392 (__CONCAT_d): New macro.
32393 (__CONCAT_f): Likewise.
32394 (__CONCAT_l): Likewise.
32395
8325b477
PP
323962017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32397
32398 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32399 by child.
32400
319cbbf6
AZ
324012017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32402 Aurelien Jarno <aurelien@aurel32.net>
32403 Maciej W. Rozycki <macro@imgtec.com>
32404
32405 [BZ #21956]
32406 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32407 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32408 `mips16-syscall6' and `mips16-syscall7'.
32409 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32410 (CFLAGS-mips16-syscall7.c): Remove.
32411 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32412 Remove `__mips16_syscall5', `__mips16_syscall6' and
32413 `__mips16_syscall7'.
32414 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32415 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32416 `__mips_syscall_return'.
32417 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32418 (__mips16_syscall1): Likewise.
32419 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32420 (__mips16_syscall2): Likewise.
32421 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32422 (__mips16_syscall3): Likewise.
32423 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32424 (__mips16_syscall4): Likewise.
32425 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32426 Remove.
32427 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32428 Remove.
32429 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32430 Remove.
32431 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32432 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32433 `__mips16_syscall5'. Remove prototype.
32434 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32435 `__mips16_syscall6'. Remove prototype.
32436 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32437 `__mips16_syscall7'. Remove prototype.
32438 (__nomips16, __mips16_syscall_return): Move to...
32439 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32440 (__nomips16, __mips_syscall_return): ... here.
32441 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32442 `__mips16_syscall_return' to `__mips_syscall_return'.
32443 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32444 `internal_syscall##nr'.
32445 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32446 `internal_syscall##nr'.
32447 (FORCE_FRAME_POINTER): Remove.
32448 (__mips_syscall5): New prototype.
32449 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32450 (__mips_syscall6): New prototype.
32451 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32452 (__mips_syscall7): New prototype.
32453 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32454 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32455 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32456 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32457 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32458 (sysdep_routines): Add libc-do-syscall.
32459 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32460 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32461
01b87c65
AZ
324622017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32463
32464 [BZ #21672]
32465 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32466 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32467 (advise_stack_range): New function.
32468 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32469 stack non required to advise_stack_range at allocatestack.c
32470
16f138a4
SN
324712017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32472
32473 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32474
251bccfa
FW
324752017-08-29 Florian Weimer <fweimer@redhat.com>
32476
32477 [BZ #22026]
32478 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32479 __end_fct. Mangle __end_fct after setting it to NULL.
32480 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32481 (modules-names, modules-names-tests): Add
32482 tst-gconv-init-failure-mod.
32483 (gconv-modules): New target.
32484 (tst-gconv-init-failure-mod.so): Link against libsupport.
32485 (tst-gconv-init-failure): Depend on gconv-modules,
32486 tst-gconv-init-failure-mod.so.
32487 * iconv/tst-gconv-init-failure-mod.c: New file.
32488 * iconv/tst-gconv-init-failure.c: Likewise.
32489 * iconv/test-gconv-modules: Likewise.
32490
e7c18b9d
FW
324912017-08-29 Florian Weimer <fweimer@redhat.com>
32492
32493 [BZ #22025]
32494 * iconv/gconv_db.c (free_derivation): Remove redundant
32495 parentheses.
32496 (gen_steps): Unconditionally mangle __btowc_fct after
32497 initialization.
32498 (increment_counter): Likewise. Do not call init_fct for internal
32499 modules.
32500
7daada03
JM
325012017-08-29 Joseph Myers <joseph@codesourcery.com>
32502
32503 [BZ #22028]
32504 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32505 (_MSUF_): Remove macro.
32506 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32507 Likewise.
32508 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32509 (__REDIRFROM_X): New macro.
32510 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32511 Likewise.
32512 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32513 (__REDIRTO_X): Likewise.
32514 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32515 arguments.
32516 (__MATH_REDIRCALL_2): Likewise.
32517 (__MATH_REDIRCALL_INTERNAL): Likewise.
32518 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32519 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32520 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32521 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32522 * math/test-finite-macros.c: New file.
32523 * math/Makefile (tests): Add test-finite-macros.
32524 (CFLAGS-test-finite-macros.c): New variable.
32525
1cf1232c
PF
325262017-08-29 Patsy Franklin <pfrankli@redhat.com>
32527 Jeff Law <law@redhat.com>
32528
32529 [BZ #22025]
32530 Mangle NULL pointers in iconv/gconv.
32531 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32532 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32533 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32534 is non-NULL before demangling the end_fct. Check for NULL
32535 end_fct after demangling.
32536 (__gconv_release_step): Demangle the end_fct before checking
32537 it for NULL. Remove assert on __shlibc_handle != NULL.
32538 (gen_steps): Don't check btowc_fct for NULL before mangling.
32539 Demangle init_fct before checking for NULL.
32540 (increment_counter): Likewise.
32541 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32542 end_fct for NULL before mangling.
32543 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32544 for NULL.
32545
c207f7ce 325462017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
32547
32548 [BZ #21971]
32549 * locale/iso-639.def: add Morisyen.
32550
42496114
GG
325512017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32552
32553 [BZ #21930]
32554 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32555 (iszero): New C++ implementation that does not use
32556 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32557 signaling nans are enabled, since __builtin_types_compatible_p
32558 is a C-only feature.
32559 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32560 defined, include ieee754_float128.h for access to the union and
32561 member ieee854_float128.ieee.
32562 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32563 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32564 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32565 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32566 options of test-math-zero on powerpc64le.
32567
5e2bc4ff
L
325682017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32569
32570 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32571 Change double to float.
32572
a48c0fb4
JM
325732017-08-28 Joseph Myers <joseph@codesourcery.com>
32574
32575 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32576 unconditional.
32577 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32578 conditional code; define contents only for [LIBM_SVID_COMPAT].
32579
ee17d4e9
FW
325802017-08-28 Florian Weimer <fweimer@redhat.com>
32581
32582 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32583 (abi-lp64_be-options): Remove.
32584 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32585 (abi-hard-options): Likewise.
32586 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32587 (abi-o32_hard-options, abi-o32_soft_2008-options)
32588 (abi-o32_hard_2008-options, abi-n32_soft-options)
32589 (abi-n32_hard-options, abi-n32_soft_2008-options)
32590 (abi-n32_hard_2008-options, abi-n64_soft-options)
32591 (abi-n64_hard-options, abi-n64_soft_2008-options)
32592 (abi-n64_hard_2008-options): Likewise.
32593 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32594 (abi-64-v1-options, abi-64-v2-options): Likewise.
32595 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32596 (abi-64-options): Likewise.
32597 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32598 (abi-64-options): Likewise.
32599 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32600 (abi-64-options): Likewise.
32601 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32602 (abi-64-options, abi-x32-options): Likewise.
32603
2dba5ce7
FW
326042017-08-28 Florian Weimer <fweimer@redhat.com>
32605
32606 Store supported list of SYS_* system calls in the source tree.
32607 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32608 (bits/syscall.h): Generate from list file.
32609 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32610 [$(subdir) = misc] (tests): Add tst-syscall-list.
32611 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32612 [$(subdir) = misc] (tst-syscall-list-macros.list)
32613 [$(subdir) = misc] (tst-syscall-list-nr.list)
32614 (tst-syscall-list-sys.list): Helper targets for new
32615 tst-syscall-list test.
32616 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32617 tst-syscall-list.sh.
32618 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32619 target. Do not include bits/syscall.d.
32620 [$(subdir) = misc] (generated): Do not update.
32621 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32622 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32623 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32624 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32625
5f3b183d
PP
326262017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32627
32628 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32629 (tst-cxa_atexit, tst-on_exit): Likewise.
32630 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32631 tst-cxa_atexit, and tst-on_exit.
32632 * stdlib/tst-atexit-common.c: New file.
32633 * stdlib/tst-atexit.c: New file.
32634 * stdlib/tst-at_quick_exit.c: New file.
32635 * stdlib/tst-cxa_atexit.c: New file.
32636 * stdlib/tst-on_exit.c: New file.
32637
2ef8d469
ST
326382017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32639
32640 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
32641 * mach/stack_chk_fail_local.c: New file.
32642 * hurd/stack_chk_fail_local.c: New file.
32643 * mach/Machrules ($(interface-library)-routines): Add
32644 stack_chk_fail_local.
99ee4d26
ST
32645 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32646 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32647 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32648 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32649 * hurd/Makefile (CFLAGS-hurdstartup.o,
32650 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 32651
7ab70c98
L
326522017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32653
32654 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32655 (index_cpu_*, index_arch_*): Removed.
32656
39e7a5a6
SN
326572017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32658
32659 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32660 Use uint64_t instead of unsigned long.
32661
bba5c930
JM
326622017-08-25 Joseph Myers <joseph@codesourcery.com>
32663
a6ccdb08
JM
32664 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32665 [__HAVE_DISTINCT_FLOAT128].
32666
23761119
JM
32667 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32668 of <bits/math-finite.h>.
32669 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32670 inclusion of <bits/math-finite.h>.
32671 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32672 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32673 __NO_LONG_DOUBLE_MATH].
32674 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32675 (__MATH_REDIRCALL_2): Likewise.
32676 (__MATH_REDIRCALL_INTERNAL): Likewise.
32677 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32678 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32679 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32680
bba5c930
JM
32681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32682 Remove file.
32683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32684 Likewise.
32685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32686 Likewise.
32687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32688 Likewise.
32689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32690 Likewise.
32691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32692 Likewise.
32693 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32694 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32695 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32696 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32698 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32699 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32700 w_sqrtf_compat-ppc32.
32701
3d7b66f6
GG
327022017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32703
32704 * math/math.h [defined __cplusplus] (issignaling): In the long
32705 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32706 is not defined. Call __issignaling, otherwise.
32707
ebd6f007
AZ
327082017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32709
32710 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32711 syscall definitions and replace __builtin_expect with __glibc_likely.
32712 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32713 syscall.
6b5c8607 32714 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
32715 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32716 definition.
32717 (PSEUDO_END): Likewise.
32718 [IS_IN (libpthread)] (CENABLE): Likewise.
32719 [IS_IN (libpthread)] (CDISABLE): Likewise.
32720 [IS_IN (libc)] (CENABLE): Likewise.
32721 [IS_IN (libc)] (CENABLE): Likewise.
32722 [IS_IN (librt)] (CDISABLE): Likewise.
32723 [IS_IN (librt)] (CDISABLE): Likewise.
32724 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32725 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32726 definition.
32727 (PSEUDO_END): Likewise.
32728 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32729 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32730 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32731 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32732 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32733 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32734 (CENABLE): Likewise.
32735 (CDISABLE): Likewise.
32736 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32737 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32738 defintion.
32739 (PSEUDO_END): Likewise.
32740 [IS_IN (libpthread)] (CENABLE): Likewise.
32741 [IS_IN (libpthread)] (CDISABLE): Likewise.
32742 [IS_IN (libc)] (CENABLE): Likewise.
32743 [IS_IN (libc)] (CENABLE): Likewise.
32744 [IS_IN (librt)] (CDISABLE): Likewise.
32745 [IS_IN (librt)] (CDISABLE): Likewise.
32746 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32747 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32748 definition.
32749 (PSEUDO_END): Likewise.
32750 [IS_IN (libpthread)] (CENABLE): Likewise.
32751 [IS_IN (libpthread)] (CDISABLE): Likewise.
32752 [IS_IN (libc)] (CENABLE): Likewise.
32753 [IS_IN (libc)] (CENABLE): Likewise.
32754 [IS_IN (librt)] (CDISABLE): Likewise.
32755 [IS_IN (librt)] (CDISABLE): Likewise.
32756 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32757 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32758 definition.
32759 (PSEUDO_END): Likewise.
32760 [IS_IN (libpthread)] (CENABLE): Likewise.
32761 [IS_IN (libpthread)] (CDISABLE): Likewise.
32762 [IS_IN (libc)] (CENABLE): Likewise.
32763 [IS_IN (libc)] (CENABLE): Likewise.
32764 [IS_IN (librt)] (CDISABLE): Likewise.
32765 [IS_IN (librt)] (CDISABLE): Likewise.
32766 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32767 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32768 definition.
32769 (PSEUDO_END): Likewise.
32770 [IS_IN (libpthread)] (CENABLE): Likewise.
32771 [IS_IN (libpthread)] (CDISABLE): Likewise.
32772 [IS_IN (libc)] (CENABLE): Likewise.
32773 [IS_IN (libc)] (CENABLE): Likewise.
32774 [IS_IN (librt)] (CDISABLE): Likewise.
32775 [IS_IN (librt)] (CDISABLE): Likewise.
32776 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32777 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32778 definition.
32779 (PSEUDO_END): Likewise.
32780 [IS_IN (libpthread)] (CENABLE): Likewise.
32781 [IS_IN (libpthread)] (CDISABLE): Likewise.
32782 [IS_IN (libc)] (CENABLE): Likewise.
32783 [IS_IN (libc)] (CENABLE): Likewise.
32784 [IS_IN (librt)] (CDISABLE): Likewise.
32785 [IS_IN (librt)] (CDISABLE): Likewise.
32786 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32787 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32788 definition.
32789 (PSEUDO_END): Likewise.
32790 [IS_IN (libpthread)] (CENABLE): Likewise.
32791 [IS_IN (libpthread)] (CDISABLE): Likewise.
32792 [IS_IN (libc)] (CENABLE): Likewise.
32793 [IS_IN (libc)] (CENABLE): Likewise.
32794 [IS_IN (librt)] (CDISABLE): Likewise.
32795 [IS_IN (librt)] (CDISABLE): Likewise.
32796 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32797 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32798 Remove definition.
32799 (PSEUDO_END): Likewise.
32800 [IS_IN (libpthread)] (CENABLE): Likewise.
32801 [IS_IN (libpthread)] (CDISABLE): Likewise.
32802 [IS_IN (libc)] (CENABLE): Likewise.
32803 [IS_IN (libc)] (CENABLE): Likewise.
32804 [IS_IN (librt)] (CDISABLE): Likewise.
32805 [IS_IN (librt)] (CDISABLE): Likewise.
32806 (SINGLE_THREAD_P): Likewise.
32807 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32808 definition.
32809 (PSEUDO_END): Likewise.
32810 [IS_IN (libpthread)] (CENABLE): Likewise.
32811 [IS_IN (libpthread)] (CDISABLE): Likewise.
32812 [IS_IN (libc)] (CENABLE): Likewise.
32813 [IS_IN (libc)] (CENABLE): Likewise.
32814 [IS_IN (librt)] (CDISABLE): Likewise.
32815 [IS_IN (librt)] (CDISABLE): Likewise.
32816 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32817 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32818 definition.
32819 (PSEUDO_END): Likewise.
32820 [IS_IN (libpthread)] (CENABLE): Likewise.
32821 [IS_IN (libpthread)] (CDISABLE): Likewise.
32822 [IS_IN (libc)] (CENABLE): Likewise.
32823 [IS_IN (libc)] (CENABLE): Likewise.
32824 [IS_IN (librt)] (CDISABLE): Likewise.
32825 [IS_IN (librt)] (CDISABLE): Likewise.
32826 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32827 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32828 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32829 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32830 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32831 definition.
32832 (PSEUDO_END): Likewise.
32833 [IS_IN (libpthread)] (CENABLE): Likewise.
32834 [IS_IN (libpthread)] (CDISABLE): Likewise.
32835 [IS_IN (libc)] (CENABLE): Likewise.
32836 [IS_IN (libc)] (CENABLE): Likewise.
32837 [IS_IN (librt)] (CDISABLE): Likewise.
32838 [IS_IN (librt)] (CDISABLE): Likewise.
32839 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32840 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32841 definition.
32842 (PSEUDO_END): Likewise.
32843 [IS_IN (libpthread)] (CENABLE): Likewise.
32844 [IS_IN (libpthread)] (CDISABLE): Likewise.
32845 [IS_IN (libc)] (CENABLE): Likewise.
32846 [IS_IN (libc)] (CENABLE): Likewise.
32847 [IS_IN (librt)] (CDISABLE): Likewise.
32848 [IS_IN (librt)] (CDISABLE): Likewise.
32849 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32850 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32851 definition.
32852 (PSEUDO_END): Likewise.
32853 [IS_IN (libpthread)] (CENABLE): Likewise.
32854 [IS_IN (libpthread)] (CDISABLE): Likewise.
32855 [IS_IN (libc)] (CENABLE): Likewise.
32856 [IS_IN (libc)] (CENABLE): Likewise.
32857 [IS_IN (librt)] (CDISABLE): Likewise.
32858 [IS_IN (librt)] (CDISABLE): Likewise.
32859 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32860 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32861 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32862 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32863 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32864 definition.
32865 (PSEUDO_END): Likewise.
32866 [IS_IN (libpthread)] (CENABLE): Likewise.
32867 [IS_IN (libpthread)] (CDISABLE): Likewise.
32868 [IS_IN (libc)] (CENABLE): Likewise.
32869 [IS_IN (libc)] (CENABLE): Likewise.
32870 [IS_IN (librt)] (CDISABLE): Likewise.
32871 [IS_IN (librt)] (CDISABLE): Likewise.
32872 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32873 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32874 definition.
32875 (PSEUDO_END): Likewise.
32876 [IS_IN (libpthread)] (CENABLE): Likewise.
32877 [IS_IN (libpthread)] (CDISABLE): Likewise.
32878 [IS_IN (libc)] (CENABLE): Likewise.
32879 [IS_IN (libc)] (CENABLE): Likewise.
32880 [IS_IN (librt)] (CDISABLE): Likewise.
32881 [IS_IN (librt)] (CDISABLE): Likewise.
32882 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32883
8aa48656
SN
328842017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32885
32886 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32887
fcaaca41
L
328882017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32889
32890 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32891
376b40a2
L
328922017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32893
32894 [BZ #21982]
32895 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32896 middle and outer with size_t instead of int. Repleace %d and
32897 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32898 "MAX (outer, nchars - 64)" to support unsigned outer and
32899 nchars. Also exit loop when outer == 0.
32900
2b0b9a1c
AZ
329012017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32902
32903 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32904 * include/signal.h (__sigsuspend_nocancel): Likewise.
32905 * include/time.h (__nanosleep_nocancel): Likewise.
32906 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32907 * login/utmp_file.c: Include non cancellable syscall header.
32908 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32909 prototype.
32910
b9eaca8f
L
329112017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32912
32913 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32914 .byte sequences with AVX512F instructions.
32915 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32916 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32917 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32918 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32919 Likewise.
32920 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32921 Likewise.
32922
5a706f64
SE
329232017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32924 Steve Ellcey <sellcey@cavium.com>
32925
32926 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32927 Use PTR_REG macro in cmp instruction.
32928
b513da7e
GG
329292017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32930
32931 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32932 Change the return type of the ifunc resolver to match the return
32933 type of the target function.
32934
78ca091c
AZ
329352017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32936
b70b6026
AZ
32937 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32938 (preadv64): Likewise.
32939 (pwrite64(: Likewise.
32940 (pwritev64): Likewise.
32941
78ca091c
AZ
32942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32943 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32944 (LOAD_ARGS_0): Likewise.
32945 (LOAD_ARGS_1): Likewise.
32946 (LOAD_ARGS_2): Likewise.
32947 (LOAD_ARGS_3): Likewise.
32948 (LOAD_ARGS_4): Likewise.
32949 (LOAD_ARGS_5): Likewise.
32950 (LOAD_ARGS_6): Likewise.
32951 (LOAD_REGS_0): Likewise.
32952 (LOAD_REGS_1): Likewise.
32953 (LOAD_REGS_2): Likewise.
32954 (LOAD_REGS_3): Likewise.
32955 (LOAD_REGS_4): Likewise.
32956 (LOAD_REGS_5): Likewise.
32957 (LOAD_REGS_6): Likewise.
32958 (ASM_ARGS_0): Likewise.
32959 (ASM_ARGS_1): Likewise.
32960 (ASM_ARGS_2): Likewise.
32961 (ASM_ARGS_3): Likewise.
32962 (ASM_ARGS_4): Likewise.
32963 (ASM_ARGS_5): Likewise.
32964 (ASM_ARGS_6): Likewise.
32965 (LOAD_ARGS_TYPES_1): Likewise.
32966 (LOAD_ARGS_TYPES_2): Likewise.
32967 (LOAD_ARGS_TYPES_3): Likewise.
32968 (LOAD_ARGS_TYPES_4): Likewise.
32969 (LOAD_ARGS_TYPES_5): Likewise.
32970 (LOAD_ARGS_TYPES_6): Likewise.
32971 (LOAD_REGS_TYPES_1): Likewise.
32972 (LOAD_REGS_TYPES_2): Likewise.
32973 (LOAD_REGS_TYPES_3): Likewise.
32974 (LOAD_REGS_TYPES_4): Likewise.
32975 (LOAD_REGS_TYPES_5): Likewise.
32976 (LOAD_REGS_TYPES_6): Likewise.
32977 (TYPEFY): New define.
32978 (ARGIFY): Likewise.
32979 (internal_syscall0): Likewise.
32980 (internal_syscall1): Likewise.
32981 (internal_syscall2): Likewise.
32982 (internal_syscall3): Likewise.
32983 (internal_syscall4): Likewise.
32984 (internal_syscall5): Likewise.
32985 (internal_syscall6): Likewise.
32986 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32987 (INTERNAL_SYSCALL_NCS): Remove define.
32988 (internal_syscall1): Add define.
32989
453a493d
GG
329902017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32991
32992 * math/w_remainder_compat.c: Remove duplicate inclusion of
32993 math-svid-compat.h.
32994 * math/w_remainderf_compat.c: Likewise.
32995 * math/w_remainderl_compat.c: Likewise.
32996
f2f048a5
GG
329972017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32998
32999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33000
d9bef9c0
JM
330012017-08-22 Joseph Myers <joseph@codesourcery.com>
33002
33003 [BZ #21684]
33004 * math/tgmath.h (__floating_type): Simplify definitions.
33005 (__real_integer_type): New macro.
33006 (__complex_integer_type): Likewise.
33007 (__expr_is_real): Likewise.
33008 (__tgmath_real_type_sub): Update comment to describe handling of
33009 complex types.
33010 (__tgmath_complex_type_sub): New macro.
33011 (__tgmath_complex_type): Likewise.
33012 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33013 (__TGMATH_CF128): Use __expr_is_real.
33014 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33015 __expr_is_real.
33016 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33017 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33018 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33019 integer types.
33020
08d6eb46
AZ
330212017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33022
988f991b
AZ
33023 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33024 macro.
33025 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33026 alias.
33027 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33028 Likewise.
33029
6f33fd04
AZ
33030 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33031 nanosleep_not_cancel with __nanosleep_nocancel.
33032 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33033 (__nanosleep_nocancel): New macro.
33034 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33035 function.
33036 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33037 macro.
33038 (__nanosleep_nocancel): New prototype.
33039
08d6eb46
AZ
33040 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33041 pause_not_cancel with __pause_nocancel.
33042 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33043 (__pause_nocancel): New macro.
33044 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33045 macro.
33046 (__pause_nocancel): New prototype.
33047 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33048
ee4e992e
MS
330492017-08-22 Martin Sebor <msebor@redhat.com>
33050
33051 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33052 to return a pointer to the same type as the target function.
33053
20962acb
L
330542017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33055
33056 [BZ #18822]
33057 [BZ #21986]
33058 * include/printf.h (__printf_fphex): Add attribute_hidden.
33059 (__guess_grouping): New prototype.
33060 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33061 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33062 libc_hidden_proto and libc_hidden_def.
33063 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33064 (__vstrfmon_l): Remove the third argument passed to
33065 __guess_grouping.
33066
a16e8bc0
GG
330672017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33068
33069 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33070 definition for issignaling that does not rely on __MATH_TG,
33071 since __MATH_TG uses __builtin_types_compatible_p, which is only
33072 available in C mode.
33073 (CFLAGS-test-math-issignaling.cc): New variable.
33074 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33075 * math/test-math-issignaling.cc: New test for C++ implementation
33076 of type-generic issignaling.
33077 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33078 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33079 options of test-math-issignaling on powerpc64le.
33080
8d2ec553
L
330812017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33082
33083 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33084 building libc.a.
33085 (hidden_proto): Likewise.
33086 (hidden_tls_proto): Likewise.
33087 (__hidden_proto): Likewise.
33088
a4d57b79
FW
330892017-08-22 Florian Weimer <fweimer@redhat.com>
33090
33091 math: Statically link tests of internal functionality.
33092 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33093 atest-exp2.
33094 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33095 (gmp-objs): Remove assignment.
33096 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33097
75dfe623
JM
330982017-08-22 Joseph Myers <joseph@codesourcery.com>
33099
80f91666
JM
33100 [BZ #21987]
33101 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33102 and copy to ...
33103 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33104 ... here.
33105 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33106 ... and here.
33107
75dfe623
JM
33108 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33109 variable definitions above inclusion of ../Rules.
33110
ea99fcd0
JM
331112017-08-21 Joseph Myers <joseph@codesourcery.com>
33112
33113 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33114 case calling __builtin_unreachable.
33115
19926de9
AZ
331162017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33117
a8410a5f
AZ
33118 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33119 __waitpid_nocancel.
33120 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33121 (__waitpid_nocancel): New macro.
33122 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33123 macro.
33124 (__waitpid_nocancel): Replace macro with a function.
33125 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33126 function.
33127
7369800c
AZ
33128 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33129 __fcntl_nocancel.
33130 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33131 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33132
19926de9
AZ
33133 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33134 __writev_nocancel_nostatus.
33135 (write_call_graph): Likewise.
33136 (write_bb_counts): Likewise.
33137 * resolv/herror.c (herror): Likewise.
33138 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33139 macro.
33140 (__writev_nocancel_nostatus): New macro.
33141 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33142 Remove macro.
33143 (__writev_nocancel_nostatus): New function.
33144
813378e9
JM
331452017-08-21 Joseph Myers <joseph@codesourcery.com>
33146
df1deda6
JM
33147 Revert:
33148 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33149
33150 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33151 building libc.a.
33152 (hidden_proto): Likewise.
33153 (hidden_tls_proto): Likewise.
33154 (__hidden_proto): Likewise.
33155
831bbd55
JM
33156 [BZ #21973]
33157 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33158 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33160 Likewise.
33161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33162 Likewise.
33163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33164 Likewise.
33165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33166 Likewise.
33167 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33168 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33169 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33170 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33171 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33172 GLIBC_2.0 sqrtl symbol.
33173
813378e9
JM
33174 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33175 [__USE_MISC] (_LIB_VERSION): Likewise.
33176 [__USE_MISC] (struct exception): Likewise.
33177 [__USE_MISC] (matherr): Likewise.
33178 [__USE_MISC] (DOMAIN): Likewise.
33179 [__USE_MISC] (SING): Likewise.
33180 [__USE_MISC] (OVERFLOW): Likewise.
33181 [__USE_MISC] (UNDERFLOW): Likewise.
33182 [__USE_MISC] (TLOSS): Likewise.
33183 [__USE_MISC] (PLOSS): Likewise.
33184 [__USE_MISC] (HUGE): Likewise.
33185 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33186 * math/math-svid-compat.h: New file.
33187 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33188 and matherrl.
33189 * include/math.h [!_ISOMAC] (__matherr): Remove.
33190 * manual/arith.texi (FP Exceptions): Do not document matherr.
33191 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33192 (tests-internal): New variable.
33193 (install-lib): Do not add libieee.a.
33194 (non-lib.a): Likewise.
33195 (extra-objs): Do not add libieee.a and ieee-math.o.
33196 (CPPFLAGS-s_lib_version.c): Remove variable.
33197 ($(objpfx)libieee.a): Remove rule.
33198 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33199 * math/ieee-math.c: Remove.
33200 * math/libm-test-support.c (matherr): Remove.
33201 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33202 and license notices. Include <math-svid-compat.h> and
33203 <shlib-compat.h>.
33204 (matherr): Undefine as macro. Use compat_symbol_reference.
33205 (_LIB_VERSION): Likewise.
33206 * math/test-matherr-2.c: New file.
33207 * math/test-matherr-3.c: Likewise.
33208 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33209 declaration.
33210 (__kernel_standard_f): Likewise.
33211 (__kernel_standard_l): Likewise.
33212 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33213 <math_private.h>. Include <math-svid-compat.h>.
33214 (_LIB_VERSION): Undefine as macro.
33215 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33216 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33217 [LIBM_SVID_COMPAT], use compat_symbol.
33218 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33219 <math_private.h>. Include <math-svid-compat.h>.
33220 (matherr): Undefine as macro.
33221 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33222 compat_symbol.
33223 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33224 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33225 compat_symbol_reference.
33226 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33227 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33228 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33229 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33230 (MATHERR_D): Remove declaration.
33231 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33232 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33233 [LIBM_BUILD] (pmatherrf): Likewise.
33234 [LIBM_BUILD] (pmatherr): Likewise.
33235 [LIBM_BUILD] (pmatherrl): Likewise.
33236 (DOMAIN): Likewise.
33237 (SING): Likewise.
33238 (OVERFLOW): Likewise.
33239 (UNDERFLOW): Likewise.
33240 (TLOSS): Likewise.
33241 (PLOSS): Likewise.
33242 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33243 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33244 compat_symbol.
33245 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33246 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33247 compat_symbol.
33248 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33249 * math/w_acos_compat.c: Likewise.
33250 * math/w_acosf_compat.c: Likewise.
33251 * math/w_acosh_compat.c: Likewise.
33252 * math/w_acoshf_compat.c: Likewise.
33253 * math/w_acoshl_compat.c: Likewise.
33254 * math/w_acosl_compat.c: Likewise.
33255 * math/w_asin_compat.c: Likewise.
33256 * math/w_asinf_compat.c: Likewise.
33257 * math/w_asinl_compat.c: Likewise.
33258 * math/w_atan2_compat.c: Likewise.
33259 * math/w_atan2f_compat.c: Likewise.
33260 * math/w_atan2l_compat.c: Likewise.
33261 * math/w_atanh_compat.c: Likewise.
33262 * math/w_atanhf_compat.c: Likewise.
33263 * math/w_atanhl_compat.c: Likewise.
33264 * math/w_cosh_compat.c: Likewise.
33265 * math/w_coshf_compat.c: Likewise.
33266 * math/w_coshl_compat.c: Likewise.
33267 * math/w_exp10_compat.c: Likewise.
33268 * math/w_exp10f_compat.c: Likewise.
33269 * math/w_exp10l_compat.c: Likewise.
33270 * math/w_exp2_compat.c: Likewise.
33271 * math/w_exp2f_compat.c: Likewise.
33272 * math/w_exp2l_compat.c: Likewise.
33273 * math/w_fmod_compat.c: Likewise.
33274 * math/w_fmodf_compat.c: Likewise.
33275 * math/w_fmodl_compat.c: Likewise.
33276 * math/w_hypot_compat.c: Likewise.
33277 * math/w_hypotf_compat.c: Likewise.
33278 * math/w_hypotl_compat.c: Likewise.
33279 * math/w_j0_compat.c: Likewise.
33280 * math/w_j0f_compat.c: Likewise.
33281 * math/w_j0l_compat.c: Likewise.
33282 * math/w_j1_compat.c: Likewise.
33283 * math/w_j1f_compat.c: Likewise.
33284 * math/w_j1l_compat.c: Likewise.
33285 * math/w_jn_compat.c: Likewise.
33286 * math/w_jnf_compat.c: Likewise.
33287 * math/w_jnl_compat.c: Likewise.
33288 * math/w_lgamma_main.c: Likewise.
33289 * math/w_lgamma_r_compat.c: Likewise.
33290 * math/w_lgammaf_main.c: Likewise.
33291 * math/w_lgammaf_r_compat.c: Likewise.
33292 * math/w_lgammal_main.c: Likewise.
33293 * math/w_lgammal_r_compat.c: Likewise.
33294 * math/w_log10_compat.c: Likewise.
33295 * math/w_log10f_compat.c: Likewise.
33296 * math/w_log10l_compat.c: Likewise.
33297 * math/w_log2_compat.c: Likewise.
33298 * math/w_log2f_compat.c: Likewise.
33299 * math/w_log2l_compat.c: Likewise.
33300 * math/w_log_compat.c: Likewise.
33301 * math/w_logf_compat.c: Likewise.
33302 * math/w_logl_compat.c: Likewise.
33303 * math/w_pow_compat.c: Likewise.
33304 * math/w_powf_compat.c: Likewise.
33305 * math/w_powl_compat.c: Likewise.
33306 * math/w_remainder_compat.c: Likewise.
33307 * math/w_remainderf_compat.c: Likewise.
33308 * math/w_remainderl_compat.c: Likewise.
33309 * math/w_scalb_compat.c: Likewise.
33310 * math/w_scalbf_compat.c: Likewise.
33311 * math/w_scalbl_compat.c: Likewise.
33312 * math/w_sinh_compat.c: Likewise.
33313 * math/w_sinhf_compat.c: Likewise.
33314 * math/w_sinhl_compat.c: Likewise.
33315 * math/w_sqrt_compat.c: Likewise.
33316 * math/w_sqrtf_compat.c: Likewise.
33317 * math/w_sqrtl_compat.c: Likewise.
33318 * math/w_tgamma_compat.c: Likewise.
33319 * math/w_tgammaf_compat.c: Likewise.
33320 * math/w_tgammal_compat.c: Likewise.
33321 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33322 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33323 * sysdeps/ieee754/k_standard.c: Likewise.
33324 * sysdeps/ieee754/k_standardf.c: Likewise.
33325 * sysdeps/ieee754/k_standardl.c: Likewise.
33326 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33327 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33328 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33329 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33330 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33331 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33332 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33333 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33334 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33336 Likewise.
33337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33338 Likewise.
33339 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33341 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33342 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33343
4504783c
FW
333442017-08-21 Florian Weimer <fweimer@redhat.com>
33345
33346 [BZ #21864]
33347 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33348 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33349 Move before inclusion of ../Rules.
33350
b5889d25
FW
333512017-08-21 Florian Weimer <fweimer@redhat.com>
33352
33353 [BZ #21972]
33354 * assert/assert.h (assert): Use static_cast (bool) for C++.
33355 Use the ternary operator in the warning branch for GNU C.
33356 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33357 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33358 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33359 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33360 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33361
41e673c1
L
333622017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33363
33364 [BZ #18822]
33365 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33366 (__syscall_clock_gettime): Add attribute_hidden.
33367 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33368 (__start_context): Likewise.
33369
568ff429
L
333702017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33371
33372 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33373 building libc.a.
33374 (hidden_proto): Likewise.
33375 (hidden_tls_proto): Likewise.
33376 (__hidden_proto): Likewise.
33377
7c41b4a1
L
333782017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33379
33380 * include/libc-symbols.h (attribute_hidden): Enable hidden
33381 visibility in libc.a compiled with PIE.
33382
483d7068
L
333832017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33384
33385 [BZ #18822]
33386 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33387 Add attribute_hidden.
33388
333892017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33390
33391 [BZ #21864]
33392 * Makerules (all-nonlib): Add $(others-extras).
33393 * catgets/Makefile (others-extras): New.
33394 * elf/Makefile (others-extras): Likewise.
33395 * nss/Makefile (others-extras): Likewise.
33396
54e4b8f2
L
333972017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33398
33399 [BZ #18822]
33400 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33401 * elf/dl-open.c: Include <libc-internal.h>.
33402 (__libc_multiple_libcs): Removed.
33403 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33404 <hp-timing.h>.
33405 * include/libc-internal.h (__libc_multiple_libcs): New.
33406 * misc/sbrk.c: Include <libc-internal.h>.
33407 (__libc_multiple_libcs): Removed.
33408
1dbbb1ec
L
334092017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33410
33411 [BZ #18822]
33412 * grp/initgroups.c (__nss_group_database): Removed.
33413 (__nss_initgroups_database): Likewise.
33414 * nscd/gai.c (__nss_hosts_database): Likewise.
33415 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33416 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33417 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33418 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33419 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33420 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33421 attribute_hidden.
33422 * nss/nsswitch.c (__nss_database_custom): Define only if
33423 USE_NSCD is defined.
33424 (__nss_configure_lookup): Use __nss_database_custom only if
33425 USE_NSCD is defined.
33426 * nss/nsswitch.h (__nss_database_custom): Declare only if
33427 USE_NSCD is defined. Add attribute_hidden.
33428 (__nss_setent): Add attribute_hidden.
33429 (__nss_endent): Likewise.
33430 (__nss_getent_r): Likewise.
33431 (__nss_getent): Likewise.
33432 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33433
2585d7b8
L
334342017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33435
33436 [BZ #18822]
33437 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33438 libc_hidden_proto and libc_hidden_def.
33439
c8dfa99c
L
334402017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33441
33442 [BZ #18822]
33443 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33444 Add libc_hidden_proto.
33445 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33446 Add libc_hidden_def.
33447
7ed87317
L
334482017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33449
33450 [BZ #21974]
33451 * gmon/Makefile (routines): Remove bb_init_func and
33452 bb_exit_func.
33453 (elide-routines.os): Removed.
9476b904
L
33454 * gmon/bb_exit_func.c: Likewise.
33455 * gmon/bb_init_func.c: Likewise.
7ed87317
L
33456 * include/sys/gmon.h (__bb): Likewise.
33457 (__bb_init_func): Likewise.
33458 (__bb_exit_func): Likewise.
91695eb1 33459 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 33460
94e6ba15
L
334612017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33462
33463 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33464 * include/setjmp.h (____longjmp_chk): Here. Add
33465 attribute_hidden.
33466
7550717e
L
334672017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33468
33469 [BZ #18822]
33470 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33471 attribute_hidden.
33472 (__strspn_sse2): Likewise.
33473
0bb2fabc
AZ
334742017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33475
c181840c
AZ
33476 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33477 (close_not_cancel_no_status): Likewise.
33478 (__close_nocancel): New macro.
33479 (__close_nocancel_nostatus): Likewise.
33480 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33481 macro.
33482 (close_not_cancel): Likewise.
33483 (close_not_cancel_no_status): Likewise.
33484 (__close_nocancel): New prototype.
33485 (__close_nocancel_nostatus): New function.
33486 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33487 * catgets/open_catalog.c (__open_catalog): Replace
33488 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33489 * gmon/gmon.c (write_gmon): Likewise.
33490 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33491 * intl/loadmsgcat.c (close): Likewise.
33492 * io/ftw.c (open_dir_stream): Likewise.
33493 (ftw_startup): Likewise.
33494 * libio/fileops.c (_IO_file_open): Likewise.
33495 (_IO_file_close_mmap): Likewise.
33496 (_IO_file_close): Likewise.
33497 * libio/iopopen.c (_IO_dup2): Likewise.
33498 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33499 * locale/loadlocale.c (_nl_load_locale): Likewise.
33500 * login/utmp_file.c (pututline_file): Likewise.
33501 (endutent_file): Likewise.
33502 * misc/daemon.c (daemon): Likewise.
33503 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33504 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33505 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33506 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33507 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33508 * nscd/nscd_helper.c (open_socket): Likewise.
33509 (__nscd_open_socket): Likewise.
33510 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33511 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33512 (__nscd_innetgr): Likewise.
33513 * nss/nss_db/db-open.c (internal_setent): Likewise.
33514 * resolv/res-close.c (__res_iclose): Likewise.
33515 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33516 * sysdeps/posix/closedir.c (__closedir): Likewise.
33517 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33518 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33519 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33520 (opendir_tail): Likewise.
33521 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33522 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33523 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33524 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33525 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33526 (gethostid): Likewise.
33527 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33528 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33529 Likewise.
33530 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33531 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33532 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33533 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33534 Likewise.
33535 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33536 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33537 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33538 Likewise.
33539 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33540 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33541 Likewise.
33542 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33543 Likewise.
33544 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33545 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33546 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33547 __close_nocancel.
33548
0bb2fabc
AZ
33549 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33550 (openat_not_cancel_3): Likewise.
33551 (openat64_not_cancel_3): Likewise).
33552 (openat_not_cancel_3): Likewise).
33553 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33554 macro.
33555 (openat_not_cancel_3): Likewise.
33556 (openat64_not_cancel): Likewise.
33557 (openat64_not_cancel_3): Likewise.
33558 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33559 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33560 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33561 __open{64}_nocancel.
33562 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33563 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33564 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33565
65a086db
L
335662017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33567
33568 [BZ #18822]
33569 * include/argz.h (__argz_create_sep): New function prototype.
33570 (__argz_append): Likewise.
33571 (__argz_add): Likewise.
33572 (__argz_add_sep): Likewise.
33573 (__argz_delete): Likewise.
33574 (__argz_insert): Likewise.
33575 (__argz_replace): Likewise.
33576 * string/argz.h (__argz_create_sep): Removed.
33577 (__argz_append): Likewise.
33578 (__argz_add): Likewise.
33579 (__argz_add_sep): Likewise.
33580 (__argz_delete): Likewise.
33581 (__argz_insert): Likewise.
33582 (__argz_replace): Likewise.
33583
62753d2c
L
335842017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33585
33586 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33587 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33588 (GNU_PROPERTY_STACK_SIZE): Likewie.
33589 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33590 (GNU_PROPERTY_LOPROC): Likewise.
33591 (GNU_PROPERTY_HIPROC): Likewise.
33592 (GNU_PROPERTY_LOUSER): Likewise.
33593 (GNU_PROPERTY_HIUSER): Likewise.
33594 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33595 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33596 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33597 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33598 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33599 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33600 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33601 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33602 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33603 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33604 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33605 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33606 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33607 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33608 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33609 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33610 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33611 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33612 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33613 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33614 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33615 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33616 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33617
6913ad65
GG
336182017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33619
33620 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33621 in C++ mode.
33622
47a67213
GG
336232017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33624
33625 [BZ #21930]
33626 * math/math.h (isinf): Check if in C or C++ mode before using
33627 __builtin_types_compatible_p, since this is a C mode feature.
33628
a748eb31
AZ
336292017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33630
c647fb88
AZ
33631 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33632 (__write_nocancel): New macro.
33633 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33634 Rewrite as a function prototype.
33635 (write_not_cancel): Remove macro.
33636 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33637 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33638 (write_gmon): Likewise.
33639 * libio/fileops.c (_IO_new_file_write): Likewise.
33640 * login/utmp_file.c (pututline_file): Likewise.
33641 (updwtmp_file): Likewise.
33642 * stdio-common/psiginfo.c (psiginfo): Likewise.
33643 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33644 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33645 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33646 Likewise.
33647 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33648 Likewise.
33649
a748eb31
AZ
33650 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33651 (__read_nocancel): New macro.
33652 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33653 __read_nocancel.
33654 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33655 macro.
33656 (__read_nocancel): New prototype.
33657 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33658 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33659 with __read_nocancel.
33660 * intl/loadmsgcat.c (read): Likewise.
33661 * libio/fileops.c (_IO_file_read): Likewise.
33662 * locale/loadlocale.c (_nl_load_locale): Likewise.
33663 * login/utmp_file.c (getutent_r_file): Likewise.
33664 (internal_getut_r): Likewise.
33665 (getutline_r_file): Likewise.
33666 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33667 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33668 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33669 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33670 Likewise.
33671 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33672 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33673 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33674 Likewise.
33675 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33676 Likewise.
33677 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33678 Likewise.
33679 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33680 Likewise.
33681 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33682
098b9dd4
L
336832017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33684
33685 [BZ #21966]
33686 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33687 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33688 usable.
33689
a3fe6a20
DD
336902017-08-17 DJ Delorie <dj@redhat.com>
33691
33692 * bug17079.c: Update to new test harness.
33693 * test-digits-dots.c: Likewise.
33694 * test-netdb.c: Likewise.
33695 * tst-field.c: Likewise.
33696 * tst-nss-getpwent.c: Likewise.
33697 * tst-nss-static.c: Likewise.
33698 * tst-nss-test1.c: Likewise.
33699 * tst-nss-test2.c: Likewise.
33700 * tst-nss-test3.c: Likewise.
33701 * tst-nss-test4.c: Likewise.
33702 * tst-nss-test5.c: Likewise.
33703
c2284574
AZ
337042017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33705
33706 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33707 (open_not_cancel_2): Likewise.
33708 (open_nocancel): New macro.
33709 (open64_nocancel): Likewise.
33710 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33711 (open_not_cancel_2): Likewise.
33712 (__open_nocancel): New prototype.
33713 (__open64_nocancel): Likewise.
33714 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33715 __open_nocancel.
33716 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33717 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33718 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33719 with __open_nocancel.
33720 * csu/check_fds.c (check_one_fd): Likewise.
33721 * gmon/gmon.c (write_gmon): Likewise.
33722 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33723 * intl/loadmsgcat.c (open): Likewise.
33724 * libio/fileops.c (_IO_file_open): Likewise.
33725 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33726 * locale/loadlocale.c (_nl_load_locale): Likewise.
33727 * login/utmp_file.c (setutent_file): Likewise.
33728 * misc/daemon.c (daemon): Likewise.
33729 * nss/nss_db/db-open.c (internal_setent): Likewise.
33730 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33731 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33732 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33733 (__opendir): Likewise.
33734 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33735 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33736 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33737 (gethostid): Likewise.
33738 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33739 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33740 Likewise.
33741 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33742 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33743 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33744 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33745 Likewise.
33746 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33747 Likewise.
33748 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33749 Likewise.
33750 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33751 Likewise.
33752 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33753 Likewise.
33754 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33755 Likewise.
33756 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33757 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33758
d4505b89
WD
337592017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33760
33761 * benchtests/bench-skeleton.c (main): Add support for
33762 latency benchmarking.
33763 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33764
34d6a3cb
L
337652017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33766
33767 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33768 the startup object.
33769
038d1caf
FW
337702017-08-17 Florian Weimer <fweimer@redhat.com>
33771
33772 * include/sys/socket.h (__opensock): Remove internal_function.
33773 * socket/opensock.c (__opensock): Likewise.
33774 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33775
67f0aff0
JM
337762017-08-16 Joseph Myers <joseph@codesourcery.com>
33777
33778 [BZ #21944]
33779 * signal/bits/types/__sigval_t.h: New file.
33780 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33781 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33782 and define sigval_t using __sigval_t.
33783 * include/bits/types/__sigval_t.h: New file.
33784 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33785 instead of <bits/types/__sigval_t.h>.
33786 (struct sigevent): Use __sigval_t instead of sigval_t.
33787 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33788 instead of <bits/types/__sigval_t.h>.
33789 (siginfo_t): Use __sigval_t instead of sigval_t.
33790 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33791 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33792 (struct sigevent): Use __sigval_t instead of sigval_t.
33793 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33794 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33795 (siginfo_t): Use __sigval_t instead of sigval_t.
33796 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33797
87e7bf4d
L
337982017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33799
33800 * NEWS: Remove "[Add new features here]" for 2.27.
33801
5047057f
JM
338022017-08-16 Joseph Myers <joseph@codesourcery.com>
33803
33804 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33805 libc.so.
33806
20c7b195
L
338072017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33808
33809 * NEWS: Mention x86-64 FMA optimization.
33810
24a2e658
L
338112017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33812
33813 [BZ #21912]
33814 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33815 Add e_expf-fma.
33816 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33817 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33818 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33819
eedca977
AS
338202017-08-16 Andreas Schwab <schwab@suse.de>
33821
403143e1
FW
33822 [BZ #16750]
33823 CVE-2009-5064
eedca977
AS
33824 * elf/ldd.bash.in: Never run file directly.
33825
f59f7adb
L
338262017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33827
33828 [BZ #21955]
33829 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33830 (L(SP_INF_0)): Likewise.
33831
6b11a6ad
FW
338322017-08-15 Florian Weimer <fweimer@redhat.com>
33833
33834 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33835 run-built-tests.
33836
bbf5c438
FW
338372017-08-15 Florian Weimer <fweimer@redhat.com>
33838
33839 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33840 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33841 BROKEN_THREAD_SIGNALS code.
33842 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33843 request_list): Remove caller_pid member used for
33844 BROKEN_THREAD_SIGNALS.
33845 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33846 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33847 Remove BROKEN_THREAD_SIGNALS support.
33848 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33849 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33850
6014c65d
FW
338512017-08-15 Florian Weimer <fweimer@redhat.com>
33852
33853 * gmon/Makefile (tests): Add tst-gmon.
33854 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33855 Set.
33856 (tests-special): Add tst-gmon-prof.out.
33857 (tst-gmon.out): Depend on clean-tst-gmon-data.
33858 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33859 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33860 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33861 startup object.
33862 * aclocal.m4 (GPROF): Set and substitute.
33863 * config.amke.in (GPROF): Set.
33864 * configure: Regenerate.
33865
ee72219a
GR
338662017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33867
33868 * elf/elf.h A (NT_PPC_TAR): New macro.
33869 (NT_PPC_PPR): Likewise.
33870 (NT_PPC_DSCR): Likewise.
33871 (NT_PPC_EBB): Likewise.
33872 (NT_PPC_PMU): Likewise.
33873 (NT_PPC_TM_CGPR): Likewise.
33874 (NT_PPC_TM_CFPR): Likewise.
33875 (NT_PPC_TM_CVMX): Likewise.
33876 (NT_PPC_TM_CVSX): Likewise.
33877 (NT_PPC_TM_SPR): Likewise.
33878 (NT_PPC_TM_CTAR): Likewise.
33879 (NT_PPC_TM_CPPR): Likewise.
33880 (NT_PPC_TM_CDSCR): Likewise.
33881
4ebf934e
FW
338822017-08-15 Florian Weimer <fweimer@redhat.com>
33883
33884 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33885 regparm (2) instead of internal_function.
33886 (_MCOUNT_DECL): Adjust.
33887
e9f57484
SL
338882017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33889
33890 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33891 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33892
88ff4d55
JM
338932017-08-14 Joseph Myers <joseph@codesourcery.com>
33894
33895 * conform/data/sys/wait.h-data (si_value): Do not expect for
33896 XPG42.
33897
c88ffc23
FW
338982017-08-14 Florian Weimer <fweimer@redhat.com>
33899
33900 [BZ #21962]
33901 NSS: Create stubs for accidentally exported lookup functions.
33902 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33903 Remove declaration.
33904 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33905 (ether_hostton): Call __nss_ethers_lookup2 instead.
33906 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33907 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33908 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33909 (setup): Call __nss_netgroup_lookup2 instead.
33910 * nss/Makefile (routines): Add compat-lookup.
33911 * nss/Versions (GLIBC_2.27): Add symbol version.
33912 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33913 (DB_COMPAT_FCT): Remove.
33914 * nss/compat-lookup.c: New file.
33915 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33916 from databases.def.
33917 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33918 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33919 (netname2user): Call __nss_publickey_lookup2 instead.
33920 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33921 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33922 instead.
33923
35a29136 339242017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
33925 Sergei Trofimovich <slyfox@inbox.ru>
33926
33927 [BZ #21908]
33928 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33929 Rename to MMAP2_PAGE_UNIT.
33930 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33931 __OFF_T_MATCHES_OFF64_T is not defined.
33932 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33933 uint64_t.
33934 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33935 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33936
fbdc1e3e
FW
339372017-08-14 Florian Weimer <fweimer@redhat.com>
33938
33939 i386: Do not set internal_function.
33940 * config.h.in (USE_REGPARMS, internal_function): Remove.
33941 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33942 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33943
b3f85fd2
FW
339442017-08-14 Florian Weimer <fweimer@redhat.com>
33945
33946 * elf/dl-init.c (_dl_init): Remove internal_function.
33947 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33948 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33949
630bf491
FW
339502017-08-14 Florian Weimer <fweimer@redhat.com>
33951
33952 * elf/rtld.c (_dl_start): Remove internal_function.
33953 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33954 _dl_start.
33955
9fa7449b
FW
339562017-08-14 Florian Weimer <fweimer@redhat.com>
33957
33958 * elf/dl-fini.c (_dl_fini): Remove internal_function
33959 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33960
73322d5f
L
339612017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33962
d863cd71 33963 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
33964 (bit_cpu_SHSTK): Likewise.
33965 (index_cpu_IBT): Likewise.
33966 (index_cpu_SHSTK): Likewise.
33967 (reg_IBT): Likewise.
33968 (reg_SHSTK): Likewise.
33969 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33970 Handle index_cpu_IBT and index_cpu_SHSTK.
33971
dbc303ef
MF
339722017-08-14 Mike FABIAN <mfabian@redhat.com>
33973
33974 [BZ #19982]
33975 * po/fr.po: Fix spelling mistake.
33976
3012cfb0
FW
339772017-08-13 Florian Weimer <fweimer@redhat.com>
33978
33979 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33980 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33981 (_dl_catch_error, _dl_receive_error): Likewise.
33982 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33983 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33984 (_dl_deallocate_tls): Likewise.
33985 * include/dlfcn.h (_dl_addr): Likewise.
33986 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33987 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33988 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33989 Likewise.
33990
52bcdf26
FW
339912017-08-13 Florian Weimer <fweimer@redhat.com>
33992
33993 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33994 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33995 internal_function.
33996 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33997
e1d2ae8d
FW
339982017-08-13 Florian Weimer <fweimer@redhat.com>
33999
34000 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34001 internal_function.
34002 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34003 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34004 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34005 internal_function from _dl_make_stack_executable_hook member.
34006 (_dl_make_stack_executable): Remove internal_function.
34007 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34008 Likewise.
34009 * sysdeps/unix/sysv/linux/dl-execstack.c
34010 (_dl_make_stack_executable): Likewise.
34011
c4ce0382
FW
340122017-08-13 Florian Weimer <fweimer@redhat.com>
34013
34014 * sysdeps/unix/sysv/linux/netlinkaccess.h
34015 (__netlink_assert_response): Remove internal_function.
34016 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34017 (__netlink_assert_response): Likewise.
34018
c4d767f7
FW
340192017-08-13 Florian Weimer <fweimer@redhat.com>
34020
34021 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34022 internal_function.
34023 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34024
b2297409
FW
340252017-08-13 Florian Weimer <fweimer@redhat.com>
34026
34027 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34028 internal_function.
34029 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34030 * inet/netgroup.h (__internal_setnetgrent)
34031 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34032 * inet/getnetgrent_r.c (__internal_setnetgrent)
34033 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34034 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34035 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34036 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34037 * nss/nsswitch.h (db_lookup_function): Likewise.
34038
1b0bfc69
FW
340392017-08-13 Florian Weimer <fweimer@redhat.com>
34040
34041 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34042 Remove internal_function.
34043 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34044 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34045 message argument on the stack.
34046 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34047 Likeweise.
34048
a6bd8722
MF
340492017-08-12 Mike FABIAN <mfabian@redhat.com>
34050
34051 Adapt test case data to the changes in the thousands
34052 separators.
34053
34054 [BZ #20756]
34055 * localedata/tst-langinfo.sh: Adapt test case data.
34056 * stdlib/tst-strfmon_l.c: Likewise.
34057 * stdlib/tst-strtod4.c: Likewise.
34058 * stdlib/tst-strtod5i.c: Likewise.
34059
8b2c63e4
FW
340602017-08-11 Florian Weimer <fweimer@redhat.com>
34061
34062 [BZ #21242]
34063 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34064 Suppress pedantic warning resulting from statement expression.
34065 (__ASSERT_FUNCTION): Add missing __extension__.
34066
61c98291
SP
340672017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34068
86c6519e
SP
34069 * benchtests/bench-memmove-large.c: Print output in JSON
34070 format.
34071 * benchtests/bench-memmove.c: Likewise.
34072
61c98291
SP
34073 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34074 * benchtests/bench-memchr.c (do_one_test): Likewise.
34075 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34076 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34077 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34078 * benchtests/bench-memmove.c (do_one_test): Likewise.
34079 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34080 * benchtests/bench-memset.c (do_one_test): Likewise.
34081 * benchtests/bench-string.h (test_init): Remove memsets.
34082
925733a9
RJ
340832017-08-10 Rical Jasan <ricaljasan@pacific.net>
34084
34085 * manual/lang.texi
34086 (Computing the Width of an Integer Data Type): Rename section to
34087 "Width of an Integer Type". Remove inaccurate statement regarding
34088 lack of C language facilities for determining width of integer
34089 types, and reorder content to improve flow and context of
34090 discussion.
34091
4fcdfbfc
RJ
340922017-08-10 Rical Jasan <ricaljasan@pacific.net>
34093
34094 * lang.texi (va_copy): Change standard from ISO to C99.
34095 (__va_copy): Add standard and header annotation.
34096 Update description for clarity of origins and current use.
34097
4d98ace9
GG
340982017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34099
34100 [BZ #21941]
34101 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34102 xssqrtqp requires operands to be in Vector Registers
34103 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34104 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34105 (__ieee754_sqrtf128): Likewise.
34106
92236903
WD
341072017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34108
34109 * sysdeps/aarch64/memcmp.S (memcmp):
34110 Rewrite of optimized memcmp.
34111
2449ae7b
FW
341122017-08-10 Florian Weimer <fweimer@redhat.com>
34113
34114 Introduce ld.so exceptions.
34115 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34116 (_dl_exception_create, _dl_exception_create_format)
34117 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34118 (_dl_catch_exception): Declare.
34119 (_dl_catch_error): Update comment.
34120 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34121 errstring, malloced members with exception member.
34122 (_dl_out_of_memory): Remove.
34123 (fatal_error): New function, extracted from _dl_signal_error.
34124 (_dl_signal_exception, _dl_signal_cexception): New functions.
34125 (_dl_signal_error): Call _dl_exception_create to allocate an
34126 exception object.
34127 (_dl_catch_exception): New function, based on _dl_catch_error.
34128 (_dl_catch_error): Implement using _dl_catch_exception.
34129 * elf/dl-exception.c: New file.
34130 * elf/Makefile (dl-routines): Add dl-exception.
34131 (elide-routines.os): Likewise.
34132 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34133 _dl_exception_create_format, _dl_exception_free.
34134 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34135 _dl_signal_exception.
34136 * elf/dl-lookup.c (make_string): Remove.
34137 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34138 _dl_signal_cexception, _dl_exception_free.
34139 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34140 _dl_signal_exception.
34141 * elf/dl-sym.c (do_sym): Likewise.
34142 * elf/dl-version.c (make_string): Remove.
34143 (match_symbol): Use _dl_exception_create_format,
34144 _dl_signal_cexception, _dl_exception_free.
34145 (_dl_check_map_versions): Likewise.
34146 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34147 _dl_catch_exception.
34148 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34149 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34150 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34151 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34152 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34153 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34154 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34155 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34156 Likewise.
34157 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34159 (ld.so): Likewise.
34160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34161 (ld.so): Likewise.
34162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34163 Likewise.
34164 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34165 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34166 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34167 Likewise.
34168 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34169 Likewise.
34170 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34171
f87cc2bf
FW
341722017-08-10 Florian Weimer <fweimer@redhat.com>
34173
34174 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34175 attribute_hidden, internal_function.
34176 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34177 internal_function.
34178
eac43cbb
FW
341792017-08-10 Florian Weimer <fweimer@redhat.com>
34180
34181 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34182 function which calls __builtin_unreachable.
34183
bd80111e
MF
341842017-08-10 Mike FABIAN <mfabian@redhat.com>
34185
34186 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34187 Indian monetary formatting
34188 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34189 test cases.
34190
60e2846e
DL
341912017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34192
68dc02d1
DL
34193 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34194 Fix typo in comment.
34195
60e2846e
DL
34196 [BZ #21928]
34197 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34198 PTRACE_SEIZE_DEVEL): Remove.
34199 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34200 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34201 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34202 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34203 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34204
3d452dab
JM
342052017-08-09 Joseph Myers <joseph@codesourcery.com>
34206
24d9f53a
JM
34207 * posix/bits/types.h (__qaddr_t): Remove.
34208
3d452dab
JM
34209 [BZ #21457]
34210 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34211 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34212 __glibc_reserved1.
34213 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34214 (ucontext_t): Use __ctx with uc_flags.
34215 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34216 (__ctxt): Likewise.
34217 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34218 __glibc_reserved1.
34219 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34220 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34221 __glibc_reserved1.
34222 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34223 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34224 __glibc_reserved1.
34225 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34226 macro.
34227 (ucontext_t): Use __ctx with uc_flags.
34228 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34229 (ucontext_t): Use __ctx with uc_flags.
34230 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34231 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34232 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34233 (ucontext_t): Use __ctx with uc_flags.
34234 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34235 undefine further down.
34236 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34237 __glibc_reserved1.
34238 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34239 undefine further down.
34240 (ucontext_t): Use __ctx with uc_flags.
34241 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34242 undefine further down.
34243 (ucontext_t): Use __ctx with uc_flags.
34244 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34245 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34246 Rename uc_pad to __glibc_reserved1.
34247 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34248 undefine further down.
34249 (ucontext_t): Use __ctx with uc_flags.
34250 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34251 further down.
34252 (ucontext_t): Use __ctx with uc_flags.
34253 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34254 __ctx with uc_flags.
34255 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34256 (ucontext_t): Use __ctx with uc_flags.
34257 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34258 __ctx with uc_flags.
34259
30161498
FW
342602017-08-09 Florian Weimer <fweimer@redhat.com>
34261
34262 [BZ #21932]
34263 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34264 before early return.
34265
5797b410
AS
342662017-08-09 Andreas Schwab <schwab@suse.de>
34267
139237a4 34268 [BZ #21041]
5797b410
AS
34269 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34270 renamed alias.
34271
139237a4 34272 [BZ #21041]
40c06a3d
AS
34273 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34274 tst-compat-forwarder.
34275 (modules-names): Add tst-compat-forwarder-mod.
34276 ($(objpfx)tst-compat-forwarder): Depend on
34277 $(objpfx)tst-compat-forwarder-mod.so.
34278 * nptl/tst-compat-forwarder.c: New file.
34279 * nptl/tst-compat-forwarder-mod.c: New file.
34280
36ada5f6
SP
342812017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34282
0e02b510
SP
34283 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34284 comments.
34285
36ada5f6
SP
34286 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34287 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34288 memcpy_falkor.
34289 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34290 Bump.
34291 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34292 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34293 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34294 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34295 Add falkor.
34296 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34297 New macro.
34298
9995c839
AZ
342992017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34300
34301 [BZ #759]
34302 * manual/setjmp.texi (getcontex): Document uc_stack value
34303 compatibility differences.
34304
f17a4233
JM
343052017-08-08 Joseph Myers <joseph@codesourcery.com>
34306
34307 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34308 (old_malloc_hook): Likewise.
34309 (old_memalign_hook): Likewise.
34310 (old_realloc_hook): Likewise.
34311 (struct hdr): Likewise.
34312 (flood): Likewise.
34313 (freehook): Likewise.
34314 (mallochook): Likewise.
34315 (memalignhook): Likewise.
34316 (reallochook): Likewise.
34317 (mprobe): Likewise.
34318 * malloc/mtrace.c (mallwatch): Likewise.
34319 (tr_old_free_hook): Likewise.
34320 (tr_old_malloc_hook): Likewise.
34321 (tr_old_realloc_hook): Likewise.
34322 (tr_old_memalign_hook): Likewise.
34323 (tr_where): Likewise.
34324 (lock_and_info): Likewise.
34325 (tr_freehook): Likewise.
34326 (tr_mallochook): Likewise.
34327 (tr_reallochook): Likewise.
34328 (tr_memalignhook): Likewise.
34329 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34330 * misc/mmap.c (__mmap): Likewise.
34331 * misc/mmap64.c (__mmap64): Likewise.
34332 * misc/mprotect.c (__mprotect): Likewise.
34333 * misc/msync.c (msync): Likewise.
34334 * misc/munmap.c (__munmap): Likewise.
34335 * posix/posix_madvise.c (posix_madvise): Likewise.
34336 * socket/send.c (__send): Likewise.
34337 * socket/sendto.c (__sendto): Likewise.
34338 * socket/setsockopt.c (__setsockopt): Likewise.
34339 * string/memcmp.c (__ptr_t): Remove macro.
34340 (MEMCMP): Use void * instead of ptr_t.
34341 * string/memrchr.c (__ptr_t): Remove macro.
34342 (__memrchr): Use void * instead of ptr_t.
34343 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34344 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34345 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34346 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34347 * sysdeps/mach/msync.c (msync): Likewise.
34348 * sysdeps/mach/munmap.c (__munmap): Likewise.
34349 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34350 Likewise.
34351 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34352 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34353 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34354 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34355 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34356 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34357 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34358 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34359 Likewise.
34360 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34361 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34362 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34363 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34364 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34365 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34366 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34367 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34368 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34369 Likewise.
34370 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34371 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34372 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34373 (MEMCMP): Use void * instead of ptr_t.
34374 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34375 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34376
0df595b2
FW
343772017-08-08 Florian Weimer <fweimer@redhat.com>
34378
34379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34380 return statement.
34381
086df229
L
343822017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34383
34384 [BZ #21913]
34385 * csu/libc-tls.c: Include <startup.h> first.
34386 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34387 * elf/dl-tunables.c: Include <startup.h> first.
34388 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34389 * sysdeps/generic/startup.h: New file.
34390 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34391 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34392 (I386_USE_SYSENTER): New. Defined to 0.
34393
fc5ad702
AS
343942017-08-08 Andreas Schwab <schwab@suse.de>
34395
34396 [BZ #21041]
34397 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34398 * nptl/pt-system.c (system): Likewise.
34399
852d6312
AZ
344002017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34401
34402 [BZ #21780]
34403 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34404 EOPNOTSUPP.
34405 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34406 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34407 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34408 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34409 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34410 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34411 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34412
8b164787
JM
344132017-08-07 Joseph Myers <joseph@codesourcery.com>
34414
cd65836b
JM
34415 [BZ #21899]
34416 * bits/sigaction.h (struct sigaction): Define sa_handler and
34417 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34418 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34419 [__USE_XOPEN_EXTENDED].
34420 (SA_RESTART): Likewise.
34421 (SA_NODEFER): Likewise.
34422 (SA_RESETHAND): Likewise.
34423 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34424 (struct sigaction): Define sa_handler and sa_sigaction using union
34425 also for [__USE_XOPEN_EXTENDED].
34426 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34427 [__USE_XOPEN_EXTENDED].
34428 (SA_RESTART): Likewise.
34429 (SA_NODEFER): Likewise.
34430 (SA_RESETHAND): Likewise.
34431 * sysdeps/unix/sysv/linux/bits/sigaction.h
34432 (struct sigaction): Define sa_handler and sa_sigaction using union
34433 also for [__USE_XOPEN_EXTENDED].
34434 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34435 [__USE_XOPEN_EXTENDED].
34436 (SA_RESTART): Likewise.
34437 (SA_NODEFER): Likewise.
34438 (SA_RESETHAND): Likewise.
34439 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34440 (struct sigaction): Define sa_handler and sa_sigaction using union
34441 also for [__USE_XOPEN_EXTENDED].
34442 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34443 [__USE_XOPEN_EXTENDED].
34444 (SA_RESTART): Likewise.
34445 (SA_NODEFER): Likewise.
34446 (SA_RESETHAND): Likewise.
34447 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34448 (struct sigaction): Define sa_handler and sa_sigaction using union
34449 also for [__USE_XOPEN_EXTENDED].
34450 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34451 [__USE_XOPEN_EXTENDED].
34452 (SA_RESTART): Likewise.
34453 (SA_NODEFER): Likewise.
34454 (SA_RESETHAND): Likewise.
34455 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34456 (struct sigaction): Define sa_handler and sa_sigaction using union
34457 also for [__USE_XOPEN_EXTENDED].
34458 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34459 [__USE_XOPEN_EXTENDED].
34460 (SA_RESTART): Likewise.
34461 (SA_NODEFER): Likewise.
34462 (SA_RESETHAND): Likewise.
34463 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34464 (struct sigaction): Define sa_handler and sa_sigaction using union
34465 also for [__USE_XOPEN_EXTENDED].
34466 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34467 [__USE_XOPEN_EXTENDED].
34468 (SA_RESTART): Likewise.
34469 (SA_NODEFER): Likewise.
34470 (SA_RESETHAND): Likewise.
34471 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34472 (struct sigaction): Define sa_handler and sa_sigaction using union
34473 also for [__USE_XOPEN_EXTENDED].
34474 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34475 [__USE_XOPEN_EXTENDED].
34476 (SA_RESTART): Likewise.
34477 (SA_NODEFER): Likewise. Define directly rather than as alias.
34478 (SA_RESETHAND): Likewise.
34479 (SA_INTERRUPT): Define only for [__USE_MISC].
34480 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34481 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34482 [__USE_MISC].
34483 (SA_STACK): Define only for [__USE_MISC].
34484 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34485 (struct sigaction): Define sa_handler and sa_sigaction using union
34486 also for [__USE_XOPEN_EXTENDED].
34487 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34488 [__USE_XOPEN_EXTENDED].
34489 (SA_RESTART): Likewise.
34490 (SA_NODEFER): Likewise.
34491 (SA_RESETHAND): Likewise.
34492 (SA_NOPTRACE): Define only for [__USE_MISC].
34493
d9fee042
JM
34494 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34495 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34496 (struct catalog_info): Likewise.
34497 * inet/htontest.c (lo): Likewise.
34498 (foo): Likewise.
34499 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34500 * inet/inet_net.c (inet_network): Likewise.
34501 * inet/inet_netof.c (inet_netof): Likewise.
34502 * inet/rcmd.c (__ivaliduser): Likewise.
34503 (iruserok): Likewise.
34504 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34505 * locale/programs/locale-spec.c (locale_special): Likewise.
34506 * nis/nis_findserv.c (struct findserv_req): Likewise.
34507 (__nis_findfastest_with_timeout): Likewise.
34508 * nss/test-netdb.c (test_network): Likewise.
34509 * resolv/inet_neta.c (inet_neta): Likewise.
34510 * resolv/ns_date.c (ns_datetosecs): Likewise.
34511 (SECS_PER_DAY): Likewise.
34512 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34513 Likewise.
34514 * resolv/res_comp.c (__putlong): Likewise.
34515 (__putshort): Likewise.
34516 (_getlong): Likewise.
34517 (_getshort): Likewise.
34518 * resolv/res_debug.c (p_time): Likewise.
34519 (precsize_ntoa): Likewise.
34520 (precsize_aton): Likewise.
34521 (latlon2ul): Likewise.
34522 (loc_aton): Likewise.
34523 (loc_ntoa): Likewise.
34524 * resolv/res_hconf.c (struct netaddr): Likewise.
34525 (_res_hconf_reorder_addrs): Likewise.
34526 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34527 (clnttcp_control): Likewise.
34528 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34529 (clntudp_control): Likewise.
34530 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34531 (clntunix_control): Likewise.
34532 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34533 * sunrpc/rpc/auth.h (union des_block): Likewise.
34534 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34535 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34536 (xdrrec_create): Likewise.
34537 (xdrrec_endofrecord): Likewise.
34538 (flush_out): Likewise.
34539 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34540 (xdrstdio_putlong): Likewise.
34541 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34542 Likewise.
34543
8b164787
JM
34544 * misc/sys/cdefs.h (__long_double_t): Remove.
34545 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34546 instead of __long_double_t,
34547 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34548
7ee38e60
SP
345492017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34550
dd3e86ad
SP
34551 * benchtests/scripts/compare_strings.py: Avoid display error when
34552 running on a text terminal.
34553
b115e819
SP
34554 * benchtests/scripts/compare_strings.py (main): Add an
34555 optional -base option.
34556 (process_results): New argument base_func.
34557
7ee38e60
SP
34558 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34559 hardcoding memcpy.
34560 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34561 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34562
d5afb385
AS
345632017-08-07 Andreas Schwab <schwab@suse.de>
34564
34565 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34566 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34567 * intl/Makefile ($(objpfx)tst-gettext.out)
34568 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34569 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34570 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34571 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34572 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34573 * posix/Makefile ($(objpfx)globtest.out)
34574 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34575 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34576 ($(objpfx)tst-printf.out): Likewise.
34577 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34578 ($(objpfx)tst-setcontext3.out): Likewise.
34579
57a72fa3
L
345802017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34581
34582 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34583 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34584 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34585 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34586 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34587 and mptan-fma.
34588 (CFLAGS-doasin-fma.c): New.
34589 (CFLAGS-dosincos-fma.c): Likewise.
34590 (CFLAGS-e_asin-fma.c): Likewise.
34591 (CFLAGS-e_atan2-fma.c): Likewise.
34592 (CFLAGS-e_exp-fma.c): Likewise.
34593 (CFLAGS-e_log-fma.c): Likewise.
34594 (CFLAGS-e_pow-fma.c): Likewise.
34595 (CFLAGS-halfulp-fma.c): Likewise.
34596 (CFLAGS-mpa-fma.c): Likewise.
34597 (CFLAGS-mpatan-fma.c): Likewise.
34598 (CFLAGS-mpatan2-fma.c): Likewise.
34599 (CFLAGS-mpexp-fma.c): Likewise.
34600 (CFLAGS-mplog-fma.c): Likewise.
34601 (CFLAGS-mpsqrt-fma.c): Likewise.
34602 (CFLAGS-mptan-fma.c): Likewise.
34603 (CFLAGS-s_atan-fma.c): Likewise.
34604 (CFLAGS-sincos32-fma.c): Likewise.
34605 (CFLAGS-slowexp-fma.c): Likewise.
34606 (CFLAGS-slowpow-fma.c): Likewise.
34607 (CFLAGS-s_sin-fma.c): Likewise.
34608 (CFLAGS-s_tan-fma.c): Likewise.
34609 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34610 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34611 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34612 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34613 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34614 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34615 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34616 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34617 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34618 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34619 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34620 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34621 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34622 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34623 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34624 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34625 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34626 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34627 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34628 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34629 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34630 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34631 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34632 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34633 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34634 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34635 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34636 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34637 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34638 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34639 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34640
219dd320
JM
346412017-08-04 Joseph Myers <joseph@codesourcery.com>
34642
34643 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34644 (min_of_type_f): New macro.
34645 (min_of_type_): Likewise.
34646 (min_of_type_l): Likewise.
34647 (min_of_type_f128): Likewise.
34648 (min_of_type): Define using __MATH_TG and taking an expression
34649 argument.
34650 (math_check_force_underflow): Pass expression instead of type to
34651 min_of_type.
34652 (math_check_force_underflow_nonneg): Likewise.
34653
64d4dea6
L
346542017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34655
34656 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34657 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34658 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34659
973da22a
L
346602017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34661
34662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34663 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34664 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34665 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34666 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34667 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34668 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34669 memmove_chk-nonshared and memset_chk-nonshared
34670 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34671 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34672 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34673 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34674 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34675 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34676 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34677 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34678 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34679 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34680 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34681 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34682 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34683 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34684 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34685 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34686 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34687 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34688 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34689 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34690 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34691 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34692 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34693 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34694 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34695 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34696 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34697 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34698 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34699 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34700 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34701 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34702 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34703 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34704 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34705 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34706 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34707 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34708 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34709 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34710 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34711 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34712 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34713 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34714 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34715 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34716 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34717 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34718 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34719 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34720 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34721 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34722 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34723 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34724 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34725 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34726 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34727 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34728 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34729 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34730 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34731 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34732 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34733 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34734 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34735 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34736 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34737 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34738 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34739 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34740 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34741 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34742 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34743 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34744 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34745 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34746 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34747 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34748 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34749 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34750 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34751 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34752 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34753 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34754 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34755 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34756 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34757 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34758 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34759 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34760 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34761 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34762 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34763 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34764 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34765 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34766 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34767 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34768 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34769 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34770 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34771 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34772 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34773 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34774 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34775 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34776 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34777 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34778
8537e0f6
L
347792017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34780
34781 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34782 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34783 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34784 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34785 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34786 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34787 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34788 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34789 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34790 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34791 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34792 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34793 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34794 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34795 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34796 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34797 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34798 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34799 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34800 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34801 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34802 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34803 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34804 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34805 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34806 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34807 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34808 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34809 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34810 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34811 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34812 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34813 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34814 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34815 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34816 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34817 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34818 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34819 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34820 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34821 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34822 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34823 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34824 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34825 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34826 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34827 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34828 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34829 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34830 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34831 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34832 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34833 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34834 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34835 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34836 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34837 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34838 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34839 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34840 ...
34841 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34842 Don't include <sysdep.h> nor <init-arch.h>.
34843 (_ZGVbN2v_cos): Removed.
34844 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34845 ...
34846 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34847 Don't include <sysdep.h> nor <init-arch.h>.
34848 (_ZGVdN4v_cos): Removed.
34849 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34850 ...
34851 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34852 Don't include <sysdep.h> nor <init-arch.h>.
34853 (_ZGVeN8v_cos): Removed.
34854 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34855 ...
34856 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34857 Don't include <sysdep.h> nor <init-arch.h>.
34858 (_ZGVbN2v_exp): Removed.
34859 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34860 ...
34861 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34862 Don't include <sysdep.h> nor <init-arch.h>.
34863 (_ZGVdN4v_exp): Removed.
34864 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34865 ...
34866 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34867 Don't include <sysdep.h> nor <init-arch.h>.
34868 (_ZGVeN8v_exp): Removed.
34869 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34870 ...
34871 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34872 Don't include <sysdep.h> nor <init-arch.h>.
34873 (_ZGVbN2v_log): Removed.
34874 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34875 ...
34876 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34877 Don't include <sysdep.h> nor <init-arch.h>.
34878 (_ZGVdN4v_log): Removed.
34879 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34880 ...
34881 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34882 Don't include <sysdep.h> nor <init-arch.h>.
34883 (_ZGVeN8v_log): Removed.
34884 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34885 ...
34886 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34887 Don't include <sysdep.h> nor <init-arch.h>.
34888 (_ZGVbN2vv_pow): Removed.
34889 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34890 ...
34891 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34892 Don't include <sysdep.h> nor <init-arch.h>.
34893 (_ZGVdN4vv_pow): Removed.
34894 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34895 ...
34896 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34897 Don't include <sysdep.h> nor <init-arch.h>.
34898 (_ZGVeN8vv_pow): Removed.
34899 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34900 ...
34901 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34902 Don't include <sysdep.h> nor <init-arch.h>.
34903 (_ZGVbN2v_sin): Removed.
34904 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34905 ...
34906 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34907 Don't include <sysdep.h> nor <init-arch.h>.
34908 (_ZGVbN4v_sin): Removed.
34909 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34910 ...
34911 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34912 Don't include <sysdep.h> nor <init-arch.h>.
34913 (_ZGVbN8v_sin): Removed.
34914 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34915 ...
34916 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34917 Don't include <sysdep.h> nor <init-arch.h>.
34918 (_ZGVbN2vvv_sincos): Removed.
34919 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34920 ...
34921 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34922 Don't include <sysdep.h> nor <init-arch.h>.
34923 (_ZGVdN4vvv_sincos): Removed.
34924 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34925 ...
34926 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34927 Don't include <sysdep.h> nor <init-arch.h>.
34928 (_ZGVeN8vvv_sincos): Removed.
34929 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34930 ...
34931 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34932 Don't include <sysdep.h> nor <init-arch.h>.
34933 (_ZGVeN16v_cosf): Removed.
34934 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34935 ...
34936 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34937 Don't include <sysdep.h> nor <init-arch.h>.
34938 (_ZGVbN4v_cosf): Removed.
34939 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34940 ...
34941 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34942 Don't include <sysdep.h> nor <init-arch.h>.
34943 (_ZGVdN8v_cosf): Removed.
34944 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34945 ...
34946 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34947 Don't include <sysdep.h> nor <init-arch.h>.
34948 (_ZGVeN16v_expf): Removed.
34949 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34950 ...
34951 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34952 Don't include <sysdep.h> nor <init-arch.h>.
34953 (_ZGVbN4v_expf): Removed.
34954 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34955 ...
34956 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34957 Don't include <sysdep.h> nor <init-arch.h>.
34958 (_ZGVdN8v_expf): Removed.
34959 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34960 ...
34961 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34962 Don't include <sysdep.h> nor <init-arch.h>.
34963 (_ZGVeN16v_logf): Removed.
34964 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34965 ...
34966 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34967 Don't include <sysdep.h> nor <init-arch.h>.
34968 (_ZGVbN4v_logf): Removed.
34969 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34970 ...
34971 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34972 Don't include <sysdep.h> nor <init-arch.h>.
34973 (_ZGVdN8v_logf): Removed.
34974 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34975 ...
34976 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34977 Don't include <sysdep.h> nor <init-arch.h>.
34978 (_ZGVeN16vv_powf): Removed.
34979 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34980 ...
34981 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34982 Don't include <sysdep.h> nor <init-arch.h>.
34983 (_ZGVbN4vv_powf): Removed.
34984 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34985 ...
34986 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34987 Don't include <sysdep.h> nor <init-arch.h>.
34988 (_ZGVdN8vv_powf): Removed.
34989 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34990 ...
34991 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34992 Don't include <sysdep.h> nor <init-arch.h>.
34993 (_ZGVeN16vvv_sincosf): Removed.
34994 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34995 ...
34996 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34997 Don't include <sysdep.h> nor <init-arch.h>.
34998 (_ZGVbN4vvv_sincosf): Removed.
34999 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35000 ...
35001 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35002 Don't include <sysdep.h> nor <init-arch.h>.
35003 (_ZGVdN8vvv_sincosf): Removed.
35004 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35005 ...
35006 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35007 Don't include <sysdep.h> nor <init-arch.h>.
35008 (_ZGVeN16v_sinf): Removed.
35009 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35010 ...
35011 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35012 Don't include <sysdep.h> nor <init-arch.h>.
35013 (_ZGVbN4v_sinf): Removed.
35014 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35015 ...
35016 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35017 Don't include <sysdep.h> nor <init-arch.h>.
35018 (_ZGVdN8v_sinf): Removed.
35019
10a87ca4
L
350202017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35021
35022 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35023 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35024 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35025 s_rint-sse4_1 and s_rintf-sse4_1.
35026 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35027 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35028 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35029 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35030 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35031 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35032 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35033 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35034 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35035 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35036 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35037 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35038 (__ceil): Removed.
35039 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35040 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35041 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35042 (__ceilf): Removed.
35043 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35044 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35045 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35046 (__floor): Removed.
35047 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35048 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35049 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35050 (__floorf): Removed.
35051 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35052 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35053 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35054 (__nearbyint): Removed.
35055 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35056 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35057 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35058 (__nearbyintf): Removed.
35059 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35060 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35061 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35062 (__rint): Removed.
35063 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35064 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35065 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35066 (__rintf): Removed.
35067
1e8e527d
L
350682017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35069
35070 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35071 SHARED. Avoid dynamic relocation against main in static PIE.
35072
e13daad7
L
350732017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35074
35075 [BZ #21815]
35076 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35077 (LDFLAGS-tst-prelink): Likewise.
35078
627c69c8
L
350792017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35080
35081 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35082 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35083 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35084 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35085 (INTERNAL_SYSCALL_NCS): Likewise.
35086 (LOADARGS_1): Likewise.
35087 (LOADARGS_5): Likewise.
35088 (RESTOREARGS_1): Likewise.
35089 (RESTOREARGS_5): Likewise.
35090
fc11ff8d
L
350912017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35092
35093 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35094 (MEMPCPY_SYMBOL): Likewise.
35095 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35096 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35097 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35098 in libc.a.
35099 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35100 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35101 Likewise.
35102 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35103 (__hidden_ver1): Don't use in libc.a.
35104 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35105 (__mempcpy): Don't create a weak alias in libc.a.
35106 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35107 libc.a.
35108 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35109 (__hidden_ver1): Don't use in libc.a.
35110
19f1a11e
L
351112017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35112
35113 * config.make.in (have-insert): New.
35114 * configure.ac (libc_cv_insert): New. Set to yes if linker
35115 supports INSERT in linker script.
35116 (AC_SUBST(libc_cv_insert): New.
35117 * configure: Regenerated.
35118 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35119 if $(have-insert) == yes.
35120
3093fd5e
L
351212017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35122
35123 * elf/Makefile (tests): Add vismain only if
35124 $(have-protected-data) == yes.
35125 (tests-pie): Likewise.
35126
d2cf37c0
L
351272017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35128
35129 [BZ #21871]
35130 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35131 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35132
c8a0e6ec
L
351332017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35134
35135 [BZ #21790]
35136 * sysdeps/i386/i586/memset.S
35137 (__memset_zero_constant_len_parameter): Removed.
35138 * sysdeps/i386/i686/memset.S
35139 (__memset_zero_constant_len_parameter): Likewise.
35140 * sysdeps/i386/i686/multiarch/memset_chk.S
35141 (__memset_zero_constant_len_parameter): Likewise.
35142 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35143 Likewise.
35144
2b34e271
AJ
351452017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35146
35147 * stdlib/getentropy.c (getentropy): Change return type to int.
35148
144bdab0
AJ
351492017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35150
35151 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35152
24ab7723
JM
351532017-08-03 Joseph Myers <joseph@codesourcery.com>
35154
35155 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35156 u_intN_t.
35157 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35158 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35159 Likewise.
35160 (ieee_float_shape_type): Likewise.
35161 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35162 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35163 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35164 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35165 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35166 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35167 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35168 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35169 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35170 Likewise.
35171 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35172 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35173 (__ieee754_yn): Likewise.
35174 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35175 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35176 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35177 Likewise.
35178 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35179 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35180 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35181 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35182 (__erfc): Likewise.
35183 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35184 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35185 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35186 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35187 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35188 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35189 Likewise.
35190 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35191 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35192 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35193 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35194 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35195 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35196 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35197 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35198 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35199 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35200 (__issignaling): Likewise.
35201 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35202 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35203 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35204 Likewise.
35205 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35206 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35207 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35208 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35209 Likewise.
35210 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35211 Likewise.
35212 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35213 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35214 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35215 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35216 (__erfcf): Likewise.
35217 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35218 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35219 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35220 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35221 Likewise.
35222 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35223 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35224 Likewise.
35225 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35226 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35227 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35228 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35229 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35230 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35231 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35232 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35233 Likewise.
35234 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35235 Likewise.
35236 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35237 Likewise.
35238 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35239 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35240 Likewise.
35241 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35242 Likewise.
35243 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35244 (__ieee754_ynl): Likewise.
35245 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35246 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35247 Likewise.
35248 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35249 Likewise.
35250 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35251 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35252 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35253 Likewise.
35254 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35255 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35256 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35257 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35258 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35259 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35260 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35261 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35262 Likewise.
35263 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35264 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35265 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35266 Likewise.
35267 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35268 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35269 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35270 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35271 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35272 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35273 Likewise.
35274 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35275 Likewise.
35276 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35277 Likewise.
35278 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35279 Likewise.
35280 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35281 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35282 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35283 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35284 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35285 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35286 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35287 Likewise.
35288 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35289 Likewise.
35290 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35291 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35292 Likewise.
35293 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35294 (__ieee754_remainderl): Likewise.
35295 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35296 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35297 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35298 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35299 Likewise.
35300 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35301 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35302 Likewise.
35303 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35304 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35305 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35306 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35307 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35308 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35309 Likewise.
35310 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35311 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35312 (__ieee754_y0l): Likewise.
35313 (pzero): Likewise.
35314 (qzero): Likewise.
35315 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35316 (__ieee754_y1l): Likewise.
35317 (pone): Likewise.
35318 (qone): Likewise.
35319 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35320 (__ieee754_ynl): Likewise.
35321 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35322 (__ieee754_lgammal_r): Likewise.
35323 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35324 Likewise.
35325 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35326 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35327 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35328 (__erfcl): Likewise.
35329 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35330 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35331 Likewise.
35332 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35333 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35334 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35335 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35336 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35337 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35338 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35339 Likewise.
35340 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35341 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35342 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35343 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35344 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35345 Likewise.
35346 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35347 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35348 Likewise.
35349 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35350 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35351 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35352 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35353 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35354
964263bb
FW
353552017-08-03 Florian Weimer <fweimer@redhat.com>
35356
35357 [BZ #21885]
35358 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35359 on memory allocation failure.
35360
e98c925f
AM
353612017-08-03 Alan Modra <amodra@gmail.com>
35362
35363 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35364 tst-tlsopt-powerpc.c with function name change and no test harness.
35365 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35366 Call tls_get_addr_opt_test.
35367 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35368 (modules-names): Add mod-tlsopt-powerpc.
35369 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35370 (tst-tlsopt-powerpc): Depend on .so.
35371 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35372 define. Expand use in TLS_GD and TLS_LD.
35373
8ee1abdb
ST
353742017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35375
35376 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35377 function.
3da5756e 35378 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 35379
42df8d59
JM
353802017-08-02 Joseph Myers <joseph@codesourcery.com>
35381
35382 [BZ #21686]
35383 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35384 comparing size with that of double.
35385 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35386 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35387 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35388 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35389 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35390 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35391 unsigned __int128 types.
35392
b7f95f49
SE
353932017-08-02 Steve Ellcey <sellcey@cavium.com>
35394
35395 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35396 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35397 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35398 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35399 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35400
5b736bc9
L
354012017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35402
35403 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35404
dfc93c41
L
354052017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35406
35407 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35408 of SHARED.
35409 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35410 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35411 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35412 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35413 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35414 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35415 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35416
2fee621d
JM
354172017-08-02 Joseph Myers <joseph@codesourcery.com>
35418
35419 [BZ #21685]
35420 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35421 bit-field expressions passed to sizeof or typeof.
35422 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35423 (__TGMATH_F128): Likewise.
35424 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35425 (__TGMATH_CF128): Likewise.
35426 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35427 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35428 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35429 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35430 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35431 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35432 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35433 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35434 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35435 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35436 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35437 (__TGMATH_UNARY_IMAG): Likewise.
35438 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35439 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35440 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35441 type.
35442 (define_vars_for_type): Handle bit_field type specially.
35443 (Tests.__init__): Declare structure with bit-field element.
35444
b358255f
L
354452017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35446
35447 [BZ #21791]
35448 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35449 (MEMCPY_CHK): Define only if SHARED is defined.
35450 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35451 Likewise.
35452 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35453 Likewise.
edf66db1
SP
35454
35455See ChangeLog.18 for earlier changes.