]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix gcc 9 build errors for make xcheck. [BZ #24556]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f0c5a803
SL
12019-06-19 Stefan Liebler <stli@linux.ibm.com>
2
3 [BZ #24556]
4 * string/test-strcasestr.c (check_result): Add NULL check.
5 * nss/tst-field.c (check_rewrite): Likewise.
6 * benchtests/bench-strstr.c (do_one_test): Likewise.
7 * string/test-strstr.c (check_result): Likewise.
8 * argp/argp-test.c (popt): Increase size of buf to 12.
9 * benchtests/bench-malloc-simple.c (bench):
10 Do not initialize tests array out of bounds.
11
fabf5e49
FW
122019-06-19 Florian Weimer <fweimer@redhat.com>
13
14 [BZ #24166]
15 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
16 dls_serpath field.
17
2c75b545
FW
182019-06-18 Florian Weimer <fweimer@redhat.com>
19
20 [BZ #24323]
21 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
22 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
23 fail when called from dlopen.
24 * elf/Makefile [have-fpie && build-shared] (tests): Add
25 tst-dlopen-pie.
26 (tst-dlopen-pie): Link with -ldl.
27 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
28 * elf/tst-dlopen-pie.c (do_test): New file.
29
02d8b5ab
RL
302019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
31
32 [BZ #24614]
33 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
34 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
35 between the currency symbol and the minus sign).
36 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
37 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
38
78049de0
AZ
392019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
40
112a0ae1
AZ
41 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
42 sysdep-rtld-routines): Remove rules.
43 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
44 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
45 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
46 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
47 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
48 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
49 vDSO path for SHARED.
50 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
51 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
52 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
53 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
54 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
55 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
56
dee07df1
AZ
57 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
58 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
59 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
60 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
61 CFLAGS-s_llround-power5+.c): New rule.
62 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
63 New file.
64 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
65 Likewise.
66 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
67 Likewise.
68 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
69 Likewise.
70 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
71 Likewise.
72 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
73 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
74 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
75 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
76 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
77 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
78 * sysdeps/powerpc/powerpc64/fpu/Makefile
79 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
80 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
81 (libm-sysdep_routines): Remove s_llround-* objects.
82 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
83 file.
84 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
85 Likewise.
86 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
87 Likewise.
88 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
89 Likewise.
90 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
91 Likewise.
92 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
93 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
94 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
95 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
96 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
97 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
98 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
99 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
100 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
101 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
102 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
103 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
104 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
105 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
106
2166283f
AZ
107 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
108 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
109 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
110 * sysdeps/powerpc/powerpc32/fpu/Makefile
111 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
112 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
113 optimization.
114 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
115 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
116 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
118 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
119 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
120 CFLAGS-s_lrint-ppc32.c): New rule.
121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
122 Remove file.
123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
124 Likewise.
125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
126 Likewise.
127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
128 Likewise.
129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
130 Likewise.
131 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
132 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
133 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
134 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
136 New file.
137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
138 Likewise.
139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
140 Likewise.
141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
142 Likewise.
143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
144 Likewise.
145
78049de0
AZ
146 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
147 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
148 s_llrint-ppc64.
149 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
150 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
151 file.
152 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
153 Likewise.
154 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
155 Likewise.
156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
157 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
159 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
161 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
162 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
163 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
165 (libm-sysdep_routines): Remove s_llrint-* objects.
166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
167 file.
168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
169 Likewise.
170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
171 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
172 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
173 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
174 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
175 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
176 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
177 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
178 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
179 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
180
48c3c123
FW
1812019-06-14 Florian Weimer <fweimer@redhat.com>
182
183 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
184 argument to __glibc_has_include to inhibit macro expansion.
185
8d141877
FW
1862019-06-14 Florian Weimer <fweimer@redhat.com>
187
188 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
189 function-like macro, so that __has_include can inhibit expansion
190 of its argument.
191
a26e2e9f
JM
1922019-06-13 Joseph Myers <joseph@codesourcery.com>
193
cf274686
JM
194 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
195 New macro.
196
a26e2e9f
JM
197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
198 Allow memset in libc.so.
199
82bc69c0
SN
2002019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
201
202 * sysdeps/aarch64/dl-dtprocnum.h: New file.
203 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
204 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
205 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
206 symbols at load time.
207 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
208
55f82d32
SN
2092019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
210
211 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
212 (DT_AARCH64_VARIANT_PCS): Define.
213
21bd039b
AZ
2142019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
215
11926960
AZ
216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
217 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
218 objects.
219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
220 Remove file.
221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
222 Likewise.
223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
225 Likewise.
226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
227 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
228 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
229 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
230 Remove s_finite* objects.
231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
237 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
238 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
239 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
240 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
241
a7218676
AZ
242 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
243 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
244
6427a6ac
AZ
245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
246 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
247 objects.
248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
249 Remove file.
250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
251 Likewise.
252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
254 Likewise.
255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
256 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
257 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
258 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
259 Remove s_isinf* and s_isinf* objects.
260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
266 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
267 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
268 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
269 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
270
a8c590f7
AZ
271 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
272 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
273
2666f963
AZ
274 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
275 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
276 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
278 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
279 s_isnanf-* objects.
280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
281 Remove file
282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
283 Likewise.
284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
285 Likewise.
286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
287 Likewise.
288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
290 Likewise.
291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
292 Likewise.
293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
294 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
295 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
296 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
297 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
298 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
299 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
300 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
301 Remove s_isnan-* and s_isnanf-* objects.
302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
305 Likewise.
306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
311 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
312 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
313 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
314 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
315 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
316 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
317 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
318 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
319
197dbda1
AZ
320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
321 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
322
2731a326
AZ
323 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
324 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
325 CFLAGS-bench-isfinite.c): New rule.
326 * benchtests/isnan-input: New file.
327 * benchtests/isinf-input: New file.
328 * benchtests/isfinite-input: New file.
329
e41d66e4
AZ
330 * sysdeps/powerpc/fpu/s_copysign.c: New file.
331 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
332 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
333 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
335 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
336 s_copysign-ppc32.
337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
338 Remove file.
339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
340 Likewise.
341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
342 Likewise.
343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
344 Likewise.
345 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
346 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
347 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
348 Remove s_copysign-power6 s_copysign-ppc64.
349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
350 Remove file.
351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
352 Likewise.
353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
355 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
356 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
357 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
358 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
359
21bd039b
AZ
360 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
361 round_to_integer_float, round_mode): Add RINT handling.
362 (reset_fenv_mode): New symbol.
363 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
364 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
365 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
366 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
367 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
368 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
369
cfa61144
FW
3702019-06-12 Florian Weimer <fweimer@redhat.com>
371
372 [BZ #24632]
373 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
374 * libio/freopen.c (freopen): Use it.
375
744e8296
FW
3762019-06-12 Florian Weimer <fweimer@redhat.com>
377
378 Linux: Deprecate sysctl.
379 * include/sysctl.h (__sysctl): Remove declaration.
380 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
381 check.
382 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
383 (sysctl): Add deprecation attribute.
384 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
385 directly, to avoid the deprecation warning. Do not include
386 <string.h>.
387 (__sysctl): Remove hidden alias.
388
5dad6ffb
FW
3892019-06-12 Florian Weimer <fweimer@redhat.com>
390
391 Linux: Use kernel headers for statx definitions if available.
392 * include/bits/statx-generic.h: New file.
393 * include/bits/types/struct_statx.h: Likewise.
394 * include/bits/types/struct_statx_timestamp.h: Likewise.
395 * io/Makefile (headers): Add bits/statx-generic.h.
396 * io/bits/statx-generic.h: New file. Partly copied from
397 io/bits/statx.h.
398 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
399 define original_statx.
400 * io/bits/types/struct_statx.h: Likewise.
401 * io/bits/types/struct_statx_timestamp.h: Likewise.
402 (statx_generic): Use original_statx.
403 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
404 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
405
4e75c2a4
FW
4062019-06-12 Florian Weimer <fweimer@redhat.com>
407
408 * misc/sys/cdefs.h (__glibc_has_include): Define.
409
680942b0
WD
4102019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
411
412 * string/memmem.c (__memmem): Rewrite to improve performance.
413
5e0a7ecb
WD
4142019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
415
416 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
417 warning.
418 (two_way_long_needle): Block inlining.
419 * string/strstr.c (strstr2): Add new function.
420 (strstr3): Likewise.
421 (STRSTR): Completely rewrite strstr to improve performance.
422
80b2bfb5
WD
4232019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
424
425 * benchtests/bench-strstr.c (test_hard_needle): New function.
426
e6e24243
JM
4272019-06-10 Joseph Myers <joseph@codesourcery.com>
428
429 * malloc/tst-calloc.c: Include <libc-diag.h>.
430 (null_test): Ignore -Wunused-result around calls to calloc.
431 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
432 (do_test): Ignore -Wunused-result around call to malloc.
433
51ea67d5
FW
4342019-06-07 Florian Weimer <fweimer@redhat.com>
435
436 Linux: Add getdents64 system call.
437 * include/dirnent.h (getdents): Add comment and change buffer
438 argument type to void *.
439 (getdents64): Likewise. Add hidden prototype.
440 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
441 getdents64.
442 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
443 Add tst-getdents64.
444 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
445 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
446 argument type to void *.
447 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
448 Add hidden definition and getdents64 alias.
449 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
450 Likewise.
451 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
452 * manual/filesys.texi (Accessing Directories): Add Low-level
453 Directory Access node reference.
454 (Opening a Directory): Cross-reference it.
455 (Low-level Directory Access): New node.
456 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
457 getdents64.
458 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
459 Likewise.
460 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
461 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
462 Likewise.
463 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
464 Likewise.
465 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
466 Likewise.
467 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
468 Likewise.
469 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
470 Likewise.
471 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
472 Likewise.
473 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
474 Likewise.
475 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
476 (GLIBC_2.30): Likewise.
477 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
478 (GLIBC_2.30): Likewise.
479 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
480 (GLIBC_2.30): Likewise.
481 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
482 (GLIBC_2.30): Likewise.
483 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
484 Likewise.
485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
486 (GLIBC_2.30): Likewise.
487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
488 (GLIBC_2.30): Likewise.
489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
490 (GLIBC_2.30): Likewise.
491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
492 (GLIBC_2.30): Likewise.
493 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
494 Likewise.
495 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
496 Likewise.
497 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
498 Likewise.
499 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
500 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
501 Likewise.
502 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
503 Likewise.
504 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
505 Likewise.
506 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
507 Likewise.
508
de751ebc
PC
5092019-06-06 Paul A. Clarke <pc@us.ibm.com>
510
511 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
512 (__FPU_MFFS): New.
513 (__FPU_MFFSL): New.
514 (_FPU_GET_RC): New.
515 (_FPU_GETCW): Use __FPU_MFFS().
516 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
517
28dd3939
FW
5182019-06-06 Florian Weimer <fweimer@redhat.com>
519
520 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
521 internal GCC preprocessor identifier __has_include__.
522
0158473d
PC
5232019-06-05 Paul A. Clarke <pc@us.ibm.com>
524
525 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
526 with call to equivalent function.
527
e863dbf6
FW
5282019-06-04 Florian Weimer <fweimer@redhat.com>
529
530 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
531 (do_release_shlib): Adjust for __twalk_r.
532 (__gconv_release_shlib): Call __twalk_r.
533
4802be92
AS
5342019-06-04 Andreas Schwab <schwab@suse.de>
535
536 [BZ #18830]
537 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
538 no irreversible characters occurred.
539 * iconv/gconv_simple.c (internal_ucs4_loop)
540 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
541 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
542 (ucs4_internal_loop_single, internal_ucs4le_loop)
543 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
544 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
545 (ucs4le_internal_loop_single): Add const to outend.
546 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
547 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
548 * iconv/Makefile (tests): Add tst-iconv7.
549 * iconv/tst-iconv7.c: New file.
550
dc91a19e
JM
5512019-06-03 Joseph Myers <joseph@codesourcery.com>
552
553 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
554
6a1a9a49 5552019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
556
557 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
558 * sysdeps/unix/sysv/linux/arm/Makefile
559 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
560 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
561 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
562 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
563 compatibility symbols.
564
0bb8f8c7
FW
5652019-05-31 Florian Weimer <fweimer@redhat.com>
566
567 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
568 system calls for the arm architecture: breakpoint, get_tls,
569 set_tls, usr26, usr32.
570
9250e661
GG
5712019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
572
573 * sysdeps/powerpc/Makefile
574 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
575 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
576 Declare '.machine power7' to get support for ldbrx.
577 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
578 directive based on the directory of the file.
579 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
580 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
581 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
582 '.machine' directive.
583 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
584 (VADDUQM_V7_V8): Remove.
585 (__STRCASECMP): Replace macros with actual instructions.
586 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
587 '.machine' directive.
588 (VCLZD_V8_v7): Remove.
589 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
590
fbd6c928
AZ
5912019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
592
593 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
594 Remove file.
595 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
596
e47308c9
AZ
5972019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
598
599 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
600 NEARBYINT handling.
601 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
602 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
603 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
604 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
605 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
606 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
607
157cda1f 6082019-05-28 mansayk <6688000@gmail.com>
609
610 [BZ #24370]
611 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
612
182a3746 6132019-05-28 mansayk <6688000@gmail.com>
614
615 [BZ #24369]
616 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
617 (abmon): Likewise, but remove the trailing dots.
618
c6df1ce3
JM
6192019-05-28 Joseph Myers <joseph@codesourcery.com>
620
621 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
622
85188d82
FW
6232019-05-27 Florian Weimer <fweimer@redhat.com>
624
625 * nptl/nptl-init.c: Add comment.
626
5c23c821
FW
6272019-05-24 Florian Weimer <fweimer@redhat.com>
628
629 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
630 struct in_addr/struct in6_addr alignment.
631
bee1f2c4
JM
6322019-05-23 Joseph Myers <joseph@codesourcery.com>
633
634 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
635 (F_SEAL_FUTURE_WRITE): New macro.
636
481c30cb
AH
6372019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
638
639 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
640 * elf/tst-ldconfig-bad-aux-cache.c: New file.
641 * elf/tst-ldconfig_aux-cache.root: New directory.
642 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
643 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
644 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
645
cb755eed
ZW
6462019-05-22 Zack Weinberg <zackw@panix.com>
647
648 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
649 host type.
650 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
651 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
652
653 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
656 Delete.
657
658 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
659 Issue an #error if used with a compiler in SPE-float mode.
660 * sysdeps/powerpc/powerpc32/__longjmp_common.S
661 * sysdeps/powerpc/powerpc32/setjmp_common.S
662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
668 Remove code to preserve SPE register state.
669
670 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
671 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
672 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
673 Remove __SPE__ ifndefs.
674
46ae0732
WD
6752019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
676
677 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
678 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
679 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
680 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
681 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
682 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
683 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
684 (INNER_LOOP_ITERS_MEDIUM): New define.
685 (INNER_LOOP_ITERS_SMALL): New define.
686 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
687 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
688 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
689 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
690 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
691
004e52fe
AZ
6922019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
693
694 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
695 New define.
696 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
697 (SEMTIMEDOP_IPC_ARGS): Likewise.
698
c9c15ac3
FW
6992019-05-21 Florian Weimer <fweimer@redhat.com>
700
701 [BZ #24584]
702 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
703 before updating __counter field and release it afterwards. Add
704 overflow check.
705 * iconv/gconv.h (struct __gconv_step): Mention synchronization
706 requirement for __counter member.
707
7e740ab2
FW
7082019-05-21 Florian Weimer <fweimer@redhat.com>
709
710 [BZ #24583]
711 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
712 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
713 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
714 instead of __gconv_release_step.
715 * libio/Makefile (tests): Add tst-wfile-gconv.
716 (tests-container): Add tst-wfile-ascii.
717 (tst-wfile-gconv-ENV): Enable mtrace.
718 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
719 (tests-special): Add tst-wfile-gconv-mem.out.
720 (tst-wfile-gconv.out): Depend on locales.
721 (tst-wfile-gconv-mem.out): Add mtrace rule.
722 * libio/tst-wfile-ascii.c: New file.
723 * libio/tst-wfile-gconv.c: Likewise.
724
09e1b0e3
FW
7252019-05-20 Florian Weimer <fweimer@redhat.com>
726
727 [BZ #24588]
728 libio: Remove codecvt vtable.
729 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
730 __libio_codecvt.
731 * libio/iofgetpos.c (_IO_new_fgetpos): Call
732 __libio_codecvt_encoding.
733 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
734 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
735 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
736 * libio/iofwide.c (__libio_codecvt): Remove variable.
737 (_IO_fwide): Do not copy __libio_codecvt.
738 (__libio_codecvt_out): Rename from do_out and export.
739 (do_unshift): Remove function.
740 (__libio_codecvt_in): Rename from do_in and export.
741 (__libio_codecvt_encoding): Rename from do_encoding and export.
742 (do_always_noconv): Remove function.
743 (__libio_codecvt_length): Rename from do_length and export.
744 (do_max_length): Remove function.
745 * libio/libio.h (enum __codecvt_result): Remove definition; moved
746 to libioP.h.
747 (struct _IO_codecvt): Remove fields __codecvt_destr,
748 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
749 __codecvt_do_encoding, __codecvt_do_always_noconv,
750 __codecvt_do_length, __codecvt_do_max_length.
751 * libio/libioP.h (enum __codecvt_result): Define; moved from
752 libio.h.
753 (__libio_codecvt_out, __libio_codecvt_in)
754 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
755 functions.
756 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
757 (_IO_wfile_underflow): Call __libio_codecvt_in.
758 (_IO_wfile_underflow): Likewise.
759 (_IO_wfile_underflow_mmap): Likewise.
760 (_IO_wfile_sync): Call __libio_codecvt_encoding,
761 __libio_codecvt_length.
762 (adjust_wide_data): Call __libio_codecvt_encoding,
763 __libio_codecvt_in.
764 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
765 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
766 __libio_codecvt_length.
767
75c51570
FW
7682019-05-20 Florian Weimer <fweimer@redhat.com>
769
770 * support/support.h (support_sbindir_prefix): Declare.
771 (support_install_rootsbindir): Update comment.
772 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
773 * support/support_paths.c (support_sbindir_prefix): Define.
774
ff6bec7d
MC
7752019-05-20 Mike Crowe <mac@mcrowe.com>
776
b62bb3bc
MC
777 * support/timespec.c: Add backslash to correct newline in failure
778 message.
779
ff6bec7d
MC
780 * support/timespec.h: Correct confusing comment.
781
dfba907f
AZ
7822019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
783
236c18e5
AZ
784 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
785 define.
786 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
787 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
788 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
789 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
790
dfba907f
AZ
791 [BZ #24570]
792 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
793 usage.
794
13886008
JM
7952019-05-20 Joseph Myers <joseph@codesourcery.com>
796
797 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
798 (NT_ARM_PACG_KEYS): Likewise.
799
1f50f2ad
WD
8002019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
801
802 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
803 (tcache_put): Remove redundant assert.
804 (tcache_get): Remove redundant asserts.
805 (__libc_malloc): Check tcache count is not zero.
806 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
807
fef7c63c
FW
8082019-05-17 Florian Weimer <fweimer@redhat.com>
809
810 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
811
5f161b23
JM
8122019-05-16 Joseph Myers <joseph@codesourcery.com>
813
814 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
815 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
816 0x050100].
817 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
818 Likewise.
819 * sysdeps/unix/sysv/linux/sh/kernel-features.h
820 (__ASSUME_STATX): Likewise.
821
ec255a97
FW
8222019-05-16 Florian Weimer <fweimer@redhat.com>
823
824 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
825 flags argument.
826 (LINE_PARSER): Do not map IPv4 addresses.
827 (internal_nis_gethostent_r): Remove flags argument. Adjust call
828 to parse_line.
829 (_nss_nis_gethostent_r): Always pass AF_INET to
830 internal_nis_gethostent_r.
831 (internal_gethostbyname2_r): Remove flags argument. Adjust call
832 to parse_line.
833 (_nss_nis_gethostbyname2_r): Adjust call to
834 internal_nis_gethostent_r.
835 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
836 call to internal_nis_gethostent_r.
837 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
838 from parse_line.
839 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
840 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
841 Remove flags argument. Do not map IPv4 addresses.
842 (internal_nisplus_gethostent_r): Adjust call to
843 _nss_nisplus_parse_hostent.
844 (internal_gethostbyname2_r): Remove flags argument. Adjust call
845 to _nss_nisplus_parse_hostent.
846 (_nss_nisplus_gethostbyname2_r): Adjust call to
847 internal_gethostbyname2_r.
848 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
849 Adjust call to internal_gethostbyname2_r.
850 (_nss_nisplus_gethostbyaddr_r): Adjust call to
851 _nss_nisplus_parse_hostent.
852 (_nss_nisplus_gethostbyname4_r): Adjust call to
853 internal_gethostbyname2_r.
854
9c02d078
FW
8552019-05-16 Florian Weimer <fweimer@redhat.com>
856
857 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
858 Remove flags.
859 (LINE_PARSER): Remove address mapping.
860 (EXTRA_ARGS_VALUE): Remove flags argument.
861 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
862 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
863 gethostbyname3_multi.
864 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
865 _nss_files_gethostbyname3_r.
866 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
867
85b0e1e8
FW
8682019-05-16 Florian Weimer <fweimer@redhat.com>
869
870 * support/support_test_compare_blob.c (report_blob): Report
871 incorrect NULL blobs.
872
11b451c8
MW
8732019-05-15 Mark Wielaard <mark@klomp.org>
874
875 [BZ# 24476]
876 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
877 __libc_once_get (once) and static_buf == NULL.
878 (__dlerror): Check we have a valid key, set result to static_buf
879 otherwise.
880
32ff3975
AS
8812019-05-15 Andreas Schwab <schwab@suse.de>
882
883 [BZ #20568]
884 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
885 __codecvt_do_length.
886 * libio/Makefile (tests): Add tst-wfile-sync.
887 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
888 * libio/tst-wfile-sync.c: New file.
889 * libio/tst-wfile-sync.input: New file.
890
a9368c34
FW
8912019-05-15 Florian Weimer <fweimer@redhat.com>
892
893 nss: Turn __nss_database_lookup into a compatibility symbol.
894 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
895 __nss_database_lookup.
896 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
897 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
898 __nss_database_lookup.
899 (__nss_next): Move to …
900 * nss/compat-lookup.c (nss_next): … here. Change it to fail
901 unconditionally.
902 (__nss_database_lookup): New function.
903 * nss/Versions (GLIBC_2.0): Update comment.
904 (GLIBC_PRIVATE): Export __nss_database_lookup2.
905 * grp/initgroups.c (internal_getgrouplist): Call
906 __nss_database_lookup2 instead of __nss_database_lookup.
907 * nscd/aicache.c (addhstaiX): Likewise.
908 * nscd/initgrcache.c (addinitgroupsX): Likewise.
909 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
910 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
911 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
912 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
913 Likewise.
914 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
915 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
917
d50f0918 9182019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 919
d50f0918
AH
920 * support/support.h (support_install_rootsbindir): New variable.
921 * support/support_paths.c: Likewise.
922 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
923
7ac6fad9
FW
9242019-05-15 Florian Weimer <fweimer@redhat.com>
925
926 * iconv/gconv.h (__gconv_transliterate): Move declaration …
927 * iconv/gconv_int.h (__gconv_transliterate): … here.
928 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
929 * iconv/skeleton.c: Likewise.
930
04b261bd
FW
9312019-05-14 Florian Weimer <fweimer@redhat.com>
932
933 Linux: Add the tgkill function.
934 * bits/signal_ext.h: New file.
935 * manual/signal.texi (Signaling Another Process): Document tgkill.
936 * signal/Makefile (headers): Add bits/signal_ext.h.
937 * signal/signal.h: Include <bits/signal_ext.h>.
938 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
939 (tst-tgkill): Link with libpthread.
940 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
941 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
942 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
943 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
944 tgkill.
945 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
946 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
947 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
948 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
949 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
950 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
951 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
952 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
953 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
954 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
955 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
956 Likewise.
957 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
958 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
959 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
961 Likewise.
962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
963 Likewise.
964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
965 Likewise.
966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
967 Likewise.
968 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
969 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
970 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
971 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
972 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
973 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
974 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
975 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
976
6807f47b
CD
9772019-05-14 Carlos O'Donell <carlos@redhat.com>
978
979 * manual/search.texi (Tree Search Function): Adjust twalk_r
980 documentation.
981
fdb8a0be
AZ
9822019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
983
da2b83ef
AZ
984 [BZ #24544]
985 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
986 pre-defined value.
987
c7ac9caa
AZ
988 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
989 * support/support.h (support_bindir_prefix): New variable.
990 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
991
91f043ae
AZ
992 * config.make.in (bindir): New variable.
993
c50e1c26
AZ
994 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
995 (lll_trylock): Call __lll_trylock.
996 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
997 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
998 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
999 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1000 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1001 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1002 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1003 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1004 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1005 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1006 lowlevellock-futex.h.
1007
959aff9f
AZ
1008 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1009 initialization for LLL_LOCK_INITIALIZER different than 0.
1010 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1011 Assume LLL_LOCK_INITIALIZER being 0.
1012 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1013 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1014 Likewise.
1015 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1016 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1017
d7e4c642
AZ
1018 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1019 Optimize futex call and add systemtap probe.
1020
fdb8a0be
AZ
1021 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1022 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1023 __libc_disable_asynccancel, __librt_enable_asynccancel,
1024 __libc_disable_asynccancel, __librt_enable_asynccancel,
1025 __librt_disable_asynccancel): Move to ...
1026 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1027 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1028 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1029 * sysdeps/generic/single-thread.h: New file.
1030 * sysdeps/unix/sysdep.h: Include single-thread.h.
1031 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1032 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1033
f6efec90
MF
10342019-05-08 Mike FABIAN <mfabian@redhat.com>
1035
1036 [BZ #24535]
1037 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1038 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1039 Unicode 12.1.0.
1040 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1041 * localedata/unicode-gen/PropList.txt: Likewise.
1042 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1043 * localedata/charmaps/UTF-8: Regenerate.
1044 * localedata/locales/i18n_ctype: Likewise.
1045 * localedata/locales/tr_TR: Likewise.
1046 * localedata/locales/translit_circle: Likewise.
1047 * localedata/locales/translit_cjk_compat: Likewise.
1048 * localedata/locales/translit_combining: Likewise.
1049 * localedata/locales/translit_compat: Likewise.
1050 * localedata/locales/translit_font: Likewise.
1051 * localedata/locales/translit_fraction: Likewise.
1052
5ad533e8
WD
10532019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1054
1055 [BZ #24531]
1056 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1057 (do_set_tcache_count): Only update if count is small enough.
1058 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1059
4aee85f9
FW
10602019-05-10 Florian Weimer <fweimer@redhat.com>
1061
1062 * nptl/sem_close.c (struct walk_closure): Define.
1063 (walker): Adjust for __twalk_r.
1064 (sem_close): Call __twalk_r.
1065
eb669ff5
AZ
10662019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1067
1068 * support/timespec.c (test_timespec_before_impl,
1069 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1070 insted of long int.
1071
51983996
MC
10722019-05-09 Mike Crowe <mac@mcrowe.com>
1073
44ac6ee9
MC
1074 * nptl/tst-abstime.c: Use libsupport.
1075
495514ee
MC
1076 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1077 small bug where only tv.tv_usec was checked which could cause an
1078 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1079 than a second.
1080
1081 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1082 libsupport.
1083
40d0816f
MC
1084 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1085 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1086
d8e0b901
MC
1087 * nptl/tst-cond11.c: Use libsupport.
1088
51983996
MC
1089 * support/timespec.h: New file. Provide timespec helper functions
1090 along with macros in the style of those in check.h.
1091 * support/timespec.c: New file. Implement check functions declared
1092 in support/timespec.h.
1093 * support/timespec-add.c: New file from gnulib containing
1094 timespec_add implementation that handles overflow.
1095 * support/timespec-sub.c: New file from gnulib containing
1096 timespec_sub implementation that handles overflow.
1097 * support/README: Mention timespec.h.
1098
18aa51ee
SN
10992019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1100
1101 [BZ #24537]
1102 * nptl/Makefile: Move tst-eintr1 to xtests.
1103
252296c6
AZ
11042019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1105
ae45cf84
AZ
1106 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1107 TRUNC handling.
1108 (round_mode): Add definition for TRUNC.
1109 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1110 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1111 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1112 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1113 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1114 Likewise.
1115 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1116 Likewise.
1117 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1118 Likewise.
1119 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1120 Likewise.
1121 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1122 file.
1123 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1124 Likewise.
1125 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1126 Likewise.
1127 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1128 Likewise.
1129 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1130 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1131 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1132 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1133 s_truncf-power5+, and s_truncf-ppc64.
1134 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1135 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1136 file.
1137 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1139 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1140 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1141 file.
1142 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1143 Likewise.
1144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1145 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1146 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1147 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1148 s_truncf-power5+, and s_truncf-ppc64.
1149 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1150 file.
1151 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1152 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1153 Likewise.
1154 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1155 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1156 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1157 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1158 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1159
a1cb1888
AZ
1160 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1161 ROUND handling.
1162 (round_mode): Add definition for ROUND.
1163 (round_to_integer_float): Likewise.
1164 * sysdeps/powerpc/fpu/s_round.c: New file.
1165 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1166 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1167 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1168 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1169 Likewise.
1170 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1171 Likewise.
1172 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1173 Likewise.
1174 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1175 Likewise.
1176 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1177 file.
1178 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1179 Likewise.
1180 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1181 Likewise.
1182 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1183 Likewise.
1184 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1185 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1186 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1187 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1188 s_roundf-power5+, and s_roundf-ppc64.
1189 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1190 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1191 file.
1192 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1194 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1195 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1196 file.
1197 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1198 Likewise.
1199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1200 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1201 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1202 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1203 s_roundf-power5+, and s_roundf-ppc64.
1204 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1205 file.
1206 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1207 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1208 Likewise.
1209 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1210 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1211 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1212 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1213 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1214
252296c6
AZ
1215 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1216 Add FLOOR option.
1217 (round_mode): Add definition for FLOOR.
1218 * sysdeps/powerpc/fpu/s_floor.c: New file.
1219 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1220 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1221 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1223 Remove file.
1224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1225 Likewise
1226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1227 Likewise.
1228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1229 Likewise.
1230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1231 New file.
1232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1233 Likewise.
1234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1235 Likewise.
1236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1237 Likewise.
1238 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1239 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1240 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1241 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1242 s_floorf-power5+, and s_floorf-ppc64.
1243 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1244 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1245 file.
1246 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1248 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1249 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1250 file.
1251 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1252 Likewise.
1253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1254 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1256 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1257 s_floorf-power5+, and s_floorf-ppc64.
1258 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1259 file.
1260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1261 file.
1262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1263 Likewise.
1264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1265 Likewise.
1266 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1267 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1268 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1269 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1270
33647a72
MC
12712019-05-08 Mike Crowe <mac@mcrowe.com>
1272
1273 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1274 clock_gettime wrapper for use in tests that fails the test rather
1275 than returning failure.
1276
1277 * support/xtime.h: New file to declare xclock_gettime.
1278
1279 * support/Makefile: Add xclock_gettime.c.
1280
1281 * support/README: Mention xtime.h.
1282
b2f601ba
FW
12832019-05-08 Florian Weimer <fweimer@redhat.com>
1284
1285 malloc/tst-mallocfork2: Use process-shared barriers.
1286 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1287 (signal_count, sigusr1_sender_pid): Remove.
1288 (iterations): Define constant.
1289 (shared): New variable.
1290 (sigusr1_received): Update comment.
1291 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1292 (signal_sender): Optional use barriers to avoid sending signals
1293 during irrelevant times.
1294 (do_it): Initialize variable shared. Use xfork for error
1295 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1296 the iteration count, independent of signal delivery. Check for
1297 deadlocks in fork. Introduce barriers for reducing signal
1298 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1299 replaced by the barriers. Count signals during fork/free/malloc
1300 and report them.
1301 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1302
c4a392cf
JM
13032019-05-07 Joseph Myers <joseph@codesourcery.com>
1304
7621676f
JM
1305 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1306 version to 5.1.
1307 (clock_adjtime64) New syscall.
1308 (clock_getres_time64) Likewise.
1309 (clock_gettime64) Likewise.
1310 (clock_nanosleep_time64) Likewise.
1311 (clock_settime64) Likewise.
1312 (futex_time64) Likewise.
1313 (io_pgetevents_time64) Likewise.
1314 (io_uring_enter) Likewise.
1315 (io_uring_register) Likewise.
1316 (io_uring_setup) Likewise.
1317 (mq_timedreceive_time64) Likewise.
1318 (mq_timedsend_time64) Likewise.
1319 (pidfd_send_signal) Likewise.
1320 (ppoll_time64) Likewise.
1321 (pselect6_time64) Likewise.
1322 (recvmmsg_time64) Likewise.
1323 (rt_sigtimedwait_time64) Likewise.
1324 (sched_rr_get_interval_time64) Likewise.
1325 (semtimedop_time64) Likewise.
1326 (timer_gettime64) Likewise.
1327 (timer_settime64) Likewise.
1328 (timerfd_gettime64) Likewise.
1329 (timerfd_settime64) Likewise.
1330 (utimensat_time64) Likewise.
1331
c4a392cf
JM
1332 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1333 version to 9 branch.
1334
32e902a9
AY
13352019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1336
1337 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1338 __memmove_thunderx2 to the list of implementations
1339 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1340 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1341 (__memmove_thunderx2): Rewritten using SIMD ld/st
1342 (__memcpy_thunderx2): Fixed handling overlapping cases.
1343 Used ldp/stp instead of ldr/str if possible. Made loops
1344 tails branchless.
1345
ac3da35d
FW
13462019-05-03 Florian Weimer <fweimer@redhat.com>
1347
1348 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1349
b2af6fb2
AZ
13502019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1351
7dfde28a 1352 [BZ #24506]
b2af6fb2
AZ
1353 * elf/tst-pldd.c (in_str_list): New function.
1354 (do_test): Add default names for ld and libc as one option.
1355
7b807a35
FW
13562019-05-02 Florian Weimer <fweimer@redhat.com>
1357
1358 misc: Add twalk_r function.
1359 * include/search.h (__twalk_r): Declare.
1360 * manual/examples/twalk.c: New file.
1361 * manual/search.texi (Tree Search Function): Document twalk_r.
1362 * misc/Versions (2.30): Export twalk_r.
1363 (GLIBC_PRIVATE): Export __twalk_r.
1364 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1365 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1366 (twalk_r): Add weak alias.
1367 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1368 (walk_trace): New variable.
1369 (struct twalk_with_twalk_r_closure): Define.
1370 (twalk_with_twalk_r_action): New function.
1371 (twalk_with_twalk_r): Likewise.
1372 (walk_action): Call walk_trace_add.
1373 (walk_tree_with): Rename from walk_tree. Add walk argument.
1374 (walk_tree): New function.
1375 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1376 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1377 Likewise.
1378 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1379 Likewise.
1380 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1381 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1382 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1383 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1384 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1385 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1386 Likewise.
1387 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1388 Likewise.
1389 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1390 Likewise.
1391 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1392 (GLIBC_2.30): Likewise.
1393 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1394 (GLIBC_2.30): Likewise.
1395 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1396 (GLIBC_2.30): Likewise.
1397 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1398 (GLIBC_2.30): Likewise.
1399 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1400 Likewise.
1401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1402 (GLIBC_2.30): Likewise.
1403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1404 (GLIBC_2.30): Likewise.
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1406 (GLIBC_2.30): Likewise.
1407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1408 (GLIBC_2.30): Likewise.
1409 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1410 Likewise.
1411 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1412 Likewise.
1413 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1414 Likewise.
1415 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1416 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1417 Likewise.
1418 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1419 Likewise.
1420 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1421 Likewise.
1422 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1423 Likewise.
1424
20aa5819
PE
14252019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1426
1427 Make mktime etc. compatible with __time64_t
1428 Keep these functions compatible with Gnulib while adding
1429 __time64_t support. The basic idea is to move private API
1430 declarations from include/time.h to time/mktime-internal.h, since
1431 the former file cannot easily be shared with Gnulib whereas the
1432 latter can.
1433 Also, do some other minor cleanup while in the neighborhood.
1434 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1435 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1436 since Gnulib needs it.
1437 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1438 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1439 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1440 (in_time_t_range): New static function.
1441 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1442 so that glibc users are not tempted to use __time64_t.
1443 * time/mktime-internal.h: Rewrite so that it does both glibc
1444 and Gnulib work. Include time.h if not _LIBC.
1445 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1446 (__time64_t): New type or macro, moved here from
1447 posix/bits/types.h.
1448 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1449 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1450 from include/time.h.
1451 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1452 New macros, taken from GNulib.
1453 (__mktime_internal): New prototype, moved here from include/time.h.
1454 * time/mktime.c (mktime_min, mktime_max, convert_time)
1455 (ranged_convert, __mktime_internal, __mktime64):
1456 * time/timegm.c (__timegm64):
1457 Use __time64_t, not time_t.
1458 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1459 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1460 Rename from mktime.
1461 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1462 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1463 for libc_hidden_def.
1464 Include errno.h.
1465 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1466 Rename from timegm.
1467 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1468
87c266d7
MR
14692019-04-30 Maciej W. Rozycki <macro@wdc.com>
1470
1471 [BZ #19444]
1472 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1473 from `-Wmaybe-uninitialized'.
1474 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1475
c4c0848b
AZ
14762019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1477
6cac323c
AZ
1478 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1479 function.
1480 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1481 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1482 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1483 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1484 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1486 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1488 Remove file.
1489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1490 Likewise.
1491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1492 Likewise.
1493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1494 Likewise.
1495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1496 New file.
1497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1498 Likewise.
1499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1500 Likewise.
1501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1502 Likewise.
1503 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1504 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1505 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1506 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1507 Likewise.
1508 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1509 Likewise.
1510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1511 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1512 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1513 file.
1514 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1515 Likewise.
1516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1517 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1518 * here.
1519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1520 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1521 s_ceilf-power5+, and s_ceilf-ppc64.
1522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1523 file.
1524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1527 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1528 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1529 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1530 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1531
c4c0848b
AZ
1532 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1533 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1534 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1535
f492fc99
YD
15362019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1537
1538 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1539 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1540 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1541 (sem_getvalue): Likewise.
1542
c57afec0
FW
15432019-04-26 Florian Weimer <fweimer@redhat.com>
1544
1545 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1546 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1547
a8ff215e
FW
15482019-04-26 Florian Weimer <fweimer@redhat.com>
1549
1550 Makeconfig: Move -Wl,-rpath-link options before library references.
1551 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1552 (link-libc): Remove $(link-libc-rpath-link).
1553
15542019-04-25 Florian Weimer <fweimer@redhat.com>
1555
1556 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1557 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1558 (+link-static-before-libc): Remove $(CC).
1559 (+link-static, +link-static-tests): Add $(CC).
1560 (+link-before-libc): Remove $(CC).
1561 (+link, +link-pie, +link-pie-printers): Add $(CC).
1562
e30fb31c
FW
15632019-04-26 Florian Weimer <fweimer@redhat.com>
1564
1565 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1566 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1567 (+link-static-before-libc): Remove $(CC).
1568 (+link-static, +link-static-tests): Add $(CC).
1569 (+link-before-libc): Remove $(CC).
1570 (+link, +link-pie, +link-pie-printers): Add $(CC).
1571
deacca00
DA
15722019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1573
1574 [BZ#24484]
1575 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1576
b5ffdc48
FW
15772019-04-25 Florian Weimer <fweimer@redhat.com>
1578
1579 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1580 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1581 (bench-link-targets): New variable.
1582 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1583
94a4e9e4
FW
15842019-04-25 Florian Weimer <fweimer@redhat.com>
1585
1586 Also enable BIND_NOW for programs if --enable-bind-now.
1587 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1588 (+link-pie): Use $(link-extra-flags).
1589 (+link-static): Likewise.
1590 [! $(build-pie-default)] (+link): Likewise.
1591 * manual/install.texi (Configuring and compiling): Update
1592 --enable-bind-now description.
1593 * INSTALL: Regenerated.
1594
fe92a91f
WD
15952019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1596
1597 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1598 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1599
f9b645b4
MF
16002019-04-24 Mike Frysinger <vapier@gentoo.org>
1601
1602 [BZ #18465]
1603 * malloc/Makefile (others): Add memusagestat.
1604 ($(objpfx)memusagestat): Delete rule.
1605 (LDLIBS-memusagestat): New variable.
1606
439bf534
FW
16072019-04-24 Florian Weimer <fweimer@redhat.com>
1608
1609 * locale/Makefile (tests-special): Guard setting by
1610 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1611 to run while cross-compiling.
1612
1a4c2735
AZ
16132019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1614
1615 [BZ #18035]
1616 * elf/Makefile (tests-container): Add tst-pldd.
1617 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1618 (E(find_maps)): Avoid use alloca, use default read file operations
1619 instead of explicit LFS names, and fix infinite loop.
1620 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1621 (get_process_info): Use _Static_assert instead of assert, use default
1622 directory operations instead of explicit LFS names, and free some
1623 leadek pointers.
1624 * elf/tst-pldd.c: New file.
1625
2d398aa2
L
16262019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1627
1628 * malloc/arena.c (do_set_mallopt_check): Removed.
1629
e485b2b6
FW
16302019-04-23 Florian Weimer <fweimer@redhat.com>
1631
1632 locale: Add LOCPATH diagnostics to the locale program.
1633 * locale/programs/locale.c (setlocale_failed): New variable.
1634 (try_setlocale): New function.
1635 (quote_string): Likewise.
1636 (setlocale_diagnostics): Likewise.
1637 (main): Call try_setlocale instead of setlocale. Call
1638 setlocale_diagnostics.
1639 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1640 (tst-locale-locpath.out): New target.
1641 * locale/tst-locale-locpath.sh: New file.
1642
25f7a3c9
AZ
16432019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1644
1645 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1646 to 2.30 notes.
1647
9bf8e29c
AZ
16482019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1649
1650 [BZ #23741]
1651 * malloc/hooks.c (malloc_check, realloc_check): Use
1652 __builtin_add_overflow on overflow check and adapt to
1653 checked_request2size change.
1654 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1655 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1656 allocation size to PTRDIFF_MAX.
1657 (REQUEST_OUT_OF_RANGE): Remove macro.
1658 (checked_request2size): Change to inline function and limit maximum
1659 requested size to PTRDIFF_MAX.
1660 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1661 maximum allocation size to PTRDIFF_MAX.
1662 (_mid_memalign): Use _int_memalign call for overflow check.
1663 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1664 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1665 limit maximum requested size to PTRDIFF_MAX.
1666 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1667 valloc, pvalloc): Add __attribute_alloc_size__.
1668 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1669 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1670 larger than PTRDIFF_MAX.
1671 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1672 around tests of malloc with negative sizes.
1673 * malloc/tst-posix_memalign.c (do_test): Likewise.
1674 * malloc/tst-pvalloc.c (do_test): Likewise.
1675 * malloc/tst-valloc.c (do_test): Likewise.
1676 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1677 with resulting size allocation larger than PTRDIFF_MAX with
1678 reallocarray_nowarn.
1679 (reallocarray_nowarn): New function.
1680 * NEWS: Mention the malloc function semantic change.
1681
0e169691
AZ
16822019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1683
52faba65
AZ
1684 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1685 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1686
3a16dd78
AZ
1687 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1688 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1689 * sysdeps/powerpc/fpu/s_fma.c: New file.
1690 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1691
1dac8bd6
AZ
1692 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1693 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1694
a3ae315a
AZ
1695 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1696 the magic flag store.
1697 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1698 Likewise.
1699 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1700 Likewise.
1701 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1702 Remove rt_sigreturn call.
1703
ffe8a9a8
AZ
1704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1705 Remove rt_sigreturn call.
1706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1707 Likewise.
1708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1710
0e169691
AZ
1711 * support/Makefile (libsupport-routines): Add support_subprocess,
1712 xposix_spawn, xposix_spawn_file_actions_addclose, and
1713 xposix_spawn_file_actions_adddup2.
1714 (tst-support_capture_subprocess-ARGS): New rule.
1715 * support/capture_subprocess.h (support_capture_subprogram): New
1716 prototype.
1717 * support/support_capture_subprocess.c (support_capture_subprocess):
1718 Refactor to use support_subprocess and support_capture_poll.
1719 (support_capture_subprogram): New function.
1720 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1721 str_to_write_mode, test_common, parse_int, handle_restart,
1722 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1723 (do_test): Add support_capture_subprogram tests.
1724 * support/subprocess.h: New file.
1725 * support/support_subprocess.c: Likewise.
1726 * support/xposix_spawn.c: Likewise.
1727 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1728 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1729 * support/xspawn.h: Likewise.
1730
bae8cf0e
MG
17312019-04-17 Mike Gerow <gerow@google.com>
1732
1733 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1734 groups limit.
1735
e3f454ba
FW
17362019-04-11 Florian Weimer <fweimer@redhat.com>
1737
1738 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1739 domain with empty string.
1740 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1741
32d85c11
FW
17422019-04-11 Florian Weimer <fweimer@redhat.com>
1743
1744 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1745 comment.
1746 (alloc_buffer_next): Change return type to non-const. Update
1747 comment.
1748
221710af
FW
17492019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1750
1751 * manual/time.texi (Formatting Calendar Time): Add missing percent
1752 sign to conversion specifier.
1753
e621246e
CD
17542019-04-09 Carlos O'Donell <carlos@redhat.com>
1755 Kwok Cheung Yeung <kcy@codesourcery.com>
1756
1757 [BZ #16573]
1758 * malloc/mtrace.c: Define prototypes for all hooks.
1759 (set_default_hooks): New function.
1760 (set_trace_hooks): Likewise.
1761 (save_default_hooks): Likewise.
1762 (tr_freehook): Use new s*_hooks functions.
1763 (tr_mallochook): Likewise.
1764 (tr_reallochook): Likewise.
1765 (tr_memalignhook): Likewise.
1766 (mtrace): Likewise.
1767 (muntrace): Likewise.
1768
648279f4
WD
17692019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1770
1771 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1772 (generic_stpcpy): New function.
1773 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1774 (generic_stpncpy): New function.
1775 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1776 (generic_strcat): New function.
1777 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1778 (generic_strcpy): New function.
1779 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1780 (STUPID_STRNCAT): Remove function.
1781 (generic_strncat): New function.
1782 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1783 (STUPID_STRNCPY): Remove function.
1784 (generic_strncpy): New function.
1785 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1786 (generic_strnlen): New function.
1787 (memchr_strnlen): New function.
1788 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1789 (memchr_strlen): Likewise.
1790
93eebae5
WD
17912019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1792
1793 * benchtests/bench-strstr.c (input): Add realistic input text.
1794 (stupid_strstr): Remove function.
1795 (basic_strstr): Add function.
1796 (twoway_strstr): Add function.
1797 (do_one_test): Add result checking.
1798 (do_test): Use new input text. Remove accidental early matches.
1799 (test_main): Improve range of tests, reduce unaligned cases.
1800
a173d09f
WD
18012019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1802
1803 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1804 (basic_memmem): Add function.
1805 (twoway_memmem): Add function.
1806
6103c0a8
WD
18072019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1808
1809 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1810 * benchtests/bench-malloc-thread.c: Likewise.
1811 * benchtests/bench-skeleton.c: Likewise.
1812 * benchtests/bench-strtod.c: Likewise.
1813 * benchtests/bench-timing.h: Likewise.
1814
33322186
FW
18152019-04-08 Florian Weimer <fweimer@redhat.com>
1816
1817 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1818 definitions.
1819 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1820 RES_INSECURE2 security checks.
1821 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1822 RES_INSECURE2 handling.
1823
3f8b44be
FW
18242019-04-08 Florian Weimer <fweimer@redhat.com>
1825
1826 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1827 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1828 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1829 GETHOSTBYNAME.
1830 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1831 (tests-internal): Update justification for tst-resolv-res_init,
1832 tst-resolv-res_init-thread.
1833 (tst-res_use_inet6): Remove target.
1834 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1835 * resolv/res_debug.c (p_option): Remove "inet6" support.
1836 * resolv/res_init.c (res_setoptions): Likewise.
1837 * resolv/res_use_inet6.h: Remove file.
1838 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1839 definition.
1840 (res_use_inet6): Always return false.
1841 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1842 * resolv/resolv_context.h: Adjust file comment.
1843 (struct resolv_context): Update comment on __next field.
1844 (__resolv_context_put): Update comment.
1845 * resolv/tst-res_use_inet6.c: Remove file.
1846 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1847 "inet6" support.
1848 (test_cases): Adjust test case.
1849 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1850 (thread_byname2_af_inet6): Use old byname_inet6 code.
1851 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1852 (gai): Remove do_inet6 argument.
1853 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1854 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1855 (thread_gai_unspec_inet6): Remove functions.
1856 (do_test): Adjust thread_funcs.
1857 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1858 RES_USE_INET6 flag.
1859 (gaih_inet): Do not disable RES_USE_INET6 flag.
1860
6b5c8607 18612019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
1862
1863 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1864 and remove redundant code.
1865
e3fd0b0e
AZ
18662019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1867
f82ed45d
AZ
1868 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1869 New rule.
1870 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1871 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1872 Likewise.
1873 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1874 Likewise.
1875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1876 Likewise.
1877 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1878 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1879 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1880 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1881 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1882 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1884 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1885 wcsrchr-power7.
1886 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1887 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1889 Remove wcsrchr optimizations.
1890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1891
662c2cc4
AZ
1892 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1893 the loop unroll.
1894
421e3005
AZ
1895 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1896 New rule.
1897 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1898 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1899 Likewise.
1900 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1901 Likewise.
1902 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1903 Likewise.
1904 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1905 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1906 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1907 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1908 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1909 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1910 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1911 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1912 wcschr-power7.
1913 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1914 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1916 Remove wcschr optimizations.
1917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1918
7ba0100c
AZ
1919 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1920 the loop unroll.
1921
447a1306
AZ
1922 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1923 New rule.
1924 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1925 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1926 Likewise.
1927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1928 Likewise.
1929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1930 Likewise.
1931 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1932 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1933 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1934 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1935 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1936 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1937 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1938 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1939 wcscpy-power7.
1940 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1943 Remove wcscpy optimizations.
1944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1945
e3fd0b0e
AZ
1946 * include/loop_unroll.h: New file.
1947 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1948 besides generic implementation.
1949
8260f236
DD
19502019-04-03 DJ Delorie <dj@redhat.com>
1951
1952 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1953 snprintf truncating output.
1954
0bd545ee
DD
19552019-04-02 DJ Delorie <dj@redhat.com>
1956
1957 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1958 warning.
1959
466afec3
TS
19602019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1961
1962 [BZ #22964]
1963 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1964 era.
1965 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1966 (mkreftable): Add rules for the new Japanese era and the new dates.
1967
2f1d6155
TS
19682019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1969 Rafal Luzynski <digitalfreak@lingonborough.com>
1970
1971 * time/tst-strftime2.c (date_t): Explicitly define the type.
1972 (dates): Use natural month and year numbers to express a date.
1973 (is_before): New function to compare dates.
1974 (mkreftable): Minor improvements to simplify maintenance.
1975 (do_test): Reflect the changes in dates array.
1976
84aea169
TS
1977 [BZ #24293]
1978 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1979 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1980 * time/tst-strftime2.c (locales): Likewise.
1981 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1982 2010-04-01, and 2011-04-01.
1983 (mkreftable): Add rules for the new locales and the new dates.
1984
62449176
CD
19852019-04-01 Carlos O'Donell <carlos@redhat.com>
1986
1987 * localedata/locales/ja_JP: Add comments to era entries.
1988
e0e4c321
DD
19892019-04-01 DJ Delorie <dj@redhat.com>
1990
1991 [BZ #24394]
1992 * time/strptime_l.c (%Ey): Fix fencepost error.
1993 * time/tst-strftime3.c: New.
1994 * time/Makefile (tests): Add tst-strftime3.
1995
6b5c8607 19962019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
1997
1998 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1999 conditional branch to DIVBYZERO. Fix unwind info.
2000 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2001 excb after conditional branch to $powerof2. Add missing unop
2002 instructions and .align directives and reorder instructions to
2003 match __divqu.
2004
d5ecee82
RH
20052019-04-01 Richard Henderson <rth@twiddle.net>
2006
2007 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2008 Do not redefine.
2009 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2010 Do not redefine.
2011
656dd306
MR
20122019-03-30 Maciej W. Rozycki <macro@wdc.com>
2013
2014 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2015 $libc_cv_riscv_float_abi in `test' invocation.
2016 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2017
10cce669
PC
20182019-03-29 Paul A. Clarke <pc@us.ibm.com>
2019
2020 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2021 asm with builtin.
2022 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2023 Likewise.
2024 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2025 (_GET_SI_FPSCR): Likewise.
2026 (_SET_SI_FPSCR): Likewise.
2027
5e67e4bf 20282019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
2029
2030 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2031 clang 2.8.
2032 (signbit): Use builtin for clang 3.3.
2033 (isinf): Use builtin for clang 3.7.
2034
01963891
AZ
20352019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2036
2037 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2038
67112f7a
AH
20392019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2040
2041 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2042 quote in printf.
2043
7a773abf
MC
20442019-03-25 Mike Crowe <mac@mcrowe.com>
2045
82849fde
MC
2046 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2047 pthread_rwlock_timedrdlock with calls to
2048 pthread_rwlock_timedwrlock to ensure that the latter is tested
2049 too. Use new function name in diagnostic messages too.
2050
7a773abf
MC
2051 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2052 (do_test) Use libsupport test macros rather than hand-coded
2053 conditionals and error messages. Ensure that sem_init returns zero
2054 rather than not -1. Use <support/test-driver.c> rather than
2055 test-skeleton.c.
2056
2057 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2058 test macros rather than hand-coded conditionals and error messages.
2059 Use <support/test-driver.c> rather than test-skeleton.c.
2060
9ac2de69
JM
20612019-03-25 Joseph Myers <joseph@codesourcery.com>
2062
d7563e62
JM
2063 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2064
9ac2de69
JM
2065 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2066 (NT_MIPS_MSA): Likewise.
2067
38cc11da
AZ
20682019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2069
7621e38b
WD
2070 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2071 * benchtests/README: Update description.
2072 * benchtests/bench-timing.h: Default to hp-timing.
2073 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2074 HP_TIMING_PRINT): Remove.
2075 (HP_TIMING_NOW): Add generic implementation.
2076 (hp_timing_t): Change to uint64_t.
2077
1e372ded
AZ
2078 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2079 HP_TIMING_INLINE.
2080 * nptl/descr.h: Likewise.
2081 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2082 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2083 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2084 Abstract hp-timing usage with RTLD_* macros.
2085 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2086 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2087 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2088 HP_TIMING_NONAVAIL): Likewise.
2089 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2090 Likewise.
2091 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2092 HP_SMALL_TIMING_AVAIL): Likewise.
2093 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2094 HP_SMALL_TIMING_AVAIL): Likewise.
2095 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2096 HP_SMALL_TIMING_AVAIL): Likewise.
2097 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2098 HP_SMALL_TIMING_AVAIL): Likewise.
2099 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2100 Likewise.
2101 * sysdeps/generic/hp-timing-common.h: Update comment with
2102 HP_TIMING_AVAIL removal.
2103
359653aa
AZ
2104 * include/random-bits.h: New file.
2105 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2106 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2107 random_bits.
2108 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2109 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2110 Likewise.
2111
6e8ba7fd
AZ
2112 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2113 * rt/Makefile (clock-routines): Remove get_clockfreq.
2114 * rt/get_clockfreq.c: Remove file.
2115 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2116 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2117 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2118 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2119 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2120
77b6f553
AZ
2121 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2122 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2123 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2124 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2125 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2126
38cc11da
AZ
2127 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2128 pthread_clock_settime.
2129 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2130 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2131 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2132 * elf/rtld.c (_dl_start_final): Likewise.
2133 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2134 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2135 Remove.
2136 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2137 (_dl_cpuclock_offset): Remove.
2138 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2139 cpuclock_offset_ununsed.
2140 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2141 cpuclock_offset set.
2142 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2143 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2144 * nptl/pthread_clock_gettime.c: Remove file.
2145 * nptl/pthread_clock_settime.c: Likewise.
2146 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2147 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2148 and CLOCK_PROCESS_CPUTIME_ID support.
2149 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2150 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2151 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2152 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2153 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2154 Likewise.
2155 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2156
421749d6
SL
21572019-03-22 Stefan Liebler <stli@linux.ibm.com>
2158
2159 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2160 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2161 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2162 New defines.
2163 * sysdeps/s390/memmem-arch13.S: New file.
2164 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2165 if it is only used as fallback.
2166 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2167 * sysdeps/s390/multiarch/ifunc-impl-list.c
2168 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2169
6f47401b
SL
21702019-03-22 Stefan Liebler <stli@linux.ibm.com>
2171
2172 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2173 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2174 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2175 New defines.
2176 * sysdeps/s390/multiarch/ifunc-impl-list.c
2177 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2178 * sysdeps/s390/strstr-arch13.S: New file.
2179 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2180 if it is only used as fallback.
2181 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2182
96fbb9a3
SL
21832019-03-22 Stefan Liebler <stli@linux.ibm.com>
2184
2185 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2186 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2187 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2188 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2189 ifunc selector.
2190 * sysdeps/s390/multiarch/ifunc-impl-list.c
2191 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2192 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2193 S390_IS_ARCH13_MIE3): New defines.
2194
a899a551
SL
21952019-03-22 Stefan Liebler <stli@linux.ibm.com>
2196
2197 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2198 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2199 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2200 * sysdeps/s390/configure: Regenerated.
2201
1a7df49c
SL
22022019-03-22 Stefan Liebler <stli@linux.ibm.com>
2203
2204 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2205 Add vxe2, vxp, dflt, sort flags.
2206 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2207 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2208 capabilities.
2209 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2210 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2211 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2212 HWCAP_S390_DFLT): Define.
2213
5e67e4bf 22142019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
2215
2216 [BZ #24372]
2217 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2218 of compiler warning.
2219 * locale/programs/ld-collate.c (collate_output): Likewise.
2220
ac64195c
DD
22212019-03-21 DJ Delorie <dj@redhat.com>
2222
2223 [BZ #24372]
2224 * iconv/iconvconfig.c (write_output): Replace floating point math
2225 with integer math to avoid imprecise results.
2226 * locale/programs/ld-collate.c (collate_output): Likewise.
2227
61f5e947
SL
22282019-03-21 Stefan Liebler <stli@linux.ibm.com>
2229
2230 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2231 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2232
57ada43c 22332019-03-20 mansayk <6688000@gmail.com>
2234
2235 [BZ #24296]
2236 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2237 (abday): Likewise, but remove the trailing dots.
2238
a2e57f89
JM
22392019-03-19 Joseph Myers <joseph@codesourcery.com>
2240
2241 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2242 macro.
2243 (HWCAP_PACA): Likewise.
2244 (HWCAP_PACG): Likewise.
2245 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2246 Increase to 32.
2247 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2248
e87d8ada
ST
22492019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2250
2251 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2252 should be handled.
2253
477e739b
JM
22542019-03-15 Joseph Myers <joseph@codesourcery.com>
2255
2256 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2257 version to 5.0.
2258 (old_getpagesize): New syscall.
2259
238d60a1
FY
22602019-03-15 Felix Yan <felixonmars@archlinux.org>
2261
2262 [BZ #24293]
2263 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2264 * localedata/locales/cmn_TW (era): Likewise.
2265 * localedata/locales/hak_TW (era): Likewise.
2266 * localedata/locales/lzh_TW (era): Likewise.
2267 * localedata/locales/nan_TW (era): Likewise.
2268
5dde9ef7
DD
22692019-03-14 Adam Maris <amaris@redhat.com>
2270
2271 * malloc/malloc.c (_int_malloc): Check for large bin list
2272 corruption when inserting unsorted chunk.
2273
a0a0dc83
FW
22742019-03-14 Florian Weimer <fweimer@redhat.com>
2275
2276 Remove obsolete, never-implemented XSI STREAMS declarations.
2277 * manual/terminal.texi (Allocation): Remove portability note and
2278 adjust example.
2279 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2280 _SC_STREAMS.
2281 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2282 * sysdeps/unix/inet/Subdirs (streams): Remove.
2283 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2284 (conformtest-headers-UNIX98): Likewise.
2285 (conformtest-headers-XOPEN2K): Likewise.
2286 (conformtest-headers-POSIX2008): Likewise.
2287 * posix/compat-streams.c: New file.
2288 * posix/Makefile (routines): Add it.
2289 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2290 getpmsg, isastream, putmsg, putpmsg.
2291 (GLIBC_2.30): New section.
2292 * bits/stropts.h: Remove file.
2293 * bits/xtitypes.h: Likewise.
2294 * conform/data/stropts.h-data: Likewise.
2295 * include/stropts.h: Likewise.
2296 * include/sys/stropts.h: Likewise.
2297 * include/xtitypes.h: Likewise.
2298 * streams/Makefile: Likewise.
2299 * streams/fattach.c: Likewise.
2300 * streams/fdetach.c: Likewise.
2301 * streams/getmsg.c: Likewise.
2302 * streams/getpmsg.c: Likewise.
2303 * streams/isastream.c: Likewise.
2304 * streams/putmsg.c: Likewise.
2305 * streams/putpmsg.c: Likewise.
2306 * streams/stropts.h: Likewise.
2307 * streams/sys/stropts.h: Likewise.
2308 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2309 * sysdeps/s390/bits/xtitypes.h: Likewise.
2310 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2311 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2312 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2313 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2314 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2315 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2316 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2317 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2318 * sysdeps/x86/bits/xtitypes.h: Likewise.
2319
081bdf94
FW
23202019-03-14 Florian Weimer <fweimer@redhat.com>
2321
2322 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2323 libnss_files.
2324 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2325 but not with libnss_files.
2326 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2327
97f8225d
ZW
23282019-03-14 Zack Weinberg <zackw@panix.com>
2329
2330 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2331 Specify encoding="utf-8" when opening headers to check.
2332
0c1041ee
JM
23332019-03-13 Joseph Myers <joseph@codesourcery.com>
2334
2335 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2336 version to 5.0.
2337 (Context.checkout_tar): Handle variable major version for Linux
2338 kernel.
2339
043440e7
FW
23402019-03-13 Florian Weimer <fweimer@redhat.com>
2341
2342 [BZ #24047]
2343 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2344
29218b26
ZW
23452019-03-13 Zack Weinberg <zackw@panix.com>
2346
2347 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2348 Move to stdlib.
2349 * include/inttypes.h: Adjust to match.
2350 * include/stdint.h: New wrapper.
2351
711a322a
ZW
23522019-03-13 Zack Weinberg <zackw@panix.com>
2353
2354 * scripts/check-obsolete-constructs.py: New test script.
2355 * scripts/check-installed-headers.sh: Remove tests for
2356 obsolete typedefs, superseded by check-obsolete-constructs.py.
2357 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2358 as a special test. Update commentary.
2359 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2360 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2361 Update commentary.
2362 * posix/sys/types.h (__u_intN_t): Remove.
2363 (u_int8_t): Typedef using __uint8_t.
2364 (u_int16_t): Typedef using __uint16_t.
2365 (u_int32_t): Typedef using __uint32_t.
2366 (u_int64_t): Typedef using __uint64_t.
2367
7c651308
SL
23682019-03-13 Stefan Liebler <stli@linux.ibm.com>
2369
2370 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2371 call _dl_procinfo.
2372 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2373 Ignore types other than AT_HWCAP.
2374 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2375 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2376 Likewise.
2377 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2378 in the case of falling back to generic output mechanism.
2379 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2380 Likewise.
2381
38b52865
FW
23822019-03-12 Florian Weimer <fweimer@redhat.com>
2383
2384 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2385
08504de7
FW
23862019-03-12 Florian Weimer <fweimer@redhat.com>
2387
2388 [BZ #24047]
2389 resolv: Enable full ICMP errors for UDP DNS sockets
2390 * resolv/res_enable_icmp.c: New file.
2391 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2392 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2393 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2394 socket.
2395
5fbcd763
MH
23962019-03-11 Mao Han <han_mao@c-sky.com>
2397
2398 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2399 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2400
c4e5f34b
MH
24012019-03-11 Mao Han <han_mao@c-sky.com>
2402
2403 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2404 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2405 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2406
827e30f3
MH
24072019-03-11 Mao Han <han_mao@c-sky.com>
2408
2409 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2410 directly.
2411 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2412 definition.
2413
6229c9bf
MH
24142019-03-11 Mao Han <han_mao@c-sky.com>
2415
2416 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2417 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2418 in mcontext_t
2419
86bdd49d
MF
24202019-03-08 Mike FABIAN <mfabian@redhat.com>
2421
2422 [BZ #24307]
2423 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2424 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2425 Unicode 12.0.0.
2426 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2427 * localedata/unicode-gen/PropList.txt: Likewise.
2428 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2429 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2430 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2431 * localedata/charmaps/UTF-8: Regenerate.
2432 * localedata/locales/i18n_ctype: Likewise.
2433 * localedata/locales/tr_TR: Likewise.
2434 * localedata/locales/translit_circle: Likewise.
2435 * localedata/locales/translit_cjk_compat: Likewise.
2436 * localedata/locales/translit_combining: Likewise.
2437 * localedata/locales/translit_compat: Likewise.
2438 * localedata/locales/translit_font: Likewise.
2439 * localedata/locales/translit_fraction: Likewise.
2440
c5f65462
JM
24412019-03-07 Joseph Myers <joseph@codesourcery.com>
2442
2443 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2444 than after operators.
2445 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2446 (setitimer_locked): Likewise.
2447 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2448 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2449 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2450 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2451 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2452 (PPC_CPU_SUPPORTED): Likewise.
2453 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2454 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2455 (stat_overflow): Likewise.
2456 (statfs_overflow): Likewise.
2457 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2458 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2459 (eq_ttyname_r): Likewise.
2460 (run_chroot_tests): Likewise.
2461
27a2f2f3
FW
24622019-03-07 Florian Weimer <fweimer@redhat.com>
2463
2464 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2465 header check.
2466
ae514971 24672019-03-07 Martin Liska <mliska@suse.cz>
2468
2469 * math/Makefile: Change location where math-vector-fortran.h is
2470 installed.
2471 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2472 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2473 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2474 * scripts/check-installed-headers.sh: Skip Fortran header files.
2475 * scripts/check-wrapper-headers.py: Likewise.
2476
0ddb7ea8
AZ
24772019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2478
2479 * nptl/nptl-init.c (__have_futex_clock_realtime,
2480 __have_futex_clock_realtime): Remove definition.
2481 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2482 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2483 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2484 __ASSUME_FUTEX_CLOCK_REALTIME support.
2485 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2486 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2487 * sysdeps/unix/sysv/linux/kernel-features.h
2488 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2489 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2490 Adjust comment.
2491
590675c0
GG
24922019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2493
2494 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2495 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2496 __GI___wcscpy and wcscpy.
2497
de71ee7b
FW
24982019-03-04 Florian Weimer <fweimer@redhat.com>
2499
2500 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2501 declaration.
2502 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2503 defined.
2504
ce6ddae0
SL
25052019-03-04 Stefan Liebler <stli@linux.ibm.com>
2506
2507 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2508 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2509
31efface
TS
25102019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2511
2512 [BZ #24162]
2513 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2514 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2515
f0eaf862
GG
25162019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2517
2518 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2519 tests.
2520 (do_test): Likewise.
2521 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2522 (do_test_call_varg): Likewise.
2523 (do_test_call_rarg): Likewise.
2524 * sysdeps/ieee754/ldbl-opt/Makefile
2525 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2526 tst-nldbl-error.
2527 ($(objpfx)tst-nldbl-warn.c): New rule.
2528 ($(objpfx)tst-nldbl-error.c): Likewise.
2529 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2530 New variables.
2531
d11086a9
GG
25322019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2533
2534 [BZ #23984]
2535 * include/bits/error-ldbl.h: New file.
2536 * include/error.h: Include stdarg.h. Declare internal functions
2537 __error_internal and __error_at_line_internal.
2538 * misc/Makefile (headers): Add bits/error-ldbl.h.
2539 * misc/bits/error-ldbl.h: New file.
2540 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2541 avoid the inclusion of bits/error.h.
2542 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2543 and __nldbl_error_at_line.
2544 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2545 (__nldbl_error, __ndlbl_error_at_line): New functions.
2546 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2547 Redirect error and error_at_line.
2548 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2550 Likewise.
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2552 Likewise.
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2554 Likewise.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2556 Likewise.
2557 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2558 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2559 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2560
90188e7d
GG
25612019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2562
2563 [BZ #23984]
2564 * include/bits/err-ldbl.h: New file.
2565 * include/err.h: Add prototypes for the internal functions:
2566 __vwarnx_internal and __vwarn_internal.
2567 * misc/Makefile (headers): Add bits/err-ldbl.h.
2568 * misc/bits/err-ldbl.h: New file.
2569 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2570 defined, i.e.: when -mlong-double-64 is in use.
2571 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2572 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2573 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2574 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2575 (VA_CALL): New macro.
2576 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2577 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2578 functions.
2579 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2580 declare prototypes for the new functions.
2581 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2583 Likewise.
2584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2585 Likewise.
2586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2587 Likewise.
2588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2589 Likewise.
2590 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2591 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2592 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2593
ea2d89d0
GG
25942019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2595
2596 * sysdeps/ieee754/ldbl-opt/Makefile
2597 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2598 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2599 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2600
6e1f6440
GG
26012019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2602
2603 [BZ #23983]
2604 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2605 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2606 * argp/bits/argp-ldbl.h: New file.
2607 * include/argp.h: Include stdarg.h. Add prototypes for internal
2608 functions: __argp_error_internal and __argp_failure_internal.
2609 * include/bits/argp-ldbl.h: New file.
2610 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2611 __nldbl_argp_error and __nldbl_argp_failure.
2612 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2613 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2614 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2615 Redirect argp_error and argp_failure calls.
2616 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2618 Likewise.
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2620 Likewise.
2621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2622 Likewise.
2623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2624 Likewise.
2625 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2626 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2627 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2628
c259196b
FW
26292019-03-01 Florian Weimer <fweimer@redhat.com>
2630
2631 [BZ #20419]
2632 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2633 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2634 code, to avoid creating an ABI tag note.
2635 (modules-names-nobuild): Add tst-big-note-lib.
2636
928b305d
SL
26372019-03-01 Stefan Liebler <stli@linux.ibm.com>
2638
2639 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2640 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2641
36f30c10
FW
26422019-03-01 Florian Weimer <fweimer@redhat.com>
2643
2644 [BZ #20271]
2645 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2646 (__netlink_assert_response): Add additional missing newlines.
2647
462e83a4
JM
26482019-02-28 Joseph Myers <joseph@codesourcery.com>
2649
2650 * sysdeps/powerpc/powerpc32/dl-machine.c
2651 (__elf_machine_fixup_plt): Use space before '('.
2652 (__process_machine_rela): Likewise.
2653 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2654 Likewise.
2655 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2656 Likewise.
2657 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2658 Likewise.
2659 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2660 (pattern): Likewise.
2661 (delta): Likewise.
2662 (check_result): Likewise.
2663 (check_excepts): Likewise.
2664 (check_op): Likewise.
2665 (fail_xr): Likewise.
2666 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2667 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2668 (SCNHSZ): Likewise.
2669 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2670 Likewise.
2671 (ARGS): Likewise.
2672 (__makecontext): Likewise.
2673 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2674 Likewise.
2675
cc3e573c
FW
26762019-02-28 Florian Weimer <fweimer@redhat.com>
2677
2678 [BZ #23937]
2679 elf: Add test with a local IFUNC resolver.
2680 * elf/ifuncmain9.c: New file.
2681 * elf/ifuncmain9pic.c: Likewise.
2682 * elf/ifuncmain9picstatic.c: Likewise.
2683 * elf/ifuncmain9pie.c: Likewise.
2684 * elf/ifuncmain9static.c: Likewise.
2685 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2686 ifuncmain9static, ifuncmain9picstatic.
2687 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2688 Add ifuncmain9, ifuncmain9pic.
2689 * elf/Makefile [multi-arch && build-shared && have-fpie]
2690 (ifunc-pie-tests): Add ifuncmain9pie.
2691 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2692 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2693 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2694
92ad88fe
L
26952019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2696
2697 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2698 * configure: Regenerated.
2699 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2700
6bd4d02e
AZ
27012019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2702
2703 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2704 symbol as __wcspcy instead of wcscpy.
2705
1b218417
ST
27062019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2707
2708 * include/stdio.h (__renameat2): New hidden prototype.
2709 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2710 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2711 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2712 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2713
c4f50205
JM
27142019-02-27 Joseph Myers <joseph@codesourcery.com>
2715
f627dd4d
JM
2716 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2717 if statement.
2718
c4f50205
JM
2719 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2720 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2721 * benchtests/bench-strlen.c (do_test): Likewise.
2722 (test_main): Likewise.
2723 * catgets/gencat.c (read_old): Likewise.
2724 * elf/cache.c (load_aux_cache): Likewise.
2725 * iconvdata/bug-iconv8.c (do_test): Likewise.
2726 * math/test-tgmath-ret.c (do_test): Likewise.
2727 * nis/nis_call.c (rec_dirsearch): Likewise.
2728 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2729 * nptl/tst-audit-threads.c (do_test): Likewise.
2730 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2731 * nss/nss_test1.c (init): Likewise.
2732 * nss/test-netdb.c (test_hosts): Likewise.
2733 * posix/execvpe.c (maybe_script_execute): Likewise.
2734 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2735 * stdio-common/tst-printf.c (do_test): Likewise.
2736 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2737 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2738 * stdlib/qsort.c (STACK_SIZE): Likewise.
2739 * stdlib/test-canon.c (do_test): Likewise.
2740 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2741 * string/memcmp.c (OPSIZ): Likewise.
2742 * string/test-strcpy.c (do_test): Likewise.
2743 (do_random_tests): Likewise.
2744 * string/test-strlen.c (do_test): Likewise.
2745 (test_main): Likewise.
2746 * string/test-strrchr.c (do_test): Likewise.
2747 (do_random_tests): Likewise.
2748 * string/tester.c (test_memrchr): Likewise.
2749 (test_memchr): Likewise.
2750 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2751 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2752 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2753 (read_encoded_value_with_base): Likewise.
2754 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2755 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2756 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2757 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2758 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2759 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2760 Likewise.
2761 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2762 Likewise.
2763 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2764 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2765 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2766 Likewise.
2767 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2768 Likewise.
2769 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2770 Likewise.
2771 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2772 Likewise.
2773 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2774 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2775 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2776 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2777 * time/test_time.c (main): Likewise.
2778
7b3fb620
AZ
27792019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2780
457208b1
AZ
2781 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2782
30a7e208
AZ
2783 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2784 wmemcpy.
2785
ddf21ec7
AZ
2786 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2787 wmemcpy.
2788
4d801563
AZ
2789 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2790
81a14439
AZ
2791 * include/wchar.h (__wcscpy): New prototype.
2792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2793 (__wcscpy): Route internal symbol to generic implementation.
2794 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2795 Add internal __wcscpy alias.
2796 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2797 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2798 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2799 * wcsmbs/wcscpy.c (wcscpy): Add
2800 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2801 use generic implementation.
2802 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2803
39ef0744
AZ
2804 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2805 wmemset.
2806
7b3fb620
AZ
2807 * sysdeps/m68k/wcpcpy.c: Remove file.
2808 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2809
e0cb7b61
JM
28102019-02-26 Joseph Myers <joseph@codesourcery.com>
2811
aa0e4663
JM
2812 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2813 than after operators.
2814 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2815 * sysdeps/mach/hurd/getcwd.c
2816 (__hurd_canonicalize_directory_name_internal): Likewise.
2817 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2818 (pthread_mutex_consistent): Likewise.
2819 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2820 Likewise.
2821 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2822 (__pthread_mutex_transfer_np): Likewise.
2823 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2824 (__pthread_mutex_unlock): Likewise.
2825 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2826 (mtx_owned_p): Likewise.
2827 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2828 (pthread_mutexattr_getrobust): Likewise.
2829 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2830 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2831 Likewise.
2832 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2833 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2834 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2835 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2836 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2837 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2838 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2839 Likewise.
2840 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2841 Likewise.
2842 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2843 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2844 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2845 (____longjmp_chk): Likewise.
2846 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2847 Likewise.
2848 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2849 (INTERNAL_SYSCALL): Likewise.
2850 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2851 (INTERNAL_SYSCALL): Likewise.
2852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2853 (__get_clockfreq_via_cpuinfo): Likewise.
2854
e0cb7b61
JM
2855 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2856 comments.
2857 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2858 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2859 (WORD_COPY_BWD): Likewise.
2860 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2862 Likewise.
2863 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2864 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2865 comment.
2866 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2867
a04549c1
JM
28682019-02-25 Joseph Myers <joseph@codesourcery.com>
2869
2870 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2871 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2872 rather than after operators.
2873 * elf/cache.c (print_cache): Likewise.
2874 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2875 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2876 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2877 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2878 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2879 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2880 (reauth_proc): Likewise.
2881 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2882 (__file_name_split_at): Likewise.
2883 (__directory_name_split_at): Likewise.
2884 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2885 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2886 * iconv/gconv_dl.c (do_print): Likewise.
2887 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2888 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2889 * locale/setlocale.c (new_composite_name): Likewise.
2890 * malloc/memusagestat.c (main): Likewise.
2891 * misc/fstab.c (fstab_convert): Likewise.
2892 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2893 Likewise.
2894 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2895 (getgrent_next_file): Likewise.
2896 (internal_getgrnam_r): Likewise.
2897 (internal_getgrgid_r): Likewise.
2898 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2899 Likewise.
2900 (internal_getgrent_r): Likewise.
2901 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2902 (getpwent_next_nss): Likewise.
2903 (getpwent_next_file): Likewise.
2904 (internal_getpwnam_r): Likewise.
2905 (internal_getpwuid_r): Likewise.
2906 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2907 Likewise.
2908 (getspent_next_nss): Likewise.
2909 (internal_getspnam_r): Likewise.
2910 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2911 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2912 * string/strchr.c (STRCHR): Likewise.
2913 * string/strchrnul.c (STRCHRNUL): Likewise.
2914 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2915 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2916 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2917 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2918 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2919 Likewise.
2920 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2921 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2922 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2923 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2924 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2925 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2926 (open_file): Likewise.
2927 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2928 (pthread_mutexattr_setprotocol): Likewise.
2929 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2930 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2931 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2932 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2933 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2934 Likewise.
2935 (elf_machine_rela): Likewise.
2936 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2937 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2938 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2939 * sysdeps/posix/rename.c (rename): Likewise.
2940 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2941 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2942 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2943 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2944 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2945 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2946 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2947 Likewise.
2948 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2949 Likewise.
2950 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2951 * time/tzfile.c (__tzfile_compute): Likewise.
2952
34a5a146
JM
29532019-02-22 Joseph Myers <joseph@codesourcery.com>
2954
2955 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2956 rather than after operators.
2957 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2958 * crypt/md5.c (md5_finish_ctx): Likewise.
2959 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2960 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2961 * elf/cache.c (load_aux_cache): Likewise.
2962 * elf/dl-load.c (open_verify): Likewise.
2963 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2964 * elf/readelflib.c (process_elf_file): Likewise.
2965 * elf/rtld.c (dl_main): Likewise.
2966 * elf/sprof.c (generate_call_graph): Likewise.
2967 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2968 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2969 * hurd/dtable.c (reauth_dtable): Likewise.
2970 * hurd/getdport.c (__getdport): Likewise.
2971 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2972 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2973 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2974 Likewise.
2975 * hurd/hurdioctl.c (fioctl): Likewise.
2976 * hurd/hurdselect.c (_hurd_select): Likewise.
2977 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2978 (STOPSIGS): Likewise.
2979 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2980 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2981 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2982 * hurd/msgportdemux.c (msgport_server): Likewise.
2983 * hurd/setauth.c (_hurd_setauth): Likewise.
2984 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2985 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2986 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2987 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2988 * login/tst-utmp.c (do_check): Likewise.
2989 (simulate_login): Likewise.
2990 * mach/lowlevellock.h (lll_lock): Likewise.
2991 (lll_trylock): Likewise.
2992 * math/test-fenv.c (ALL_EXC): Likewise.
2993 * math/test-fenvinline.c (ALL_EXC): Likewise.
2994 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2995 * nis/nis_call.c (__do_niscall3): Likewise.
2996 * nis/nis_callback.c (cb_prog_1): Likewise.
2997 * nis/nis_defaults.c (searchaccess): Likewise.
2998 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2999 * nis/nis_ismember.c (internal_ismember): Likewise.
3000 * nis/nis_local_names.c (nis_local_principal): Likewise.
3001 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3002 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3003 Likewise.
3004 * nis/ypclnt.c (yp_match): Likewise.
3005 (yp_first): Likewise.
3006 (yp_next): Likewise.
3007 (yp_master): Likewise.
3008 (yp_order): Likewise.
3009 * nscd/hstcache.c (cache_addhst): Likewise.
3010 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3011 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3012 (internal_getpwuid_r): Likewise.
3013 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3014 * posix/glob.h (__GLOB_FLAGS): Likewise.
3015 * posix/regcomp.c (peek_token): Likewise.
3016 (peek_token_bracket): Likewise.
3017 (parse_expression): Likewise.
3018 * posix/regexec.c (sift_states_iter_mb): Likewise.
3019 (check_node_accept_bytes): Likewise.
3020 * posix/tst-spawn3.c (do_test): Likewise.
3021 * posix/wordexp-test.c (testit): Likewise.
3022 * posix/wordexp.c (parse_tilde): Likewise.
3023 (exec_comm): Likewise.
3024 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3025 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3026 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3027 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3028 * stdio-common/tst-fileno.c (do_test): Likewise.
3029 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3030 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3031 * stdlib/strtod_l.c (round_and_return): Likewise.
3032 (____STRTOF_INTERNAL): Likewise.
3033 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3034 * string/strcspn.c (STRCSPN): Likewise.
3035 * string/test-memmem.c (simple_memmem): Likewise.
3036 * termios/tcsetattr.c (tcsetattr): Likewise.
3037 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3038 * time/asctime.c (asctime_internal): Likewise.
3039 * time/strptime_l.c (__strptime_internal): Likewise.
3040 * time/sys/time.h (timercmp): Likewise.
3041 * time/tzfile.c (__tzfile_compute): Likewise.
3042
b0b50fe0
PF
30432019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3044
b39d961c
TS
3045 [BZ #21915]
3046 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 3047
f43b8dd5
GG
30482019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3049
3050 * argp/argp-help.c (__argp_error_internal): New function,
3051 renamed from __argp_error, but that takes a 'mode_flags'
3052 parameter to control the format of long double parameters.
3053 (__argp_error): Converted into a call __argp_error_internal.
3054 (__argp_failure_internal): New function, renamed from
3055 __argp_failure, but that takes a 'mode_flags' parameter.
3056 (__argp_failure): Converted into a call __argp_failure_internal.
3057 * misc/err.c (__vwarnx_internal): New function, renamed from
3058 vwarnx, but that takes a 'mode_flags' parameter.
3059 (vwarnx): Converted into a call to __vwarnx_internal.
3060 (__vwarn_internal): New function, renamed from vwarn, but that
3061 takes a 'mode_flags' parameter.
3062 (vwarn): Converted into a call to __vwarn_internal.
3063 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3064 call to __vfxprintf with 'mode_flags'.
3065 (__error_internal): New function, renamed from error, but that
3066 takes a 'mode_flags' parameter.
3067 (error): Converted into a call to __error_internal.
3068 (__error_at_line_internal): New function, renamed from
3069 error_at_line, but that takes a 'mode_flags' parameter.
3070 (error_at_line): Converted into a call to
3071 __error_at_line_internal.
3072 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3073 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3074 Likewise.
3075
dc0afac3 30762019-02-20 Martin Liska <mliska@suse.cz>
3077
3078 * math/Makefile: Install math-vector-fortran.h.
3079 * bits/math-vector-fortran.h: New file.
3080 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3081
4a2dd41c
GG
30822019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3083
3084 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3085 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3086
04de9302
WS
30872019-02-19 Wolfram Sang <wsa@the-dreams.de>
3088
3089 * nptl/pthread_mutex_trylock.c: Fix comment.
3090
b026ce1e
CD
30912019-02-19 Carlos O'Donell <carlos@redhat.com>
3092
3093 * nptl/pthread_tryjoin.c: Fix comment.
3094
8c9289b6
JM
30952019-02-18 Joseph Myers <joseph@codesourcery.com>
3096
3097 [BZ #24231]
3098 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3099 after R_SPARC_H34 case.
3100
308e022f
FW
31012019-02-18 Florian Weimer <fweimer@redhat.com>
3102
3103 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3104 (getanswer): Do not call Dprintf.
3105 (res_gethostbyname2_context): Likewise.
3106 (res_gethostbyaddr_context): Likewise.
3107
a5406364
FW
31082019-02-18 Florian Weimer <fweimer@redhat.com>
3109
3110 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3111 declaration.
3112 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3113 Remove definitions.
3114 * libio/stdfiles.c: Update comment.
3115 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3116 set _IO_stdin, _IO_stdout, _IO_stderr.
3117 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3118 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3119 inline function.
3120 (_IO_deallocate_file): New inline function.
3121 * libio/iolibio.h (_IO_vprintf): Remove definition.
3122 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3123 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3124 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3125 _IO_legacy_file.
3126 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3127 __builtin_expect. Use _IO_legacy_file.
3128
6c29942c
SL
31292019-02-18 Stefan Liebler <stli@linux.ibm.com>
3130
3131 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3132 Initialize ctid with a known value and remove update of ctid
3133 after clone.
3134 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3135 as assumed current value of ctid_ptr.
3136
225d9445 31372019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
3138
3139 Check that non-sysdeps headers have wrapper headers.
3140 * scripts/check-wrapper-headers.py: New file.
3141 * Makefile (tests-special): Add check-wrapper-headers.out.
3142 (check-wrapper-headers.out): New target.
3143 * Rules (tests-special): Add check-wrapper-headers.out.
3144 (check-wrapper-headers.out): New target.
3145
225d9445 31462019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
3147
3148 Add missing header wrappers under include/.
3149 * include/ar.h: New file.
3150 * include/bits/mqueue2.h: Likewise.
3151 * include/bits/stdio.h: Likewise.
3152 * include/bits/stdio2.h: Likewise.
3153 * include/fstab.h: Likewise.
3154 * include/fts.h: Likewise.
3155 * include/lastlog.h: Likewise.
3156 * include/netinet/icmp6.h: Likewise.
3157 * include/netinet/igmp.h: Likewise.
3158 * include/netinet/ip6.h: Likewise.
3159 * include/re_comp.h: Likewise.
3160 * include/regexp.h: Likewise.
3161 * include/rpcsvc/bootparam.h: Likewise.
3162 * include/rpcsvc/yp_prot.h: Likewise.
3163 * include/sys/random.h: Likewise.
3164 * include/sys/stropts.h: Likewise.
3165 * include/sys/ttychars.h: Likewise.
3166 * include/sys/vfs.h: Likewise.
3167 * include/wait.h: Likewise.
3168
225d9445 31692019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
3170
3171 * nptl_db/proc_service.h: Move to ...
3172 * sysdeps/nptl/proc_service.h: ... here.
3173 * nptl_db/thread_db.h: Move to ...
3174 * sysdeps/nptl/thread_db.h: ... here.
3175 * nptl/descr.h: Include <thread_db.h>.
3176
e442e40d
AZ
31772019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3178
3179 * io/Makefile (tests): Add tst-lockf.
3180 * io/lockf.c (lockf): Use __fcntl and only define for
3181 !__OFF_T_MATCHES_OFF64_T.
3182 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3183 __OFF_T_MATCHES_OFF64_T case.
3184 * io/tst-lockf.c: New file.
3185 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3186 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3187 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3188 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3189 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3191 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3192 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3193 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3194
bc10e22c
FW
31952019-02-15 Florian Weimer <fweimer@redhat.com>
3196
3197 [BZ #24211]
3198 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3199 pd->result after the thread descriptor has been freed.
3200
365f05c7
JM
32012019-02-15 Joseph Myers <joseph@codesourcery.com>
3202
8a11f970
JM
3203 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3204 from function return type.
3205
365f05c7
JM
3206 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3207
6b5c8607 32082019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
3209
3210 * scripts/test_printers_common.py: Set TERM to a known harmless
3211 value.
3212
712182c8
JM
32132019-02-14 Joseph Myers <joseph@codesourcery.com>
3214
3215 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3216 (xdr_u_int): Likewise.
3217 (xdr_enum): Likewise.
3218 (xdr_bytes): Reword fall-through comment.
3219 (xdr_string): Likewise.
3220
eb76e5b4
AZ
32212019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3222
3223 [BZ #2421]
3224 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3225 (tests): Add tst-join8 tst-join9.
3226 * nptl/lll_timedwait_tid.c: Remove file.
3227 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3228 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3229 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3230 * nptl/pthread_join_common.c (timedwait_tid): New function.
3231 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3232 is set.
3233 * nptl/tst-join5.c (thread_join): New function.
3234 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3235 check.
3236 * nptl/tst-join8.c: New file.
3237 * nptl/tst-join9.c: Likewise.
3238 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3239 lll_futex_timed_wait_cancel): Add generic macros.
3240 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3241 Remove definitions.
3242 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3243 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3244 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3245 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3246 Remove function.
3247 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3248 Likewise.
3249 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3250 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3251 (lll_futex_timed_wait_cancel): New macro.
3252
3904fd85
WD
32532019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3254
3255 * benchtests/Makefile: Add malloc-simple benchmark.
3256 * benchtests/bench-malloc-simple.c: New benchmark.
3257
24ca04fe
SP
32582019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3259
3260 * benchtests/bench-memmove.c (do_one_test): Remove unused
3261 ORIG_SRC.
3262 (do_test): Adjust.
3263 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3264 ORIG_SRC.
3265 (do_test): Adjust.
3266
85bd1ddb
JW
32672019-01-13 Jim Wilson <jimw@sifive.com>
3268
3269 [BZ #24040]
3270 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3271 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3272 (func): New.
3273 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3274 call func directly.
3275 * nptl/Makefile (tests): Add tst-unwind-thread.
3276 (CFLAGS-tst-unwind-thread.c): Define.
3277 * nptl/tst-unwind-thread.c: New file.
3278 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3279 as undefined.
3280
86140c62
JM
32812019-02-13 Joseph Myers <joseph@codesourcery.com>
3282
10756268
JM
3283 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3284 comment wording.
3285 * nis/nis_call.c (__do_niscall3): Likewise.
3286
05383720
JM
3287 * catgets/gencat.c (normalize_line): Use braces around empty
3288 'else' body.
3289 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3290 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3291 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3292 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3293 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3294 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3295 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3296 definition.
3297
86140c62
JM
3298 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3299 execlp returns.
3300
16f87cfd
WD
33012019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3302
3303 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3304 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3305 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3306 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3307 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3308 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3309 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3310 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3311 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3312 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3313 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3314 * benchtests/bench-bcopy.c: Delete file.
3315 * benchtests/bench-bzero.c: Likewise.
3316 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3317 (simple_memccpy): Remove.
3318 (generic_memccpy): Add function.
3319 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3320 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3321 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3322 (generic_mempcpy): Add new function.
3323 * benchtests/bench-memset.c (simple_bzero): Remove.
3324 (builtin_bzero): Remove.
3325 (builtin_memset): Remove.
3326 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3327 (generic_rawmemchr): Add new function.
3328
0c6d82e9
FW
33292019-02-12 Florian Weimer <fweimer@redhat.com>
3330
3331 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3332
b3fbfe81
AZ
33332019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3334
3335 [BZ #24122]
3336 * elf/Makefile (tests): Add tst-audit13.
3337 (modules-names): Add tst-audit13mod1.
3338 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3339 rule.
3340 * elf/tst-audit13.c: New file.
3341 * elf/tst-audit13mod1.c: Likewise.
3342
3b856d09
FW
33432019-02-12 Florian Weimer <fweimer@redhat.com>
3344
3345 [BZ #24122]
3346 * elf/rtld.c (unload_audit_module): New function.
3347 (report_audit_module_load_error): Likewise.
3348 (load_audit_module): Likewise. Extracted from dl_main. Call
3349 _dl_close if the laversion symbol cannot be found. Use early
3350 returns for error handling. Add malloc error check. Check for a
3351 zero return value from la_version. Remove spurious comment about
3352 static TLS initialization. Remove useless casts.
3353 (notify_audit_modules_of_loaded_object): New function. Extracted
3354 from dl_main.
3355 (load_audit_module): Likewise.
3356 (dl_main): Call load_audit_modules.
3357
32db86d5
JM
33582019-02-12 Joseph Myers <joseph@codesourcery.com>
3359
3360 * elf/dl-exception.c (_dl_exception_create_format): Add
3361 fall-through comments.
3362 * elf/ldconfig.c (parse_conf_include): Likewise.
3363 * elf/rtld.c (print_statistics): Likewise.
3364 * locale/programs/charmap.c (parse_charmap): Likewise.
3365 * misc/mntent_r.c (__getmntent_r): Likewise.
3366 * posix/wordexp.c (parse_arith): Likewise.
3367 (parse_backtick): Likewise.
3368 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3369 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3370 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3371
a51bc4fe
PC
33722019-02-11 Paul A. Clarke <pc@us.ibm.com>
3373
3374 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3375 Use float instead of double.
3376
fb25b135
TS
33772019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3378
3379 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3380
32ea7299
JM
33812019-02-08 Joseph Myers <joseph@codesourcery.com>
3382
3383 * sysdeps/powerpc/bits/mathinline.h: Remove.
3384
eef4d4f8
FW
33852019-02-08 Florian Weimer <fweimer@redhat.com>
3386
3387 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3388 * math/bits/math-finite.h: Move to ...
3389 * bits/math-finite.h: ... here.
3390
fdfbd47d
FW
33912019-02-08 Florian Weimer <fweimer@redhat.com>
3392
3393 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3394 * bits/unistd_ext.h: here.
3395
11eb21c4
PF
33962019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3397
3398 [BZ #21915]
3399 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3400 * nss/tst-nss-files-hosts-long.c: New file.
3401 * nss/tst-nss-files-hosts-long.root: New directory.
3402 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3403 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3404
e47d82c9
FW
34052019-02-08 Florian Weimer <fweimer@redhat.com>
3406
3407 * include/bits/unistd_ext.h: Remove file.
3408 * posix/bits/unistd_ext.h: Move to ...
3409 * sysdeps/generic/bits/unistd_ext.h: ... here.
3410
8f89ab21
FW
34112019-02-08 Florian Weimer <fweimer@redhat.com>
3412
3413 * include/bits/unistd_ext.h: New file.
3414
144a794e
TS
34152019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3416
3417 * time/tst-strftime2.c: Use array_length macros instead of magic
3418 numbers.
3419
669ff911
FW
34202019-02-08 Florian Weimer <fweimer@redhat.com>
3421
3422 [BZ #24161]
3423 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3424 argument.
3425 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3426 locking if the new do_locking argument is true.
3427 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3428 __run_fork_handlers.
3429
d0bd87d4 34302019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
3431
3432 [BZ #6399]
3433 Linux: Add gettid system call wrapper.
3434 * posix/Makefile (headers): Add bits/unistd_ext.h.
3435 * posix/bits/unistd_ext.h: New file.
3436 * posix/unistd.h: Include it.
3437 * manual/process.texi (Process Identification): Document gettid.
3438 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3439 tst-gettid, tst-gettid-kill.
3440 (tst-gettid): Link with $(shared-thread-library).
3441 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3442 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3443 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3444 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3445 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3446 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3447 Add gettid.
3448 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3449 Likewise.
3450 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3451 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3452 Likewise.
3453 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3454 Likewise.
3455 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3456 Likewise.
3457 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3458 Likewise.
3459 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3460 Likewise.
3461 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3462 Likewise.
3463 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3464 Likewise.
3465 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3466 (GLIBC_2.30): Likewise.
3467 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3468 (GLIBC_2.30): Likewise.
3469 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3470 (GLIBC_2.30): Likewise.
3471 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3472 (GLIBC_2.30): Likewise.
3473 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3474 Likewise.
3475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3476 (GLIBC_2.30): Likewise.
3477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3478 (GLIBC_2.30): Likewise.
3479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3480 (GLIBC_2.30): Likewise.
3481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3482 (GLIBC_2.30): Likewise.
3483 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3484 Likewise.
3485 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3486 Likewise.
3487 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3488 Likewise.
3489 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3490 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3491 Likewise.
3492 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3493 Likewise.
3494 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3495 Likewise.
3496 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3497 Likewise.
3498 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3499
225d9445 35002019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
3501
3502 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3503 compatibility symbols.
3504
823624bd
SL
35052019-02-07 Stefan Liebler <stli@linux.ibm.com>
3506
3507 [BZ #24180]
3508 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3509 Add compiler barriers and comments.
3510
8311c83f
FW
35112019-02-07 Florian Weimer <fweimer@redhat.com>
3512
3513 * include/array_length.h (array_length): Do not use a statement
3514 expression and _Static_assert, so that array_length can be used at
3515 file scope and as a constant expression.
3516
94b63e66
FW
35172019-02-07 Florian Weimer <fweimer@redhat.com>
3518
3519 * support/xdlfcn.h (xdlmopen): Declare.
3520 * support/xdlmopen.c: New file.
3521 * support/Makefile (libsupport-routines): Add xdlmopen.
3522
c2d8f0b7
JM
35232019-02-06 Joseph Myers <joseph@codesourcery.com>
3524
3525 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3526 before return type, without separate inline.
3527 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3528 * elf/dl-tunables.h (tunable_is_name): Likewise.
3529 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3530 (do_set_top_pad): Likewise.
3531 (do_set_mmap_threshold): Likewise.
3532 (do_set_mmaps_max): Likewise.
3533 (do_set_mallopt_check): Likewise.
3534 (do_set_perturb_byte): Likewise.
3535 (do_set_arena_test): Likewise.
3536 (do_set_arena_max): Likewise.
3537 (do_set_tcache_max): Likewise.
3538 (do_set_tcache_count): Likewise.
3539 (do_set_tcache_unsorted_limit): Likewise.
3540 * nis/nis_subr.c (count_dots): Likewise.
3541 * nptl/allocatestack.c (advise_stack_range): Likewise.
3542 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3543 (do_sin): Likewise.
3544 (reduce_sincos): Likewise.
3545 (do_sincos): Likewise.
3546 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3547 (do_set_elision_enable): Likewise.
3548 (TUNABLE_CALLBACK_FNDECL): Likewise.
3549
3b935595
FW
35502019-02-06 Florian Weimer <fweimer@redhat.com>
3551
3552 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3553 (xdlsym): Use dlerror to detect a NULL symbol.
3554
b4333340
FW
35552019-02-06 Florian Weimer <fweimer@redhat.com>
3556
3557 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3558 <stap-probe.h>.
3559 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3560
b6d8a999
SL
35612019-02-06 Stefan Liebler <stli@linux.ibm.com>
3562
3563 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3564
94eeeec0
SL
35652019-02-06 Stefan Liebler <stli@linux.ibm.com>
3566
3567 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3568 __wmemcmp and weak alias to wmemcmp.
3569
bc79db3f
SL
35702019-02-06 Stefan Liebler <stli@linux.ibm.com>
3571
3572 [BZ #23403]
3573 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3574 TLS_TCB_AT_TP tls variant.
3575 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3576 Add alignment checks.
3577 * support/Makefile (libsupport-routines): Add xposix_memalign and
3578 xpthread_setstack.
3579 * support/support.h: Add xposix_memalign.
3580 * support/xthread.h: Add xpthread_attr_setstack.
3581 * support/xposix_memalign.c: New File.
3582 * support/xpthread_attr_setstack.c: Likewise.
3583
f1ac7455
FW
35842019-02-05 Florian Weimer <fweimer@redhat.com>
3585
3586 [BZ #24164]
3587 arm: Use "nr" constraint for Systemtap probes, to avoid the
3588 compiler using memory operands for constants, due to the "o"
3589 alternative in the default "nor" constraint.
3590 * include/stap-probe.h [USE_STAP_PROBE]: Include
3591 <stap-probe-machine.h>
3592 * sysdeps/generic/stap-probe-machine.h: New file.
3593 * sysdeps/arm/stap-probe-machine.h: Likewise.
3594
7a0dcfc6
JM
35952019-02-04 Joseph Myers <joseph@codesourcery.com>
3596
77dc0d86
JM
3597 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3598 with 0, not tcache->entries[tc_idx].
3599
7a0dcfc6
JM
3600 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3601 once.
3602
65f7767a
AS
36032019-02-04 Andreas Schwab <schwab@suse.de>
3604
3605 [BZ #16976]
3606 [BZ #17396]
3607 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3608 looking up collating elements match against (wide) character
3609 sequence instead of name. Correct alignment adjustment.
3610 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3611 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3612 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3613 (LOCALES): Add cs_CZ.ISO-8859-2.
3614 * posix/tst-fnmatch4.c: New file.
3615 * posix/tst-fnmatch5.c: New file.
3616 * include/wchar.h (__wmemcmp): Declare.
3617 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3618 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3619 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3620 * sysdeps/s390/wmemcmp.c: Likewise.
3621
3f635fb4
L
36222019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3623
3624 [BZ #24155]
3625 CVE-2019-7309
3626 * NEWS: Updated for CVE-2019-7309.
3627 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3628 upper 32 bits of RDX register for x32. Use unsigned Jcc
3629 instructions, instead of signed.
3630 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3631 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3632
2ab5741b
FW
36332019-02-04 Florian Weimer <fweimer@redhat.com>
3634
3635 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3636 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3637 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3638 Likewise.
3639 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3640 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3641 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3642 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3643 Likewise.
3644 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3645 Likewise.
3646 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3647 Likewise.
3648 (posix_spawn_file_actions_addopen): Likewise.
3649 (posix_spawn_file_actions_addclose): Likewise.
3650 (posix_spawn_file_actions_adddup2): Likewise.
3651 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3652 qualifiers.
3653 (posix_spawn_file_actions_addfchdir_np): Likewise.
3654
8692ebdb
DN
36552019-02-04 David Newall <glibc@davidnewall.com>
3656
3657 elf: Implement --preload option for the dynamic linker.
3658 * elf/rtld.c (preloadarg): New variable.
3659 (handle_preload_list): Pass through “where” argument to
3660 do_preload.
3661 (dl_main): Handle "--preload" and add second call to
3662 handle_preload_list.
3663 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3664 (tst-rtld-preload-OBJS): Set variable.
3665 (tst-rtld-preload.out): New target.
3666 * elf/tst-rtld-preload.sh: New file.
3667
5e10136b
MM
36682019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3669
3670 * Makefile (testrun.sh): Exit in case of incorrect argument.
3671
221baae0
FW
36722019-02-04 Florian Weimer <fweimer@redhat.com>
3673
3674 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3675 alignment gaps.
3676
b8c72381
FW
36772019-02-03 Florian Weimer <fweimer@redhat.com>
3678
3679 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3680 implicit overflow checks.
3681
11f382ee
AJ
36822019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3683
3684 * stdlib/isomac.c: Include <unistd.h>.
3685
77c7d55e
FW
36862019-02-03 Florian Weimer <fweimer@redhat.com>
3687
3688 * include/time.h (__tzfile_default): Use int, not long int, for
3689 the GMT offsets.
3690 * time/tzfile.c (struct ttinfo): Change type of the offset member
3691 to int.
3692 (__tzfile_read): Remove useless cast.
3693 (__tzfile_default): Adjust prototype.
3694 * time/tzset.c (tz_rule): Change type of the offset member to int.
3695 (parse_offset): Change the type of the sign variable to int.
3696
ee9941f9
FW
36972019-02-03 Florian Weimer <fweimer@redhat.com>
3698
3699 [BZ #24153]
3700 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3701 * libio/getchar.c (getchar): Likewise.
3702 * libio/getchar_u.c (getchar_unlocked): Likewise.
3703 * libio/getwchar.c (getwchar): Likewise.
3704 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3705 * libio/iogets.c (_IO_gets): Likewise.
3706 * libio/vscanf.c (_IO_vscanf): Likewise.
3707 * libio/vwscanf.c (__vwscanf): Likewise.
3708 * libio/tst-bz24153.c: New file.
3709 * libio/Makefile (tests): Add it.
3710
c70824b9
FW
37112019-02-02 Florian Weimer <fweimer@redhat.com>
3712
3713 [BZ #14829]
3714 * manual/resource.texi (Basic Scheduling Functions): Add
3715 portability note. Change process to task throughout the section.
3716 Remove incorrect comment about sched_yield as it affects
3717 tasks/threads, not entire processes.
3718 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3719 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3720
4dcbbc3b
JM
37212019-02-01 Joseph Myers <joseph@codesourcery.com>
3722
3723 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3724 * configure: Regenerated.
3725 * manual/install.texi (Tools for Compilation): Update minimum GCC
3726 version.
3727 * INSTALL: Regenerated.
3728
6175507c
FW
37292019-02-01 Florian Weimer <fweimer@redhat.com>
3730
3731 * support/support_test_compare_string.c
3732 (support_test_compare_string): Use "string" in error message.
3733 * support/tst-test_compare_string.c (do_test): Adjust.
3734
baef1943
FW
37352019-02-01 Florian Weimer <fweimer@redhat.com>
3736
3737 * support/support_format_address_family.c
3738 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3739
395599f0
FW
37402019-02-01 Florian Weimer <fweimer@redhat.com>
3741
3742 * manual/socket.texi (Internet Address Formats): Clarify the byte
3743 order of struct sockaddr_in, struct sockaddr_in6. Document
3744 sin6_flowinfo and sin6_scope_id.
3745
b06f4c00
WD
37462019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3747
3748 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3749 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3750 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3751 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3752 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3753 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3754
83d1cc42
FX
37552019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3756
3757 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3758 [!MEMCHR](MEMCHR): Set to __memchr.
3759 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3760 Add memchr_generic and memchr_nosimd.
3761 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3762 (__libc_ifunc_impl_list): Add memchr ifuncs.
3763 * sysdeps/aarch64/multiarch/memchr.c: New file.
3764 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3765 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3766
c7d3890f
FX
37672019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3768
3769 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3770 Add memset_emag.
3771 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3772 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3773 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3774 Add IS_EMAG check for ifunc dispatch.
3775 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3776 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3777
07c3d1ec
FX
37782019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3779
3780 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3781 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3782 Add emag.
3783 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3784 New macro.
3785
114f792e
SL
37862019-02-01 Stefan Liebler <stli@linux.ibm.com>
3787
3788 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3789
d5627550
VG
37902019-01-31 Vineet Gupta <vgupta@synopsys.com>
3791
3792 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3793 syscall-template file.
3794
5fc9ed4c
CD
37952019-01-31 Carlos O'Donell <carlos@redhat.com>
3796 Torvald Riegel <triegel@redhat.com>
3797 Rik Prohaska <prohaska7@gmail.com>
3798
3799 [BZ# 23844]
3800 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3801 tst-rwlock-trywrlock-stall.
3802 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3803 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3804 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3805 Set __wrphase_fute to 1 only if we started the write phase.
3806 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3807 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3808 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3809 * support/xpthread_rwlock_destroy.c: New file.
3810 * support/xthread.h: Declare xpthread_rwlock_destroy.
3811
932329a5
JM
38122019-02-01 Joseph Myers <joseph@codesourcery.com>
3813
3814 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3815 version to 4.0.2.
3816
5f10701f
PP
38172019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3818
3819 [BZ #24051]
3820 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3821 * libio/fileops.c (_IO_new_file_underflow): Likewise
3822 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3823 * libio/putchar.c (putchar): Likewise.
3824 * libio/putchar_u.c (putchar_unlocked): Likewise.
3825 * libio/putwchar.c (putchar): Likewise.
3826 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3827 * libio/tst-bz24051.c: New test.
3828 * libio/Makefile (tests): Add tst-bz24051
3829
583dd860
PE
38302019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3831
b626c5aa 3832 CVE-2019-9169
583dd860
PE
3833 regex: fix read overrun [BZ #24114]
3834 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3835 https://debbugs.gnu.org/34140
3836 * posix/regexec.c (proceed_next_node):
3837 Do not read past end of input buffer.
3838
2bac7daa
FW
38392019-01-31 Florian Weimer <fweimer@redhat.com>
3840
3841 [BZ #24059]
3842 * nss/nss_files/files-alias.c (get_next_alias): Handle
3843 continuation line without newline at the end.
3844 * nss/tst-nss-files-alias-truncated.c: New file.
3845 * nss/Makefile [$(build-shared)] (tests): Add
3846 tst-nss-files-alias-truncated.
3847 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3848 * support/namespace.h (struct support_chroot_configuration): Add
3849 aliases member.
3850 (struct support_chroot): Add path_aliases member.
3851 * support/support_chroot.c (support_chroot_create): Handle
3852 aliases.
3853 (support_chroot_free): Free path_aliases.
3854
330c9d0d
SP
38552019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3856
de44ab67
SP
3857 * version.h (RELEASE): Set to "development".
3858 (VERSION): Set to "2.29.9000".
3859 * NEWS: Add section for 2.30.
3860
56c86f5d
SP
3861 * version.h (RELEASE): Set to "stable".
3862 (VERSION): Set to "2.29".
3863 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3864
330c9d0d
SP
3865 * NEWS: Add the list of bugs fixed in 2.29.
3866 * manual/contrib.texi: Update contributors list with some more
3867 names.
3868 * manual/install.texi: Update latest versions of packages
3869 tested.
3870 * INSTALL: Regenerated.
3871
e1e47c91
SP
38722019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3873
3874 * po/be.po: Update translations.
3875 * po/bg.po: Likewise.
3876 * po/ca.po: Likewise.
3877 * po/cs.po: Likewise.
3878 * po/da.po: Likewise.
3879 * po/de.po: Likewise.
3880 * po/el.po: Likewise.
3881 * po/eo.po: Likewise.
3882 * po/es.po: Likewise.
3883 * po/fi.po: Likewise.
3884 * po/fr.po: Likewise.
3885 * po/gl.po: Likewise.
3886 * po/hr.po: Likewise.
3887 * po/hu.po: Likewise.
3888 * po/ia.po: Likewise.
3889 * po/id.po: Likewise.
3890 * po/it.po: Likewise.
3891 * po/ja.po: Likewise.
3892 * po/ko.po: Likewise.
3893 * po/lt.po: Likewise.
3894 * po/nb.po: Likewise.
3895 * po/nl.po: Likewise.
3896 * po/pl.po: Likewise.
3897 * po/pt_BR.po: Likewise.
3898 * po/ru.po: Likewise.
3899 * po/rw.po: Likewise.
3900 * po/sk.po: Likewise.
3901 * po/sl.po: Likewise.
3902 * po/sv.po: Likewise.
3903 * po/tr.po: Likewise.
3904 * po/uk.po: Likewise.
3905 * po/vi.po: Likewise.
3906 * po/zh_CN.po: Likewise.
3907 * po/zh_TW.po: Likewise.
3908
8d016826
UB
39092019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3910
3911 [BZ #24130]
3912 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3913 of $f3 register on $y_is_neg path.
3914
a0bb5abd
ST
39152019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3916
b96e22d0 3917 [BZ #24110]
a0bb5abd
ST
3918 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3919 sigaltstack.ss_flags.
3920
b22eed37
TS
39212019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3922
3923 [BZ #23758]
3924 * manual/time.texi (strftime): Document "%Ey".
3925 * time/strftime_l.c (__strftime_internal): Set the default width
3926 padding with zero of "%Ey" to 2.
3927
32f600a2
TS
3928 [BZ #24096]
3929 * manual/time.texi (strftime): Document "%EC" and "%EY".
3930 * time/Makefile (tests): Add tst-strftime2.
3931 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3932 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3933 override padding for "%Ey".
3934 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3935 "%Ey" in the subformat as if decorated with that flag.
3936 * time/tst-strftime2.c: New file.
3937
8e889c5d
AZ
39382019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3939
3367acdb
AZ
3940 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3941 are not defined.
3942
8e889c5d
AZ
3943 [BZ #24122]
3944 * elf/Makefile (tests): Add tst-audit13.
3945 (modules-names): Add tst-audit13mod1.
3946 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3947 rule.
3948 * elf/rtld.c (dl_main): Handle invalid audit module version.
3949 * elf/tst-audit13.c: New file.
3950 * elf/tst-audit13mod1.c: Likewise.
3951
a95dc01c
ST
39522019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3953
3954 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3955 returned by __hurd_at_flags.
ee4d7902
ST
3956 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3957 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3958 directly instead of __hurd_file_name_lookup.
a95dc01c 3959
712f1167
JM
39602019-01-21 Joseph Myers <joseph@codesourcery.com>
3961
3962 * scripts/build-many-glibcs.py (Context.checkout): Default
3963 binutils version to 2.32 branch.
3964
108bc404
FW
39652019-01-21 Florian Weimer <fweimer@redhat.com>
3966
3967 [BZ #20018]
3968 CVE-2016-10739
3969 resolv: Reject trailing characters in host names
3970 * include/arpa/inet.h (__inet_aton_exact): Declare.
3971 (inet_aton): Remove hidden prototype. No longer used internally.
3972 * nscd/gai.c (__inet_aton): Do not define.
3973 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3974 * nss/digits_dots.c (__inet_aton): Likewise.
3975 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3976 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3977 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3978 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3979 (tst-resolv-trailing): Likewise.
3980 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3981 libc.
3982 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3983 Make static. Add endp parameter.
3984 (__inet_aton_exact): New function.
3985 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3986 (__inet_addr): Call inet_aton_end.
3987 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3988 not just IPv6. Call __inet_aton_exact.
3989 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3990 (tests): Make const. Add additional test cases with trailing
3991 characters.
3992 (do_test): Use array_length.
3993 * resolv/tst-inet_aton_exact.c: New file.
3994 * resolv/tst-resolv-trailing.c: Likewise.
3995 * resolv/tst-resolv-nondecimal.c: Likewise.
3996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3997
5165de69
L
39982019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3999
4000 [BZ# 24097]
4001 CVE-2019-6488
4002 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4003 Clear the upper 32 bits of RSI register.
4004 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4005 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4006 and tst-size_t-wcsnlen.
4007 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4008 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4009
c7c54f65
L
40102019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4011
4012 [BZ# 24097]
4013 CVE-2019-6488
4014 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4015 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4016 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4017 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4018 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4019
ee915088
L
40202019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4021
4022 [BZ# 24097]
4023 CVE-2019-6488
4024 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4025 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4026 * sysdeps/x86_64/strcmp.S: Likewise.
4027 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4028 tst-size_t-strncmp and tst-size_t-wcsncmp.
4029 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4030 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4031 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4032
82d0b4a4
L
40332019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4034
4035 [BZ# 24097]
4036 CVE-2019-6488
4037 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4038 RDX_LP for length. Clear the upper 32 bits of RDX register.
4039 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4040 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4041 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4042 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4043
ecd8b842
L
40442019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4045
4046 [BZ# 24097]
4047 CVE-2019-6488
4048 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4049 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4050 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4051 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4052
231c5676
L
40532019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4054
4055 [BZ# 24097]
4056 CVE-2019-6488
4057 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4058 length. Clear the upper 32 bits of RDX register.
4059 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4060 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4061 Likewise.
4062 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4063 Likewise.
4064 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4065 tst-size_t-wmemchr.
4066 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4067
b304fc20
L
40682019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4069
4070 [BZ# 24097]
4071 CVE-2019-6488
4072 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4073 length. Clear the upper 32 bits of RDX register.
4074 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4075 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4076 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4077 tst-size_t-wmemcmp.
4078 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4079 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4080
97700a34
L
40812019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4082
4083 [BZ# 24097]
4084 CVE-2019-6488
4085 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4086 upper 32 bits of RDX register.
4087 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4088 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4089 tst-size_t-wmemchr.
4090 * sysdeps/x86_64/x32/test-size_t.h: New file.
4091 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4092 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4093
6ca53a24
FW
40942019-01-18 Florian Weimer <fweimer@redhat.com>
4095
4096 [BZ #24112]
4097 resolv: Do not send queries for non-host-names in nss_dns.
4098 * resolv/nss_dns/dns-host.c (check_name): New function.
4099 (_nss_dns_gethostbyname2_r): Use it.
4100 (_nss_dns_gethostbyname_r): Likewise.
4101 (_nss_dns_gethostbyname4_r): Likewise.
4102
5e30b8ef
FW
41032019-01-21 Florian Weimer <fweimer@redhat.com>
4104
4105 * resolv/inet_addr.c: Reformat to GNU style.
4106 (__inet_addr, __inet_aton): Update comment.
4107
71effcea
FW
41082019-01-18 Florian Weimer <fweimer@redhat.com>
4109
4110 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4111 ("malloc: Use current (C11-style) atomics for fastbin access").
4112 This commit introduces a substantial performance regression on
4113 POWER and Aarch64.
4114 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4115 (REMOVE_FB): Define.
4116 (_int_malloc): Use it and reindent.
4117 (_int_free): Use CAS loop with
4118 catomic_compare_and_exchange_val_rel.
4119 (malloc_consolidate): Use atomic_exchange_acq.
4120
4121
562f4362
L
41222019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4123
4124 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4125 -Wl,-z,now.
4126 (LDFLAGS-tst-minsigstksz-2): Likewise.
4127 (LDFLAGS-tst-minsigstksz-3): Likewise.
4128 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4129 (LDFLAGS-tst-minsigstksz-4): Likewise.
4130
80dfa298
TS
41312019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4132
4133 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4134 than "alternate".
4135
008b598e
PC
41362019-01-16 Paul A. Clarke <pc@us.ibm.com>
4137
4138 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4139
fbbc9a4e
ZW
41402019-01-16 Zack Weinberg <zackw@panix.com>
4141
6b5c8607
TS
4142 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4143 (xget_sigstack_location): New test support functions.
4144 * support/xsigstack.c: New file, implementing them.
4145 * support/tst-xsigstack.c: New test for them.
4146 * support/Makefile: Update.
fbbc9a4e 4147
6b5c8607
TS
4148 * signal/tst-minsigstksz-1.c
4149 * signal/tst-minsigstksz-2.c
4150 * signal/tst-minsigstksz-3.c
4151 * signal/tst-minsigstksz-3a.c
4152 * signal/tst-minsigstksz-4.c: New tests.
4153 * signal/Makefile: Run them.
fbbc9a4e 4154
5f1135e4
SP
41552019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4156
4157 * po/libc.pot: Regenerate.
4158
ecdacd34
TMQMF
41592019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4160
4161 * math/libm-test-fma.inc (fma_test_data): Set
4162 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4163
56054664
RA
41642019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4165
4166 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4167 (do_test): Changed __vector __int128_t to __vector unsigned int.
4168
1a153e47
LS
41692019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4170
4171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4172 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4173 stpcpy-avx2 and stpncpy-avx2.
4174 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4175 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4176 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4177 and __stpncpy_avx2.
4178 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4179 ifunc-strcpy.h}: rename header for a more generic name.
4180 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4181 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4182 AVX unaligned load is fast and vzeroupper is preferred.
4183 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4184 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4185 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4186 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4187 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4188 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4189
a1b02ae7
DL
41902019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4191
4192 * argp/argp-help.c: Fix typo in comment.
4193 * misc/sys/cdefs.h: Likewise.
4194 * posix/regexec.c (sift_states_iter_mb): Likewise.
4195 * socket/sockatmark.c: Likewise.
4196 * socket/sys/socket.h: Likewise.
4197 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4198 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4199 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4200 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4201 * sysdeps/unix/sockatmark.c: Likewise.
4202 * time/strptime_l.c: Likewise.
4203
5cbbf01e
TS
42042019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4205
4206 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4207 missing space after the cast of "_NL_CURRENT".
4208
0bc9bdf1
RA
42092019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4210
4211 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4212 ifdef to fix read of VSCR.
4213 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4214 tst-ucontext-ppc64-vscr.c to test list.
4215 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4216
5494af04
AH
42172019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4218
4219 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4220 fall-through.
4221
e17f63ff
JW
42222019-01-09 Jim Wilson <jimw@sifive.com>
4223
4224 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4225
02f440c1
WD
42262019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4227
4228 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4229 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4230 __memcpy_falkor for ares.
4231 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4232 Add new define.
4233 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4234 Add ares cpu.
4235
69da3c9e
L
42362019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4237
4238 [BZ #24066]
4239 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4240 4_FP_W_TYPEs are used for IEEE quad precision.
4241 * soft-fp/extendhftf2.c: Likewise.
4242 * soft-fp/extendsftf2.c: Likewise.
4243 * soft-fp/extendxftf2.c: Likewise.
4244 * soft-fp/trunctfdf2.c: Likewise.
4245 * soft-fp/trunctfhf2.c: Likewise.
4246 * soft-fp/trunctfsf2.c: Likewise.
4247 * soft-fp/trunctfxf2.c: Likewise.
4248 * sysdeps/alpha/ots_cvttx.c: Likewise.
4249 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4250 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4251 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4252 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4253 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4254 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4255 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4256 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4257 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4258 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4259 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4260 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4261 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4262 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4263 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4264 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4265 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4266
2ef42716
AJ
42672019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4268
4269 [BZ #24024]
4270 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4271 code with -fmath-errno.
4272 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4273 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4274 * string/test-strerror-errno.c: New file.
4275
7395f3a0
AJ
42762019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4277
4278 [BZ #24046]
4279 * localedata/locales/en_US (date_fmt): Add, set to
4280 "%a %d %b %Y %r %Z".
4281
010fe231
FW
42822019-01-07 Florian Weimer <fweimer@redhat.com>
4283
4284 [BZ #24063]
4285 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4286 instead of @var{errno}.
4287 (Parsing of Integers): Likewise.
4288 (Parsing of Floats): Likewise.
4289 * manual/filesys.texi (Working with Directory Trees): Likewise.
4290 (Temporary Files): Likewise.
4291 * manual/job.texi (Terminal Access Functions): Likewise.
4292 * manual/llio.texi (Synchronizing I/O): Likewise.
4293 * manual/math.texi (SVID Random): Likewise.
4294 * manual/message.texi (The catgets Functions): Likewise.
4295 (Translation with gettext): Likewise.
4296 (Locating gettext catalog): Likewise.
4297 (Charset conversion in gettext): Likewise.
4298 * manual/nss.texi (NSS Module Function Internals): Likewise.
4299 * manual/search.texi (Hash Search Function): Likewise.
4300 * manual/setjmp.texi (System V contexts): Likewise.
4301 * manual/time.texi (Sleeping): Likewise.
4302 * manual/users.texi (Lookup User): Likewise.
4303 (Lookup Group): Likewise.
4304
b79dc8d0
AZ
43052019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4306
4307 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4308 fix typo.
4309
890461fe 43102019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
4311
4312 [BZ #19444]
4313 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4314 __builtin_unreachable for default case in switch.
4315 (__ieee754_yn): Likewise.
4316 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4317 (__ieee754_ynl): Likewise.
4318 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4319 (__ieee754_ynl): Likewise.
4320 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4321 (__ieee754_ynl): Likewise.
4322
8b18d418
SN
43232019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4324
4325 * manual/maint.texi: Use @{ and @}.
4326
4392898d
FW
43272019-01-04 Florian Weimer <fweimer@redhat.com>
4328
4329 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4330 function.
4331 (do_in_chroot_1): Call it.
4332 (run_chroot_tests):
4333 Improve error reporting in case it is not possible to create a
4334 collision for the PTY name required by the test.
4335
17cc27d5
AZ
43362019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4337
ce7eb0e9
AZ
4338 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4339 lll_wait_tid with timeout.
4340 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4341 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4342 futex_reltimed_wait_cancelable for cancelabla mode.
4343 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4344 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4345 macros.
4346 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4347 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4348 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4349 SYSCALL_CANCEL_NCS): New macro.
4350 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4351 (lll_timedwait_tid): Remove macro.
4352 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4353 Likewise.
4354 (lll_timedwait_tid): Likewise.
4355 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4356 Likewise.
4357 (lll_timedwait_tid): Likewise.
4358 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4359 Likewise.
4360 (lll_timedwait_tid): Likewise.
4361 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4362 Use INTERNAL_SYSCALL_CANCEL.
4363 * sysdeps/unix/sysv/linux/futex-internal.h
4364 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4365 instead of __pthread_{enable,disable}_asynccancel.
4366 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4367 (lll_futex_wait_cancel): New macro.
4368
0b13e255
AZ
4369 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4370 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4371
85c828a4
AZ
4372 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4373 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4374
d0d7f85f
AZ
4375 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4376 in backtrace analysis.
4377 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4378 side-effects.
4379 (tf_send): Likewise.
4380
17cc27d5
AZ
4381 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4382 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4383 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4384 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4385 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4386 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4387 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4388 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4389 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4390 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4391 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4392 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4393 Likewise.
4394 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4395 tst-cancel-wrappers.sh.
4396 (generated): Remove tst-cancel-wrappers.out.
4397 (tst-cancel-wrappers.out): Remove rule.
4398 * nptl/tst-cancel-wrappers.sh: Remove file.
4399
7d7af8f1
SN
44002019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4401
4402 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4403 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4404 Update.
4405
805334b2
AZ
44062019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4407
4408 [BZ #23640]
4409 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4410 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4411 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4412 close-on-exec reset for adddup2 file action.
4413 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4414
03992356
ZW
44152019-01-03 Zack Weinberg <zackw@panix.com>
4416
4417 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4418 parameter. Only use deprecated scanf when __USE_GNU is defined
4419 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4420 than 201103L, whichever is relevant for the language being compiled.
4421
4422 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4423 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4424 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4425 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4426 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4427
4428 * libio/iovsscanf.c
4429 * libio/fwscanf.c
4430 * libio/iovswscanf.c
4431 * libio/swscanf.c
4432 * libio/vscanf.c
4433 * libio/vwscanf.c
4434 * libio/wscanf.c
4435 * stdio-common/fscanf.c
4436 * stdio-common/scanf.c
4437 * stdio-common/vfscanf.c
4438 * stdio-common/vfwscanf.c
4439 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4440 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4441 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4442 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4443 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4444 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4445 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4446 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4447 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4448 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4449 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4450 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4451 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4452 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4453 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4454
4455 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4456 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4457 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4458 not sscanf.
4459 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4460 with a preprocessor macro.
4461
4462 * stdio-common/bug21.c, stdio-common/scanf14.c:
4463 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4464 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4465 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4466 to xscanf, xfscanf, xsscanf.
4467
4468 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4469 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4470 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4471 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4472 xfscanf, xsscanf.
4473 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4474 override feature selection macros or provide definitions of u_char etc.
4475 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4476 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4477 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4478 with -std=gnu89.
4479
8083afa5
AZ
44802019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4481
6f343c1f
AZ
4482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4483 bits/termios-misc.h.
4484 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4485 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4486 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4487 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4488 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4489 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4490
51f4beb0
AZ
4491 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4492 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4493 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4494 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4495 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4496 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4497 termios-misc.h.
4498 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4499 (sysdep_headers): Add termios-misc.h.
4500
f69c5cb2
AZ
4501 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4502 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4503 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4504
3aa4a07e
AZ
4505 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4506 termios-tcflow.h.
4507 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4508 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4509 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4510 TCSAFLUSH): Move to termios-tcflow.h.
4511 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4512 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4513 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4514 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4515
22679ddf
AZ
4516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4517 termios-c_lflag.h.
4518 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4519 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4520 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4521 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4522 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4523 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4524 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4525 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4526 Likewise.
4527 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4528 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4529 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4530 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4531
72eb6ecc
AZ
4532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4533 termios-c_cflag.h.
4534 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4535 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4536 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4537 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4538 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4539 termios-c_cflag.h.
4540 * sysdeps/unix/sysv/linux/alpha/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
9c5d0d02
AZ
4545 [BZ #23783]
4546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4547 termios-baud.h.
4548 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4549 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4550 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4551 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4552 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4553 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4554 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4555 __MAX_BAUD): Move to termios-baud.h.
4556 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4557 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4558 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4559 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4560 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4561
7b832018
AZ
4562 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4563 termios-c_oflag.h.
4564 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4565 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4566 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4567 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4568 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4569 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4570 termios-c_oflag.h.
4571 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4572 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4573 FFR1): Likewise.
4574 [USE_MISC] (XTABS): Likewise.
4575 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4576 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4577 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4578 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4579
3127003e
AZ
4580 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4581 termios-c_iflag.h.
4582 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4583 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4584 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4585 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4586 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4587 IUTF8): Move to termios-c_iflag.h.
4588 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4589 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4590 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4591 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4592
48c1dd96
AZ
4593 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4594 termios-cc.h.
4595 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4596 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4597 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4598 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4599 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4600 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4601 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4602 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4603 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4604 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4605 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4606 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4607
e5a50db3
AZ
4608 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4609 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4610 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4611 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4613 termios-struct.h.
4614 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4615 termios-struct.h.
4616 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4617 Likewise.
4618 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4619 Likewise.
4620 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4621 Likewise.
4622 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4623 Likewise.
4624 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4625 _HAVE_C_OSPEED): Define.
4626 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4627 _HAVE_C_OSPEED): Likewise.
4628 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4629 _HAVE_C_OSPEED): Likewise.
4630 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4631 (cfsetospeed): Check for define value instead of existence.
4632 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4633 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4634 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4635 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4636 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4637
8083afa5
AZ
4638 [BZ #17783]
4639 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4640 Define.
4641 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4642 (TIOCSER_TEMT): Likewise.
4643 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4644 (TEOCSER_TEMT): Likewise.
4645
4d7d7dc6
P
46462019-01-02 PanderMusubi <pander@users.sourceforge.net>
4647
4648 [BZ #24011]
4649 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4650
8e291a29
JM
46512019-01-02 Joseph Myers <joseph@codesourcery.com>
4652
4653 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4654
55137f7d
ST
46552019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4656
4657 * sysdeps/htl/pt-barrierattr-setpshared.c
4658 (pthread_barrierattr_setpshared): Add stub warning.
4659 * sysdeps/htl/pt-condattr-setpshared.c
4660 (pthread_condattr_setpshared): Likewise.
4661 * sysdeps/htl/pt-mutexattr-setpshared.c
4662 (pthread_mutexattr_setpshared): Likewise.
4663 * sysdeps/htl/pt-rwlockattr-setpshared.c
4664 (pthread_rwlockattr_setpshared): Likewise.
4665 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4666 (pthread_mutexattr_setpshared): Likewise.
4667
2ce09e01
JM
46682019-01-02 Joseph Myers <joseph@codesourcery.com>
4669
acb55dcb
JM
4670 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4671 constants to match with Linux 4.20.
4672
2ce09e01
JM
4673 * sysdeps/mips/mips32/libm-test-ulps: Update.
4674 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4675
fe20bb1d
AJ
46762019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4677
4678 [BZ #24034]
4679 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4680 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4681 than __typeof (...) for the a_ptr variable.
4682
2d9837c1
GG
46832019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4684
4685 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4686 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4687 * libio/Makefile (tests): Add tst-sprintf-ub and
4688 tst-sprintf-chk-ub.
4689 (CFLAGS-tst-sprintf-ub.c): New variable.
4690 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4691 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4692 destination buffer and check for overflows in fortified mode.
4693 * libio/libioP.h (PRINTF_CHK): New macro.
4694 * libio/tst-sprintf-chk-ub.c: New file.
4695 * libio/tst-sprintf-ub.c: Likewise.
4696
d5c6df0b 46972019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
4698
4699 [BZ #24018]
4700 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4701 failure.
4702
66081e38
FW
47032019-01-02 Florian Weimer <fweimer@redhat.com>
4704
4705 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4706
04277e02
JM
47072019-01-01 Joseph Myers <joseph@codesourcery.com>
4708
6ef3d225
JM
4709 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4710 macro.
4711
e3d4e292
JM
4712 * sysdeps/unix/sysv/linux/netpacket/packet.h
4713 (PACKET_IGNORE_OUTGOING): New macro.
4714
f4507797
JM
4715 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4716 macro.
4717
47ad5e1a
JM
4718 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4719 version to 4.20.
4720 (riscv_flush_icache): New syscall.
4721
7628a1b0
JM
4722 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4723 trailing whitespace removed.
4724 * scripts/config.guess: Update to version 2019-01-01.
4725 * scripts/config.sub: Update to version 2019-01-01.
4726 * scripts/move-if-change: Update from gnulib.
4727
c9123888
JM
4728 * NEWS: Update copyright dates.
4729 * catgets/gencat.c (print_version): Likewise.
4730 * csu/version.c (banner): Likewise.
4731 * debug/catchsegv.sh: Likewise.
4732 * debug/pcprofiledump.c (print_version): Likewise.
4733 * debug/xtrace.sh (do_version): Likewise.
4734 * elf/ldconfig.c (print_version): Likewise.
4735 * elf/ldd.bash.in: Likewise.
4736 * elf/pldd.c (print_version): Likewise.
4737 * elf/sotruss.sh: Likewise.
4738 * elf/sprof.c (print_version): Likewise.
4739 * iconv/iconv_prog.c (print_version): Likewise.
4740 * iconv/iconvconfig.c (print_version): Likewise.
4741 * locale/programs/locale.c (print_version): Likewise.
4742 * locale/programs/localedef.c (print_version): Likewise.
4743 * login/programs/pt_chown.c (print_version): Likewise.
4744 * malloc/memusage.sh (do_version): Likewise.
4745 * malloc/memusagestat.c (print_version): Likewise.
4746 * malloc/mtrace.pl: Likewise.
4747 * manual/libc.texinfo: Likewise.
4748 * nptl/version.c (banner): Likewise.
4749 * nscd/nscd.c (print_version): Likewise.
4750 * nss/getent.c (print_version): Likewise.
4751 * nss/makedb.c (print_version): Likewise.
4752 * posix/getconf.c (main): Likewise.
4753 * scripts/test-installation.pl: Likewise.
4754 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4755
04277e02
JM
4756 * All files with FSF copyright notices: Update copyright dates
4757 using scripts/update-copyrights.
4758 * locale/programs/charmap-kw.h: Regenerated.
4759 * locale/programs/locfile-kw.h: Likewise.
4760
e740e5b1
JM
47612018-12-31 Joseph Myers <joseph@codesourcery.com>
4762
4763 * timezone/zdump.c: Update from tzcode 2018i.
4764 * timezone/zic.c: Likewise.
4765
9b7f98b3
PE
47662018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4767
4768 regex: improve Gnulib port to AIX
4769 From the glibc point of view, this removes duplicate macro
4770 definitions and is obviously safe.
4771 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4772 * posix/regex_internal.h:
4773 (__attribute__, __attribute_warn_unused_result__):
4774 Remove; already defined elsewhere.
4775
b50dd3bc
FW
47762018-12-31 Florian Weimer <fw@deneb.enyo.de>
4777
4778 [BZ #24027]
4779 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4780 copying operation. (ncopies had the wrong type, resulting in an
4781 integer wraparound and too few elements being copied.)
4782
0b9c8490
L
47832018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4784
4785 [BZ #24022]
4786 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4787 <asm/syscalls.h> exists with __has_include__ before including it.
4788
01047fa6
JM
47892018-12-31 Joseph Myers <joseph@codesourcery.com>
4790
4791 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4792 version to 4.20.
4793
6b5c8607 47942018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
4795
4796 * hurd/lookup-retry: Include <unistd.h>.
4797 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4798 Release it on return. Handle "pid" magical lookup retry.
4799
989182c4
RL
48002018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4801
4802 [BZ #10496]
4803 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4804 (t_fmt_ampm): Likewise.
4805 * localedata/locales/aa_ER (t_fmt): Likewise.
4806 (t_fmt_ampm): Likewise.
4807 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4808 (t_fmt_ampm): Likewise.
4809 * localedata/locales/aa_ET (t_fmt): Likewise.
4810 (t_fmt_ampm): Likewise.
4811 * localedata/locales/am_ET (t_fmt): Likewise.
4812 (t_fmt_ampm): Likewise.
4813 * localedata/locales/byn_ER (t_fmt): Likewise.
4814 (t_fmt_ampm): Likewise.
4815 * localedata/locales/om_ET (t_fmt): Likewise.
4816 (t_fmt_ampm): Likewise.
4817 * localedata/locales/sid_ET (t_fmt): Likewise.
4818 (t_fmt_ampm): Likewise.
4819 * localedata/locales/so_DJ (t_fmt): Likewise.
4820 (t_fmt_ampm): Likewise.
4821 * localedata/locales/so_ET (t_fmt): Likewise.
4822 (t_fmt_ampm): Likewise.
4823 * localedata/locales/so_SO (t_fmt): Likewise.
4824 (t_fmt_ampm): Likewise.
4825 * localedata/locales/ti_ER (t_fmt): Likewise.
4826 (t_fmt_ampm): Likewise.
4827 * localedata/locales/ti_ET (t_fmt): Likewise.
4828 (t_fmt_ampm): Likewise.
4829 * localedata/locales/tig_ER (t_fmt): Likewise.
4830 (t_fmt_ampm): Likewise.
4831 * localedata/locales/wal_ET (t_fmt): Likewise.
4832 (t_fmt_ampm): Likewise.
4833
4834 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4835 * localedata/locales/ar_IN (t_fmt): Likewise.
4836 * localedata/locales/bhb_IN (t_fmt): Likewise.
4837 * localedata/locales/bho_IN (t_fmt): Likewise.
4838 * localedata/locales/bi_VU (t_fmt): Likewise.
4839 * localedata/locales/bn_BD (t_fmt): Likewise.
4840 * localedata/locales/bn_IN (t_fmt): Likewise.
4841 * localedata/locales/brx_IN (t_fmt): Likewise.
4842 * localedata/locales/doi_IN (t_fmt): Likewise.
4843 * localedata/locales/en_HK (t_fmt): Likewise.
4844 (t_fmt_ampm): Likewise.
4845 * localedata/locales/en_IN (t_fmt): Likewise.
4846 * localedata/locales/en_PH (t_fmt): Likewise.
4847 * localedata/locales/gu_IN (t_fmt): Likewise.
4848 * localedata/locales/hi_IN (t_fmt): Likewise.
4849 * localedata/locales/hif_FJ (t_fmt): Likewise.
4850 * localedata/locales/hne_IN (t_fmt): Likewise.
4851 * localedata/locales/kn_IN (t_fmt): Likewise.
4852 * localedata/locales/kok_IN (t_fmt): Likewise.
4853 * localedata/locales/ks_IN (t_fmt): Likewise.
4854 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4855 * localedata/locales/mag_IN (t_fmt): Likewise.
4856 * localedata/locales/mai_IN (t_fmt): Likewise.
4857 * localedata/locales/mjw_IN (t_fmt): Likewise.
4858 * localedata/locales/ml_IN (t_fmt): Likewise.
4859 * localedata/locales/mni_IN (t_fmt): Likewise.
4860 * localedata/locales/mr_IN (t_fmt): Likewise.
4861 * localedata/locales/ms_MY (t_fmt): Likewise.
4862 * localedata/locales/pa_IN (t_fmt): Likewise.
4863 * localedata/locales/raj_IN (t_fmt): Likewise.
4864 * localedata/locales/sa_IN (t_fmt): Likewise.
4865 * localedata/locales/sat_IN (t_fmt): Likewise.
4866 * localedata/locales/sd_IN (t_fmt): Likewise.
4867 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4868 * localedata/locales/tcy_IN (t_fmt): Likewise.
4869 * localedata/locales/the_NP (t_fmt): Likewise.
4870 * localedata/locales/to_TO (t_fmt): Likewise.
4871 * localedata/locales/ur_IN (t_fmt): Likewise.
4872
4873 * localedata/locales/hif_FJ (d_t_fmt): Set to
4874 "%A %d %b %Y %I:%M:%S %p".
4875 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4876
4877 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4878 * localedata/locales/ar_BH (t_fmt): Likewise.
4879 * localedata/locales/ar_DZ (t_fmt): Likewise.
4880 * localedata/locales/ar_EG (t_fmt): Likewise.
4881 * localedata/locales/ar_IQ (t_fmt): Likewise.
4882 * localedata/locales/ar_JO (t_fmt): Likewise.
4883 * localedata/locales/ar_KW (t_fmt): Likewise.
4884 * localedata/locales/ar_LB (t_fmt): Likewise.
4885 * localedata/locales/ar_LY (t_fmt): Likewise.
4886 * localedata/locales/ar_OM (t_fmt): Likewise.
4887 * localedata/locales/ar_QA (t_fmt): Likewise.
4888 * localedata/locales/ar_SD (t_fmt): Likewise.
4889 * localedata/locales/ar_SS (t_fmt): Likewise.
4890 * localedata/locales/ar_SY (t_fmt): Likewise.
4891 * localedata/locales/ar_TN (t_fmt): Likewise.
4892 * localedata/locales/ar_YE (t_fmt): Likewise.
4893
4894 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4895 (t_fmt_ampm): Likewise.
4896 * localedata/locales/gez_ET (t_fmt): Likewise.
4897 (t_fmt_ampm): Likewise.
4898
4899 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4900 (t_fmt_ampm): Likewise.
4901 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4902
4903 * localedata/locales/zh_HK (t_fmt):
4904 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4905
4906 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4907 because this locale does not use the 12-hour clock.
4908 (t_fmt): Set to "%Z %H:%M:%S".
4909 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4910
4911 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4912 because this locale does not use the 12-hour clock.
4913 (t_fmt): Set to "%H:%M:%S %Z".
4914 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4915
4916 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4917 because this locale does not use the 12-hour clock.
4918 (t_fmt): Set to "%T".
4919 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4920 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4921
4922 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4923 because this locale does not use the 12-hour clock.
4924 (t_fmt): Set to "%H:%M:%S %Z".
4925 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4926
4927 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4928 because this locale does not use the 12-hour clock.
4929 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4930 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4931
27841a7d
RL
49322018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4933
4934 [BZ #10496]
4935 [BZ #23724]
4936 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4937 (t_fmt_ampm): Likewise.
4938 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4939 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4940 (d_fmt): Set to "%-d.%-m.%y".
4941
0253580a
AZ
49422018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4943
4944 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4945 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4946 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4947 Likewise.
4948 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4949 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4950 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4951 function.
4952 * support/blob_repeat.c (check_mul_overflow_size_t,
4953 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4954
09104e5b
AJ
49552018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4956
4957 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4958
c0feb731
PE
49592018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4960
4961 regex: simplify Gnulib port
4962 This simplifies the code, by removing stuff intended for porting
4963 to Gnulib but no longer needed there.
4964 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4965 uses of libc_hidden_def, weak_alias.
4966 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4967 _Restrict_ except for public-facing headers.
4968 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4969 Remove; already defined elsewhere.
4970 * posix/regex.c, posix/regex_internal.h:
4971 Use __GNUC_PREREQ instead of rolling our own.
4972 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4973
5289f1f5
WD
49742018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4975
4976 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 4977 (memchr_strlen): New function.
5289f1f5 4978
ba4b8fab
L
49792018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4980
4981 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4982 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4983 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4984
9412979a
L
49852018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4986
4987 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4988
8700a785
L
49892018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4990
4991 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4992 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4993 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4994 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4995 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4996 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4997 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4998
57b3ff8e
JM
49992018-12-21 Joseph Myers <joseph@codesourcery.com>
5000
5001 [BZ #24023]
5002 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5003 PLT reference in libc.so.
5004 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5005 _Q_lltoq and _Q_qtod PLT references in libc.so.
5006
90d3320d
WD
50072018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5008
5009 * benchtests/bench-memchr.c: Cleanup defines.
5010 * benchtests/bench-memcmp.c: Likewise.
5011 * benchtests/bench-memset.c: Likewise.
5012 * benchtests/bench-memset-large.c: Likewise.
5013 * benchtests/bench-memset-walk.c: Likewise.
5014 * benchtests/bench-stpcpy.c: Likewise.
5015 * benchtests/bench-stpncpy.c: Likewise.
5016 * benchtests/bench-strcat.c: Likewise.
5017 * benchtests/bench-strchr.c: Likewise.
5018 * benchtests/bench-strcmp.c: Likewise.
5019 * benchtests/bench-strcpy.c: Likewise.
5020 * benchtests/bench-strcspn.c: Likewise.
5021 * benchtests/bench-string.h: Likewise.
5022 * benchtests/bench-strlen.c: Likewise.
5023 * benchtests/bench-strncat.c: Likewise.
5024 * benchtests/bench-strncmp.c: Likewise.
5025 * benchtests/bench-strncpy.c: Likewise.
5026 * benchtests/bench-strnlen.c: Likewise.
5027 * benchtests/bench-strpbrk.c: Likewise.
5028 * benchtests/bench-strrchr.c: Likewise.
5029 * benchtests/bench-strspn.c: Likewise.
5030
192963be
JM
50312018-12-21 Joseph Myers <joseph@codesourcery.com>
5032
5d025ea6
JM
5033 * stdlib/longlong.h: Update from GCC.
5034
192963be
JM
5035 [BZ #23993]
5036 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5037 * configure: Regenerated.
5038 * manual/install.texi (Tools for Compilation): Update minimum GCC
5039 version.
5040 * INSTALL: Regenerated.
5041
6b5c8607 50422018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
5043
5044 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5045
6b5c8607 50462018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
5047
5048 * malloc/malloc.c (mremap_chunk): Additional checks.
5049
5f72b005
MH
50502018-12-21 Mao Han <han_mao@c-sky.com>
5051
5052 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5053 * scripts/build-many-glibcs.py: Add C-SKY targets.
5054 * sysdeps/csky/Implies: New file.
5055 * sysdeps/csky/Makefile: Likewise.
5056 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5057 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5058 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5059 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5060 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5061 * sysdeps/csky/abiv2/memmove.S: Likewise.
5062 * sysdeps/csky/abiv2/memset.S: Likewise.
5063 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5064 * sysdeps/csky/abiv2/start.S: Likewise.
5065 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5066 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5067 * sysdeps/csky/abiv2/strlen.S: Likewise.
5068 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5069 * sysdeps/csky/abort-instr.h: Likewise.
5070 * sysdeps/csky/atomic-machine.h: Likewise.
5071 * sysdeps/csky/bits/endian.h: Likewise.
5072 * sysdeps/csky/bits/fenv.h: Likewise.
5073 * sysdeps/csky/bits/link.h: Likewise.
5074 * sysdeps/csky/bits/setjmp.h: Likewise.
5075 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5076 * sysdeps/csky/bsd-setjmp.S: Likewise.
5077 * sysdeps/csky/configure: Likewise.
5078 * sysdeps/csky/configure.ac: Likewise.
5079 * sysdeps/csky/dl-machine.h: Likewise.
5080 * sysdeps/csky/dl-procinfo.c: Likewise.
5081 * sysdeps/csky/dl-procinfo.h: Likewise.
5082 * sysdeps/csky/dl-sysdep.h: Likewise.
5083 * sysdeps/csky/dl-tls.h: Likewise.
5084 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5085 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5086 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5087 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5088 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5089 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5090 * sysdeps/csky/fpu/fegetround.c: Likewise.
5091 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5092 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5093 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5094 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5095 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5096 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5097 * sysdeps/csky/fpu/fesetround.c: Likewise.
5098 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5099 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5100 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5101 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5102 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5103 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5104 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5105 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5106 * sysdeps/csky/fpu_control.h: Likewise.
5107 * sysdeps/csky/gccframe.h: Likewise.
5108 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5109 * sysdeps/csky/ldsodefs.h: Likewise.
5110 * sysdeps/csky/libc-tls.c: Likewise.
5111 * sysdeps/csky/linkmap.h: Likewise.
5112 * sysdeps/csky/machine-gmon.h: Likewise.
5113 * sysdeps/csky/memusage.h: Likewise.
5114 * sysdeps/csky/nofpu/Implies: Likewise.
5115 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5116 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5117 * sysdeps/csky/nptl/Makefile: Likewise.
5118 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5119 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5120 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5121 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5122 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5123 * sysdeps/csky/nptl/tls.h: Likewise.
5124 * sysdeps/csky/preconfigure: Likewise.
5125 * sysdeps/csky/sfp-machine.h: Likewise.
5126 * sysdeps/csky/sotruss-lib.c: Likewise.
5127 * sysdeps/csky/stackinfo.h: Likewise.
5128 * sysdeps/csky/sysdep.h: Likewise.
5129 * sysdeps/csky/tininess.h: Likewise.
5130 * sysdeps/csky/tst-audit.h: Likewise.
5131 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5132 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5133 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5134 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5135 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5136 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5137 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5138 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5139 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5140 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5141 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5142 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5143 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5144 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5145 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5146 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5147 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5148 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5149 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5150 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5151 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5152 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5153 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5154 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5155 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5156 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5157 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5158 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5159 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5160 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5161 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5162 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5163 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5164 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5165 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5166 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5167 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5168 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5169 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5170 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5171 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5172 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5173 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5174 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5175
6b5c8607 51762018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
5177
5178 * include/time.h (__difftime64): Add.
5179 * time/difftime.c (subtract): convert to 64-bit time.
5180 * time/difftime.c (__difftime64): Add.
5181 * time/difftime.c (__difftime): Wrap around __difftime64.
5182
ab416931
L
51832018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5184
5185 * manual/examples/add.c: Remove redundant "if not".
5186 * manual/examples/argp-ex1.c: Likewise.
5187 * manual/examples/argp-ex2.c: Likewise.
5188 * manual/examples/argp-ex3.c: Likewise.
5189 * manual/examples/argp-ex4.c: Likewise.
5190 * manual/examples/atexit.c: Likewise.
5191 * manual/examples/db.c: Likewise.
5192 * manual/examples/dir.c: Likewise.
5193 * manual/examples/dir2.c: Likewise.
5194 * manual/examples/execinfo.c: Likewise.
5195 * manual/examples/filecli.c: Likewise.
5196 * manual/examples/filesrv.c: Likewise.
5197 * manual/examples/fmtmsgexpl.c: Likewise.
5198 * manual/examples/genpass.c: Likewise.
5199 * manual/examples/inetcli.c: Likewise.
5200 * manual/examples/inetsrv.c: Likewise.
5201 * manual/examples/isockad.c: Likewise.
5202 * manual/examples/longopt.c: Likewise.
5203 * manual/examples/memopen.c: Likewise.
5204 * manual/examples/memstrm.c: Likewise.
5205 * manual/examples/mkdirent.c: Likewise.
5206 * manual/examples/mkfsock.c: Likewise.
5207 * manual/examples/mkisock.c: Likewise.
5208 * manual/examples/mygetpass.c: Likewise.
5209 * manual/examples/pipe.c: Likewise.
5210 * manual/examples/popen.c: Likewise.
5211 * manual/examples/rprintf.c: Likewise.
5212 * manual/examples/search.c: Likewise.
5213 * manual/examples/select.c: Likewise.
5214 * manual/examples/setjmp.c: Likewise.
5215 * manual/examples/sigh1.c: Likewise.
5216 * manual/examples/sigusr.c: Likewise.
5217 * manual/examples/stpcpy.c: Likewise.
5218 * manual/examples/strdupa.c: Likewise.
5219 * manual/examples/strftim.c: Likewise.
5220 * manual/examples/subopt.c: Likewise.
5221 * manual/examples/swapcontext.c: Likewise.
5222 * manual/examples/termios.c: Likewise.
5223 * manual/examples/testopt.c: Likewise.
5224 * manual/examples/testpass.c: Likewise.
5225 * manual/examples/timeval_subtract.c: Likewise.
5226
515f463f
JM
52272018-12-19 Joseph Myers <joseph@codesourcery.com>
5228
da75c1b1
JM
5229 * sysdeps/x86/fpu/math_private.h: New file.
5230 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5231
515f463f
JM
5232 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5233 definition.
5234 (cosh): Likewise.
5235 (tanh): Likewise.
5236
1616d034
TMQMF
52372018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5238
5239 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5240 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5241 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5242 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5243 fields.
5244 (_dl_show_auxv): Give a special treatment to
5245 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5246 and AT_L3_CACHEGEOMETRY.
5247 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5248 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5249 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5250 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5251
61595e3d
AS
52522018-12-19 Andreas Schwab <schwab@suse.de>
5253
5254 * nscd/connections.c (check_use): Don't abort on invalid len.
5255
bbb7dc84
ST
52562018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5257
5258 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5259 values in the 64bit value cases.
5260
6b5c8607 52612018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 5262
c4c2836a
AA
5263 * include/time.h
5264 (__ctime64_r): Add.
5265 * time/ctime_r.c
5266 (__ctime64_r): Add.
5267 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5268
7755e504
AA
5269 * include/time.h
5270 (__ctime64): Add.
5271 * time/gmtime.c
5272 (__ctime64): Add.
5273 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5274
a1d346ce
AA
5275 * include/time.h
5276 (__gmtime64_r): Add.
5277 * time/gmtime.c
5278 (__gmtime64_r): Add.
5279 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5280
131db8b0
AA
5281 * include/time.h
5282 (__gmtime64): Add.
5283 * time/gmtime.c
5284 (__gmtime64): Add.
5285 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5286
64c2277d
AA
5287 * include/time.h
5288 (__localtime64_r): Add.
5289 * time/localtime.c
5290 (__localtime64_r): Add.
5291 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5292
56b98bf1
AZ
52932018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5294
64dd7a16
AZ
5295 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5296 kernel_sigction definition.
5297
8b1d5da5
AZ
5298 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5299
f9eabb19
AZ
5300 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5301
56b98bf1
AZ
5302 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5303 __syscall_rt_sigaction.
5304 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5305 (kernel_sigaction): Use Linux generic defintion.
5306 (STUB): Define.
5307 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5308 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5309 (__syscall_rt_sigaction): Remove implementation.
5310 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5311 hidden.
5312 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5313 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5314 INTERNAL_SYSCALL): Remove definitions.
5315 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5316 action and signal set size.
5317 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5318 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5319
43a45c2d
AZ
53202018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5321 James Clarke <jrtc27@jrtc27.com>
5322
dfa6216f 5323 [BZ #23967]
43a45c2d
AZ
5324 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5325 Define if SA_RESTORER is defined.
5326 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5327 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5328 already defined.
5329 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5330 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5331 definitions.
5332 (HAS_SA_RESTORER): Define.
5333 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5334 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5335 (HAS_SA_RESTORER): Define.
5336 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5337 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5338 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5339 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5340 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5341
646ce7e0
JM
53422018-12-18 Joseph Myers <joseph@codesourcery.com>
5343
5344 * sysdeps/unix/sysv/linux/kernel-features.h
5345 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5346 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5347 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5348 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5349 (__ASSUME_ST_INO_64_BIT): Likewise.
5350 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5351 <kernel-features.h>.
5352 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5353 Remove conditional code.
5354 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5355 <kernel-features.h>.
5356 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5357 Remove conditional code.
5358 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5359 <kernel-features.h>.
5360 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5361 Remove conditional code.
5362 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5363 <kernel-features.h>.
5364 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5365 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5366
80190d2b
SL
53672018-12-18 Stefan Liebler <stli@linux.ibm.com>
5368
5369 * sysdeps/s390/multiarch/ifunc-resolve.h
5370 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5371 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5372 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5373 Delete macro definition.
5374 (s390_libc_ifunc_init): Rename to
5375 s390_libc_ifunc_expr_stfle_init.
5376 * sysdeps/s390/bzero: Use
5377 s390_libc_ifunc_expr_stfle_init instead of
5378 s390_libc_ifunc_init.
5379 * sysdeps/s390/memcmp.c: Likewise.
5380 * sysdeps/s390/memcpy.c: Likewise.
5381 * sysdeps/s390/mempcpy.c: Likewise.
5382 * sysdeps/s390/memset.c: Likewise.
5383
12f0dcb8
SL
53842018-12-18 Stefan Liebler <stli@linux.ibm.com>
5385
5386 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5387 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5388
25654a8c
SL
53892018-12-18 Stefan Liebler <stli@linux.ibm.com>
5390
5391 * sysdeps/s390/multiarch/Makefile
5392 (sysdep_routines): Remove wmemcmp variants.
5393 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5394 * sysdeps/s390/multiarch/ifunc-impl-list.c
5395 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5396 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5397 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5398 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5399 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5400 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5401 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5402 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5403
d2a7436c
SL
54042018-12-18 Stefan Liebler <stli@linux.ibm.com>
5405
5406 * sysdeps/s390/multiarch/Makefile
5407 (sysdep_routines): Remove wmemset variants.
5408 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5409 * sysdeps/s390/multiarch/ifunc-impl-list.c
5410 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5411 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5412 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5413 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5414 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5415 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5416 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5417 * sysdeps/s390/ifunc-wmemset.h: New file.
5418
c62534ae
SL
54192018-12-18 Stefan Liebler <stli@linux.ibm.com>
5420
5421 * sysdeps/s390/multiarch/Makefile
5422 (sysdep_routines): Remove wmemchr variants.
5423 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5424 * sysdeps/s390/multiarch/ifunc-impl-list.c
5425 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5426 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5427 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5428 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5429 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5430 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5431 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5432 * sysdeps/s390/ifunc-wmemchr.h: New file.
5433
79b44cf6
SL
54342018-12-18 Stefan Liebler <stli@linux.ibm.com>
5435
5436 * sysdeps/s390/multiarch/Makefile
5437 (sysdep_routines): Remove wcscspn variants.
5438 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5439 * sysdeps/s390/multiarch/ifunc-impl-list.c
5440 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5441 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5442 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5443 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5444 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5445 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5446 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5447 * sysdeps/s390/ifunc-wcscspn.h: New file.
5448
8e87c1f6
SL
54492018-12-18 Stefan Liebler <stli@linux.ibm.com>
5450
5451 * sysdeps/s390/multiarch/Makefile
5452 (sysdep_routines): Remove wcspbrk variants.
5453 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5454 * sysdeps/s390/multiarch/ifunc-impl-list.c
5455 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5456 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5457 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5458 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5459 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5460 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5461 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5462 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5463
8507e831
SL
54642018-12-18 Stefan Liebler <stli@linux.ibm.com>
5465
5466 * sysdeps/s390/multiarch/Makefile
5467 (sysdep_routines): Remove wcsspn variants.
5468 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5469 * sysdeps/s390/multiarch/ifunc-impl-list.c
5470 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5471 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5472 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5473 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5474 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5475 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5476 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5477 * sysdeps/s390/ifunc-wcsspn.h: New file.
5478
4753713a
SL
54792018-12-18 Stefan Liebler <stli@linux.ibm.com>
5480
5481 * sysdeps/s390/multiarch/Makefile
5482 (sysdep_routines): Remove wcsrchr variants.
5483 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5484 * sysdeps/s390/multiarch/ifunc-impl-list.c
5485 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5486 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5487 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5488 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5489 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5490 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5491 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5492 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5493
c09c1b6f
SL
54942018-12-18 Stefan Liebler <stli@linux.ibm.com>
5495
5496 * sysdeps/s390/multiarch/Makefile
5497 (sysdep_routines): Remove wcschrnul variants.
5498 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5499 * sysdeps/s390/multiarch/ifunc-impl-list.c
5500 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5501 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5502 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5503 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5504 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5505 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5506 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5507 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5508
cf3ccc31
SL
55092018-12-18 Stefan Liebler <stli@linux.ibm.com>
5510
5511 * sysdeps/s390/multiarch/Makefile
5512 (sysdep_routines): Remove wcschr variants.
5513 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5514 * sysdeps/s390/multiarch/ifunc-impl-list.c
5515 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5516 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5517 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5518 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5519 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5520 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5521 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5522 * sysdeps/s390/ifunc-wcschr.h: New file.
5523
e9873e1d
SL
55242018-12-18 Stefan Liebler <stli@linux.ibm.com>
5525
5526 * sysdeps/s390/multiarch/Makefile
5527 (sysdep_routines): Remove wcsncmp variants.
5528 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5529 * sysdeps/s390/multiarch/ifunc-impl-list.c
5530 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5531 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5532 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5533 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5534 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5535 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5536 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5537 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5538
3459e23d
SL
55392018-12-18 Stefan Liebler <stli@linux.ibm.com>
5540
5541 * sysdeps/s390/multiarch/Makefile
5542 (sysdep_routines): Remove wcscmp variants.
5543 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5544 * sysdeps/s390/multiarch/ifunc-impl-list.c
5545 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5546 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5547 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5548 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5549 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5550 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5551 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5552 * sysdeps/s390/ifunc-wcscmp.h: New file.
5553
814a76e1
SL
55542018-12-18 Stefan Liebler <stli@linux.ibm.com>
5555
5556 * sysdeps/s390/multiarch/Makefile
5557 (sysdep_routines): Remove wcsncat variants.
5558 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5559 * sysdeps/s390/multiarch/ifunc-impl-list.c
5560 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5561 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5562 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5563 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5564 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5565 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5566 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5567 * sysdeps/s390/ifunc-wcsncat.h: New file.
5568
3389cae4
SL
55692018-12-18 Stefan Liebler <stli@linux.ibm.com>
5570
5571 * sysdeps/s390/multiarch/Makefile
5572 (sysdep_routines): Remove wcscat variants.
5573 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5574 * sysdeps/s390/multiarch/ifunc-impl-list.c
5575 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5576 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5577 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5578 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5579 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5580 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5581 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5582 * sysdeps/s390/ifunc-wcscat.h: New file.
5583
c3081bcb
SL
55842018-12-18 Stefan Liebler <stli@linux.ibm.com>
5585
5586 * sysdeps/s390/multiarch/Makefile
5587 (sysdep_routines): Remove wcpncpy variants.
5588 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5589 * sysdeps/s390/multiarch/ifunc-impl-list.c
5590 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5591 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5592 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5593 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5594 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5595 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5596 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5597 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5598
0966dd86
SL
55992018-12-18 Stefan Liebler <stli@linux.ibm.com>
5600
5601 * sysdeps/s390/multiarch/Makefile
5602 (sysdep_routines): Remove wcsncpy variants.
5603 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5604 * sysdeps/s390/multiarch/ifunc-impl-list.c
5605 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5606 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5607 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5608 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5609 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5610 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5611 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5612 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5613
0582e428
SL
56142018-12-18 Stefan Liebler <stli@linux.ibm.com>
5615
5616 * sysdeps/s390/multiarch/Makefile
5617 (sysdep_routines): Remove wcpcpy variants.
5618 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5619 * sysdeps/s390/multiarch/ifunc-impl-list.c
5620 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5621 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5622 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5623 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5624 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5625 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5626 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5627 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5628
804f2e5c
SL
56292018-12-18 Stefan Liebler <stli@linux.ibm.com>
5630
5631 * sysdeps/s390/multiarch/Makefile
5632 (sysdep_routines): Remove wcscpy variants.
5633 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5634 * sysdeps/s390/multiarch/ifunc-impl-list.c
5635 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5636 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5637 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5638 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5639 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5640 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5641 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5642 * sysdeps/s390/ifunc-wcscpy.h: New file.
5643
c7e7cd26
SL
56442018-12-18 Stefan Liebler <stli@linux.ibm.com>
5645
5646 * sysdeps/s390/multiarch/Makefile
5647 (sysdep_routines): Remove wcsnlen variants.
5648 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5649 * sysdeps/s390/multiarch/ifunc-impl-list.c
5650 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5651 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5652 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5653 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5654 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5655 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5656 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5657 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5658
2e02d0b7
SL
56592018-12-18 Stefan Liebler <stli@linux.ibm.com>
5660
5661 * sysdeps/s390/multiarch/Makefile
5662 (sysdep_routines): Remove wcslen variants.
5663 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5664 * sysdeps/s390/multiarch/ifunc-impl-list.c
5665 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5666 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5667 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5668 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5669 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5670 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5671 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5672 * sysdeps/s390/ifunc-wcslen.h: New file.
5673
89bfcbdf
SL
56742018-12-18 Stefan Liebler <stli@linux.ibm.com>
5675
5676 * sysdeps/s390/multiarch/Makefile
5677 (sysdep_routines): Remove memrchr variants.
5678 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5679 * sysdeps/s390/multiarch/ifunc-impl-list.c
5680 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5681 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5682 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5683 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5684 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5685 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5686 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5687 * sysdeps/s390/ifunc-memrchr.h: New file.
5688
196655ba
SL
56892018-12-18 Stefan Liebler <stli@linux.ibm.com>
5690
5691 * sysdeps/s390/multiarch/Makefile
5692 (sysdep_routines): Remove memccpy variants.
5693 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5694 * sysdeps/s390/multiarch/ifunc-impl-list.c
5695 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5696 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5697 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5698 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5699 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5700 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5701 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5702 * sysdeps/s390/ifunc-memccpy.h: New file.
5703
4c7b3cec
SL
57042018-12-18 Stefan Liebler <stli@linux.ibm.com>
5705
5706 * sysdeps/s390/multiarch/Makefile
5707 (sysdep_routines): Remove rawmemchr variants.
5708 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5709 * sysdeps/s390/multiarch/ifunc-impl-list.c
5710 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5711 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5712 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5713 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5714 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5715 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5716 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5717 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5718
581a051c
SL
57192018-12-18 Stefan Liebler <stli@linux.ibm.com>
5720
5721 * sysdeps/s390/multiarch/Makefile
5722 (sysdep_routines): Remove memchr variants.
5723 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5724 * sysdeps/s390/multiarch/ifunc-impl-list.c
5725 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5726 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5727 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5728 * sysdeps/s390/multiarch/memchr.c: Move to ...
5729 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5730 * sysdeps/s390/ifunc-memchr.h: New file.
5731 * sysdeps/s390/s390-64/memchr.S: Move to ...
5732 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5733 for 31/64bit and ifunc handling.
5734 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5735 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5736 * sysdeps/s390/s390-32/memchr.S: Likewise.
5737
5d2ec20a
SL
57382018-12-18 Stefan Liebler <stli@linux.ibm.com>
5739
5740 * sysdeps/s390/multiarch/Makefile
5741 (sysdep_routines): Remove strcspn variants.
5742 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5743 * sysdeps/s390/multiarch/ifunc-impl-list.c
5744 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5745 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5746 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5747 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5748 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5749 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5750 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5751 * sysdeps/s390/ifunc-strcspn.h: New file.
5752
572cca93
SL
57532018-12-18 Stefan Liebler <stli@linux.ibm.com>
5754
5755 * sysdeps/s390/multiarch/Makefile
5756 (sysdep_routines): Remove strpbrk variants.
5757 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5758 * sysdeps/s390/multiarch/ifunc-impl-list.c
5759 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5760 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5761 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5762 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5763 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5764 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5765 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5766 * sysdeps/s390/ifunc-strpbrk.h: New file.
5767
483fc569
SL
57682018-12-18 Stefan Liebler <stli@linux.ibm.com>
5769
5770 * sysdeps/s390/multiarch/Makefile
5771 (sysdep_routines): Remove strspn variants.
5772 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5773 * sysdeps/s390/multiarch/ifunc-impl-list.c
5774 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5775 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5776 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5777 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5778 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5779 * sysdeps/s390/multiarch/strspn.c: Move to ...
5780 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5781 * sysdeps/s390/ifunc-strspn.h: New file.
5782
26ea8760
SL
57832018-12-18 Stefan Liebler <stli@linux.ibm.com>
5784
5785 * sysdeps/s390/multiarch/Makefile
5786 (sysdep_routines): Remove strrchr variants.
5787 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5788 * sysdeps/s390/multiarch/ifunc-impl-list.c
5789 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5790 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5791 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5792 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5793 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5794 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5795 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5796 * sysdeps/s390/ifunc-strrchr.h: New file.
5797
a1361e65
SL
57982018-12-18 Stefan Liebler <stli@linux.ibm.com>
5799
5800 * sysdeps/s390/multiarch/Makefile
5801 (sysdep_routines): Remove strchrnul variants.
5802 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5803 * sysdeps/s390/multiarch/ifunc-impl-list.c
5804 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5805 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5806 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5807 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5808 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5809 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5810 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5811 * sysdeps/s390/ifunc-strchrnul.h: New file.
5812
32f12653
SL
58132018-12-18 Stefan Liebler <stli@linux.ibm.com>
5814
5815 * sysdeps/s390/multiarch/Makefile
5816 (sysdep_routines): Remove strchr variants.
5817 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5818 * sysdeps/s390/multiarch/ifunc-impl-list.c
5819 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5820 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5821 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5822 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5823 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5824 * sysdeps/s390/multiarch/strchr.c: Move to ...
5825 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5826 * sysdeps/s390/ifunc-strchr.h: New file.
5827
316b8842
SL
58282018-12-18 Stefan Liebler <stli@linux.ibm.com>
5829
5830 * sysdeps/s390/multiarch/Makefile
5831 (sysdep_routines): Remove strncmp variants.
5832 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5833 * sysdeps/s390/multiarch/ifunc-impl-list.c
5834 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5835 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5836 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5837 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5838 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5839 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5840 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5841 * sysdeps/s390/ifunc-strncmp.h: New file.
5842
cdab85fe
SL
58432018-12-18 Stefan Liebler <stli@linux.ibm.com>
5844
5845 * sysdeps/s390/multiarch/Makefile
5846 (sysdep_routines): Remove strcmp variants.
5847 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5848 * sysdeps/s390/multiarch/ifunc-impl-list.c
5849 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5850 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5851 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5852 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5853 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5854 * sysdeps/s390/ifunc-strcmp.h: New file.
5855 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5856 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5857 for 31/64bit and ifunc handling.
5858 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5859 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5860 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5861
b9353351
SL
58622018-12-18 Stefan Liebler <stli@linux.ibm.com>
5863
5864 * sysdeps/s390/multiarch/Makefile
5865 (sysdep_routines): Remove strncat variants.
5866 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5867 * sysdeps/s390/multiarch/ifunc-impl-list.c
5868 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5869 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5870 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5871 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5872 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5873 * sysdeps/s390/multiarch/strncat.c: Move to ...
5874 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5875 * sysdeps/s390/ifunc-strncat.h: New file.
5876
8e5a0afb
SL
58772018-12-18 Stefan Liebler <stli@linux.ibm.com>
5878
5879 * sysdeps/s390/multiarch/Makefile
5880 (sysdep_routines): Remove strcat variants.
5881 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5882 * sysdeps/s390/multiarch/ifunc-impl-list.c
5883 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5884 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5885 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5886 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5887 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5888 * sysdeps/s390/multiarch/strcat.c: Move to ...
5889 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5890 * sysdeps/s390/ifunc-strcat.h: New file.
5891
25218822
SL
58922018-12-18 Stefan Liebler <stli@linux.ibm.com>
5893
5894 * sysdeps/s390/multiarch/Makefile
5895 (sysdep_routines): Remove stpncpy variants.
5896 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5897 * sysdeps/s390/multiarch/ifunc-impl-list.c
5898 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5899 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5900 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5901 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5902 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5903 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5904 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5905 * sysdeps/s390/ifunc-stpncpy.h: New file.
5906
d1bdbf38
SL
59072018-12-18 Stefan Liebler <stli@linux.ibm.com>
5908
5909 * sysdeps/s390/multiarch/Makefile
5910 (sysdep_routines): Remove strncpy variants.
5911 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5912 * sysdeps/s390/multiarch/ifunc-impl-list.c
5913 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5914 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5915 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5916 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5917 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5918 * sysdeps/s390/ifunc-strncpy.h: New file.
5919 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5920 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5921 and adjust ifunc handling.
5922 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5923 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5924 and adjust ifunc handling.
5925 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5926 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5927
97044931
SL
59282018-12-18 Stefan Liebler <stli@linux.ibm.com>
5929
5930 * sysdeps/s390/multiarch/Makefile
5931 (sysdep_routines): Remove stpcpy variants.
5932 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5933 * sysdeps/s390/multiarch/ifunc-impl-list.c
5934 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5935 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5936 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5937 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5938 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5939 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5940 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5941 * sysdeps/s390/ifunc-stpcpy.h: New file.
5942
914a4e05
SL
59432018-12-18 Stefan Liebler <stli@linux.ibm.com>
5944
5945 * sysdeps/s390/multiarch/Makefile
5946 (sysdep_routines): Remove strcpy variants.
5947 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5948 * sysdeps/s390/multiarch/ifunc-impl-list.c
5949 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5950 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5951 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5952 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5953 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5954 * sysdeps/s390/ifunc-strcpy.h: New file.
5955 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5956 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5957 for 31/64bit and ifunc handling.
5958 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5959 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5960 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5961
de10e44d
SL
59622018-12-18 Stefan Liebler <stli@linux.ibm.com>
5963
5964 * sysdeps/s390/multiarch/Makefile
5965 (sysdep_routines): Remove strnlen variants.
5966 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5967 * sysdeps/s390/multiarch/ifunc-impl-list.c
5968 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5969 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5970 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5971 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5972 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5973 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5974 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5975 * sysdeps/s390/ifunc-strnlen.h: New file.
5976
ff3ca374
SL
59772018-12-18 Stefan Liebler <stli@linux.ibm.com>
5978
5979 * sysdeps/s390/multiarch/Makefile
5980 (sysdep_routines): Remove strlen variants.
5981 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5982 * sysdeps/s390/multiarch/ifunc-impl-list.c
5983 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5984 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5985 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5986 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5987 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5988 * sysdeps/s390/multiarch/strlen.c: Move to ...
5989 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5990 * sysdeps/s390/ifunc-strlen.h: New file.
5991
d2c4c403
SL
59922018-12-18 Stefan Liebler <stli@linux.ibm.com>
5993
5994 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5995 * sysdeps/s390/multiarch/ifunc-impl-list.c
5996 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5997 * sysdeps/s390/ifunc-memmem.h: New file.
5998 * sysdeps/s390/memmem.c: Likewise.
5999 * sysdeps/s390/memmem-c.c: Likewise.
6000 * sysdeps/s390/memmem-vx.c: Likewise.
6001
8c25dddd
SL
60022018-12-18 Stefan Liebler <stli@linux.ibm.com>
6003
6004 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6005 * sysdeps/s390/multiarch/ifunc-impl-list.c
6006 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6007 * sysdeps/s390/ifunc-strstr.h: New file.
6008 * sysdeps/s390/strstr.c: Likewise.
6009 * sysdeps/s390/strstr-c.c: Likewise.
6010 * sysdeps/s390/strstr-vx.c: Likewise.
6011
cdd927d9
SL
60122018-12-18 Stefan Liebler <stli@linux.ibm.com>
6013
6014 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6015 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6016 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6017 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6018 New defines.
6019 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6020 * sysdeps/s390/memmove-c.c: New file.
6021 * sysdeps/s390/memmove.c: Likewise.
6022 * sysdeps/s390/multiarch/ifunc-impl-list.c
6023 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6024
2ee1bc57
SL
60252018-12-18 Stefan Liebler <stli@linux.ibm.com>
6026
6027 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6028 * sysdeps/s390/configure.ac: Add check for z13 support.
6029 * sysdeps/s390/configure: Regenerated.
6030
d097d976
SL
60312018-12-18 Stefan Liebler <stli@linux.ibm.com>
6032
6033 * sysdeps/s390/memcopy.h: New file.
6034
e099aab0
SL
60352018-12-18 Stefan Liebler <stli@linux.ibm.com>
6036
6037 * sysdeps/s390/s390-32/bcopy.S: Remove.
6038 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6039
18eb862d
SL
60402018-12-18 Stefan Liebler <stli@linux.ibm.com>
6041
6042 * sysdeps/s390/ifunc-memcpy.h: New File.
6043 * sysdeps/s390/memcpy.S: Move to ...
6044 * sysdeps/s390/memcpy-z900.S ... here.
6045 Move implementations from memcpy-s390x.s to here.
6046 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6047 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6048 Remove memcpy/mempcpy variants.
6049 * sysdeps/s390/Makefile (sysdep_routines):
6050 Add memcpy/mempcpy variants.
6051 * sysdeps/s390/multiarch/ifunc-impl-list.c
6052 (__libc_ifunc_impl_list): Adjust ifunc variants for
6053 memcpy and mempcpy.
6054 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6055 to ...
6056 * sysdeps/s390/memcpy.c: ... here.
6057 Adjust ifunc variants for memcpy.
6058 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6059 * sysdeps/s390/mempcpy.c: ... here.
6060 Adjust ifunc variants for mempcpy.
6061 * sysdeps/s390/mempcpy.S: Delete file.
6062
df3eb8de
SL
60632018-12-18 Stefan Liebler <stli@linux.ibm.com>
6064
6065 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6066 * sysdeps/s390/memcpy.S: ... here.
6067 Adjust to be usable for 31/64bit.
6068 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6069 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6070 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6071 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6072 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6073 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6074 Adjust to be usable for 31/64bit.
6075 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6076 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6077 * sysdeps/s390/multiarch/memcpy.c: ... here.
6078 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6079
b7e024a8
SL
60802018-12-18 Stefan Liebler <stli@linux.ibm.com>
6081
6082 * sysdeps/s390/ifunc-memcmp.h: New File.
6083 * sysdeps/s390/memcmp.S: Move to ...
6084 * sysdeps/s390/memcmp-z900.S ... here.
6085 Move implementations from memcmp-s390x.s to here.
6086 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6087 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6088 Remove memcmp variants.
6089 * sysdeps/s390/Makefile (sysdep_routines):
6090 Add memcmp variants.
6091 * sysdeps/s390/multiarch/ifunc-impl-list.c
6092 (__libc_ifunc_impl_list): Adjust ifunc variants for
6093 memcmp.
6094 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6095 to ...
6096 * sysdeps/s390/memcmp.c: ... here.
6097 Adjust ifunc variants for memcmp.
6098
6c6b8c74
SL
60992018-12-18 Stefan Liebler <stli@linux.ibm.com>
6100
6101 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6102 * sysdeps/s390/memcmp.S: ... here.
6103 Adjust to be usable for 31/64bit.
6104 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6105 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6106 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6107 Remove memcmp.
6108 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6109 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6110 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6111 Adjust to be usable for 31/64bit.
6112 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6113 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6114 * sysdeps/s390/multiarch/memcmp.c: ... here.
6115 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6116
07be3928
SL
61172018-12-18 Stefan Liebler <stli@linux.ibm.com>
6118
6119 * sysdeps/s390/s390-32/bzero.S: Delete file.
6120 * sysdeps/s390/s390-64/bzero.S: Likewise.
6121 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6122 * sysdeps/s390/bzero.c: New file.
6123 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6124 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6125 * sysdeps/s390/multiarch/ifunc-impl-list.c
6126 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6127
712a254a
SL
61282018-12-18 Stefan Liebler <stli@linux.ibm.com>
6129
6130 * sysdeps/s390/ifunc-memset.h: New File.
6131 * sysdeps/s390/memset.S: Move to ...
6132 * sysdeps/s390/memset-z900.S ... here.
6133 Move implementations from memset-s390x.s to here.
6134 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6135 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6136 Remove memset variants.
6137 * sysdeps/s390/Makefile (sysdep_routines):
6138 Add memset variants.
6139 * sysdeps/s390/multiarch/ifunc-impl-list.c
6140 (__libc_ifunc_impl_list): Adjust ifunc variants for
6141 memset.
6142 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6143 to ...
6144 * sysdeps/s390/memset.c: ... here.
6145 Adjust ifunc variants for memset.
6146
5f1743d1
SL
61472018-12-18 Stefan Liebler <stli@linux.ibm.com>
6148
6149 * sysdeps/s390/s390-64/memset.S: Move to ...
6150 * sysdeps/s390/memset.S: ... here.
6151 Adjust to be usable for 31/64bit.
6152 * sysdeps/s390/s390-32/memset.S: Delete File.
6153 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6154 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6155 Remove memset.
6156 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6157 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6158 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6159 Adjust to be usable for 31/64bit.
6160 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6161 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6162 * sysdeps/s390/multiarch/memset.c: ... here.
6163 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6164
e8023f26
SL
61652018-12-18 Stefan Liebler <stli@linux.ibm.com>
6166
6167 * sysdeps/s390/multiarch/ifunc-resolve.h
6168 (s390_libc_ifunc_init, s390_libc_ifunc,
6169 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6170
b8686c0d
SL
61712018-12-18 Stefan Liebler <stli@linux.ibm.com>
6172
6173 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6174 * sysdeps/s390/configure.ac: Add check for z10 support.
6175 * sysdeps/s390/configure: Regenerated.
6176
cd815050
L
61772018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6178
6179 * sysdeps/i386/atomic-machine.h: Merged with ...
6180 * sysdeps/x86_64/atomic-machine.h: To ...
6181 * sysdeps/x86/atomic-machine.h: This. New file.
6182
053c52b1
FW
61832018-12-18 Florian Weimer <fweimer@redhat.com>
6184
6185 Rewrite locale/gen-translit.pl in Python.
6186 * locale/Makefile (generated): Add C-translit.h.
6187 (before-compile): Add $(objpfx)C-translit.h.
6188 (C-translit.h): Move to $(objpfx). Create target directory.
6189 Build using Python script.
6190 * locale/gen-translit.py: New file.
6191 * locale/gen-translit.pl: Remove file.
6192 * locale/C-translit.h.in: Change comment character to '#' for
6193 easier parsing without a C preprocessor.
6194 * locale/C-translit.h: Remove generated file.
6195 * manual/install.texi (Tools for Compilation): Do not mention
6196 C-translit.h.
6197 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6198 Remove locale/C-translit.h.
6199 * scripts/update-copyrights: Likewise.
6200 * INSTALL: Regenerate.
6201
40e6c1ec
FW
62022018-12-18 Florian Weimer <fweimer@redhat.com>
6203
6204 [BZ #23995]
6205 * localedata/locales/bi_VU: Remove executable bit from file.
6206
6b5c8607 62072018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
6208
6209 * include/time.h
6210 (__localtime64): Add.
6211 * manual/maint.texi: Document Y2038 symbol handling.
6212 * time/localtime.c
6213 (__localtime64): Add.
bfb79db4 6214 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 6215
df648905
JM
62162018-12-17 Joseph Myers <joseph@codesourcery.com>
6217
551e81d9
JM
6218 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6219 Do not clobber r12.
6220
df648905
JM
6221 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6222 to allow extra macros from first or second sources.
6223 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6224 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6225 (tests-special): Add $(objpfx)tst-mman-consts.out.
6226 ($(objpfx)tst-mman-consts.out): New makefile target.
6227
6bbfc5c0
MH
62282018-12-17 Mao Han <han_mao@c-sky.com>
6229
6230 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6231 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6232 without stat64 system call support.
6233 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6234 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6235 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6236 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6237 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6238 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6239 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6240 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6241 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6242 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6243 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6244
ef202e53
PE
62452018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6246
6247 regex: fix storage-exhaustion error
6248 [BZ #18040]
6249 * posix/regexec.c (get_subexp):
6250 Do not continue if storage is exhausted.
6251
077caf61
AG
62522018-12-15 Assaf Gordon <assafgordon@gmail.com>
6253
6254 regex: fix heap-use-after-free error
6255 [BZ #18040]
6256 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6257 https://debbugs.gnu.org/32592
6258 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6259 call extend_buffers which reallocates the re_string_t internal buffer.
6260 Local variable 'buf' was not updated in such case, resulting in
6261 use-after-free.
6262 * posix/regexec.c (get_subexp): Update 'buf' after call to
6263 get_subexp_sub.
6264
0c1719e6
FW
62652018-12-15 Florian Weimer <fweimer@redhat.com>
6266
6267 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6268 (minimum_stride_size): Use it.
6269 (support_blob_repeat_allocate): Likewise.
6270
033a2c0a
JM
62712018-12-14 Joseph Myers <joseph@codesourcery.com>
6272
6273 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6274 definition.
6275 (acosh): Likewise.
6276 (atanh): Likewise.
6277
e361dc04
FW
62782018-12-14 Florian Weimer <fweimer@redhat.com>
6279
6280 * manual/process.texi (Process Creation Concepts): Remove
6281 documentation of process (ID) lifetime. List more process
6282 creation functions. Reference Process Identification section.
6283 (Process Identification): Add information about process ID
6284 lifetime. Describe Linux thread/task IDs.
6285 * manual/signal.texi (Signaling Another Process): Mention that the
6286 signal is always sent to the process.
6287
bd51ff5e
GG
62882018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6289
6290 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6291 and tst-ldbl-efgcvt.
6292 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6293 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6294 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6295 (fcvt_tests, output_error, output_r_error, do_test): Use the
6296 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6297 select the type of floating-point variables and arguments; to
6298 produce extra tests for double and conversion specifiers for
6299 printf; and to set the names of called functions.
6300 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6301 in tst-efgcvt-template.c.
6302 * misc/tst-ldbl-efgcvt.c: Likewise.
6303
268bb71e
SL
63042018-12-14 Stefan Liebler <stli@linux.ibm.com>
6305
6306 * nss/Makefile (tst-nss-test3.out): New rule.
6307
db6df070
JM
63082018-12-13 Joseph Myers <joseph@codesourcery.com>
6309
6310 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6311 clobber sp.
6312
ade8b817
CD
63132018-12-13 fanjinke <fanjinke@hygon.cn>
6314
6315 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6316 "HygonGenuine".
6317
3d265911
AS
63182018-12-13 Andreas Schwab <schwab@suse.de>
6319
f21e8f8c 6320 [BZ #23861]
3d265911 6321 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
6322 (__pthread_rwlock_rdlock_full): Update expected value for
6323 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6324 * nptl/tst-rwlock-pwn.c: New file.
6325 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 6326
bf8ae8c0
JM
63272018-12-12 Joseph Myers <joseph@codesourcery.com>
6328
6329 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6330 definition.
6331
de099757
LS
63322018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6333
6334 * benchtests/scripts/compare_bench.py (do_compare): write to
6335 stderr in casestat is not present.
6336 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6337 stderr in case timings field is not present. Also string showing
6338 the output filename goes into the stderr.
6339
1990185f
LS
63402018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6341
6342 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6343 and ZeroDivisorError exceptions.
6344 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6345 argument to loop through user provided statistics.
6346 * benchtests/scripts/compare_bench.py (main): Include the --stats
6347 argument.
6348
587426d4
LS
63492018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6350
6351 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6352 instead of return.
6353
46703efa
FW
63542018-12-12 Florian Weimer <fweimer@redhat.com>
6355
6356 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6357 clause to copyright header.
6358
1d880d4a
TMQMF
63592018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6360
6361 [BZ #23614]
6362 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6363 registers saved in the stack frame.
6364 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6365 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6366
1a502f52
GG
63672018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6368
6369 * include/bits/monetary-ldbl.h: New file.
6370 * include/bits/printf-ldbl.h: Likewise.
6371 * include/bits/stdio-ldbl.h: Likewise.
6372 * include/bits/stdlib-ldbl.h: Likewise.
6373 * include/bits/syslog-ldbl.h: Likewise.
6374 * include/bits/wchar-ldbl.h: Likewise.
6375
df682d1d
GG
63762018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6377
6378 * libio/libio.h: Remove redirection for _IO_vfprintf.
6379
c2c082c1
AS
63802018-12-11 Andreas Schwab <schwab@suse.de>
6381
6382 * Makerules: Remove all references to abilist-pattern.
6383 (update-all-abi): Simplify find expression.
6384
505b5b29
SN
63852018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6386
6387 [BZ #23961]
6388 * math/auto-libm-test-in: Add new test case.
6389 * math/auto-libm-test-out-pow: Regenerated.
6390 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6391
304c61a2
DD
63922018-12-10 DJ Delorie <dj@redhat.com>
6393
6394 [BZ #23948]
6395 * support/test-container.c: Move postclean step to before we
6396 change namespaces.
6397
a8110b72
JM
63982018-12-10 Joseph Myers <joseph@codesourcery.com>
6399
cb7be159
JM
6400 * scripts/gen-as-const.py (main): Handle --python option.
6401 * scripts/gen-py-const.awk: Remove.
6402 * Makerules (py-const-script): Use gen-as-const.py.
6403 ($(py-const)): Likewise.
6404 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6405 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6406 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6407 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6408 ~PTHREAD_MUTEX_NO_ELISION_NP.
6409 * manual/README.pretty-printers: Update reference to
6410 gen-py-const.awk.
6411
a8110b72
JM
6412 * scripts/glibcextract.py: New file.
6413 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6414 or tempfile. Import glibcexctract.
6415 (compute_c_consts): Remove. Moved to glibcextract.py.
6416 (gen_test): Update reference to compute_c_consts.
6417 (main): Likewise.
6418 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6419 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6420 * sysdeps/unix/sysv/linux/Makefile
6421 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6422 Redirect stderr as well as stdout.
6423
f9ba9eb8
RÁE
64242018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6425
6426 [BZ #19767]
6427 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
6428 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6429 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 6430 ALWAYS_USE_VSYSCALL.
b39d961c 6431 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
6432 ALWAYS_USE_VSYSCALL.
6433 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6434 ALWAYS_USE_VSYSCALL.
6435
8d20a2f4
FW
64362018-12-10 Florian Weimer <fweimer@redhat.com>
6437
6438 [BZ #23972]
6439 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6440 offset instead of count for clarity. Fix typo in comment.
6441 (__old_getdents64): Keep track of previous offset. Use it to call
6442 handle_overflow.
6443 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6444 that d_off is never zero.
6445
80472e2f
AS
64462018-12-10 Andreas Schwab <schwab@suse.de>
6447
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6449 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6451 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6452 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6453
0afcb29d
JM
64542018-12-10 Joseph Myers <joseph@codesourcery.com>
6455
6456 * timezone/private.h: Update from tzcode 2018g.
6457 * timezone/tzfile.h: Likewise.
6458 * timezone/tzselect.ksh: Likewise.
6459 * timezone/zdump.c: Likewise.
6460 * timezone/zic.c: Likewise.
6461
b93f4052
PP
64622018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6463
6464 [BZ #23490]
6465 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6466 (do_test): Adjust buffer size and fix format.
6467
7c9a7c68
DD
64682018-12-07 DJ Delorie <dj@redhat.com>
6469
6470 [BZ #23907]
6471 * malloc/tst-tcfree3.c: New.
6472 * malloc/Makefile: Add it.
6473
37caec3a
L
64742018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6475
6476 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6477
10446f5d
GG
64782018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6479
6480 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6481 used as a mask for the mode argument of __vfscanf_internal and
6482 __vfwscanf_internal.
6483 * stdio-common/vfscanf-internal.c
6484 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6485 (__strtof128_internal): Define to __wcstof128_internal.
6486 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6487 __strtof128_internal or __wcstof128_internal when the format of
6488 long double is the same as _Float128.
6489
45f33aac
ST
64902018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6491
6492 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6493 * posix/confstr.c (confstr): Rename to __confstr.
6494 (__confstr): Add hidden def.
6495 (confstr): Add weak alias for __confstr.
6496 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6497 confstr.
6498
a092ca94
L
64992018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6500
6501 * NEWS: Mention getcpu.
6502 * include/sched.h (__getcpu): New libc_hidden_proto.
6503 * manual/resource.texi: Document getcpu.
6504 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6505 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6506 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6507 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6508 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6509 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6510 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6511 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6512 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6513 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6514 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6515 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6516 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6517 Likewise.
6518 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6519 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6520 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6522 Likewise.
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6524 Likewise.
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6526 Likewise.
6527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6528 Likewise.
6529 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6530 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6531 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6532 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6533 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6534 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6535 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6536 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6537 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6538 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6539 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6540 Also check getcpu.
6541
7c857b6f
ST
65422018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6543
6544 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6545 functions.
6546 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6547
3a3fb755
FW
65482018-12-07 Florian Weimer <fweimer@redhat.com>
6549
6550 [BZ #17405]
6551 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6552 * posix/Versions (GLIBC_2.29): Export
6553 posix_spawn_file_actions_addfchdir_np.
6554 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6555 * posix/spawn_faction_destroy.c
6556 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6557 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6558 and the field action.fchdir_action.
6559 * posix/tst-spawn-chdir.c (add_chdir): New function.
6560 (do_test): Add do_fchdir loop. Call add_chdir.
6561 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6562 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6563 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6564 posix_spawn_file_actions_addfchdir_np.
6565 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6566 Likewise.
6567 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6568 Likewise.
6569 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6570 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6571 Likewise.
6572 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6573 Likewise.
6574 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6575 Likewise.
6576 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6577 Likewise.
6578 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6579 Likewise.
6580 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6581 Likewise.
6582 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6583 (GLIBC_2.29): Likewise.
6584 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6585 (GLIBC_2.29): Likewise.
6586 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6587 (GLIBC_2.29): Likewise.
6588 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6589 (GLIBC_2.29): Likewise.
6590 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6591 Likewise.
6592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6593 (GLIBC_2.29): Likewise.
6594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6595 (GLIBC_2.29): Likewise.
6596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6597 (GLIBC_2.29): Likewise.
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6599 (GLIBC_2.29): Likewise.
6600 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6601 Likewise.
6602 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6603 Likewise.
6604 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6605 Likewise.
6606 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6607 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6608 Likewise.
6609 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6610 Likewise.
6611 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6612 Likewise.
6613 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6614 Likewise.
6615
c37cd439
JM
66162018-12-06 Joseph Myers <joseph@codesourcery.com>
6617
6618 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6619 trailing whitespace removed.
6620 * scripts/config.guess: Update to version 2018-11-28.
6621 * scripts/config.sub: Update to version 2018-11-28.
6622 * scripts/install-sh: Update to version 2018-03-11.20.
6623 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6624 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6625
899478c2
FW
66262018-12-07 Florian Weimer <fweimer@redhat.com>
6627
6628 [BZ #23927]
6629 CVE-2018-19591
6630 * inet/tst-if_index-long.c: New file.
6631 * inet/Makefile (tests): Add tst-if_index-long.
6632
f255336a
FW
66332018-12-07 Florian Weimer <fweimer@redhat.com>
6634
6635 * support/check.h (support_record_failure_is_failed): Declare.
6636 * support/descriptors.h: New file.
6637 * support/support_descriptors.c: Likewise.
6638 * support/tst-support_descriptors.c: Likewise.
6639 * support/support_record_failure.c
6640 (support_record_failure_is_failed): New function.
6641 * support/Makefile (libsupport-routines): Add support_descriptors.
6642 (tests): Add tst-support_descriptors.
6643
35caceb1
ZW
66442018-12-05 Zack Weinberg <zackw@panix.com>
6645 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6646
6647 * stdio-common/vfprintf-internal.c
6648 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6649 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6650 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6651 and __no_long_double.
6652 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6653 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6654 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6655 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6656 and __nldbl_*syslog* functions.
6657 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6658 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6659 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6660 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6661 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6662 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6663 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6664 (__nldbl_vwprintf, __nldbl_wprintf):
6665 Directly call the appropriate __v*printf_internal routine, passing
6666 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6667 variable names.
6668 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6669 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6670 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6671 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6672 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6673 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6674 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6675 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6676 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6677 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6678 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6679 (__nldbl_syslog, __nldbl_vsyslog):
6680 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6681 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6682 appropriate.
6683 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6684 appropriate.
6685
4e2f43f8
ZW
66862018-12-05 Zack Weinberg <zackw@panix.com>
6687 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6688
6689 [BZ #11319]
6690 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6691 Moved here from debug/vsprintf_chk.c.
6692 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6693 and completion logic for the strfile to match exactly what
6694 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6695 _IO_str_init_static_internal instead of maxlen-1.
6696 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6697 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6698 __vsprintf_internal.
6699
6700 * debug/vsprintf_chk.c (__vsprintf_chk)
6701 * debug/sprintf_chk.c (__sprintf_chk):
6702 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6703 'flags' argument is positive, and slen as maxlen. No need to lock
6704 the FILE and/or construct a temporary FILE. Minimize and normalize
6705 header inclusions and variable names. Do not libc_hidden_def anything.
6706
6707 * debug/asprintf_chk.c (__asprintf_chk)
6708 * debug/dprintf_chk.c (__dprintf_chk)
6709 * debug/fprintf_chk.c (__fprintf_chk)
6710 * debug/fwprintf_chk.c (__fwprintf_chk)
6711 * debug/printf_chk.c (__printf_chk)
6712 * debug/snprintf_chk.c (__snprintf_chk)
6713 * debug/swprintf_chk.c (__swprintf_chk)
6714 * debug/vasprintf_chk.c (__vasprintf_chk)
6715 * debug/vdprintf_chk.c (__vdprintf_chk)
6716 * debug/vfprintf_chk.c (__vfprintf_chk)
6717 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6718 * debug/vprintf_chk.c (__vprintf_chk)
6719 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6720 * debug/vswprintf_chk.c (__vswprintf_chk)
6721 * debug/vwprintf_chk.c (__vwprintf_chk)
6722 * debug/wprintf_chk.c (__wprintf_chk):
6723 Directly call the corresponding vxxprintf_internal function, passing
6724 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6725 the FILE and/or construct a temporary FILE. Minimize and normalize
6726 header inclusions and variable names. Do not libc_hidden_def anything.
6727
6728 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6729 __obstack_vprintf_internal.
6730 (__obstack_vprintf_chk): Convert into a wrapper that calls
6731 __obstack_vprintf_internal (these two functions already had the
6732 same code) and move to new file...
6733 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6734 file.
6735 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6736 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6737 * debug/Makefile (routines): Add vobprintf_chk.
6738
6739 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6740 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6741 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6742 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6743 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6744 (__nldbl___obstack_vfprintf_chk):
6745 Directly call the corresponding vxxprintf_internal function,
6746 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6747 duplicate comparison of slen with 0 or maxlen from the corresponding
6748 non-__nldbl function.
6749
6750 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6751 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6752 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6753 Remove libc_hidden_proto.
6754
6755 * stdio-common/vfprintf-internal.c
6756 (__vfprintf_internal, __vfwprintf_internal):
6757 Do not check _IO_FLAGS2_FORTIFY.
6758 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6759 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6760 a comment explaining why it has the maxlen argument.
6761 (_IO_acquire_lock_clear_flags2_fct): Remove.
6762 (_IO_acquire_lock_clear_flags2): Remove.
6763 (_IO_release_lock): Remove conditional statement which will
6764 now never execute.
6765 (_IO_acquire_lock): Remove variable which is now unused.
6766 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6767 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6768
6769 * stdio-common/Makefile (tests): Add tst-bz11319 and
6770 tst-bz11319-fortify2.
6771 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6772 * stdio-common/tst-bz11319-fortify2.c: New file.
6773 * stdio-common/tst-bz11319.c: Likewise.
6774
124fc732
ZW
67752018-12-05 Zack Weinberg <zackw@panix.com>
6776 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6777
6778 * misc/syslog.c: Include libioP.h, not iolibio.h.
6779 (__vsyslog_internal): New function with the former body of
6780 __vsyslog_chk; takes mode_flags argument same as
6781 __v*printf_internal. Call __vfprintf_internal directly.
6782
6783 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6784 Remove libc_hidden_def.
6785 (__syslog, __syslog_chk): Use __vsyslog_internal.
6786 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6787
6788 * include/sys/syslog.h: Add multiple inclusion guard.
6789 Add prototype for __vsyslog_internal.
6790 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6791
6792 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6793 Use __vsyslog_internal.
6794
698fb75b
ZW
67952018-12-05 Zack Weinberg <zackw@panix.com>
6796 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6797
6798 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6799 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6800 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6801 New functions.
6802 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6803 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6804
6805 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6806 Include wctype.h here if COMPILE_WPRINTF is defined.
6807 Define __vfprintf_internal or __vfwprintf_internal, depending
6808 on COMPILE_WPRINTF.
6809 Temporarily, on entry to this function, update mode_flags
6810 according to the environmental settings corresponding to
6811 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6812 Throughout, check mode_flags instead of __ldbl_is_dbl and
6813 _IO_FLAGS2_FORTIFY on the destination FILE.
6814 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6815 Include vfprintf-internal.c. Don't include wctype.h.
6816 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6817 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6818 and vfprintf.
6819 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6820 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6821 and vfwprintf.
6822 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6823
6824 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6825 and add mode_flags argument; use __vfprintf_internal.
6826 (__vdprintf): New function. Alias vdprintf to this.
6827 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6828 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6829 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6830 (__obstack_printf): Use __obstack_printf_internal.
6831 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6832 public aliases __vsnprintf and vsnprintf.
6833 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6834 called internally.
6835 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6836 public aliases _IO_vsprintf and vsprintf.
6837 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6838 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6839 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6840 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6841 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6842
6843 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6844 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6845 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6846 * stdio-common/printf.c: Use __vfprintf_internal.
6847
6848 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6849 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6850 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6851
6852 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6853 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6854 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6855 __vfwprintf_internal.
6856
6857 * libio/libio.h: Remove libc_hidden_proto and declaration for
6858 _IO_vfprintf.
6859 Remove declaration of _IO_vfwprintf.
6860 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6861 _IO_vsprintf.
6862 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6863 _IO_obstack_printf.
6864 * include/stdio.h: Add prototype for __vasprintf.
6865 (__vsnprintf): Remove declaration, because there are no more
6866 internal calls.
6867 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6868 declaration, because there are no more internal calls.
6869
6870 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6871 __vsnprintf_internal, instead of _IO_vsnprintf.
6872 * argp/argp-help.c (__argp_error, __argp_failure): Use
6873 __vasprintf_internal, instead of _IO_vasprintf.
6874 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6875 redefine, because there are no more internal calls.
6876
d91798b3
ZW
68772018-12-05 Zack Weinberg <zackw@panix.com>
6878 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6879
6880 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6881 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6882 Include libio/strfile.h instead of libioP.h.
6883 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6884 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6885 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6886 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6887 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6888 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6889 necessary. Do not set __no_long_double. Normalize variable names.
6890 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6891 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6892 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6893 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6894 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6895 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6896 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6897 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6898 Do not set __no_long_double. Normalize variable names.
6899
b87eb3f8
ZW
69002018-12-05 Zack Weinberg <zackw@panix.com>
6901 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6902
6903 * stdio-common/isoc99_scanf.c
6904 * stdio-common/isoc99_fscanf.c
6905 * stdio-common/isoc99_sscanf.c
6906 * stdio-common/isoc99_vscanf.c
6907 * stdio-common/isoc99_vfscanf.c
6908 * stdio-common/isoc99_vsscanf.c
6909 * wcsmbs/isoc99_wscanf.c
6910 * wcsmbs/isoc99_fwscanf.c
6911 * wcsmbs/isoc99_swscanf.c
6912 * wcsmbs/isoc99_vwscanf.c
6913 * wcsmbs/isoc99_vfwscanf.c
6914 * wcsmbs/isoc99_vswscanf.c:
6915 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6916 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6917 No need to lock and unlock the FILE passed to that function.
6918
6919 * stdio-common/vfscanf-internal.c
6920 (__vfscanf_internal, __vfwscanf_internal):
6921 Don't look at _IO_FLAGS2_SCANF_STD.
6922 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6923 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6924 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6925
349718d4
ZW
69262018-12-05 Zack Weinberg <zackw@panix.com>
6927 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6928
6929 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6930 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6931 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6932 * libio/strfile.h: Add multiple inclusion guard.
6933 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6934
6935 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6936 consistency with the other version of this file.
6937 (ldbl_compat_symbol): New macro.
6938 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6939 New macro.
6940
6941 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6942 Define __vfscanf_internal or __vfwscanf_internal, depending on
6943 COMPILE_WSCANF; don't define any other public symbols.
6944 Remove errval and code to set errp.
6945 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6946 as the mode_flags argument.
6947 (encode_error, conv_error, input_error): Don't set errval.
6948 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6949 Include vfscanf-internal.c.
6950 * stdio-common/vfscanf.c: New file defining the public entry
6951 point vfscanf, which calls __vfscanf_internal.
6952 * stdio-common/vfwscanf.c: New file defining the public entry
6953 point vfwscanf, which calls __vfwscanf_internal.
6954
6955 * stdio-common/iovfscanf.c: New file.
6956 * stdio-common/iovfwscanf.c: Likewise.
6957
6958 * stdio-common/Makefile (routines): Add vfscanf-internal,
6959 vfwscanf-internal, iovfscanf, iovfwscanf.
6960 * stdio-common/Versions: Mention GLIBC_2.29, so that
6961 it can be used in SHLIB_COMPAT expressions.
6962 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6963 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6964 Call __vfscanf_internal, instead of _IO_vfscanf.
6965 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6966 _IO_vfscanf.
6967 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6968 _IO_vfwscanf.
6969
6970 * libio/iovsscanf.c: Clean up includes, when possible. Use
6971 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6972 __vfscanf_internal or __vfwscanf_internal directly.
6973 * libio/iovswscanf.c: Likewise.
6974 * libio/swscanf.c: Likewise.
6975 * libio/vscanf.c: Likewise.
6976 * libio/vwscanf.c: Likewise.
6977 * libio/wscanf.c: Likewise.
6978 * stdio-common/isoc99_fscanf.c: Likewise.
6979 * stdio-common/isoc99_scanf.c: Likewise.
6980 * stdio-common/isoc99_sscanf.c: Likewise.
6981 * stdio-common/isoc99_vfscanf.c: Likewise.
6982 * stdio-common/isoc99_vscanf.c: Likewise.
6983 * stdio-common/isoc99_vsscanf.c: Likewise.
6984 * stdio-common/scanf.c: Likewise.
6985 * stdio-common/sscanf.c: Likewise.
6986 * wcsmbs/isoc99_fwscanf.c: Likewise.
6987 * wcsmbs/isoc99_swscanf.c: Likewise.
6988 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6989 * wcsmbs/isoc99_vswscanf.c: Likewise.
6990 * wcsmbs/isoc99_vwscanf.c: Likewise.
6991 * wcsmbs/isoc99_wscanf.c: Likewise.
6992
6b5c8607 69932018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
6994
6995 * include/time.h
6996 (__tz_compute): Replace time_t with __time64_t.
6997 (__tz_convert): Replace time_t* with __time64_t.
6998 (__offtime): Replace time_t* with __time64_t.
6999 * time/gmtime.c
7000 (__gmtime_r): Adjust call to __tz_convert.
7001 (gmtime): Likewise.
7002 * time/localtime.c
7003 (__localtime_r): Likewise.
7004 (localtime): Likewise.
7005 * time/offtime.c: Replace time_t with __time64_t.
7006 * time/tzset.c: Likewise.
7007
bd598da9
JM
70082018-12-04 Joseph Myers <joseph@codesourcery.com>
7009
7010 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7011 dynamic linker unless [$(run-built-tests) = yes].
7012
b2e93de0
DD
70132018-12-03 DJ Delorie <dj@delorie.com>
7014
7015 * support/test-container.c (check_for_unshare_hints): New.
7016 (main): Call it if unshare fails. Add support for "su" scriptlet
7017 command.
7018
477a02f6
JM
70192018-12-03 Joseph Myers <joseph@codesourcery.com>
7020
7021 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7022 'START' to indicate that start text should be output.
7023 (gen_test): Likewise.
7024 (main): Generate 'START' for first symbol or '--' line, or at end
7025 of input if not previously generated.
7026
6af956e5
RÁE
70272018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7028
7029 [BZ #19767]
7030 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7031 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7032 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7033 ALWAYS_USE_VSYSCALL.
7034
f5ec0ea9
AZ
70352018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7036
7037 [BZ #23913]
7038 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7039 new_argv by one.
7040
8cebd4ff
CD
70412018-12-03 Carlos O'Donell <carlos@redhat.com>
7042
7043 [BZ #23923]
7044 * locale/programs/localedef.c: Declare boolean hard_links default true.
7045 (options): Add --no-hard-links option.
7046 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7047 * locale/programs/localedef.h: Declare prototype for hard_links.
7048 * locale/programs/locfile.c (write_locale_data): Don't use hard
7049 links if hard_links is false.
7050
c22e4c2a
L
70512018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7052
7053 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7054 cpu_features_basic.
7055 (__cache_sysconf): Likewise.
7056 (init_cacheinfo): Likewise.
7057 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7058 populate COMMON_CPUID_INDEX_80000007 and
7059 COMMON_CPUID_INDEX_80000008.
7060 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7061 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7062 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7063 (init_cpu_features): Use _Static_assert on
7064 index_arch_Fast_Unaligned_Load.
7065 __get_cpuid_registers and __get_arch_feature. Updated for
7066 cpu_features_basic. Set stepping in cpu_features.
7067 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7068 (FEATURE_INDEX_2): New.
7069 (FEATURE_INDEX_MAX): Changed to enum.
7070 (COMMON_CPUID_INDEX_D_ECX_1): New.
7071 (COMMON_CPUID_INDEX_80000007): Likewise.
7072 (COMMON_CPUID_INDEX_80000008): Likewise.
7073 (cpuid_registers): Likewise.
7074 (cpu_features_basic): Likewise.
7075 (CPU_FEATURE_USABLE): Likewise.
7076 (bit_arch_XXX_Usable): Likewise.
7077 (cpu_features): Use cpuid_registers and cpu_features_basic.
7078 (bit_arch_XXX): Reweritten.
7079 (bit_cpu_XXX): Likewise.
7080 (index_cpu_XXX): Likewise.
7081 (reg_XXX): Likewise.
7082 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7083 <support/check.h>.
7084 (CHECK_CPU_FEATURE): New.
7085 (CHECK_CPU_FEATURE_USABLE): Likewise.
7086 (cpu_kinds): Likewise.
7087 (do_test): Print vendor, family, model and stepping. Check
7088 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7089 (TEST_FUNCTION): Removed.
7090 Include <support/test-driver.c> instead of
7091 "../../test-skeleton.c".
7092 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7093 Check POPCNT instead of POPCOUNT.
7094 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7095
7b36d26b
ST
70962018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7097
7098 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7099 there is no element in `consts'.
7100
02cd5c1a
FW
71012018-12-01 Florian Weimer <fweimer@redhat.com>
7102
7103 * support/support_capture_subprocess.c
7104 (support_capture_subprocess): Check that pipe descriptors have
7105 expected values. Close original pipe descriptors in subprocess.
7106
fc493bc9
ST
71072018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7108
7109 [BZ #23032]
7110 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7111 attr with __pthread_default_barrierattr.
7112 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7113 attr with __pthread_default_condattr.
7114 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7115 attr with __pthread_default_mutexattr.
7116 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7117 attr with __pthread_default_rwlockattr.
7118
6310e6be
KW
71192018-12-01 Kemi Wang <kemi.wang@intel.com>
7120
7121 * manual/tunables.texi (POSIX Thread Tunables): New node.
7122 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7123 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7124 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7125 __pthread_tunables_init.
7126 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7127 (max_adaptive_count): Define.
7128 * nptl/pthread_mutex_conf.c: New file.
7129 * nptl/pthread_mutex_conf.h: New file.
7130 * sysdeps/generic/adaptive_spin_count.h: New file.
7131 * sysdeps/nptl/dl-tunables.list: New file.
7132 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7133 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7134 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7135 Likewise.
7136
8e67b39e
PP
71372018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7138
7139 [BZ #20544]
7140 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7141 * stdlib/on_exit.c (__on_exit): Likewise.
7142 * stdlib/Makefile (tests): Add tst-bz20544.
7143 * stdlib/tst-bz20544.c: New test.
7144
15b8d67e
RÁE
71452018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7146
7147 [BZ #19767]
7148 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7149 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7150 New.
7151
5e63c240
FW
71522018-11-30 Florian Weimer <fweimer@redhat.com>
7153
7154 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7155 Extend error logging.
7156 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7157 symbol.
7158
71058602 71592018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 7160
5fb7fc96
AZ
7161 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7162 __sigismember instead of sigismember.
7163 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7164 cancel_handler): New definitions.
7165 (do_system): Use posix_spawn instead of fork and execl and remove
7166 reentracy code.
7167 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7168 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7169 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7170 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7171 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7172 * sysdeps/unix/sysv/linux/system.c: Likewise.
7173
14d0e87d
AZ
7174 [BZ #22834]
7175 [BZ #17490]
7176 * NEWS: Add new semantic for atfork with popen and system.
7177 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7178 fork and execl.
7179
e5d262ef
TMQMF
71802018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7181
7182 [BZ #23690]
7183 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7184 modification order when accessing reloc_result->addr.
7185 * include/link.h (reloc_result): Add field init.
7186 * nptl/Makefile (tests): Add tst-audit-threads.
7187 (modules-names): Add tst-audit-threads-mod1 and
7188 tst-audit-threads-mod2.
7189 Add rules to build tst-audit-threads.
7190 * nptl/tst-audit-threads-mod1.c: New file.
7191 * nptl/tst-audit-threads-mod2.c: Likewise.
7192 * nptl/tst-audit-threads.c: Likewise.
7193 * nptl/tst-audit-threads.h: Likewise.
7194
7e1d4240
JM
71952018-11-30 Joseph Myers <joseph@codesourcery.com>
7196
7197 * scripts/gen-as-const.py: New file.
7198 * scripts/gen-as-const.awk: Remove.
7199 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7200 gen-as-const.py.
7201 ($(objpfx)test-as-const-%.c): Likewise.
7202
ce7387cc
L
72032018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7204
7205 * elf/dl-exception.c: Include <_itoa.h>.
7206
c6a5bdc1
ST
72072018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7208
7209 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7210 returned by __f_setlk.
7211
a5275ba5
L
72122018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7213 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7214
7215 * elf/Makefile (tests-internal): Add tst-create_format1.
7216 * elf/dl-exception.c (_dl_exception_create_format): Support
7217 %x, %lx and %zx.
7218 * elf/tst-create_format1.c: New file.
7219
3a67e81d
CAC
72202018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7221
7222 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7223 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7224 gnulib.)
7225 * argp/argp-help.c (__argp_failure): Likewise.
7226
4975f0c3
MH
72272018-11-29 Mao Han <han_mao@c-sky.com>
7228
7229 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7230 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7231 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7232 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7233 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7234 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7235 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7236 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7237 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7238 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7239 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7240 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7241 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7242 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7243 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7244 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7245 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7246 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7247 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7248 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7249 (R_CKCORE_TLS_TPOFF32): New defines.
7250
250102c8
FW
72512018-11-29 Florian Weimer <fweimer@redhat.com>
7252
7253 * posix/Makefile (before-compile): Remove testcases.h and
7254 ptestcases.h.
7255 (generated): Add testcases.h and ptestcases.h.
7256 (testcases.h, ptestcases.h): Move to $(objpfx).
7257 (runtests.o): Add dependency on testcases.h.
7258 (runptests.o): Add dependency on ptestcases.h.
7259 * posix/testcases.h, posix/ptestcases.h: Remove files.
7260 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7261 not touch posix/testcases.h and posix/ptestcases.h.
7262
96cd0558
FW
72632018-11-28 Florian Weimer <fweimer@redhat.com>
7264
7265 support: Add signal support to support_capture_subprocess_check.
7266 * support/capture_subprocess.h (support_capture_subprocess_check):
7267 Adjust comment and rename parameter.
7268 * support/support_capture_subprocess_check.c
7269 (print_actual_status): New function.
7270 (support_capture_subprocess_check): Support negative
7271 status_or_signal. Call print_actual_status.
7272 * support/tst-support_capture_subprocess.c (do_test): Call
7273 support_capture_subprocess_check.
7274 * libio/tst-vtables-common.c (termination_status)
7275 (init_termination_status): Remove.
7276 (check_for_termination): Adjust support_capture_subprocess_check
7277 call.
7278 (do_test): Remove call to init_termination_status.
7279
530504e3
JM
72802018-11-28 Joseph Myers <joseph@codesourcery.com>
7281
7282 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7283 source directory instead of a copy.
7284 (CommandList.create_copy_dir): Remove.
7285
9a0b6970
SL
72862018-11-28 Stefan Liebler <stli@linux.ibm.com>
7287
7288 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7289
47d8d9a2
FW
72902018-11-28 Florian Weimer <fweimer@redhat.com>
7291
7292 * support/support.h (support_quote_string): Do not use str
7293 parameter name.
7294
b473b7d8
JM
72952018-11-27 Joseph Myers <joseph@codesourcery.com>
7296
7297 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7298 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7299
c74a91de
FW
73002018-11-27 Florian Weimer <fweimer@redhat.com>
7301
7302 * support/support.h (support_quote_string): Declare.
7303 * support/support_quote_string.c: New file.
7304 * support/tst-support_quote_string.c: Likewise.
7305 * support/Makefile (libsupport-routines): Add
7306 support_quote_string.
7307 (tests): Add tst-support_quote_string.
7308
d527c860
FW
73092018-11-27 Florian Weimer <fweimer@redhat.com>
7310
7311 [BZ #23927]
7312 CVE-2018-19591
7313 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7314 descriptor leak in case of ENODEV error.
7315
979cfed0
RÁE
73162018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7317
7318 [BZ #19767]
7319 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7320 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7321 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7322
ce035c6e
CD
73232018-11-26 Carlos O'Donell <carlos@redhat.com>
7324
7325 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7326 Error for unknown lines.
7327
2bd0bfcc
JM
73282018-11-26 Joseph Myers <joseph@codesourcery.com>
7329
7330 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7331 Touch additional files.
7332
affec03b
FW
73332018-11-26 Florian Weimer <fweimer@redhat.com>
7334
7335 [BZ #23907]
7336 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7337 double-frees.
7338
8ae74ead
RÁE
73392018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7340
7341 [BZ #19767]
7342 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7343 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7344 SHARED. Include sysdep.h.
7345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7346 ALWAYS_USE_VSYSCALL.
7347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7348 ALWAYS_USE_VSYSCALL.
7349
1e8bdc3a
RÁE
73502018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7351
7352 [BZ #19767]
7353 * nptl/Makefile (tests-static): Add tst-cond11-static.
7354 (tests): Likewise.
7355 * nptl/tst-cond11-static.c: New File.
7356 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7357 tst-affinity-static.
7358 (tests): Likewise.
7359 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7360 instead of SHARED.
7361 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7362 (USE_VSYSCALL): Likewise.
7363 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7364 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7365 instead of SHARED.
7366 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7367 SHARED.
7368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7369 New.
7370
1283c478
JM
73712018-11-23 Joseph Myers <joseph@codesourcery.com>
7372
7373 [BZ #23915]
7374 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7375 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7376 Undefine.
7377
c089fd80
L
73782018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7379
7380 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7381 (tst-cet-legacy-1a-ARGS): New.
7382 ($(objpfx)tst-cet-legacy-1a): New target.
7383 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7384
cc6c89fa
JM
73852018-11-22 Joseph Myers <joseph@codesourcery.com>
7386
95edd05c
JM
7387 * conform/conformtest.py (CompileSubTest.__init__): Set
7388 self.run_early to False.
7389 (ExecuteSubTest.__init__): Likewise.
7390 (HeaderTests.run): Try running all non-optional, non-XFAILed
7391 compilation tests in a single execution of the compiler.
7392
cc6c89fa
JM
7393 * conform/conformtest.py (CompileSubTest): New class.
7394 (ExecuteSubTest): Likewise.
7395 (ElementTest.run): Rename to gen_subtests. Append tests to
7396 self.subtests instead of running them.
7397 (ConstantTest.run): Likewise.
7398 (SymbolTest.run): Likewise.
7399 (TypeTest.run): Likewise.
7400 (TagTest.run): Likewise.
7401 (FunctionTest.run): Likewise.
7402 (VariableTest.run): Likewise.
7403 (MacroFunctionTest.run): Likewise.
7404 (MacroStrTest.run): Likewise.
7405 (HeaderTests.handle_test_line): Generate subtests for tests.
7406 (HeaderTests.run): Run subtests for tests.
7407
a502c529
SN
74082018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7409
7410 * math/Versions (GLIBC_2.29): Add pow.
7411 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7412 symbol.
7413 * math/w_pow.c: New file.
7414 * sysdeps/i386/fpu/w_pow.c: New file.
7415 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7416 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7417 and add necessary aliases.
7418 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7419 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7420 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7421 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7422 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7423 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7424 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7425 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7426 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7427 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7428 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7429 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7430 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7431 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7432 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7437 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7438 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7439 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7440 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7441 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7442 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7443 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7444 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7445 __pow.
7446 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7447 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7448 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7449
718d6542
SN
74502018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7451
7452 * math/Versions (GLIBC_2.29): Add log2.
7453 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7454 symbol.
7455 * math/w_log2.c: New file.
7456 * sysdeps/i386/fpu/w_log2.c: New file.
7457 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7458 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7459 and add necessary aliases.
7460 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7461 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7462 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7463 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7464 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7465 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7466 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7467 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7468 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7469 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7470 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7471 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7472 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7473 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7474 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7479 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7480 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7481 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7482 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7483 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7484 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7485 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7486
f29b7c49
SN
74872018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7488
7489 * math/Versions (GLIBC_2.29): Add log.
7490 * math/w_log_compat.c (__log_compat): Change to versioned compat
7491 symbol.
7492 * math/w_log.c: New file.
7493 * sysdeps/i386/fpu/w_log.c: New file.
7494 * sysdeps/ia64/fpu/e_log.S: Update.
7495 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7496 and add necessary aliases.
7497 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7498 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7499 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7500 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7501 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7502 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7503 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7504 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7505 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7506 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7507 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7508 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7509 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7510 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7511 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7516 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7517 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7518 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7519 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7520 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7521 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7522 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7523 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7524 __log.
7525 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7526 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7527 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7528 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7529
c20a1056
SN
75302018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7531
7532 * math/Versions (GLIBC_2.29): Add exp and exp2.
7533 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7534 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7535 * math/w_exp_compat.c (__exp_compat): Likewise.
7536 * math/w_exp.c: New file.
7537 * math/w_exp2.c: New file.
7538 * sysdeps/i386/fpu/w_exp.c: New file.
7539 * sysdeps/i386/fpu/w_exp2.c: New file.
7540 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7541 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7542 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7543 and add necessary aliases.
7544 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7545 and add necessary aliases.
7546 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7547 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7548 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7549 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7550 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7551 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7552 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7553 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7554 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7555 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7556 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7557 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7558 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7559 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7560 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7561 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7562 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7567 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7568 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7569 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7570 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7571 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7572 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7573 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7574 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7575 (__ieee754_exp): Rename to __exp.
7576 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7577 (__ieee754_exp): Rename to __exp.
7578 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7579 (__ieee754_exp): Rename to __exp.
7580 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7581 __exp.
7582 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7583
bcdaad21
DD
75842018-11-20 DJ Delorie <dj@redhat.com>
7585
7586 * malloc/malloc.c (tcache_entry): Add key field.
7587 (tcache_put): Set it.
7588 (tcache_get): Likewise.
7589 (_int_free): Check for double free in tcache.
7590 * malloc/tst-tcfree1.c: New.
7591 * malloc/tst-tcfree2.c: New.
7592 * malloc/Makefile: Run the new tests.
7593 * manual/probes.texi: Document memory_tcache_double_free probe.
7594
7595 * dlfcn/dlerror.c (check_free): Prevent double frees.
7596
5770c0ad
WD
75972018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7598
7599 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7600
9a62a939
JM
76012018-11-20 Joseph Myers <joseph@codesourcery.com>
7602
7603 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7604 in tests. Use names for format arguments.
7605 (ConstantTest.run): Likewise.
7606 (SymbolTest.run): Likewise.
7607 (TypeTest.run): Likewise.
7608 (TagTest.run): Likewise.
7609 (FunctionTest.run): Likewise.
7610 (VariableTest.run): Likewise.
7611 (MacroFunctionTest.run): Likewise.
7612 (MacroStrTest.run): Likewise.
7613 (HeaderTests.__init__): Set self.num_tests.
7614 (HeaderTests.handle_test_line): Set test.num. Increment
7615 self.num_tests.
7616
b15b1a95
ST
76172018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7618
7619 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7620 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7621 SEEK_SET.
7622
0c7f97ae
MH
76232018-11-19 Mao Han <han_mao@c-sky.com>
7624
7625 * scripts/config.guess: Update to version 2018-08-29.
7626 * scripts/config.sub: Update to version 2018-08-29.
7627
35e3fbc4
FW
76282018-11-19 Florian Weimer <fweimer@redhat.com>
7629
7630 support: Print timestamps in timeout handler.
7631 * support/support_test_main.c (print_timestamp): New function.
7632 (signal_handler): Use it to print the termination time and the
7633 time of the last write to standard output.
7634
c75772e3
ZW
76352018-11-16 Zack Weinberg <zackw@panix.com>
7636 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7637
7638 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7639 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7640 argument.
7641 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7642 and add flags argument. Check flags instead of __ldbl_is_dbl when
7643 deciding whether to set is_long_double.
7644 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7645 passing zero for flags argument.
7646 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7647
7648 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7649 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7650 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7651 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7652 variable names. Remove libc_hidden_def/libc_hidden_proto from
7653 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7654 longer called from within the library.
7655 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7656 for __nldbl___vstrfmon_l, declare it explicitly.
7657
7658 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7659
346ef23f
ST
76602018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7661
7662 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7663 macros
7664 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7665 F_SETLK64, F_SETLKW64, respectively.
7666 * sysdeps/mach/hurd/f_setlk.c: New file.
7667 * sysdeps/mach/hurd/f_setlk.h: New file.
7668 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7669 f_setlk.
7670 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7671 (__libc_fcntl): Move non-flock operations to...
7672 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7673 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7674
de20b81a
PE
76752018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7676
5d8af156
PE
7677 mktime: DEBUG_MKTIME cleanup
7678 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7679 And it’s no longer needed now that glibc and Gnulib both have
7680 their own testing mechanisms for mktime.
7681 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7682
86aece3b
PE
7683 mktime: fix non-EOVERFLOW errno handling
7684 [BZ#23789]
7685 mktime was not properly reporting failures when the underlying
7686 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7687 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7688 The problem could happen on non-glibc platforms, with Gnulib.
7689 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7690 (tm_diff): ... this simpler function, which does not change errno.
7691 All callers changed to deal with errno themselves.
7692 (ranged_convert, __mktime_internal): Return failure immediately if
7693 the underlying function reports any failure other than EOVERFLOW.
7694 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7695 gap code fails.
7696
f6b3331b
PE
7697 mktime: fix bug with Y2038 DST transition
7698 [BZ#23789]
7699 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7700 mishandle a DST transition that jumps over the Y2038 boundary.
7701 No such DST transitions are known so this is only a theoretical
7702 bug, but we might as well do things right.
7703
efbdddc3
PE
7704 mktime: make more room for overflow
7705 [BZ#23789]
7706 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7707 This is so that we can add tm_diff results to a previous guess,
7708 which will be useful in a later patch.
7709
6c90d759
PE
7710 mktime: simplify offset guess
7711 [BZ#23789]
7712 * time/mktime.c (__mktime_internal): Omit excess precision.
7713
32c12f3f
PE
7714 mktime: new test for mktime failure
7715 [BZ#23789]
7716 Based on a test suggested by Albert Aribaud in:
7717 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7718 * time/Makefile (tests): Add bug-mktime4.
7719 * time/bug-mktime4.c: New file.
7720
de20b81a
PE
7721 mktime: fix EOVERFLOW bug
7722 [BZ#23789]
7723 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7724 Include libc-config.h, not config.h, for __set_errno.
7725 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7726
8c6c3fb0
ST
77272018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7728
7729 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7730 __attribute_copy__ to copy attributes from name. Drop static qualifier
7731 to avoid warnings about leaf attribute not having effect on static
7732 functions.
7733
6923f6db
FW
77342018-11-13 Florian Weimer <fweimer@redhat.com>
7735
7736 * malloc/malloc.c (fastbin_push_entry): New function.
7737 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7738 (REMOVE_FB): Remove macro.
7739 (_int_malloc): Use fastbin_pop_entry and reindent.
7740 (_int_free): Use fastbin_push_entry.
7741 (malloc_consolidate): Use atomic_exchange_acquire.
7742
53f5c659
JM
77432018-11-13 Joseph Myers <joseph@codesourcery.com>
7744
0c096dcf
JM
7745 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7746 alias attribute, not with strong_alias.
7747
9c4b457e
JM
7748 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7749 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7750 with additional parameter thread.
7751 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7752 in terms of __hidden_ver2.
7753 (hidden_tls_def): New macro.
7754 (libc_hidden_tls_def): Likewise.
7755 (rtld_hidden_tls_def): Likewise.
7756 (libm_hidden_tls_def): Likewise.
7757 (libmvec_hidden_tls_def): Likewise.
7758 (libresolv_hidden_tls_def): Likewise.
7759 (librt_hidden_tls_def): Likewise.
7760 (libdl_hidden_tls_def): Likewise.
7761 (libnss_files_hidden_tls_def): Likewise.
7762 (libnsl_hidden_tls_def): Likewise.
7763 (libnss_nisplus_hidden_tls_def): Likewise.
7764 (libutil_hidden_tls_def): Likewise.
7765 (libutil_hidden_tls_def): Likweise.
7766 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7767 libc_hidden_tls_def.
7768 (__sim_disabled_exceptions_thread): Likewise.
7769 (__sim_round_mode_thread): Likewise.
7770
53f5c659
JM
7771 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7772 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7773 copy attributes from name.
7774
092dfde6
JM
77752018-11-12 Joseph Myers <joseph@codesourcery.com>
7776
f578f97b
JM
7777 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7778 Use __attribute_copy__ to copy attributes from name.
7779
9a7c643a
JM
7780 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7781 with __hidden_ver1 call.
7782 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7783 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7784 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7785 (__cosf): Do not declare here.
7786 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7787 (__sincosf): Do not declare here.
7788 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7789 (__sinf): Do not declare here.
7790
092dfde6
JM
7791 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7792 (__BIG_ENDIAN): Likewise.
7793 (__BYTE_ORDER): Likewise.
7794 (strong_alias): Likewise.
7795 (_strong_alias): Likewise.
7796
1ecba1fa
FW
77972018-11-12 Florian Weimer <fweimer@redhat.com>
7798
7799 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7800 function. Move after the definition of in_smallbin_range. Do not
7801 use __builtin_expect for paths that lead to a noreturn function.
7802 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7803 because it is unclear whether this is in fact an unlikely
7804 condition.
7805 (_int_malloc, _int_free): Adjust.
7806 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7807 variables.
7808 * malloc/arena.c (heap_trim): Likewise.
7809
434c34bd
ST
78102018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7811
7812 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7813 it, free it if needed.
7814 (reauthenticate): Test and use ccwdir.
7815 (child_init_port): In non-resetids case, test and use ccwdir.
7816 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
7817 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7818 * hurd/hurd/port.h (_hurd_port_move): New function.
7819 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7820 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
7821 * hurd/Versions (_hurd_port_move): Export function.
7822 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7823 symbol.
58bb655a
ST
7824 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7825 of dtablesize for allocating dtable_cloexec.
434c34bd 7826
1626a1cf
MS
78272018-11-09 Martin Sebor <msebor@redhat.com>
7828
7829 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7830 it's already defined.
7831 (_strong_alias): Use __attribute_copy__.
7832 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7833 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7834 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7835 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7836 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7837 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7838 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7839 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7840 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7841 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7842 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7843 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7844 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7845 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7846 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7847 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7848 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7849 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7850 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7851
968ed530
GG
78522018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7853
7854 * misc/tst-efgcvt.c: Include support/check.h and
7855 support/test-driver.c. Do not include test-skeleton.c.
7856 (error_count): Remove.
7857 (output_error): Replace increments to error_count with calls to
7858 support_record_failure.
7859 (output_r_error): Likewise.
7860 (special): Likewise.
7861 (do_test): Unconditionally return zero.
7862 (TEST_FUNCTION): Remove.
7863
c3ec0972
JM
78642018-11-09 Joseph Myers <joseph@codesourcery.com>
7865
91faaa93
JM
7866 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7867 not $(@D)/scratch.
7868 ($(linknamespace-header-tests)): Likewise.
7869
c3ec0972
JM
7870 * conform/conformtest.py: New file.
7871 * conform/conformtest.pl: Remove.
7872 * conform/GlibcConform.pm: Likewise.
7873 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7874 (KEYWORDS_C99): Likewise.
7875 (KEYWORDS): Likewise.
7876 * conform/Makefile ($(conformtest-header-tests)): Use
7877 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7878 option. Use --header instead of --headers.
7879 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7880 function entries.
7881 * conform/data/spawn.h-data: Likewise.
7882 * conform/data/fcntl.h-data (openat): Add space after function
7883 name.
7884 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7885 (wcscasecmp_l): Likewise.
7886 * conform/data/termios.h-data (c_cc): Add space after element
7887 name.
7888
43257c33
GG
78892018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7890
7891 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7892 instead of manually comparing and reporting mismatching strings.
7893 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7894 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7895
e5de3b5b
JM
78962018-11-08 Joseph Myers <joseph@codesourcery.com>
7897
7898 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7899 __ASSUME_SOCKETCALL.
7900 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7901 (__ASSUME_SOCKETCALL): Remove.
7902 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7903 (__ASSUME_SOCKETCALL): Likewise.
7904 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7905 (__ASSUME_SOCKETCALL): Likewise.
7906 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7907 (__ASSUME_SOCKETCALL): Likewise.
7908 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7909 (__ASSUME_SOCKETCALL): Likewise.
7910 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7911 (__ASSUME_SOCKETCALL): Likewise.
7912 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7913 (__ASSUME_SOCKETCALL): Likewise.
7914
d524fa6c
L
79152018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7916
7917 [BZ #23509]
7918 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7919 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7920 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7921 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7922 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7923 lc_unknown.
7924
ac806026
AH
79252018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7926
7927 [BZ #17630]
7928 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7929
596cc360
JM
79302018-11-07 Joseph Myers <joseph@codesourcery.com>
7931
7932 [BZ #23867]
7933 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7934 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7935 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7936 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7937
00c86a37
AZ
79382018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7939
7940 * support/support_test_compare_string.c
7941 (support_test_compare_string): Fix printf format.
7942
1df872fd
FW
79432018-11-07 Florian Weimer <fweimer@redhat.com>
7944
7945 Implement TEST_COMPARE_STRING.
7946 * support/check.h (TEST_COMPARE_STRING): Define.
7947 (support_test_compare_string): Declare.
7948 * support/Makefile (libsupport-routines): Add
7949 support_test_compare_string.
7950 (tests): Add tst-test_compare_string.
7951 * support/support_test_compare_string.c: New file.
7952 * support/tst-test_compare_string.c: Likewise.
7953
295132ff
AS
79542018-11-07 Andreas Schwab <schwab@suse.de>
7955
7956 [BZ #23864]
7957 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7958 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7959 Undef.
7960
e143ceba
JM
79612018-11-06 Joseph Myers <joseph@codesourcery.com>
7962
7963 [BZ #23862]
7964 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7965 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7966 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7967 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7968 Likewise.
7969
4a938cb2
FW
79702018-11-06 Florian Weimer <fweimer@redhat.com>
7971
7972 [BZ #17405]
7973 * posix/Makefile (routines): Add spawn_faction_addchdir.
7974 (tests): Add tst-spawn-chdir.
7975 * posix/Versions (GLIBC_2.29): Add
7976 posix_spawn_file_actions_addchdir_np.
7977 * posix/spawn_faction_addchdir.c: New file.
7978 * posix/spawn_faction_destroy.c
7979 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7980 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7981 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7982 chdir_action.
7983 * posix/tst-spawn-chdir.c: New file.
7984 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7985 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7986 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7987 posix_spawn_file_actions_addchdir_np.
7988 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7989 Likewise.
7990 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7991 Likewise.
7992 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7993 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7994 Likewise.
7995 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7996 Likewise.
7997 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7998 Likewise.
7999 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8000 Likewise.
8001 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8002 Likewise.
8003 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8004 Likewise.
8005 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8006 (GLIBC_2.29): Likewise.
8007 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8008 (GLIBC_2.29): Likewise.
8009 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8010 (GLIBC_2.29): Likewise.
8011 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8012 (GLIBC_2.29): Likewise.
8013 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8014 Likewise.
8015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8016 (GLIBC_2.29): Likewise.
8017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8018 (GLIBC_2.29): Likewise.
8019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8020 (GLIBC_2.29): Likewise.
8021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8022 (GLIBC_2.29): Likewise.
8023 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8024 Likewise.
8025 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8026 Likewise.
8027 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8028 Likewise.
8029 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8030 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8031 Likewise.
8032 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8033 Likewise.
8034 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8035 Likewise.
8036 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8037 Likewise.
8038
7597b0c7
GG
80392018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8040
8041 * misc/Makefile (tests): Add tst-ldbl-error.
8042 * misc/tst-ldbl-error.c: New file.
8043
9771e6cb
GG
80442018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8045
8046 * misc/Makefile (tests): Add tst-ldbl-warn.
8047 * misc/tst-ldbl-warn.c: New file.
8048
2c03961f
GG
80492018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8050
8051 * argp/Makefile (tests): Add tst-ldbl-argp.
8052 * argp/tst-ldbl-argp.c: New file.
8053
6d6ee046
AS
80542018-11-05 Arjun Shankar <arjun@redhat.com>
8055
8056 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8057 __gconv_path_elem and call __gconv_get_path unconditionally.
8058
bd3b0fba
AS
80592018-11-05 Andreas Schwab <schwab@suse.de>
8060
8061 [BZ #22927]
8062 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8063 creating the first helper thread failed.
8064
2e96e980
ST
80652018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8066
8067 * sysdeps/mach/hurd/msync.c: New file.
8068
6e36266c
FW
80692018-11-02 Florian Weimer <fweimer@redhat.com>
8070
8071 * support/shell-container.c (copy_func): Call
8072 support_copy_file_range instead of copy_file_range to support
8073 cross-device copies.
8074
599f7bee
FW
80752018-11-02 Florian Weimer <fweimer@redhat.com>
8076
8077 * support/test-container.c: Include <libc-pointer-arith.h> for
8078 ALIGN_UP.
8079
ff48ea67
ZL
80802018-11-01 Zong Li <zong@andestech.com>
8081
af1d5782
ZL
8082 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8083 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8084 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8085 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8086
ff48ea67
ZL
8087 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8088 variable to avoid overlap arguments.
8089
daea71c2
JM
80902018-11-01 Joseph Myers <joseph@codesourcery.com>
8091
eac4405a
JM
8092 * posix/bug-regex22.c (main): Use puts with distinct error
8093 messages for unexpected success of re_compile_pattern, not printf
8094 with NULL argument to %s.
8095
6f30e59f
JM
8096 * stdio-common/bug22.c: Include <libc-diag.h>.
8097 (do_test): Disable -Wformat-overflow= warnings around fprintf
8098 calls outputting more than INT_MAX characters.
8099 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8100 around printf call with NULL %s argument.
8101
daea71c2
JM
8102 [BZ #23848]
8103 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8104 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8105 Undefine.
8106 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8107 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8108 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8109 (__ASSUME_SENDTO_SYSCALL): Likewise.
8110 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8111 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8112 [!__arch64__].
8113 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8114 (__ASSUME_CONNECT_SYSCALL): Likewise.
8115 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8116 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8117 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8118 Define.
8119 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8120 Likewise.
8121 [__LINUX_KERNEL_VERSION >= 0x040400]
8122 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8123 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8124 Remove.
8125 (listen): Likewise.
8126 (setsockopt): Likewise.
8127
8e3c00db
FN
81282018-11-01 Fredrik Noring <noring@nocrew.org>
8129
8130 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8131 with the ISA override.
8132
9c3dbdbe
RAE
81332018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8134
8135 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8136 #endif.
8137
e3a88b3e
ST
81382018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8139
a67377e7 8140 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 8141 translate the error message.
a67377e7
ST
8142 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8143 printing trailing whitespaces refused by git.
8144 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8145 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 8146 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 8147
3ca235ed
JM
81482018-10-30 Joseph Myers <joseph@codesourcery.com>
8149
8150 * conform/linknamespace.py: New file.
8151 * conform/linknamespace.pl: Remove file.
8152 * conform/Makefile ($(linknamespace-header-tests)): Use
8153 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8154 option.
8155
60708030
FW
81562018-10-30 Florian Weimer <fweimer@redhat.com>
8157
8158 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8159 memory leaks.
8160
a91e9301
FW
81612018-10-30 Florian Weimer <fweimer@redhat.com>
8162
8163 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8164
07da99aa
FW
81652018-10-30 Florian Weimer <fweimer@redhat.com>
8166
8167 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8168 support_blob_repeat.
8169
f5e7e959
FW
81702018-10-30 Florian Weimer <fweimer@redhat.com>
8171
8172 Avoid spurious test failures in stdlib/test-bz22786.
8173 * support/Makefile (libsupport-routines): Add blob_repeat.
8174 (tests): Add tst-support_blob_repeat.
8175 * support/blob_repeat.h: New file.
8176 * support/blob_repeat.c: Likewise.
8177 * support/tst-support_blob_repeat.c: Likewise.
8178 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8179 support_blob_repeat_allocate.
8180
2dd12baa
AS
81812018-10-30 Andreas Schwab <schwab@suse.de>
8182
8183 [BZ #23125]
8184 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8185 Don't use tail call.
8186 * elf/tst-unwind-main.c: New file.
8187 * elf/Makefile (tests): Add tst-unwind-main.
8188 (CFLAGS-tst-unwind-main.c): Define.
8189
6b5c8607 81902018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
8191
8192 [BZ #23791]
8193 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8194 n_cs_precedes to 0.
8195 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8196
c6982f7e
JM
81972018-10-29 Joseph Myers <joseph@codesourcery.com>
8198
954cf3c2
JM
8199 * conform/glibcconform.py: Do not import shutil.
8200 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8201 of mkdtemp.
8202
c6982f7e
JM
8203 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8204 critic_missing for versions before 3.4.
8205 * configure: Regenerated.
8206 * manual/install.texi (Tools for Compilation): Document
8207 requirement for Python to build glibc.
8208 * INSTALL: Regenerated.
8209 * Rules [PYTHON]: Make code unconditional.
8210 * benchtests/Makefile [PYTHON]: Likewise.
8211 * conform/Makefile [PYTHON]: Likewise.
8212 * manual/Makefile [PYTHON]: Likewise.
8213 * math/Makefile [PYTHON]: Likewise.
8214
46a7f24c
ST
82152018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8216
8217 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 8218 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 8219 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
8220 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8221 _hurd_intr_rpc_msg_about_to global point to start of controlled
8222 assembly snippet. Make it check canceled flag.
8223 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8224 the _hurd_intr_rpc_msg_about_to point.
8225 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8226 issue, remove cancel flag check.
46a7f24c 8227
e5b8756d
JM
82282018-10-26 Joseph Myers <joseph@codesourcery.com>
8229
8230 * scripts/build-many-glibcs.py: Remove compatibility for missing
8231 os.cpu_count and re.fullmatch.
8232
ba5b14c7
SN
82332018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8234
8235 [BZ #23822]
8236 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8237 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8238 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8239
fe61f17c
JM
82402018-10-25 Joseph Myers <joseph@codesourcery.com>
8241
8242 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8243 macro.
8244
7c5e34d7
FW
82452018-10-25 Florian Weimer <fweimer@redhat.com>
8246
8247 [BZ #23562]
8248 [BZ #23821]
8249 XFAIL siginfo_t si_band conform test on sparc64.
8250 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8251 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8252 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8253 (conformtest-xfail-conds): Add sparc64-linux.
8254 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8255 sparc64.
8256 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8257
5b784e88
JM
82582018-10-25 Joseph Myers <joseph@codesourcery.com>
8259
8260 * elf/elf.h (NT_MIPS_DSP): New macro.
8261 (NT_MIPS_FP_MODE): Likewise.
8262
41432ebe
ZL
82632018-10-25 Zong Li <zong@andestech.com>
8264
8265 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8266 name by adding the file extension (.so).
8267
d026efea
ST
82682018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8269
8270 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8271 (test-xfail-ISO11/threads.h/linknamespace,
8272 test-xfail-ISO11/threads.h/conform): Add.
8273
b71ac2b9
JM
82742018-10-24 Joseph Myers <joseph@codesourcery.com>
8275
8276 * math/gen-libm-test.py: Import os.
8277 (ALL_FLOATS_MANUAL): New constant.
8278 (ALL_FLOATS_SUFFIX): Likewise.
8279 (Ulps.all_functions): New function.
8280 (real_all_ulps): Likewise.
8281 (generate_err_table_sub): Likewise.
8282 (generate_err_table): Likewise.
8283 (main): Handle -s and -m options.
8284 * manual/libm-err-tab.pl: Remove.
8285 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8286 instead of libm-err-tab.pl.
8287 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8288 != no].
8289 * manual/install.texi (Tools for Compilation): Document
8290 requirement for Python to build manual.
8291 * INSTALL: Regenerated.
8292
6b5c8607 82932018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
8294
8295 * bits/time64.h: New file.
8296 * include/time.h: Replace internal_time_t with __time64_t.
8297 * posix/bits/types (__time64_t): Add.
8298 * stdlib/Makefile: Add bits/time64.h to includes.
8299 * time/tzfile.c: Replace internal_time_t with __time64_t.
8300
97d91fcc 83012018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
8302
8303 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8304 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8305 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8306 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8307 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8308 prototype.
8309 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8310 * posix/spawn_faction_addclose.c
8311 (__posix_spawn_file_actions_addclose): Add hidden definition.
8312 * posix/spawn_faction_adddup2.c
8313 (__posix_spawn_file_actions_adddup2): Likewise.
8314 * posix/spawn_faction_destroy.c
8315 (__posix_spawn_file_actions_destroy): Likewise.
8316 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8317 Likewise.
8318 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8319 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8320 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8321 Likewise.
8322 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8323 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8324 Likewise.
8325
2954daf0
AS
83262018-10-24 Andreas Schwab <schwab@suse.de>
8327
8328 [BZ #18093]
8329 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8330 format cache.
8331 * elf/cache.c (print_cache): Likewise.
8332
6b5c8607 83332018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
8334
8335 * bits/timesize.h: New file.
8336 * stdlib/Makefile (headers): Add bits/timesize.h.
8337 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8338 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8339 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8340 (__SEM_PAD_AFTER_TIME): Likewise.
8341 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8342 (__SHM_PAD_AFTER_TIME): Likewise.
8343 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8344 (__MSQ_PAD_BEFORE_TIME): Likewise.
8345 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8346 (__SEM_PAD_BEFORE_TIME): Likewise.
8347 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8348 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8349 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
8350 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8351 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8352 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
8353 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8354 (__SEM_PAD_BEFORE_TIME): Likewise.
8355 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8356 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8357 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8358 (__MSQ_PAD_BEFORE_TIME): Likewise.
8359 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8360 (__SEM_PAD_BEFORE_TIME): Likewise.
8361 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8362 (__SHM_PAD_BEFORE_TIME): Likewise.
8363 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8364 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8365 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8366
7cc65773
L
83672018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8368
8369 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8370 USE_RDTSCP is defined.
8371 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8372 USE_RDTSCP is defined.
8373
c3d8dc45
AZ
83742018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8375
18ad0de6
AZ
8376 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8377 defined.
8378
c3d8dc45
AZ
8379 [BZ #23709]
8380 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8381 independently of other flags.
8382
f1034472
FW
83832018-10-23 Florian Weimer <fweimer@redhat.com>
8384
8385 * time/tst-mktime2.c (N_STRINGS): Remove.
8386 (set_timezone): New function.
8387 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8388 (mktime_test1): Report localtime failure and check errno value.
8389 Use TEST_COMPARE.
8390 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8391 (do_test): Remove alarm call. Use set_timezone and array_length.
8392
367d7cc2
AS
83932018-10-23 Andreas Schwab <schwab@suse.de>
8394
8395 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8396 (__start_context): Use END instead of PSEUDO_END.
8397
be8ff03f
JM
83982018-10-22 Joseph Myers <joseph@codesourcery.com>
8399
029ad711
JM
8400 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8401 version to 4.19.
8402
8190520f
JM
8403 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8404 version to 4.19.
8405
be8ff03f
JM
8406 [BZ #23793]
8407 * wcsmbs/c32rtomb.c: New file.
8408 * wcsmbs/mbrtoc32.c: Likewise.
8409 * wcsmbs/tst-c32-state.c: Likewise.
8410 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8411 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8412 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8413 (tests): Add tst-c32-state.
8414 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8415 $(gen-locales).
8416
2dd8e58c
L
84172018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8418
8419 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8420 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8421
d0a74159
JM
84222018-10-19 Joseph Myers <joseph@codesourcery.com>
8423
8424 [BZ #23794]
8425 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8426 pair and return 0 in that case, and use saved character to
8427 interpret following character.
8428 * wcsmbs/tst-c16-surrogate.c: New file.
8429 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8430 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8431 Depend on $(gen-locales)
8432
f997b4be
IYM
84332018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8434
8435 [BZ #23562]
8436 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8437 (struct siginfo_t): Use correct type for si_band.
8438
53b2bb87
FW
84392018-10-19 Florian Weimer <fweimer@redhat.com>
8440
8441 [BZ #23689]
8442 * resource/bits/types/struct_rusage.h (struct rusage): Update
8443 comment on struct. Remove extraneous field comment.
8444
0a271c8f
DM
84452018-10-18 David S. Miller <davem@davemloft.net>
8446
94a3a27f
DM
8447 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8448 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8449 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8450 sysdep_routines in subdir elf.
8451 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8452 version for __vdso_clock_gettime.
8453 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8454 Define.
8455 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8456 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8457
0a271c8f
DM
8458 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8459
72771e53
L
84602018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8461
8462 * sysdeps/i386/init-arch.h: Removed.
8463 * sysdeps/i386/i586/init-arch.h: Likewise.
8464 * sysdeps/i386/i686/init-arch.h: Likewise.
8465 * sysdeps/i386/i686/hp-timing.h: Likewise.
8466 * sysdeps/x86_64/hp-timing.h: Likewise.
8467 * sysdeps/i386/isa.h: New file.
8468 * sysdeps/i386/i586/isa.h: Likewise.
8469 * sysdeps/i386/i686/isa.h: Likewise.
8470 * sysdeps/x86_64/isa.h: Likewise.
8471 * sysdeps/x86/hp-timing.h: New file.
8472 * sysdeps/x86/init-arch.h: Include <isa.h>.
8473
c2b7ccad
JM
84742018-10-17 Joseph Myers <joseph@codesourcery.com>
8475
8476 * math/libm-test-pow.inc (pow_test_data): Do not allow
8477 divide-by-zero exception for pow(+/- 0, -Inf).
8478
26756e57
ZW
84792018-10-17 Zack Weinberg <zackw@panix.com>
8480
8481 * manual/job.texi (Job Control is Optional): Remove node, as
8482 job control has not been optional in quite some time.
8483 (Job Control): Mention briefly that systems older than
8484 POSIX.1-2001 might not support job control.
8485 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8486 defined on systems conforming to POSIX.1-2001.
8487
c5288d37
AS
84882018-10-17 Arjun Shankar <arjun@redhat.com>
8489
8490 [BZ #22062]
8491 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8492 indentation.
8493 * (__gconv_read_conf): Mark function static.
8494 * (once): New static variable.
8495 * (__gconv_load_conf): New function.
8496 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8497 * iconv/gconv_db.c (once): Remove static variable.
8498 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8499 __gconv_read_conf.
8500 * (__gconv_find_transform): Likewise.
8501 * iconv/tst-iconv-mt.c: New test.
8502 * iconv/Makefile: Add tst-iconv_mt.
8503
8c8d2a8a
JM
85042018-10-17 Joseph Myers <joseph@codesourcery.com>
8505
8506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
8507 bits/shm-pad.h.
8508 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8509 (shmatt_t): Define as __syscall_ulong_t.
8510 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8511 and [__SHM_PAD_AFTER_TIME].
8512 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8513 Define shm_segsz and associated padding based on
8514 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8515 Use __syscall_ulong_t instead of unsigned long int.
8516 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8517 unsigned long int.
8518 [__USE_MISC] (struct shm_info): Likewise.
8519 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8520 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8521 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8522 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8523 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8524 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8525 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8526 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8527 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8528 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8529 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8530
8531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
8532 bits/shmlba.h.
8533 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8534 (SHMLBA): Remove macro.
8535 (__getpagesize): Remove function declaration.
8536 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8537 <bits/shmlba.h>.
8538 (SHMLBA): Remove macro.
8539 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8540 <bits/shmlba.h>.
8541 (SHMLBA): Remove macro.
8542 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8543 <bits/shmlba.h>.
8544 (SHMLBA): Remove macro.
8545 (__getpagesize): Remove function declaration.
8546 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8547 <bits/shmlba.h>.
8548 (SHMLBA): Remove macro.
8549 (__getshmlba): Remove function declaration.
8550 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8551 (SHMLBA): Remove macro.
8552 (__getpagesize): Remove function declaration.
8553 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8554 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8555 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8556 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8557 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8558 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8559 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8560 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8561 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8562 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8563
403b4feb
SL
85642018-10-17 Stefan Liebler <stli@linux.ibm.com>
8565
8566 [BZ #23275]
8567 * nptl/tst-mutex10.c: New File.
8568 * nptl/Makefile (tests): Add tst-mutex10.
8569 (tst-mutex10-ENV): New variable.
8570 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8571 Ensure that elision path is used if elision is available.
8572 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8573 Likewise.
8574 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8575 Likewise.
8576 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8577 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8578 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8579 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8580 Likewise.
8581 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8582 (__pthread_mutex_cond_lock_adjust): Likewise.
8583 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8584 Likewise.
8585 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8586 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8587 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8588 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8589 Add comments.
8590 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8591 Use atomic_load_relaxed and atomic_store_relaxed.
8592 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8593 Use atomic_store_relaxed.
8594
ce5a7de6
AS
85952018-10-17 Andreas Schwab <schwab@suse.de>
8596
8597 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8598 * crypt/badsalttest.c (TIMEOUT): Likewise.
8599 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8600 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8601 * io/test-lfs.c (TIMEOUT): Likewise.
8602 * libio/tst-atime.c (TIMEOUT): Likewise.
8603 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8604 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8605 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8606 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8607 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8608 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8609 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8610 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8611 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8612 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8613 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8614 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8615 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8616 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8617 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8618 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8619 * nptl/tst-once2.c (TIMEOUT): Likewise.
8620 * nptl/tst-once3.c (TIMEOUT): Likewise.
8621 * nptl/tst-once4.c (TIMEOUT): Likewise.
8622 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8623 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8624 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8625 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8626 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8627 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8628 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8629 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8630 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8631 * posix/tst-chmod.c (TIMEOUT): Likewise.
8632 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8633 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8634 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8635 * posix/tst-regex2.c (TIMEOUT): Likewise.
8636 * posix/tst-waitid.c (TIMEOUT): Likewise.
8637 * rt/tst-aio.c (TIMEOUT): Likewise.
8638 * rt/tst-aio10.c (TIMEOUT): Likewise.
8639 * rt/tst-aio4.c (TIMEOUT): Likewise.
8640 * rt/tst-aio5.c (TIMEOUT): Likewise.
8641 * rt/tst-aio6.c (TIMEOUT): Likewise.
8642 * rt/tst-aio64.c (TIMEOUT): Likewise.
8643 * rt/tst-aio7.c (TIMEOUT): Likewise.
8644 * rt/tst-aio9.c (TIMEOUT): Likewise.
8645 * rt/tst-clock.c (TIMEOUT): Likewise.
8646 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8647 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8648 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8649 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8650 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8651 * rt/tst-timer4.c (TIMEOUT): Likewise.
8652 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8653 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8654 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8655 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8656 * time/tst-ftime.c (TIMEOUT): Likewise.
8657 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8658
6b5c8607 86592018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
8660
8661 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8662 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8663 for thunderX2.
8664
bcdb1bfa
JM
86652018-10-15 Joseph Myers <joseph@codesourcery.com>
8666
8667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8668 bits/sem-pad.h.
8669 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8670 instead of <bits/wordsize.h>.
8671 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8672 and [__SEM_PAD_AFTER_TIME].
8673 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8674 __syscall_ulong_t instead of unsigned long int.
8675 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8676 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8677 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8678 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8679 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8680 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8681 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8682 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8683 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8684 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8685 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8686
f4efbdfb
PE
86872018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8688
620a5d4c
PE
8689 regex: simplify by using intprops.h
8690 [BZ#23744]
8691 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8692 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8693 intprops.h defines them.
8694
f4efbdfb
PE
8695 regex: __builtin_expect → __glibc_unlikely
8696 [BZ#23744]
8697 This refactoring was prompted by a problem when the regex code is
8698 used as part of Gnulib and when the builder’s compiler does not grok
8699 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8700 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8701 Although this refactoring does not fix the problem directly,
8702 we might as well have Gawk use the now-preferred glibc style for when
8703 __builtin_expect is unavailable.
8704 * posix/regex_internal.h (BE): Remove.
8705 All uses replaced by __glibc_unlikely or __glibc_likely.
8706
9f9feb6d
JM
87072018-10-11 Joseph Myers <joseph@codesourcery.com>
8708
8709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8710 bits/msq-pad.h.
8711 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8712 instead of <bits/wordsize.h>.
8713 (msgqnum_t): Define as __syscall_ulong_t.
8714 (msglen_t): Likewise.
8715 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8716 and [__MSQ_PAD_AFTER_TIME].
8717 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8718 __syscall_ulong_t instead of unsigned long int.
8719 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8720 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8721 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8722 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8723 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8724 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8725 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8726 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8727 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8728 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8729 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8730
b9c0f6c1
JM
87312018-10-10 Joseph Myers <joseph@codesourcery.com>
8732
2a4b25fa
JM
8733 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8734 (struct shmid_ds): Condition padding after time fields on
8735 [__WORDSIZE == 32].
8736 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8737 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8738 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8739
19e62f26
JM
8740 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8741 (struct semid_ds): Condition padding after time fields on
8742 [__WORDSIZE == 32].
8743 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8744 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8745 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8746 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8747
b9c0f6c1
JM
8748 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8749 (struct msqid_ds): Condition padding after time fields on
8750 [__WORDSIZE == 32].
8751 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8752 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8753 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8754 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8755
97785a61
SN
87562018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8757
8758 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8759
ed643089
SN
87602018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8761
8762 * libio/tst-readline.c (TIMEOUT): Define.
8763
5a580643
PE
87642018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8765
8766 mktime fix for Gnulib + coreutils
8767 [BZ#23745]
8768 This fix affects only Gnulib. Problem discovered when
8769 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8770 * time/mktime.c:
8771 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8772 Do not define since it is not used. Defining an unused static
8773 function prompts a warning from GCC when Coreutils is configured
8774 with --enable-gcc-warnings.
8775
c892ae04
LS
87762018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8777
8778 * benchtests/scripts/compare_bench.py (main): set float type on
8779 threshold argument.
8780
a68ec8ea
RL
87812018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8782
8783 [BZ #23740]
8784 * localedata/locales/kl_GL (mon): Update, the relative case.
8785 (alt_mon): Add, fill with month names in the nominative case.
8786 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8787 (d_fmt): Set to "%b %d %Y".
8788
a1987621
JM
87892018-10-04 Joseph Myers <joseph@codesourcery.com>
8790
47c49251
JM
8791 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8792 <bits/mman-linux.h>.
8793 (PROT_READ): Don't define here.
8794 (PROT_WRITE): Likewise.
8795 (PROT_EXEC): Likewise.
8796 (PROT_NONE): Likewise.
8797 (PROT_GROWSDOWN): Likewise.
8798 (PROT_GROWSUP): Likewise.
8799 (MAP_SHARED): Likewise.
8800 (MAP_PRIVATE): Likewise.
8801 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8802 [__USE_MISC] (MAP_FILE): Likewise.
8803 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8804 [__USE_MISC] (MAP_ANON): Likewise.
8805 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8806 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8807 (MCL_CURRENT): Likewise.
8808 (MCL_FUTURE): Likewise.
8809 (MCL_ONFAULT): Likewise.
8810 [__USE_MISC] (MADV_NORMAL): Likewise.
8811 [__USE_MISC] (MADV_RANDOM): Likewise.
8812 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8813 [__USE_MISC] (MADV_WILLNEED): Likewise.
8814 [__USE_MISC] (MADV_DONTNEED): Likewise.
8815 [__USE_MISC] (MADV_FREE): Likewise.
8816 [__USE_MISC] (MADV_REMOVE): Likewise.
8817 [__USE_MISC] (MADV_DONTFORK): Likewise.
8818 [__USE_MISC] (MADV_DOFORK): Likewise.
8819 [__USE_MISC] (MADV_HWPOISON): Likewise.
8820 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8821 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8822 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8823 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8824 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8825 (__MAP_ANONYMOUS): New macro.
8826 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8827 <bits/mman-linux.h> inclusion.
8828 (MAP_FIXED): Likewise.
8829 (MS_SYNC): Likewise.
8830 (MS_ASYNC): Likewise.
8831 (MS_INVALIDATE): Likewise.
8832 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8833 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8834 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8835 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8836 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8837 [__USE_MISC] (MADV_DODUMP): Likewise.
8838 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8839 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8840
a1987621
JM
8841 [BZ #23735]
8842 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8843 Define.
8844 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8845 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8846 Add test-nldbl-redirect.
8847 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8848 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8849 $(objpfx)libnldbl_nonshared.a.
8850
e7624d70
SL
88512018-10-04 Stefan Liebler <stli@linux.ibm.com>
8852
8853 * support/support.h (support_objdir_elf_ldso): New variable.
8854 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8855 * support/Makefile (CFLAGS-support_paths.c): Add definition
8856 for OBJDIR_ELF_LDSO_PATH.
8857 * support/test-container.c (main): Search for the ld.so
8858 which is also used by the testsuite.
8859
dae3ed95
RL
88602018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8861
8862 [BZ #20209]
8863 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8864 should be "sap" rather than "sab".
8865 (day): Fix spelling of Sunday, should be "sapaat" rather than
8866 "sabaat".
8867
f346b5b3
JM
88682018-10-02 Joseph Myers <joseph@codesourcery.com>
8869
8870 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8871
4a06ceea
MJ
88722018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8873
8874 [BZ #19444]
8875 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8876 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8877 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8878
a06fc4a5
AZ
88792018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8880
8881 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8882
a1ccc065
L
88832018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8884
8885 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8886 Add -mrtm.
8887 (CFLAGS-elision-unlock.c): Likewise.
8888 (CFLAGS-elision-timed.c): Likewise.
8889 (CFLAGS-elision-trylock.c): Likewise.
8890 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8891
0b727ed4
AZ
88922018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8893
8894 [BZ #21037]
8895 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8896 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8897 new fd_to_filename interface.
8898 * libio/freopen64.c (freopen64): Likewise.
8899 * libio/tst-memstream.h: New file.
8900 * libio/tst-memstream4.c: Likewise.
8901 * libio/tst-wmemstream4.c: Likewise.
8902 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8903 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8904 and remove internal dynamic allocation.
8905
d0e91e8c
JM
89062018-10-01 Joseph Myers <joseph@codesourcery.com>
8907
8908 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8909 (MREMAP_MAYMOVE): Do not define here.
8910 [__USE_GNU] (MREMAP_FIXED): Likewise.
8911 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8912 (MREMAP_MAYMOVE): Define here instead.
8913 [__USE_GNU] (MREMAP_FIXED): Likewise.
8914 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8915 (MREMAP_MAYMOVE): Remove.
8916 [__USE_GNU] (MREMAP_FIXED): Likewise.
8917
c52944e8
JM
89182018-09-28 Joseph Myers <joseph@codesourcery.com>
8919
8920 * math/fromfp.h: Do not include <math_private.h>.
8921 * math/s_cacosh_template.c: Likewise.
8922 * math/s_casin_template.c: Likewise.
8923 * math/s_casinh_template.c: Likewise.
8924 * math/s_ccos_template.c: Likewise.
8925 * math/s_cproj_template.c: Likewise.
8926 * math/s_fdim_template.c: Likewise.
8927 * math/s_fmaxmag_template.c: Likewise.
8928 * math/s_fminmag_template.c: Likewise.
8929 * math/s_iseqsig_template.c: Likewise.
8930 * math/s_ldexp_template.c: Likewise.
8931 * math/s_nextdown_template.c: Likewise.
8932 * math/w_log1p_template.c: Likewise.
8933 * math/w_scalbln_template.c: Likewise.
8934 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8935 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8936 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8937 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8938 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8939 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8940 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8941 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8942 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8943 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8944 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8945 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8946 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8947 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8948 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8949 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8950 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8951 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8955 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8956 * sysdeps/ieee754/k_standardf.c: Likewise.
8957 * sysdeps/ieee754/k_standardl.c: Likewise.
8958 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8959 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8960 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8961 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8962 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8965 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8966 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8967 * sysdeps/ieee754/s_signgam.c: Likewise.
8968 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8969 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8970 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8971 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8972 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8973 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8974 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8975 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8976 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8977 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8978 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8979 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8980 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8981 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8982 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8983 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8984 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8985 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8986 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8987 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8988 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8989 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8990 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8991 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8992 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8993 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8994 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8995 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8996 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8997 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8998 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8999 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9000 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9001 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9002 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9003 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9004 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9005 <math_private.h>.
9006 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9007
7b1f9406
L
90082018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9009
9010 [BZ #23716]
9011 * sysdeps/i386/dl-cet.c: Removed.
9012 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9013 prototype.
9014 (_dl_runtime_profile_shstk): Likewise.
9015 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9016 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9017
7a16bdbb
AZ
90182018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9019
9020 [BZ #23579]
9021 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9022 do_test_with_invalid_iov): New tests.
9023 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9024 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9025 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9026 errno is ENOSYS.
9027 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9028 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9029 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9030
9755bc46
JM
90312018-09-27 Joseph Myers <joseph@codesourcery.com>
9032
81dca813
JM
9033 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9034 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9035 (MATH_REDIRECT_BINARY_ARGS): New macro.
9036 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9037 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9038 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9039 header inclusion.
9040 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9041 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9042 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9043 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9044 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9045 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9046 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9048 Likewise.
9049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9050 Likewise.
9051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9053 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9054 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9056 Likewise.
9057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9058 Likewise.
9059 * sysdeps/generic/math_private_calls.h
9060 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9061 Do not declare and define as an inline function.
9062 * math/divtc3.c (__divtc3): Use copysign functions instead of
9063 __copysign variants.
9064 * math/multc3.c (__multc3): Likewise.
9065 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9066 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9067 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9068 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9069 Likewise.
9070 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9071 (__ieee754_yn): Likewise.
9072 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9073 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9074 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9075 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9076 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9077 (__sin): Likewise.
9078 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9079 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9080 Likewise.
9081 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9082 Likewise.
9083 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9084 Likewise.
9085 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9086 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9087 Likewise.
9088 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9089 (__ieee754_ynf): Likewise.
9090 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9091 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9092 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9093 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9094 Likewise.
9095 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9096 (__ieee754_ynl): Likewise.
9097 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9098 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9099 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9100 Likewise.
9101 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9102 (__ieee754_ynl): Likewise.
9103 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9104 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9105 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9106 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9107 Likewise.
9108 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9109 (__ieee754_ynl)
9110 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9111 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9112 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9113 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9114 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9115
9755bc46
JM
9116 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9117 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9118 using MATH_REDIRECT.
9119 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9120 header inclusion.
9121 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9124 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9125 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9132 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9133 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9135 (round): Redirect to __round.
9136 (__roundl): Call round instead of __round.
9137 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9138 Remove macro.
9139 [_ARCH_PWR5X] (__roundf): Likewise.
9140 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9141 functions instead of __round variants.
9142 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9143 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9144 Likewise.
9145 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9146 Likewise.
9147 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9148 Likewise.
9149 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9150 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9151 __lroundl.
9152 (__ieee754_expl): Call roundl instead of __roundl.
9153
f841c97e
AS
91542018-09-27 Andreas Schwab <schwab@suse.de>
9155
9156 [BZ #23717]
9157 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9158 (do_test): Make st1 static.
9159
6ca8284e
AS
91602018-09-26 Andreas Schwab <schwab@suse.de>
9161
9162 [BZ #23707]
9163 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9164 * elf/Makefile (tests): Add tst-unwind-ctor.
9165 (modules-names): Add tst-unwind-ctor-lib.
9166 ($(objpfx)tst-unwind-ctor): Depend on
9167 $(objpfx)tst-unwind-ctor-lib.so.
9168
61d8b5fe
JM
91692018-09-26 Joseph Myers <joseph@codesourcery.com>
9170
9171 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9172 file. Most contents moved from ....
9173 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9174 and include <bits/mman-map-flags-generic.h>.
9175 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9176 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9177 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9178 <bits/mman-map-flags-generic.h>.
9179 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9180 macros defined in <bits/mman-map-flags-generic.h>.
9181 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9182 <bits/mman-map-flags-generic.h>.
9183 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9184 defined in <bits/mman-map-flags-generic.h>.
9185
46341286
AS
91862018-09-26 Andreas Schwab <schwab@suse.de>
9187
9188 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9189 output.
9190
b5c45e83
AZ
91912018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9192 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9193 Fangrui Song <maskray@google.com>
9194
9195 [BZ #20480]
9196 * config.make.in (have-textrel_ifunc): New define.
9197 * configure.ac: Add check if linker supports textrel relocation with
9198 ifunc.
9199 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9200 tst-ifunc-textrel.
9201 (CFLAGS-tst-ifunc-textrel.c): New rule.
9202 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9203 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9204 * elf/tst-ifunc-textrel.c: New file.
9205
8ea4d2b7
JM
92062018-09-25 Joseph Myers <joseph@codesourcery.com>
9207
d62f9ec0
JM
9208 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9209 <bits/procfs-prregset.h>.
9210 (prgregset_t): Define using __prgregset_t.
9211 (prfpregset_t): Define using __prfpregset_t.
9212 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9213 (sysdep_headers): Add bits/procfs-prregset.h.
9214 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9215 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9216 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9217 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9218
d0d8eb43
JM
9219 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9220 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9221 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9222 pr_uid and pr_gid.
9223 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9224 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9225 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9226 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9227 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9228 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9229 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9230 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9231 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9232 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9233 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9234 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9235 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9236 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9237 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9238 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9239 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9240 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9241 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9242 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9243 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9244 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9245 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9246 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9247
8ea4d2b7
JM
9248 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9249 AArch64 version. Include <bits/procfs.h>.
9250 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9251 (sysdep_headers): Add bits/procfs.h.
9252 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9253 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9254 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9255 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9256 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9257 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9258 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9259 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9260 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9261 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9262 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9263 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9264 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9265 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9266 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9267 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9268 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9269
c7027166
AZ
92702018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9271
9272 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9273 Use libsupport.
9274
335a3b0a
AS
92752018-09-25 Arjun Shankar <arjun@redhat.com>
9276
9277 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9278 (__gconv_max_path_elem_len): Likewise.
9279 (__gconv_nmodules): Likewise.
9280 (__gconv_get_path): Likewise.
9281 (path_elem): Move to ...
9282 * iconv/gconv_conf.c: ... here.
9283 (__gconv_get_path): Mark function static.
9284 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9285 * iconv/gconv_open.c: ... here.
9286
462d348c
AS
92872018-09-24 Andreas Schwab <schwab@suse.de>
9288
9289 * scripts/haveversions.awk: New file.
9290 * Makerules ($(common-objpfx)Versions.def)
9291 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9292 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9293 Move rules ...
9294 * Makeconfig ($(common-objpfx)Versions.def)
9295 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9296 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9297 ... here.
9298 ($(common-objpfx)Versions.mk): New rule. Include it.
9299 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9300 Emit error if build-obsolete-nsl = yes.
9301 * manual/install.texi (Configuring and compiling): Describe
9302 --enable-obsolete-nsl as unavaiable after version 2.28.
9303 * INSTALL: Regenerate.
9304
f0458cf4
AZ
93052018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9306
9307 * NEWS: Add note about new TLE support on powerpc64le.
9308 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9309 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9310 __ununsed1.
9311 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9312 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9313 * sysdeps/powerpc/powerpc32/sysdep.h,
9314 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9315 ABORT_TRANSACTION): Remove macros.
9316 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9317 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9318 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9320 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9321 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9322 usage.
9323 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9324
434d45fd
RL
93252018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9326
9327 [BZ #10425]
9328 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9329 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9330 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9331 which is the same as in it_IT.
9332 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9333 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9334
d90c9b1a
JM
93352018-09-20 Joseph Myers <joseph@codesourcery.com>
9336
7abf97be
JM
9337 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9338 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9339 using MATH_REDIRECT.
9340 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9341 header inclusion.
9342 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9343 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9344 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9346 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9352 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9353 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9354 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9355 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9356 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9357 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9358 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9359 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9360 (ceil): Redirect to __ceil.
9361 (floor): Redirect to __floor.
9362 (trunc): Redirect to __trunc.
9363 (__truncl): Call trunc instead of __trunc.
9364 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9365 Remove macro.
9366 [_ARCH_PWR5X] (__truncf): Likewise.
9367 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9368 trunc functions instead of __trunc variants.
9369 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9370 Likewise.
9371 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9372 Likewise.
9373 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9374 Likewise.
9375 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9376 Likewise.
9377
d90c9b1a
JM
9378 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9379 [__i586__ || __pentium__].
9380 [__i486__]: Handle explicitly.
9381 (HAS_CPUID): Define to 1 if above macros are undefined.
9382 (HAS_I586): Likewise.
9383 (HAS_I686): Likewise.
9384
db9a8ad4
FW
93852018-09-20 Florian Weimer <fweimer@redhat.com>
9386
9387 * misc/tst-gethostid.c: New file.
9388 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9389 (tst-gethostid): Link with -ldl.
9390
1214ba06
MY
93912018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9392
9393 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9394 value from gethostbyname_r.
9395
791b350d
CD
93962018-09-19 Carlos O'Donell <carlos@redhat.com>
9397
9398 * stdlib/tst-setcontext9.c (f1): Rename to...
9399 (f1a): ... this.
9400 (f1b): New function implementing lower half of f1 in alternate stack.
9401
8e6fd2bd
PE
94022018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9403
e1080e7e
PE
9404 Fix mktime localtime offset confusion
9405 [BZ #23603]
9406 * include/time.h (__mktime_internal): The localtime offset is now
9407 of type long int instead of time_t. This is the longstanding type
9408 in glibc, and it is more than enough to represent difference
9409 between localtime and gmtime even if it is 32 bits and time_t is
9410 64. Changing it now will let us avoid an unnecessary change when
9411 time_t is widened to 64 bits on 32-bit platforms.
9412 * time/mktime-internal.h (mktime_offset_t): Now long int.
9413
8e6fd2bd
PE
9414 Merge mktime, timegm from upstream Gnulib
9415 [BZ #23603][BZ #16346]
9416 This fixes some obscure problems with integer overflow.
9417 Although it looks scary, it is almost all a byte-for-byte copy
9418 from Gnulib, and the Gnulib code has been tested reasonably well.
9419 * include/intprops.h: New file, copied from Gnulib.
9420 * include/verify.h, time/mktime-internal.h:
9421 New tiny files, simplified from Gnulib.
9422 * time/mktime.c: Copy from Gnulib. This has the following changes:
9423 Do not include config.h if DEBUG_MKTIME is nonzero.
9424 Include stdbool.h, intprops.h, verify.h.
9425 Include string.h only if needed.
9426 Include stdlib.h on MS-Windows.
9427 Include mktime-internal.h.
9428 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9429 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9430 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9431 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9432 simplify later conditionals; default the others to zero. Use
9433 these conditionals to express only the code needed on the current
9434 platform. In uses of these conditionals, explicitly spell out how
9435 _LIBC affects things, so it’s easier to review from a glibc
9436 viewpoint.
9437 (WRAPV): Remove; no longer needed now that we have
9438 systematic overflow checking.
9439 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9440 compartmentalize tzset issues. Move system-dependent tzsettish
9441 code here from mktime.
9442 (verify): Remove; now done by verify.h. All uses changed.
9443 (long_int): Use a more-conservative definition, to avoid
9444 integer overflow.
9445 (SHR): Remove, replacing with ...
9446 (shr): New function, which means we needn’t worry about side
9447 effects in args, and conversion analysis is simpler.
9448 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9449 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9450 (time_t_avg, time_t_add_ok): Remove.
9451 (mktime_min, mktime_max): New constants.
9452 (leapyear, isdst_differ): Use bool for booleans.
9453 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9454 Use long_int, not time_t, for mktime differences.
9455 (long_int_avg): New function, replacing time_t_avg.
9456 INT_ADD_WRAPV replaces time_t_add_ok.
9457 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9458 All uses changed.
9459 (convert_time): New function.
9460 (ranged_convert): Use it.
9461 (__mktime_internal): Last arg now points to mktime_offset_t, not
9462 time_t. All uses changed. This is a no-op on glibc, where
9463 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9464 offset guess. Directly check for integer overflow instead of
9465 using a heuristic that works only 99.9...% of the time.
9466 Access *OFFSET only once, to avoid an unlikely race if the
9467 compiler delays a load and if this cascades into a signed integer
9468 overflow.
9469 (mktime): Move tzsettish code to my_tzset, and move
9470 localtime_offset to within mktime so that it doesn’t
9471 need a separate ifdef.
9472 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9473 instead of localtime.
9474 * time/timegm.c: Copy from Gnulib. This has the following changes:
9475 Include mktime-internal.h.
9476 [!_LIBC]: Include config.h and time.h. Do not include
9477 timegm.h or time_r.h. Make __mktime_internal a macro,
9478 and include mktime-internal.h to get its declaration.
9479 (timegm): Temporary is now mktime_offset_t, not time_t.
9480 This affects only Gnulib.
9481
83a552b0
WD
94822018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9483
9484 [BZ #23637]
9485 * string/test-strstr.c (pr23637): New function.
9486 (test_main): Add tests with longer needles.
9487 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9488 * string/strstr.c (AVAILABLE): Likewise.
9489
d7347278
SN
94902018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9491
9492 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9493
424c4f60
SN
94942018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9495
9496 * NEWS: Mention pow improvements.
9497 * math/Makefile (type-double-routines): Add e_pow_log_data.
9498 * sysdeps/generic/math_private.h (__exp1): Remove.
9499 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9500 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9501 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9502 contraction.
9503 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9504 (exp_inline): Remove.
9505 (__ieee754_exp): Only single double input is handled.
9506 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9507 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9508 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9509 (__pow_log_data): Define.
9510 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9511 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9512 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9513 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9514 contraction.
9515 (CFLAGS-e_pow-fma4.c): Likewise.
9516
e4e4fde5
PE
95172018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9518
dab9c348
PE
9519 Simplify tzfile fstat failure code
9520 [BZ #21716]
9521 * time/tzfile.c (__tzfile_read): Simplify slightly.
9522
e4e4fde5
PE
9523 Fix tzfile low-memory assertion failure
9524 [BZ #21716]
9525 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9526 when registering time zone abbreviations.
9527
50bc59ca
JM
95282018-09-18 Joseph Myers <joseph@codesourcery.com>
9529
d3a43e49
JM
9530 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9531 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9532 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9533 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9534 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9535 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9536 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9537 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9538 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9539
50bc59ca
JM
9540 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9541 __ceil.
9542 (__ceill): Call ceil instead of __ceil.
9543 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9544 __floor.
9545 (__floorl): Call floor instead of __floor.
9546
89983cb3
JM
95472018-09-17 Joseph Myers <joseph@codesourcery.com>
9548
71223ef9
JM
9549 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9550 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9551 using MATH_REDIRECT.
9552 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9553 header inclusion.
9554 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9555 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9556 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9557 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9558 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9559 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9560 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9561 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9566 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9567 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9570 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9571 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9572 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9573 Remove macro.
9574 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9575 functions instead of __ceil variants.
9576 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9577 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9578 Likewise.
9579 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9580 Likewise.
9581 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9582 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9583 Likewise.
9584 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9585 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9586
89983cb3
JM
9587 [BZ #21286]
9588 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9589 constant.
9590 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9591 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9592 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9593 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9594 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9595 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9596 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9597 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9598 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9599 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9600 (ILL_BADIADDR): Remove constant.
9601 (TRAP_BRANCH): Likewise.
9602 (TRAP_HWBKPT): Likewise.
9603
e44acb20
JM
96042018-09-14 Joseph Myers <joseph@codesourcery.com>
9605
3f7f1d18
JM
9606 [BZ #23656]
9607 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9608 Remove [_MIPS_SIM = _ABIN32] conditional case.
9609 (struct elf_prpsinfo): Likewise.
9610
d59f3e5e
JM
9611 [BZ #23649]
9612 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9613 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9614 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9615 Likewise.
9616 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9617 elf_prpsinfo): Likewise.
9618 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9619 elf_prpsinfo): Likewise.
9620 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9621 Likewise.
9622
f29b6f17
JM
9623 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9624 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9625 using MATH_REDIRECT.
9626 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9627 header inclusion.
9628 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9629 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9630 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9631 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9632 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9633 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9634 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9635 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9636 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9637 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9638 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9639 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9640 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9641 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9642 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9643 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9644 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9645 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9646 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9649 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9650 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9651 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9652 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9653 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9654 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9655 __rint variants.
9656 * math/e_scalbf.c (invalid_fn): Likewise.
9657 * math/e_scalbl.c (invalid_fn): Likewise.
9658 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9659 Likewise.
9660 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9661 Likewise.
9662 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9663 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9664 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9665 Likewise.
9666 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9667 Likewise.
9668 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9669 Likewise.
9670 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9671 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9672
e44acb20
JM
9673 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9674 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9675 New macro.
9676 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9677 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9678 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9679 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9680 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9681 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9682 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9683 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9684 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9685 && !NO_MATH_REDIRECT] (floor): Likewise.
9686 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9687 header inclusion.
9688 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9689 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9690 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9691 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9692 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9693 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9694 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9695 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9700 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9701 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9704 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9705 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9706 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9707 Remove macro.
9708 [_ARCH_PWR5X] (__floorf): Likewise.
9709 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9710 inline function.
9711 [__SSE4_1__] (__floorf): Likewise.
9712 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9713 instead of __floor variants.
9714 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9715 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9716 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9717 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9718 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9719 * math/w_tgamma_compat.c (__tgamma): Likewise.
9720 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9721 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9722 * math/w_tgammal_compat.c (__tgammal): Likewise.
9723 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9724 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9725 Likewise.
9726 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9727 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9728 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9729 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9730 Likewise.
9731 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9732 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9733 Likewise.
9734 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9735 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9736 Likewise.
9737 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9739 Likewise.
9740 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9741 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9742 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9743 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9744 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9745 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9746
221e4bab
JM
97472018-09-12 Joseph Myers <joseph@codesourcery.com>
9748
9749 * elf/Makefile (modules-names-tests): New variable.
9750
3e08ff54
SN
97512018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9752
9753 * NEWS: Mention log2 improvements.
9754 * math/Makefile (type-double-routines): Add e_log2_data.
9755 * sysdeps/i386/fpu/e_log2_data.c: New file.
9756 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9757 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9758 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9759 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9760 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9761 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9762
f41b0a43
SN
97632018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9764
9765 * NEWS: Mention log improvement.
9766 * math/Makefile (type-double-routines): Add e_log_data.
9767 * sysdeps/i386/fpu/e_log_data.c: New file.
9768 * sysdeps/ia64/fpu/e_log_data.c: New file.
9769 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9770 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9771 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9772 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9773 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9774 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9775
5a274db4
L
97762018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9777 Xuepeng Guo <xuepeng.guo@intel.com>
9778
9779 [BZ #23606]
9780 * sysdeps/i386/start.S: Include <sysdep.h>
9781 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9782 enabled. Add cfi_undefined (eip).
9783
b1176270
JM
97842018-09-11 Joseph Myers <joseph@codesourcery.com>
9785
4e7fbdd7
JM
9786 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9787 (MOVQ): Likewise.
9788 (EXTRACT_WORDS64): Likewise.
9789 (INSERT_WORDS64): Likewise.
9790 (GET_FLOAT_WORD): Likewise.
9791 (SET_FLOAT_WORD): Likewise.
9792
b1176270
JM
9793 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9794 argument.
9795 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9796 build, but not for second build if --full-gcc. Use
9797 --enable-languages=all for second build if --full-gcc.
9798 (get_parser): Add --full-gcc option.
9799 (main): Update call to Context.
9800
527f355e
RL
98012018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9802
9803 [BZ #10797]
9804 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9805 Single Quotation Mark).
9806 (thousands_sep): Likewise.
9807 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9808 * localedata/locales/it_IT (thousands_sep): Use ".".
9809 (grouping): Use "3;3".
9810
7244f13d
JM
98112018-09-10 Joseph Myers <joseph@codesourcery.com>
9812
9813 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9814 x86_64 and i686 configs using --enable-obsolete-rpc
9815 --enable-obsolete-nsl.
9816
38245425
SL
98172018-09-06 Stefan Liebler <stli@linux.ibm.com>
9818
9819 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9820
28669f86
SL
98212018-09-06 Stefan Liebler <stli@linux.ibm.com>
9822
9823 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9824 Increment size of new_argv by one.
9825
a33650d1
RL
98262018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9827
9828 [BZ #17426]
9829 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9830 * localedata/locales/ar_IN (d_fmt): Likewise.
9831 * localedata/locales/bhb_IN (d_fmt): Likewise.
9832 * localedata/locales/bho_IN (d_fmt): Likewise.
9833 * localedata/locales/bn_BD (d_fmt): Likewise.
9834 * localedata/locales/bn_IN (d_fmt): Likewise.
9835 * localedata/locales/doi_IN (d_fmt): Likewise.
9836 * localedata/locales/gu_IN (d_fmt): Likewise.
9837 * localedata/locales/hi_IN (d_fmt): Likewise.
9838 * localedata/locales/hne_IN (d_fmt): Likewise.
9839 * localedata/locales/kn_IN (d_fmt): Likewise.
9840 * localedata/locales/mag_IN (d_fmt): Likewise.
9841 * localedata/locales/mai_IN (d_fmt): Likewise.
9842 * localedata/locales/mjw_IN (d_fmt): Likewise.
9843 * localedata/locales/ml_IN (d_fmt): Likewise.
9844 * localedata/locales/mni_IN (d_fmt): Likewise.
9845 * localedata/locales/mr_IN (d_fmt): Likewise.
9846 * localedata/locales/pa_IN (d_fmt): Likewise.
9847 * localedata/locales/raj_IN (d_fmt): Likewise.
9848 * localedata/locales/sat_IN (d_fmt): Likewise.
9849 * localedata/locales/sd_IN (d_fmt): Likewise.
9850 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9851 * localedata/locales/ta_IN (d_fmt): Likewise.
9852 * localedata/locales/ta_LK (d_fmt): Likewise.
9853 * localedata/locales/tcy_IN (d_fmt): Likewise.
9854 * localedata/locales/ur_IN (d_fmt): Likewise.
9855
9856 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9857 * localedata/locales/ks_IN (d_fmt): Likewise.
9858 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9859
9860 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9861 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9862 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9863 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9864
d114e6a7
SN
98652018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9866
9867 * NEWS: Mention exp and exp2 improvements.
9868 * math/Makefile (libm-support): Remove t_exp.
9869 (type-double-routines): Add math_err and e_exp_data.
9870 * sysdeps/aarch64/libm-test-ulps: Update.
9871 * sysdeps/arm/libm-test-ulps: Update.
9872 * sysdeps/i386/fpu/e_exp_data.c: New file.
9873 * sysdeps/i386/fpu/math_err.c: New file.
9874 * sysdeps/i386/fpu/t_exp.c: Remove.
9875 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9876 * sysdeps/ia64/fpu/math_err.c: New file.
9877 * sysdeps/ia64/fpu/t_exp.c: Remove.
9878 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9879 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9880 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9881 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9882 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9883 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9884 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9885 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9886 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9887 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9888 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9889 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9890 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9891 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9894
b9d8c474
JM
98952018-09-05 Joseph Myers <joseph@codesourcery.com>
9896
b7cdc2ae
JM
9897 * sysdeps/alpha/fpu/math_private.h: Remove.
9898
b9d8c474
JM
9899 * sysdeps/generic/math_private.h
9900 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9901 Move this inline function ....
9902 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9903 * include/math.h [!_ISOMAC]: To here....
9904
418d99e6
JM
99052018-09-04 Joseph Myers <joseph@codesourcery.com>
9906
9907 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9908 code ....
9909 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9910 * include/fenv.h [!_ISOMAC]: ... to here.
9911 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9912 (feraiseexcept): Likewise.
9913 * math/fromfp.h: Do not include <fenv_private.h>.
9914 * math/s_cexp_template.c: Likewise.
9915 * math/s_csin_template.c: Likewise.
9916 * math/s_csinh_template.c: Likewise.
9917 * math/s_ctan_template.c: Likewise.
9918 * math/s_ctanh_template.c: Likewise.
9919 * math/s_iseqsig_template.c: Likewise.
9920 * math/w_acos_compat.c: Likewise.
9921 * math/w_acosf_compat.c: Likewise.
9922 * math/w_acosl_compat.c: Likewise.
9923 * math/w_asin_compat.c: Likewise.
9924 * math/w_asinf_compat.c: Likewise.
9925 * math/w_asinl_compat.c: Likewise.
9926 * math/w_j0_compat.c: Likewise.
9927 * math/w_j0f_compat.c: Likewise.
9928 * math/w_j0l_compat.c: Likewise.
9929 * math/w_j1_compat.c: Likewise.
9930 * math/w_j1f_compat.c: Likewise.
9931 * math/w_j1l_compat.c: Likewise.
9932 * math/w_jn_compat.c: Likewise.
9933 * math/w_jnf_compat.c: Likewise.
9934 * math/w_log10_compat.c: Likewise.
9935 * math/w_log10f_compat.c: Likewise.
9936 * math/w_log10l_compat.c: Likewise.
9937 * math/w_log2_compat.c: Likewise.
9938 * math/w_log2f_compat.c: Likewise.
9939 * math/w_log2l_compat.c: Likewise.
9940 * math/w_log_compat.c: Likewise.
9941 * math/w_logf_compat.c: Likewise.
9942 * math/w_logl_compat.c: Likewise.
9943 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9944 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9945 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9946 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9947 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9948 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9949 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9950 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9951 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9952 * sysdeps/ieee754/k_standardl.c: Likewise.
9953 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9954 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9955 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9956 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9957 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9958 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9959 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9960 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9961 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9962 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9963 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9964 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9965 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9966 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9968 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9969 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9970 * math/w_ilogb_template.c: Include <fenv.h> instead of
9971 <fenv_private.h>.
9972 * math/w_llogb_template.c: Likewise.
9973 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9974 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9975
70e2ba33
JM
99762018-09-03 Joseph Myers <joseph@codesourcery.com>
9977
9978 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9979 * math/fromfp.h: Include <fenv_private.h>.
9980 * math/math-narrow.h: Likewise.
9981 * math/s_cexp_template.c: Likewise.
9982 * math/s_csin_template.c: Likewise.
9983 * math/s_csinh_template.c: Likewise.
9984 * math/s_ctan_template.c: Likewise.
9985 * math/s_ctanh_template.c: Likewise.
9986 * math/s_iseqsig_template.c: Likewise.
9987 * math/w_acos_compat.c: Likewise.
9988 * math/w_acosf_compat.c: Likewise.
9989 * math/w_acosl_compat.c: Likewise.
9990 * math/w_asin_compat.c: Likewise.
9991 * math/w_asinf_compat.c: Likewise.
9992 * math/w_asinl_compat.c: Likewise.
9993 * math/w_ilogb_template.c: Likewise.
9994 * math/w_j0_compat.c: Likewise.
9995 * math/w_j0f_compat.c: Likewise.
9996 * math/w_j0l_compat.c: Likewise.
9997 * math/w_j1_compat.c: Likewise.
9998 * math/w_j1f_compat.c: Likewise.
9999 * math/w_j1l_compat.c: Likewise.
10000 * math/w_jn_compat.c: Likewise.
10001 * math/w_jnf_compat.c: Likewise.
10002 * math/w_llogb_template.c: Likewise.
10003 * math/w_log10_compat.c: Likewise.
10004 * math/w_log10f_compat.c: Likewise.
10005 * math/w_log10l_compat.c: Likewise.
10006 * math/w_log2_compat.c: Likewise.
10007 * math/w_log2f_compat.c: Likewise.
10008 * math/w_log2l_compat.c: Likewise.
10009 * math/w_log_compat.c: Likewise.
10010 * math/w_logf_compat.c: Likewise.
10011 * math/w_logl_compat.c: Likewise.
10012 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10013 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10014 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10015 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10016 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10017 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10018 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10019 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10020 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10021 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10022 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10023 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10024 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10025 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10026 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10027 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10028 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10029 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10030 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10031 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10032 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10033 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10034 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10035 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10037 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10038 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10039 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10040 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10041 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10042 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10043 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10044 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10045 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10046 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10047 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10048 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10049 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10050 * sysdeps/ieee754/k_standardl.c: Likewise.
10051 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10052 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10053 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10054 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10055 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10056 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10057 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10058 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10059 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10060 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10061 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10062 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10063 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10064 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10065 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10066 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10067 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10068 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10069 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10070 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10071 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10072 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10073 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10074 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10075 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10076 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10077 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10078 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10079 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10080 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10081 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10082 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10083 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10084 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10085 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10086 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10087 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10088 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10089 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10090 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10091 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10092 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10093 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10094 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10095 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10096 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10097 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10098 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10099 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10100 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10101 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10102 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10103 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10104 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10105 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10106 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10107 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10108 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10109 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10110 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10111 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10112 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10113 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10114 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10115 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10116 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10117 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10118 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10119 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10120 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10121 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10122
a6e8926f
PP
101232018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10124
10125 [BZ #20271]
10126 * include/stdio.h (__libc_fatal): Mention newline in comment.
10127 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10128 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10129 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10130 * nss/nsswitch.c (__nss_next2): Likewise.
10131 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10132 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10133 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10134 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10135 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10136 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10137 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10138 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10139 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10140 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10141 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10142 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10143 (__netlink_assert_response): Likewise.
10144
2bbd06bc
JM
101452018-08-31 Joseph Myers <joseph@codesourcery.com>
10146
10147 * conform/glibcconform.py: New file.
10148 * conform/list-header-symbols.py: Likewise.
10149 * conform/list-header-symbols.pl: Remove.
10150 * conform/Makefile (tests-special): Only add linknamespace tests
10151 if [PYTHON].
10152 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10153
81b9d87b
L
101542018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10155
10156 [BZ #23597]
10157 * support/Makefile (libsupport-routines): Add
10158 support_copy_file_range and xcopy_file_range.
10159 * support/support.h: Include <sys/types.h>.
10160 (support_copy_file_range): New prototype.
10161 * support/support_copy_file_range.c: New file. Copied and
10162 modified from io/copy_file_range-compat.c.
10163 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10164 instead of copy_file_range.
10165 * support/xcopy_file_range.c: New file.
10166 * support/xunistd.h (xcopy_file_range): New prototype.
10167
d330f31a
CD
101682018-08-30 Carlos O'Donell <carlos@redhat.com>
10169
10170 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10171 xpthread_create and xpthread_join.
10172
2bda273a
FW
101732018-08-30 Florian Weimer <fweimer@redhat.com>
10174
10175 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10176
3bad2358
SL
101772018-08-30 Stefan Liebler <stli@linux.ibm.com>
10178
10179 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10180 if malloc fails.
10181
09c12efc
JM
101822018-08-29 Joseph Myers <joseph@codesourcery.com>
10183
10184 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10185 and minus_oflow as non-finite.
10186
ff6b2450
JM
101872018-08-28 Joseph Myers <joseph@codesourcery.com>
10188
10189 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10190 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10191 moved to fenv_private.h except for ...
10192 (TOINT_INTRINSICS): Kept in math_private.h.
10193 (roundtoint): Likewise.
10194 (converttoint): Likewise.
10195 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10196 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10197 * sysdeps/arm/math_private.h: Remove.
10198 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10199 ....
10200 * sysdeps/generic/math_private.h: ... this file. Include
10201 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10202 Include <fenv_private.h>. Remove functions and macros moved to
10203 fenv_private.h.
10204 * sysdeps/i386/fpu/math_private.h: Remove.
10205 * sysdeps/mips/math_private.h: Move to ....
10206 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10207 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10208 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10209 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10210 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10211 * sysdeps/powerpc/fpu/math_private.h: Do not include
10212 <fenv_private.h>.
10213 * sysdeps/riscv/rvf/math_private.h: Move to ....
10214 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10215 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10216 <fenv_private.h>.
10217 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10218 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10219 * sysdeps/sparc/fpu/math_private.h: Remove.
10220 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10221 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10222 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10223 <fenv_private.h>.
10224 * sysdeps/x86_64/fpu/math_private.h: Do not include
10225 <sysdeps/i386/fpu/fenv_private.h>.
10226
761404b7
FW
102272018-08-28 Florian Weimer <fweimer@redhat.com>
10228
10229 [BZ #23578]
10230 * posix/tst-regcomp-truncated.c: New file.
10231 * posix/Makefile (tests): Add it.
10232 (tst-regcomp-truncated.out): Depend on generated locales.
10233
d6c44c3d
FW
102342018-08-28 Florian Weimer <fweimer@redhat.com>
10235
10236 * support/test-container.c (main): Treat unshare failure with
10237 EPERM as an unsupported test.
10238
745664bd
FW
102392018-08-28 Florian Weimer <fweimer@redhat.com>
10240
10241 [BZ #23520]
10242 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10243 * nscd/netgroupcache.c
10244 (addgetnetgrentX): Add tofreep parameter. Do not free
10245 heap-allocated buffer.
10246 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10247 (addgetnetgrentX_ignore): New function.
10248 (addgetnetgrent): Call it.
10249 (readdgetnetgrent): Likewise.
10250
c8dd67e7
RS
102512018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10252
10253 * string/memmem.c: Use memcmp for first match.
10254
5abedf97
RL
102552018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10256
10257 [BZ #17426]
10258 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10259
86de0499
DD
102602018-08-27 DJ Delorie <dj@redhat.com>
10261
10262 * support/Makefile (others): Don't list programs explicitly as a
10263 dependency of "others".
10264
c3ab2110
JM
102652018-08-27 Joseph Myers <joseph@codesourcery.com>
10266
10267 * sysdeps/generic/math-tests-trap-force.h: New file.
10268 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10269 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10270 * sysdeps/powerpc/math-tests.h: Remove file.
10271 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10272
6b5c8607
TS
102732018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10274 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
10275
10276 [BZ #23538]
10277 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10278 Update r to include the set wake-request flag if waiters are
10279 remaining after spinning.
10280
4061791f
JM
102812018-08-27 Joseph Myers <joseph@codesourcery.com>
10282
10283 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10284
bc680b33
PE
102852018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10286
761404b7 10287 [BZ #23578]
bc680b33
PE
10288 regex: fix uninitialized memory access
10289 I introduced this bug into gnulib in commit
10290 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10291 eventually it was merged into glibc. The bug was found by
10292 project-repo <bugs@feusi.co> and reported here:
10293 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10294 Diagnosis and draft fix reported by Assaf Gordon here:
10295 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10296 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10297 * posix/regex_internal.c (build_wcs_upper_buffer):
10298 Fix bug when mbrtowc returns 0.
10299
02458a52
CD
103002018-08-24 Carlos O'Donell <carlos@redhat.com>
10301
10302 * po/be.po: Update translation.
10303
acc2842a
DD
103042018-08-24 DJ Delorie <dj@delorie.com>
10305
10306 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10307 $(libunwind).
10308
6c3a8a9d
PP
103092018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10310
b39d961c
TS
10311 [BZ #23400]
10312 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10313 create temporary files in source tree.
6c3a8a9d 10314
895ef79e
JM
103152018-08-24 Joseph Myers <joseph@codesourcery.com>
10316
10317 * sysdeps/generic/math-tests-trap.h: New file.
10318 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10319 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10320 * sysdeps/aarch64/math-tests.h: Remove file.
10321 * sysdeps/arm/math-tests.h: Likewise.
10322 * sysdeps/riscv/math-tests.h: Likewise.
10323 * sysdeps/aarch64/math-tests-trap.h: New file.
10324 * sysdeps/arm/math-tests-trap.h: Likewise.
10325 * sysdeps/riscv/math-tests-trap.h: Likewise.
10326
ca3aac57
WD
103272018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10328
10329 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10330 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10331 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10332 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10333 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10334 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10335 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10336 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10337 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10338 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10339 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10340 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10341 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10342 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10343 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10344 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10345 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10346 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10347
60bcac09
JM
103482018-08-23 Joseph Myers <joseph@codesourcery.com>
10349
10350 * sysdeps/generic/math-tests-exceptions.h: New file.
10351 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10352 (EXCEPTION_TESTS_float): Do not define here.
10353 (EXCEPTION_TESTS_double): Likewise.
10354 (EXCEPTION_TESTS_long_double): Likewise.
10355 (EXCEPTION_TESTS_float128): Likewise.
10356 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10357 Likewise.
10358 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10359 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10360 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10361 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10362 * sysdeps/mips/math-tests.h: Likewise.
10363 * sysdeps/nios2/math-tests.h: Likewise.
10364 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10365 (EXCEPTION_TESTS_float): Do not define here.
10366 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10367 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10368 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10369
3bded567
WD
103702018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10371
10372 * NEWS: Move optimized sinf entry to 2.29.
10373
900fb446
WD
103742018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10375
10376 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10377
561b0bec
DD
103782018-08-22 DJ Delorie <dj@redhat.com>
10379
10380 * Makefile (testroot.pristine): New rules to initialize the
10381 test-in-container "testroot".
10382 * Makerules (all-testsuite): Add tests-container.
10383 * Rules (tests-expected): Add tests-container.
10384 (binaries-all-tests): Likewise.
10385 (tests-container): New, run these tests in the testroot container.
10386 * support/Makefile (others): Add *-container, support_paths.c,
10387 xmkdirp, and links-dso-program.
10388 * support/links-dso-program-c.c: New.
10389 * support/links-dso-program.cc: New.
10390 * support/test-container.c: New.
10391 * support/shell-container.c: New.
10392 * support/echo-container.c: New.
10393 * support/true-container.c: New.
10394 * support/xmkdirp.c: New.
10395 * support/xsymlink.c: New.
10396 * support/support_paths.c: New.
10397 * support/support.h: Add support paths prototypes.
10398 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10399
10400 * nss/tst-nss-test3.c: Convert to test-in-container.
10401 * nss/tst-nss-test3.root/: New.
10402
b35d3509
PE
104032018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10404
10405 regex: port Gnulib code to z/OS POSIX environment
10406 Problem reported by Arnold Robbins in:
10407 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10408 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10409 Undef.
10410
16a25138
JM
104112018-08-22 Joseph Myers <joseph@codesourcery.com>
10412
debc4c98
JM
10413 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10414 (ROUNDING_TESTS_double): Remove.
10415 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10416 (ROUNDING_TESTS_double): Remove.
10417 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10418 (ROUNDING_TESTS_double): Remove.
10419 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10420 (ROUNDING_TESTS_float): Remove.
10421 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10422 (ROUNDING_TESTS_float): Remove.
10423 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10424 (ROUNDING_TESTS_float): Remove.
10425 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10426 !TEST_MATHVEC here.
10427 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10428 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10429
16a25138
JM
10430 * sysdeps/generic/math-tests-rounding.h: New file.
10431 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10432 (ROUNDING_TESTS_float): Do not define here.
10433 (ROUNDING_TESTS_double): Likewise.
10434 (ROUNDING_TESTS_long_double): Likewise.
10435 (ROUNDING_TESTS_float128): Likewise.
10436 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10437 (ROUNDING_TESTS_double): Undefine before defining.
10438 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10439 (ROUNDING_TESTS_double): Undefine before defining.
10440 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10441 (ROUNDING_TESTS_double): Undefine before defining.
10442 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10443 (ROUNDING_TESTS_float): Undefine before defining.
10444 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10445 (ROUNDING_TESTS_float): Undefine before defining.
10446 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10447 (ROUNDING_TESTS_float): Undefine before defining.
10448 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10449 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10450 not define here.
10451 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10452 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10453 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10454 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10455 (ROUNDING_TESTS_float): Do not define here.
10456 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10457 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10458 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10459 (ROUNDING_TESTS_float): Likewise.
10460 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10461 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10462 * sysdeps/mips/math-tests.h [__mips_soft_float]
10463 (ROUNDING_TESTS_float): Likewise.
10464 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10465 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10466 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10467 (ROUNDING_TESTS_double): Likewise.
10468 (ROUNDING_TESTS_long_double): Likewise.
10469
38b0593e
TK
104702018-08-21 Tobias Klauser <tklauser@distanz.ch>
10471
10472 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10473 (PF_XDP): New macro.
10474 (AF_XDP): New macro.
10475 (SOL_XDP): New macro.
10476
5cd7dbde
JM
104772018-08-21 Joseph Myers <joseph@codesourcery.com>
10478
10479 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10480 (TCP_INQ): Likewise.
10481 (TCP_CM_INQ): Likewise.
10482 (TCP_REPAIR_ON): Likewise.
10483 (TCP_REPAIR_OFF): Likewise.
10484 (TCP_REPAIR_OFF_NO_WP): Likewise.
10485 (struct tcp_zerocopy_receive): New type.
10486
aa42b3db
FW
104872018-08-21 Florian Weimer <fweimer@redhat.com>
10488
10489 * support/support.h (support_descriptor_supports_holes): Declare.
10490 * support/Makefile (libsupport-routines): Add
10491 support_descriptor_supports_holes.
10492 * support/support_descriptor_supports_holes.c: New file.
10493 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10494 and stop testing if holes are not supported.
10495 * io/test-lfs.c (do_prepare): Likewise.
10496 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10497 Likewise.
10498 * timezone/tst-tzset.c (create_tz_file): Likewise.
10499 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10500 variable.
10501 (do_prepare): Set it.
10502 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10503
c7627f41
FW
105042018-08-21 Florian Weimer <fweimer@redhat.com>
10505
10506 [BZ #17248]
10507 * Makeconfig (+cflags): Do not sort (and deduplicate).
10508
ef939d92
FW
105092018-08-21 Florian Weimer <fweimer@redhat.com>
10510
10511 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10512 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10513
88ffb39d
FW
105142018-08-20 Florian Weimer <fweimer@redhat.com>
10515
10516 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10517 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10518
17419540
JM
105192018-08-20 Joseph Myers <joseph@codesourcery.com>
10520
e6edd40d
JM
10521 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10522 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10523 and ssi_arch members.
10524
17419540
JM
10525 * elf/elf.c (NT_VMCOREDD): New macro.
10526 (AT_MINSIGSTKSZ): Likewise.
10527
fa78896b
RS
105282018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10529
10530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10531 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10532 s_cosf-ppc64 and s_cosf-power8.
10533 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10534 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10535 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10536 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10543 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10544 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10545
86a6c75a
FW
105462018-08-17 Florian Weimer <fweimer@redhat.com>
10547
10548 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10549
35cfefd9
FW
105502018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10551
10552 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10553
6413fcde
FW
105542018-08-16 Florian Weimer <fweimer@redhat.com>
10555
10556 * configure.ac: Add --with-nonshared-cflags option.
10557 * config.make.in (extra-nonshared-cflags): Set variable.
10558 * Makeconfig (CFLAGS-.oS): Use it.
10559 * manual/install.texi (Configuring and compiling): Document
10560 --with-nonshared-cflags.
10561 * configure: Regenerate.
10562 * INSTALL: Likewise.
10563
93a2584c
FW
105642018-08-16 Florian Weimer <fweimer@redhat.com>
10565
10566 * Makeconfig (ASFLAGS): Always append required assembler flags.
10567
f6f275d2 105682018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
10569
10570 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10571 (malloc_consolidate): Likewise.
10572
30a17d8c
PC
105732018-08-16 Pochang Chen <johnchen902@gmail.com>
10574
10575 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10576
953a5a4a
SP
105772018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10578
34f86d61
SP
10579 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10580 every strlen call.
10581
953a5a4a
SP
10582 * benchtests/bench-strlen.c: Print performance numbers in json.
10583
7793ad7a
RS
105842018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10585
10586 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10587 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10588 only for little endian.
10589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10590 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10591 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10592 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10593 Add check for little endian.
10594 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10595 (__strcmp_power9): Add check for little endian.
10596 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10597 Add check for little endian.
10598 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10599 (__strncmp_power9): Add check for little endian.
10600 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10601 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10602 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10603 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10604 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10605
436e4d5b
SP
106062018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10607
10608 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10609 [!STRLEN](STRLEN): Set to __strlen.
10610 * sysdeps/aarch64/multiarch/strlen.c: New file.
10611 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10612 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10613 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10614 (__libc_ifunc_impl_list): Add strlen.
10615 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10616 strlen_generic and strlen_asimd.
10617
126c4e3f
WD
106182018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10619
10620 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10621 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10622 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10623
49acec17
WD
106242018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10625
10626 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10627
fdb16de3
FW
106282018-08-14 Florian Weimer <fweimer@redhat.com>
10629
10630 [BZ #23519]
10631 * include/stdio.h (__vfxprintf): Declare.
10632 * stdio-common/fxprintf.c (__vfxprintf): New function.
10633 (__fxprintf): Call it.
10634 * misc/err.c (convert_and_print): Remove function.
10635 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10636 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10637 * misc/Makefile (tests): Add tst-warn-wide.
10638 * misc/tst-warn-wide.c: New file.
10639
599cf397
WD
106402018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10641 Szabolcs Nagy <szabolcs.nagy@arm.com>
10642
10643 * NEWS: Mention sinf, cosf, sincosf.
10644 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10645 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10646 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10647 constants rather than including generic sincosf.h.
10648 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10649 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10650 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10651 (reduced_cos): Remove.
10652 (sinf_poly): New function.
10653 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10654
e95c6f61
FW
106552018-08-14 Florian Weimer <fweimer@redhat.com>
10656
10657 [BZ #23521]
10658 [BZ #23522]
10659 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10660 processing, bail out if no room, and close the stream before
10661 returning ERANGE.
10662 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10663 (tst-nss-files-alias-leak): Link with libdl.
10664 (tst-nss-files-alias-leak.out): Depend on nss_files.
10665
10666 * nss/tst-nss-files-alias-leak.c: New file.
10667
2d7acfac
FW
106682018-08-14 Florian Weimer <fweimer@redhat.com>
10669
10670 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10671 server_user, stat_user.
10672
f3cd0904
JM
106732018-08-13 Joseph Myers <joseph@codesourcery.com>
10674
17b26500
JM
10675 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10676 version to 4.18.
10677 (io_pgetevents): New syscall.
10678 (rseq): Likewise.
10679
3c1622eb
JM
10680 * manual/install.texi (Configuring and compiling): Do not list
10681 tools used for testing pretty printers here.
10682 (Tools for Compilation): List Python, PExpect and GDB here.
10683 Update descriptions of uses of Perl and Python.
10684 * INSTALL: Regenerate.
10685
f3cd0904
JM
10686 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10687 version to 4.18.
10688
b7b52b9d
FW
106892018-08-13 Florian Weimer <fweimer@redhat.com>
10690
10691 * misc/error.c (error): Add missing va_end call.
10692 (error_at_line): Likewise.
10693
01780188
FW
106942018-08-13 Florian Weimer <fweimer@redhat.com>
10695
10696 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10697
44727aec
SP
106982018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10699
8cac1f26
SP
10700 * benchtests/scripts/benchout.schema.json (properties): Add
10701 new properties.
10702
44727aec
SP
10703 * benchtests/bench-skeleton.c (main): Add duration and
10704 iterations attributes.
10705
c77bf91b
PE
107062018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10707
10708 regex: Gnulib unibyte RRI uses bytes not chars
10709 Adjust the non-glibc code to agree with what Gawk needs for
10710 rational range interpretation (RRI) for regular expression ranges.
10711 In unibyte locales, Gawk wants ranges to use the underlying byte
10712 rather than the character code point. This change does not affect
10713 glibc proper.
10714 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10715 In unibyte locales, use the byte value rather than
10716 running it through btowc.
10717
2ce7ba7d
JM
107182018-08-10 Joseph Myers <joseph@codesourcery.com>
10719
10720 * sysdeps/generic/math-tests-snan.h: New file.
10721 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10722 (SNAN_TESTS_float): Do not define here.
10723 (SNAN_TESTS_double): Likewise.
10724 (SNAN_TESTS_long_double): Likewise.
10725 (SNAN_TESTS_float128): Likewise.
10726 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10727 * sysdeps/i386/fpu/math-tests.h: Remove file.
10728 * sysdeps/ia64/math-tests-snan.h: New file.
10729 * sysdeps/ia64/math-tests.h: Remove file.
10730 * sysdeps/x86/math-tests.h: Likewise.
10731 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10732
ea5c662c
WD
107332018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10734 Szabolcs Nagy <szabolcs.nagy@arm.com>
10735
10736 * math/Makefile: Add s_sincosf_data.c.
10737 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10738 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10739 (sincosf_poly): Likewise.
10740 (reduce_small): Likewise.
10741 (reduce_large): Likewise.
10742 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10743 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10744 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10745 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10746
43cfdf8f
SN
107472018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10748 Szabolcs Nagy <szabolcs.nagy@arm.com>
10749
10750 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10751 (converttoint): Use lround.
10752 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10753 document the semantics when TOINT_INTRINSICS is set.
10754 (converttoint): Likewise.
10755 (TOINT_RINT): Remove.
10756 (TOINT_SHIFT): Remove.
10757 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10758 path.
10759
69065288
FW
107602018-08-10 Florian Weimer <fweimer@redhat.com>
10761
10762 [BZ #23497]
10763 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10764 function.
10765 (__old_getdents64): Use getdents64. Convert entries without
10766 moving them.
10767 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10768 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10769 tst-readdir64-compat.
10770
8f135efc
IL
107712018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10772
10773 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10774 Fix unwind.
10775
71c01af5
IL
107762018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10777
10778 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10779 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10780 code to s390x-mcount.h and #include it.
10781 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10782 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10783 (__fentry__): Add.
10784
8d997d22
IL
107852018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10786
10787 * stdlib/Versions: Remove __fentry__.
10788 * sysdeps/i386/Versions: Add __fentry__.
10789 * sysdeps/x86_64/Versions: Add __fentry__.
10790
69e2444a
IL
107912018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10792
10793 * sysdeps/s390/Makefile: Register the new tests.
10794 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10795 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10796 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10797 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10798 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10799 * sysdeps/s390/tst-dl-runtime.c: New file.
10800
bde6320f
IL
108012018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10802
10803 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10804 Do not clobber R0.
10805
5755f5e4
IL
108062018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10807
10808 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10809 Do not clobber R0.
10810
c8ad8522
IL
108112018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10812
10813 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10814 Do not clobber R0.
10815
b215eee1
IL
108162018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10817
10818 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10819 Do not clobber R0.
10820
329c6fec
IL
108212018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10822
10823 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10824 Use symbolic offsets for stack variables.
10825
0fb7afa2
IL
108262018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10827
10828 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10829 Use symbolic offsets for stack variables.
10830
6954059a
IL
108312018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10832
10833 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10834 Use symbolic offsets for stack variables.
10835
c7099673
IL
108362018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10837
10838 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10839 Use symbolic offsets for stack variables.
10840
2813e41e
JM
108412018-08-09 Joseph Myers <joseph@codesourcery.com>
10842
10843 * math/gen-libm-test.py: New file.
10844 * math/gen-libm-test.pl: Remove.
10845 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10846 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10847 gen-libm-test.pl.
10848 ($(libm-test-c-noauto-obj)): Likewise.
10849 ($(libm-test-c-auto-obj)): Likewise.
10850 ($(libm-test-c-narrow-obj)): Likewise.
10851 (regen-ulps): Likewise.
10852 * math/README.libm-test: Update references to gen-libm-test.pl.
10853 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10854 referencing gen-libm-test.pl.
10855 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10856 * math/libm-test-support.c: Likewise.
10857 * math/libm-test-support.h: Likewise.
10858 * sysdeps/generic/libm-test-ulps: Likewise.
10859
be64b194
SP
108602018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10861
10862 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10863 Fix value.
10864
140137fb
JM
108652018-08-08 Joseph Myers <joseph@codesourcery.com>
10866
10867 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10868 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10869
b5403eca
ST
108702018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10871
10872 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10873 symbols.
8ac0f9e6
ST
10874 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10875 __pthread_setspecific): Add hidden proto.
10876 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10877 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 10878
014efdd7
SP
108792018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10880
10881 * benchtests/bench-string.h (buf1_size, buf2_size): New
10882 variables.
10883 (init_sizes): New function.
10884 (test_init): Use it.
10885 (alloc_buf, exit_error): New functions.
10886 (alloc_bufs): Use ALLOC_BUF.
10887 (realloc_bufs): Remove.
10888 * benchtests/bench-memcmp.c (do_test): Adjust.
10889 * benchtests/bench-memset-large.c (do_test): Likewise.
10890 * benchtests/bench-memset-walk.c (do_test): Likewise.
10891 * benchtests/bench-memset.c (do_test): Likewise.
10892 * benchtests/bench-strncmp.c (do_test): Likewise.
10893
92a4cba7
AS
108942018-08-06 Andreas Schwab <schwab@suse.de>
10895
10896 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10897 of CONST_THREAD_AREA.
10898
fb4c32ae
L
108992018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10900
10901 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10902 (STATE_SAVE_MASK): Likewise.
10903 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10904 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10905 (STATE_SAVE_MASK): Likewise.
10906 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10907 instead of <cpu-features.h>.
10908
bf418187
DD
109092018-08-03 DJ Delorie <dj@redhat.com>
10910
10911 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 10912 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 10913
bb17621a
DD
10914 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10915
ea705eb5
JM
109162018-08-03 Joseph Myers <joseph@codesourcery.com>
10917
10918 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10919 after TEST_* calls.
10920 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10921 * math/libm-test-logb.inc (logb_test_data): Likewise.
10922
284f42bc
WD
109232018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10924
10925 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10926 * string/strstr.c (AVAILABLE): Likewise.
10927
430388d5
L
109282018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10929
10930 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10931 <init-arch.h>.
10932 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10933 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10934 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10935
c5760aa9
CD
109362018-08-03 Carlos O'Donell <carlos@redhat.com>
10937
10938 * po/be.po: Update translation.
10939
6b535b84
CD
10940 * po/be.po: Update translation.
10941
ae67f2e5
L
109422018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10943
10944 * sysdeps/x86/cpu-features-offsets.sym
10945 (rtld_global_ro_offsetof): Removed.
10946 (CPU_FEATURES_SIZE): Likewise.
10947 (CPUID_OFFSET): Likewise.
10948 (CPUID_SIZE): Likewise.
10949 (CPUID_EAX_OFFSET): Likewise.
10950 (CPUID_EBX_OFFSET): Likewise.
10951 (CPUID_ECX_OFFSET): Likewise.
10952 (CPUID_EDX_OFFSET): Likewise.
10953 (FAMILY_OFFSET): Likewise.
10954 (MODEL_OFFSET): Likewise.
10955 (FEATURE_OFFSET): Likewise.
10956 (FEATURE_SIZ): Likewise.
10957 (COMMON_CPUID_INDEX_1): Likewise.
10958 (COMMON_CPUID_INDEX_7): Likewise.
10959 (FEATURE_INDEX_1): Likewise.
10960 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10961
6b5c8607 109622018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
10963
10964 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10965 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10966 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10967 (install-locales): Depend on install-locale-archive.
10968 (install-locale-archive): Define.
7b7adbd8 10969 (install-locale-files): Define.
08a5ee14
CD
10970 (build-one-locale): Define macro.
10971 * manual/install.texi (Running make install): Document.
10972 * manual/INSTALL: Regenerate.
10973
525691bd
SP
109742018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10975
d67d634b
SP
10976 * benchtests/scripts/compare_strings.py: Import traceback.
10977 (parse_file): Pretty-print error.
10978
525691bd
SP
10979 * NEWS: Mention the change.
10980 * elf/dl-tunables.list: Rename tune namespace to cpu.
10981 * sysdeps/powerpc/dl-tunables.list: Likewise.
10982 * sysdeps/x86/dl-tunables.list: Likewise.
10983 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10984 cpu.name.
10985 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10986 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10987 * manual/README.tunables: Likewise.
10988 * manual/tunables.texi: Likewise.
10989 * sysdeps/powerpc/cpu-features.c: Likewise.
10990 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10991 (init_cpu_features): Likewise.
10992 * sysdeps/x86/cpu-features.c: Likewise.
10993 * sysdeps/x86/cpu-features.h: Likewise.
10994 * sysdeps/x86/cpu-tunables.c: Likewise.
10995 * sysdeps/x86_64/Makefile: Likewise.
10996 * sysdeps/x86/dl-cet.c: Likewise.
10997
506d7fb1
JM
109982018-08-02 Joseph Myers <joseph@codesourcery.com>
10999
11000 [BZ #23479]
11001 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11002 [__mips_hard_float].
11003 (FE_UNDERFLOW): Likewise.
11004 (FE_OVERFLOW): Likewise.
11005 (FE_DIVBYZERO): Likewise.
11006 (FE_INVALID): Likewise.
11007 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11008 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11009 (FE_UPWARD): Likewise.
11010 (FE_DOWNWARD): Likewise.
11011 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11012 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11013 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11014 [__mips_hard_float].
11015 (FP_ROUNDMODE): Likewise.
11016 (FP_RND_NEAREST): Likewise.
11017 (FP_RND_ZERO): Likewise.
11018 (FP_RND_PINF): Likewise.
11019 (FP_RND_MINF): Likewise.
11020 (FP_EX_INVALID): Likewise.
11021 (FP_EX_OVERFLOW): Likewise.
11022 (FP_EX_UNDERFLOW): Likewise.
11023 (FP_EX_DIVZERO): Likewise.
11024 (FP_EX_INEXACT): Likewise.
11025 (FP_INIT_ROUNDMODE): Likewise.
11026 * sysdeps/mips/nofpu/fesetenv.c: New file.
11027 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11028
f6dcefbe
JM
110292018-08-01 Joseph Myers <joseph@codesourcery.com>
11030
11031 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11032 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11033 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11034 conditional on [FE_UPWARD].
11035
fa67ba06
PE
110362018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11037
11038 regex: fix memory leak in Gnulib
11039 Problem and fix reported by Assaf Gordon in:
11040 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11041 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11042 range_ends members too, as they are defined in 'struct
11043 re_charset_t' even if not _LIBC. This affects only Gnulib.
11044
82c80ac2
L
110452018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11046
11047 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11048 ...
11049 (get_common_indices): This.
11050 (init_cpu_features): Updated.
11051
c0e7e2c1
JM
110522018-08-01 Joseph Myers <joseph@codesourcery.com>
11053
46f8cf57
JM
11054 * sysdeps/generic/math-tests-snan-payload.h: New file.
11055 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11056 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11057 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11058 * sysdeps/generic/math-tests.h: Include
11059 <math-tests-snan-payload.h>.
11060 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11061 * sysdeps/hppa/math-tests.h: Remove file.
11062 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11063 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11064 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11065 Likewise.
11066
c0e7e2c1
JM
11067 * sysdeps/generic/math-tests-snan-cast.h: New file.
11068 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11069 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11070 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11071 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11072
74939c83
CD
110732018-08-01 Carlos O'Donel <carlos@redhat.com>
11074
b029723b
CD
11075 * version.h (RELEASE): Set to "development".
11076 (VERSION): Set to "2.28.9000".
11077 * NEWS (2.29): New section.
11078
3c03baca
CD
11079 * version.h (RELEASE): Set to "stable".
11080 (VERSION): Set to "2.28".
11081 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11082 * NEWS: Add the list of bugs fixed in 2.28.
11083
74939c83
CD
11084 * po/ca.po: Update to latest version.
11085 * po/cs.po: Likewise
11086 * po/da.po: Likewise
11087 * po/el.po: Likewise
11088 * po/eo.po: Likewise
11089 * po/es.po: Likewise
11090 * po/fi.po: Likewise
11091 * po/fr.po: Likewise
11092 * po/gl.po: Likewise
11093 * po/hu.po: Likewise
11094 * po/ia.po: Likewise
11095 * po/id.po: Likewise
11096 * po/it.po: Likewise
11097 * po/ja.po: Likewise
11098 * po/ko.po: Likewise
11099 * po/lt.po: Likewise
11100 * po/nb.po: Likewise
11101 * po/nl.po: Likewise
11102 * po/pt_BR.po: Likewise
11103 * po/ru.po: Likewise
11104 * po/rw.po: Likewise
11105 * po/sk.po: Likewise
11106 * po/sl.po: Likewise
11107 * po/tr.po: Likewise
11108 * po/zh_CN.po: Likewise
11109 * po/zh_TW.po: Likewise
11110
d4b54bdf
ST
111112018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11112
11113 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11114 initialization...
11115 (init): ... before initializing libpthread.
11116
42fc12ef
ST
11117 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11118 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11119 (__mach_setup_tls): ... new function.
11120 (mach_setup_tls): New alias.
11121 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11122 __mach_setup_thread.
11123 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11124 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11125 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11126 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11127
6cca855e
CD
111282018-07-31 Carlos O'Donell <carlos@redhat.com>
11129
f650932b
CD
11130 * manual/install.texi: Update versions.
11131 * INSTALL: Regenerate.
11132
6cca855e
CD
11133 * manual/contrib.texi (Contributors): Update contributions.
11134
07fdea47
CD
111352018-07-31 Carlos O'Donell <carlos@redhat.com>
11136
11137 * po/be.po: Update translations.
11138
63d5fad4
AZ
111392018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11140
11141 * sysdeps/sh/libm-test-ulps: Update.
11142
1ff712a6
CD
111432018-07-30 Carlos O'Donell <carlos@redhat.com>
11144
11145 * po/bg.po: Update translations.
11146 * po/de.po: Likewise.
11147 * po/hr.po: Likewise.
11148 * po/pt_BR.po: Likewise.
11149 * po/sv.po: Likewise.
11150 * po/vi.po: Likewise.
11151
98864ed0
L
111522018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11153
11154 [BZ #23467]
11155 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11156 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11157 (CFLAGS-tst-cet-property-1.o): New.
11158 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11159 ($(objpfx)tst-cet-property-2): Likewise.
11160 ($(objpfx)tst-cet-property-2.out): Likewise.
11161 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11162 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11163 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11164 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11165 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11166
c92a00d8
L
111672018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11168
11169 [BZ #23458]
11170 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11171
99bc6241
ST
111722018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11173
11174 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11175 __sbrk): Do not set attribute_hidden.
af86087f 11176 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
11177 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11178 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11179
bcb1c4af
CD
111802018-07-27 Carlos O'Donell <carlos@redhat.com>
11181
11182 * po/uk.po: Update translations.
11183 * po/cs.po: Likewise.
11184 * po/pl.po: Likewise.
11185
4591b7db
L
111862018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11187
11188 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11189 parse beyond the note end.
11190
2c6da2f4
AZ
111912018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11192
11193 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11194 kernel does not support OFD locks.
11195 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11196
20365a31
ST
111972018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11198
11199 * sysdeps/mach/hurd/Versions (libc): Make __access and
11200 __access_noerrno external so they can override the ld symbols.
11201 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11202 __writev, __open64, __access_noerrno extern so they can be overrided.
11203 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11204 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11205
cb1a43db
CD
112062018-07-26 Carlos O'Donell <carlos@redhat.com>
11207
11208 * po/libc.pot: Regenerate.
11209
74759ae5
JM
112102018-07-26 Joseph Myers <joseph@codesourcery.com>
11211
11212 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11213
da80612d
L
112142018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11215
11216 [BZ #23459]
11217 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11218 function.
11219 (init_cpu_features): Call get_extended_indices for both Intel
11220 and AMD CPUs.
11221 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11222 Remove "for AMD" comment.
11223
65d87ade
L
112242018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11225
11226 [BZ # 23456]
11227 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11228 COMMON_CPUID_INDEX_80000001.
11229
c9dc4d51
SL
112302018-07-26 Stefan Liebler <stli@linux.ibm.com>
11231
11232 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11233 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11234
cfba5dbb
FW
112352018-07-26 Florian Weimer <fweimer@redhat.com>
11236
11237 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11238 aliases for symbols not in the implementation namespace.
11239
6b5c8607 112402018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
11241
11242 [BZ #23393]
11243 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11244 lowercase in LATIN script.
11245 * localedata/Makefile (test-input): Add en_US.UTF-8.
11246 * localedata/en_US.UTF-8.in: New file.
11247 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11248 and restore old tests.
11249 * posix/tst-regexloc.c (do_test): Add back range expression test.
11250
3fb455b3
L
112512018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11252
11253 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11254
d6499b70
AZ
112552018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11256
11257 * nptl/threads.h: Move to ...
11258 * sysdeps/nptl/threads.h: ... here.
11259 * sysdeps/hurd/stdc-predef.h: New file.
11260
08ac6bed
L
112612018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11262
11263 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11264 tst-cet-setcontext-1 if CET is enabled.
11265 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11266 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11267
9faaf938
AZ
112682018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11269
11270 * include/threads.h: Move to ...
11271 * sysdeps/nptl/threads.h: ... here.
11272 * sysdeps/htl/threads.h: New file.
11273 * conform/Makefile (linknamespace-libs-ISO11): Use
11274 static-thread-library instead of linking libpthread.
11275 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11276
d6b8f847
FW
112772018-07-25 Florian Weimer <fweimer@redhat.com>
11278
11279 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11280 nanoseconds into seconds.
11281 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11282 (do_test): Likewise.
11283 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11284 (do_test): Likewise. Avoid nanosecond overflow and spurious
11285 timeouts due to system load.
11286 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11287 (child_wait): Increment it.
11288 (do_test): Wait as long as necessary until all expected threads
11289 have arrived.
11290
25123a1c
L
112912018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11292 H.J. Lu <hongjiu.lu@intel.com>
11293
11294 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11295 __ssp.
11296 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11297 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11298 (__push___start_context): New.
11299 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11300 <asm/prctl.h>.
11301 (__getcontext): Record the current shadow stack base. Save the
11302 caller's shadow stack pointer and base.
11303 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11304 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11305 (__push___start_context): New prototype.
11306 (__makecontext): Call __push___start_context to allocate a new
11307 shadow stack, push __start_context onto the new stack as well
11308 as the new shadow stack.
11309 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11310 <asm/prctl.h>.
11311 (__setcontext): Restore the target shadow stack.
11312 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11313 <asm/prctl.h>.
11314 (__swapcontext): Record the current shadow stack base. Save
11315 the caller's shadow stack pointer and base. Restore the target
11316 shadow stack.
11317 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11318 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11319 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11320
375a4844
L
113212018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11322
11323 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11324 tst-setcontext8 and tst-setcontext9.
11325 * stdlib/tst-setcontext6.c: New file.
11326 * stdlib/tst-setcontext7.c: Likewise.
11327 * stdlib/tst-setcontext8.c: Likewise.
11328 * stdlib/tst-setcontext9.c: Likewise.
11329
bd4f7903
L
113302018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11331
11332 * stdlib/Makefile ((tests): Add tst-setcontext5.
11333 * stdlib/tst-setcontext5.c: New file.
11334
7e28f203
L
113352018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11336
11337 * stdlib/Makefile (tests): Add tst-setcontext4.
11338 * stdlib/tst-setcontext4.c: New file.
11339
8516ad2d
L
113402018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11341
11342 * stdlib/Makefile (tests): Add tst-swapcontext1.
11343 * stdlib/tst-swapcontext1.c: New test.
11344
fddcd003
L
113452018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11346
11347 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11348 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11349 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11350 and tst-cet-legacy-4c.
11351 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11352 and tst-cet-legacy-mod-4.
11353 (CFLAGS-tst-cet-legacy-2.c): New.
11354 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11355 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11356 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11357 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11358 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11359 ($(objpfx)tst-cet-legacy-1): Likewise.
11360 ($(objpfx)tst-cet-legacy-2): Likewise.
11361 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11362 ($(objpfx)tst-cet-legacy-2a): Likewise.
11363 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11364 ($(objpfx)tst-cet-legacy-4): Likewise.
11365 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11366 ($(objpfx)tst-cet-legacy-4a): Likewise.
11367 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11368 (tst-cet-legacy-4a-ENV): Likewise.
11369 ($(objpfx)tst-cet-legacy-4b): Likewise.
11370 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11371 (tst-cet-legacy-4b-ENV): Likewise.
11372 ($(objpfx)tst-cet-legacy-4c): Likewise.
11373 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11374 (tst-cet-legacy-4c-ENV): Likewise.
11375 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11376 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11377 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11378 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11379 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11380 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11381 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11382 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11383 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11384 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11385 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11386
9aa3113a
L
113872018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11388
11389 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11390 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11391 with ssp_base.
11392 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11393 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11394 with ssp_base.
11395
9c79cec8
AS
113962018-07-25 Andreas Schwab <schwab@suse.de>
11397
11398 [BZ #23442]
11399 * locale/weightwc.h (findidx): Handle the case where usrc is a
11400 prefix of cp but one character too short.
11401
969c3355
AZ
114022018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11403
11404 * NEWS: Add ISO C threads addition.
11405
e0f9c462
FW
114062018-07-24 Florian Weimer <fweimer@redhat.com>
11407
11408 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11409 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11410 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11411 4.13.
11412
394df381
L
114132018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11414
11415 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11416 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11417 <sys/prctl.h> and <asm/prctl.h>.
11418 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11419 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11420 and <asm/prctl.h>.
11421 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11422 ARCH_CET_LEGACY_BITMAP.
11423 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11424 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11425 * sysdeps/x86/libc-start.c: Include <startup.h>.
11426
46545530
FW
114272018-07-24 Florian Weimer <fweimer@redhat.com>
11428
11429 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11430 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11431
6b5c8607 114322018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 11433 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
11434 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11435
11436 [BZ #14092]
9d0a979e
RJ
11437 * manual/debug.texi: Update adjacent chapter name.
11438 * manual/probes.texi: Likewise.
11439 * manual/threads.texi (ISO C Threads): New section.
11440 (POSIX Threads): Convert to a section.
11441
114422018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11443 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11444
11445 [BZ# 14092]
0a07288b
AZ
11446 * nptl/Makefile (tests): Add new test files.
11447 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11448 * nptl/tst-cnd-basic.c: Likewise.
11449 * nptl/tst-cnd-broadcast.c: Likewise.
11450 * nptl/tst-cnd-timedwait.c: Likewise.
11451 * nptl/tst-mtx-basic.c: Likewise.
11452 * nptl/tst-mtx-recursive.c: Likewise.
11453 * nptl/tst-mtx-timedlock.c: Likewise.
11454 * nptl/tst-mtx-trylock.c: Likewise.
11455 * nptl/tst-thrd-basic.c: Likewise.
11456 * nptl/tst-thrd-detach.c: Likewise.
11457 * nptl/tst-thrd-sleep.c: Likewise.
11458 * nptl/tst-tss-basic.c: Likewise.
11459
ce7528f6
AZ
114602018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11461
c6dd669b
AZ
11462 [BZ #14092]
11463 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11464 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11465 symbols.
11466 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11467 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11468 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11469 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11470 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11471 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11472 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11473 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11474 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11475 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11476 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11477 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11479 Likewise.
11480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11481 Likewise.
11482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11483 Likewise.
11484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11485 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11486 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11487 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11488 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11489 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11490 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11491 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11492 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11493 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11494 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11495 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11496 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11497 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11498 Likewise.
11499 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11500 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11501 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11502 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11503 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11504 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11505 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11506 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11507 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11508 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11509 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11510 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11511 ikewise.
11512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11514 Likewise.
11515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11516 Likewise.
11517 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11518 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11519 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11520 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11521 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11522 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11523 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11524 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11525
78d40132
AZ
11526 [BZ #14092]
11527 * conform/data/threads.h-data (thread_local): New macro.
11528 (TSS_DTOR_ITERATIONS): Likewise.
11529 (tss_t): New type.
11530 (tss_dtor_t): Likewise.
11531 (tss_create): New function.
11532 (tss_get): Likewise.
11533 (tss_set): Likewise.
11534 (tss_delete): Likewise.
11535 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11536 tss_get, and tss_set objects.
11537 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11538 * nptl/tss_create.c: New file.
11539 * nptl/tss_delete.c: Likewise.
11540 * nptl/tss_get.c: Likewise.
11541 * nptl/tss_set.c: Likewise.
11542 * sysdeps/nptl/threads.h (thread_local): New define.
11543 (TSS_DTOR_ITERATIONS): Likewise.
11544 (tss_t): New typedef.
11545 (tss_dtor_t): Likewise.
11546 (tss_create): New prototype.
11547 (tss_get): Likewise.
11548 (tss_set): Likewise.
11549 (tss_delete): Likewise.
11550
918311a3
AZ
11551 [BZ #14092]
11552 * conform/data/threads.h-data (cnd_t): New type.
11553 (cnd_init): New function.
11554 (cnd_signal): Likewise.
11555 (cnd_broadcast): Likewise.
11556 (cnd_wait): Likewise.
11557 (cnd_timedwait): Likewise.
11558 (cnd_destroy): Likewise.
11559 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11560 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11561 object.
11562 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11563 * nptl/cnd_broadcast.c: New file.
11564 * nptl/cnd_destroy.c: Likewise.
11565 * nptl/cnd_init.c: Likewise.
11566 * nptl/cnd_signal.c: Likewise.
11567 * nptl/cnd_timedwait.c: Likewise.
11568 * nptl/cnd_wait.c: Likewise.
11569 * sysdeps/nptl/threads.h (cnd_t): New type.
11570 (cnd_init): New prototype.
11571 (cnd_signa): Likewise.
11572 (cnd_broadcast): Likewise.
11573 (cnd_wait): Likewise.
11574 (cnd_timedwait): Likewise.
11575 (cnd_destroy): Likewise.
11576
3c20a679
AZ
11577 [BZ #14092]
11578 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11579 (once_flag): New type.
11580 (call_once): New function.
11581 * nptl/Makefile (libpthread-routines): Add call_once object.
11582 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11583 * nptl/call_once.c: New file.
11584 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11585 (once_flag): New type.
11586 (call_once): New prototype.
11587
18d59c1b
AZ
11588 [BZ #14092]
11589 * conform/data/threads.h-data (mtx_plain): New constant.
11590 (mtx_recursive): Likewise.
11591 (mtx_timed): Likewise.
11592 (mtx_t): New type.
11593 (mtx_init): New function.
11594 (mtx_lock): Likewise.
11595 (mtx_timedlock): Likewise.
11596 (mtx_trylock): Likewise.
11597 (mtx_unlock): Likewise.
11598 (mtx_destroy): Likewise.
11599 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11600 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11601 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11602 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11603 * nptl/mtx_destroy.c: New file.
11604 * nptl/mtx_init.c: Likewise.
11605 * nptl/mtx_lock.c: Likewise.
11606 * nptl/mtx_timedlock.c: Likewise.
11607 * nptl/mtx_trylock.c: Likewise.
11608 * nptl/mtx_unlock.c: Likewise.
11609 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11610 (mtx_recursive): Likewise.
11611 (mtx_timed): Likewise.
11612 (mtx_t): New type.
11613 (mtx_init): New prototype.
11614 (mtx_lock): Likewise.
11615 (mtx_timedlock): Likewise.
11616 (mtx_trylock): Likewise.
11617 (mtx_unlock): Likewise.
11618 (mtx_destroy): Likewise.
11619
ce7528f6
AZ
11620 [BZ #14092]
11621 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11622 (linknamespace-libs-ISO11): Add libpthread.a.
11623 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11624 functions.
11625 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11626 * nptl/Makefile (headers): Add threads.h.
11627 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11628 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11629 thrd_yield.
11630 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11631 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11632 thrd_join, thrd_sleep, and thrd_yield symbols.
11633 * nptl/descr.h (struct pthread): Add c11 field.
11634 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11635 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11636 routine with expected function prototype.
11637 (__pthread_create_2_1): Add C11 threads check based on attribute
11638 value.
11639 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11640 * nptl/thrd_create.c: New file.
11641 * nptl/thrd_current.c: Likewise.
11642 * nptl/thrd_detach.c: Likewise.
11643 * nptl/thrd_equal.c: Likewise.
11644 * nptl/thrd_exit.c: Likewise.
11645 * nptl/thrd_join.c: Likewise.
11646 * nptl/thrd_priv.h: Likewise.
11647 * nptl/thrd_sleep.c: Likewise.
11648 * nptl/thrd_yield.c: Likewise.
11649 * include/threads.h: Likewise.
11650
e27f41ba
L
116512018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11652
11653 * bits/indirect-return.h: New file.
11654 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11655 * sysdeps/x86/bits/indirect-return.h: Likewise.
11656 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11657 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11658 (swapcontext): Add __INDIRECT_RETURN.
11659 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11660 (prepare_test_buffer): Use it.
11661
21526a50
AS
116622018-07-24 Andreas Schwab <schwab@suse.de>
11663
11664 [BZ #23448]
11665 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11666 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11667
3650e1d9
L
116682018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11669
11670 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11671 Redefine if shadow stack is enabled.
11672 (SYSCALL_ERROR_LABEL): Likewise.
11673 (__vfork): Pop shadow stack and jump back to to caller directly
11674 when shadow stack is in use.
11675 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11676 Redefine if shadow stack is enabled.
11677 (SYSCALL_ERROR_LABEL): Likewise.
11678 (__vfork): Pop shadow stack and jump back to to caller directly
11679 when shadow stack is in use.
11680
ca027e0f
L
116812018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11682
11683 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11684 enabled.
11685 (foo): Likewise.
11686 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11687 (foo): Likewise.
11688
b99f1c95
JM
116892018-07-20 Joseph Myers <joseph@codesourcery.com>
11690
11691 * scripts/build-many-glibcs.py (Context.checkout): Default
11692 binutils version to 2.31 branch.
11693
c8fabb84
ZL
116942018-07-20 Zong Li <zong@andestech.com>
11695
11696 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11697 URL of gcc's tarball.
11698
786658a0
FW
116992018-07-20 Florian Weimer <fweimer@redhat.com>
11700
11701 [BZ #23396]
11702 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11703 not compare an extra byte after the end of the weights.
11704
46f2474e
ST
117052018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11706
11707 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11708 to 1.
8ba1520e
ST
11709 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11710 hidden prototypes.
11711 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11712 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
11713 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11714 list of libraries whose stack executability is expected.
11715 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11716 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11717 variable.
11718 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11719 libc.so libpthread.so.
46f2474e 11720
60088242
TS
117212018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11722
11723 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11724 SOCK_NONBLOCK.
75d5e4a0
TS
11725 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11726 and SOCK_NONBLOCK.
de195be0
TS
11727 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11728 implement __pipe2.
11729 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 11730
1cf4ae7f
LS
117312018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11732
11733 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11734 library to improve command line parsing.
11735 (__main__): make schema file as optional parameter (--schema),
11736 defaulting to benchtests/scripts/benchout.schema.json.
11737 (main): move out of the parsing stuff to __main_  and leave it
11738 only as caller of main comparison functions.
11739
e84bd851
L
117402018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11741
11742 * NEWS: Add a note for Intel CET status.
11743 * manual/install.texi: Likewise.
11744 * INSTALL: Regenerated.
11745
df467d22
QP
117462018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11747
11748 [BZ #23140]
11749 * localedata/locales/oc_FR (mon): Rename to...
11750 (alt_mon): This, then update October (typo fix).
11751 (mon): New content (genitive case, month names preceded by
11752 "de" or "d’").
11753
11754 [BZ #23422]
11755 * localedata/locales/oc_FR (abday): Update all items.
11756 (day): Update Wednesday and Saturday (typo fixes).
11757 (abmon): Update all items, except May.
11758 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11759 (LC_IDENTIFICATION): Bump the revision number and date.
11760 Keep the "category" entries in alphabetic order.
11761 (LC_ADDRESS): Remove no longer needed comment.
11762 (LC_COLLATE): Use “copy "ca_ES"”.
11763 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11764 "name_mrs".
11765
5c112f1b
JM
117662018-07-18 Joseph Myers <joseph@codesourcery.com>
11767
11768 * grp/tst_fgetgrent.c: Include <unistd.h>.
11769 (main): Use mkstemp instead of tmpnam.
11770 * io/test-utime.c (main): Likewise.
11771 * posix/annexc.c (macrofile): Change to modifiable array.
11772 (main): Remove macrofile here.
11773 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11774 macrofile here.
11775 (check_header): Do not remove macrofile here.
11776 * posix/bug-getopt1.c: Include <stdlib.h>.
11777 (do_test): Use mkstemp instead of tmpnam.
11778 * posix/bug-getopt2.c: Include <stdlib.h>.
11779 (do_test): Use mkstemp instead of tmpnam.
11780 * posix/bug-getopt3.c: Include <stdlib.h>.
11781 (do_test): Use mkstemp instead of tmpnam.
11782 * posix/bug-getopt4.c: Include <stdlib.h>.
11783 (do_test): Use mkstemp instead of tmpnam.
11784 * posix/bug-getopt5.c: Include <stdlib.h>.
11785 (do_test): Use mkstemp instead of tmpnam.
11786 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11787 (main): Use mkstemp instead of tmpnam.
11788 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11789 (main): Use mkstemp instead of tmpnam.
11790 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11791 (main): use mkstemp instead of tmpnam.
11792 * stdlib/isomac.c (macrofile): Change to modifiable array.
11793 (main): Remove macrofile here.
11794 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11795 macrofile here.
11796 (check_header): Do not remove macrofile here.
11797
6d90776d
L
117982018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11799
11800 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11801 glibc.tune.x86_shstk.
11802
e6c69509
L
118032018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11804
11805 * NEWS: Mention --enable-cet.
11806 * manual/install.texi: Document --enable-cet.
11807 * INSTALL: Regenerated.
11808
e2d40a88
L
118092018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11810
11811 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11812 Add _CET_NOTRACK before indirect jump to jump table.
11813
77a8ae09
L
118142018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11815
11816 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11817 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11818 to jump table.
11819
90d15dc5
L
118202018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11821
11822 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11823 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11824 to jump table.
11825
f1574581
L
118262018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11827
11828 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11829 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11830 to jump table.
11831
7fb61336
L
118322018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11833
11834 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11835 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11836 to jump table.
11837
0a899af0
L
118382018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11839
11840 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11841 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11842 to jump table.
11843 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11844
177824e2
L
118452018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11846
11847 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11848 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11849 to jump table.
11850
00e7b76a
L
118512018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11852
11853 * sysdeps/i386/i686/multiarch/memset-sse2.S
11854 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11855 to jump table.
11856
7e119cd5
L
118572018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11858
11859 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11860 indirect jump to jump table.
11861
03aaf49b
L
118622018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11863
11864 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11865 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11866 to jump table.
11867 (MEMCPY): Likewise.
11868
811e9e52
L
118692018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11870
11871 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11872 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11873 to jump table.
11874 (MEMCPY): Likewise.
11875
8817df42
L
118762018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11877
11878 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11879 _CET_NOTRACK before indirect jump to jump table.
11880
921595d1
L
118812018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11882
11883 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11884 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11885 to jump table.
11886
4ef60d95
L
118872018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11888
11889 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11890 indirect jump to jump table.
11891
61c4aad7
VT
118922018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11893
11894 [BZ #22241]
11895 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11896 (LOCALES): Likewise.
11897 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11898 * localedata/locales/sah_RU: New file.
11899 * localedata/sah_RU.UTF-8.in: New file.
11900
be9ccd27
L
119012018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11902
11903 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11904 "sysdep.h".
11905 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11906 _CET_ENDBR to indirect jump targets and adjust jump destination
11907 for _CET_ENDBR.
11908 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11909 "sysdep.h".
11910 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11911 _CET_ENDBR to indirect jump targets and adjust jump destination
11912 for _CET_ENDBR.
11913 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11914 "sysdep.h".
11915 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11916 _CET_ENDBR to indirect jump targets and adjust jump destination
11917 for _CET_ENDBR.
11918
5efc6777
L
119192018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11920
11921 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11922 _CET_ENDBR.
11923
562837c0
L
119242018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11925
11926 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11927 _CET_ENDBR.
11928 (_dl_tlsdesc_undefweak): Likewise.
11929 (_dl_tlsdesc_dynamic): Likewise.
11930 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11931 (_dl_tlsdesc_resolve_rel): Likewise.
11932 (_dl_tlsdesc_resolve_rela): Likewise.
11933 (_dl_tlsdesc_resolve_hold): Likewise.
11934 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11935 (_dl_tlsdesc_undefweak): Likewise.
11936 (_dl_tlsdesc_dynamic): Likewise.
11937 (_dl_tlsdesc_resolve_rela): Likewise.
11938 (_dl_tlsdesc_resolve_hold): Likewise.
11939
124bcde6
L
119402018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11941
11942 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11943 (_fini): Likewise.
11944 * sysdeps/x86_64/crti.S (_init): Likewise.
11945 (_fini): Likewise.
11946
9145f033
RL
119472018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11948
11949 [BZ #23140]
11950 * localedata/locales/os_RU (mon): Rename to...
11951 (alt_mon): This.
11952 (mon): Import from CLDR (genitive case).
11953
ba2ea23d
L
119542018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11955
11956 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11957 cet-tunables.h> when CET is enabled.
11958
f753fa7d
L
119592018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11960
6b5c8607 11961 [BZ #21598]
f753fa7d
L
11962 * configure.ac: Add --enable-cet.
11963 * configure: Regenerated.
11964 * elf/Makefille (all-built-dso): Add a comment.
11965 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11966 Include <dl-prop.h>.
11967 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11968 segment.
11969 * elf/dl-open.c: Include <dl-prop.h>.
11970 (dl_open_worker): Call _dl_open_check.
11971 * elf/rtld.c: Include <dl-prop.h>.
11972 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11973 _rtld_main_check.
11974 * sysdeps/generic/dl-prop.h: New file.
11975 * sysdeps/i386/dl-cet.c: Likewise.
11976 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11977 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11978 * sysdeps/x86/cet-tunables.h: Likewise.
11979 * sysdeps/x86/check-cet.awk: Likewise.
11980 * sysdeps/x86/configure: Likewise.
11981 * sysdeps/x86/configure.ac: Likewise.
11982 * sysdeps/x86/dl-cet.c: Likewise.
11983 * sysdeps/x86/dl-procruntime.c: Likewise.
11984 * sysdeps/x86/dl-prop.h: Likewise.
11985 * sysdeps/x86/libc-start.h: Likewise.
11986 * sysdeps/x86/link_map.h: Likewise.
11987 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11988 _CET_ENDBR.
11989 (_dl_runtime_profile): Likewise.
11990 (_dl_runtime_resolve_shstk): New.
11991 (_dl_runtime_profile_shstk): Likewise.
11992 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11993 if CET is enabled.
11994 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11995 (CFLAGS-.os): Likewise.
11996 (CFLAGS-.op): Likewise.
11997 (CFLAGS-.oS): Likewise.
11998 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11999 is enabled.
12000 (tests-special): Add $(objpfx)check-cet.out.
12001 (cet-built-dso): New.
12002 (+$(cet-built-dso:=.note)): Likewise.
12003 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12004 ($(objpfx)check-cet.out): New.
12005 (generated): Add check-cet.out.
12006 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12007 <cet-tunables.h>.
12008 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12009 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12010 (init_cpu_features): Call get_cet_status to check CET status
12011 and update dl_x86_feature_1 with CET status. Call
12012 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12013 (set_x86_shstk). Disable and lock CET in libc.a.
12014 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12015 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12016 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12017 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12018 (_CET_ENDBR): Define if not defined.
12019 (ENTRY): Add _CET_ENDBR.
12020 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12021 x86_shstk.
12022 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12023 _CET_ENDBR.
12024 (_dl_runtime_profile): Likewise.
12025
52b2a80f
RA
120262018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12027
12028 [BZ #21895]
12029 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12030 restore r2 on longjmp.
12031 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12032 test list.
12033 Added rules to build test tst-setjmp-bug21895-static.
12034 Added module setjmp-bug21895 and rules to build a shared object from it.
12035 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12036 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12037
3ae725df
WD
120382018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12039
12040 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12041 * benchtests/bench-strstr.c: Likewise.
12042 * string/memmem.c (FASTSEARCH): Define.
12043 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12044 Add support for FASTSEARCH.
12045 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12046 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12047 (FASTSEARCH): Define.
12048 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12049 * string/test-strstr.c: Likewise.
12050
31e422ca
L
120512018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12052
12053 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12054 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12055
faaee1f0
L
120562018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12057 H.J. Lu <hongjiu.lu@intel.com>
12058
12059 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12060 (__longjmp): Restore shadow stack pointer if shadow stack is
12061 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12062 isn't defined for __longjmp_cancel.
12063 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12064 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12065 and SHADOW_STACK_POINTER_OFFSET is defined.
12066 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12067 (setjmp): Save shadow stack pointer if shadow stack is enabled
12068 and SHADOW_STACK_POINTER_OFFSET is defined.
12069 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
12070 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12071 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12072 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12073 <jmp_buf-ssp.h>.
12074 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12075 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12076 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12077 Remove jmp_buf-ssp.sym.
12078 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12079 <jmp_buf-ssp.h>.
12080 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12081 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12082 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12083 jmp_buf-ssp.sym.
12084 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12085 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12086 (__longjmp): Restore shadow stack pointer if shadow stack is
12087 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12088 isn't defined for __longjmp_cancel.
12089 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12090 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12091 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12092
ebff9c5c
L
120932018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12094
12095 [BZ #22563]
12096 * nptl/pthread_create.c: Include <tls-setup.h>.
12097 (__pthread_create_2_1): Call tls_setup_tcbhead.
12098 * sysdeps/generic/tls-setup.h: New file.
12099 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12100 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12101 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12102 Likewise.
12103 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12104 to feature_1.
12105 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12106 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12107 (X86_FEATURE_1_SHSTK): Likewise.
12108 (CET_ENABLED): Likewise.
12109 (IBT_ENABLED): Likewise.
12110 (SHSTK_ENABLED): Likewise.
12111
0a83bad2
RL
121122018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12113
12114 [BZ #23208]
12115 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12116 (LOCALES): Likewise.
12117 * localedata/dsb_DE.UTF-8.in: New file.
12118 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12119
046bfed9
FW
121202018-07-12 Florian Weimer <fweimer@redhat.com>
12121
12122 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12123 __mprotect, not mprotect.
12124
93304f5f
FW
121252018-07-11 Florian Weimer <fweimer@redhat.com>
12126
12127 * io/Makefile (headers): Add bits/statx.h.
12128
4beefeeb
MF
121292018-07-10 Mike FABIAN <mfabian@redhat.com>
12130
12131 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12132 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12133 and headers.
12134 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12135 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12136 for utf8_gen.py
12137
fd70af45
FW
121382018-07-10 Florian Weimer <fweimer@redhat.com>
12139
12140 * io/Makefile (routines): Add statx.
12141 (tests-internal): Add tst-statx.
12142 * io/Versions (GLIBC_2.28): Export statx.
12143 * io/bits/statx.h: New file.
12144 * io/sys/stat.h [__USE_GNU]: Include it.
12145 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12146 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12147 Define.
12148 * io/statx.c: New file.
12149 * io/statx_generic.: Likewise.
12150 * io/tst-statx.: Likewise.
12151 * include/bits/statx.h: Likewise.
12152 * sysdeps/unix/sysv/linux/kernel-features.h
12153 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12154 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12155 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12156 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12157 Undefine.
12158 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12159 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12160 * sysdeps/unix/sysv/linux/statx.c: New file.
12161 * manual/filesys.texi: Note that statx is undocumented.
12162 * sysdeps/**/libc*.abilist: Update.
12163
b444e8f7
AZ
121642018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12165
12166 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12167 a kernel issue which lead to test failure in some cases.
12168
7b2f4ced
FW
121692018-07-10 Florian Weimer <fweimer@redhat.com>
12170
12171 [BZ #23036]
12172 * posix/regexec.c (check_node_accept_bytes): When comparing
12173 weights, do not compare an extra byte after the end of the
12174 weights.
12175
4fa34da6
FW
121762018-07-10 Florian Weimer <fweimer@redhat.com>
12177
12178 * libio/readline.c: Fix copyright year.
12179 * libio/tst-readline.c Likewise.
12180 * nss/tst-nss-files-hosts-getent.c: Likewise.
12181
916124ed
FW
121822018-07-06 Florian Weimer <fweimer@redhat.com>
12183
12184 [BZ #18991]
12185 * nss/nss_files/files-XXX.c (internal_getent): Use
12186 __libc_readline_unlocked. Seek back to the start of the line if
12187 parsing failes with ERANGE.
12188 (get_contents_ret, get_contents): Remove.
12189 * nss/tst-nss-files-hosts-getent.c: New file.
12190 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12191 (tst-nss-files-hosts-getent): Link with -ldl.
12192
3f5e3f5d
FW
121932018-07-06 Florian Weimer <fweimer@redhat.com>
12194
12195 * include/stdio.h (__libc_readline_unlocked): Declare.
12196 (__ftello64, __fseeko64): Declare aliases.
12197 * libio/readline.c: New file.
12198 * libio/tst-readline.c: Likewise.
12199 (routines): Add readline.
12200 (tests-internal): Add tst-readlime.
12201 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12202 __libc_readline_unlocked.
12203 * libio/fseeko.c (__fseeko): Rename from fseeko.
12204 (fseeko): Add alias.
12205 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12206 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12207 (fseeko64): Add alias.
12208 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12209 * libio/ftello64.c (__ftello64): Rename from ftello64.
12210 (ftello64): Add alias.
12211
397c54c1
SN
122122018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12213
12214 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12215 HWCAP_ATOMICS.
12216
d0cd7980
SN
122172018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12218
12219 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12220 Use dl_hwcap without masking.
12221 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12222 Remove HWCAP_CPUID.
12223
ddb3c626
FW
122242018-07-06 Florian Weimer <fweimer@redhat.com>
12225
12226 * conform/conformtest.pl (checknamespace): Escape literal braces
12227 in regular expressions.
12228
bce5911b
AP
122292018-07-06 Amit Pawar <amit.pawar@amd.com>
12230
12231 * sysdeps/x86/cpu-features.c (get_common_indeces):
12232 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12233 * sysdeps/x86/cpu-features.c (init_cpu_features):
12234 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12235
3a885c1f
FW
122362018-07-05 Florian Weimer <fweimer@redhat.com>
12237
12238 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12239 protector.
12240 (CFLAGS-elf-init.oS): Likewise.
12241
38cade0c
FW
122422018-07-05 Florian Weimer <fweimer@redhat.com>
12243 Carlos O'Donell <carlos@redhat.com>
12244
12245 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12246 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12247 with stack protector enabled because there is no risk of infinite
12248 recursion.
12249
9449a295
MR
122502018-07-05 Maciej W. Rozycki <macro@mips.com>
12251
12252 [BZ #19818]
12253 [BZ #23307]
12254 * libc-abis (ABSOLUTE): New ABI.
12255 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12256 * NEWS: Mention the new ABI.
12257
d6da5cb6
FW
122582018-07-05 Florian Weimer <fweimer@redhat.com>
12259
12260 [BZ # 17662]
12261 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12262 (RENAME_WHITEOUT): Define.
12263 [__USE_GNU] (renameat2): Declare.
12264 * stdio-common/Makefile (routines): Add renameat2.
12265 (tests): Add tst-renameat2.
12266 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12267 * stdio-common/renameat2.c: New file.
12268 * stdio-common/tst-renameat2.c: Likewise.
12269 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12270 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12271 undocumented.
12272 * sysdeps/unix/sysv/linux/kernel-features.h
12273 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12274 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12275 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12276 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12277 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12278 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12279 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12280 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12281 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12282 * include/stdio.h (__renameat): Add alias for renameat.
12283 * stdio-common/renameat.c (__renameat): Rename from renameat.
12284 Add hidden definition and alias.
12285 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12286 * sysdeps/mach/hurd/renameat.c: Likewise.
12287 * sysdeps/**/libc*.abilist: Add renameat2.
12288
1002d708
AZ
122892018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12290
12291 * posix/bug-regex33.c: Fix build after regex sync.
12292
34fdb893
CD
122932018-07-04 Carlos O'Donell <carlos@redhat.com>
12294
12295 [BZ #23164]
12296 * localedata/tst-langinfo-setlocale.c: New file.
12297 * localedata/tst-langinfo-setlocale-static.c: New file.
12298 * localedata/tst-langinfo-newlocale.c: New file.
12299 * localedata/tst-langinfo-newlocale-static.c: New file.
12300 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12301 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12302 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12303 (tests-static): Remove tst-langinfo-static. Add
12304 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12305 (tests-special): Remove $(objpfx)tst-langinfo.out,
12306 $(objpfx)tst-langinfo-static.out. Add
12307 $(objpfx)tst-langinfo-setlocale.out,
12308 $(objpfx)tst-langinfo-newlocale.out,
12309 $(objpfx)tst-langinfo-setlocale-static.out,
12310 $(objpfx)tst-langinfo-newlocale-static.out.
12311 ($(objpfx)tst-langinfo.out): Remove.
12312 ($(objpfx)tst-langinfo-static.out): Remove.
12313 ($(objpfx)tst-langinfo-newlocale.out): New target.
12314 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12315 (test-xfail-tst-langinfo-newlocale-static): Add.
12316 ($(objpfx)tst-langinfo-setlocale.out): New target.
12317 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12318 * localedata/tst-langinfo.c: Call test_locale.
12319 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12320 data.
12321
f2873d2d
FW
123222018-07-04 Florian Weimer <fweimer@redhat.com>
12323
12324 testrun.sh: Implement --tool=strace, --tool=valgrind
12325 * Makefile (testrun-script): Define variable.
12326 (testrun.sh): Use variable.
12327 * manual/install.texi (Tools for Compilation): make 4.0 or later
12328 is required.
12329 * configure.ac: Check for make 4.0 or later.
12330 * INSTALL: Regenerate.
12331 * configure: Likewise.
12332
eb04c213
AZ
123332018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12334
12335 [BZ #23233]
12336 [BZ #21163]
12337 [BZ #18986]
12338 [BZ #13762]
12339 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12340 * posix/PCRE.tests: Remove invalid test.
12341 * posix/bug-regex28.c: Fix expected values for used syntax.
12342 * posix/bug-regex37.c: New file.
12343 * posix/bug-regex38.c: Likewise.
12344 * posix/regcomp.c: Sync with gnulib.
12345 * posix/regex.c: Likewise.
12346 * posix/regex.h: Likewise.
12347 * posix/regex_internal.c: Likewise.
12348 * posix/regex_internal.h: Likewise.
12349 * posix/regexec.c: Likewise.
12350
b11643c2
MF
123512018-06-26 Mike FABIAN <mfabian@redhat.com>
12352
12353 [BZ #23308]
12354 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12355 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12356 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12357 * localedata/unicode-gen/PropList.txt: likewise.
12358 * localedata/unicode-gen/UnicodeData.txt: likewise.
12359 * localedata/charmaps/UTF-8: Regenerate.
12360 * localedata/locales/i18n_ctype: likewise.
12361 * localedata/locales/tr_TR: likewise.
12362 * localedata/locales/translit_circle: likewise.
12363 * localedata/locales/translit_cjk_compat: likewise.
12364 * localedata/locales/translit_combining: likewise.
12365 * localedata/locales/translit_compat: likewise.
12366 * localedata/locales/translit_font: likewise.
12367 * localedata/locales/translit_fraction: likewise.
12368
5a357506
FW
123692018-07-03 Florian Weimer <fweimer@redhat.com>
12370
12371 [BZ #23363]
12372 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12373 * stdio-common/tst-printf.sh: Adjust expected output.
12374 * LICENSES: Update.
12375
7279af00
AZ
123762018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12377
12378 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12379 symbol.
12380
b7b88cea
GG
123812018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12382
12383 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12384 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12385 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12386 * stdio-common/tst-printfsz-islongdouble.c: New file.
12387 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12388 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12389 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12390 [subdir == stdio-common] (tests-internal): Add
12391 test-printf-size-ieee128, and test-printf-size-ibm128.
12392 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12393 (CFLAGS-test-printf-size-ibm128.c): New variables.
12394 [subdir == stdio-common] (tests-special): Add
12395 $(objpfx)test-printf-size-ieee128.out and
12396 $(objpfx)test-printf-size-ibm128.out.
12397 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12398 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12399 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12400 __printf_sizeieee128.
12401 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12402 New file.
12403 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12404 Likewise.
12405 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12406 Likewise.
12407
2b445206
SN
124082018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12409
12410 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12411 (exp2f_inline): Likewise.
12412 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12413 (__math_uflowf): Likewise.
12414 (__math_may_uflowf): Likewise.
12415 (__math_divzerof): Likewise.
12416 (__math_invalidf): Likewise.
12417 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12418 (__math_oflowf): Likewise.
12419 (__math_uflowf): Likewise.
12420 (__math_may_uflowf): Likewise.
12421 (__math_divzerof): Likewise.
12422 (__math_invalidf): Likewise.
12423
2827ab99
CD
124242018-06-29 DJ Delorie <dj@redhat.com>
12425 Carlos O'Donell <carlos@redhat.com>
12426
12427 [BZ #23329]
12428 * include/libc-symbols.h: Comment the freeres framework.
12429 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12430 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12431 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12432 * dlfcn/dlerror.c: Include libc-symbols.h
12433 (__dlerror_main_freeres): New function.
12434 * dlfcn/dlfreeres.c: New file.
12435 * dlfcn/sdlfreeres.c: New file.
12436 * include/dlfcn.h: Declare __dlerror_main_freeres.
12437 * malloc/set-freeres.c: Declare __libdl_freeres, and
12438 __libpthread_freeres.
12439 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12440 the releavant libraries are loaded.
12441 * malloc/thread-freeres.c: Add comments.
12442 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12443 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12444 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12445 (__free_stacks): Rename to...
12446 (free_stacks): ...this. Mark static.
12447 (queue_stack): Call free_stacks.
12448 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12449 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12450 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12451 ptr_freeres element from struct.
12452 (pthread_functions): Remove .ptr_freeres from struct initializer.
12453 [SHARED] (nptl_freeres): Remove.
12454 * nptl/nptlfreeres.c: New file.
12455 * nptl/pthreadP.h
12456 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12457 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12458 attribute_hidden.
12459 (__free_stacks): Rename to...
12460 (__nptl_stacks_freeres): ...this.
12461 (__shm_directory_freeres): Declare.
12462 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12463 (__nptl_unwind_freeres): ...this.
12464 * resolv/res-close.c: Add comment.
12465 * resolv/resolv_conf.c: Include libc-symbols.h.
12466 * string/strerror_l.c: Include libc-symbols.h.
12467 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12468 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12469 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12470 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12471
37d3d244
RS
124722018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12473
12474 * stdlib/tst-strfmon_l.c: Add tests for long double.
12475
a1e0c5fa
MW
124762018-06-29 Michael Wolf <milupo@sorbzilla.de>
12477
12478 [BZ #23208]
12479 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12480 * localedata/locales/dsb_DE: New file.
12481
2e0c5de6
RL
124822018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12483
12484 [BZ #23140]
12485 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12486 genitive case).
12487 (alt_mon): New entry, import from CLDR (nominative case).
12488
cdb52c71
SL
124892018-06-29 Sylvain Lesage <severo@rednegra.net>
12490
12491 [BZ #22996]
12492 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12493
ce76a5cb
SP
124942018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12495
0aec4c1d
SP
12496 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12497 Use vector registers.
12498
ce76a5cb
SP
12499 * sysdeps/aarch64/multiarch/memmove_falkor.S
12500 (__memcpy_falkor): Use vector registers.
12501
7e8989d0
MS
125022018-06-29 Martin Sebor <msebor@redhat.com>
12503
12504 * manual/stdio.texi (Customizing Printf): Mention interaction
12505 with GCC built-ins.
12506
bac15a72
MR
125072018-06-29 Maciej W. Rozycki <macro@mips.com>
12508
12509 [BZ #23307]
12510 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12511 `st_value' is 0 if `st_shndx' is SHN_ABS.
12512 * elf/tst-absolute-zero.c: New file.
12513 * elf/tst-absolute-zero-lib.c: New file.
12514 * elf/tst-absolute-zero-lib.lds: New file.
12515 * elf/Makefile (tests): Add `tst-absolute-zero'.
12516 (modules-names): Add `tst-absolute-zero-lib'.
12517 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12518 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12519 ($(objpfx)tst-absolute-zero: New dependency.
12520
e69d994a
ZW
125212018-06-29 Zack Weinberg <zackw@panix.com>
12522
12523 * configure.ac: New command-line option --disable-crypt.
12524 Force --disable-nss-crypt when --disable-crypt is given, with a
12525 warning if it was explicitly enabled.
12526 * configure: Regenerate.
12527 * config.make.in: New boolean substitution variable $(build-crypt).
12528 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12529 when $(build-crypt).
12530 * manual/install.texi: Document --disable-crypt.
12531 * INSTALL: Regenerate.
12532
12533 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12534 which is never set.
12535 * conform/Makefile: Only include libcrypt.a in
12536 linknamespace-libs-xsi and linknamespace-libs-XPG4
12537 when $(build-crypt).
12538 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12539 USE_CRYPT to 1 when $(build-crypt).
12540 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12541 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12542 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12543
841785ba
ZW
125442018-06-29 Zack Weinberg <zackw@panix.com>
12545
12546 * crypt/crypt.h, posix/unistd.h: Update comments and
12547 prototypes for crypt and crypt_r.
12548
12549 * manual/crypt.texi (Cryptographic Functions): New initial
12550 exposition.
12551 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12552 (Unpredictable Bytes): Improve initial exposition. Clarify error
12553 behavior of getentropy and getrandom.
12554 * manual/examples/genpass.c: Generate a salt using getentropy
12555 instead of the current time. Use hash $5$ (SHA-2-256).
12556 * manual/examples/testpass.c: Demonstrate validation against
12557 hashes generated with three different one-way functions.
12558
12559 * manual/intro.texi: crypt.texi does not need an overview
12560 anymore.
12561
12562 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12563 * manual/terminal.texi: Consistently refer to "passphrases"
12564 * instead of "passwords", and to the "user database" instead
12565 * of the "password database".
12566 * manual/users.texi: Similarly. Add notes about how actual
12567 passphrase hashes are now stored in the shadow database.
12568 Remove 20-year-old junk todo note.
12569
6ab902e4
ZW
125702018-06-29 Zack Weinberg <zackw@panix.com>
12571
12572 * manual/crypt.texi: Use a normal top-level @node declaration.
12573 Move most of the introductory text to the 'crypt' section.
12574 Move the example programs below the @deftypefun for 'crypt_r'.
12575 Move the 'getpass' section...
12576 * manual/terminal.texi: ...here.
12577
b10a0acc
ZW
125782018-06-29 Zack Weinberg <zackw@panix.com>
12579 Florian Weimer <fweimer@redhat.com>
12580
12581 * posix/unistd.h: Do not declare encrypt.
12582 (_XOPEN_CRYPT): Remove macro definition.
12583 (crypt): Declare only for _USE_MISC.
12584 * stdlib/stdlib.h: Do not declare setkey.
12585 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12586 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12587
12588 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12589 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12590 into compat symbols. Don't define initial_perm if it's not
12591 going to be used.
12592 * crypt/cert.c: Link explicitly with the expected versions for
12593 setkey and encrypt. If they are not available at all, mark
12594 the test as unsupported.
12595
12596 * sunrpc/des_crypt.c: Unconditionally block linkage with
12597 cbc_crypt and ecb_crypt for new binaries.
12598 * sunrpc/des_soft.c: Unconditionally block linkage with
12599 des_setparity for new binaries.
12600
12601 * manual/crypt.texi: Remove the entire "DES Encryption"
12602 section. Also remove the paragraph talking about FIPS 140-2
12603 from the introduction.
12604 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12605 of libgcrypt for "real" encryption, not DES.
12606 * manual/conf.texi (Constants for Sysconf): Mention that
12607 _XOPEN_CRYPT is no longer impelemented.
12608
12609 * conform/data/unistd.h-data: Remove crypt function declaration.
12610
524d796d
FW
126112018-06-29 Florian Weimer <fweimer@redhat.com>
12612
12613 [BZ #23351]
12614 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12615 (disallow_malloc_check): Remove variable.
12616 (__malloc_check_init): Adjust.
12617 (malloc_set_state): Update comment.
12618 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12619 declarations.
12620
339124ab
RL
126212018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12622
12623 [BZ #23140]
12624 * localedata/locales/ast_ES (mon): Rename to...
12625 (alt_mon): This.
12626 (mon): Import from CLDR (genitive case).
12627
c1f86a33
DA
126282018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12629 Jakub Sitnicki <jkbs@redhat.com>
12630
12631 [BZ #21812]
12632 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12633 on NLM_F_DUMP_INTR.
12634
0b11b649
SN
126352018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12636
12637 * manual/llio.texi: Remove spurious space.
12638
c1c2848b
FW
126392018-06-28 Florian Weimer <fweimer@redhat.com>
12640
12641 [BZ #23349]
12642 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12643 _STRUCT_TIMESPEC.
12644
86a0f561
RS
126452018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12646
12647 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 12648 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
12649 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12650 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12651 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12652 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12653 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12654
780684eb
MR
126552018-06-27 Maciej W. Rozycki <macro@mips.com>
12656
12657 [BZ #23266]
12658 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12659 Copy and null-terminate entries that are not terminated, in
12660 addition to empty ones.
12661
c49e1822
FW
126622018-06-27 Florian Weimer <fweimer@redhat.com>
12663
12664 [BZ #18023]
b39d961c
TS
12665 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12666 (extend_alloca_account): Remove.
c49e1822
FW
12667 * manual/stdio.texi (Variable Arguments Output): Update comment.
12668
a833e627
JM
126692018-06-27 Joseph Myers <joseph@codesourcery.com>
12670
12671 * nptl/sockperf.c: Remove file.
12672
92d6aa85
FW
126732018-06-27 Florian Weimer <fweimer@redhat.com>
12674
12675 [BZ #18023]
12676 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12677 scratch_buffer instead of extend_alloca.
12678
890c2ced
FW
126792018-06-27 Florian Weimer <fweimer@redhat.com>
12680
12681 [BZ #18023]
12682 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12683 scratch_buffer instead of extend_alloca. Update comments.
12684
4272059d
FW
126852018-06-27 Florian Weimer <fweimer@redhat.com>
12686
12687 [BZ #18023]
12688 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12689 instead of extend_alloca.
12690
27f10a09
JM
126912018-06-26 Joseph Myers <joseph@codesourcery.com>
12692
12693 [BZ #13888]
12694 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12695 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12696 /tmp.
12697 * scripts/test-installation.pl: Put temporary files in build
12698 directory, not /tmp.
12699 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12700 (CFLAGS-bug4.c): Likewise.
12701 (CFLAGS-bug5.c): Likewise.
12702 (CFLAGS-test-fseek.c): Likewise.
12703 (CFLAGS-test-popen.c): Likewise.
12704 (CFLAGS-test_rdwr.c): Likewise.
12705 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12706 /tmp.
12707 * stdio-common/bug4.c (main): Likewise.
12708 * stdio-common/bug5.c (main): Likewise.
12709 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12710 * stdio-common/test-popen.c (do_test): Likewise.
12711 * stdio-common/test_rdwr.c (main): Likewise.
12712
05598a09
PF
127132018-06-26 Patsy Franklin <pfrankli@redhat.com>
12714
12715 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12716 (sem_open): Set sem.newsem.pad to zero for valgrind.
12717
06ab719d
AZ
127182018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12719
12720 [BZ #20251]
12721 * NEWS: Mention fcntl64 addition.
12722 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12723 * login/utmp_file.c: Likewise.
12724 * sysdeps/posix/fdopendir.c: Likewise.
12725 * sysdeps/posix/opendir.c: Likewise.
12726 * sysdeps/unix/pt-fcntl.c: Likewise.
12727 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12728 __fcntl64_nocancel_adjusted): New prototype.
12729 (__fcntl_nocancel_adjusted): Remove prototype.
12730 * io/Makefile (routines): Add fcntl64.
12731 (CFLAGS-fcntl64.c): New rule.
12732 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12733 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12734 * io/fcntl.h (fcntl64): Add prototype and redirect if
12735 __USE_FILE_OFFSET64 is defined.
12736 * io/fcntl64.c: New file.
12737 * manual/llio.text: Add a note for which commands fcntl acts a
12738 cancellation point.
12739 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12740 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12741 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12742 New symbols.
12743 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12744 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12745 non-LFS case.
12746 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12747 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12748 to __fcntl64_nocancel.
12749 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12750 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12751 to __fcntl64_nocancel.
12752 * sysdeps/generic/not-cancel.h: Likewise.
12753 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12754 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12755 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12756 (fcntl64): New symbol.
12757 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12758 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12759 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12762 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12763 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12764 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12765 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12766 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12767 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12768 fcntl64): Likewise.
12769 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12770 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12771 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12772 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12773 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12774 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12775 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12776 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12777 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12779 Likewise.
12780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12781 Likewise.
12782 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12783 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12784 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12785
124e0258
FW
127862018-06-26 Florian Weimer <fweimer@redhat.com>
12787
12788 Run thread shutdown functions in an explicit order.
12789 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12790 definition.
12791 (__libc_thread_freeres): Call thread shutdown functions
12792 explicitly.
12793 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12794 * include/string.h (__strerror_thread_freeres): Declare.
12795 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12796 arena_thread_freeres. No longer static. Remove thread shutdown
12797 hook registration.
12798 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12799 Declare.
12800 * resolv/res-close.c (__res_thread_freeres): Renamed from
12801 res_thread_freeres. No longer static. Remove thread shutdown
12802 hook registration.
12803 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12804 * resolv/resolv_conf.c (freeres): Remove incorrect section
12805 attribute and use libc_freeres_fn.
12806 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12807 strerror_thread_freeres. No longer static. Remove thread
12808 shutdown hook registration.
12809 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12810 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12811 shutdown hook registration.
12812 * Makerules (shlib.lds): Do not provide section boundary symbols
12813 for __libc_thread_subfreeres.
12814 * manual/memory.texi (Basic Allocation): Update comment.
12815
935d920e
FW
128162018-06-26 Florian Weimer <fweimer@redhat.com>
12817
12818 Remove always-defined _RPC_THREAD_SAFE_ macro.
12819 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12820 Do not define _RPC_THREAD_SAFE_.
12821 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12822 conditional.
12823 * sunrpc/clnt_perr.c: Likewise.
12824 * sunrpc/clnt_raw.c: Likewise.
12825 * sunrpc/clnt_simp.c: Likewise.
12826 * sunrpc/key_call.c: Likewise.
12827 * sunrpc/rpc_common.c: Likewise.
12828 * sunrpc/rpc_main.c: Likewise.
12829 * sunrpc/rpc_thread.c: Likewise.
12830 * sunrpc/svc.c: Likewise.
12831 * sunrpc/svc_raw.c: Likewise.
12832 * sunrpc/svc_simple.c: Likewise.
12833 * sumrpc/svcauth_des.c: Likewise.
12834
29055464
FW
128352018-06-26 Florian Weimer <fweimer@redhat.com>
12836
12837 * libio/Makefile (tests-internal): Add tst-vtables,
12838 tst-vtables-interposed.
12839 * libio/tst-vtables.c: New file.
12840 * libio/tst-vtables-common.c: Likewise.
12841 * libio/tst-vtables-interposed.c: Likewise.
12842
5c0202af
FW
128432018-06-26 Florian Weimer <fweimer@redhat.com>
12844
12845 * support/support_test_main.c (support_test_main): Only call
12846 setvbuf if not disables.
12847 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12848 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12849
c402355d
FW
128502018-06-26 Florian Weimer <fweimer@redhat.com>
12851
12852 [BZ #23313]
12853 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12854
43b1048a
FW
128552018-06-25 Florian Weimer <fweimer@redhat.com>
12856
12857 [BZ #18023]
12858 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12859 Use struct scratch_buffer instead of extend_alloca.
12860
1599ed4e
FW
128612018-06-25 Florian Weimer <fweimer@redhat.com>
12862
12863 [BZ #18023]
12864 * nss/getent.c (initgroups_keys): Use dynarray instead of
12865 extend_alloca.
12866
a26fe163
FW
128672018-06-25 Florian Weimer <fweimer@redhat.com>
12868
12869 [BZ #18023]
12870 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12871 Use struct scratch_buffer instead of extend_alloca.
12872
90d9d9ce
FW
128732018-06-25 Florian Weimer <fweimer@redhat.com>
12874
12875 [BZ #18023]
12876 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12877 back to malloc directly, without stack allocations.
12878
6b7b2aba
FW
128792018-06-25 Florian Weimer <fweimer@redhat.com>
12880
12881 [BZ #18023]
12882 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12883 of extend_alloca.
12884
2f9f0d18
FW
128852018-06-25 Florian Weimer <fweimer@redhat.com>
12886
12887 [BZ #18023]
12888 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12889 of extend_alloca.
12890 * nscd/hstcache.c (addhstbyX): Likewise.
12891 * nscd/pwdcache.c (addpwbyX): Likewise.
12892 * nscd/servicescache.c (addservbyX): Likewise.
12893
318bad78
FW
128942018-06-25 Florian Weimer <fweimer@redhat.com>
12895
12896 [BZ #18023]
12897 * nscd/connections.c (read_cmdline): New function.
12898 (restart): Use it. Update comment.
12899
189699ab
RL
129002018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12901
12902 [BZ #23140]
12903 * localedata/locales/csb_PL (mon): Rename to...
12904 (alt_mon): This.
12905 (abmon): Rename to...
12906 (ab_alt_mon): This.
12907 (mon): Add with proper genitive forms, copy from Wikipedia.
12908 (abmon): Likewise.
12909
0ea3f13c
RL
129102018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12911
12912 [BZ #19485]
12913 * localedata/locales/csb_PL (mon): Fix typos:
12914 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12915 (yesstr): Add, value is "jo".
12916 (nostr): Add, value is "nié".
12917
d93f4ff1
TMQMF
129182018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12919
12920 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12921 all log1p and significand functions on m680x0.
12922 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12923 of s_significand.c..
12924 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12925 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12926 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12927 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12928 s_log1p.c and include it..
12929
f6299d2a
VC
129302018-06-21 Vincent Chen <vincentc@andestech.com>
12931
12932 * elf/elf.h (R_NDS32_NONE): New define.
12933 (R_NDS32_32_RELA): Likewise.
12934 (R_NDS32_COPY): Likewise.
12935 (R_NDS32_GLOB_DAT): Likewise.
12936 (R_NDS32_JUMP_SLOT): Likewise.
12937 (R_NDS32_RELATIVE): Likewise.
12938 (R_NDS32_TLS_TPOFF): Likewise.
12939 (R_NDS32_TLS_DESC): Likewise.
12940
61ab61c2
MW
129412018-06-21 Mark Wielaard <mark@klomp.org>
12942
12943 * elf/elf.h (R_BPF_MAP_FD): Removed.
12944 (R_BPF_64_64, R_BPF_64_32): New.
12945
f496b28e
FW
129462018-06-21 Florian Weimer <fweimer@redhat.com>
12947
12948 [BZ #23253]
12949 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12950 Renamed from libc_feholdsetround_ctx.
12951 (default_libc_feresetround_ctx): Renamed from
12952 libc_feresetround_ctx.
12953 (default_libc_feholdsetround_noex_ctx): Renamed from
12954 libc_feholdsetround_noex_ctx.
12955 (default_libc_feresetround_noex_ctx): Renamed from
12956 libc_feresetround_noex_ctx.
12957 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12958 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12959 forwardning to the old implementations under the new names.
12960 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12961 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12962 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12963 (libc_feresetround_ctx): Forward to default implements for i386
12964 and MATH_SET_BOTH_ROUNDING_MODES.
12965 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12966 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12967
1760daad
JM
129682018-06-20 Joseph Myers <joseph@codesourcery.com>
12969
99c7adf9
JM
12970 * string/tst-cmp.c: Include <libc-diag.h>.
12971 (strncmp_max): Disable -Wstringop-overflow= around call to
12972 strncmp.
12973 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12974 strncasecmp.
12975
1760daad
JM
12976 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12977 (main): Disable -Wunused-value around call to strpbrk.
12978 * string/bug-strspn1.c: Include <libc-diag.h>.
12979 (main): Disable -Wunused-value around call to strspn.
12980
209ae17c
TMQMF
129812018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12982 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12983
12984 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12985 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12986
badba23c
TMQMF
129872018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12988
5e79e029
TMQMF
12989 * math/Makefile (libm-calls): Move s_significandF to...
12990 (gen-libm-calls): ... here.
12991 * math/s_significand_template.c: New file.
12992 * math/s_significand.c: Removed.
12993 * math/s_significandf.c: Removed.
12994 * math/s_significandl.c: Removed.
12995 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12996 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12997
badba23c
TMQMF
12998 * math/e_exp2_template.c (declare_mgen_finite_alias,
12999 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13000 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13001 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13002
2d1c89a5
FW
130032018-06-20 Florian Weimer <fweimer@redhat.com>
13004
13005 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13006
646c2833
JM
130072018-06-19 Joseph Myers <joseph@codesourcery.com>
13008
13009 [BZ #23280]
13010 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13011 floating-point number to strtod functions rather than possibly
13012 negating result of those functions.
13013 * stdio-common/tst-scanf-round.c: New file.
13014 * stdio-common/Makefile (tests): Add tst-scanf-round.
13015 ($(objpfx)tst-scanf-round): Depend on $(libm).
13016
c77e4dc0
ST
130172018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13018
13019 * sysdeps/mach/hurd/localplt.data: Move to...
13020 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13021 R_386_GLOB_DAT like on Linux i386.
13022
91b2f3e5
JM
130232018-06-18 Joseph Myers <joseph@codesourcery.com>
13024
f2857da7
JM
13025 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13026 (SHM_STAT_ANY): New macro.
13027 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13028 (SHM_STAT_ANY): Likewise.
13029 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13030 (SHM_STAT_ANY): Likewise.
13031 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13032 (SHM_STAT_ANY): Likewise.
13033 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13034 (SHM_STAT_ANY): Likewise.
13035 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13036 (SHM_STAT_ANY): Likewise.
13037 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13038 (SHM_STAT_ANY): Likewise.
13039 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13040 (SHM_STAT_ANY): Likewise.
13041 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13042 (SHM_STAT_ANY): Likewise.
13043 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13044 (SHM_STAT_ANY): Likewise.
13045 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13046 (SHM_STAT_ANY): Likewise.
13047 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13048 (SHM_STAT_ANY): Likewise.
13049
176c7fee
JM
13050 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13051 (SEM_STAT_ANY): New macro.
13052 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13053 (SEM_STAT_ANY): Likewise.
13054 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13055 (SEM_STAT_ANY): Likewise.
13056 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13057 (SEM_STAT_ANY): Likewise.
13058 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13059 (SEM_STAT_ANY): Likewise.
13060 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13061 (SEM_STAT_ANY): Likewise.
13062 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13063 (SEM_STAT_ANY): Likewise.
13064 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13065 (SEM_STAT_ANY): Likewise.
13066 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13067 (SEM_STAT_ANY): Likewise.
13068 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13069 (SEM_STAT_ANY): Likewise.
13070
86bf0019
JM
13071 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13072 (MSG_STAT_ANY): New macro.
13073 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13074 (MSG_STAT_ANY): Likewise.
13075 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13076 (MSG_STAT_ANY): Likewise.
13077 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13078 (MSG_STAT_ANY): Likewise.
13079 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13080 (MSG_STAT_ANY): Likewise.
13081 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13082 (MSG_STAT_ANY): Likewise.
13083 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13084 (MSG_STAT_ANY): Likewise.
13085 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13086 (MSG_STAT_ANY): Likewise.
13087 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13088 (MSG_STAT_ANY): Likewise.
13089 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13090 (MSG_STAT_ANY): Likewise.
13091
91b2f3e5
JM
13092 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13093 (MAP_TYPE): Change value to 0x2b.
13094
3fe8fc79
FW
130952018-06-18 Florian Weimer <fweimer@redhat.com>
13096
13097 [BZ #15722]
13098 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13099 socket with SOCK_CLOEXEC.
13100
809dc95d
JM
131012018-06-18 Joseph Myers <joseph@codesourcery.com>
13102
13103 [BZ #23303]
13104 * sysdeps/powerpc/powerpc64/le/Makefile
13105 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13106 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13107 (gnulib-tests): Also add $(f128-loader-link) for
13108 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13109
298a8b59
ST
131102018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13111
13112 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13113 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13114 of sendfile.
13115 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13116 (sendfile64): New strong alias.
faf7bbc2
ST
13117 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13118 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13119 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
13120 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13121 attribute.
13122 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13123 ___pthread_get_cleanup_stack.
932d05f0 13124 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
13125 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13126 * mach/shortcut.awk: Make syscall stubs include
13127 <mach-shortcuts-hidden.h> and add hidden definition.
13128 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
13129 (__mach_msg): Add hidden prototype.
13130 * mach/msg.c: Include <mach.h>.
13131 (__mach_msg): Add hidden definition.
b0344cf5
ST
13132 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13133 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13134 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13135 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
13136 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13137 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
13138 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13139 prototype and definition.
13140 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13141 hidden target for _hurd_self_sigstate.
298a8b59 13142
b12c1e79
JM
131432018-06-15 Joseph Myers <joseph@codesourcery.com>
13144
13145 [BZ #23007]
13146 * stdlib/tst-strtod-nan-sign-main.c: New file.
13147 * stdlib/tst-strtod-nan-sign.c: Likewise.
13148 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13149 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13150 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13151 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13152 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13153
b0debe14
HB
131542018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13155
13156 [BZ #23007]
13157 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13158 appropriate sign.
13159
14beef75
FW
131602018-06-14 Florian Weimer <fweimer@redhat.com>
13161
13162 [BZ #23290]
13163 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13164 that the result stays within the ISO-8859-1 range.
13165 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13166 characters are defined in IBM273.
13167
c596630b
ST
131682018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13169
13170 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13171 __mach_task_self): Remove attribute_hidden.
13172
35ebb6b0
JM
131732018-06-14 Joseph Myers <joseph@codesourcery.com>
13174
13175 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13176 ignore -Wrestrict for one test.
13177
3c7b9f1f
SE
131782018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13179 Szabolcs Nagy <szabolcs.nagy@arm.com>
13180
13181 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13182
c59ee916
FW
131832018-06-14 Florian Weimer <fweimer@redhat.com>
13184
13185 * scripts/update-abilist.sh: Accept empty list of files to patch.
13186
43b5ff50
ST
131872018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13188
13189 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13190 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
13191 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13192 __libc_read and __libc_write to __read and __write.
c8c6e6d6 13193 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
13194 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13195 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13196 __thread_switch, __evc_wait): Move declarations to...
13197 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13198 attribute_hidden.
06d1a826
ST
13199 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13200 use PLT to call _hurd_self_sigstate.
43b5ff50 13201
fcd6b5ac
JM
132022018-06-13 Joseph Myers <joseph@codesourcery.com>
13203
13204 [BZ #23279]
13205 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13206 MAX_EXP as overflowing.
13207 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13208 overflow flag.
13209 (round_str): Output also whether result overflows in each rounding
13210 mode.
13211 * stdlib/tst-strtod-round-data: Add more tests.
13212 * stdlib/tst-strtod-round-data.h: Regenerated.
13213 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13214 (TEST): Handle extra arguments for overflow flags.
13215 (struct test_overflow): New type.
13216 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13217 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13218 (test_in_one_mode): Take argument with overflow information.
13219 (do_test): Update calls to test_in_one_mode.
13220
35df5a77
CD
132212018-06-12 Carlos O'Donell <carlos@redhat.com>
13222
a745c837
CD
13223 * elf/dl-load (_dl_dst_substitute): Correct comment.
13224 (_dl_dst_count): Likewise.
13225
35df5a77
CD
13226 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13227 lll_futex_timed_wait.
13228
48b12ed5
JM
132292018-06-12 Joseph Myers <joseph@codesourcery.com>
13230
13231 [BZ #23277]
13232 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13233 attribute.
13234 * math/test-nan-const.c: New file.
13235 * math/Makefile (tests): Add test-nan-const.
13236 (CFLAGS-test-nan-const.c): New variable.
13237
cb8f6aff
L
132382018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13239
13240 * benchtests/scripts/compare_strings.py (process_results): Add
13241 funcs argument. Compare only functions which are selected.
13242 (main): Check if base function is among selected functions.
13243 Pass selected functions to process_results.
13244 (__main__): Add -f/--functions argument.
13245
fc2ba803
HZ
132462018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13247 Hongbo Zhang <hongbo.zhang@linaro.org>
13248
13249 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13250 __memcpy_falkor for phecda core.
13251 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13252 __memmove_falkor for phecda core.
13253 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13254 __memset_falkor for phecda core.
13255 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13256 for phecda core.
13257 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13258 macro to identify phecda core.
13259
5aad5f61
CD
132602018-06-12 Carlos O'Donell <carlos@redhat.com>
13261 Andreas Schwab <schwab@suse.de>
13262 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 13263 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
13264
13265 [BZ #23102]
13266 [BZ #21942]
13267 [BZ #18018]
13268 [BZ #23259]
13269 CVE-2011-0536
13270 * elf/dl-dst.h: Remove DL_DST_COUNT.
13271 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13272 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13273 (is_dst): Comment. Support ELF gABI.
13274 (_dl_dst_count): Comment. Simplify and count DSTs.
13275 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13276 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13277 locals.
13278
329ea513
ZW
132792018-06-12 Zack Weinberg <zackw@panix.com>
13280
13281 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13282 * sysdeps/unix/sysv/linux/dl-sysdep.c
13283 Include not-cancel.h. Use __close_nocancel instead of __close,
13284 __open64_nocancel instead of __open, __read_nocancel instead of
13285 __libc_read, and __write_nocancel instead of __libc_write.
13286
13287 * csu/check_fds.c (check_one_fd)
13288 * sysdeps/posix/fdopendir.c (__fdopendir)
13289 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 13290 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
13291
13292 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13293 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 13294 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
13295 Use __open64_nocancel instead of __open_nocancel.
13296
13297 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13298 hidden_proto declarations to the end and issue them if either
13299 IS_IN(libc) or IS_IN(rtld).
13300 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13301 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13302 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13303 read_nocancel, waitpid_nocancel, write_nocancel.
13304
b39d961c
TS
13305 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13306 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13307 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 13308
b39d961c
TS
13309 * nptl/pt-fcntl.c: New file.
13310 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13311 (libpthread-routines): Add pt-fcntl.
13312 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13313 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
13314 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13315 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 13316 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
13317 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13318 to fcntl_nocancel.c.
13319 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13322 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13323
13324 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13325 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13326 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13327 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13328 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13329 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13330 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13331 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13332 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13333 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13334 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13335 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13336 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13337 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13338 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13339 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13340 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13341 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13342 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13343 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13344
b39d961c
TS
13345 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13346 libpthread-routines.
13347 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13348 defines nothing.
329ea513 13349
b39d961c
TS
13350 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13351 __libc_read, and __write instead of __libc_write. Define
13352 __open64 in addition to __open.
329ea513 13353
0221ce2a
L
133542018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13355
13356 [BZ #23250]
13357 [BZ #10686]
13358 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13359 to _private_tm[3] and add __glibc_reserved2.
13360 Add _Static_assert of offset of __private_ss == 0x30.
13361 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13362 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13363
e826574c
FW
133642018-06-12 Florian Weimer <fweimer@redhat.com>
13365
13366 x86: Make strncmp usable from rtld.
13367 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13368 __strncmp_ia32 if in libc (and not in rtld).
13369 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13370 strncmp if not in libc (and not to __strncmp_sse2).
13371
c4ad5782
RL
133722018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13373
13374 [BZ #23140]
13375 * localedata/locales/gd_GB (mon): Rename to...
13376 (alt_mon): This.
13377 (mon): Import from CLDR (genitive case).
13378 * localedata/locales/hsb_DE (mon): Rename to...
13379 (alt_mon): This.
13380 (mon): Import from CLDR (genitive case).
13381 * localedata/locales/wa_BE (mon): Rename to...
13382 (alt_mon): This.
13383 (mon): Add, fill with the proper genitive forms, but CLDR data
13384 is incomplete; completed according to the comments in this file.
13385 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13386
13387 * localedata/locales/wa_BE (country_name): Reword
13388 "Beljike" -> "Beldjike".
13389
ca121b11
JM
133902018-06-11 Joseph Myers <joseph@codesourcery.com>
13391
13392 [BZ #23272]
13393 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13394 cases of non-finite arguments.
13395 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13396
2b69fecb
JDA
133972018-06-10 John David Anglin <danglin@gcc.gnu.org>
13398
13399 [BZ #23174]
13400 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13401
283d9851
AZ
134022018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13403
13404 [BZ #23264]
13405 * include/unistd.h (__execvpex): New prototype.
13406 * posix/Makefile (tests): Add tst-spawn4.
13407 (tests-internal): Add tst-spawn4-compat.
13408 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13409 * posix/tst-spawn4-compat.c: New file.
13410 * posix/tst-spawn4.c: Likewise.
13411 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13412 binaries as shell scripts.
13413 * sysdeps/posix/spawni.c (__spawni): Likewise.
13414
67c05796
L
134152018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13416
13417 [BZ #23145]
13418 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13419 ($(all-built-dso:=.dynsym): New target.
13420 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13421 ($(objpfx)check-initfini.out): New target.
13422 (generated): Add check-initfini.out.
13423 * scripts/check-initfini.awk: New file.
13424 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13425 (_fini): Likewise.
13426 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13427 (_fini): Likewise.
13428 * sysdeps/arm/crti.S (_init): Mark as hidden.
13429 (_fini): Likewise.
13430 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13431 (_fini): Likewise.
13432 * sysdeps/i386/crti.S (_init): Mark as hidden.
13433 (_fini): Likewise.
13434 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13435 (_fini): Likewise.
13436 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13437 (_fini): Likewise.
13438 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13439 (_fini): Likewise.
13440 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13441 (_fini): Likewise.
13442 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13443 (_fini): Likewise.
13444 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13445 (_fini): Likewise.
13446 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13447 (_fini): Likewise.
13448 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13449 (_fini): Likewise.
13450 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13451 (_fini): Likewise.
13452 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13453 (_fini): Likewise.
13454 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13455 (_fini): Likewise.
13456 * sysdeps/sh/crti.S (_init): Mark as hidden.
13457 (_fini): Likewise.
13458 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13459 (_fini): Likewise.
13460 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13461 (_fini): Likewise.
13462
1c09524e
TMQMF
134632018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13464
13465 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13466 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13467 and TF redirection to KFtype and KF only when the default
13468 long double type is not the IEEE 128-bit floating point type.
13469
0e0577c9
JM
134702018-06-05 Joseph Myers <joseph@codesourcery.com>
13471
0c1c33b2
JM
13472 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13473 macro.
13474 (HWCAP_USCAT): Likewise.
13475 (HWCAP_ILRCPC): Likewise.
13476 (HWCAP_FLAGM): Likewise.
13477 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13478 Increase to 28.
13479 (_dl_aarch64_cap_flags): Add new flag names.
13480
bef1cbf4
JM
13481 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13482 (MAP_FIXED_NOREPLACE): New macro.
13483 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13484 (MAP_FIXED_NOREPLACE): Likewise.
13485 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13486 (MAP_FIXED_NOREPLACE): Likewise.
13487 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13488 (MAP_FIXED_NOREPLACE): Likewise.
13489 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13490 (MAP_FIXED_NOREPLACE): Likewise.
13491 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13492 (MAP_FIXED_NOREPLACE): Likewise.
13493 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13494 (MAP_FIXED_NOREPLACE): Likewise.
13495 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13496 (MAP_FIXED_NOREPLACE): Likewise.
13497 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13498 (MAP_FIXED_NOREPLACE): Likewise.
13499 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13500 (MAP_FIXED_NOREPLACE): Likewise.
13501 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13502 (MAP_FIXED_NOREPLACE): Likewise.
13503 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13504 (MAP_FIXED_NOREPLACE): Likewise.
13505 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13506 (MAP_FIXED_NOREPLACE): Likewise.
13507 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13508 (MAP_FIXED_NOREPLACE): Likewise.
13509 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13510 (MAP_FIXED_NOREPLACE): Likewise.
13511
0e0577c9
JM
13512 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13513 version to 4.17.
13514
ab3a0da0
JM
135152018-06-04 Joseph Myers <joseph@codesourcery.com>
13516
13517 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13518 version to 4.17
13519
d2d9dfb6
ST
135202018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13521
13522 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13523 int.
13524 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13525
a650b05e
LS
135262018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13527
13528 * benchtests/scripts/compare_string.py: (process_results) Catch
13529 exception in non-existent base_func and catch exception in
13530 non-existent attribute.
13531 (parse_file) Catch exception if input file does not exist.
13532
195abbf4
LS
135332018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13534
13535 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13536 options to avoid diff calculation and omit header, respectively.
13537 (main): process --no-diff and --no-header
13538
14570163
LS
135392018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13540 H.J. Lu <hongjiu.lu@intel.com>
13541
13542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13543 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13544 wcsncmp-sse2.
13545 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13546 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13547 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13548 and __wcsncmp_sse2.
13549 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13550 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13551 AVX unaligned load is fast and vzeroupper is preferred.
13552 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13553 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13554 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13555 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13556 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13557 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13558 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13559 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13560 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13561 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13562 is undefined.
13563
e02c026f
FW
135642018-06-01 Florian Weimer <fweimer@redhat.com>
13565
13566 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13567 configuring with --disable-multi-arch, building with
13568 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13569 Haswell-era CPU.
13570
d8c19275
FW
135712018-06-01 Florian Weimer <fweimer@redhat.com>
13572
13573 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13574 results from building with “-march=x86-64 -mtune=generic
13575 -mfpmath=sse” and running on a Haswell-era CPU.
13576
0d2163eb
JM
135772018-06-01 Joseph Myers <joseph@codesourcery.com>
13578
13579 [BZ #18473]
13580 * soft-fp/sqrttf2.c: Remove file.
13581 * soft-fp/sqrtdf2.c: Move to ....
13582 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13583 <shlib-compat.h>.
13584 (__sqrtdf2): Make conditional on
13585 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13586 symbol.
13587 * soft-fp/sqrtsf2.c: Move to ....
13588 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13589 <shlib-compat.h>.
13590 (__sqrtsf2): Make conditional on
13591 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13592 symbol.
13593 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13594 (gcc-double-routines): Remove sqrtdf2.
13595 (gcc-quad-routines): Remove sqrttf2.
13596 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13597 Do not filter out sqrtsf2 and sqrtdf2.
13598 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13599 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13600
10450210
FW
136012018-06-01 Florian Weimer <fweimer@redhat.com>
13602
13603 * sysdeps/generic/libcidn.abilist: Remove file.
13604
4e8a6346
FW
136052018-06-01 Florian Weimer <fweimer@redhat.com>
13606
13607 [BZ #23236]
13608 * libio/strfile.h (struct _IO_str_fields): Rename members to
13609 discourage their use and add comment.
13610 (_IO_STR_DYNAMIC): Remove unused macro.
13611 * libio/strops.c (_IO_str_init_static_internal): Do not use
13612 callback pointers. Call malloc and free.
13613 (_IO_str_overflow): Do not use callback pointers. Call malloc
13614 and free.
13615 (enlarge_userbuf): Likewise.
13616 (_IO_str_finish): Call free.
13617 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13618 _allocate_buffer_unused.
13619 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13620 and free.
13621 (enlarge_userbuf): Likewise.
13622 (_IO_wstr_finish): Call free.
13623 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13624 _allocate_buffer_unused, _free_buffer_unused.
13625 * libio/memstream.c (__open_memstream): Likewise.
13626 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13627 * libio/wmemstream.c (open_wmemstream): Likewise.
13628
50d004c9
PP
136292018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13630
13631 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13632 AMD Ryzen 7 1800X.
13633
2c93fce7
RS
136342018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13635
13636 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13637 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13638 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13639 New file.
13640 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13641 Likewise.
13642 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13643
0ce2fa69
FW
136442018-05-29 Florian Weimer <fweimer@redhat.com>
13645
13646 * support/Makefile (libsupport-routines): Add
13647 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13648 xpthread_barrierattr_setpshared.
13649 * support/xpthread_barrierattr_destroy.c: New file.
13650 * support/xpthread_barrierattr_init.c: Likewise.
13651 * support/xpthread_barrierattr_setpshared.c: Likewise.
13652
7f7b5d8d
L
136532018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13654
13655 [BZ #23206]
13656 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13657 _r_debug and update DT_DEBUG for debugger.
13658
e4890300
FW
136592018-05-29 Florian Weimer <fweimer@redhat.com>
13660
13661 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13662 (tst-strtod5i.out): Likewise.
13663
2c753f3e
JM
136642018-05-25 Joseph Myers <joseph@codesourcery.com>
13665
b5453d9f
JM
13666 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13667 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13668 (sparc64-quad-routines): New variable. Moved from ....
13669 [$(subdir) = soft-fp] (sysdep_routines): Add
13670 $(sparc64-quad-routines). Moved from ....
13671 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13672 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13673 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13674 moved from ....
13675 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13676 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13677 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13678 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13679 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13680 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13681 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13682 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13683 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13684 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13685 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13686 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13687 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13688 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13689 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13690 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13691 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13692 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13693 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13694 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13695 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13696 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13697 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13698 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13699 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13700 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13701 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13702 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13703 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13704 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13705 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13706 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13707 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13708 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13709 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13710 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13711 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13712 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13713 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13714 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13715 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13716 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13717 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13718 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13719 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13720 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13721 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13722 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13723 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13724 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13725 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13726 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13727 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13728 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13729 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13730 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13731 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13732 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13733
2c753f3e
JM
13734 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13735 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13736 (sparc32-quad-routines): New variable. Moved from ....
13737 [$(subdir) = soft-fp] (sysdep_routines): Add
13738 $(sparc32-quad-routines). Moved from ....
13739 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13740 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13741 moved from ....
13742 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13743 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13744 * sysdeps/sparc/sparc32/q_add.c: ... here.
13745 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13746 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13747 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13748 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13749 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13750 * sysdeps/sparc/sparc32/q_div.c: ... here.
13751 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13752 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13753 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13754 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13755 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13756 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13757 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13758 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13759 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13760 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13761 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13762 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13763 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13764 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13765 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13766 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13767 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13768 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13769 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13770 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13771 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13772 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13773 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13774 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13775 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13776 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13777 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13778 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13779 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13780 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13781 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13782 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13783 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13784 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13785 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13786 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13787 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13788 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13789 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13790 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13791 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13792 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13793 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13794 * sysdeps/sparc/sparc32/q_util.c: ... here.
13795 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13796 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13797 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13798 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13799
c1dc1e1b
TMQMF
138002018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13801 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13802
13803 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13804 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13805 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13806 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13807
14186e8d
JM
138082018-05-24 Joseph Myers <joseph@codesourcery.com>
13809
13810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13811 powerpc/soft-fp.
13812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13813 Likewise.
13814 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13815 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13816
fb0e10b8
GG
138172018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13818
13819 [BZ #23171]
13820 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13821 double version.
13822
1dfeb17e
JM
138232018-05-23 Joseph Myers <joseph@codesourcery.com>
13824
13825 * sysdeps/sh/Implies: Remove sh/soft-fp.
13826 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13827 * sysdeps/sh/sfp-machine.h: ... here.
13828
727b38df
L
138292018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13830
13831 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13832 (__mempcpy_erms): Skip zero length.
13833 (__memmove_erms): Likewise.
13834 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13835 (__memset_erms): Likewise.
13836
2834fb46
JM
138372018-05-23 Joseph Myers <joseph@codesourcery.com>
13838
13839 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13840 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13841 Add functions moved from ....
13842 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13843 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13844 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13845 from ....
13846 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13847 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13848 * sysdeps/alpha/e_sqrtl.c: ... here.
13849 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13850 * sysdeps/alpha/local-soft-fp.h: ... here.
13851 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13852 * sysdeps/alpha/ots_add.c: ... here.
13853 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13854 * sysdeps/alpha/ots_cmp.c: ... here.
13855 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13856 * sysdeps/alpha/ots_cmpe.c: ... here.
13857 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13858 * sysdeps/alpha/ots_cvtqux.c: ... here.
13859 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13860 * sysdeps/alpha/ots_cvtqx.c: ... here.
13861 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13862 * sysdeps/alpha/ots_cvttx.c: ... here.
13863 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13864 * sysdeps/alpha/ots_cvtxq.c: ... here.
13865 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13866 * sysdeps/alpha/ots_cvtxt.c: ... here.
13867 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13868 * sysdeps/alpha/ots_div.c: ... here.
13869 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13870 * sysdeps/alpha/ots_mul.c: ... here.
13871 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13872 * sysdeps/alpha/ots_nintxq.c: ... here.
13873 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13874 * sysdeps/alpha/ots_sub.c: ... here.
13875 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13876 * sysdeps/alpha/sfp-machine.h: ... here.
13877
7f9f1ecb
FW
138782018-05-23 Florian Weimer <fweimer@redhat.com>
13879
13880 [BZ #19728]
13881 [BZ #19729]
13882 [BZ #22247]
13883 CVE-2016-6261
13884 CVE-2016-6263
13885 CVE-2017-14062
13886 Switch to extern IDNA implementation (libidn2).
13887 * libidn: Remove subdirectory.
13888 * LICENSES: Do not mention licensing conditions for the removed
13889 libidn code.
13890 * config.h.in (HAVE_LIBIDN): Remove.
13891 * include/dlfcn.h (__libc_dlopen): Update comment.
13892 * include/idna.h: Remove file.
13893 * inet/Makefile (routines): Add idna.
13894 (tests-static, tests-internal): Add tst-idna_name_classify.
13895 (LOCALES): Generate locales for tests.
13896 (tst-idna_name_classify.out): Depend on generated locales.
13897 * inet/idna_name_classify.c: New file.
13898 * inet/tst-idna_name_classify.c: Likewise.
13899 * inet/net-internal.h (__idna_to_dns_encoding)
13900 (__idna_from_dns_encoding): Declare.
13901 * inet/net-internal.h (enum idna_name_classification): Define.
13902 (__idna_name_classify): Declare.
13903 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13904 __idna_from_dns_encoding.
13905 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13906 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13907 name as a fallback in case of encoding errors.
13908 (getnameinfo): Use DEPRECATED_NI_IDN.
13909 * inet/idna.c: New file.
13910 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13911 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13912 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13913 (modules-names): Add tst-no-libidn2.
13914 (extra-test-objs): Add tst-no-libidn2.os.
13915 (LDFLAGS-tst-no-libidn2.so): Set soname.
13916 (LOCALES): Set, and generate locales.
13917 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13918 (tst-resolv-ai_idn-latin1): Likewise.
13919 (tst-resolv-ai_idn-nolibidn2): Likewise.
13920 (tst-resolv-ai_idn.out): Depend on locales.
13921 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13922 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13923 tst-no-libidn2.so.
13924 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13925 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13926 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13927 * resolv/tst-resolv-ai_idn.c: New file.
13928 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13929 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13930 * resolv/tst-no-libidn2.c: Likewise.
13931 * support/support_format_addrinfo.c (format_ai_flags): Do not
13932 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13933 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13934 (gaih_inet): Call __idna_to_dns_encoding and
13935 __idna_from_dns_encoding, and use the original (punycode) name if
13936 __idna_from_dns_encoding fails due to an encoding error.
13937 (getaddrinfo): Use DEPRECATED_AI_IDN.
13938 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13939 * sysdeps/unix/inet/configure: Remove file.
13940 * sysdeps/unix/inet/configure.ac: Likewise.
13941
5f7b841d
FW
139422018-05-23 Florian Weimer <fweimer@redhat.com>
13943
13944 Implement allocate_once.
13945 * include/allocate_once.h: New file.
13946 * misc/allocate_once.c: Likewise.
13947 * misc/tst-allocate_once.c: Likewise.
13948 * misc/Makefile (routines): Add allocate_once.
13949 (tests-internal): Add tst-allocate_once.
13950 (generated): Add tst-allocate_once.mtrace,
13951 tst-allocate_once-mem.out.
13952 (tests-special): Add tst-allocate_once-mem.out.
13953 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13954 (tst-allocate_once-mem.out): Call mtrace.
13955 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13956
ed983107
L
139572018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13958
13959 [BZ #23196]
13960 * string/test-memcpy.c (do_test1): New function.
13961 (test_main): Call it.
13962
9aaaab7c
AS
139632018-05-23 Andreas Schwab <schwab@suse.de>
13964
13965 [BZ #23196]
13966 CVE-2018-11237
13967 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13968 (L(preloop_large)): Save initial destination pointer in %r11 and
13969 use it instead of %rax after the loop.
13970 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13971
5c5c0dd7
JM
139722018-05-22 Joseph Myers <joseph@codesourcery.com>
13973
8f145c77
JM
13974 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13975 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13976 -I../soft-fp. Moved from ....
13977 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13978 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13979 * sysdeps/aarch64/e_sqrtl.c: ... here.
13980 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13981 * sysdeps/aarch64/sfp-machine.h: ... here.
13982
3d6302a5
JM
13983 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13984 -Wmaybe-uninitialized around access to fq[0].
13985 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13986 Likewise.
13987
5c5c0dd7
JM
13988 [BZ #18471]
13989 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13990 aliases for non-libc case of versioned symbols.
13991 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13992 (llseek): Define as compat symbol if
13993 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13994 with link warning.
13995 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13996 Make into a compat symbol, disabled for minimum symbol version
13997 GLIBC_2.28 and later.
13998 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13999
ed0d6988
FW
140002018-05-22 Florian Weimer <fweimer@redhat.com>
14001
14002 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14003 not add -mpreferred-stack-boundary=4.
14004 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14005 (stack-align-test-flags): Likewise.
14006 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14007 Likewise.
14008 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14009 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14010 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14011 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14012 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14013 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14014 (CFLAGS-tst-align2.c): Likewise.
14015
e28e9b1e
L
140162018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14017
14018 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14019 (index_arch_Prefer_FSRM): Likewise.
14020 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14021 Also check Prefer_FSRM.
14022 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14023 Also return OPTIMIZE (erms) for Prefer_FSRM.
14024
1af30adc
L
140252018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14026
14027 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14028 (index_cpu_FSRM): Likewise.
14029 (reg_FSRM): Likewise.
14030
78274dc8
JM
140312018-05-18 Joseph Myers <joseph@codesourcery.com>
14032
7c67e6e8
JM
14033 * math/gen-tgmath-tests.py: Import sys.
14034 (Tests.__init__): Initialize macros_seen.
14035 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14036 if requested to do so for this macro.
14037 (Tests.add_all_tests): Take argument for macro for which to
14038 generate tests.
14039 (Tests.check_macro_list): New function.
14040 (main): Handle check-list argument and argument specifying macro
14041 for which to generate tests.
14042 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14043 [PYTHON] (tgmath3-macro-tests): Likewise.
14044 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14045 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14046 not test-tgmath3.c.
14047 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14048 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14049 to CFLAGS.
14050 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14051 [PYTHON] ($(foreach
14052 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14053 rule.
14054 [PYTHON] (tests-special): Add
14055 $(objpfx)test-tgmath3-macro-list.out.
14056 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14057
ebc129fd
JM
14058 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14059 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14060 later.
14061
78274dc8
JM
14062 [BZ #22639]
14063 * time/tzset.c (SECSPERDAY): Cast to time_t.
14064 * time/tst-y2039.c: New file.
14065 * time/Makefile (tests): Add tst-y2039.
14066
6f7fdeeb
LS
140672018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14068
14069 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14070 (PREFETCH_ONE_SET): Remove duplicate line.
14071
e363a91c
FW
140722018-05-17 Florian Weimer <fweimer@redhat.com>
14073
14074 * sysdeps/generic/math-type-macros-double.h: Include
14075 <math-nan-payload-double.h> after <libm-alias-double.h>.
14076 * sysdeps/generic/math-type-macros-float.h: Include
14077 <math-nan-payload-float.h> after <libm-alias-float.h>.
14078 * sysdeps/generic/math-type-macros-float128.h: Include
14079 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14080 * sysdeps/generic/math-type-macros-ldouble.h: Include
14081 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14082
dae6c43c
AS
140832018-05-17 Andreas Schwab <schwab@suse.de>
14084
14085 * resolv/res_send.c (__res_context_send): Don't set errno when
14086 returing error after malloc failure.
14087
0068c085
L
140882018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14089
14090 * nptl/allocatestack.c (allocate_stack): Remove the
14091 !__ASSUME_PRIVATE_FUTEX paths.
14092 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14093 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14094 Likewise.
14095 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14096 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14097 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14098 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14099 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14100 !__ASSUME_PRIVATE_FUTEX path.
14101 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14102 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14103 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14104 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14105 !__ASSUME_PRIVATE_FUTEX macros.
14106 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14107 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14108 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14109 * sysdeps/unix/sysv/linux/kernel-features.h
14110 (__ASSUME_PRIVATE_FUTEX): Removed.
14111
632a6cbe
JM
141122018-05-17 Joseph Myers <joseph@codesourcery.com>
14113
14114 * math/Makefile (libm-narrow-fns): Add div.
14115 (libm-test-funcs-narrow): Likewise.
14116 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14117 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14118 * math/gen-auto-libm-tests.c (test_functions): Add div.
14119 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14120 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14121 (NARROW_DIV_TRIVIAL): Likewise.
14122 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14123 macro.
14124 (__ddivl): Likewise.
14125 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14126 ddiv.
14127 (CFLAGS-nldbl-ddiv.c): New variable.
14128 (CFLAGS-nldbl-fdiv.c): Likewise.
14129 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14130 __nldbl_ddivl.
14131 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14132 prototype.
14133 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14134 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14135 * math/auto-libm-test-in: Add tests of div.
14136 * math/auto-libm-test-out-narrow-div: New generated file.
14137 * math/libm-test-narrow-div.inc: New file.
14138 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14139 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14140 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14141 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14142 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14143 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14144 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14145 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14146 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14147 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14148 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14149 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14150 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14151 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14152 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14153 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14154 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14155 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14157 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14158 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14159 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14160 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14161 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14162 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14163 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14164 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14165 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14166 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14167 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14168 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14169 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14174 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14175 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14176 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14177 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14178 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14179 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14180 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14181 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14182
8c78faa9
AZ
141832018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14184
14185 [BZ #23178]
14186 * nscd/nscd-client.h (sendfileall): Remove prototype.
14187 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14188 (handle_request): Use writeall instead of sendfileall.
14189 * nscd/aicache.c (addhstaiX): Likewise.
14190 * nscd/grpcache.c (cache_addgr): Likewise.
14191 * nscd/hstcache.c (cache_addhst): Likewise.
14192 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14193 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14194 * nscd/pwdcache.c (cache_addpw): Likewise.
14195 * nscd/servicescache.c (cache_addserv): Likewise.
14196 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14197 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14198 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14199 Remove define.
14200
04958880
L
142012018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14202
14203 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14204 Include <string/strncat.c>.
14205 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14206 alias.
14207 (__GI___strncat): New hidden alias.
14208
c9992d13
JM
142092018-05-16 Joseph Myers <joseph@codesourcery.com>
14210
14211 * sysdeps/mips/mips32/libm-test-ulps: Update.
14212 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14213
2afece36
FW
142142018-05-16 Florian Weimer <fweimer@redhat.com>
14215
14216 * support/Makefile (libsupport-routines): Add support_quote_blob,
14217 support_test_compare_blob.
14218 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14219 * support/check.h (TEST_COMPARE_BLOB): Define.
14220 (support_test_compare_blob): Declare.
14221 * support/support.h (support_quote_blob): Declare.
14222 * support/support_quote_blob.c: New file.
14223 * support/support_test_compare_blob.c: Likewise.
14224 * support/tst-support_quote_blob.c: Likewise.
14225 * support/tst-test_compare_blob.c: Likewise.
14226
9761bf4d
FW
142272018-05-16 Florian Weimer <fweimer@redhat.com>
14228
14229 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14230 of <strtod_nan_double.h>.
14231 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14232 instead of SET_MANTISSA.
14233 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14234 of include <strtod_nan_float.h>.
14235 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14236 instead of <strtod_nan_ldouble.h>.
14237 * stdlib/strtod_nan_double.h: Move to ...
14238 * sysdeps/generic/math-nan-payload-double.h: ... here.
14239 (FLOAT): Remove definition.
14240 (SET_MANTISSA): Rename to ...
14241 (SET_NAN_PAYLOAD): ... this.
14242 * stdlib/strtod_nan_float.h: Move to ...
14243 * sysdeps/generic/math-nan-payload-float.h: ... here.
14244 (FLOAT): Remove definition.
14245 (SET_MANTISSA): Rename to ...
14246 (SET_NAN_PAYLOAD): ... this.
14247 * sysdeps/generic/math-type-macros-double.h: Include
14248 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14249 instead of <math-svid-compat.h>.
14250 * sysdeps/generic/math-type-macros-float.h: Include
14251 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14252 instead of <math-svid-compat.h>.
14253 * sysdeps/generic/math-type-macros-float128.h: Include
14254 <math-nan-payload-float128.h>.
14255 * sysdeps/generic/math-type-macros-ldouble.h: Include
14256 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14257 instead of <math-svid-compat.h>.
14258 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14259 check for definition.
14260 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14261 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14262 Include <ieee754_float128.h>.
14263 (FLOAT): Remove definition.
14264 (SET_MANTISSA): Rename to ...
14265 (SET_NAN_PAYLOAD): ... this.
14266 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14267 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14268 Do not include <float128_private.h>.
14269 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14270 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14271 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14272 (FLOAT): Remove definition.
14273 (SET_MANTISSA): Rename to ...
14274 (SET_NAN_PAYLOAD): ... this.
14275 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14276 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14277 (FLOAT): Remove definition.
14278 (SET_MANTISSA): Rename to ...
14279 (SET_NAN_PAYLOAD): ... this.
14280 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14281 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14282 (FLOAT): Remove definition.
14283 (SET_MANTISSA): Rename to ...
14284 (SET_NAN_PAYLOAD): ... this.
14285 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14286 of "../stdlib/strtod_nan_double.h".
14287 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14288 of "../stdlib/strtod_nan_float.h".
14289 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14290 instead of "../stdlib/strtod_nan_ldouble.h".
14291 * manual/arith.texi (Parsing of Floats): Adjust comment.
14292
69a01461
JM
142932018-05-16 Joseph Myers <joseph@codesourcery.com>
14294
14295 * math/Makefile (libm-narrow-fns): Add mul.
14296 (libm-test-funcs-narrow): Likewise.
14297 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14298 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14299 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14300 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14301 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14302 (NARROW_MUL_TRIVIAL): Likewise.
14303 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14304 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14305 macro.
14306 (__dmull): Likewise.
14307 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14308 dmul.
14309 (CFLAGS-nldbl-dmul.c): New variable.
14310 (CFLAGS-nldbl-fmul.c): Likewise.
14311 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14312 __nldbl_dmull.
14313 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14314 prototype.
14315 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14316 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14317 * math/auto-libm-test-in: Add tests of mul.
14318 * math/auto-libm-test-out-narrow-mul: New generated file.
14319 * math/libm-test-narrow-mul.inc: New file.
14320 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14321 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14322 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14323 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14324 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14325 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14328 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14330 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14331 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14332 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14333 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14334 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14335 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14336 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14337 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14339 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14340 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14341 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14342 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14343 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14344 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14345 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14346 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14347 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14348 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14349 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14350 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14351 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14356 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14358 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14362 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14363 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14364
a15529fd
L
143652018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14366
14367 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14368 with *%eax in call.
14369
98ee36c7
L
143702018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14371
14372 * sysdeps/i386/ldsodefs.h: Removed.
14373 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14374 * sysdeps/x86/ldsodefs.h: This.
14375 (La_i86_regs): New.
14376 (La_i86_retval): Likewise.
14377 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14378 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14379
e322ec32
L
143802018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14381
14382 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14383 unnecessary testl.
14384
0937e209
AM
143852018-05-13 Alan Modra <amodra@gmail.com>
14386
14387 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14388 R_PARISC_TLS_DTPOFF32 reloc addend.
14389
5db7d705
TMQMF
143902018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14391
14392 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14393 * math/math.h: Restrict the prototype definition for the functions
14394 issignaling(_Float128) and iszero(_Float128); and template
14395 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14396 __HAVE_FLOAT128_UNLIKE_LDBL.
14397 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14398 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14399 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14400 __f128() constants; define the type _Float128 as long double;
14401 and reuse long double in __CFLOAT128.
14402
b4d5b8b0
JM
144032018-05-11 Joseph Myers <joseph@codesourcery.com>
14404
14405 * sysdeps/generic/math_private.h: Do not include
14406 <math-barriers.h>.
14407 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14408 <math_private.h>.
14409 * math/fromfp.h: Include <math-barriers.h>.
14410 * math/math-narrow.h: Likewise.
14411 * math/s_nextafter.c: Likewise.
14412 * math/s_nexttowardf.c: Likewise.
14413 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14414 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14415 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14416 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14417 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14418 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14419 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14420 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14421 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14422 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14423 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14424 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14425 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14426 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14427 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14428 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14429 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14430 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14431 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14432 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14433 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14434 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14435 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14436 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14437 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14438 * sysdeps/ieee754/k_standardl.c: Likewise.
14439 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14440 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14441 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14442 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14443 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14444 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14445 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14446 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14447 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14448 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14449 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14450 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14451 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14452 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14453 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14454 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14455 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14456 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14457 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14458 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14459 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14460 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14461
fc79706a
FW
144622018-05-11 Florian Weimer <fweimer@redhat.com>
14463
14464 Use 64-bit epoch values in the time zone file parser.
14465 * include/time.h (internal_time_t): Define.
14466 (__tzfile_compute): Use it.
14467 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14468 member.
14469 (transitions): Switch to internal_time_t.
14470 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14471 types.
14472 (__tzfile_compute): Use internal_time_t for timer argument. Check
14473 for truncation before calling __offtime.
14474
89aacb51
FW
144752018-05-11 Florian Weimer <fweimer@redhat.com>
14476
14477 [BZ #23166]
14478 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14479 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14480 Likewise.
14481 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14482 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14483 export without --enable-obsolete-rpc.
14484 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14485 symbol. This should not have been exported, ever.
14486
bb066cb8
RL
144872018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14488
14489 [BZ #23152]
14490 * localedata/locales/gd_GB (abmon): Fix typo in May:
14491 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14492
70c97f84
SP
144932018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14494
db725a45
SP
14495 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14496 Use multiple registers to copy data in loop tail.
14497
70c97f84
SP
14498 * sysdeps/aarch64/multiarch/memmove_falkor.S
14499 (__memmove_falkor): Use multiple registers to move data in
14500 loop tail.
14501
8f5b00d3
JM
145022018-05-10 Joseph Myers <joseph@codesourcery.com>
14503
14504 * math/math-underflow.h: New file.
14505 * sysdeps/generic/math_private.h: Do not include <float.h>.
14506 (fabs_tg): Remove macro. Moved to math-underflow.h.
14507 (min_of_type_f): Likewise.
14508 (min_of_type_): Likewise.
14509 (min_of_type_l): Likewise.
14510 (min_of_type_f128): Likewise.
14511 (min_of_type): Likewise.
14512 (math_check_force_underflow): Likewise.
14513 (math_check_force_underflow_nonneg): Likewise.
14514 (math_check_force_underflow_complex): Likewise.
14515 * math/e_exp2_template.c: Include <math-underflow.h>.
14516 * math/k_casinh_template.c: Likewise.
14517 * math/s_catan_template.c: Likewise.
14518 * math/s_catanh_template.c: Likewise.
14519 * math/s_ccosh_template.c: Likewise.
14520 * math/s_cexp_template.c: Likewise.
14521 * math/s_clog10_template.c: Likewise.
14522 * math/s_clog_template.c: Likewise.
14523 * math/s_csin_template.c: Likewise.
14524 * math/s_csinh_template.c: Likewise.
14525 * math/s_csqrt_template.c: Likewise.
14526 * math/s_ctan_template.c: Likewise.
14527 * math/s_ctanh_template.c: Likewise.
14528 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14529 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14530 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14531 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14532 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14533 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14534 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14536 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14537 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14538 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14539 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14540 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14541 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14542 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14543 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14544 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14545 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14546 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14547 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14548 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14549 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14550 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14551 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14552 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14553 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14554 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14555 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14556 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14557 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14558 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14559 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14560 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14561 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14562 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14563 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14564 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14565 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14566 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14567 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14568 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14569 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14570 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14571 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14572 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14573 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14574 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14575 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14576 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14577 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14578 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14579 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14580 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14581 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14582 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14583 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14584 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14585 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14586 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14587 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14588 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14589 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14590 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14591 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14592 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14593 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14594 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14595 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14596 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14597 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14598 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14599 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14600 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14601 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14602 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14603 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14604 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14605 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14606 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14607 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14608 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14609 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14610 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14611 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14612
9ed2e15f
JM
146132018-05-09 Joseph Myers <joseph@codesourcery.com>
14614
14615 * sysdeps/generic/math-barriers.h: New file.
14616 * sysdeps/generic/math_private.h [!math_opt_barrier]
14617 (math_opt_barrier): Move to math-barriers.h.
14618 [!math_opt_barrier] (math_force_eval): Likewise.
14619 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14620 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14621 math-barriers.h.
14622 (math_force_eval): Likewise.
14623 * sysdeps/alpha/fpu/math-barriers.h: New file.
14624 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14625 math-barriers.h.
14626 (math_force_eval): Likewise.
14627 * sysdeps/x86/fpu/math-barriers.h: New file.
14628 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14629 math-barriers.h.
14630 (math_force_eval): Likewise.
14631 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14632 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14633 multiple-include guard for rename.
14634 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14635 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14636 math-barriers.h.
14637 (math_force_eval): Likewise.
14638
5460617d
PP
146392018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14640
14641 [BZ #22786]
43d4f3d5 14642 CVE-2018-11236
5460617d
PP
14643 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14644 computation.
14645 * stdlib/Makefile (test-bz22786): New test.
14646 * stdlib/test-bz22786.c: New test.
14647
aaee3cd8
JM
146482018-05-09 Joseph Myers <joseph@codesourcery.com>
14649
14650 * include/math-narrow-eval.h: New file. Contents moved from ....
14651 * sysdeps/generic/math_private.h: ... here.
14652 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14653 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14654 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14655 * stdlib/strtod_l.c: Likewise.
14656 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14657 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14658 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14659 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14660 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14661 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14662 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14663 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14664 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14665 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14667 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14668 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14669 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14670 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14671 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14672 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14673 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14674 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14675 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14676 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14677 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14678 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14679 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14680 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14681 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14682 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14683 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14684 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14685
0555c477
AS
146862018-05-08 Andreas Schwab <schwab@suse.de>
14687
14688 * sysdeps/nptl/internaltypes.h: Fix comment.
14689
50d7d351
L
146902018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14691
14692 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14693 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14694 hidden.
14695
543477f7
SP
146962018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14697
14698 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14699 of I into loop header.
14700 * benchtests/bench-memmove-walk.c
14701 (test_main): Likewise.
14702
147032018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
14704
14705 Revert:
14706 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14707 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14708
0065aaaa
PP
147092018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14710
14711 [BZ #20419]
14712 * elf/dl-load.c (open_verify): Fix stack overflow.
14713 * elf/Makefile (tst-big-note): New test.
14714 * elf/tst-big-note-lib.S: New.
14715 * elf/tst-big-note.c: New.
14716
b289cd9d
JM
147172018-05-04 Joseph Myers <joseph@codesourcery.com>
14718
14719 * scripts/abilist.awk: Ignore absolute symbols.
14720 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14721 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14722 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14723 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14724 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14725 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14726 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14727 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14728 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14729 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14730 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14731 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14732 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14733 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14734 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14735 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14736 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14737 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14738 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14739 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14740 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14741 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14742 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14743 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14744 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14745 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14746 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14747 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14748 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14749 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14750 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14751 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14752 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14753 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14754 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14755 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14756 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14757 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14758 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14759 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14760 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14761 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14762 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14763 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14764 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14765 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14766 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14767 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14768 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14769 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14770 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14771 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14772 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14773 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14774 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14775 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14776 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14777 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14778 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14779 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14780 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14781 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14782 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14783 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14784 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14785 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14786 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14787 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14788 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14789 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14790 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14791 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14792 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14793 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14794 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14795 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14796 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14797 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14798 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14799 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14800 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14801 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14802 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14803 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14804 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14805 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14806 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14807 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14808 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14809 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14810 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14811 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14812 Likewise.
14813 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14814 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14815 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14816 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14817 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14818 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14819 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14820 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14821 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14822 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14823 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14824 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14825 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14826 Likewise.
14827 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14828 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14829 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14830 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14831 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14832 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14833 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14834 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14835 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14836 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14837 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14838 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14839 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14840 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14841 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14842 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14843 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14844 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14845 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14846 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14847 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14848 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14849 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14850 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14851 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14852 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14853 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14854 Likewise.
14855 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14856 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14857 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14858 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14859 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14860 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14861 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14862 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14863 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14864 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14865 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14866 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14867 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14868 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14869 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14870 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14871 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14872 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14873 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14874 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14875 Likewise.
14876 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14877 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14878 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14879 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14880 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14881 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14882 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14883 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14884 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14885 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14886 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14887 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14888 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14889 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14890 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14891 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14892 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14893 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14894 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14895 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14896 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14897 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14898 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14899 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14900 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14901 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14902 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14903 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14908 Likewise.
14909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14914 Likewise.
14915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14916 Likewise.
14917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14919 Likewise.
14920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14922 Likewise.
14923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14924 Likewise.
14925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14928 Likewise.
14929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14930 Likewise.
14931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14932 Likewise.
14933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14937 Likewise.
14938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14944 Likewise.
14945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14947 Likewise.
14948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14949 Likewise.
14950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14951 Likewise.
14952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14953 Likewise.
14954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14957 Likewise.
14958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14959 Likewise.
14960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14961 Likewise.
14962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14963 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14964 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14965 Likewise.
14966 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14967 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14968 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14969 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14970 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14971 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14972 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14973 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14974 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14975 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14976 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14977 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14978 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14979 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14980 Likewise.
14981 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14982 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14983 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14984 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14985 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14986 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14987 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14988 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14989 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14990 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14991 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14992 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14993 Likewise.
14994 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14995 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14996 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14997 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14998 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14999 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15000 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15001 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15002 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15003 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15004 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15005 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15006 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15007 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15008 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15009 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15010 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15011 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15012 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15013 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15014 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15015 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15016 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15017 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15019 Likewise.
15020 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15021 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15024 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15025 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15026 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15030 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15031 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15032 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15033 Likewise.
15034 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15035 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15036 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15037 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15038 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15039 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15040 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15041 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15043 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15044 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15045 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15046 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15047 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15048 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15049 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15050 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15051 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15052 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15053 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15054 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15055 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15056 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15058 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15059 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15060 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15061 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15062 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15063 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15064 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15065 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15066 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15067 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15068 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15069 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15070 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15071 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15072
16609018
SL
150732018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15074
15075 [BZ #23137]
15076 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15077 Use atomic_load_acquire to load __tid.
15078
556f5c46
L
150792018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15080
15081 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15082 Restore the pointer into %rdx, after syscall and use %rdx,
15083 instead of %rsi, to restore context.
15084
8b8f32b2
L
150852018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15086
15087 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15088 Pop the pointer into %rdx after syscall and use %rdx, instead
15089 of %rsi, to restore context.
15090
d6cc1829
L
150912018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15092
15093 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15094 handlers after setjmp.
15095 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15096 defined.
15097 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15098 <libc-pointer-arith.h>.
15099 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15100 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15101 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15102 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15103 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15104 * sysdeps/x86/__longjmp_cancel.S: New file.
15105 * sysdeps/x86/longjmp.c: Likewise.
15106 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15107
cf2478d5
AZ
151082018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15109
15110 * NEWS: Add ustat.h deprecation entry.
15111 * bits/ustat.h: Remove file.
15112 * misc/sys/ustat.h: Likewise.
15113 * misc/ustat.h: Likewise.
15114 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15115 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15116 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15117 compatibility mode.
15118 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15119 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15120 generic Linux implementation.
15121
dc115e1c
TMQMF
151222018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15123
15124 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15125 * math/w_expl_compat.c: Likewise.
15126 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15127
6b5c8607 151282018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
15129
15130 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15131
c57bf7c1
AZ
151322018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15133
15134 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15135 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15136 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15137 Remove.
15138 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15140 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15141 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15142 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15143 and SYSCALL_LL64.
15144
06135c33
TMQMF
151452018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15146
33927914
TMQMF
15147 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15148
06135c33
TMQMF
15149 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15150 * math/w_asin_template.c: Likewise.
15151 * math/w_atanh_template.c: Likewise.
15152
3a33b069
GG
151532018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15154
15155 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15156 to powerpc/powerpc64/be for big-endian.
15157 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15158 little-endian.
15159
15160 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15161 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15162 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15163 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15164 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15165 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15166 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15167 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15168 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15169 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15170 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15171 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15172 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15173 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15174 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15175 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15176 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15177 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15178 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15179 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15180 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15181 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15182 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15183 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15184 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15185 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15186 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15187 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15188 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15189 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15190 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15191 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15192
15193 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15194 adjusted to imply powerpc64 and older processors on powerpc64/be.
15195 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15196 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15197 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15198 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15199 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15200 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15201 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15202 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15203 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15204 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15205 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15206 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15207 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15208 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15209 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15210 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15211 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15212 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15213 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15214 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15215 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15216 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15217 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15218 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15219 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15220 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15221 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15222 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15223 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15224 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15225 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15226
15227 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15228 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15229 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15230 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15231
15232 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15233 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15234 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15235 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15236
15237 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15238 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15239 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15240 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15241 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15242 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15243 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15244 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15245 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15246 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15247 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15248
15249 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15250 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15251 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15252 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15253 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15254 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15255 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15256 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15257 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15258 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15259 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15260
15261 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15262 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15263 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15264 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15265 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15266 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15267 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15268 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15269 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15270 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15271 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15272 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15273
15274 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15275 and adjusted to imply olders processors.
15276 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15277 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15278 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15279 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15280 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15281 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15282 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15283 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15284 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15285 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15286 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15287
15288 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15289 powerpc64/le.
15290 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15291 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15292
15293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15294 powerpc64le.
15295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15297
15298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15299 powerpc64/be.
15300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15303
15304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15305 powerpc64 and adjusted.
15306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15309 Likewise.
15310
a3fb6b6b
JM
153112018-04-27 Joseph Myers <joseph@codesourcery.com>
15312
15313 * sysdeps/tile: Remove.
15314 * sysdeps/unix/sysv/linux/tile: Likewise.
15315 * README (tilegx-*-linux-gnu): Remove from list of supported
15316 configurations.
15317 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15318 contribution of support for generic Linux kernel syscall
15319 interface.
15320 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15321 tilegx configurations.
15322 (Config.install_linux_headers): Do not handle tile.
15323 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15324 in comment.
15325 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15326 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15327 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15328 conditional undefine and redefine.
15329 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15330 in comment.
15331 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15332 conditional undefine and redefine.
15333
7a6f7478
AJ
153342018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15335
15336 * signal/tst-sigaction.c: New file to test BZ #23069.
15337 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15338
81b49e96
TMQMF
153392018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15340
15341 [BZ #22766]
15342 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15343 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15344 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15345 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15346
7d80f48e
AZ
153472018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15348
15349 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15350 _DIRENT_MATCHES_DIRENT64 is not defined.
15351 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15352 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15353 is defined.
15354 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15355 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15356
42a2bf58
JM
153572018-04-25 Joseph Myers <joseph@codesourcery.com>
15358
15359 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15360 version to GCC 8 branch.
15361
9320ca88
JM
153622018-04-24 Joseph Myers <joseph@codesourcery.com>
15363
5e14bb97
JM
15364 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15365 (check_no_hidden): Use type of original function when declaring
15366 alias.
15367
9320ca88
JM
15368 * sysdeps/unix/sysv/linux/sys/ptrace.h
15369 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15370 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15371 (struct __ptrace_seccomp_metadata): New type.
15372 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15373 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15374 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15375 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15376 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15377 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15378 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15379 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15380 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15381 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15382 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15383 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15384 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15385 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15386 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15387 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15388
af7e376b
AZ
153892018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15390
15391 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15392 defined.
15393 * dirent/versionsort.c (versionsort): Likewise.
15394 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15395 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15396 * dirent/versionsort64.c (versionsort64): Likewise.
15397 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15398 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15399 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15400 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15401 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15402 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15403 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15404 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15405 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15406 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15409 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15410 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15411
da5e0361
JM
154122018-04-23 Joseph Myers <joseph@codesourcery.com>
15413
15414 * elf/elf.h (NT_PPC_PKEY): New macro.
15415
6b5c8607 154162018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
15417
15418 [BZ #23094]
15419 * localedata/locales/hr_HR: fix thousands_sep and
15420 mon_thousands_sep
15421
573963e3
JM
154222018-04-20 Joseph Myers <joseph@codesourcery.com>
15423
15424 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15425 (XTABS): Define to TAB3.
15426
c0123b3b
AZ
154272018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15428
0900a849
AZ
15429 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15430
c0123b3b
AZ
15431 * dirent/scandir-tail-common.c: New file.
15432 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15433 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15434 * dirent/scandir.c: Use scandir-tail-common.c.
15435 * dirent/scandirat.c: Likewise.
15436 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15437 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15438 if _DIRENT_MATCHES_DIRENT64 is defined.
15439 * dirent/scandirat64.c (scandirat64): Likewise.
15440 * include/dirent.h (__scandir_tail): Only define iff
15441 _DIRENT_MATCHES_DIRENT64 is not defined.
15442 (__scandir64_tail): Define regardless.
15443 (__scandirat, scandirat64): Remove libc_hidden_proto.
15444 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15445 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15447 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15448 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15449 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15450 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15451
458b94f6
JM
154522018-04-20 Joseph Myers <joseph@codesourcery.com>
15453
15454 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15455 New macro.
15456 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15457 Increase to 24.
15458 (_dl_aarch64_cap_flags): Add asimdfhm.
15459
9f0437e8
CLT
154602018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15461
15462 * sysdeps/nios2/libm-test-ulps: Update.
15463
298d0e31
AZ
154642018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15465
50511ca4
AZ
15466 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15467 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15468
298d0e31
AZ
15469 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15470 requirements.
6b5c8607 15471 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
15472 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15473 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15474 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15475 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15476 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15477 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15478 use getdents64 syscalls as base.
15479 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15480 symbol if required.
15481 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15482 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15483 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15484 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15485 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15486 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15487 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15488 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15489 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15490 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15491 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15492
0085be14
SL
154932018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15494
15495 * scripts/test_printers_common.py (init_test): Disable lock elision.
15496
da796524
SL
154972018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15498
15499 * math/test-tgmath.c (count_double, count_float,
15500 count_ldouble, count_cdouble, count_cfloat,
15501 count_cldouble): Use volatile int.
15502
0dd25301
ST
155032018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15504
15505 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15506 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 15507 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
15508 i386-gnu.
15509 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15510 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15511 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15512 msqid_ds.msg_lrpid): Likewise.
15513 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15514 Likewise.
15515 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15516 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
15517 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15518 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15519 unsigned int.
15520 (struct statvfs64): Likewise.
f55a4fde
ST
15521 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15522 Likewise.
77b93390
ST
15523 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15524 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15525 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15526 instead of wait_queue.
15527 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15528 instead of vm_area_struct.
5cd2931a
ST
15529 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15530 struct sched_param definition to it.
e60c3f2b
ST
15531 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15532 * bits/types/struct_sched_param.h: New file.
15533 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15534 <bits/types/struct_sched_param.h> instead of <sched.h>.
15535 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
15536 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15537 generic version but include <bits/pthreadtypes.h> to make struct
15538 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
15539 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15540 non-compliant.
a564872d
ST
15541 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15542 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15543 [__USE_XOPEN] (OFDEL): New macro.
15544 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 15545 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
15546 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15547 prototypes.
15548 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15549 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
15550 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15551 non-compliant.
15552 * sysdeps/i386/sys/ucontext.h: Likewise.
15553 * sysdeps/m68k/sys/ucontext.h: Likewise.
15554 * sysdeps/mips/sys/ucontext.h: Likewise.
15555 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
15556 * sysdeps/mach/hurd/i386/Makefile
15557 (test-xfail-POSIX/fcntl.h/conform): Add.
15558 (test-xfail-POSIX/signal.h/conform): Add.
15559 (test-xfail-POSIX/semaphore.h/conform): Add.
15560 (test-xfail-POSIX/regex.h/conform): Add.
15561 (test-xfail-POSIX/aio.h/conform): Add.
15562 (test-xfail-POSIX/mqueue.h/conform): Add.
15563 (test-xfail-POSIX/sys/types.h/conform): Add.
15564 (test-xfail-UNIX98/fcntl.h/conform): Add.
15565 (test-xfail-UNIX98/netdb.h/conform): Add.
15566 (test-xfail-UNIX98/signal.h/conform): Add.
15567 (test-xfail-UNIX98/semaphore.h/conform): Add.
15568 (test-xfail-UNIX98/regex.h/conform): Add.
15569 (test-xfail-UNIX98/aio.h/conform): Add.
15570 (test-xfail-UNIX98/ftw.h/conform): Add.
15571 (test-xfail-UNIX98/mqueue.h/conform): Add.
15572 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15573 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15574 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15575 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15576 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15577 (test-xfail-UNIX98/sys/types.h/conform): Add.
15578 (test-xfail-UNIX98/stdlib.h/conform): Add.
15579 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15580 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15581 (test-xfail-POSIX2008/netdb.h/conform): Add.
15582 (test-xfail-POSIX2008/signal.h/conform): Add.
15583 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15584 (test-xfail-POSIX2008/regex.h/conform): Add.
15585 (test-xfail-POSIX2008/aio.h/conform): Add.
15586 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15587 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15588 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15589 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15590 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15591 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15592 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15593 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15594 (test-xfail-XOPEN2K/signal.h/conform): Add.
15595 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15596 (test-xfail-XOPEN2K/regex.h/conform): Add.
15597 (test-xfail-XOPEN2K/aio.h/conform): Add.
15598 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15599 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15600 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15601 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15602 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15603 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15604 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15605 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15606 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15607 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15608 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15609 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15610 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15611 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15612 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15613 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15614 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15615 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15616 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15617 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15618 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15619 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15620 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15621 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15622 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15623 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
15624 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15625 i386-gnu.
15626 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15627 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 15628
d6397de3
JM
156292018-04-18 Joseph Myers <joseph@codesourcery.com>
15630
15631 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15632 --enable-obsolete for powerpc-linux-gnuspe.
15633
8323a902
ST
156342018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15635
3dc0814c 15636 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 15637 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 15638 prototypes.
c5896a45
ST
15639 * sysdeps/mach/include/mach.h: Likewise.
15640 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15641 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 15642
743b9c2a
AZ
156432018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15644
15645 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15646 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15647 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15648 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15649
326e74e7
AS
156502018-04-16 Andreas Schwab <schwab@suse.de>
15651
15652 [BZ #19527]
15653 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15654
6b5c8607 156552018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
15656
15657 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15658 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15659
a700e7cb
DD
156602018-04-12 DJ Delorie <dj@redhat.com>
15661
15662 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15663 version to 4.16.
15664
d8abfab7
SL
156652018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15666
15667 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15668 (struct kernel_sigaction): Use the same definition on 31bit as is used
15669 on 64bit.
15670
583a27d5
FW
156712018-04-09 Florian Weimer <fweimer@redhat.com>
15672
15673 [BZ #23037]
15674 * resolv/res_send.c (send_dg): Use designated initializers instead
15675 of assignment to zero-initialize other fields of struct mmsghdr.
15676
243f59e5
AZ
156772018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15678
942de61a
AZ
15679 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15680 __READDIR_ALIAS): Undefine after usage.
15681 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15682 __READDIR_R_ALIAS): Likewise.
15683 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15684 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15685 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15686 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15687 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15688 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15689 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15690 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15691 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15692 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15693 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15694 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15695 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15696 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15697 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15698 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15699 * sysdeps/unix/sysv/linux/readdir.c: New file.
15700 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15701 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15702 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15703
243f59e5
AZ
15704 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15705
690c3475
AS
157062018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15707
15708 * manual/charset.texi (Converting a Character): Fix typo.
15709
6b5c8607 157102018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 15711
bbc2062a
AZ
15712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15713
fa7c6199
AZ
15714 * sysdeps/arm/libm-test-ulps: Update.
15715
b4a5d26d
AZ
15716 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15717 as base implementation.
15718 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15719 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15720 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15721 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15722 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15723 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15724 remove unrequired definitions and update comments.
15725 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15726 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15727 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15728 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15729 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15730 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15731 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15732 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15733 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15734 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15735 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15736 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15737 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15738 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15739 and RESET_SA_RESTORER hooks.
15740
db9e55ff
SL
157412018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15742
15743 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15744
cf138b0c
FW
157452018-04-05 Florian Weimer <fweimer@redhat.com>
15746
15747 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15748 integer overflow, memory leak on error, and indeterminate errno
15749 value. Add a null wide character to terminate the result string.
15750 * manual/charset.texi (Converting a Character): Mention embedded
15751 null bytes in the mbrtowc input string. Explain what happens in
15752 the -2 result case. Do not claim that mbrtowc is simple or
15753 obvious to use. Adjust the description of the code example. Use
15754 @code, not @var, for concrete variables.
15755
0f339252
FW
157562018-04-05 Florian Weimer <fweimer@redhat.com>
15757
15758 * manual/examples/mbstouwcs.c: New file.
15759 * manual/charset.texi (Converting a Character): Include it.
15760
e5f9508a
ST
157612018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15762
c120981d
ST
15763 * include/dirent.h (dirfd): Add hidden proto.
15764 * dirent/dirfd.c (dirfd): Add hidden def.
15765 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15766 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 15767
b2fd61ca
TMQMF
157682018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15769
15770 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15771 sin, cos and sincos to 1 ULP.
15772
10a446dd
MR
157732018-04-04 Maciej W. Rozycki <macro@mips.com>
15774
e7feec37
MR
15775 [BZ #19818]
15776 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15777 symbols.
15778 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15779 * elf/tst-absolute-sym.c: New file.
15780 * elf/tst-absolute-sym-lib.c: New file.
15781 * elf/tst-absolute-sym-lib.lds: New file.
15782 * elf/Makefile (tests): Add `tst-absolute-sym'.
15783 (modules-names): Add `tst-absolute-sym-lib'.
15784 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15785 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15786 ($(objpfx)tst-absolute-sym): New dependency.
15787
10a446dd
MR
15788 [BZ #19818]
15789 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15790 parameter.
15791 (SYMBOL_ADDRESS): New macro.
15792 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15793 SYMBOL_ADDRESS for symbol address calculation.
15794 * elf/dl-runtime.c (_dl_fixup): Likewise.
15795 (_dl_profile_fixup): Likewise.
15796 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15797 * elf/rtld.c (dl_main): Likewise.
15798 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15799 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15800 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15801 (elf_machine_rela): Likewise.
15802 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15803 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15804 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15805 (elf_machine_rela): Likewise.
15806 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15807 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15808 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15809 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15810 Likewise.
15811 (elf_machine_reloc): Likewise.
15812 (elf_machine_got_rel): Likewise.
15813 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15814 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15815 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15816 Likewise.
15817 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15818 Likewise.
15819 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15820 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15821 Likewise.
15822 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15823 Likewise.
15824 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15825 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15826 Likewise.
15827 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15828 Likewise.
15829 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15830 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15831
9185f86d
ZW
158322018-04-04 Zack Weinberg <zackw@panix.com>
15833
15834 * sysdeps/generic/internal-signals.h: Include signal.h,
15835 sigsetops.h, and stdbool.h.
15836 (__libc_signal_block_all): Actually block all signals.
15837 (__libc_signal_block_app): Likewise.
15838 (__libc_signal_restore_set): Actually restore the signal mask.
15839
b07367bc
FW
158402018-04-04 Florian Weimer <fweimer@redhat.com>
15841
15842 inet: Actually build and run tst-deadline.
15843 * inet/Makefile (tests-internal): Add tst-deadline and do not
15844 overwrite the variable.
15845 (tests-static-internal): Remove variable.
15846
f2652643
L
158472018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15848
15849 [BZ #22947]
15850 * bits/uio-ext.h (RWF_APPEND): New.
15851 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15852 * manual/llio.texi: Document RWF_APPEND.
15853 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15854 (RWF_SUPPORTED): Add RWF_APPEND.
15855
6b5c8607 158562018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
15857
15858 [BZ #22391]
15859 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15860 check for internal nptl signals.
15861 * nptl/sigaction.c (__sigaction): Likewise.
15862 * signal/sigaddset.c (sigaddset): Likewise.
15863 * signal/sigdelset.c (sigdelset): Likewise.
15864 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15865 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15866 value.
15867 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15868 to filter out internal nptl signals.
15869 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15870 also check realtime signals using standard macros.
15871 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15872 __is_internal_signal, __libc_signal_block_all,
15873 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15874 * sysdeps/nptl/sigfillset.c: Remove file.
15875 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15876 Change return to bool.
15877 (__clear_internal_signals): Remove SIGTIMER clean since it is
15878 equal to SIGCANEL on Linux.
15879 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15880 signal set was constructed using standard functions.
15881
511ed56f
ST
158822018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15883
92846492
ST
15884 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15885 ifname is too long.
e8ef51b1
ST
15886 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15887 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
15888 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15889 hidden def.
15890 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
15891 * signal/sigaddset.c: Include <sigsetopts.h>.
15892 * signal/sigdelset.c: Likewise.
511ed56f 15893
e88ecbbf
WD
158942018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15895
15896 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15897 (__cos): Likewise.
15898 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15899 logic as sin and cos.
15900
aef3e255
WD
159012018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15902
15903 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15904 inputs. Return correct sign.
15905 (do_sincos): Remove small input check before do_sin, let do_sin set
15906 the sign.
15907 (__sin): Likewise.
15908 (__cos): Likewise.
15909
72f6e9a3
WD
159102018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15911
15912 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15913 (do_cos_slow): Likewise.
15914 (do_sin_slow): Likewise.
15915 (reduce_and_compute): Likewise.
15916 (slow): Likewise.
15917 (slow1): Likewise.
15918 (slow2): Likewise.
15919 (sloww): Likewise.
15920 (sloww1): Likewise.
15921 (sloww2): Likewise.
15922 (bslow): Likewise.
15923 (bslow1): Likewise.
15924 (bslow2): Likewise.
15925 (cslow2): Likewise.
15926
64909583
WD
159272018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15928
15929 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15930 (do_cos): Remove corp parameter and calculations.
15931 (do_sin): Likewise.
15932 (do_sincos): Remove cor variable.
15933 (__sin): Use do_sincos for huge inputs.
15934 (__cos): Likewise.
15935 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15936 (reduce_and_compute_sincos): Remove unused function.
15937
d9469deb
WD
159382018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15939
15940 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15941 reduce_sincos, improve accuracy to 136 bits.
15942 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15943 (__sin): Use improved reduction and simplified do_sincos calculation.
15944 (__cos): Likewise.
15945 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15946
7a5640f2
WD
159472018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15948
15949 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15950 (do_sincos_2): Likewise.
15951 (__sin): Remove middle range reduction case.
15952 (__cos): Likewise.
15953 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15954 reduction case.
15955
19a8b9a3
WD
159562018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15957
15958 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15959 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15960 inputs.
15961 (__cos): Likewise.
15962 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15963
f72aa11d
JM
159642018-04-03 Joseph Myers <joseph@codesourcery.com>
15965
15966 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 15967 version to 4.16
f72aa11d 15968
8e4754ed
AZ
159692018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15970
15971 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15972 Remove definitions.
15973 (opendir_oflags): Use O_DIRECTORY regardless.
15974 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15975 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15976
8e2666ea
ST
159772018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15978
15979 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15980 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15981 macros.
15982 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15983 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15984 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15985 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
15986 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15987 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 15988
ad2b41bf
ST
15989 * htl/Makefile: Bump licence to LGPL 2.1+.
15990 * htl/alloca_cutoff.c: Likewise.
15991 * htl/cthreads-compat.c: Likewise.
15992 * htl/lockfile.c: Likewise.
15993 * htl/pt-alloc.c: Likewise.
15994 * htl/pt-cancel.c: Likewise.
15995 * htl/pt-cleanup.c: Likewise.
15996 * htl/pt-create.c: Likewise.
15997 * htl/pt-dealloc.c: Likewise.
15998 * htl/pt-detach.c: Likewise.
15999 * htl/pt-exit.c: Likewise.
16000 * htl/pt-getattr.c: Likewise.
16001 * htl/pt-initialize.c: Likewise.
16002 * htl/pt-internal.h: Likewise.
16003 * htl/pt-join.c: Likewise.
16004 * htl/pt-self.c: Likewise.
16005 * htl/pt-setcancelstate.c: Likewise.
16006 * htl/pt-setcanceltype.c: Likewise.
16007 * htl/pt-sigmask.c: Likewise.
16008 * htl/pt-spin-inlines.c: Likewise.
16009 * htl/pt-testcancel.c: Likewise.
16010 * htl/pt-yield.c: Likewise.
16011 * htl/tests/test-1.c: Likewise.
16012 * htl/tests/test-10.c: Likewise.
16013 * htl/tests/test-11.c: Likewise.
16014 * htl/tests/test-12.c: Likewise.
16015 * htl/tests/test-13.c: Likewise.
16016 * htl/tests/test-14.c: Likewise.
16017 * htl/tests/test-15.c: Likewise.
16018 * htl/tests/test-16.c: Likewise.
16019 * htl/tests/test-17.c: Likewise.
16020 * htl/tests/test-2.c: Likewise.
16021 * htl/tests/test-3.c: Likewise.
16022 * htl/tests/test-4.c: Likewise.
16023 * htl/tests/test-5.c: Likewise.
16024 * htl/tests/test-6.c: Likewise.
16025 * htl/tests/test-7.c: Likewise.
16026 * htl/tests/test-8.c: Likewise.
16027 * htl/tests/test-9.c: Likewise.
16028 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16029 * sysdeps/htl/bits/cancelation.h: Likewise.
16030 * sysdeps/htl/bits/pthread-np.h: Likewise.
16031 * sysdeps/htl/bits/pthread.h: Likewise.
16032 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16033 * sysdeps/htl/bits/semaphore.h: Likewise.
16034 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16035 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16036 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16037 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16038 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16039 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16040 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16041 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16042 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16043 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16044 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16045 * sysdeps/htl/old_pt-atfork.c: Likewise.
16046 * sysdeps/htl/pt-atfork.c: Likewise.
16047 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16048 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16049 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16050 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16051 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16052 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16053 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16054 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16055 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16056 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16057 * sysdeps/htl/pt-attr-init.c: Likewise.
16058 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16059 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16060 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16061 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16062 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16063 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16064 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16065 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16066 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16067 * sysdeps/htl/pt-attr.c: Likewise.
16068 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16069 * sysdeps/htl/pt-barrier-init.c: Likewise.
16070 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16071 * sysdeps/htl/pt-barrier.c: Likewise.
16072 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16073 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16074 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16075 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16076 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16077 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16078 * sysdeps/htl/pt-cond-init.c: Likewise.
16079 * sysdeps/htl/pt-cond-signal.c: Likewise.
16080 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16081 * sysdeps/htl/pt-cond-wait.c: Likewise.
16082 * sysdeps/htl/pt-cond.c: Likewise.
16083 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16084 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16085 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16086 * sysdeps/htl/pt-condattr-init.c: Likewise.
16087 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16088 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16089 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16090 * sysdeps/htl/pt-equal.c: Likewise.
16091 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16092 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16093 * sysdeps/htl/pt-getschedparam.c: Likewise.
16094 * sysdeps/htl/pt-getspecific.c: Likewise.
16095 * sysdeps/htl/pt-init-specific.c: Likewise.
16096 * sysdeps/htl/pt-key-create.c: Likewise.
16097 * sysdeps/htl/pt-key-delete.c: Likewise.
16098 * sysdeps/htl/pt-key.h: Likewise.
16099 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16100 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16101 * sysdeps/htl/pt-mutex-init.c: Likewise.
16102 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16103 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16104 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16105 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16106 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16107 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16108 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16109 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16110 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16111 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16112 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16113 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16114 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16115 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16116 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16117 * sysdeps/htl/pt-mutexattr.c: Likewise.
16118 * sysdeps/htl/pt-once.c: Likewise.
16119 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16120 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16121 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16122 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16123 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16124 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16125 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16126 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16127 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16128 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16129 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16130 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16131 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16132 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16133 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16134 * sysdeps/htl/pt-setschedparam.c: Likewise.
16135 * sysdeps/htl/pt-setschedprio.c: Likewise.
16136 * sysdeps/htl/pt-setspecific.c: Likewise.
16137 * sysdeps/htl/pt-spin.c: Likewise.
16138 * sysdeps/htl/pt-startup.c: Likewise.
16139 * sysdeps/htl/pthread.h: Likewise.
16140 * sysdeps/htl/sem-close.c: Likewise.
16141 * sysdeps/htl/sem-destroy.c: Likewise.
16142 * sysdeps/htl/sem-getvalue.c: Likewise.
16143 * sysdeps/htl/sem-init.c: Likewise.
16144 * sysdeps/htl/sem-open.c: Likewise.
16145 * sysdeps/htl/sem-post.c: Likewise.
16146 * sysdeps/htl/sem-timedwait.c: Likewise.
16147 * sysdeps/htl/sem-trywait.c: Likewise.
16148 * sysdeps/htl/sem-unlink.c: Likewise.
16149 * sysdeps/htl/sem-wait.c: Likewise.
16150 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16151 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16152 * sysdeps/mach/htl/pt-block.c: Likewise.
16153 * sysdeps/mach/htl/pt-spin.c: Likewise.
16154 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16155 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16156 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16157 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16158 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16159 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16160 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16161 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16162 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16163 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16164 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16165 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16166 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16167 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16168 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16169 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16170 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16171 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16172 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16173 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16174 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16175 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16176 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16177 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16178 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16179 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16180 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16181 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16182 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16183 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16184 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16185 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16186 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16187 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16188 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16189 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16190 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16191 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16192 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16193 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16194 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16195 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16196 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16197
fb03b04b
ST
16198 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16199 * README: Remove the mention of out-of-tree patches needed for
16200 GNU/Hurd.
16201
fa9e1555
ST
16202 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16203 (UTIME_NOW, UTIME_OMIT): Define macros.
16204
f6fb29d2
ST
16205 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16206 instead of pthread_detach.
16207 (__cthread_fork): Call __pthread_create instead of pthread_create.
16208 (__cthread_keycreate): Call __pthread_key_create instead of
16209 pthread_key_create.
16210 (__cthread_getspecific): Call __pthread_getspecific instead of
16211 pthread_getspecific.
16212 (__cthread_setspecific): Call __pthread_setspecific instead of
16213 pthread_setspecific.
16214 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16215 __pthread_mutex_unlock instead of pthread_mutex_lock and
16216 pthread_mutex_unlock.
16217 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16218 ___pthread_get_cleanup_stack.
16219 (__pthread_get_cleanup_stack): New strong alias.
16220 * htl/pt-create.c: Include <pthreadP.h>.
16221 (entry_point): Call __pthread_exit instead of pthread_exit.
16222 (pthread_create): Rename to __pthread_create.
16223 (pthread_create): New strong alias.
16224 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16225 (pthread_detach): New strong alias.
16226 (__pthread_detach): Call __pthread_cond_broadcast instead of
16227 pthread_cond_broadcast.
fe9748cc
ST
16228 * htl/pt-exit.c: Include <pthreadP.h>.
16229 (__pthread_exit): Call __pthread_setcancelstate and
16230 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16231 __pthread_get_cleanup_stack.
f6fb29d2
ST
16232 * htl/pt-testcancel.c: Include <pthreadP.h>.
16233 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16234 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16235 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16236 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16237 pthread_attr_getstacksize.
16238 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16239 Rename to __pthread_attr_getstackaddr.
16240 (pthread_attr_getstackaddr): New strong alias.
16241 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16242 Rename to __pthread_attr_getstacksize.
16243 (pthread_attr_getstacksize): New strong alias.
16244 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16245 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16246 (pthread_attr_setstack): New strong alias.
16247 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16248 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16249 pthread_attr_getstacksize, pthread_attr_setstacksize and
16250 pthread_attr_setstackaddr.
16251 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16252 Rename to __pthread_attr_setstackaddr.
16253 (pthread_attr_setstackaddr): New strong alias.
16254 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16255 Rename to __pthread_attr_setstacksize.
16256 (pthread_attr_setstacksize): New strong alias.
16257 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16258 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16259 pthread_exit.
16260 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16261 (__pthread_key_create): New hidden def.
16262 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16263 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16264 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16265 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16266 __pthread_setspecific, __pthread_setcancelstate,
16267 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16268 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16269 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16270 declarations.
16271 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16272 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16273 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16274 (pthread_attr_setstackaddr): New strong alias.
16275 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16276 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16277 (pthread_attr_setstacksize): New strong alias.
16278 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16279 (call_exit): Call __pthread_exit instead of pthread_exit.
16280 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16281 (_pthread_mutex_init): New hidden definition.
16282 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16283 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16284 instead of pthread_attr_init and pthread_attr_setstack.
16285
dba2bdbe
ST
16286 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16287 __vm_deallocate instead of vm_allocate and vm_deallocate.
16288 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16289 setenv.
16290 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16291 of geteuid.
16292 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16293 strdup.
16294 * hurd/siginfo.c: Include <libioP.h>.
16295 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16296 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16297 munmap.
dba2bdbe
ST
16298 * mach/devstream.c: Include <libioP.h>.
16299 (dealloc_ref): Call __mach_port_deallocate instead of
16300 mach_port_deallocate.
16301 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16302 Call __mach_port_deallocate instead of mach_port_deallocate.
16303 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16304 pathconf.
16305 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16306 munmap.
16307 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16308 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16309 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16310 of munmap.
16311 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16312 of close.
16313 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16314 instead of sysconf.
16315 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16316 __clock_gettime instead of clock_gettime.
16317 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16318 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16319 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16320 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16321 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16322 tcgetattr.
16323 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16324 __clock_gettime and __nanosleep instead of clock_gettime and
16325 nanosleep.
7a8f45e3
ST
16326 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16327 __hurd_catch_signal.
16328 (hurd_catch_signal): New strong alias.
16329 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16330 __hurd_catch_signal instead of hurd_catch_signal.
16331 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16332 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16333 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16334 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16335 (_hurd_thread_sigstate): Add hidden def.
16336 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16337 mutex_unlock.
16338 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16339 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16340 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16341 __hurd_file_name_path_lookup.
16342 (hurd_file_name_path_lookup): New strong alias.
16343 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16344 hurd_file_name_path_lookup.
16345 * mach/errstring.c (mach_error_type): Add hidden def.
16346 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16347 * mach/mutex-init.c (__mutex_init): Add hidden def.
16348 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16349 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16350 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16351 * sysdeps/mach/hurd/getcwd.c
16352 (_hurd_canonicalize_directory_name_internal): Rename to
16353 __hurd_canonicalize_directory_name_internal.
16354 (_hurd_canonicalize_directory_name_internal): New strong alias.
16355 (__canonicalize_directory_name_internal, __getcwd): Call
16356 __hurd_canonicalize_directory_name_internal instead of
16357 _hurd_canonicalize_directory_name_internal.
16358 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16359 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16360 hidden defs.
16361 * sysdeps/hurd/include/hurd.h: New file.
16362 * sysdeps/hurd/include/hurd/fd.h: New file.
16363 * sysdeps/hurd/include/hurd/signal.h: New file.
16364 * sysdeps/mach/include/lock-intern.h: New file.
16365 * sysdeps/mach/include/mach.h: New file.
16366 * sysdeps/mach/include/mach/mig_support.h: New file.
16367 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
16368 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16369 prototype.
16370 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16371 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16372 _HEADER_H_HIDDEN_DEF macro.
16373 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16374 _hurd_fd_error_signal): Add hidden prototype.
16375 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16376 hidden def.
82dbf555
ST
16377 * libio/iolibio.h (_IO_puts): New hidden prototype.
16378 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
16379 * sysdeps/mach/hurd/localplt.data: New file.
16380
33574c17 163812018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
16382 Amos Jeffries <squid3@treenet.co.nz>
16383 David Michael <fedora.dm0@gmail.com>
16384 Marco Gerards <marco@gnu.org>
16385 Marcus Brinkmann <marcus@gnu.org>
16386 Neal H. Walfield <neal@gnu.org>
16387 Pino Toscano <toscano.pino@tiscali.it>
16388 Richard Braun <rbraun@sceen.net>
16389 Roland McGrath <roland@gnu.org>
16390 Samuel Thibault <samuel.thibault@ens-lyon.org>
16391 Thomas DiModica <ricinwich@yahoo.com>
16392 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
16393
16394 * htl: New directory.
16395 * sysdeps/htl: New directory.
16396 * sysdeps/hurd/htl: New directory.
16397 * sysdeps/i386/htl: New directory.
16398 * sysdeps/mach/htl: New directory.
16399 * sysdeps/mach/hurd/htl: New directory.
16400 * sysdeps/mach/hurd/i386/htl: New directory.
16401 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16402 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16403 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16404
03e2aa50
ST
164052018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16406
16407 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16408 signals in thread created for runing timers.
16409
1aa52ced
FW
164102018-04-01 Florian Weimer <fweimer@redhat.com>
16411
16412 * support/support_format_addrinfo.c (support_format_addrinfo):
16413 Include unknown error number in formatted result.
16414
4d76d3e5
FW
164152018-03-29 Florian Weimer <fweimer@redhat.com>
16416
16417 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16418 capture SIGBUS.
16419
d39c0a45
AZ
164202018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16421
16422 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16423 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16424 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16425 (__ASSUME_CLONE_BACKWARDS): Define.
16426
cc8a1620
JH
164272018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16428
57408435 16429 [BZ #23024]
cc8a1620
JH
16430 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16431 early when linux sentinel value is set.
16432
8bfd94d0
ST
164332018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16434
16435 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16436
f178e59f
AS
164372018-03-27 Andreas Schwab <schwab@suse.de>
16438
16439 [BZ #23005]
16440 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16441 allocation of private copy of nsaddr_list fails.
16442
5f45f96a
JM
164432018-03-26 Joseph Myers <joseph@codesourcery.com>
16444
16445 [BZ #16552]
16446 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16447 * sysdeps/unix/sysv/linux/umount.c: ... here.
16448 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16449 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16450 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16451 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16453 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16454 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16455
3dfd23eb
AS
164562018-03-26 Andreas Schwab <schwab@suse.de>
16457
16458 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16459 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16460 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16461 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16462 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16463 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16464 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16465 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16466 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16467 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16468 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16469 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16470 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16471 (R_RISCV_NUM): Define.
16472
fa97d2ab
ST
164732018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16474
16475 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16476 TLS declaration of errno.
37be82a0
ST
16477 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16478 __libc_setup_tls.
16479 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16480 (ARCH_SETUP_TLS): Likewise.
16481 * sysdeps/mach/hurd/libc-start.h: New file copied from
16482 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
16483 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16484 instead of __libc_setup_tls.
37be82a0 16485 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
16486 __libc_setup_tls before initializing libpthread and running _hurd_init
16487 which starts the signal thread.
16488 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16489 Declare function.
2d813d7b 16490 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 16491
b8114edd
L
164922018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16493
16494 [BZ #22998]
16495 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16496 after it is defined.
16497
cd66c0e5
AS
164982018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16499 Max Horn <max@quendi.de>
16500
16501 [BZ #22644]
43d4f3d5 16502 CVE-2017-18269
cd66c0e5
AS
16503 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16504 branch conditions.
16505 * string/test-memmove.c (do_test2): New testcase.
16506
a4406139
JM
165072018-03-22 Joseph Myers <joseph@codesourcery.com>
16508
16509 * sysdeps/generic/frame.h: Remove file.
16510 * sysdeps/arm/frame.h: Likewise.
16511 * sysdeps/hppa/frame.h: Likewise.
16512 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16513 macro.
16514 (GET_FRAME): Likewise.
16515 (GET_STACK): Likewise.
16516 (CALL_SIGHANDLER): Likewise.
16517 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16518 Likewise.
16519 (GET_FRAME): Likewise.
16520 (GET_STACK): Likewise.
16521 (CALL_SIGHANDLER): Likewise.
16522 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16523 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16524 (GET_FRAME): Likewise.
16525 (GET_STACK): Likewise.
16526 (CALL_SIGHANDLER): Likewise.
16527 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16528 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16529 (GET_FRAME): Likewise.
16530 (GET_STACK): Likewise.
16531 (ADVANCE_STACK_FRAME): Likewise.
16532 (CALL_SIGHANDLER): Likewise.
16533 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16534 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16535 (GET_FRAME): Likewise.
16536 (GET_STACK): Likewise.
16537 (CALL_SIGHANDLER): Likewise.
16538 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16539 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16540 (GET_FRAME): Likewise.
16541 (GET_STACK): Likewise.
16542 (CALL_SIGHANDLER): Likewise.
16543 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16544 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16545 (GET_FRAME): Likewise.
16546 (GET_STACK): Likewise.
16547 (CALL_SIGHANDLER): Likewise.
16548 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16549 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16550 (GET_FRAME): Likewise.
16551 (GET_STACK): Likewise.
16552 (CALL_SIGHANDLER): Likewise.
16553 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16554 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16555 (GET_FRAME): Likewise.
16556 (GET_STACK): Likewise.
16557 (CALL_SIGHANDLER): Likewise.
16558 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16559 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16560 (GET_FRAME): Likewise.
16561 (GET_STACK): Likewise.
16562 (CALL_SIGHANDLER): Likewise.
16563 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16564 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16565 (GET_FRAME): Likewise.
16566 (GET_STACK): Likewise.
16567 (CALL_SIGHANDLER): Likewise.
16568 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16569 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16570 (GET_FRAME): Likewise.
16571 (GET_STACK): Likewise.
16572 (CALL_SIGHANDLER): Likewise.
16573 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16574 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16575 (GET_FRAME): Likewise.
16576 (GET_STACK): Likewise.
16577 (CALL_SIGHANDLER): Likewise.
16578 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16579 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16580 (FIRST_FRAME_POINTER): Likewise.
16581 (ADVANCE_STACK_FRAME): Likewise.
16582 (GET_STACK): Likewise.
16583 (GET_FRAME): Likewise.
16584 (CALL_SIGHANDLER): Likewise.
16585 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16586 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16587 (ADVANCE_STACK_FRAME): Likewise.
16588 (GET_STACK): Likewise.
16589 (GET_FRAME): Likewise.
16590 (CALL_SIGHANDLER): Likewise.
16591 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16592 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16593 (GET_FRAME): Likewise.
16594 (GET_STACK): Likewise.
16595 (CALL_SIGHANDLER): Likewise.
16596 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16597 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16598 (GET_FRAME): Likewise.
16599 (GET_STACK): Likewise.
16600 (CALL_SIGHANDLER): Likewise.
16601
ffec7b27
JM
166022018-03-21 Joseph Myers <joseph@codesourcery.com>
16603
16604 * sysdeps/x86_64/backtrace.c: Move to ....
16605 * debug/backtrace.c: ... here.
16606 * sysdeps/aarch64/backtrace.c: Remove file.
16607 * sysdeps/alpha/backtrace.c: Likewise.
16608 * sysdeps/hppa/backtrace.c: Likewise.
16609 * sysdeps/ia64/backtrace.c: Likewise.
16610 * sysdeps/mips/backtrace.c: Likewise.
16611 * sysdeps/nios2/backtrace.c: Likewise.
16612 * sysdeps/riscv/backtrace.c: Likewise.
16613 * sysdeps/sh/backtrace.c: Likewise.
16614 * sysdeps/tile/backtrace.c: Likewise.
16615
8a07b0c4
JM
166162018-03-20 Joseph Myers <joseph@codesourcery.com>
16617
d0c5d731
JM
16618 [BZ #22987]
16619 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16620 function.
16621 (fdimf): Likewise.
16622 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16623
8a07b0c4
JM
16624 [BZ #17343]
16625 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16626 possibly overflowing computations.
16627
ceb54b9b
ST
166282018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16629
16630 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16631 values from Linux-specific section now that it is in the GNU section.
16632 * sysdeps/gnu/errlist.c: Regenerate.
16633
8d3f9e85
JM
166342018-03-20 Joseph Myers <joseph@codesourcery.com>
16635
16636 * math/Makefile (libm-narrow-fns): Add sub.
16637 (libm-test-funcs-narrow): Likewise.
16638 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16639 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16640 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16641 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16642 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16643 (NARROW_SUB_TRIVIAL): Likewise.
16644 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16645 macro.
16646 (__dsubl): Likewise.
16647 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16648 dsub.
16649 (CFLAGS-nldbl-dsub.c): New variable.
16650 (CFLAGS-nldbl-fsub.c): Likewise.
16651 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16652 __nldbl_dsubl.
16653 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16654 prototype.
16655 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16656 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16657 * math/auto-libm-test-in: Add tests of sub.
16658 * math/auto-libm-test-out-narrow-sub: New generated file.
16659 * math/libm-test-narrow-sub.inc: New file.
16660 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16661 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16662 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16663 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16664 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16665 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16666 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16667 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16668 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16669 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16670 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16671 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16672 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16673 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16674 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16675 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16676 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16677 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16679 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16680 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16681 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16682 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16683 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16684 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16685 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16686 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16687 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16688 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16689 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16690 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16691 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16696 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16697 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16698 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16699 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16700 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16701 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16702 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16703 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16704 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16705 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16706
d473f015
JM
167072018-03-19 Joseph Myers <joseph@codesourcery.com>
16708
16709 [BZ #20079]
16710 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16711
fbce6f72
WD
167122018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16713
16714 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16715
72e7ffc3
RB
167162018-03-18 Richard Braun <rbraun@sceen.net>
16717
16718 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16719 thread reference.
16720
542c20a1
AA
167212018-03-18 Agustina Arzille <avarzille@riseup.net>
16722
16723 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16724 (__libc_cleanup_fct): Define function.
16725 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16726 __libc_cleanup_end): Rewrite implementation using
16727 __attribute__ ((__cleanup__)).
16728 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
16729 * hurd/Makefile (routines): Add hurdlock.
16730 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16731 interface.
16732 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16733 * hurd/hurdpid.c: Include <lowlevellock.h>
16734 (_S_msg_proc_newids): Use lll_wait to synchronize.
16735 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16736 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16737 * mach/Makefile (lock-headers): Remove machine-lock.h.
16738 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16739 <machine-lock.h>.
16740 (__spin_lock_t): New type.
16741 (__SPIN_LOCK_INITIALIZER): New macro.
16742 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16743 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16744 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16745 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16746 (__mutex_init): Initialize with lll.
16747 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16748 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16749 needing lll.
16750 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16751 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16752 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16753 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16754 (__setpgid): Use lll for synchronization.
16755 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16756 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16757 instead of <cthreads.h>.
16758 (_IO_lock_inexpensive): New macro
16759 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16760 (__libc_lock_self0): New declaration.
16761 (__libc_lock_owner_self): New macro.
16762 (__libc_key_t): Remove type.
16763 (_LIBC_LOCK_INITIALIZER): New macro.
16764 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16765 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16766 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16767 __libc_lock_define_initialized_recursive,
16768 __rtld_lock_define_initialized_recursive,
16769 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16770 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16771 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16772 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16773 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16774 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16775 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16776 New macros.
16777 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16778 * hurd/hurdlock.c: New file.
16779 * hurd/hurdlock.h: New file.
16780 * mach/lowlevellock.h: New file
542c20a1 16781
9a37922e
ST
167822018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16783
16784 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
16785 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16786 when opening a symlink with O_NOFOLLOW.
72103e73
ST
16787 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16788 path when flags contains O_NOFOLLOW.
16789 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16790 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
16791 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16792 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
16793 * sysdeps/mach/hurd/mlockall.c: New file.
16794 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 16795
34e6a869
ST
167962018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16797
16798 * hurd/hurdsig.c: Include <pthread.h>.
16799 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16800 get the signal thread stack layout.
dc33bef3
ST
16801 * hurd/Makefile (headers): Remove threadvar.h.
16802 (inline-headers): Remove threadvar.h.
16803 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16804 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16805 __hurd_threadvar_max, __hurd_errno_location.
16806 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16807 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16808 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16809 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16810 unless TLS is not initialized yet, in which case we do not need a
16811 critical section yet anyway.
16812 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16813 <machine-sp.h>.
16814 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16815 declarations.
16816 (__hurd_threadvar_index): Remove enum.
16817 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16818 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16819 inlines.
16820 (__hurd_reply_port0): New variable declaration.
16821 (__hurd_local_reply_port): New macro.
16822 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16823 (interrupted_reply_port_location): Add thread_t parameter. Use it
16824 with THREAD_TCB to access thread-local variables.
16825 (_hurdsig_abort_rpcs): Pass ss->thread to
16826 interrupted_reply_port_location.
16827 (_hurd_internal_post_signal): Likewise.
16828 (_hurdsig_init): Use presence of cthread_fork instead of
16829 __hurd_threadvar_stack_mask to start signal thread by hand.
16830 Remove signal thread threadvar initialization.
16831 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16832 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16833 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16834 of threadvar.
16835 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16836 __libc_lock_self0.
16837 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16838 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16839 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16840 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16841 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16842 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16843 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16844 define variables.
16845 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16846 <hurd/threadvar.h>.
16847 [IS_IN(rtld)] (rtld_errno): New variable.
16848 [IS_IN(rtld)] (__errno_location): New weak function.
16849 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16850 * sysdeps/mach/hurd/errno.c: Remove file.
16851 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16852 (__fork): Remove THREADVAR_SPACE macro and its use.
16853 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16854 variable.
16855 (init): Do not initialize threadvar.
16856 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16857 symbol.
16858 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16859 __hurd_local_reply_port instead of threadvar.
16860 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16861 _hurd_sigstate fields.
16862 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16863 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16864 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16865 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16866 instead of threadvar.
16867 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16868 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16869 (use_threadvar, global_reply_port): Remove variables.
16870 (__hurd_reply_port0): New variable.
16871 (__mig_get_reply_port): Use __hurd_local_reply_port and
16872 __hurd_reply_port0 instead of threadvar.
16873 (__mig_dealloc_reply_port): Likewise.
16874 (__mig_init): Do not initialize threadvar.
16875 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
16876 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16877 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16878 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16879 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16880 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16881 __cthread_setspecific.
16882 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16883 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16884 __cthread_t instead of cthread_fork, cthread_detach,
16885 pthread_getattr_np, pthread_attr_getstack.
16886 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16887 __cthread_keycreate.
16888 (cthread_getspecific): Rename to __cthread_getspecific.
16889 (cthread_setspecific): Rename to __cthread_setspecific.
16890 (__libc_getspecific): Use __cthread_getspecific instead of
16891 cthread_getspecific.
16892 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16893 __cthread_keycreate instead of cthread_keycreate.
16894 (__libc_setspecific): Use __cthread_setspecific instead of
16895 cthread_setspecific.
16896 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16897 Likewise.
dd28d4ba
ST
16898 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16899 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16900 testing whether it is defined.
34e6a869 16901
f8baf2a2
ST
169022018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16903
16904 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16905 Define macro.
16906 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16907 * sysdeps/mach/i386/thread_state.h
16908 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16909 i386_THREAD_STATE.
16910 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16911 i386_THREAD_STATE.
16912 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16913
16914 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16915 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16916
16917 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16918 macros.
16919 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16920 descriptor instead of creating a new one.
16921 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16922
16923 * mach/setup-thread.c: Include <ldsodefs.h>.
16924 (__mach_setup_thread): Call _dl_allocate_tls, pass
16925 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16926 MACHINE_THREAD_STATE_FLAVOR, before getting
16927 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16928 MACHINE_THREAD_STATE_FLAVOR with the result.
16929 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16930 MACHINE_THREAD_STATE_FIX_NEW.
16931 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16932 too. Add original thread parameter.
16933
34ba96b8
JM
169342018-03-16 Joseph Myers <joseph@codesourcery.com>
16935
5d75b75f
JM
16936 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16937 Remove inline function.
16938
34ba96b8
JM
16939 * sysdeps/i386/fpu/libm-test-ulps: Update.
16940 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16941
22679b2c
WD
169422018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16943
16944 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16945 commit.
16946
c429a8d8
JM
169472018-03-15 Joseph Myers <joseph@codesourcery.com>
16948
16949 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16950 (__sincos_code): Remove define and undefine.
16951 [__FAST_MATH__] (__sincos): Remove inline function.
16952 [__FAST_MATH__] (__sincosf): Remove inline function.
16953 [__FAST_MATH__] (__sincosl): Remove inline function.
16954 (__atan2l): Remove inline functions.
16955 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16956 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16957 function.
16958 (floor): Remove inline function.
16959 (ceil): Likewise.
16960 [__FAST_MATH__] (__ldexp_code): Remove macro.
16961 [__FAST_MATH__] (ldexp): Remove inline function.
16962 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16963 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16964 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16965 [__USE_ISOC99] (__lrint_code): Remove macro.
16966 [__USE_ISOC99] (__llrint_code): Likewise.
16967 [__USE_ISOC99] (lrintf): Remove inline function.
16968 [__USE_ISOC99] (lrint): Likewise.
16969 [__USE_ISOC99] (lrintl): Likewise.
16970 [__USE_ISOC99] (llrint): Likewise.
16971 [__USE_ISOC99] (llrintf): Likewise.
16972 [__USE_ISOC99] (llrintl): Likewise.
16973
700593fd
WD
169742018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16975
16976 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16977 (__ieee754_sqrtf): Remove.
16978 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16979 (__ieee754_sqrtf): Remove.
16980 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16981 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16982 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16983 (__ieee754_sqrtf): Remove.
16984 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16985 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16986 (sqrtf): Remove.
16987 (sqrtl): Remove.
16988 (__ieee754_sqrt): Remove.
16989 (__ieee754_sqrtf): Remove.
16990 (__ieee754_sqrtl): Remove.
16991 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16992 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16993 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16994 (__ieee754_sqrtf): Remove.
16995 (__ieee754_sqrtl): Remove.
16996
f67a8147
WD
169972018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16998
16999 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17000 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17001 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17002 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17003 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17004 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17005 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17006 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17007 Likewise.
17008 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17009 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17010 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17011 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17012 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17013 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17014 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17015 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17016 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17017 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17018 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17019 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17020 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17021 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17022 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17023 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17024 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17025 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17026 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17027 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17028 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17029 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17030 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17031 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17032 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17033 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17035 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17036 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17037 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17038 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17039 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17040 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17041 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17042 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17043 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17044 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17045 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17046 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17047 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17048
1294b189
WD
170492018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17050
17051 * include/math.h (sqrt): Declare with asm redirect.
17052 (sqrtf): Likewise.
17053 (sqrtl): Likewise.
17054 (sqrtf128): Likewise.
17055 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17056 nonlib and libnldbl with -fmath-errno.
17057 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17058 * math/w_sqrt_template.c: Likewise.
17059 * math/w_sqrtf_compat.c: Likewise.
17060 * math/w_sqrtl_compat.c: Likewise.
17061 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17062 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17063 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17064 complex.h.
17065
f1c8185d
WD
170662018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17067
17068 * benchtests/Makefile: Define _ISOMAC.
17069 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17070 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17071 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17072 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17073 * benchtests/bench-timing.h: Define attribute_hidden.
17074
b47c3e76
SP
170752018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17076
17077 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17078 mov + lsr.
17079
807fee29
RL
170802018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17081
17082 [BZ #22963]
17083 * localedata/locales/cs_CZ (mon): Rename to...
17084 (alt_mon): This.
17085 (mon): Import from CLDR (genitive case).
17086
e7155a28
RL
170872018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17088
17089 [BZ #22937]
17090 * localedata/locales/el_CY (abmon): Rename to...
17091 (ab_alt_mon): This.
17092 (abmon): Import from CLDR (abbreviated genitive case).
17093 * localedata/locales/el_GR (abmon): Rename to...
17094 (ab_alt_mon): This.
17095 (abmon): Import from CLDR (abbreviated genitive case).
17096
71d7b121
RL
170972018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17098
17099 [BZ #22932]
17100 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17101
a00bffe8
RB
171022018-03-15 Robert Buj <robert.buj@gmail.com>
17103
17104 [BZ #22848]
17105 * localedata/locales/ca_ES (abmon): Rename to...
17106 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17107 (mon): Rename to...
17108 (alt_mon): This.
17109 (abmon): Import from CLDR (genitive case, month names preceded by
17110 "de" or "d’").
17111 (mon): Likewise.
17112 (abday): Synchronize with CLDR.
17113 (d_t_fmt): Likewise.
17114 (d_fmt): Likewise.
17115 (am_pm): Likewise.
17116
17117 (LC_TIME): Improve indentation.
17118 (LC_TELEPHONE): Likewise.
17119 (LC_NAME): Likewise.
17120 (LC_ADDRESS): Likewise.
17121
f9555d73
JM
171222018-03-14 Joseph Myers <joseph@codesourcery.com>
17123
17124 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17125 (lrintf): Remove definitions used only with old GCC.
17126 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17127 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17128 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17129 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17130 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17131 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17132 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17133 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17134 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17135 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17136 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17137 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17138 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17139 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17140 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17141 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17142 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17143 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17144 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17145 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17146 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17147 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17148 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17149 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17150 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17151 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17152 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17153 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17154
d46f84de
SP
171552018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17156
17157 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17158 instruction to unbreak builds with binutils 2.26 and older.
17159
7108f1f9
SP
171602018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17161
17162 * sysdeps/aarch64/strncmp.S (count): New macro.
17163 (strncmp): Store misaligned length in SRC1 in COUNT.
17164 (mutual_align): Adjust.
17165 (misaligned8): Load dword at a time when it is safe.
17166
2cc7bad0
ZW
171672018-03-12 Zack Weinberg <zackw@panix.com>
17168
17169 [BZ #1190]
17170 [BZ #19476]
17171 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17172 if the _IO_EOF_SEEN bit is already set; update commentary.
17173 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17174 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17175
17176 * support/support_openpty.c, support/tty.h: New files.
17177 * support/Makefile (libsupport-routines): Add support_openpty.
17178
17179 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17180 New test cases.
17181 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17182 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17183
778f1974
DL
171842018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17185
17186 * po/pt_BR.po: Update translations.
17187
6b5c8607 171882018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
17189
17190 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17191 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17192 get a port to the startup server.
17193
d3da750d
ZW
171942018-03-11 Zack Weinberg <zackw@panix.com>
17195
17196 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17197 before nldbl-compat.h.
17198
054b72cc
ZW
171992018-03-10 Zack Weinberg <zackw@panix.com>
17200
0d13dfa1
ZW
17201 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17202 math.h or math_private.h.
17203
17204 * sysdeps/alpha/fpu/s_isnan.c
17205 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17206 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17207 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17208 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17209 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17210 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17211 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17212 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17213 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17216 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17217 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17218 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17219 Include math_private.h.
17220
17221 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17222 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17223 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17224 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17225 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17226 * sysdeps/powerpc/power7/fpu/s_logb.c:
17227 Include math.h and math_private.h.
17228
054b72cc
ZW
17229 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17230 uses of $at in .set noat / .set at.
17231
6253bacd
L
172322018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17233
17234 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17235 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17236 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17237 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17238 Likewise.
17239
229855e5
FW
172402018-03-09 Florian Weimer <fweimer@redhat.com>
17241
17242 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17243 in comment.
17244
9aa5c222
AJ
172452018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17246
17247 [BZ #22919]
17248 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17249 Add nop before __startcontext, add explaining comments.
17250
3dc21497
AZ
172512018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17252
e921c89e
AZ
17253 [BZ #22926]
17254 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17255 empty for __SPE__.
17256 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17257 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17258 Do not build hardware transactional code for __SPE__.
17259 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17260 (__lll_trylock_elision): Likewise.
17261 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17262 (__lll_unlock_elision): Likewise.
17263
d9f26dab 17264 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
17265 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17266 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17267 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17268 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17269 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17270 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17271 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17272 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17273 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17274 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17275 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17276 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17277 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17278 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17279 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17280 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17281 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17282 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17283 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17284 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17285 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17286 (__ASSUME_CLONE_BACKWARDS): Define.
17287 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17288 __clone2 if __NR_clone2 is defined.
17289 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17290 (__ASSUME_CLONE_BACKWARDS): Likewise.
17291 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17292 (__ASSUME_CLONE_BACKWARDS): Likewise.
17293 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17294 (__ASSUME_CLONE2): Likewise.
17295 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17296 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17297 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17298 variants and the define architecture can use.
17299 (__ASSUME_CLONE_DEFAULT): Define as default.
17300 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17301 (__ASSUME_CLONE_BACKWARDS): Likewise.
17302 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17303 (__ASSUME_CLONE_BACKWARDS): Likewise.
17304 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17305 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17306
adc95fb0
SP
173072018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17308
4e54d918
SP
17309 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17310
30a81dae
SP
17311 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17312 time.
17313
adc95fb0
SP
17314 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17315 (do_test_limit): Likewise.
17316
17317 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17318 for every implementation.
17319 (do_test): Likewise.
17320
17321 * benchtests/bench-strncmp.c: Convert output to json.
17322
4e9066bc
ST
173232018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17324
17325 * io/futimens.c: Add missing start-of-file descriptive comment.
17326 * io/utime.c: Likewise.
17327 * misc/futimesat.c: Likewise.
17328 * misc/utimes.c: Likewise.
17329 * sysdeps/mach/hurd/futimesat.c: Likewise.
17330 * sysdeps/mach/hurd/utimes.c: Likewise.
17331 * sysdeps/posix/utime.c: Likewise.
17332 * sysdeps/posix/utimes.c: Likewise.
17333 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17334 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17335 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17336 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17337
ec1300cf
ST
173382018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17339
17340 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17341 hurd_futimes.
17342 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17343 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17344 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17345 (__futimens): Move implementation to...
17346 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17347 utime_tvalue_from_tspec): ... new helper functions.
17348 (hurd_futimens): New function.
17349 * sysdeps/mach/hurd/futimesat.c: New file.
17350 * sysdeps/mach/hurd/utimensat.c: New file.
17351
bbe762d1
FC
173522018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17353
17354 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17355 UTIME_OMIT): New macros.
17356 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17357 before reverting to converting time spec to time value and calling
17358 __file_utimes.
17359 * sysdeps/mach/hurd/utime-helper.c: New file.
17360 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17361 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17362 reverting to utime_tvalue_from_tval and __file_utimes.
17363 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17364 (__lutimes): Just call hurd_futimens after lookup.
17365 * sysdeps/mach/hurd/utimes.c: Likewise.
17366
a1ede3a4
ST
173672018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17368
17369 * bits/sigaction.h: Add include guard.
17370 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17371 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17372 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17373 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17374 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17375 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17376 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17377 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17378 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17379
6900d2ca
JM
173802018-03-05 Joseph Myers <joseph@codesourcery.com>
17381
17382 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17383 -Wmaybe-uninitialized for -Os.
17384 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17385 this disabling.
17386
68448be2
AZ
173872018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17388
5226a81f
AZ
17389 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17390 __INO_T_MATCHES_INO64_T is defined.
17391 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17392 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17393 of definition.
17394 * dirent/alphasort64.c: Likewise.
17395 * dirent/scandir.c: Likewise.
17396 * dirent/scandir64-tail.c: Likewise.
17397 * dirent/scandir64.c: Likewise.
17398 * dirent/scandirat.c: Likewise.
17399 * dirent/scandirat64.c: Likewise.
17400 * dirent/versionsort.c: Likewise.
17401 * dirent/versionsort64.c: Likewise.
17402 * include/dirent.h: Likewise.
17403
fbd01e6c
AZ
17404 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17405 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17406 for socketpair endpoint.
17407 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17408 WRITE_BUFFER_SIZE as buffer size for sending socket.
17409 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17410 issue on system where send is implemented with sendto syscall.
17411 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17412 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17413 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17414 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17415
68448be2
AZ
17416 [BZ #21269]
17417 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17418 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17419 sa_restorer for vDSO case.
17420 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17421
eb1ca47e
ST
174222018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17423
17424 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
17425 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17426 * hurd/hurd/ioctl.h: Include <mach/port.h>
17427 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
17428 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17429 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
17430 (headers): Move mach/param.h to bits/mach/param.h.
17431 * sysdeps/mach/i386/mach/param.h: Move file to ...
17432 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17433 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17434 of <mach/param.h>.
3403cb7d
ST
17435 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17436 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17437 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
17438 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17439 trivial, for C++ conformity.
44c6376c 17440 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
17441 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17442 Process mig output through $(migheadersed).
17443 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
17444 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17445 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17446 headers.
ba89615d
ST
17447 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17448 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17449 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17450 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17451 <bits/types/sigset_t.h>.
17452 [!defined __USE_GNU]: Do not #error out.
17453 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17454 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17455 Include <stddef.h> and <bits/types/sigset_t.h>
17456 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17457 instead of sighandler_t.
974393ea
ST
17458 * stdlib/errno.h (error_t): Move definition to...
17459 * bits/types/error_t.h: ... new header.
17460 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17461 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17462 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17463 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17464 * hurd/hurd.h: Include <bits/types/error_t.h>
17465 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17466 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17467 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17468 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17469 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17470 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 17471 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 17472
eaf6753f
AS
174732018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17474
17475 [BZ #22918]
17476 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17477 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17478 * nscd/gai.c (__nss_hosts_database): Readd definition.
17479 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17480 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17481 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17482
4dc23804
JM
174832018-03-02 Joseph Myers <joseph@codesourcery.com>
17484
17485 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17486 (ifunc_one): Likewise.
17487
1c81d55f
DD
174882018-03-01 DJ Delorie <dj@delorie.com>
17489
17490 [BZ #22342]
17491 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17492 key value.
17493
b717c14f
MR
174942018-03-01 Maciej W. Rozycki <macro@mips.com>
17495
17496 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17497 `match_pid' parameter.
17498 (td_ta_thr_iter): Update accordingly.
17499
1efe1358
FW
175002018-03-01 Florian Weimer <fweimer@redhat.com>
17501
17502 * nptl/Makefile (install-lib-ldscripts): Remove.
17503 (install): Remove rule.
17504 ($(inst_libdir)/libpthread.so): Likewise.
17505
a527f09c
MF
175062018-03-01 Mike FABIAN <mfabian@redhat.com>
17507
17508 [BZ #22896]
17509 * localedata/locales/an_ES: update month and day names,
17510 improve d_fmt, improve postal_fmt, add country_post,
17511 add country_isbn
17512
35d660b0
MF
175132018-03-01 Mike FABIAN <mfabian@redhat.com>
17514
17515 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17516 Ukrainian instead of Bulgarian.
17517
1a2f44a8
FW
175182018-03-01 Florian Weimer <fweimer@redhat.com>
17519
17520 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17521 reference.
17522
bd60ce86
FW
175232018-03-01 Florian Weimer <fweimer@redhat.com>
17524
17525 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17526 * nptl/Makefile (routines): Add pthread_atfork.
17527 (static-only-routines): Set to pthread_atfork.
17528 (libpthread-routines): Remove pthread_atfork.
17529 (libpthread-static-only-routines): Remove.
17530 (install): Update comment.
17531 (libpthread.so): Do not install libpthread_nonshared.a.
17532 (tests): Do not link with libpthread_nonshared.a.
17533 (generated): Remove libpthread_nonshared.a.
17534 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17535 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17536 with libpthread_nonshared.a.
17537
000f290f
JM
175382018-02-28 Joseph Myers <joseph@codesourcery.com>
17539
e2bcf6a8
JM
17540 [BZ #22902]
17541 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17542 (libc_feholdexcept_setroundf128): New macro.
17543 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17544
000f290f
JM
17545 [BZ #15105]
17546 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17547 libc_hidden_def.
17548 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17549 * include/inttypes.h: New file.
17550
02f2fead
JM
175512018-02-27 Joseph Myers <joseph@codesourcery.com>
17552
17553 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17554 -Os in two more places.
17555
874c56d7
MF
175562018-02-27 Mike FABIAN <mfabian@redhat.com>
17557
17558 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17559 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17560 be sorted correctly at the moment because of a bug.
17561
15973854
MF
175622018-02-27 Mike FABIAN <mfabian@redhat.com>
17563
17564 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17565 treat ñ as a primary different character, sync the collation
17566 for Spanish with CLDR.
17567 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17568 * localedata/Makefile: Add new test files.
17569 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17570 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17571 collation order.
17572 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17573 * localedata/am_ET.UTF-8.in: New test file.
17574 * localedata/az_AZ.UTF-8.in: Likewise.
17575 * localedata/be_BY.UTF-8.in: Likewise.
17576 * localedata/ber_DZ.UTF-8.in: Likewise.
17577 * localedata/ber_MA.UTF-8.in: Likewise.
17578 * localedata/bg_BG.UTF-8.in: Likewise.
17579 * localedata/br_FR.UTF-8.in: Likewise.
17580 * localedata/cmn_TW.UTF-8.in: Likewise.
17581 * localedata/crh_UA.UTF-8.in: Likewise.
17582 * localedata/csb_PL.UTF-8.in: Likewise.
17583 * localedata/cv_RU.UTF-8.in: Likewise.
17584 * localedata/cy_GB.UTF-8.in: Likewise.
17585 * localedata/dz_BT.UTF-8.in: Likewise.
17586 * localedata/eo.UTF-8.in: Likewise.
17587 * localedata/es_ES.UTF-8.in: Likewise.
17588 * localedata/fa_IR.UTF-8.in: Likewise.
17589 * localedata/fi_FI.UTF-8.in: Likewise.
17590 * localedata/fil_PH.UTF-8.in: Likewise.
17591 * localedata/fur_IT.UTF-8.in: Likewise.
17592 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17593 * localedata/ha_NG.UTF-8.in: Likewise.
17594 * localedata/ig_NG.UTF-8.in: Likewise.
17595 * localedata/ik_CA.UTF-8.in: Likewise.
17596 * localedata/kk_KZ.UTF-8.in: Likewise.
17597 * localedata/ku_TR.UTF-8.in: Likewise.
17598 * localedata/ky_KG.UTF-8.in: Likewise.
17599 * localedata/ln_CD.UTF-8.in: Likewise.
17600 * localedata/mi_NZ.UTF-8.in: Likewise.
17601 * localedata/ml_IN.UTF-8.in: Likewise.
17602 * localedata/mn_MN.UTF-8.in: Likewise.
17603 * localedata/mr_IN.UTF-8.in: Likewise.
17604 * localedata/mt_MT.UTF-8.in: Likewise.
17605 * localedata/nb_NO.UTF-8.in: Likewise.
17606 * localedata/om_KE.UTF-8.in: Likewise.
17607 * localedata/os_RU.UTF-8.in: Likewise.
17608 * localedata/ps_AF.UTF-8.in: Likewise.
17609 * localedata/ro_RO.UTF-8.in: Likewise.
17610 * localedata/ru_RU.UTF-8.in: Likewise.
17611 * localedata/sc_IT.UTF-8.in: Likewise.
17612 * localedata/se_NO.UTF-8.in: Likewise.
17613 * localedata/sq_AL.UTF-8.in: Likewise.
17614 * localedata/sv_SE.UTF-8.in: Likewise.
17615 * localedata/szl_PL.UTF-8.in: Likewise.
17616 * localedata/tg_TJ.UTF-8.in: Likewise.
17617 * localedata/tk_TM.UTF-8.in: Likewise.
17618 * localedata/tt_RU.UTF-8.in: Likewise.
17619 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17620 * localedata/ug_CN.UTF-8.in: Likewise.
17621 * localedata/uz_UZ.UTF-8.in: Likewise.
17622 * localedata/vi_VN.UTF-8.in: Likewise.
17623 * localedata/yi_US.UTF-8.in: Likewise.
17624 * localedata/yo_NG.UTF-8.in: Likewise.
17625 * localedata/zh_CN.UTF-8.in: Likewise.
17626 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17627 file and fix bugs in the collation.
17628 * localedata/locales/az_AZ: Likewise.
17629 * localedata/locales/be_BY: Likewise.
17630 * localedata/locales/ber_DZ: Likewise.
17631 * localedata/locales/ber_MA: Likewise.
17632 * localedata/locales/bg_BG: Likewise.
17633 * localedata/locales/br_FR: Likewise.
17634 * localedata/locales/br_FR@euro: Likewise.
17635 * localedata/locales/ca_ES: Likewise.
17636 * localedata/locales/cns11643_stroke: Likewise.
17637 * localedata/locales/crh_UA: Likewise.
17638 * localedata/locales/cs_CZ: Likewise.
17639 * localedata/locales/csb_PL: Likewise.
17640 * localedata/locales/cv_RU: Likewise.
17641 * localedata/locales/cy_GB: Likewise.
17642 * localedata/locales/da_DK: Likewise.
17643 * localedata/locales/dz_BT: Likewise.
17644 * localedata/locales/en_CA: Likewise.
17645 * localedata/locales/eo: Likewise.
17646 * localedata/locales/es_CU: Likewise.
17647 * localedata/locales/es_EC: Likewise.
17648 * localedata/locales/es_ES: Likewise.
17649 * localedata/locales/es_US: Likewise.
17650 * localedata/locales/et_EE: Likewise.
17651 * localedata/locales/fa_IR: Likewise.
17652 * localedata/locales/fi_FI: Likewise.
17653 * localedata/locales/fil_PH: Likewise.
17654 * localedata/locales/fur_IT: Likewise.
17655 * localedata/locales/gez_ER@abegede: Likewise.
17656 * localedata/locales/ha_NG: Likewise.
17657 * localedata/locales/hr_HR: Likewise.
17658 * localedata/locales/hsb_DE: Likewise.
17659 * localedata/locales/hu_HU: Likewise.
17660 * localedata/locales/ig_NG: Likewise.
17661 * localedata/locales/ik_CA: Likewise.
17662 * localedata/locales/is_IS: Likewise.
17663 * localedata/locales/iso14651_t1_pinyin: Likewise.
17664 * localedata/locales/kk_KZ: Likewise.
17665 * localedata/locales/ku_TR: Likewise.
17666 * localedata/locales/ky_KG: Likewise.
17667 * localedata/locales/ln_CD: Likewise.
17668 * localedata/locales/lt_LT: Likewise.
17669 * localedata/locales/lv_LV: Likewise.
17670 * localedata/locales/mi_NZ: Likewise.
17671 * localedata/locales/ml_IN: Likewise.
17672 * localedata/locales/mn_MN: Likewise.
17673 * localedata/locales/mr_IN: Likewise.
17674 * localedata/locales/mt_MT: Likewise.
17675 * localedata/locales/nb_NO: Likewise.
17676 * localedata/locales/om_KE: Likewise.
17677 * localedata/locales/os_RU: Likewise.
17678 * localedata/locales/pl_PL: Likewise.
17679 * localedata/locales/ps_AF: Likewise.
17680 * localedata/locales/ro_RO: Likewise.
17681 * localedata/locales/ru_RU: Likewise.
17682 * localedata/locales/ru_UA: Likewise.
17683 * localedata/locales/sc_IT: Likewise.
17684 * localedata/locales/se_NO: Likewise.
17685 * localedata/locales/si_LK: Likewise.
17686 * localedata/locales/sq_AL: Likewise.
17687 * localedata/locales/sv_FI: Likewise.
17688 * localedata/locales/sv_FI@euro: Likewise.
17689 * localedata/locales/sv_SE: Likewise.
17690 * localedata/locales/szl_PL: Likewise.
17691 * localedata/locales/tg_TJ: Likewise.
17692 * localedata/locales/ti_ER: Likewise.
17693 * localedata/locales/tk_TM: Likewise.
17694 * localedata/locales/tl_PH: Likewise.
17695 * localedata/locales/tr_TR: Likewise.
17696 * localedata/locales/tt_RU: Likewise.
17697 * localedata/locales/tt_RU@iqtelif: Likewise.
17698 * localedata/locales/ug_CN: Likewise.
17699 * localedata/locales/uk_UA: Likewise.
17700 * localedata/locales/uz_UZ: Likewise.
17701 * localedata/locales/uz_UZ@cyrillic: Likewise.
17702 * localedata/locales/vi_VN: Likewise.
17703 * localedata/locales/yi_US: Likewise.
17704 * localedata/locales/yo_NG: Likewise.
17705
ce6636b0
MF
177062018-02-27 Mike FABIAN <mfabian@redhat.com>
17707
17708 * gen-locales.mk: Make test files which contain @ modifiers in their
17709 name work.
17710 * localedata/gen-locale.sh: Likewise.
17711
ac3a3b4b
MF
177122018-02-27 Mike FABIAN <mfabian@redhat.com>
17713
17714 * posix/tst-fnmatch.input: Fix results for range expressions
17715 for non C locales.
17716 * posix/tst-regexloc.c: Do not use a range expression for
17717 de_DE.ISO-8859-1 locale.
17718
770cbe14
MF
177192018-02-27 Mike FABIAN <mfabian@redhat.com>
17720
17721 * posix/bug-regex5.c: Fix test case because with the new
17722 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17723 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17724 file.
17725
0fc355d9
MF
177262018-02-27 Mike FABIAN <mfabian@redhat.com>
17727
17728 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17729 downloaded from ISO, the collation order of @-. and space has changed.
17730 Therefore, this test file needed to be adapted.
17731 * localedata/fr_CA.UTF-8.in: Likewise.
17732 * localedata/fr_FR.UTF-8.in: Likewise.
17733 * localedata/uk_UA.UTF-8.in: Likewise.
17734
43f3893f
MF
177352018-02-27 Mike FABIAN <mfabian@redhat.com>
17736
17737 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17738 order of ȥ in the new iso14651_t1_common file.
17739 * localedata/pl_PL.UTF-8.in: Likewise.
17740
df74ef78
MF
177412018-02-27 Mike FABIAN <mfabian@redhat.com>
17742
17743 * localedata/locales/iso14651_t1_common: Add sections for various
17744 scripts to the iso14651_t1_common file.
17745
d5adfbad
MF
177462018-02-27 Mike FABIAN <mfabian@redhat.com>
17747
17748 * localedata/locales/iso14651_t1_common: Use the code point of a
17749 character in the fourth collation level instead of IGNORE for all
17750 entries which have IGNORE on all 4 levels.
17751
5f5a9610
MF
177522018-02-27 Mike FABIAN <mfabian@redhat.com>
17753
17754 * localedata/locales/iso14651_t1_common: Add some convenient collation
17755 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17756 rules similar to those in CLDR.
17757
8a97e900
MF
177582018-02-27 Mike FABIAN <mfabian@redhat.com>
17759
17760 * localedata/locales/iso14651_t1_common: The new version of this
17761 file downloaded from ISO contained several syntax errors which
17762 are fixed by this patch.
17763
bbdd2fba
MF
177642018-02-27 Mike FABIAN <mfabian@redhat.com>
17765
17766 * localedata/locales/iso14651_t1_common: replace all <U.....>
17767 with <U000.....> because glibc understands only 4 digit or 8 digit
17768
1569e551
MF
177692018-02-27 Mike FABIAN <mfabian@redhat.com>
17770
17771 * localedata/locales/iso14651_t1_common: Necessary changes
17772 to make the file downloaded from ISO usable by glibc.
17773
9479b6d5
MF
177742018-02-27 Mike FABIAN <mfabian@redhat.com>
17775
17776 [BZ #14095]
17777 * localedata/locales/iso14651_t1_common: Update file to
17778 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17779
03b540b3
ST
177802018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17781
17782 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17783 of <nptl/pthreadP.h>
17784 (thread_attr_compare): Move function to...
eb937a52 17785 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 17786 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 17787 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 17788
20602c72
JM
177892018-02-26 Joseph Myers <joseph@codesourcery.com>
17790
f54d8f73
JM
17791 * string/strcoll_l.c: Include <libc-diag.h>.
17792 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17793 declarations of seq1 and seq2.
17794
20602c72
JM
17795 [BZ #15105]
17796 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17797 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17798
f5f473a9
DL
177992018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17800
17801 [BZ #22433]
17802 [BZ #22807]
17803 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17804 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17805 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17806 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17807 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17808 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17809
398c6fdd
TMQMF
178102018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17811
17812 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17813 macros used in __ptrace_request.
17814
f5d1f629
L
178152018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17816
17817 [BZ #22792]
17818 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17819 to $(CC).
17820 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17821 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17822 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17823 <tcb-offsets.h>.
17824
54412d20
JM
178252018-02-23 Joseph Myers <joseph@codesourcery.com>
17826
17827 [BZ #15105]
17828 * ctype/ctype.c (tolower): Use libc_hidden_def.
17829 (toupper): Likewise.
17830 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17831 [!_ISOMAC] (toupper): Likewise.
17832
81be4b5e
MF
178332018-02-23 Mike FABIAN <mfabian@redhat.com>
17834
17835 * localedata/Makefile: Remove --quiet argument when
17836 installing locales
17837
9d5cfd8e
MF
178382018-02-23 Mike FABIAN <mfabian@redhat.com>
17839
17840 [BZ #17438]
17841 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17842 in d_fmt.
17843 * localedata/locales/pt_PT (LC_TIME): likewise
17844
6c7269f3
MF
178452018-02-23 Mike FABIAN <mfabian@redhat.com>
17846
17847 [BZ #22646]
17848 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17849 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17850 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17851
92aabad9
AZ
178522018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17853
4cdc25a4
AZ
17854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17855
27761a10
AZ
17856 * nptl/Makefile (routines): Remove unregister-atfork.
17857 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17858 (fork_handler_alloc): Remove function.
17859 (fork_handlers, fork_handler_init): New variables.
17860 (__fork_lock): Rename to atfork_lock.
17861 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17862 to use a dynamic array to add/remove atfork handlers.
17863 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17864 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17865 Remove declaration.
17866 (fork_handler): Remove next, refcntr, and need_signal member.
17867 (__run_fork_handler_type): New enum.
17868 (__run_fork_handlers): New prototype.
17869 * nptl/register-atfork.c: Remove file.
17870 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17871
92aabad9
AZ
17872 * sysdeps/nptl/nptl-signals.h: Move to ...
17873 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17874 comments.
17875 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17876 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17877 unnecessary check for SIGTIMER.
17878 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17879 remove unnecessary removal of SIGTIMER.
17880 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17881 include-signals.h rename.
17882 * nptl/pthreadP.h: Likewise.
17883 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17884 __is_internal_signal instead of __nptl_is_internal_signal.
17885
6b5c8607 178862018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 17887
7e04eb29 17888 [BZ # 22884]
fdcc6253
AW
17889 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17890 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17891 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17892 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17893
8090720a
DD
178942018-02-22 DJ Delorie <dj@delorie.com>
17895
17896 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17897
6ca24c43
SP
178982018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17899
17900 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17901 do_misaligned, not misaligned8.
17902
e9537ddd
SE
179032018-02-22 Steve Ellcey <sellcey@cavium.com>
17904
17905 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17906 Add memcpy_thunderx2.
17907 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17908 Increment to 4.
17909 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17910 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17911 and IS_THUNDERX2PA checks.
17912 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17913 Use macro to set name appropriately.
17914 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17915 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17916 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17917 New macro.
17918 (IS_THUNDERX2): New macro.
17919
6e336476
SL
179202018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17921
17922 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17923
34957904
ZW
179242018-02-21 Zack Weinberg <zackw@panix.com>
17925
30bfee26
ZW
17926 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17927 Define here, unconditionally.
17928 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17929 * libio/libioP.h: Remove #if 0 blocks.
17930 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17931 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17932 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17933
17934 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17935 Assume weak_alias is always defined.
17936
17937 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17938 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17939 Remove #if 0 and #ifdef TODO blocks.
17940 Assume text_set_element is always defined.
17941
17942 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17943 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17944 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17945
df6c012b
ZW
17946 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17947 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17948 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17949 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17950 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17951 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17952 Reformat bit flags for _flags field to make occupancy clearer.
17953 Update commentary.
17954 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17955 Keep definitions consistent with those in libio/libio.h.
17956
17957 * libio/libio.h (_IO_file_flags): Remove macro.
17958 All uses changed to _flags.
17959
177aad3f
ZW
17960 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17961 (__HAVE_COLUMN, _IO_BE): Don't define.
17962 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17963 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17964 * libio/libioP.h (EOF): Don't define.
17965 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17966 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17967 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17968 testing _IO_UNIFIED_JUMPTABLES.
17969
9964a145
ZW
17970 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17971 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17972 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17973 (_IO_size_t): Delete; all uses changed to size_t.
17974 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17975 (_IO_off_t): Delete; all uses changed to off_t.
17976 (_IO_off64_t): Delete; all uses changed to off64_t.
17977 (_IO_pid_t): Delete; all uses changed to pid_t.
17978 (_IO_uid_t): Delete; all uses changed to uid_t.
17979 (_IO_wint_t): Delete; all uses changed to wint_t.
17980 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17981 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17982 (_IO_cookie_io_functions_t): Delete; all uses changed to
17983 cookie_io_functions_t.
17984 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17985 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17986 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17987 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17988
17989 * libio/iofopncook.c: Remove unnecessary forward declarations.
17990 * libio/iolibio.h: Correct outdated commentary.
17991 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17992 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17993 Remove unnecessary casts.
17994 * stdio-common/getline.c: Use _IO_getdelim directly.
17995 Don't redefine ssize_t.
17996 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17997 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17998 Remove outdated comments.
17999 * stdio-common/vfscanf.c: Don't redefine va_list.
18000
34957904
ZW
18001 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18002 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18003 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18004 which are always true, and __cplusplus, which is always false.
18005
30ac923d
JM
180062018-02-21 Joseph Myers <joseph@codesourcery.com>
18007
039c721a
JM
18008 [BZ #15105]
18009 [BZ #19463]
18010 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18011 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18012 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18013 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18014 libc_hidden_proto.
18015 [!_ISOMAC] (putc_unlocked): Likewise.
18016 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18017 define inline if [__USE_EXTERN_INLINES].
18018 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18019 putc_unlocked.
18020
30ac923d
JM
18021 [BZ #15105]
18022 [BZ #19463]
18023 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18024 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18025 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18026 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18027 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18028 getc_unlocked.
18029 * time/tzfile.c (__tzfile_read): Likewise.
18030
7ec5f946
MF
180312018-02-21 Mike FABIAN <mfabian@redhat.com>
18032
18033 [BZ #22517]
18034 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18035
0d217f40
RJ
180362018-02-21 Rical Jasan <ricaljasan@pacific.net>
18037
18038 * io/fcntl.h: Fix a typo in a comment.
18039
862b4502
RJ
180402018-02-21 Rical Jasan <ricaljasan@pacific.net>
18041
18042 [BZ #22862]
18043 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18044 define _DEFAULT_SOURCE.
18045 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18046
999a6dab
FW
180472018-02-21 Florian Weimer <fweimer@redhat.com>
18048
18049 [BZ #20890]
18050 * elf/cache.c (save_cache): Call fsync on temporary file before
18051 renaming it.
18052 (save_aux_cache): Call fdatasync on temporary file before renaming
18053 it.
18054
52a01100
FW
180552018-02-21 Florian Weimer <fweimer@redhat.com>
18056
18057 [BZ #22787]
18058 * include/caller.h: Remove file.
18059 * elf/dl-caller.c: Likewise.
18060 * elf/Makefile (dl-routines): Remove dl-caller.
18061 (shared-only-routines): Do not add dl-caller.
18062 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18063 __check_caller.
18064 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18065 member.
18066 (dl_open_worker): Do not call __check_caller.
18067 (_dl_open): Do not set caller_dl_open member.
18068 * elf/rtld.c (_rtld_global_ro): Do not initialize
18069 _dl_check_caller member.
18070 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18071 _dl_check_caller member.
18072 (_dl_check_caller): Remove declaration.
18073 * sysdeps/unix/sysv/linux/dl-execstack.c
18074 (_dl_make_stack_executable): Do not call __check_caller.
18075
b5bf62e4
ST
180762018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18077
18078 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 18079 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 18080
e8d190b9
RJ
180812018-02-20 Rical Jasan <ricaljasan@pacific.net>
18082
18083 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18084 description.
18085
6a3962c4
RJ
180862018-02-20 Rical Jasan <ricaljasan@pacific.net>
18087
da81ae64 18088 [BZ #16335]
6a3962c4
RJ
18089 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18090 of 199606L, 200112L, and 200809L.
18091 (_XOPEN_SOURCE): Document special values of 600 and 700.
18092 (_ISOC11_SOURCE): Document macro.
18093 (_ATFILE_SOURCE): Likewise.
18094 (_FORTIFY_SOURCE): Likewise.
18095
ec481ad8
JM
180962018-02-19 Joseph Myers <joseph@codesourcery.com>
18097
18098 [BZ #15105]
18099 [BZ #19463]
18100 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18101 and define as weak alias of __ferror_unlocked. Use
18102 libc_hidden_weak.
18103 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18104 libc_hidden_proto.
18105 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18106 function if [__USE_EXTERN_INLINES].
18107 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18108 ferror_unlocked.
18109
7d15ef84
RJ
181102018-02-19 Rical Jasan <ricaljasan@pacific.net>
18111
18112 [BZ #6889]
18113 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18114
f8d79582
AJ
181152018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18116
18117 [BZ #22818]
18118 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18119 the GLIBC_2.1 version.
18120
56456a2a
AJ
181212018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18122
18123 [BZ #21508]
18124 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18125 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18126 intl/tst-gettext-de.po from po/de.po by removing the
18127 POT-Creation-Date line.
18128 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18129 ../po/de.po.
18130 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18131 ../po/de.po.
18132
13768813
ST
181332018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18134
18135 * mach/Makefile (headers): Add mach/param.h.
18136 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18137 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
18138 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18139 (__ptsname_r): Move implementation to...
18140 (__ptsname_internal): ... new function. Add filling the STP
18141 structure.
13768813 18142
6aca1b61
JDA
181432018-02-17 John David Anglin <danglin@gcc.gnu.org>
18144
18145 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18146 idouble to 1 ULP.
18147
16efad51
RJ
181482018-02-16 Rical Jasan <ricaljasan@pacific.net>
18149
18150 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18151 syntax.
18152
87245073
SL
181532018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18154
18155 * nptl/Makefile (tst-mutex8-ENV): Delete.
18156 * nptl/tst-mutex8.c (check_type):
18157 Add runtime check if mutex will be elided.
18158
7fc03cf3
JM
181592018-02-15 Joseph Myers <joseph@codesourcery.com>
18160
db9881ec
JM
18161 [BZ #20980]
18162 [BZ #21234]
18163 * manual/install.texi (Configuring and compiling): Describe
18164 passing CC and CFLAGS on configure command line, not as
18165 environment variables. Use @code markup on those variables.
18166 Specify what options go in CC and what go in CFLAGS. Note the
18167 requirement to compile with optimization.
18168 * INSTALL: Regenerated.
18169
3785b31c
JM
18170 [BZ #18124]
18171 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18172 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18173 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18174 __sigprocmask instead of sigprocmask.
18175 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18176 Likewise.
18177 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18178 __sigsetjmp and sigprocmask.
18179
055ac2a7
JM
18180 [BZ #15105]
18181 * include/argz.h (argz_next): Use libc_hidden_proto.
18182 (__argz_next): Likewise.
18183 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18184 (argz_next): Use libc_hidden_weak.
18185
e4452a2d
JM
18186 [BZ #15105]
18187 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18188 libc_hidden_proto.
18189 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18190 libc_hidden_def.
18191
499b3153
JM
18192 [BZ #15105]
18193 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18194 libc_hidden_proto.
18195 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18196
7fc03cf3
JM
18197 [BZ #15105]
18198 [BZ #19463]
18199 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18200 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18201 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18202 (__feof_unlocked): New declaration, and inline function if
18203 [__USE_EXTERN_INLINES].
18204 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18205 instead of feof_unlocked.
18206 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18207 * nss/nsswitch.c (nss_parse_file): Likewise.
18208 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18209 Likewise.
18210 * time/getdate.c (__getdate_r): Likewise.
18211 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18212 Define as macro to call __feof_unlocked.
18213
0c8a67a5
WD
182142018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18215
18216 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18217
610ee1fc
WD
182182018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18219
18220 * math/Makefile: Remove mpexp.c and mplog.c
18221 * sysdeps/i386/fpu/mpexp.c: Delete file.
18222 * sysdeps/i386/fpu/mplog.c: Likewise.
18223 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18224 * sysdeps/ia64/fpu/mplog.c: Likewise.
18225 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18226 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18227 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18228 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18229 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18230 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18231 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18232 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18233 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18234 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18235 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18236 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18237 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18238 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18239 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18240 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18241
8e7196c8
SL
182422018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18243
18244 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18245
4f55ad0b
AZ
182462018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18247
18248 * sysdeps/sh/libm-test-ulps: Update.
18249
261a851c
TMQMF
182502018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18251
18252 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18253 idouble to 1 ULP.
18254
e16deca6
ZW
182552018-02-12 Zack Weinberg <zackw@panix.com>
18256
18257 [BZ #19239]
18258 * posix/sys/types.h: Don't include sys/sysmacros.h.
18259 * misc/sys/sysmacros.h: Remove the conditional deprecation
18260 warnings for the macros defined by this header.
18261
de800d83
SN
182622018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18263
18264 * manual/probes.texi: Remove slowexp probes.
18265 * math/Makefile: Remove slowexp.
18266 * sysdeps/generic/math_private.h (__slowexp): Remove.
18267 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18268 document error bounds.
18269 * sysdeps/i386/fpu/slowexp.c: Remove.
18270 * sysdeps/ia64/fpu/slowexp.c: Remove.
18271 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18272 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18273 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18274 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18275 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18276 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18277 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18278 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18279 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18280 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18281 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18282
c3d466cb
WD
182832018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18284
18285 [BZ #13932]
18286 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18287 * benchtests/pow-inputs: Update comment for slow path cases.
18288 * manual/probes.texi (slowpow_p10): Delete removed probe.
18289 (slowpow_p10): Likewise.
18290 * math/Makefile: Remove halfulp.c and slowpow.c.
18291 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18292 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18293 (__halfulp): Remove.
18294 (__slowpow): Remove.
18295 * sysdeps/i386/fpu/halfulp.c: Delete file.
18296 * sysdeps/i386/fpu/slowpow.c: Likewise.
18297 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18298 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18299 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18300 improve comments and add error analysis.
18301 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18302 (power1): Remove function:
18303 (log1): Remove error argument, add error analysis.
18304 (my_log2): Remove function.
18305 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18306 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18307 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18308 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18309 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18310 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18311 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18312 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18313 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18314 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18315 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18316 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18317 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18318 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18319
7bb087bd
ST
183202018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18321
18322 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18323 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18324
2fd4bbaa
DL
183252018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18326
18327 [BZ #22433]
18328 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18329 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18330 and PTRACE_SETHBPREGS.
18331
402ecba4
ZW
183322018-02-10 Zack Weinberg <zackw@panix.com>
18333
18334 [BZ #22830]
18335 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18336 correctly.
18337 * malloc/tst-malloc-stats-cancellation.c: New test case.
18338 * malloc/Makefile: Add new test case.
18339
4f5b921e
WD
183402018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18341
18342 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18343
a85b70db
JM
183442018-02-10 Joseph Myers <joseph@codesourcery.com>
18345
d8742dd8
JM
18346 * math/Makefile (libm-narrow-fns): Add add.
18347 (libm-test-funcs-narrow): Likewise.
18348 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18349 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18350 * math/gen-auto-libm-tests.c (test_functions): Add add.
18351 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18352 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18353 (NARROW_ADD_TRIVIAL): Likewise.
18354 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18355 macro.
18356 (__daddl): Likewise.
18357 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18358 dadd.
18359 (CFLAGS-nldbl-dadd.c): New variable.
18360 (CFLAGS-nldbl-fadd.c): Likewise.
18361 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18362 __nldbl_daddl.
18363 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18364 prototype.
18365 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18366 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18367 * math/auto-libm-test-in: Add tests of add.
18368 * math/auto-libm-test-out-narrow-add: New generated file.
18369 * math/libm-test-narrow-add.inc: New file.
18370 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18371 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18372 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18373 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18374 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18375 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18376 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18377 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18378 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18379 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18380 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18381 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18382 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18383 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18384 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18385 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18386 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18387 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18389 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18390 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18391 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18392 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18393 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18394 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18395 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18396 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18397 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18398 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18399 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18400 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18401 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18406 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18407 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18408 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18409 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18410 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18411 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18412 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18413 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18414 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18415 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18416
a85b70db
JM
18417 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18418 (f128-pairs): New variable.
18419 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18420 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18421 to CFLAGS.
18422 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18423 Also make tests add $(f128-loader-link) to gnulib-tests.
18424
6a1ff640
DD
184252018-02-09 DJ Delorie <dj@redhat.com>
18426
18427 [BZ #22827]
18428 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18429 64-bit ELF type for 64-bit ELF objects.
18430
bfd47587
JM
184312018-02-09 Joseph Myers <joseph@codesourcery.com>
18432
31958338
JM
18433 * math/libm-test-driver.c (snan_tests_arg): New variable.
18434 * math/libm-test-support.h (snan_tests_arg): New declaration.
18435 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18436
8e554659
JM
18437 * math/Makefile (test-type-pairs): New variable.
18438 (test-type-pairs-f64xf128-yes): Likewise.
18439 (tests): Add test-narrow-macros.
18440 (libm-test-funcs-narrow): New variable.
18441 (libm-test-c-narrow): Likewise.
18442 (generated): Add $(libm-test-c-narrow).
18443 (libm-tests-base-narrow): New variable.
18444 (libm-tests-narrow): Likewise.
18445 (libm-tests): Add $(libm-tests-narrow).
18446 (libm-tests-for-type): Handle $(libm-tests-narrow).
18447 (libm-test-c-narrow-obj): New variable.
18448 ($(libm-test-c-narrow-obj)): New rule.
18449 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18450 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18451 $(o-iterator) to set dependencies and CFLAGS.
18452 * math/gen-auto-libm-tests.c: Document use for narrowing
18453 functions.
18454 (output_for_one_input_case): Take argument NARROW.
18455 (generate_output): Likewise. Update call to
18456 output_for_one_input_case.
18457 (main): Take --narrow option. Update call to generate_output.
18458 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18459 (apply_lit): Update call to _apply_lit.
18460 (apply_arglit): New function.
18461 (parse_args): Handle "a" arguments.
18462 (parse_auto_input): Handle format names using ":".
18463 * math/README.libm-test: Document "a" parameter type.
18464 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18465 (ARG_TYPE_TRUE_MIN): Likewise.
18466 (ARG_TYPE_MAX): Likwise.
18467 (ARG_MIN_EXP): Likewise.
18468 (ARG_MAX_EXP): Likewise.
18469 (ARG_MANT_DIG): Likewise.
18470 (TEST_COND_arg_ibm128): Likewise.
18471 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18472 (TEST_COND_arg_fmt): New macro.
18473 (init_max_error): Update prototype.
18474 * math/libm-test-support.c (test_ibm128): New variable.
18475 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18476 instead of using [TEST_COND_ibm128] conditional.
18477 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18478 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18479 [TEST_NARROW] (TEST_MSG): New definition.
18480 (arg_plus_zero): New macro.
18481 (arg_minus_zero): Likewise.
18482 (arg_plus_infty): Likewise.
18483 (arg_minus_infty): Likewise.
18484 (arg_qnan_value_pl): Likewise.
18485 (arg_qnan_value): Likewise.
18486 (arg_snan_value_pl): Likewise.
18487 (arg_snan_value): Likewise.
18488 (arg_max_value): Likewise.
18489 (arg_min_value): Likewise.
18490 (arg_min_subnorm_value): Likewise.
18491 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18492 (RUN_TEST_LOOP_aa_f): New macro.
18493 (TEST_SUFF): New macro.
18494 (TEST_SUFF_STR): Likewise.
18495 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18496 (TEST_COND_any_ibm128): New macro.
18497 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18498 this_func. Update call to init_max_error.
18499 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18500 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18501 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18502 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18503 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18504 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18505 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18506 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18507 * math/test-math-vector.h (TEST_NARROW): Likewise.
18508 * math/test-arg-double.h: New file.
18509 * math/test-arg-float128.h: Likewise.
18510 * math/test-arg-float32x.h: Likewise.
18511 * math/test-arg-float64.h: Likewise.
18512 * math/test-arg-float64x.h: Likewise.
18513 * math/test-arg-ldouble.h: Likewise.
18514 * math/test-math-narrow.h: Likewise.
18515 * math/test-narrow-macros.c: Likewise.
18516 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18517 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18518 test-narrow-macros-ldbl-64.
18519 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18520
63716ab2
JM
18521 * math/bits/mathcalls-narrow.h: New file.
18522 * include/bits/mathcalls-narrow.h: Likewise.
18523 * math/math-narrow.h: Likewise.
18524 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18525 (__MATHCALL_NARROW_ARGS_2): Likewise.
18526 (__MATHCALL_NARROW_ARGS_3): Likewise.
18527 (__MATHCALL_NARROW_NORMAL): Likewise.
18528 (__MATHCALL_NARROW_REDIR): Likewise.
18529 (__MATHCALL_NARROW): Likewise.
18530 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18531 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18532 defined.
18533 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18534 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18535 (libm-narrow-fns): New variable.
18536 (libm-narrow-types-basic): Likewise.
18537 (libm-narrow-types-ldouble-yes): Likewise.
18538 (libm-narrow-types-float128-yes): Likewise.
18539 (libm-narrow-types-float128-alias-yes): Likewise.
18540 (libm-narrow-types): Likewise.
18541 (libm-routines): Add narrowing functions.
18542 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18543 (libc_feholdexcept_setroundf128): New macro.
18544 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18545 * sysdeps/ieee754/float128/float128_private.h: Include
18546 <math/math-narrow.h>.
18547 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18548 Undefine and redefine.
18549 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18550 (libm_alias_float_ldouble): Undefine and redefine.
18551 (libm_alias_double_ldouble): Likewise.
18552
bfd47587
JM
18553 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18554
3f8d9d58
WD
185552018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18556
18557 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18558 FPCR/FPSR.
18559
1f6676d7
RJ
185602018-02-09 Rical Jasan <ricaljasan@pacific.net>
18561
18562 * manual/creature.texi: Convert references to gcc.info to gcc.
18563 * manual/stdio.texi: Likewise.
18564 * manual/string.texi: Likewise.
18565
d80441dd
JM
185662018-02-07 Joseph Myers <joseph@codesourcery.com>
18567
15081be9
JM
18568 [BZ #17979]
18569 * posix/bits/types.h (__int_least8_t): New typedef.
18570 (__uint_least8_t): Likewise.
18571 (__int_least16_t): Likewise.
18572 (__uint_least16_t): Likewise.
18573 (__int_least32_t): Likewise.
18574 (__uint_least32_t): Likewise.
18575 (__int_least64_t): Likewise.
18576 (__uint_least64_t): Likewise.
18577 * sysdeps/generic/stdint.h (int_least8_t): Define using
18578 __int_least8_t.
18579 (int_least16_t): Define using __int_least16_t.
18580 (int_least32_t): Define using __int_least32_t.
18581 (int_least64_t): Define using __int_least64_t.
18582 (uint_least8_t): Define using __uint_least8_t.
18583 (uint_least16_t): Define using __uint_least16_t.
18584 (uint_least32_t): Define using __uint_least32_t.
18585 (uint_least64_t): Define using __uint_least64_t.
18586 * wcsmbs/uchar.h: Include <bits/types.h>.
18587 (char16_t): Define using __uint_least16_t conditional only on
18588 [!__USE_ISOCXX11].
18589 (char32_t): Define using __uint_least32_t conditional only on
18590 [!__USE_ISOCXX11].
18591 * wcsmbs/test-char-types.c: New file.
18592 * wcsmbs/Makefile (tests): Add test-char-types.
18593
d80441dd
JM
18594 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18595 version to 4.0.1.
18596
6c6c962a
ZW
185972018-02-07 Zack Weinberg <zackw@panix.com>
18598
63fb8f9a
ZW
18599 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18600 Delete all contents except for definitions of _G_HAVE_MMAP and
18601 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18602 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18603 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18604 change as above.
18605
18606 * libio/libio.h: Don't include bits/_G_config.h here.
18607 Include stddef.h with __need_wchar_t defined. Include
18608 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18609 Define _IO_iconv_t here, directly.
18610 Don't define _IO_HAVE_ST_BLKSIZE.
18611 * libio/libioP.h: Include _G_config.h here. Move include of
18612 shlib-compat.h up with rest of includes. Simplify conditionals
18613 controlling definition of _IO_JUMPS_OFFSET.
18614
18615 * csu/init.c: Remove always-true #if around entire file.
18616 Don't include stdio.h. Set _IO_stdin_used to hardwired
18617 constant 0x20001, and update commentary.
18618 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18619 Replace all uses of _G_va_list with __gnuc_va_list.
18620 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18621 instead of #if _IO_HAVE_ST_BLKSIZE.
18622 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18623 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18624 not #ifdef.
18625
6c6c962a
ZW
18626 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18627 multiple-include guard to match.
18628 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18629 into this file.
18630 Remove preprocessor conditionals that are always true and/or
18631 redundant to other preprocessor conditionals in the same nest.
18632 Include shlib-compat.h unconditionally.
18633 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18634 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18635 defined after including stdio.h.
18636 Use __BEGIN_DECLS/__END_DECLS.
18637
18638 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18639 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18640 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18641
a4fea3f2
ZW
186422018-02-07 Zack Weinberg <zackw@panix.com>
18643
18644 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18645 New single-type headers split from _G_config.h.
18646 * libio/bits/types/cookie_io_functions_t.h
18647 * libio/bits/types/struct_FILE.h
18648 New single-type headers split from libio.h.
18649
18650 * libio/Makefile: Install the above new headers. Don't install
18651 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18652 bits/libio-ldbl.h.
18653 * libio/_G_config.h, libio/libio.h: Delete file.
18654
18655 * libio/bits/libio.h: Remove improper-inclusion guard.
18656 Include stdio.h and don't repeat anything that it does.
18657 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18658 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18659 __io_read_fn as cookie_read_function_t,
18660 __io_write_fn as cookie_write_function_t,
18661 __io_seek_fn as cookie_seek_function_t,
18662 __io_close_fn as cookie_close_function_t,
18663 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18664 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18665 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 18666 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
18667 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18668 and _IO_ferror_unlocked.
18669 Move prototypes of __uflow and __overflow...
18670
18671 * libio/stdio.h: ...here. Don't include bits/libio.h.
18672 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 18673 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
18674 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18675 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18676 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18677 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18678 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18679 __ssize_t, not _IO_ssize_t. Unconditionally define
18680 BUFSIZ as 8192 and EOF as (-1).
18681
18682 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18683 macros from bits/types/struct_FILE.h instead of _IO_* macros
18684 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18685 instead of _IO_ssize_t.
18686 * libio/bits/stdio2.h: Similarly.
18687
18688 * libio/iolibio.h: Add multiple-include guard.
18689 Include bits/libio.h after stdio.h.
18690 * libio/libioP.h: Add multiple-include guard.
18691 Include stdio.h and bits/libio.h before iolibio.h.
18692
6c6c962a 18693 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
18694 * include/bits/types/cookie_io_functions_t.h
18695 * include/bits/types/struct_FILE.h: New wrappers.
18696
18697 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
18698 Get definitions of _G_fpos_t and _G_fpos64_t from
18699 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18700 respectively. Remove improper-inclusion guards.
a4fea3f2 18701
6c6c962a 18702 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 18703 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 18704 libio.h and _G_config.h.
a4fea3f2 18705
ce999220
JM
187062018-02-07 Joseph Myers <joseph@codesourcery.com>
18707
8b4a1182
JM
18708 [BZ #15105]
18709 [BZ #19463]
18710 * include/sys/sysmacros.h [!_ISOMAC]
18711 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18712 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18713 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18714 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18715 libc_hidden_proto.
18716 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18717 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18718 Likewise.
18719 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18720 Undefine and redefine to add use __gnu_dev_ prefix.
18721 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18722 Likewise.
18723 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18724 and define as hidden inline function.
18725 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18726 Likewise.
18727 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18728 Likewise.
18729 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18730 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18731 (gnu_dev_minor): Likewise.
18732 (gnu_dev_makedev): Likewise.
18733 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18734 makedev.
18735 * posix/wordexp.c (exec_comm_child): Likewise.
18736 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18737 instead of minor and __gnu_dev_major instead of major.
18738 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18739 __gnu_dev_major instead of major.
18740 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18741 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18742 instead of gnu_dev_minor.
18743 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18744 (SLAVE_P): Likewise.
18745 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18746 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18747 instead of major.
18748
ce999220
JM
18749 [BZ #21313]
18750 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18751 in another place.
18752 * locale/weightwc.h (findidx): Likewise.
18753
b7c83ca3
WD
187542018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18755
18756 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18757 (slowlog_inexact): Likewise
18758 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18759 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18760
388ff7bd
IG
187612018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18762
18763 [BZ #22797]
18764 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18765 missing second underscore to parameter name.
18766
663e7d78
JM
187672018-02-06 Joseph Myers <joseph@codesourcery.com>
18768
0d40d0ec
JM
18769 [BZ #14508]
18770 [BZ #15512]
18771 [BZ #17082]
18772 [BZ #20530]
18773 * bits/byteswap.h: Update file comment. Do not include
18774 <bits/byteswap-16.h>.
18775 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18776 constant.
18777 (__bswap_16): Define as inline function.
18778 (__bswap_constant_32): Reformat definition.
18779 (__bswap_32): Always define as inline function, not macro, using
18780 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18781 otherwise __bswap_constant_32.
18782 (__bswap_constant_64): Reformat definition. Do not use
18783 __extension__ here.
18784 (__bswap_64): Always define as inline function, not macro. Use
18785 __extension__ on function definition. Use __builtin_bswap64 if
18786 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18787 * string/test-endian-file-scope.c: New file.
18788 * string/test-endian-sign-conversion.c: Likewise.
18789 * string/Makefile (headers): Remove bits/byteswap-16.h.
18790 (tests): Add test-endian-file-scope and
18791 test-endian-sign-conversion.
18792 (CFLAGS-test-endian-sign-conversion.c): New variable.
18793 * bits/byteswap-16.h: Remove file.
18794 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18795 * sysdeps/ia64/bits/byteswap.h: Likewise.
18796 * sysdeps/m68k/bits/byteswap.h: Likewise.
18797 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18798 * sysdeps/s390/bits/byteswap.h: Likewise.
18799 * sysdeps/tile/bits/byteswap.h: Likewise.
18800 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18801 * sysdeps/x86/bits/byteswap.h: Likewise.
18802
383e87c9
JM
18803 [BZ #17721]
18804 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18805 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18806 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18807 199901L] (__restrict): Define to restrict.
18808
d92c2759
JM
18809 [BZ #19667]
18810 * string/testcopy.c: Include <support/support.h>. Do not include
18811 <malloc.h>. Use <support/test-driver.c>.
18812 (main): Rename to do_test. Make static. Use xmalloc instead of
18813 malloc.
18814
625fb764
JM
18815 [BZ #13575]
18816 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18817 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18818 (SSIZE_MAX): Define to INT_MAX.
18819 * posix/test-ssize-max.c: New file.
18820 * posix/Makefile (tests): Add test-ssize-max.
18821
02325d6c
JM
18822 [BZ #19668]
18823 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18824 <support/support.h>. Do not include <malloc.h>.
18825 (query_auxv): Use xmalloc instead of malloc.
18826
663e7d78
JM
18827 [BZ #14553]
18828 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18829 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18830 instead of loff_t.
18831
6b5c8607 188322018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
18833
18834 [BZ #18023]
18835 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18836 Use scratch_buffer instead of extend_alloca.
18837
de6da571
ZW
188382018-02-06 Zack Weinberg <zackw@panix.com>
18839
26c07172
ZW
18840 * libio/stdio.h: Don't define getc or putc as macros.
18841 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18842 not _IO_getc and _IO_putc.
18843
de6da571
ZW
18844 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18845 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18846
92669d6e
JM
188472018-02-06 Joseph Myers <joseph@codesourcery.com>
18848
c2b84df9
JM
18849 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18850 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18851
41376f8c
JM
18852 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18853
d28bf648
JM
18854 [BZ #14890]
18855 * elf/elf.h (NT_PRFPREG): New macro.
18856 (NT_S390_VXRS_LOW): Likewise.
18857 (NT_S390_VXRS_HIGH): Likewise.
18858 (NT_S390_GS_CB): Likewise.
18859 (NT_S390_GS_BC): Likewise.
18860 (NT_S390_RI_CB): Likewise.
18861
e76def72
JM
18862 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18863 (MAP_SYNC): New macro.
18864 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18865 Likewise.
18866 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18867 (MAP_SYNC): Likewise.
18868 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18869 (MAP_SYNC): Likewise.
18870 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18871 (MAP_SYNC): Likewise.
18872 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18873 (MAP_SYNC): Likewise.
18874 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18875 (MAP_SYNC): Likewise.
18876 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18877 (MAP_SYNC): Likewise.
18878 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18879 Likewise.
18880 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18881 Likewise.
18882
92669d6e
JM
18883 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18884 (MAP_SHARED_VALIDATE): New macro.
18885 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18886 (MAP_SHARED_VALIDATE): Likewise.
18887
6a5cac49
L
188882018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18889
18890 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18891 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18892 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18893
b44e0dfb
L
188942018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18895
18896 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18897 (DT_NUM): Updated to 35.
18898
f886c16c
L
188992018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18900
18901 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18902 __builtin_expect with __glibc_likely and __glibc_unlikely.
18903 (elf_machine_rela): Likewise.
18904 (elf_machine_lazy_rel): Likewise.
18905
06fbebff
L
189062018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18907
18908 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 18909 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
18910 (elf_machine_lazy_rel): Likewise.
18911
371b220f
L
189122018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18913
18914 [BZ #22638]
18915 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18916 SHARED.
65805016 18917 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 18918
f649a1b8
AS
189192018-02-05 Andreas Schwab <schwab@suse.de>
18920
18921 [BZ #22761]
18922 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18923 string.
18924
9fdb340e
ST
189252018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18926
18927 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18928 not check against PTHREAD_STACK_MIN.
18929
09e56b9e
SM
189302018-02-02 Sean McKean <smckean83@gmail.com>
18931
18932 [BZ #22735]
18933 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18934
d4b4a00a
FW
189352018-02-02 Florian Weimer <fweimer@redhat.com>
18936
18937 [BZ #22753]
18938 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18939 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18940 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18941 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18942 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18943 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18944 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18945 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18946 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18947 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18948 * misc/tst-preadvwritev2.c (do_test): Call it.
18949 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18950
3dfcbfa1
SP
189512018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18952
84c94d2f
SP
18953 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18954
96e6a716
SP
18955 * benchtests/bench-memcmp.c: Print json instead of plain text.
18956
3dfcbfa1
SP
18957 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18958 every test run.
18959
049375e2
JM
189602018-02-01 Joseph Myers <joseph@codesourcery.com>
18961
39f898c6
JM
18962 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18963 version to 4.15.
18964 (s390_sthyi): New syscall.
18965
6f9a3dd8
JM
18966 * sysdeps/generic/ldbl-classify-compat.h: New file.
18967 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18968 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18969 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18970 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18971 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18972 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18973 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18974 <ldbl-classify-compat.h>.
18975 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18976 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18977 <ldbl-classify-compat.h>.
18978 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18979 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18980 <ldbl-classify-compat.h>.
18981 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18982 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18983 <ldbl-classify-compat.h>.
18984 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18985 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18986 <ldbl-classify-compat.h>.
18987 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18988 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18989 <ldbl-classify-compat.h>.
18990 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18991 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18992 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18993 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18994 * sysdeps/microblaze/math_private.h: Likewise.
18995 * sysdeps/nios2/math_private.h: Likewise.
18996 * sysdeps/sh/math_private.h: Likewise.
18997
eb65a3d5
JM
18998 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18999 * sysdeps/m68k/coldfire/math_private.h: ... here.
19000 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19001 * sysdeps/tile/math_private.h: Likewise.
19002 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19003 Remove macro.
19004 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19005 Likewise.
19006
8a6bb1d0
JM
19007 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19008 Remove macro.
19009 (libc_fetestexcept): Likewise.
19010 (libc_feupdateenv_test): Likewise.
19011 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19012 (libc_fetestexcept): Likewise.
19013 (libc_feupdateenv_test): Likewise.
19014 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19015 (libc_fetestexcept): Likewise.
19016 (libc_feupdateenv_test): Likewise.
19017 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19018 (libc_fetestexcept): Likewise.
19019 (libc_feupdateenv_test): Likewise.
19020
ae1fcb7b
JM
19021 * sysdeps/generic/math_private.h
19022 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19023 New inline function.
19024 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19025 Likewise.
19026
b1c347e2
JM
19027 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19028 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19029 * sysdeps/generic/math_private.h
19030 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19031 inline function.
19032 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19033 Likewise.
19034 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19035 Likewise.
19036 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19037 Likewise.
19038 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19039 Likewise.
19040 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19041 Likewise.
19042 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19043 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19044 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19045 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19046 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19047 (__fegetenv): Likewise.
19048 (fesetenv): Likewise.
19049 (__fesetenv): Likewise.
19050 (feupdateenv): Likewise.
19051 (__feupdateenv): Likewise.
19052 (fegetround): Likewise.
19053 (__fegetround): Likewise.
19054 (fesetround): Likewise.
19055 (__fesetround): Likewise.
19056
d23a4962
JM
19057 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19058 (feraiseexcept): New macro.
19059 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19060 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19061 Remove macro.
19062 (__feraiseexcept): Likewise.
19063 (feclearexcept): Likewise.
19064 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19065 (__feraiseexcept): Likewise.
19066 (feclearexcept): Likewise.
19067 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19068 (__feraiseexcept): Likewise.
19069 (feclearexcept): Likewise.
19070 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19071 (__feraiseexcept): Likewise.
19072 (feclearexcept): Likewise.
19073 (fetestexcept): Likewise.
19074
5f167950
JM
19075 * sysdeps/m68k/coldfire/math-tests.h: New file.
19076
ccc9035a
JM
19077 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19078 * sysdeps/m68k/bits/fenv.h: ... here.
19079 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19080 not define.
19081 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19082 Likewise.
19083 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19084 Likewise.
19085 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19086 Likewise.
19087 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19088 Likewise.
19089 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19090 Define to 0.
19091 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19092 (__FE_UNDEFINED): New enum constant.
19093 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19094 Do not define.
19095 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19096 Likewise.
19097 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19098 Likewise.
19099 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19100 to match generic bits/fenv.h.
19101 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19102 Do not define.
19103
049375e2
JM
19104 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19105 packed on bits.
19106 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19107 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19108 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19109 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19110
f1d73681
CD
191112018-02-01 Carlos O'Donell <carlos@redhat.com>
19112 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19113 Joseph Myers <joseph@codesourcery.com>
19114
19115 [BZ #21314]
19116 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19117 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19118 computation using c.
19119 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19120 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19121 computation using c.
19122
242cbc90
DL
191232018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19124
086ee48e
DL
19125 * version.h (RELEASE): Set to "development".
19126 (VERSION): Set to "2.27.9000".
19127 * NEWS (2.28): New section.
19128
23158b08
DL
19129 * version.h (RELEASE): Set to "stable".
19130 (VERSION): Set to "2.27".
19131 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19132
242cbc90
DL
19133 * NEWS: Add the list of bugs fixed in 2.27.
19134
673e2305
AZ
191352018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19136
19137 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19138 against PTHREAD_STACK_MIN.
19139
ced64e01
DL
191402018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19141
19142 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19143 New entries.
19144 (Rafal Luzynski, Andreas Schwab): Update.
19145
c10c9a5e
RL
191462018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19147
19148 [BZ #10871]
19149 * NEWS: List the languages which actually use the alternative
19150 months feature in this release. Also explain that "alt_mon" and
19151 "ab_alt_mon" are optional.
19152
650ba77a
IM
191532018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19154
19155 [BZ #22765]
19156 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19157
93493119
DL
191582018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19159
19160 * manual/install.texi (Tools for Compilation): Update the newest
19161 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19162 * INSTALL: Regenerated.
19163
363e4519 191642018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
19165
19166 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19167 instead of __builtin_expect.
19168
d7536874
FW
191692018-01-30 Florian Weimer <fweimer@redhat.com>
19170
19171 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19172 data.
19173 * nss/tst-nss-getpwent.c (do_test): Likewise.
19174
9a1b267d
RL
191752018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19176
19177 [BZ #10871]
19178 * localedata/locales/hr_HR (mon): Rename to...
19179 (alt_mon): This.
19180 (mon): Import from CLDR (genitive case).
19181 (d_t_fmt): Update the comment.
19182
9a179328
AS
191832018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19184
19185 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19186 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19187 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19188
e01e0ddc
ST
191892018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19190
19191 * mach/Versions: Fix version when __mach_host_self_ was added.
19192 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19193 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19194 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19195 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19196 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19197 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19198 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19199 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19200 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19201 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19202 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19203 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
19204 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19205 || to respect codestyle.
2aadb705
ST
19206 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19207 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
19208 * malloc/malloc.c: Include <assert.h>.
19209 (assert): Do not define.
19210 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
19211 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19212 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 19213 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 19214 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 19215
521877e1
PD
192162018-01-29 Darius Rad <darius@bluespec.com>
19217
19218 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19219
532cf290
PD
192202018-01-29 Palmer Dabbelt <palmer@sifive.com>
19221
19222 * sysdeps/init_array/crti.S (.section .init_array): Add
19223 PREINIT_FUNCTION when defined.
40ca951b 19224 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 19225 * config.h.in: Regenerate.
ba9e25a6
PD
19226 * manual/platform.texi: Add RISC-V documenation for
19227 __riscv_flush_icache.
c776fa11
PD
19228 * sysdeps/riscv/__longjmp.S: New file.
19229 * sysdeps/riscv/backtrace.c: Likewise.
19230 * sysdeps/riscv/bits/endian.h: Likewise.
19231 * sysdeps/riscv/bits/setjmp.h: Likewise.
19232 * sysdeps/riscv/bits/wordsize.h: Likewise.
19233 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19234 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19235 * sysdeps/riscv/dl-trampoline.S: Likewise.
19236 * sysdeps/riscv/gccframe.h: Likewise.
19237 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19238 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19239 * sysdeps/riscv/machine-gmon.h: Likewise.
19240 * sysdeps/riscv/memusage.h: Likewise.
19241 * sysdeps/riscv/setjmp.S: Likewise.
19242 * sysdeps/riscv/sys/asm.h: Likewise.
19243 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
19244 * sysdeps/riscv/dl-tls.h: New file.
19245 * sysdeps/riscv/libc-tls.c: Likewise.
19246 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19247 * sysdeps/riscv/nptl/tls.h: Likewise.
19248 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
19249 * sysdeps/riscv/bits/fenv.h: New file.
19250 * sysdeps/riscv/e_sqrtl.c: Likewise.
19251 * sysdeps/riscv/fpu_control.h: Likewise.
19252 * sysdeps/riscv/math-tests.h: Likewise.
19253 * sysdeps/riscv/nofpu/Implies: Likewise.
19254 * sysdeps/riscv/sfp-machine.h: Likewise.
19255 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
19256 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19257 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19258 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19259 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19260 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19261 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19262 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19263 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19264 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19265 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19266 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19267 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19268 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19269 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19270 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19271 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19272 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19273 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19274 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19275 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19276 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19277 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19278 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19279 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19280 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19281 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19282 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19283 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19284 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19285 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19286 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19287 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19288 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19289 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19290 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19291 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19292 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19293 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19294 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19295 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19296 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19297 * sysdeps/riscv/rvf/math_private.h: Likewise.
19298 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19299 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19300 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19301 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19302 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19303 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19304 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19305 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19306 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19307 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19308 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19309 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19310 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19311 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19312 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19313 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
19314 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19315 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19316 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19317 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
19318 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19319 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19320 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19321 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19322 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19323 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19324 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19325 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19326 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
19327 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19328 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19329 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19330 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19331 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19332 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19333 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19334 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19335 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19336 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19337 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19338 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19339 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19340 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19341 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19342 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19343 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19344 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19345 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19346 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19347 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19348 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
19349 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19350 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19351 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
19352 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19353 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19354 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19355 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19356 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19357 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19358 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19359 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19360 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19361 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19362 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19363 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19364 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19365 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
19366 * sysdeps/riscv/Implies: New file.
19367 * sysdeps/riscv/Makefile: Likewise.
19368 * sysdeps/riscv/configure: Likewise.
19369 * sysdeps/riscv/configure.ac: Likewise.
19370 * sysdeps/riscv/nptl/Makefile: Likewise.
19371 * sysdeps/riscv/preconfigure: Likewise.
19372 * sysdeps/riscv/rv64/Implies-after: Likewise.
19373 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19374 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19375 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19376 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19377 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19378 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19379 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19380 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19381 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19382 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19383 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
19384 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19385 (Config): Likewise.
532cf290 19386
cdd14619
FW
193872018-01-29 Florian Weimer <fweimer@redhat.com>
19388
19389 [BZ #22701]
19390 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19391 libnsl_hidden_proto.
19392 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19393 libnsl_hidden_proto.
19394 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19395 * nis/Makefile (libnsl-routines): Add nss-default only for
19396 build-obsolete-nsl.
19397 * nis/nis_defaults.c (__nis_default_ttl): Add
19398 libnsl_hidden_nolink_def.
19399 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19400 declaration.
19401 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19402 * nis/ypclnt.c (yp_maplist): Likewise.
19403
b7ccb5de
RN
194042018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19405
19406 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19407 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19408
522623e4
JM
194092018-01-29 Joseph Myers <joseph@codesourcery.com>
19410
e3aa6999
JM
19411 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19412 clean -dxfq for git updates when replacing sources.
19413
088de7d0
JM
19414 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19415 --disable-libcilkrts unconditionally, not just for the final GCC
19416 build for Hurd.
19417
522623e4
JM
19418 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19419 version to 4.15.
19420
8b406f87
RL
194212018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19422
19423 [BZ #10871]
19424 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19425 case).
19426
105e90bd
RL
194272018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19428
19429 [BZ #10871]
19430 * localedata/locales/be_BY (mon): Rename to...
19431 (alt_mon): This, then synchronize with CLDR (nominative case).
19432 (abmon): Rename to...
19433 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19434 (mon): Import from CLDR (genitive case).
19435 (abmon): Likewise.
19436 * localedata/locales/be_BY@latin (mon): Rename to...
19437 (alt_mon): This.
19438 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19439
19440 * localedata/locales/be_BY@latin (lang_name): Reworded to
19441 "biełaruskaja mova".
19442
561cb414
RL
194432018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19444
19445 [BZ #10871]
19446 * localedata/locales/el_CY (mon): Renamed to...
19447 (alt_mon): This.
19448 (mon): Import from CLDR (genitive case).
19449 * localedata/locales/el_GR: Likewise.
19450
f7bdf30d
RL
194512018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19452
19453 [BZ #10871]
19454 * localedata/locales/ru_RU (mon): Rename to...
19455 (alt_mon): This.
19456 (abmon): Rename to...
19457 (ab_alt_mon): This.
19458 (mon): Import from CLDR (genitive case).
19459 (abmon): Copy from the old content except the 5th month which is
19460 now in the genitive case, even when abbreviated.
19461 * localedata/locales/ru_UA: Likewise.
19462 * time/tst-strptime.c (day_tests): Add an actual example of
19463 a difference between %b and %Ob in Russian.
19464
85285a0c
ST
194652018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19466
19467 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
19468 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19469 a `c' variable.
3538a4b6 19470 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
19471 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19472 <sys/wait.h>, <time.h>, <sys/uio.h>.
19473 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 19474 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
19475 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19476 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19477 return 0.
05ebfe87
ST
19478 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19479 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
19480 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19481 instead of void *.
19482 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19483 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
19484 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19485 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
19486 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19487 and make them the default for now.
903d3633
ST
19488 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19489 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
19490 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19491 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19492 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19493 MACH_IPC_COMPAT.
06fac9f5
ST
19494 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19495 __task_terminate would ever return successfully.
f8177753
ST
19496 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19497 to global scope.
41cdb1eb
ST
19498 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19499 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
19500 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19501 critical section to make code simpler and avoid warning.
19502 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19503 critical section to make code simpler and avoid warning.
844bf921
ST
19504 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19505 const char * instead of char *.
f8bee46c
ST
19506 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19507 __hurd_file_name_split, hurd_file_name_split,
19508 __hurd_directory_name_split, hurd_directory_name_split,
19509 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19510 hurd_file_name_path_lookup): Make lookup function parameter take a
19511 const char *name instead of char *name.
19512 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19513 __hurd_directory_name_split): Likewise.
19514 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19515 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
19516 * sysdeps/mach/hurd/check_native.c: New file.
19517 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
19518 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19519 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
19520 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19521 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
19522 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19523 (do_test_bz20181): Rename accordingly.
19524 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
19525 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19526 <sys/mount.h>.
28f6186f
ST
19527 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19528 version only if __USE_EXTERN_INLINES is defined.
19529 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19530 __hurd_sockfail): Likewise.
19531 (_hurd_fd_get): Always declare functions, and provide inline versions
19532 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19533 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19534 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19535 _hurd_port_set): Always declare functions, and provide inline versions
19536 only if __USE_EXTERN_INLINES and _LIBC are defined and
19537 IS_IN(libc).
19538 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19539 _hurd_critical_section_unlock): Likewise.
19540 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19541 * __hurd_threadvar_location): Likewise.
19542 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19543 _hurd_userlink_clear): Likewise.
19544 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19545 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19546 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19547 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19548 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19549 __spin_lock_locked): Likewise.
19550 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19551 __spin_lock_locked): Likewise.
19552 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19553 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19554 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19555 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19556 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
19557 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19558 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
19559 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19560 check size against PTHREAD_STACK_MIN.
625ba81e
ST
19561 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19562 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
19563 * mach/Makefile (user-interfaces): Add mach/gnumach.
19564 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19565 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
19566 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19567 instead of invalid -1.
1f89ac71
ST
19568 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19569 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19570 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19571 <net/ppp_defs.h>.
85285a0c 19572
1fd1e27c 195732018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
19574
19575 * hurd/fcntl-internal.h: New file.
19576
3854c5a8
JC
195772018-01-27 James Clarke <jrtc27@jrtc27.com>
19578
7e23a7dd
JC
19579 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19580
3854c5a8
JC
19581 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19582
5503f413
AS
195832018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19584
19585 [BZ #22701]
19586 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19587 Build only shared objects.
19588
caaf7804
CD
195892018-01-26 Carlos O'Donell <carlos@redhat.com>
19590
19591 * README: Update for hppa.
19592
1cbf818d
PM
195932018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19594
caaf7804
CD
19595 * sysdeps/sparc/fpu/libm-test-ulps: Update
19596 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 19597
caaf7804 195982018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
19599
19600 Revert:
19601
19602 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19603
19604 [BZ #22563]
19605 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19606 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19607 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19608 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19609 to feature_1.
19610
19611 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19612
19613 [BZ #22563]
19614 * bits/types/__cancel_jmp_buf_tag.h: New file.
19615 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19616 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19617 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19618 * nptl/Makefile (headers): Add
19619 bits/types/__cancel_jmp_buf_tag.h.
19620 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19621 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19622 * sysdeps/nptl/pthread.h: Include
19623 <bits/types/__cancel_jmp_buf_tag.h>.
19624 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19625 __cancel_jmp_buf.
19626 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19627
65f6c94e
RL
196282018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19629
19630 [BZ #10871]
19631 * localedata/locales/uk_UA (mon): Renamed to...
19632 (alt_mon): This.
19633 (alt_digits): "0" removed and then renamed to...
19634 (mon): This.
19635 (date_fmt): Definition changed not to use the alternative
19636 digits hack.
19637
fb58aac5
PD
196382018-01-25 Palmer Dabbelt <palmer@sifive.com>
19639
19640 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19641 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19642 * elf/elf.h (EF_RISCV_RVC): New define.
19643 (EF_RISCV_FLOAT_ABI): Likewise.
19644 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19645 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19646 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19647 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19648 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19649 define.
19650 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19651
128c43a2
AS
196522018-01-25 Andreas Schwab <schwab@suse.de>
19653
19654 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19655 single quotes.
19656 * sysdeps/gnu/configure: Regenerate.
19657 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19658 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19660 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19661 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19662 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19663 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19664 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19665
f9015003
ST
196662018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19667
48130690 19668 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 19669 URL, and run autoconf, make it the default for now.
f9015003 19670
91b2cffa
JM
196712018-01-24 Joseph Myers <joseph@codesourcery.com>
19672
3005b705
JM
19673 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19674 soft-float ColdFire configuration.
19675
69231fab
JM
19676 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19677 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19678 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19679
d4c7e1d0
JM
19680 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19681 MicroBlaze file.
19682
0cfe5be5
JM
19683 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19684 ....
19685 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19686 ... here.
19687 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19688 New file.
19689
91b2cffa
JM
19690 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19691 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19692 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19693 file.
19694
c739e191
SN
196952018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19696
19697 [BZ #22742]
19698 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19699 Rename to __reserved and add comment.
19700 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19701 Rename to __reserved.
19702
394b5bac
JM
197032018-01-24 Joseph Myers <joseph@codesourcery.com>
19704
19705 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19706 i686-gnu configurations.
19707 (Context.run_builds): Include mig, gnumach and hurd in components
19708 considered.
19709 (Context.checkout): Add mig, gnumach and hurd to components.
19710 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19711 hurd.
19712 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19713 (Config.build): Install gnumach headers, build mig and install
19714 hurd headers for 'gnu' OS.
19715 (Config.install_gnumach_headers): New function.
19716 (Config.install_hurd_headers): Likewise.
19717 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19718 when building for 'gnu' OS.
19719
28c3f14f
TK
197202018-01-23 Tobias Klauser <tklauser@distanz.ch>
19721
19722 * manual/tunables.texi (Hardware Capability Tunables): Fix
19723 spelling.
19724
0f5e2da1
RJ
197252018-01-22 Rical Jasan <ricaljasan@pacific.net>
19726
19727 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19728 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19729 (ALTMON_11, ALTMON_12): Improve documentation.
19730 * manual/time.texi (strftime): Likewise.
19731
7817b14a
RL
197322018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19733
19734 [BZ #10871]
19735 * localedata/locales/pl_PL: Alternative month names added,
19736 primary month names are genitive now.
19737 * time/tst-strptime.c (day_tests): Actually use a genitive case
19738 of a month name in Polish language.
19739
22390764
RL
197402018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19741
19742 [BZ #10871]
19743 * manual/locale.texi: Document ALTMON_1..12 constants for
19744 nl_langinfo. Specify when to use ALTMON instead of MON.
19745 * manual/time.texi (strftime, strptime): Document GNU extension
19746 permitting O modifier with %B and %b. Specify when to use
19747 %OB instead of %B.
19748
761a585c
RL
197492018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19750
19751 [BZ #10871]
19752 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19753 names, define them as the same as abbreviated month names explicitly.
19754 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19755 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19756 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19757 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19758 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19759 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19760 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19761 _NL_WABALTMON_12): New enum constants.
19762 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19763 wab_alt_mon, and ab_alt_mon_defined members.
19764 (time_output): Output ab_alt_mon and wab_alt_mon members.
19765 (time_read): Read them, initialize them as copies of abmon and wabmon
19766 respectively if they are missing, initialize ab_alt_mon_defined.
19767 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19768 * locale/programs/locfile-kw.h: Regenerate.
19769 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19770 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19771 and ru_RU.UTF-8.
19772 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19773 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19774 (__strftime_internal): Handle %Ob and %Oh formats.
19775 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19776 (__strptime_internal): Handle %Ob and %Oh formats.
19777 * time/tst-strptime.c (day_tests): Add more tests to parse different
19778 forms of month names including the new %Ob format specifier.
19779
95cb863a
RL
197802018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19781
19782 [BZ #10871]
19783 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19784 define them as the same as primary full month names explicitly.
19785 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19786 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19787 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19788 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19789 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19790 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19791 _NL_WALTMON_12): New enum constants.
19792 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19793 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19794 macros.
19795 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19796 walt_mon, and alt_mon_defined members.
19797 (time_output): Output alt_mon and walt_mon members.
19798 (time_read): Read them, initialize them as copies of mon and wmon
19799 respectively if they are missing, initialize alt_mon_defined.
19800 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19801 * locale/programs/locfile-kw.h: Regenerate.
19802 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19803 * localedata/tst-langinfo.c (map): Add tests for the new constants
19804 ALTMON_1 .. ALTMON_12.
19805 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19806 and pl_PL.UTF-8.
19807 * time/strftime_l.c (f_altmonth): New macro.
19808 (__strftime_internal): Handle %OB format.
19809 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19810 (__strptime_internal): Handle %OB format.
19811 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19812 of month names including the new %OB format specifier.
19813
4612268a
TMQMF
198142018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19815
19816 [BZ #22685]
19817 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19818 from ABORT_TRANSACTION.
19819 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19820 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19821 ABORT_TRANSACTION_IMPL): Likewise.
19822 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19823 Linux code, but remove the code that aborts transactions.
19824
64f63cb4
ST
198252018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19826
19827 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19828
32ac6e92
RL
198292018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19830
19831 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19832 in date: "2004-14-09" should be "2004-09-14".
19833 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19834 "2003-15-09" should be "2003-09-15".
19835
8e448310
AS
198362018-01-18 Arjun Shankar <arjun@redhat.com>
19837
19838 [BZ #22343]
71aa429b 19839 [BZ #22774]
4590634f 19840 CVE-2018-6485
71aa429b 19841 CVE-2018-6551
8e448310
AS
19842 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19843 after padding.
19844 (_int_memalign): check for integer overflow before calling
19845 _int_malloc.
19846 * malloc/tst-malloc-too-large.c: New test.
19847 * malloc/Makefile: Add tst-malloc-too-large.
19848
e234d7cb
RL
198492018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19850
19851 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19852 in date: "2017-24-07" should be "2017-07-24".
19853 * localedata/locales/mai_IN: Likewise.
19854 * localedata/locales/mai_NP: Likewise.
19855
48b66019
DL
198562018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19857
19858 * po/ru.po: Update translations.
19859
1eeddc58
JM
198602018-01-17 Joseph Myers <joseph@codesourcery.com>
19861
19862 [BZ #22719]
19863 * sysdeps/hppa/backtrace.c: New file.
19864
207a72e2
L
198652018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19866
19867 [BZ #22715]
19868 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19869 align La_x86_64_retval to VEC_SIZE.
19870
4942c4ea
JM
198712018-01-16 Joseph Myers <joseph@codesourcery.com>
19872
19873 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19874 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19875
10d200db
FW
198762018-01-16 Florian Weimer <fweimer@redhat.com>
19877
19878 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19879 Move tst-thread-exit-clobber ...
19880 [$(CXX)] (tests-unsupported): ... to here.
19881
953c49cc
SN
198822018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19883
19884 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19885 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19886 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19887 (_dl_aarch64_cap_flags): Update.
19888 (_DL_HWCAP_COUNT): Update.
19889
afce1991
SN
198902018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19891
19892 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19893 (_DL_HWCAP_LAST): Remove.
19894 (_DL_HWCAP_COUNT): Move to ...
19895 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19896 (_DL_HWCAP_COUNT): ... here.
19897
b725132d
FW
198982018-01-16 Florian Weimer <fweimer@redhat.com>
19899
19900 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19901 mode with GNU extensions.
19902
c9e613a7
AH
199032018-01-15 Alan Hayward <alan.hayward@arm.com>
19904
19905 * elf/elf.h (NT_ARM_SVE): Define.
19906
860b0240
FW
199072018-01-15 Florian Weimer <fweimer@redhat.com>
19908
19909 [BZ #22636]
19910 * nptl/tst-minstack-throw.cc: New file.
19911 * nptl/Makefile (tests): Add tst-minstack-throw.
19912 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19913 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19914
16d0f6ac
JM
199152018-01-15 Joseph Myers <joseph@codesourcery.com>
19916
19917 * scripts/build-many-glibcs.py (Context.checkout): Default
19918 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19919 version to 1.1.0.
19920
505d3910
CD
199212018-01-13 Carlos O'Donell <carlos@redhat.com>
19922
19923 [BZ #22707]
19924 * elf/elf.h (DF_1_STUB): Define.
19925 (DF_1_PIE): Define.
19926
af1e6be4
TMQMF
199272018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19928
19929 [BZ #22697]
19930 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19931 Do not add 0.5 to integer or out-of-range arguments.
19932
98d13ce0
DL
199332018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19934
19935 * po/bg.po: Update translations.
19936 * po/cs.po: Likewise.
19937 * po/de.po: Likewise.
19938 * po/ko.po: Likewise.
19939 * po/pl.po: Likewise.
19940 * po/sv.po: Likewise.
19941 * po/uk.po: Likewise.
19942 * po/vi.po: Likewise.
19943
3d1d7928
SN
199442018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19945
19946 * aarch64/start.S (_start): Use __wrap_main.
19947 (__wrap_main): New local symbol.
19948
52a713fd
DL
199492018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19950
19951 [BZ #22679]
19952 CVE-2018-1000001
19953 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19954 generic_getcwd if the path returned by getcwd syscall is not absolute.
19955 * io/tst-getcwd-abspath.c: New test.
19956 * io/Makefile (tests): Add tst-getcwd-abspath.
19957
249a5895
IK
199582018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19959
19960 * malloc/malloc.c (malloc_consolidate): Add size check.
19961
1a51e46e
FW
199622018-01-12 Florian Weimer <fweimer@redhat.com>
19963
19964 * support/write_message.c (write_message): Preserve errno.
19965 * support/check.c (print_failure): Likewise.
19966 * support/support_test_verify_impl.c (support_test_verify_impl):
19967 Likewise.
19968 * support/support_test_compare_failure.c
19969 (support_test_compare_failure): Likewise.
19970
9a08a366
FW
199712018-01-12 Florian Weimer <fweimer@redhat.com>
19972
19973 [BZ #22701]
19974 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19975 Prevent installation of libnsl.so.
19976 (libnsl-inhibit-o): Do not build (or install) static libraries.
19977
80647883 199782018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
19979
19980 [BZ #22657]
19981 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19982 before the day number which may produce a double space.
19983 (date_fmt): Likewise.
19984
c8924f1f
JM
199852018-01-12 Joseph Myers <joseph@codesourcery.com>
19986
19987 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19988 instead of fegetenv.
19989
da09e6fa
JM
199902018-01-11 Joseph Myers <joseph@codesourcery.com>
19991
19992 [BZ #22702]
19993 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19994 comment to say exceptions are discarded.
19995 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19996 __fegetenv.
19997 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19998 be enabled.
19999
08c6e952
FW
200002018-01-11 Florian Weimer <fweimer@redhat.com>
20001
20002 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20003 and error message.
20004
d8b77890
FW
200052018-01-11 Florian Weimer <fweimer@redhat.com>
20006
20007 [BZ #22636]
20008 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20009 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20010
b303185d
JM
200112018-01-10 Joseph Myers <joseph@codesourcery.com>
20012
20013 [BZ #22693]
20014 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20015 negative arguments in test for NaN or infinity argument.
20016
ee61d028
DL
200172018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20018
20019 * po/libc.pot: Regenerate.
20020
f993b875
FW
200212018-01-10 Florian Weimer <fweimer@redhat.com>
20022
20023 [BZ #22636]
20024 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20025 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20026
09085ede
ST
200272018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20028
20029 * hurd/hurd/fd.h: Include <fcntl.h>
20030 (__hurd_at_flags): New function.
20031 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20032 with call to __hurd_at_flags.
20033 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20034 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20035 __faccessat
20036 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20037 (__access_noerrno): Use __faccessat_common instead of access_common.
20038 (__access): Likewise.
20039 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20040 with a call to __faccessat.
20041 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20042 (__faccessat_common): ... this. Move implementation of __access into it when
20043 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20044 reauthenticate_cwdir_at helper to implement AT mechanism.
20045 (__faccessat_noerrno): New function, just calls __faccessat_common.
20046 (__faccessat): New function, just calls __faccessat_common.
20047 (faccessat): Define weak alias.
20048
12727488
JM
200492018-01-10 Joseph Myers <joseph@codesourcery.com>
20050
87faac55
JM
20051 [BZ #22691]
20052 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20053 (CFLAGS-s_fmaxmagl.c): New variable.
20054 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20055
12727488
JM
20056 [BZ #22690]
20057 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20058 long int for arguments of possibly overflowing addition or
20059 subtraction.
20060 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20061
e134ca17
JM
200622018-01-09 Joseph Myers <joseph@codesourcery.com>
20063
b2584ac2
JM
20064 [BZ #22688]
20065 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20066 (CFLAGS-e_remainderl.c): New variable.
20067
e134ca17
JM
20068 [BZ #22687]
20069 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20070 variable.
20071 (CFLAGS-s_cacoshl.c): Likewise.
20072 (CFLAGS-s_casinhl.c): Likewise.
20073 (CFLAGS-s_catanl.c): Likewise.
20074 (CFLAGS-s_catanhl.c): Likewise.
20075 (CFLAGS-s_cexpl.c): Likewise.
20076 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20077 (CFLAGS-s_csinhl.c): Likewise.
20078 (CFLAGS-s_clogl.c): Likewise.
20079 (CFLAGS-s_clog10l.c): Likewise.
20080 (CFLAGS-s_csinl.c): Likewise.
20081 (CFLAGS-s_csqrtl.c): Likewise.
20082
d31a4a48
ST
200832017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
200842017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
20085
20086 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20087 (_hurd_exec_paths): New function.
20088 * hurd/hurd.h (_hurd_exec): Deprecate function.
20089 (_hurd_exec_paths): Declare function.
20090 * hurd/Versions: Export _hurd_exec_paths.
20091 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20092 (__execve): Use __getcwd to build absolute path, and use
20093 _hurd_exec_paths instead of _hurd_exec.
20094 * sysdeps/mach/hurd/spawni.c: Likewise.
20095 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20096 _hurd_exec.
20097
d7ff3f11
DL
200982018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20099
20100 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20101 test instead of failing in case of ENOENT returned by posix_openpt.
20102
401311cf
FW
201032018-01-08 Florian Weimer <fweimer@redhat.com>
20104
20105 resolv: Support binary labels in test framework.
20106 * support/resolv_test.c (struct to_be_freed): Remove.
20107 (struct compressed_name): New.
20108 (allocate_compressed_name, ascii_tolower)
20109 (compare_compressed_name): New functions.
20110 (struct resolv_response_builder): Update type of
20111 compression_offsets for use with tsearch. Rempve to_be_freed.
20112 (response_push_pointer_to_free): Remove function.
20113 (resolv_response_add_name): Rewrite using struct compressed_name
20114 and tsearch instead of hsearch_r.
20115 (response_builder_allocate): Remove initialization of
20116 compression_offsets.
20117 (response_builder_free): Update for removal of to_be_freed. Use
20118 tdestroy instead of hdestroy_r.
20119 * resolv/Makefile (tests): Add tst-resolv-binary.
20120 (tst-resolv-binary): Link with -lresolv -lpthread.
20121
2b3aa446
FW
201222018-01-08 Florian Weimer <fweimer@redhat.com>
20123
20124 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20125 time. Pass positive flag instead of negative flag to
20126 support_test_compare_failure.
20127 (support_test_compare_failure): Change negative parameter to
20128 positive.
20129 * support/support_test_compare_failure.c (report)
20130 (support_test_compare_failure): Likewise.
20131 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20132 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20133
630f4cc3
SN
201342018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20135
20136 [BZ #22637]
20137 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20138 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20139 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20140 stacksize.
20141 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20142
c70e4e9c
L
201432018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20144
20145 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20146 Add s_sincosf-sse2 and s_sincosf-fma.
20147 (CFLAGS-s_sincosf-fma.c): New.
20148 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20149 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20150 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20151 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20152 __sincosf is defined.
20153
579396ee
FW
201542018-01-08 Florian Weimer <fweimer@redhat.com>
20155
20156 * nptl/tst-thread-exit-clobber.cc: New file.
20157 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20158 C++11 mode.
20159 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20160 (tests): Add tst-thread-exit-clobber.
20161 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20162
dabd75b6
FW
201632018-01-08 Florian Weimer <fweimer@redhat.com>
20164
20165 * support/check.h (support_static_assert): Define.
20166 (TEST_COMPARE): Use it.
20167
c2e014cc
AJ
201682018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20169
20170 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20171 [!__RLIM_T_MATCHES_RLIM64_T]
20172 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20173 __getrlimit64. Add libc_hidden_weak.
20174
31a98837
PD
201752018-01-06 Palmer Dabbelt <palmer@sifive.com>
20176
20177 * elf/elf.h (R_RISCV_NONE): New define.
20178 (R_RISCV_32): Likewise.
20179 (R_RISCV_64): Likewise.
20180 (R_RISCV_RELATIVE): Likewise.
20181 (R_RISCV_COPY): Likewise.
20182 (R_RISCV_JUMP_SLOT): Likewise.
20183 (R_RISCV_TLS_DTPMOD32): Likewise.
20184 (R_RISCV_TLS_DTPMOD64): Likewise.
20185 (R_RISCV_TLS_DTPREL32): Likewise.
20186 (R_RISCV_TLS_DTPREL64): Likewise.
20187 (R_RISCV_TLS_TPREL32): Likewise.
20188 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
20189 * Makerules (make-link-multidir): Make directories before linking into
20190 them.
150bbac1
PD
20191 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20192 define.
20193 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
20194 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20195 in subdirectories of lib.
8e13c51b
PD
20196 * nptl/Makefile (/librt.so): Always depend on
20197 "$(shared-thread-library)".
31a98837 20198
fad7d57e
ST
201992018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20200
20201 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
20202 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20203 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20204 (___tls_get_addr).
20205 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
20206 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20207 "-O2 -march=i686".
01c7e549 20208 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
20209 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20210 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20211 * sysdeps/gnu/glob-lstat-compat.c: New file.
20212 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 20213 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 20214
3a32b716
TMQMF
202152018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20216
20217 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20218 Reserve 16 chars to reloc_addr before calling _itoa_word.
20219
24731685
AJ
202202018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20221
20222 [BZ #22678]
20223 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20224 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20225
19be56d8
AJ
20226 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20227 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20228
a6d0afb5
AJ
20229 * resource/tst-getrlimit.c: Add copyright header.
20230
8e900969
AJ
202312018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20232 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20233
20234 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20235 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20236 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20237 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20238 instead.
20239 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20240 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20241 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20242 RLIM64_INFINITY): Fix values to match the kernel ones.
20243 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20244 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20245 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20246 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20247 getrlimit64@@GLIBC_2_27.
20248 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20249 and setrlimit64.
20250 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20251 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20252 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20253 setrlimit, getrlimit64 and setrlimit64.
20254
0d0bc784
AJ
202552018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20256
20257 [BZ #22648]
20258 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20259 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20260
ba374b6d
JM
202612018-01-04 Joseph Myers <joseph@codesourcery.com>
20262
20263 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20264 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20265 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20266
4854ddd8
AZ
202672018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20268
b0a4eca2
AZ
20269 [BZ #15479]
20270 [BZ #22666]
20271 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20272 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20273
4854ddd8
AZ
20274 [BZ #15479]
20275 [BZ #22665]
20276 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20277 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20278 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20279 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20280
8a5df95f
FW
202812018-01-04 Florian Weimer <fweimer@redhat.com>
20282
20283 [BZ #22667]
20284 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20285 Align the stack before calling exit.
20286 * stdlib/tst-makecontext-align.c: New file.
20287 * stdlib/Makefile (tests): Add tst-makecontext-align.
20288
82eef55f
FW
202892018-01-04 Florian Weimer <fweimer@redhat.com>
20290
20291 Add support for calling dlvsym from libc.so.
20292 * include/dlfcn.h (__libc_dlvsym): Declare.
20293 * elf/Makefile (tests-static-internal): Add
20294 tst-libc_dlvsym-static.
20295 (tests-internal): Add tst-libc_dlvsym.
20296 (modules-names): Add tst-libc_dlvsym-dso.
20297 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20298 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20299 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20300 object tst-libc_dlvsym-dso.so needs to be built before running
20301 these tests.
20302 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20303 * elf/Versions: Export __libc_dlvsym.
20304 * elf/dl-libc.c (struct do_dlvsym_args): New.
20305 (do_dlvsym, __libc_dlvsym): New functions.
20306 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20307 (_dl_open_hook2): New variable.
20308 (__libc_register_dl_open_hook): Set it.
20309 * elf/tst-libc_dlvsym-dso.c: New file.
20310 * elf/tst-libc_dlvsym-static.c: Likewise.
20311 * elf/tst-libc_dlvsym.c: Likewise.
20312 * elf/tst-libc_dlvsym.h: Likewise.
20313
1714fc06
ST
203142018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20315
20316 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20317 include <sys/mount.h>.
20318
3c7d0312
WD
203192018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20320
20321 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20322 Add __NO_MATH_ERRNO__ check.
20323
7eff0954
JM
203242018-01-02 Joseph Myers <joseph@codesourcery.com>
20325
20326 * sysdeps/mips/mips32/libm-test-ulps: Update.
20327 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20328
77f49956
FW
203292018-01-02 Florian Weimer <fweimer@redhat.com>
20330
20331 * misc/tst-pselect.c: Add copyright header.
20332
363e4519 203332018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
20334
20335 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20336 comment.
20337 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20338 comment.
20339 (settrlimit): Rename into setrlimit.
20340 (__sttrlimit): Rename into __setrlimit.
20341
3e4226ff
AJ
20342 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20343 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20344 never defined in that case.
20345
b9256ab6
JM
203462018-01-02 Joseph Myers <joseph@codesourcery.com>
20347
28fd6a44
JM
20348 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20349
a4933a15
JM
20350 * sysdeps/arm/libm-test-ulps: Update.
20351
b9256ab6
JM
20352 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20353 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20354
4cf82d23
RS
203552018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20356
20357 * NEWS: Add cosf and sincosf to list of optimized functions.
20358
6a9dd7a7
AJ
203592018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20360
20361 [BZ #22660]
20362 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20363 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20364 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20365 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20366
dbba87d5
DL
203672018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20368
b05cb613
DL
20369 [BZ #22433]
20370 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20371
dbba87d5
DL
20372 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20373 making a copy of it.
20374
688903eb
JM
203752018-01-01 Joseph Myers <joseph@codesourcery.com>
20376
66ac23de
JM
20377 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20378 trailing whitespace removed.
20379 * scripts/config.guess: Update to version 2018-01-01.
20380 * scripts/config.sub: Update to version 2018-01-01.
20381 * scripts/move-if-change: Update from gnulib.
20382
09533208
JM
20383 * NEWS: Update copyright dates.
20384 * catgets/gencat.c (print_version): Likewise.
20385 * csu/version.c (banner): Likewise.
20386 * debug/catchsegv.sh: Likewise.
20387 * debug/pcprofiledump.c (print_version): Likewise.
20388 * debug/xtrace.sh (do_version): Likewise.
20389 * elf/ldconfig.c (print_version): Likewise.
20390 * elf/ldd.bash.in: Likewise.
20391 * elf/pldd.c (print_version): Likewise.
20392 * elf/sotruss.sh: Likewise.
20393 * elf/sprof.c (print_version): Likewise.
20394 * iconv/iconv_prog.c (print_version): Likewise.
20395 * iconv/iconvconfig.c (print_version): Likewise.
20396 * locale/programs/locale.c (print_version): Likewise.
20397 * locale/programs/localedef.c (print_version): Likewise.
20398 * login/programs/pt_chown.c (print_version): Likewise.
20399 * malloc/memusage.sh (do_version): Likewise.
20400 * malloc/memusagestat.c (print_version): Likewise.
20401 * malloc/mtrace.pl: Likewise.
20402 * manual/libc.texinfo: Likewise.
20403 * nptl/version.c (banner): Likewise.
20404 * nscd/nscd.c (print_version): Likewise.
20405 * nss/getent.c (print_version): Likewise.
20406 * nss/makedb.c (print_version): Likewise.
20407 * posix/getconf.c (main): Likewise.
20408 * scripts/test-installation.pl: Likewise.
20409 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20410
688903eb
JM
20411 * All files with FSF copyright notices: Update copyright dates
20412 using scripts/update-copyrights.
20413 * locale/programs/charmap-kw.h: Regenerated.
20414 * locale/programs/locfile-kw.h: Likewise.
20415
4f820792
ZW
204162017-12-31 Zack Weinberg <zackw@panix.com>
20417
20418 * libio/bits/libio-ldbl.h: Correct check for improper
20419 inclusion. Add own multiple include guard.
20420
3e3c904d
AJ
204212017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20422 Dmitry V. Levin <ldv@altlinux.org>
20423
20424 [BZ #22625]
31f96325 20425 CVE-2017-16997
3e3c904d
AJ
20426 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20427 string token expansion. Check for NULL pointer or empty string possibly
20428 returned by expand_dynamic_string_token.
20429 (decompose_rpath): Check for empty path after dynamic string
20430 token expansion.
20431
7e21972b
DL
204322017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20433
c48831d0
DL
20434 [BZ #22433]
20435 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20436
ac583f50
DL
20437 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20438 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20439 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20440 and PTRACE_SYSCALL.
20441 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20442 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20443 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20444 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20445 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20446 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20447
7e21972b
DL
20448 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20449 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20450 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20451 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20453 bits/ptrace-shared.h.
20454 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20455 <bits/ptrace-shared.h>.
20456 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20457 __ptrace_peeksiginfo_flags, ptrace): Remove.
20458 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20459 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20460 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20461 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20462 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20463
72f29e3a
AJ
204642017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20465
20466 [BZ #17804]
20467 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20468 end of the loop. Improve comments.
20469
54e4efc2
AJ
204702017-12-29 Zack Weinberg <zackw@panix.com>
20471
20472 [BZ #22615]
20473 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20474 might be set on success.
20475
f8aa69be
AJ
204762017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20477
20478 [BZ #22611]
20479 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20480 is unchanged on success.
20481
97f13188
DL
204822017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20483
2bd86632
DL
20484 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20485 updated.
20486 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20487 expand_dynamic_string_token): Likewise.
20488 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20489 is_path argument.
20490
1c36e1e6
DL
20491 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20492 contains ':'.
20493
97f13188
DL
20494 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20495 is set and name contains ':', and all code depending on these checks.
20496
48a8f832
ZW
204972017-12-24 Zack Weinberg <zackw@panix.com>
20498
20499 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20500 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20501 respectively.
20502 * libio/libio.h: Rename the original version of this file to
20503 libio/bits/libio.h. Error out if not included by stdio.h or the
20504 stub libio.h.
20505 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20506 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20507 if not included by bits/libio.h or the stub _G_config.h.
20508 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20509 sysdeps/unix/sysv/linux/bits. Error out if not included by
20510 bits/libio.h or the stub _G_config.h.
20511 * libio/stdio.h: Include bits/libio.h, not libio.h.
20512 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20513 well as libio.h and _G_config.h.
20514
20515 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20516 * libio/strfile.h, stdio-common/vfscanf.c
20517 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20518 Include stdio.h, not _G_config.h nor libio.h.
20519 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20520 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20521
20522 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20523
a47ad79a
DL
205242017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20525
20526 [BZ #22347]
20527 * stdlib/getrandom.c (getrandom): Fix comment.
20528 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20529
363e4519 205302017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 20531
f5c558f3
AJ
20532 [BZ #21161]
20533 * manual/arith.texi (strtoul): Fix a typo.
20534
e65a5644
AJ
20535 [BZ #22596]
20536 * manual/arith.texi (finite): Fix the description of the return
20537 value.
20538
ed8ae46b
EB
205392017-12-22 Eric Blake <ebb9@byu.net>
20540
20541 Avoid gcc warnings on cygwin
20542 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20543 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20544 Avoid unused variable.
20545
bad7a0c8
FW
205462017-12-22 Florian Weimer <fweimer@redhat.com>
20547
20548 * io/Makefile (routines): Add copy_file_range.
20549 (tests): Add tst-copy_file_range.
20550 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20551 * io/Versions (GLIBC_2.27): Export copy_file_range.
20552 * io/copy_file_range-compat.c: New file.
20553 * io/copy_file_range.c: Likewise.
20554 * io/tst-copy_file_range-compat.c: Likewise.
20555 * io/tst-copy_file_range.c: Likewise.
20556 * manual/llio.texi (Copying File Data): New section.
20557 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20558 * support/Makefile (libsupport-routines): Add support-xfstat,
20559 xftruncate, xlseek.
20560 * support/support-xfstat.c: New file.
20561 * support/xftruncate.c: Likewise.
20562 * support/xlseek.c: Likewise.
20563 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20564 * sysdeps/unix/sysv/linux/**.abilist: Update.
20565 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20566
6cb86fd2
SN
205672017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20568
20569 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20570 disable-multi-arch variant to aarch64-linux-gnu.
20571
41d11b15
JM
205722017-12-20 Joseph Myers <joseph@codesourcery.com>
20573
20574 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20575 trailing whitespace removed.
20576 * scripts/config.guess: Update to version 2017-12-17.
20577 * scripts/config.sub: Update to version 2017-11-23.
20578 * scripts/install-sh: Update to version 2017-09-23.17.
20579 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20580
4735850f
AZ
205812017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20582
8d2d239c
AZ
20583 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20584 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20585 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20586 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20587 * sysdeps/tile/crtn.S: Likewise.
20588 * sysdeps/tile/dl-start.S (_start): Likewise.
20589 * sysdeps/tile/dl-trampoline.S: Likewise.
20590 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20591 * sysdeps/tile/start.S (_start): Likewise.
20592 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20593 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20594 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20595 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20596 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20597 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20598 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20599
24d1d8ec
AZ
20600 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20601 comment.
20602 * sysdeps/tile/preconfigure: Remove tilegx folder.
20603 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20604 * sysdeps/tile/Implies: ... here.
20605 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20606 * sysdeps/tile/Makefile: ... here.
20607 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20608 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20609 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20610 * sysdeps/tile/bits/wordsize.h: ... here.
20611 * sysdeps/tile/tilegx/*: Move to ...
20612 * sysdeps/tile/*: ... here.
20613 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20614 * sysdeps/tile/tilegx32/Implies: ... here.
20615 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20616 * sysdeps/tile/tilegx64/Implies: ... here.
20617 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20618 to ...
20619 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20620 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20621 * sysdeps/unix/sysv/linux/tile/*: ... here.
20622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20623 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20625 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20626
ed95f611
AZ
20627 * README: Remove tilepro-*-linux-gnu from supported architecture.
20628 * scripts/build-many-glibcs.py: Likewise.
20629 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20630 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20631 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20632 elf_machine_matches_host, elf_machine_dynamic,
20633 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20634 howto, elf_machine_rela): Likewise.
20635 * sysdeps/tile/dl-start.S (_start): Likewise.
20636 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20637 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20638 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20639 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20640 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20641 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20642 Likewise.
20643 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20644 * sysdeps/tile/preconfigure: Likewise.
20645 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20646 POINTER_CHK_GUARD): Likewise.
20647 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20648 * sysdeps/tile/start.S (_start): Likewise.
20649 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20650 Likewise.
20651 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20652 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20653 CMOVNEZ): Remove.
20654 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20655 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20656 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20657 Likewise.
20658 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20659 * sysdeps/tile/tilepro/Implies: Remove file.
20660 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20661 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20662 * sysdeps/tile/tilepro/memchr.c: Likewise.
20663 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20664 * sysdeps/tile/tilepro/memset.c: Likewise.
20665 * sysdeps/tile/tilepro/memusage.h: Likewise.
20666 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20667 * sysdeps/tile/tilepro/strchr.c: Likewise.
20668 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20669 * sysdeps/tile/tilepro/strlen.c: Likewise.
20670 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20671 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20672 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20673 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20674 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20675 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20676 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20677 Likewise.
20678 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20679 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20680 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20681 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20682 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20683 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20684 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20685 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20686 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20687 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20688 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20689 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20690 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20691 tilepro mention in comment.
20692
4735850f
AZ
20693 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20694 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20695 * nptl/pthread_join_common.c: New file: common function used on
20696 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20697 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20698 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20699 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20700 (cleanup): Move definition to pthread_join_common.c.
20701 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20702 Remove superflous checks.
20703 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20704 Likewise.
20705
8bfb461e
SN
207062017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20707
20708 * sysdeps/aarch64/libm-test-ulps: Update.
20709
4e001969
AZ
207102017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20711
20712 * sysdeps/aarch64/memset.S (MEMSET): Define.
20713
8a26ad2a
FW
207142017-12-20 Florian Weimer <fweimer@redhat.com>
20715
20716 [BZ #22635]
20717 nptl: Provide full implementation of pthread_self in libc.so.
20718 * nptl/Makefile (routines): Add pthread_self.
20719 (libpthread-routines): Replace pthread_self with
20720 compat-pthread_self.
20721 * nptl/forward.c (pthread_self): Remove.
20722 * nptl/nptl-init.c (pthread_functions): Do not initialize
20723 ptr_pthread_self.
20724 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20725 * nptl/compat-pthread_self.c: New file.
20726 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20727 Remove ptr_pthread_self.
20728
5069ff32
AR
207292017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20730
20731 * posix/regcomp.c: Fix spelling in comments.
20732 * posix/regex.h: Likewise.
20733 * posix/regex_internal.c: Likewise.
20734 * posix/regexec.c: Likewise.
20735
c85e54ac
GG
207362017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20737
20738 [BZ #22377]
20739 * math/Makefile [C++] (tests): Add test for iseqsig.
20740 * math/math.h [C++] (iseqsig): New implementation, which does
20741 not rely on __MATH_TG/__builtin_types_compatible_p.
20742 * math/test-math-iseqsig.cc: New file.
20743 * sysdeps/powerpc/powerpc64le/Makefile
20744 (CFLAGS-test-math-iseqsig.cc): New variable.
20745
10e93d96
DL
207462017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20747
20748 * elf/dl-load.c (is_trusted_path): Remove.
20749 (fillin_rpath): Remove check_trusted argument and its use,
20750 all callers changed.
20751
ce16eb52
L
207522017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20753
20754 [BZ #22630]
20755 * Makeconfig (link-pie-before-libc): Replace -pie with
20756 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20757 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20758 (tst-dlopen-aout-no-pie): New.
20759 (LDFLAGS-tst-prelink): Removed.
20760 (tst-prelink-no-pie): New.
20761 (LDFLAGS-tst-main1): Removed.
20762 (tst-main1-no-pie): New.
20763 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20764 (tst-gmon-no-pie): New.
20765
126adc89
L
207662017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20767
20768 * manual/install.texi: Document that --enable-static-pie
20769 implies PIE.
20770 * INSTALL: Regenerated.
20771
648615e1
BE
207722017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20773
20774 [BZ #21309]
20775 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20776 unsigned.
20777
f1e00502
JM
207782017-12-19 Joseph Myers <joseph@codesourcery.com>
20779
20780 Revert:
20781
20782 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20783
20784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20785
20786 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20787
20788 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20789 <errno.h>. Include "eexp.tbl".
20790 (half): New constant.
20791 (one): Likewise.
20792 (__ieee754_exp): Rewrite.
20793 (__slowexp): Remove prototype.
20794 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20795 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20796 * sysdeps/i386/fpu/slowexp.c: Likewise.
20797 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20798 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20799 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20800 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20801 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20802 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20803 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20804 comment.
20805 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20806 (CPPFLAGS-slowexp.c): Remove variable.
20807 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20808 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20809 (CFLAGS-slowexp-fma.c): Remove variable.
20810 (CFLAGS-slowexp-fma4.c): Likewise.
20811 (CFLAGS-slowexp-avx.c): Likewise.
20812 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20813 define as macro.
20814 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20815 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20816 * math/Makefile (type-double-routines): Remove slowexp.
20817 * manual/probes.texi (slowexp_p6): Remove.
20818 (slowexp_p32): Likewise.
20819
d711a00f
AZ
208202017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20821
e184ac3a
AZ
20822 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20823 arithmetic.
20824
d711a00f
AZ
20825 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20826
6f58c10d
JM
208272017-12-19 Joseph Myers <joseph@codesourcery.com>
20828
20829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20830
6fd0a3c6
PM
208312017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20832
20833 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20834 <errno.h>. Include "eexp.tbl".
20835 (half): New constant.
20836 (one): Likewise.
20837 (__ieee754_exp): Rewrite.
20838 (__slowexp): Remove prototype.
20839 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20840 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20841 * sysdeps/i386/fpu/slowexp.c: Likewise.
20842 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20843 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20844 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20845 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20846 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20847 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20848 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20849 comment.
20850 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20851 (CPPFLAGS-slowexp.c): Remove variable.
20852 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20853 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20854 (CFLAGS-slowexp-fma.c): Remove variable.
20855 (CFLAGS-slowexp-fma4.c): Likewise.
20856 (CFLAGS-slowexp-avx.c): Likewise.
20857 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20858 define as macro.
20859 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20860 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20861 * math/Makefile (type-double-routines): Remove slowexp.
20862 * manual/probes.texi (slowexp_p6): Remove.
20863 (slowexp_p32): Likewise.
20864
3bb1ef58 208652017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 20866 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
20867
20868 [BZ #22603]
20869 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20870 addition.
20871
554e3d51
AZ
208722017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20873
20874 [BZ #22605]
20875 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20876 code.
20877
cba595c3
L
208782017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20879
20880 [BZ #22563]
20881 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20882 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20883 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20884 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20885 to feature_1.
20886
f81ddabf
L
208872017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20888
20889 [BZ #22563]
20890 * bits/types/__cancel_jmp_buf_tag.h: New file.
20891 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20892 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20893 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20894 * nptl/Makefile (headers): Add
20895 bits/types/__cancel_jmp_buf_tag.h.
20896 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20897 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20898 * sysdeps/nptl/pthread.h: Include
20899 <bits/types/__cancel_jmp_buf_tag.h>.
20900 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20901 __cancel_jmp_buf.
20902 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20903
1a49fc59
L
209042017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20905
20906 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20907 --enable-static-pie variants to x86_64, x32 and i686.
20908
8e52f573
JM
209092017-12-19 Joseph Myers <joseph@codesourcery.com>
20910
66425185
JM
20911 [BZ #22631]
20912 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20913 argument for attrubutes. All callers changed.
20914 (__inline_mathop1): Likewise. All callers changed.
20915 (__inline_mathop): Likewise. All callers changed.
20916 [__USE_MISC] (scalbn): Use __inline_forward instead of
20917 __inline_forward_c.
20918 [__USE_ISOC99] (scalbln): Likewise.
20919 [__USE_ISOC99] (nearbyint): Likewise.
20920 [__USE_ISOC99] (lrint): Likewise.
20921 [__USE_MISC] (scalbnf): Likewise.
20922 [__USE_ISOC99] (scalblnf): Likewise.
20923 [__USE_ISOC99] (nearbyintf): Likewise.
20924 [__USE_ISOC99] (lrintf): Likewise.
20925 [__USE_MISC] (scalbnl): Likewise.
20926 [__USE_ISOC99] (scalblnl): Likewise.
20927 [__USE_ISOC99] (nearbyintl): Likewise.
20928 [__USE_ISOC99] (lrintl): Likewise.
20929 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20930 __inline_mathop and __m81_defun changed.
20931
8e52f573
JM
20932 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20933 CPU or FPU for ARM hard-float configurations.
20934
1421f39b
JM
209352017-12-18 Joseph Myers <joseph@codesourcery.com>
20936
40c4162d
JM
20937 * nptl/tst-attr3.c: Include <libc-diag.h>.
20938 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20939
5983df32
JM
20940 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20941
1421f39b
JM
20942 * string/tester.c (test_strncat): Also disable -Warray-bounds
20943 warnings for two tests.
20944
00c714df
L
209452017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20946
20947 [BZ #22614]
20948 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20949 $(cc-pie-default) == yes.
20950 * config.make.in (cc-pie-default): New.
20951 * configure.ac (libc_cv_pie_default): Renamed to ...
20952 (libc_cv_cc_pie_default): This.
20953 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20954 * configure: Regenerated.
20955
8e1472d2
FW
209562017-12-18 Florian Weimer <fweimer@redhat.com>
20957
20958 [BZ #20204]
20959 ld.so: Harden dl-libc/libdl hooks.
20960 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20961 (rtld_active): New function.
20962 * dlfcn/dladdr.c (__dladdr): Call it.
20963 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20964 * dlfcn/dlclose.c (__dlcose): Likewise.
20965 * dlfcn/dlerror.c (__dlerror): Likewise.
20966 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20967 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20968 * dlfcn/dlopen.c (__dlopen): Likewise.
20969 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20970 * dlfcn/dlsym.c (__dlsym): Likewise.
20971 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20972 * libio/vtables.c (_IO_vtable_check): Likewise.
20973 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20974 (__libc_dlclose): Likewise.
20975 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20976 assignment.
20977
49b036bc
JM
209782017-12-18 Joseph Myers <joseph@codesourcery.com>
20979
20980 [BZ #22446]
20981 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20982 buffers for readlink input and output.
20983
368b6c8d
ST
209842017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20985
c85c564d
ST
20986 [BZ #22624]
20987 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20988 inhibit_stack_protector.
20989
368b6c8d
ST
20990 [BZ #22624]
20991 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20992 inhibit_stack_protector.
20993
bb195224
DL
209942017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20995
20996 [BZ #22627]
20997 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20998 code and invocation.
20999
14d886ed
SN
210002017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21001
21002 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21003
7d38eb38
AJ
210042017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21005
21006 [BZ #22505]
21007 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21008
2e77deef
RS
210092017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21010
21011 * sysdeps/s390/fpu/libm-test-ulps: Update.
21012
0b9bef6d
RS
210132017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21014
21015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21016
984ae996
RS
210172017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21018
21019 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21020 constants to s_sincosf.h file.
21021 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21022 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21023 implementation.
21024 * sysdeps/ieee754/flt-32/s_sincosf.h:
21025 New file.
21026
363e4519 210272017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
21028
21029 [BZ #14681]
21030 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21031 before mtrace.
21032
9d7a3741
L
210332017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21034
21035 [BZ #19574]
21036 * INSTALL: Regenerated.
21037 * Makeconfig (real-static-start-installed-name): New.
21038 (pic-default): Updated for --enable-static-pie.
21039 (pie-default): New for --enable-static-pie.
21040 (default-pie-ldflag): Likewise.
21041 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21042 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21043 Replace $(static-start-installed-name) with
21044 $(real-static-start-installed-name).
21045 (+prectorT): Updated for --enable-static-pie.
21046 (+postctorT): Likewise.
21047 (CFLAGS-.o): Add $(pie-default).
21048 (CFLAGS-.op): Likewise.
21049 * NEWS: Mention --enable-static-pie.
21050 * config.h.in (ENABLE_STATIC_PIE): New.
21051 * configure.ac (--enable-static-pie): New configure option.
21052 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21053 (have-static-pie): Likewise.
21054 Enable static PIE if linker supports --no-dynamic-linker.
21055 (ENABLE_STATIC_PIE): New AC_DEFINE.
21056 (enable-static-pie): New LIBC_CONFIG_VAR.
21057 * configure: Regenerated.
21058 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21059 gr$(start-installed-name) for --enable-static-pie.
21060 (extra-objs): Likewise.
21061 (install-lib): Likewise.
21062 (extra-objs): Add static-reloc.o and static-reloc.os
21063 ($(objpfx)$(start-installed-name)): Also depend on
21064 $(objpfx)static-reloc.o.
21065 ($(objpfx)r$(start-installed-name)): New.
21066 ($(objpfx)g$(start-installed-name)): Also depend on
21067 $(objpfx)static-reloc.os.
21068 ($(objpfx)gr$(start-installed-name)): New.
21069 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21070 in libc.a.
21071 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21072 initimage.
21073 * csu/static-reloc.c: New file.
21074 * elf/Makefile (routines): Add dl-reloc-static-pie.
21075 (elide-routines.os): Likewise.
21076 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21077 (tst-tls1-static-non-pie-no-pie): New.
21078 * elf/dl-reloc-static-pie.c: New file.
21079 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21080 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21081 STATIC_PIE_BOOTSTRAP.
21082 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21083 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21084 (tests-static): Likewise.
21085 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21086 (tst-gmon-static-no-pie): New.
21087 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21088 (CRT-tst-gmon-static-pie): Likewise.
21089 (tst-gmon-static-pie-ENV): Likewise.
21090 (tests-special): Likewise.
21091 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21092 (clean-tst-gmon-static-pie-data): Likewise.
21093 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21094 * gmon/tst-gmon-static-pie.c: New file.
21095 * manual/install.texi: Document --enable-static-pie.
21096 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21097 (_dl_get_dl_main_map): Likewise.
21098 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21099 * sysdeps/x86_64/configure.ac: Likewise.
21100 * sysdeps/i386/configure: Regenerated.
21101 * sysdeps/x86_64/configure: Likewise.
21102 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21103 (ASFLAGS-.op): Likewise.
21104
95511aab
JM
211052017-12-15 Joseph Myers <joseph@codesourcery.com>
21106
21107 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21108 * posix/tst-mmap-offset.c (fname): Use /tmp.
21109 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21110
a7e3edf4
SE
211112017-12-15 Steve Ellcey <sellcey@cavium.com>
21112
21113 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21114
d232f2e1
TS
211152017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21116
21117 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21118 errno.
21119
174edbde
JM
211202017-12-15 Joseph Myers <joseph@codesourcery.com>
21121
5170fa49
JM
21122 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21123 --with-float=hard for arm-linux-gnueabihf configurations.
21124
f2da2fd8
JM
21125 [BZ #14121]
21126 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21127 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21128 ($(mo-installed)): Use $(objpfx)%.mo.
21129 (realclean): Remove rule.
21130
0c4fe28d
JM
21131 * po/Makefile (linguas): Remove rule and dependencies.
21132 (linguas.mo): Likewise.
21133 (.PHONY): Do not depend on linguas and linguas.mo.
21134 (podir): Remove variable.
21135 (pofiles): Likewise.
21136 [$(pofiles)] (%.po): Remove rule.
21137
174edbde
JM
21138 * sysdeps/sparc/sparc32/Makefile
21139 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21140 start-of-line whitespace in argument of echo.
21141 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21142 with whitespace. Generate __wrap_.udiv alias.
21143 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21144 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21145 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21146 * sysdeps/sparc/sparc32/urem.S: Likewise.
21147
1e36806f
RS
211482017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21149
21150 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21151 for aligned inputs.
21152
aa6932aa
SP
211532017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21154
5f1603c3
SP
21155 * benchtests/bench-strcmp.c: Print output in JSON format.
21156
aa6932aa
SP
21157 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21158
3ff3dfa5
FW
211592017-12-14 Florian Weimer <fweimer@redhat.com>
21160
21161 [BZ #22607]
21162 CVE-2017-1000409
21163 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21164 the expanded path string.
21165
8a0b17e4
FW
211662017-12-14 Florian Weimer <fweimer@redhat.com>
21167
21168 [BZ #22606]
21169 CVE-2017-1000408
21170 * elf/dl-load.c (system_dirs): Update comment.
21171 (nsystem_dirs_len): Use array_length.
21172 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21173
f58bd7f0
FW
211742017-12-14 Florian Weimer <fweimer@redhat.com>
21175
21176 Simplify compiling most of support/ outside of glibc.
21177 * support/check_addrinfo.c: Include <string.h>.
21178 * support/check_dns_packet.c: Likewise.
21179 * support/check_hostent.c: Likewise.
21180 * support/support_can_chroot.c: Include <support/xunistd.h>.
21181 * support/support_format_addrinfo.c: Include <stdlib.h>
21182 * support/support_format_dns_packet.c: Include <stdbool.h>.
21183 * support/support_format_hostent.c: Include <stdlib.h>.
21184 * support/support_format_netent.c: Likewise.
21185 * support/support_write_string.c: Include <support/xunistd.h>.
21186 * support/xdlfcn.c: Include <stddef.h>.
21187
4ca945e9
L
211882017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21189
21190 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21191
1b6e07f8
PM
211922017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21193 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21194
e6a1c5dc
PM
21195 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21196 (sysdeps_routines): Add memset-niagara7.
21197 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21198 Likewise.
21199 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21200 file.
21201 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21202 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21203 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21204 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21205 Add niagara7 option.
21206 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21207 memset.
21208
1b6e07f8
PM
21209 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21210 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21211 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21212 Likewise.
21213 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21214 New file.
21215 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21216 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21217 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21218 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21219 and __memmove_niagara7.
21220 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21221 Add niagara7 option.
21222 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21223 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21224 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21225 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21226 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21227
bfb7bf22
JM
212282017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21229
767a26d6
JM
21230 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21231 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21232 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21233 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21234
bfb7bf22
JM
21235 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21236 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21237 _dl_sparc_cap_flags array.
21238 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21239
2bce01eb
SP
212402017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21241
21242 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21243 time whenever possible.
21244
363e4519 212452017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
21246
21247 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21248 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21249
6f7c0092
JM
212502017-12-12 Joseph Myers <joseph@codesourcery.com>
21251
21252 * soft-fp/fmadf4.c: Move to ....
21253 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21254 * soft-fp/fmasf4.c: Move to ....
21255 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21256 * soft-fp/fmatf4.c: Move to ....
21257 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21258 * sysdeps/ieee754/soft-fp/Makefile: New file.
21259 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21260 * sysdeps/arm/preconfigure: Regenerated.
21261 * sysdeps/arm/nofpu/Implies: New file.
21262 * sysdeps/arm/s_fma.c: Remove file.
21263 * sysdeps/arm/s_fmaf.c: Likewise.
21264 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21265 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21266 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21267 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21268 * sysdeps/microblaze/s_fma.c: Remove file.
21269 * sysdeps/microblaze/s_fmaf.c: Likewise.
21270 * sysdeps/mips/mips32/nofpu/Implies: New file.
21271 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21272 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21273 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21274 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21275 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21276 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21277 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21278 implementation.
21279 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21280 * sysdeps/nios2/s_fma.c: Remove file.
21281 * sysdeps/nios2/s_fmaf.c: Likewise.
21282 * sysdeps/sh/nofpu/Implies: New file.
21283 * sysdeps/sh/s_fma.c: Remove file.
21284 * sysdeps/sh/s_fmaf.c: Likewise.
21285 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21286 * sysdeps/tile/s_fma.c: Remove file.
21287 * sysdeps/tile/s_fmaf.c: Likewise.
21288
ac817e08
L
212892017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21290
21291 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21292 Add s_cosf-sse2 and s_cosf-fma.
21293 (CFLAGS-s_cosf-fma.c): New.
21294 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21295 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21296 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21297
eb428576
SE
212982017-12-12 Steve Ellcey <sellcey@cavium.com>
21299
21300 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21301
c80acdc3
AZ
213022017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21303
cc683f7e
AZ
21304 * libio/Makefile (tests): Add tst-bz22415.
21305 (tst-bz22415-ENV): New rule.
21306 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21307 (tests-special): Add tst-bz22415-mem.out.
21308 ($(objpfx)tst-bz22415-mem.out): New rule.
21309 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21310 in case of a successful seek operation.
21311 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21312 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21313 buffer is required.
21314 * libio/tst-bz22415.c: New test.
21315
c80acdc3
AZ
21316 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21317
363e4519 213182017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
21319
21320 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21321 __IPC_64 to 0 to avoid IPC_64 being set.
21322
4e0dca54
SN
213232017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21324
21325 [BZ #22593]
21326 * math/bits/mathcalls.h (nextafter): Remove const.
21327 (nexttoward): Likewise.
21328
8df5d347
JM
213292017-12-12 Joseph Myers <joseph@codesourcery.com>
21330
21331 * configure.ac (--with-fp): Remove configure option.
21332 (with_fp_cond): New variable.
21333 (libc_cv_with_fp): New configure test. Use this variable instead
21334 of with_fp.
21335 * configure: Regenerated.
21336 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21337 * manual/install.texi (Configuring and compiling): Remove
21338 --without-fp.
21339 * INSTALL: Regenerated.
21340 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21341 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21342 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21343 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21344 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21345 use --without-fp to configure glibc.
21346
0cee1257
RJ
213472017-12-12 Rical Jasan <ricaljasan@pacific.net>
21348
21349 * manual/locale.texi (nl_langinfo): Fix a typo.
21350
363e4519 213512017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
21352
21353 [BZ #22588]
21354 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21355
36975e8e
L
213562017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21357
21358 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21359 (CFLAGS-argp-parse.c): Likewise.
21360 (CFLAGS-argp-fmtstream.c): Likewise.
21361 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21362 (CPPFLAGS-sha512-crypt.c): Likewise.
21363 (CPPFLAGS-md5-crypt.c): Likewise.
21364 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21365 (CFLAGS-stack_chk_fail_local.c): Likewise.
21366 (CFLAGS-backtrace.c): Likewise.
21367 (CFLAGS-sprintf_chk.c): Likewise.
21368 (CFLAGS-snprintf_chk.c): Likewise.
21369 (CFLAGS-vsprintf_chk.c): Likewise.
21370 (CFLAGS-vsnprintf_chk.c): Likewise.
21371 (CFLAGS-asprintf_chk.c): Likewise.
21372 (CFLAGS-vasprintf_chk.c): Likewise.
21373 (CFLAGS-obprintf_chk.c): Likewise.
21374 (CFLAGS-dprintf_chk.c): Likewise.
21375 (CFLAGS-vdprintf_chk.c): Likewise.
21376 (CFLAGS-printf_chk.c): Likewise.
21377 (CFLAGS-fprintf_chk.c): Likewise.
21378 (CFLAGS-vprintf_chk.c): Likewise.
21379 (CFLAGS-vfprintf_chk.c): Likewise.
21380 (CFLAGS-gets_chk.c): Likewise.
21381 (CFLAGS-fgets_chk.c): Likewise.
21382 (CFLAGS-fgets_u_chk.c): Likewise.
21383 (CFLAGS-fread_chk.c): Likewise.
21384 (CFLAGS-fread_u_chk.c): Likewise.
21385 (CFLAGS-swprintf_chk.c): Likewise.
21386 (CFLAGS-vswprintf_chk.c): Likewise.
21387 (CFLAGS-wprintf_chk.c): Likewise.
21388 (CFLAGS-fwprintf_chk.c): Likewise.
21389 (CFLAGS-vwprintf_chk.c): Likewise.
21390 (CFLAGS-vfwprintf_chk.c): Likewise.
21391 (CFLAGS-fgetws_chk.c): Likewise.
21392 (CFLAGS-fgetws_u_chk.c): Likewise.
21393 (CFLAGS-read_chk.c): Likewise.
21394 (CFLAGS-pread_chk.c): Likewise.
21395 (CFLAGS-pread64_chk.c): Likewise.
21396 (CFLAGS-recv_chk.c): Likewise.
21397 (CFLAGS-recvfrom_chk.c): Likewise.
21398 (CFLAGS-tst-longjmp_chk.c): Likewise.
21399 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21400 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21401 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21402 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21403 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21404 (CFLAGS-tst-chk1.c): Likewise.
21405 (CFLAGS-tst-chk2.c): Likewise.
21406 (CFLAGS-tst-chk3.c): Likewise.
21407 (CFLAGS-tst-chk4.cc): Likewise.
21408 (CFLAGS-tst-chk5.cc): Likewise.
21409 (CFLAGS-tst-chk6.cc): Likewise.
21410 (CFLAGS-tst-lfschk1.c): Likewise.
21411 (CFLAGS-tst-lfschk2.c): Likewise.
21412 (CFLAGS-tst-lfschk3.c): Likewise.
21413 (CFLAGS-tst-lfschk4.cc): Likewise.
21414 (CFLAGS-tst-lfschk5.cc): Likewise.
21415 (CFLAGS-tst-lfschk6.cc): Likewise.
21416 (CFLAGS-tst-ssp-1.c): Likewise.
21417 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21418 (CFLAGS-scandir64.c): Likewise.
21419 (CFLAGS-scandir-tail.c): Likewise.
21420 (CFLAGS-scandir64-tail.c): Likewise.
21421 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21422 (CFLAGS-dl-tunables.c): Likewise.
21423 (CFLAGS-dl-runtime.c): Likewise.
21424 (CFLAGS-dl-lookup.c): Likewise.
21425 (CFLAGS-dl-iterate-phdr.c): Likewise.
21426 (CFLAGS-vismain.c): Likewise.
21427 (CFLAGS-tst-linkall-static.c): Likewise.
21428 (CFLAGS-tst-linkall-static.c): Likewise.
21429 (CPPFLAGS-dl-load.c): Likewise.
21430 (CFLAGS-ldconfig.c): Likewise.
21431 (CFLAGS-dl-cache.c): Likewise.
21432 (CFLAGS-cache.c): Likewise.
21433 (CFLAGS-rtld.c): Likewise.
21434 (CFLAGS-multiload.c): Likewise.
21435 (CFLAGS-filtmod1.c): Likewise.
21436 (CFLAGS-tst-align.c): Likewise.
21437 (CFLAGS-tst-align2.c): Likewise.
21438 (CFLAGS-tst-alignmod.c): Likewise.
21439 (CFLAGS-tst-alignmod2.c): Likewise.
21440 (CPPFLAGS-tst-execstack.c): Likewise.
21441 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21442 (CFLAGS-tst-latepthreadmod.c): Likewise.
21443 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21444 (CFLAGS-getgrnam_r.c): Likewise.
21445 (CFLAGS-getgrent_r.c): Likewise.
21446 (CFLAGS-getgrent.c): Likewise.
21447 (CFLAGS-fgetgrent.c): Likewise.
21448 (CFLAGS-fgetgrent_r.c): Likewise.
21449 (CFLAGS-putgrent.c): Likewise.
21450 (CFLAGS-initgroups.c): Likewise.
21451 (CFLAGS-getgrgid.c): Likewise.
21452 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21453 (CFLAGS-getsgent.c): Likewise.
21454 (CFLAGS-fgetsgent.c): Likewise.
21455 (CFLAGS-fgetsgent_r.c): Likewise.
21456 (CFLAGS-putsgent.c): Likewise.
21457 (CFLAGS-getsgnam.c): Likewise.
21458 (CFLAGS-getsgnam_r.c): Likewise.
21459 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21460 (CFLAGS-iconv_charmap.c): Likewise.
21461 (CFLAGS-dummy-repertoire.c): Likewise.
21462 (CFLAGS-charmap.c): Likewise.
21463 (CFLAGS-linereader.c): Likewise.
21464 (CFLAGS-simple-hash.c): Likewise.
21465 (CFLAGS-gconv_conf.c): Likewise.
21466 (CFLAGS-iconvconfig.c): Likewise.
21467 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21468 (CFLAGS-gethstbyad.c): Likewise.
21469 (CFLAGS-gethstbynm_r.c): Likewise.
21470 (CFLAGS-gethstbynm.c): Likewise.
21471 (CFLAGS-gethstbynm2_r.c): Likewise.
21472 (CFLAGS-gethstbynm2.c): Likewise.
21473 (CFLAGS-gethstent_r.c): Likewise.
21474 (CFLAGS-gethstent.c): Likewise.
21475 (CFLAGS-rcmd.c): Likewise.
21476 (CFLAGS-getnetbynm_r.c): Likewise.
21477 (CFLAGS-getnetbynm.c): Likewise.
21478 (CFLAGS-getnetbyad_r.c): Likewise.
21479 (CFLAGS-getnetbyad.c): Likewise.
21480 (CFLAGS-getnetent_r.c): Likewise.
21481 (CFLAGS-getnetent.c): Likewise.
21482 (CFLAGS-getaliasent_r.c): Likewise.
21483 (CFLAGS-getaliasent.c): Likewise.
21484 (CFLAGS-getrpcent_r.c): Likewise.
21485 (CFLAGS-getrpcent.c): Likewise.
21486 (CFLAGS-getservent_r.c): Likewise.
21487 (CFLAGS-getservent.c): Likewise.
21488 (CFLAGS-getprtent_r.c): Likewise.
21489 (CFLAGS-getprtent.c): Likewise.
21490 (CFLAGS-either_ntoh.c): Likewise.
21491 (CFLAGS-either_hton.c): Likewise.
21492 (CFLAGS-getnetgrent.c): Likewise.
21493 (CFLAGS-getnetgrent_r.c): Likewise.
21494 (CFLAGS-tst-checks-posix.c): Likewise.
21495 (CFLAGS-tst-sockaddr.c): Likewise.
21496 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21497 (CFLAGS-tst-translit.c): Likewise.
21498 (CFLAGS-tst-gettext2.c): Likewise.
21499 (CFLAGS-tst-codeset.c): Likewise.
21500 (CFLAGS-tst-gettext3.c): Likewise.
21501 (CFLAGS-tst-gettext4.c): Likewise.
21502 (CFLAGS-tst-gettext5.c): Likewise.
21503 (CFLAGS-tst-gettext6.c): Likewise.
21504 * io/Makefile (CFLAGS-open.c): Likewise.
21505 (CFLAGS-open64.c): Likewise.
21506 (CFLAGS-creat.c): Likewise.
21507 (CFLAGS-creat64.c): Likewise.
21508 (CFLAGS-fcntl.c): Likewise.
21509 (CFLAGS-poll.c): Likewise.
21510 (CFLAGS-ppoll.c): Likewise.
21511 (CFLAGS-lockf.c): Likewise.
21512 (CFLAGS-statfs.c): Likewise.
21513 (CFLAGS-fstatfs.c): Likewise.
21514 (CFLAGS-statvfs.c): Likewise.
21515 (CFLAGS-fstatvfs.c): Likewise.
21516 (CFLAGS-fts.c): Likewise.
21517 (CFLAGS-fts64.c): Likewise.
21518 (CFLAGS-ftw.c): Likewise.
21519 (CFLAGS-ftw64.c): Likewise.
21520 (CFLAGS-lockf.c): Likewise.
21521 (CFLAGS-posix_fallocate.c): Likewise.
21522 (CFLAGS-posix_fallocate64.c): Likewise.
21523 (CFLAGS-fallocate.c): Likewise.
21524 (CFLAGS-fallocate64.c): Likewise.
21525 (CFLAGS-read.c): Likewise.
21526 (CFLAGS-write.c): Likewise.
21527 (CFLAGS-test-stat.c): Likewise.
21528 (CFLAGS-test-lfs.c): Likewise.
21529 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21530 (CFLAGS-fputc.c): Likewise.
21531 (CFLAGS-fputwc.c): Likewise.
21532 (CFLAGS-freopen64.c): Likewise.
21533 (CFLAGS-freopen.c): Likewise.
21534 (CFLAGS-fseek.c): Likewise.
21535 (CFLAGS-fseeko64.c): Likewise.
21536 (CFLAGS-fseeko.c): Likewise.
21537 (CFLAGS-ftello64.c): Likewise.
21538 (CFLAGS-ftello.c): Likewise.
21539 (CFLAGS-fwide.c): Likewise.
21540 (CFLAGS-genops.c): Likewise.
21541 (CFLAGS-getc.c): Likewise.
21542 (CFLAGS-getchar.c): Likewise.
21543 (CFLAGS-getwc.c): Likewise.
21544 (CFLAGS-getwchar.c): Likewise.
21545 (CFLAGS-iofclose.c): Likewise.
21546 (CFLAGS-iofflush.c): Likewise.
21547 (CFLAGS-iofgetpos64.c): Likewise.
21548 (CFLAGS-iofgetpos.c): Likewise.
21549 (CFLAGS-iofgets.c): Likewise.
21550 (CFLAGS-iofgetws.c): Likewise.
21551 (CFLAGS-iofputs.c): Likewise.
21552 (CFLAGS-iofputws.c): Likewise.
21553 (CFLAGS-iofread.c): Likewise.
21554 (CFLAGS-iofsetpos64.c): Likewise.
21555 (CFLAGS-iofsetpos.c): Likewise.
21556 (CFLAGS-ioftell.c): Likewise.
21557 (CFLAGS-iofwrite.c): Likewise.
21558 (CFLAGS-iogetdelim.c): Likewise.
21559 (CFLAGS-iogetline.c): Likewise.
21560 (CFLAGS-iogets.c): Likewise.
21561 (CFLAGS-iogetwline.c): Likewise.
21562 (CFLAGS-ioputs.c): Likewise.
21563 (CFLAGS-ioseekoff.c): Likewise.
21564 (CFLAGS-ioseekpos.c): Likewise.
21565 (CFLAGS-iosetbuffer.c): Likewise.
21566 (CFLAGS-iosetvbuf.c): Likewise.
21567 (CFLAGS-ioungetc.c): Likewise.
21568 (CFLAGS-ioungetwc.c): Likewise.
21569 (CFLAGS-oldfileops.c): Likewise.
21570 (CFLAGS-oldiofclose.c): Likewise.
21571 (CFLAGS-oldiofgetpos64.c): Likewise.
21572 (CFLAGS-oldiofgetpos.c): Likewise.
21573 (CFLAGS-oldiofsetpos64.c): Likewise.
21574 (CFLAGS-oldiofsetpos.c): Likewise.
21575 (CFLAGS-peekc.c): Likewise.
21576 (CFLAGS-putc.c): Likewise.
21577 (CFLAGS-putchar.c): Likewise.
21578 (CFLAGS-putwc.c): Likewise.
21579 (CFLAGS-putwchar.c): Likewise.
21580 (CFLAGS-rewind.c): Likewise.
21581 (CFLAGS-wfileops.c): Likewise.
21582 (CFLAGS-wgenops.c): Likewise.
21583 (CFLAGS-oldiofopen.c): Likewise.
21584 (CFLAGS-iofopen.c): Likewise.
21585 (CFLAGS-iofopen64.c): Likewise.
21586 (CFLAGS-oldtmpfile.c): Likewise.
21587 (CFLAGS-tst_putwc.c): Likewise.
21588 * locale/Makefile (CFLAGS-md5.c): Likewise.
21589 (CFLAGS-charmap.c): Likewise.
21590 (CFLAGS-locfile.c): Likewise.
21591 (CFLAGS-charmap-dir.c): Likewise.
21592 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21593 (CFLAGS-getpt.c): Likewise.
21594 (CFLAGS-pt_chown.c): Likewise.
21595 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21596 (CFLAGS-obstack.c): Likewise.
21597 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21598 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21599 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21600 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21601 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21602 (CFLAGS-test-tgmath.c): Likewise.
21603 (CFLAGS-test-tgmath2.c): Likewise.
21604 (CFLAGS-test-tgmath-ret.c): Likewise.
21605 (CFLAGS-test-powl.c): Likewise.
21606 (CFLAGS-test-snan.c): Likewise.
21607 (CFLAGS-test-signgam-finite.c): Likewise.
21608 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21609 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21610 (CFLAGS-test-signgam-uchar.c): Likewise.
21611 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21612 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21613 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21614 (CFLAGS-test-signgam-uint.c): Likewise.
21615 (CFLAGS-test-signgam-uint-init.c): Likewise.
21616 (CFLAGS-test-signgam-uint-static.c): Likewise.
21617 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21618 (CFLAGS-test-signgam-ullong.c): Likewise.
21619 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21620 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21621 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21622 (CFLAGS-test-math-cxx11.cc): Likewise.
21623 (CFLAGS-test-math-isinff.cc): Likewise.
21624 (CFLAGS-test-math-iszero.cc): Likewise.
21625 (CFLAGS-test-math-issignaling.cc): Likewise.
21626 (CFLAGS-test-math-iscanonical.cc): Likewise.
21627 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21628 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21629 (CFLAGS-test-flt-eval-method.c): Likewise.
21630 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21631 (CFLAGS-test-finite-macros.c): Likewise.
21632 * misc/Makefile (CFLAGS-select.c): Likewise.
21633 (CFLAGS-tsearch.c): Likewise.
21634 (CFLAGS-lsearch.c): Likewise.
21635 (CFLAGS-pselect.c): Likewise.
21636 (CFLAGS-readv.c): Likewise.
21637 (CFLAGS-writev.c): Likewise.
21638 (CFLAGS-preadv.c): Likewise.
21639 (CFLAGS-preadv64.c): Likewise.
21640 (CFLAGS-pwritev.c): Likewise.
21641 (CFLAGS-pwritev64.c): Likewise.
21642 (CFLAGS-preadv2.c): Likewise.
21643 (CFLAGS-preadv64v2.c): Likewise.
21644 (CFLAGS-pwritev2.c): Likewise.
21645 (CFLAGS-pwritev64v2.c): Likewise.
21646 (CFLAGS-usleep.c): Likewise.
21647 (CFLAGS-syslog.c): Likewise.
21648 (CFLAGS-error.c): Likewise.
21649 (CFLAGS-getpass.c): Likewise.
21650 (CFLAGS-mkstemp.c): Likewise.
21651 (CFLAGS-mkstemp64.c): Likewise.
21652 (CFLAGS-getsysstats.c): Likewise.
21653 (CFLAGS-getusershell.c): Likewise.
21654 (CFLAGS-err.c): Likewise.
21655 (CFLAGS-tst-tsearch.c): Likewise.
21656 (CFLAGS-msync.c): Likewise.
21657 (CFLAGS-fdatasync.c): Likewise.
21658 (CFLAGS-fsync.c): Likewise.
21659 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21660 (CFLAGS-unwind.c): Likewise.
21661 (CFLAGS-unwind-forcedunwind.c): Likewise.
21662 (CFLAGS-pthread_cancel.c): Likewise.
21663 (CFLAGS-pthread_setcancelstate.c): Likewise.
21664 (CFLAGS-pthread_setcanceltype.c): Likewise.
21665 (CFLAGS-cancellation.c): Likewise.
21666 (CFLAGS-libc-cancellation.c): Likewise.
21667 (CFLAGS-pthread_exit.c): Likewise.
21668 (CFLAGS-forward.c): Likewise.
21669 (CFLAGS-pthread_testcancel.c): Likewise.
21670 (CFLAGS-pthread_join.c): Likewise.
21671 (CFLAGS-pthread_timedjoin.c): Likewise.
21672 (CFLAGS-pthread_once.c): Likewise.
21673 (CFLAGS-pthread_cond_wait.c): Likewise.
21674 (CFLAGS-sem_wait.c): Likewise.
21675 (CFLAGS-sem_timedwait.c): Likewise.
21676 (CFLAGS-fcntl.c): Likewise.
21677 (CFLAGS-lockf.c): Likewise.
21678 (CFLAGS-pread.c): Likewise.
21679 (CFLAGS-pread64.c): Likewise.
21680 (CFLAGS-pwrite.c): Likewise.
21681 (CFLAGS-pwrite64.c): Likewise.
21682 (CFLAGS-wait.c): Likewise.
21683 (CFLAGS-waitpid.c): Likewise.
21684 (CFLAGS-sigwait.c): Likewise.
21685 (CFLAGS-msgrcv.c): Likewise.
21686 (CFLAGS-msgsnd.c): Likewise.
21687 (CFLAGS-tcdrain.c): Likewise.
21688 (CFLAGS-open.c): Likewise.
21689 (CFLAGS-open64.c): Likewise.
21690 (CFLAGS-pause.c): Likewise.
21691 (CFLAGS-recv.c): Likewise.
21692 (CFLAGS-send.c): Likewise.
21693 (CFLAGS-accept.c): Likewise.
21694 (CFLAGS-sendto.c): Likewise.
21695 (CFLAGS-connect.c): Likewise.
21696 (CFLAGS-recvfrom.c): Likewise.
21697 (CFLAGS-recvmsg.c): Likewise.
21698 (CFLAGS-sendmsg.c): Likewise.
21699 (CFLAGS-close.c): Likewise.
21700 (CFLAGS-read.c): Likewise.
21701 (CFLAGS-write.c): Likewise.
21702 (CFLAGS-nanosleep.c): Likewise.
21703 (CFLAGS-sigsuspend.c): Likewise.
21704 (CFLAGS-msync.c): Likewise.
21705 (CFLAGS-fdatasync.c): Likewise.
21706 (CFLAGS-fsync.c): Likewise.
21707 (CFLAGS-pt-system.c): Likewise.
21708 (CFLAGS-tst-cleanup2.c): Likewise.
21709 (CFLAGS-tst-cleanupx2.c): Likewise.
21710 (CFLAGS-flockfile.c): Likewise.
21711 (CFLAGS-ftrylockfile.c): Likewise.
21712 (CFLAGS-funlockfile.c): Likewise.
21713 (CFLAGS-tst-initializers1.c): Likewise.
21714 (CFLAGS-tst-initializers1-c89.c): Likewise.
21715 (CFLAGS-tst-initializers1-c99.c): Likewise.
21716 (CFLAGS-tst-initializers1-c11.c): Likewise.
21717 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21718 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21719 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21720 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21721 (CFLAGS-nscd_getgr_r.c): Likewise.
21722 (CFLAGS-nscd_gethst_r.c): Likewise.
21723 (CFLAGS-nscd_getai.c): Likewise.
21724 (CFLAGS-nscd_initgroups.c): Likewise.
21725 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21726 (CFLAGS-pause.c): Likewise.
21727 (CFLAGS-pread.c): Likewise.
21728 (CFLAGS-pread64.c): Likewise.
21729 (CFLAGS-pwrite.c): Likewise.
21730 (CFLAGS-pwrite64.c): Likewise.
21731 (CFLAGS-sleep.c): Likewise.
21732 (CFLAGS-wait.c): Likewise.
21733 (CFLAGS-waitid.c): Likewise.
21734 (CFLAGS-waitpid.c): Likewise.
21735 (CFLAGS-getopt.c): Likewise.
21736 (CFLAGS-wordexp.c): Likewise.
21737 (CFLAGS-sysconf.c): Likewise.
21738 (CFLAGS-pathconf.c): Likewise.
21739 (CFLAGS-fpathconf.c): Likewise.
21740 (CFLAGS-spawn.c): Likewise.
21741 (CFLAGS-spawnp.c): Likewise.
21742 (CFLAGS-spawni.c): Likewise.
21743 (CFLAGS-glob.c): Likewise.
21744 (CFLAGS-glob64.c): Likewise.
21745 (CFLAGS-getconf.c): Likewise.
21746 (CFLAGS-nanosleep.c): Likewise.
21747 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21748 (CFLAGS-getpwent.c): Likewise.
21749 (CFLAGS-getpw.c): Likewise.
21750 (CFLAGS-fgetpwent_r.c): Likewise.
21751 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21752 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21753 (CFLAGS-mq_timedreceive.c): Likewise.
21754 (CFLAGS-mq_timedsend.c): Likewise.
21755 (CFLAGS-clock_nanosleep.c): Likewise.
21756 (CFLAGS-librt-cancellation.c): Likewise.
21757 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21758 (CFLAGS-getspent.c): Likewise.
21759 (CFLAGS-fgetspent.c): Likewise.
21760 (CFLAGS-fgetspent_r.c): Likewise.
21761 (CFLAGS-putspent.c): Likewise.
21762 (CFLAGS-getspnam.c): Likewise.
21763 (CFLAGS-getspnam_r.c): Likewise.
21764 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21765 (CFLAGS-sigsuspend.c): Likewise.
21766 (CFLAGS-sigtimedwait.c): Likewise.
21767 (CFLAGS-sigwait.c): Likewise.
21768 (CFLAGS-sigwaitinfo.c): Likewise.
21769 (CFLAGS-sigreturn.c): Likewise.
21770 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21771 (CFLAGS-vfwprintf.c): Likewise.
21772 (CFLAGS-tmpfile.c): Likewise.
21773 (CFLAGS-tmpfile64.c): Likewise.
21774 (CFLAGS-tempname.c): Likewise.
21775 (CFLAGS-psignal.c): Likewise.
21776 (CFLAGS-vprintf.c): Likewise.
21777 (CFLAGS-cuserid.c): Likewise.
21778 (CFLAGS-errlist.c): Likewise.
21779 (CFLAGS-siglist.c): Likewise.
21780 (CFLAGS-scanf15.c): Likewise.
21781 (CFLAGS-scanf17.c): Likewise.
21782 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21783 (CFLAGS-msort.c): Likewise.
21784 (CFLAGS-qsort.c): Likewise.
21785 (CFLAGS-system.c): Likewise.
21786 (CFLAGS-fmtmsg.c): Likewise.
21787 (CFLAGS-strfmon.c): Likewise.
21788 (CFLAGS-strfmon_l.c): Likewise.
21789 (CFLAGS-strfromd.c): Likewise.
21790 (CFLAGS-strfromf.c): Likewise.
21791 (CFLAGS-strfroml.c): Likewise.
21792 (CFLAGS-tst-bsearch.c): Likewise.
21793 (CFLAGS-tst-qsort.c): Likewise.
21794 (CFLAGS-tst-makecontext2.c): Likewise.
21795 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21796 (CFLAGS-xnlm_prot.c): Likewise.
21797 (CFLAGS-xrstat.c): Likewise.
21798 (CFLAGS-xyppasswd.c): Likewise.
21799 (CFLAGS-xklm_prot.c): Likewise.
21800 (CFLAGS-xrex.c): Likewise.
21801 (CFLAGS-xsm_inter.c): Likewise.
21802 (CFLAGS-xmount.c): Likewise.
21803 (CFLAGS-xrusers.c): Likewise.
21804 (CFLAGS-xspray.c): Likewise.
21805 (CFLAGS-xnfs_prot.c): Likewise.
21806 (CFLAGS-xrquota.c): Likewise.
21807 (CFLAGS-xkey_prot.c): Likewise.
21808 (CFLAGS-auth_unix.c): Likewise.
21809 (CFLAGS-key_call.c): Likewise.
21810 (CFLAGS-pmap_rmt.c): Likewise.
21811 (CFLAGS-clnt_perr.c): Likewise.
21812 (CFLAGS-openchild.c): Likewise.
21813 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21814 (CFLAGS-msgsnd.c): Likewise.
21815 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21816 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21817 (CFLAGS-tzset.c): Likewise.
21818 (CFLAGS-getdate.c): Likewise.
21819 (CFLAGS-test_time.c): Likewise.
21820 (CPPFLAGS-tst-tzname.c): Likewise.
21821 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21822 (CFLAGS-zic.c): Likewise.
21823 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21824 (CFLAGS-wcswidth.c): Likewise.
21825 (CFLAGS-wcstol.c): Likewise.
21826 (CFLAGS-wcstoul.c): Likewise.
21827 (CFLAGS-wcstoll.c): Likewise.
21828 (CFLAGS-wcstoull.c): Likewise.
21829 (CFLAGS-wcstod.c): Likewise.
21830 (CFLAGS-wcstold.c): Likewise.
21831 (CFLAGS-wcstof128.c): Likewise.
21832 (CFLAGS-wcstof.c): Likewise.
21833 (CFLAGS-wcstol_l.c): Likewise.
21834 (CFLAGS-wcstoul_l.c): Likewise.
21835 (CFLAGS-wcstoll_l.c): Likewise.
21836 (CFLAGS-wcstoull_l.c): Likewise.
21837 (CFLAGS-wcstod_l.c): Likewise.
21838 (CFLAGS-wcstold_l.c): Likewise.
21839 (CFLAGS-wcstof128_l.c): Likewise.
21840 (CFLAGS-wcstof_l.c): Likewise.
21841 (CPPFLAGS-tst-wchar-h.c): Likewise.
21842 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 21843
f4b2aea6
PC
218442017-12-11 Paul A. Clarke <pc@us.ibm.com>
21845
21846 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21847
c9cd7b0c
AZ
218482017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21849 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21850
21851 * manual/tunables.texi (Hardware Capability Tunables): Document
21852 glibc.tune.cached_memopt.
21853 * sysdeps/powerpc/cpu-features.c: New file.
21854 * sysdeps/powerpc/cpu-features.h: New file.
21855 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21856 _dl_powerpc_cpu_features.
21857 * sysdeps/powerpc/dl-tunables.list: New file.
21858 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21859 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21860 (INIT_ARCH): Initialize use_aligned_memopt.
21861 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21862 IS_IN(rtld))]: Restrict dl_platform_init availability and
21863 initialize CPU features used by tunables.
21864 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21865 Add memcpy-power8-cached.
21866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21867 __memcpy_power8_cached.
21868 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21869 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21870 New file.
21871
e70c6fee
L
218722017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21873
21874 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21875 (CFLAGS-noinl-tester.c): Likewise.
21876 (CFLAGS-tst-strlen.c): Likewise.
21877 (CFLAGS-stratcliff.c): Likewise.
21878 (CFLAGS-test-ffs.c): Likewise.
21879 (CFLAGS-tst-inlcall.c): Likewise.
21880 (CFLAGS-tst-xbzero-opt.c): Likewise.
21881 (CFLAGS-memcpy.c): Likewise.
21882 (CFLAGS-wordcopy.c): Likewise.
21883
dee94366
SL
218842017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21885
21886 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21887 Store r15 on stack and add cfi rule.
21888 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21889 Likewise.
21890
363e4519 218912017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
21892
21893 [BZ #22577]
21894 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21895 call.
21896
9d0ffa60
L
218972017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21898
21899 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21900 Add s_sinf-sse2 and s_sinf-fma.
21901 (CFLAGS-s_sinf-fma.c): New.
21902 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21903 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21904 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21905
9574c7b6
L
219062017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21907
21908 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21909
d15e83c5
JM
219102017-12-07 Joseph Myers <joseph@codesourcery.com>
21911
21912 [BZ #22568]
21913 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21914 part of result to imaginary part of argument if it is zero and the
21915 real part of the argument is not finite.
21916 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21917 of result to real part of argument if it is zero and the imaginary
21918 part of the argument is not finite.
21919
d89756eb
MF
219202017-12-07 Mike FABIAN <mfabian@redhat.com>
21921
21922 [BZ #22524]
21923 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21924 and to the list of locales to be built for testing.
21925 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21926 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21927 and build the collation rules upon that.
21928
1f9055ce
JM
219292017-12-07 Joseph Myers <joseph@codesourcery.com>
21930
21931 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21932 * manual/math.texi (Mathematics): Document support for _Float32.
21933 * math/Makefile (test-types): Add float32.
21934 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21935 * stdlib/Versions (GLIBC_2.27): Likewise.
21936 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21937 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21938 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21939 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21940 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21941 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21942 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21943 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21944 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21945 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21946 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21947 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21948 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21949 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21950 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21951 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21952 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21953 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21954 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21955 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21956 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21957 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21958 Likewise.
21959 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21960 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21961 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21962 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21963 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21965 Likewise.
21966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21967 Likewise.
21968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21969 Likewise.
21970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21971 Likewise.
21972
21973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21974 Likewise.
21975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21976 Likewise.
21977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21978 Likewise.
21979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21980 Likewise.
21981 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21982 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21983 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21984 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21985 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21986 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21987 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21988 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21989 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21990 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21992 Likewise.
21993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21994 Likewise.
21995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21996 Likewise.
21997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21998 Likewise.
21999 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22000 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22001 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22002 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22003 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22004 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22005 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22006 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22007
5244527d
JM
220082017-12-06 Joseph Myers <joseph@codesourcery.com>
22009
fb1ca2aa
JM
22010 * stdlib/strtof.c: Include <bits/floatn.h>
22011 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22012 and later undefine as macro. Define as weak alias if
22013 [!USE_WIDE_CHAR].
22014 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22015 and later undefine as macro. Define as weak alias if
22016 [USE_WIDE_CHAR].
22017 * stdlib/strtof_l.c: Include <bits/floatn.h>
22018 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22019 and later undefine as macro. Define as weak alias if
22020 [!USE_WIDE_CHAR].
22021 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22022 and later undefine as macro. Define as weak alias if
22023 [USE_WIDE_CHAR].
22024
fc10cc3f
JM
22025 * stdlib/strfromf.c: Include <bits/floatn.h>.
22026 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22027 and later undefine as macro and define as weak alias.
22028
e420d228
JM
22029 * math/test-float32.h: New file.
22030
26007a2f
JM
22031 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22032 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22033 (libm_alias_float_other_r): Create f32 alias.
22034 (libm_alias_float_r): Use semicolon before call to
22035 libm_alias_float_other_r.
22036
c191f64c
JM
22037 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22038 second argument to libm_alias_float_other.
22039 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22040 second argument to libm_alias_float_other.
22041 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22042 argument to libm_alias_float_other.
22043
5244527d
JM
22044 [BZ #22561]
22045 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22046 real part of result for argument 0 + i * NaN.
22047 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22048 results for tests of 0 + i * NaN.
22049
d73fac82
AZ
220502017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22051
22052 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22053
7ec094e8
DM
220542017-12-06 David S. Miller <davem@davemloft.net>
22055
22056 * sysdeps/sparc/fpu/libm-test-ulps: Update
22057 exp_{downward,towardzero,upward} ulps.
22058
53994f12
JM
220592017-12-06 Joseph Myers <joseph@codesourcery.com>
22060
1dbe6f64
JM
22061 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22062 variables static.
22063
53994f12
JM
22064 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22065 (Y0_2D): Likewise.
22066 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22067 (Y0_2D): Likewise.
22068 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22069 (Y0_2D): Likewise.
22070 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22071 (Y0_2D): Likewise.
22072
62ea2193
MF
220732017-12-06 Mike FABIAN <mfabian@redhat.com>
22074
22075 [BZ #22515]
22076 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22077 and to the list of locales to be built for testing.
22078 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22079 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22080 and build the collation rules upon that.
22081
87235d70
RS
220822017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22083
22084 * NEWS: Add sinf to list of optimized functions.
22085
0d93b7fd
JM
220862017-12-06 Joseph Myers <joseph@codesourcery.com>
22087
22088 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22089 (__HAVE_FLOAT32X): Likewise.
22090 * manual/math.texi (Mathematics): Document support for _Float64
22091 and _Float32x.
22092 * math/Makefile (test-types): Add float64 and float32x.
22093 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22094 functions.
22095 * stdlib/Versions (GLIBC_2.27): Likewise.
22096 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22097 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22098 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22099 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22100 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22101 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22102 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22103 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22104 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22105 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22106 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22107 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22108 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22109 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22110 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22111 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22112 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22113 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22114 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22115 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22116 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22117 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22118 Likewise.
22119 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22120 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22121 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22122 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22123 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22125 Likewise.
22126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22127 Likewise.
22128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22129 Likewise.
22130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22131 Likewise.
22132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22133 Likewise.
22134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22135 Likewise.
22136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22137 Likewise.
22138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22139 Likewise.
22140 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22141 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22142 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22143 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22144 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22145 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22146 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22147 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22148 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22149 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22151 Likewise.
22152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22153 Likewise.
22154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22155 Likewise.
22156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22157 Likewise.
22158 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22159 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22160 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22161 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22162 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22163 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22164 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22165 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22166
f7787234
JM
221672017-12-05 Joseph Myers <joseph@codesourcery.com>
22168
22169 * bits/floatn-common.h: Include <bits/long-double.h>.
22170 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22171 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22172 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22173 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22174 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22175 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22176 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22177 (__builtin_huge_valf64): Use __builtin_huge_vall.
22178 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22179 (__builtin_inff64): Use __builtin_infl.
22180 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22181 (__builtin_nanf64): Use __builtin_nanl.
22182 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22183 (__builtin_nansf64): Use __builtin_nansl.
22184
363e4519
DL
221852017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22186 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 22187 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
22188
22189 * elf/dl-tunables.list: Add elision parameters.
22190 * manual/tunables.texi: Add entries about elision tunable.
22191 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22192 Add callback functions to dynamically enable/disable elision.
22193 Add multiple callbacks functions to set elision parameters.
22194 Deleted __libc_enable_secure check.
22195 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22196 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22197 * configure: Regenerated.
22198 * configure.ac: Option enable_lock_elision was deleted.
22199 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22200 * config.make.in: Remove references to enable_lock_elision.
22201 * manual/install.texi: Elision configure option was removed.
22202 * INSTALL: Regenerated to remove enable_lock_elision.
22203 * nptl/Makefile:
22204 Disable elision so it can verify error case for destroying a mutex.
22205 * sysdeps/powerpc/nptl/elide.h:
22206 Cleanup ENABLE_LOCK_ELISION check.
22207 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22208 * sysdeps/s390/configure: Regenerated.
22209 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22210 * nptl/tst-mutex8.c:
22211 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22212 * sysdeps/powerpc/powerpc32/sysdep.h:
22213 Deleted all ENABLE_LOCK_ELISION checks.
22214 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22215 * sysdeps/powerpc/sysdep.h: Likewise.
22216 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22217 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22218 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22219 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22220 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22221 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22222 enable-lock-elision.
22223
a5a2a76b
JM
222242017-12-05 Joseph Myers <joseph@codesourcery.com>
22225
22226 * stdlib/strtod.c: Include <bits/floatn.h>.
22227 (BUILD_DOUBLE): New macro.
22228 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22229 (strtof64): Define and later undefine as macro. Define as weak
22230 alias if [!USE_WIDE_CHAR].
22231 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22232 (wcstof64): Define and later undefine as macro. Define as weak
22233 alias if [USE_WIDE_CHAR].
22234 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22235 (strtof32x): Define and later undefine as macro. Define as weak
22236 alias if [!USE_WIDE_CHAR].
22237 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22238 (wcstof32x): Define and later undefine as macro. Define as weak
22239 alias if [USE_WIDE_CHAR].
22240 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22241 (BUILD_DOUBLE): New macro.
22242 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22243 (strtof64_l): Define and later undefine as macro. Define as weak
22244 alias if [!USE_WIDE_CHAR].
22245 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22246 (wcstof64_l): Define and later undefine as macro. Define as weak
22247 alias if [USE_WIDE_CHAR].
22248 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22249 (strtof32x_l): Define and later undefine as macro. Define as weak
22250 alias if [!USE_WIDE_CHAR].
22251 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22252 (wcstof32x_l): Define and later undefine as macro. Define as weak
22253 alias if [USE_WIDE_CHAR].
22254
94d80dfc
AZ
222552017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22256
22257 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22258 (reduced): Use ones as double instead of integer.
22259
00d54af7
SN
222602017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22261
22262 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22263
f2d64d62
JM
222642017-12-05 Joseph Myers <joseph@codesourcery.com>
22265
1f70eae4
JM
22266 * stdlib/strfromd.c: Include <bits/floatn.h>.
22267 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22268 and later undefine as macro and define as weak alias.
22269 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22270 Likewise.
22271
e2c4dce5
JM
22272 * math/test-float32x.h: New file.
22273 * math/test-float64.h: Likewise.
22274
f2d64d62
JM
22275 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22276 (libm_alias_double_other_r_f64): New macro.
22277 (libm_alias_double_other_r_f32x): Likewise.
22278 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22279 libm_alias_double_other_r_f32x.
22280 (libm_alias_double_r): Use semicolon before call to
22281 libm_alias_double_other_r.
22282 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22283 <bits/floatn.h>.
22284 (libm_alias_double_other_r_f64): New macro.
22285 (libm_alias_double_other_r_f32x): Likewise.
22286 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22287 libm_alias_double_other_r_f32x.
22288
91c318e7
L
222892017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22290
22291 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22292 int.
22293 (SINF_FUNC): Likewise. Replace floor with simple casts.
22294
de9661d6
MF
222952017-12-05 Mike FABIAN <mfabian@redhat.com>
22296
22297 [BZ #22517]
22298 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22299 and to the list of locales to be built for testing.
22300 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22301 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22302 and build the collation rules upon that.
22303
f18b8dc7
CM
223042017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22305
22306 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22307 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22308 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22309 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22310 instead of __insn__xxx.
22311 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22312 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22313 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22314 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22315 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22316 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22317
446d22e9
FW
223182017-12-05 Florian Weimer <fweimer@redhat.com>
22319
22320 Linux: Implement interfaces for memory protection keys
22321 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22322 xsignal, xsysconf.
22323 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22324 * support/xunistd.h (xsysconf): Declare.
22325 * support/xraise.c: New file.
22326 * support/xsigaction.c: Likewise.
22327 * support/xsignal.c: Likewise.
22328 * support/xsysconf.c: Likewise.
22329 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22330 pkey_set, pkey_get, pkey_mprotect.
22331 [misc] (tests): Add tst-pkey.
22332 (tst-pkey): Link with -lpthread.
22333 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22334 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22335 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22336 (PKEY_DISABLE_WRITE): Define.
22337 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22338 Declare.
22339 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22340 (SEGV_PKUERR): Add.
22341 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22342 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22343 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22344 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22345 Add.
22346 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22347 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22348 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22349 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22350 * sysdeps/unix/sysv/linux/**.abilist: Update.
22351
da616c14
FW
223522017-12-05 Florian Weimer <fweimer@redhat.com>
22353
22354 * support/tst-test_compare.c (subprocess): Use long long instead
22355 of long argument for consistent type width across 32-bit and
22356 64-bit architectures.
22357 (do_test): Adjust expected output.
22358
216933b2
JM
223592017-12-05 Joseph Myers <joseph@codesourcery.com>
22360
22361 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22362 (cosf): Define using libm_alias_float.
22363 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22364 (fabsf): Define using libm_alias_float.
22365 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22366 (fmaf): Define using libm_alias_float.
22367 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22368 (rintf): Define using libm_alias_float.
22369 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22370 (sinf): Define using libm_alias_float.
22371 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22372 <libm-alias-float.h>.
22373 (modff): Define using libm_alias_float.
22374 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22375 <libm-alias-float.h>.
22376 (logbf): Define using libm_alias_float.
22377 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22378 <libm-alias-float.h>.
22379 (ceilf): Define using libm_alias_float.
22380 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22381 <libm-alias-float.h>.
22382 (copysignf): Define using libm_alias_float.
22383 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22384 <libm-alias-float.h>.
22385 (floorf): Define using libm_alias_float.
22386 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22387 <libm-alias-float.h>.
22388 (llrintf): Define using libm_alias_float.
22389 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22390 <libm-alias-float.h>.
22391 (llroundf): Define using libm_alias_float.
22392 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22393 <libm-alias-float.h>.
22394 (lrintf): Define using libm_alias_float.
22395 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22396 <libm-alias-float.h>.
22397 (lroundf): Define using libm_alias_float.
22398 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22399 <libm-alias-float.h>.
22400 (nearbyintf): Define using libm_alias_float.
22401 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22402 <libm-alias-float.h>.
22403 (rintf): Define using libm_alias_float.
22404 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22405 <libm-alias-float.h>.
22406 (roundf): Define using libm_alias_float.
22407 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22408 <libm-alias-float.h>.
22409 (truncf): Define using libm_alias_float.
22410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22411 Include <libm-alias-float.h>.
22412 (ceilf): Define using libm_alias_float.
22413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22414 Include <libm-alias-float.h>.
22415 (copysignf): Define using libm_alias_float.
22416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22417 Include <libm-alias-float.h>.
22418 (floorf): Define using libm_alias_float.
22419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22420 Include <libm-alias-float.h>.
22421 (llrintf): Define using libm_alias_float.
22422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22423 Include <libm-alias-float.h>.
22424 (llroundf): Define using libm_alias_float.
22425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22426 Include <libm-alias-float.h>.
22427 (logbf): Define using libm_alias_float.
22428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22429 Include <libm-alias-float.h>.
22430 (lrintf): Define using libm_alias_float.
22431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22432 Include <libm-alias-float.h>.
22433 (lroundf): Define using libm_alias_float.
22434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22435 Include <libm-alias-float.h>.
22436 (modff): Define using libm_alias_float.
22437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22438 Include <libm-alias-float.h>.
22439 (roundf): Define using libm_alias_float.
22440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22441 Include <libm-alias-float.h>.
22442 (truncf): Define using libm_alias_float.
22443 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22444 <libm-alias-float.h>.
22445 (llrintf): Define using libm_alias_float.
22446 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22447 <libm-alias-float.h>.
22448 (llroundf): Define using libm_alias_float.
22449 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22450 <libm-alias-float.h>.
22451 (ceilf): Define using libm_alias_float.
22452 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22453 <libm-alias-float.h>.
22454 (floorf): Define using libm_alias_float.
22455 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22456 <libm-alias-float.h>.
22457 (llroundf): Define using libm_alias_float.
22458 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22459 <libm-alias-float.h>.
22460 (lroundf): Define using libm_alias_float.
22461 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22462 <libm-alias-float.h>.
22463 (roundf): Define using libm_alias_float.
22464 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22465 <libm-alias-float.h>.
22466 (truncf): Define using libm_alias_float.
22467 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22468 <libm-alias-float.h>.
22469 (copysignf): Define using libm_alias_float.
22470 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22471 <libm-alias-float.h>.
22472 (llrintf): Define using libm_alias_float.
22473 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22474 <libm-alias-float.h>.
22475 (llroundf): Define using libm_alias_float.
22476 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22477 <libm-alias-float.h>.
22478 (lrintf): Define using libm_alias_float.
22479 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22480 <libm-alias-float.h>.
22481 (lroundf): Define using libm_alias_float.
22482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22483 <libm-alias-float.h>.
22484 (ceilf): Define using libm_alias_float.
22485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22486 <libm-alias-float.h>.
22487 (copysignf): Define using libm_alias_float.
22488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22489 <libm-alias-float.h>.
22490 (cosf): Define using libm_alias_float.
22491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22492 <libm-alias-float.h>.
22493 (floorf): Define using libm_alias_float.
22494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22495 <libm-alias-float.h>.
22496 (llrintf): Define using libm_alias_float.
22497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22498 <libm-alias-float.h>.
22499 (llroundf): Define using libm_alias_float.
22500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22501 <libm-alias-float.h>.
22502 (logbf): Define using libm_alias_float.
22503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22504 <libm-alias-float.h>.
22505 (modff): Define using libm_alias_float.
22506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22507 <libm-alias-float.h>.
22508 (roundf): Define using libm_alias_float.
22509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22510 <libm-alias-float.h>.
22511 (sinf): Define using libm_alias_float.
22512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22513 <libm-alias-float.h>.
22514 (truncf): Define using libm_alias_float.
22515 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22516 <libm-alias-float.h>.
22517 (ceilf): Define using libm_alias_float.
22518 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22519 <libm-alias-float.h>.
22520 (copysignf): Define using libm_alias_float.
22521 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22522 <libm-alias-float.h>.
22523 (floorf): Define using libm_alias_float.
22524 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22525 <libm-alias-float.h>.
22526 (llrintf): Define using libm_alias_float.
22527 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22528 <libm-alias-float.h>.
22529 (llroundf): Define using libm_alias_float.
22530 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22531 <libm-alias-float.h>.
22532 (nearbyintf): Define using libm_alias_float.
22533 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22534 <libm-alias-float.h>.
22535 (rintf): Define using libm_alias_float.
22536 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22537 <libm-alias-float.h>.
22538 (roundf): Define using libm_alias_float.
22539 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22540 <libm-alias-float.h>.
22541 (truncf): Define using libm_alias_float.
22542 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22543 <libm-alias-float.h>.
22544 (ceilf): Define using libm_alias_float.
22545 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22546 <libm-alias-float.h>.
22547 (floorf): Define using libm_alias_float.
22548 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22549 <libm-alias-float.h>.
22550 (llroundf): Define using libm_alias_float.
22551 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22552 <libm-alias-float.h>.
22553 (roundf): Define using libm_alias_float.
22554 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22555 <libm-alias-float.h>.
22556 (truncf): Define using libm_alias_float.
22557 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22558 <libm-alias-float.h>.
22559 (copysignf): Define using libm_alias_float.
22560 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22561 <libm-alias-float.h>.
22562 (llrintf): Define using libm_alias_float.
22563 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22564 <libm-alias-float.h>.
22565 (llroundf): Define using libm_alias_float.
22566 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22567 <libm-alias-float.h>.
22568 (cosf): Define using libm_alias_float.
22569 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22570 <libm-alias-float.h>.
22571 (llrintf): Define using libm_alias_float.
22572 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22573 <libm-alias-float.h>.
22574 (llroundf): Define using libm_alias_float.
22575 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22576 <libm-alias-float.h>.
22577 (sinf): Define using libm_alias_float.
22578
93485524
FW
225792017-12-04 Florian Weimer <fweimer@redhat.com>
22580
22581 * support/check.h (TEST_COMPARE): Define.
22582 (support_test_compare_failure): Declare.
22583 * support/Makefile (libsupport-routines): Add
22584 support_test_compare_failure.
22585 (tests): Add tst-test_compare.
22586 * support /support_test_compare_failure.c: New file.
22587 * support/tst-test_compare.c: Likewise.
22588
96b06a19
MF
225892017-12-04 Mike FABIAN <mfabian@redhat.com>
22590
22591 [BZ #22527]
22592 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22593 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22594 available, this rewrite of the collation rules does reproduce
22595 the test file in the same order.
22596
1f6d91f3
MF
225972017-12-04 Mike FABIAN <mfabian@redhat.com>
22598
22599 [BZ #10580]
22600 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22601 digraphs in the month and day names. Using single code points for
22602 digraphs is deprecated. While there are dedicated Unicode
22603 codepoints, for the digraphs, these are included for backwards
22604 compatibility and modern texts use a sequence of Basic Latin
22605 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22606 This makes the month and day names agree exactly with CLDR now,
22607 CLDR does not use the single code points for the digraphs either.
22608
2e49fed8
CM
226092017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22610
22611 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22612
73895b49
JM
226132017-12-04 Joseph Myers <joseph@codesourcery.com>
22614
22615 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22616 of floor.
22617
4c1d801a
SP
226182017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22619
22620 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22621 Define only for libc.so.
22622
478593e6
SL
226232017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22624
22625 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22626 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 22627 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
22628 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22629 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22630
7863a711
RS
226312017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22632
22633 [BZ #5997]
22634 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22635
800a496a
JDA
226362017-12-02 John David Anglin <danglin@gcc.gnu.org>
22637
b3f7fb12
JDA
22638 [BZ libc/19170]
22639 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22640 PREINIT_FUNCTION_WEAK is nonzero.
22641 (gmon_initializer): New function. Put procedure label for it in
22642 .init_array section.
22643 (_init): Don't call PREINIT_FUNCTION.
22644 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22645 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22646 value when map argument is null.
22647
800a496a
JDA
22648 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22649 depi instruction from PIC pc-relative sequence.
22650 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22651 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22652 (elf_machine_load_address): Likewise.
22653 (elf_machine_runtime_setup): Likewise.
22654
d17542d2
JM
226552017-12-02 Joseph Myers <joseph@codesourcery.com>
22656
22657 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22658 <libm-alias-double.h>.
22659 (logb): Define using libm_alias_double.
22660 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22661 <libm-alias-double.h>.
22662 (copysign): Define using libm_alias_double.
22663 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22664 <libm-alias-double.h>.
22665 (llrint): Define using libm_alias_double.
22666 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22667 <libm-alias-double.h>.
22668 (llround): Define using libm_alias_double.
22669 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22670 <libm-alias-double.h>.
22671 (lrint): Define using libm_alias_double.
22672 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22673 <libm-alias-double.h>.
22674 (lround): Define using libm_alias_double.
22675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22676 Include <libm-alias-double.h>.
22677 (copysign): Define using libm_alias_double.
22678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22679 Include <libm-alias-double.h>.
22680 (llrint): Define using libm_alias_double.
22681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22682 Include <libm-alias-double.h>.
22683 (llround): Define using libm_alias_double.
22684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22685 <libm-alias-double.h>.
22686 (logb): Define using libm_alias_double.
22687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22688 Include <libm-alias-double.h>.
22689 (lrint): Define using libm_alias_double.
22690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22691 Include <libm-alias-double.h>.
22692 (lround): Define using libm_alias_double.
22693 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22694 <libm-alias-double.h>.
22695 (llrint): Define using libm_alias_double.
22696 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22697 <libm-alias-double.h>.
22698 (llround): Define using libm_alias_double.
22699 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22700 <libm-alias-double.h>.
22701 (llround): Define using libm_alias_double.
22702 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22703 <libm-alias-double.h>.
22704 (lround): Define using libm_alias_double.
22705 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22706 <libm-alias-double.h>.
22707 (copysign): Define using libm_alias_double.
22708 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22709 <libm-alias-double.h>.
22710 (llrint): Define using libm_alias_double.
22711 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22712 <libm-alias-double.h>.
22713 (llround): Define using libm_alias_double.
22714 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22715 <libm-alias-double.h>.
22716 (lrint): Define using libm_alias_double.
22717 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22718 <libm-alias-double.h>.
22719 (lround): Define using libm_alias_double.
22720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22721 <libm-alias-double.h>.
22722 (copysign): Define using libm_alias_double.
22723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22724 <libm-alias-double.h>.
22725 (llrint): Define using libm_alias_double.
22726 (lrint): Likewise.
22727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22728 <libm-alias-double.h>.
22729 (llround): Define using libm_alias_double.
22730 (lround): Likewise.
22731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22732 <libm-alias-double.h>.
22733 (logb): Define using libm_alias_double.
22734 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22735 <libm-alias-double.h>.
22736 (copysign): Define using libm_alias_double.
22737 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22738 <libm-alias-double.h>.
22739 (llrint): Define using libm_alias_double.
22740 (lrint): Likewise.
22741 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22742 <libm-alias-double.h>.
22743 (llround): Define using libm_alias_double.
22744 (lround): Likewise.
22745 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22746 <libm-alias-double.h>.
22747 (llround): Define using libm_alias_double.
22748 (lround): Likewise.
22749 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22750 <libm-alias-double.h>.
22751 (copysign): Define using libm_alias_double.
22752 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22753 <libm-alias-double.h>.
22754 (llrint): Define using libm_alias_double.
22755 (lrint): Likewise.
22756 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22757 <libm-alias-double.h>.
22758 (llround): Define using libm_alias_double.
22759 (lround): Likewise.
22760 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22761 <libm-alias-double.h>.
22762 (llrint): Define using libm_alias_double.
22763 (lrint): Likewise.
22764 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22765 <libm-alias-double.h>.
22766 (llround): Define using libm_alias_double.
22767 (lround): Likewise.
22768
ec2cf3f4
JM
227692017-12-01 Joseph Myers <joseph@codesourcery.com>
22770
0ddde474
JM
22771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22772 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22773 compat symbol based on llround.
22774
0d5ba561
JM
22775 * sysdeps/powerpc/power7/fpu/s_logb.c
22776 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22777 symbol based on __logb, not on logb.
22778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22779 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22781 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22782
51ea3b20
JM
22783 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22784 (rint): Define using libm_alias_double.
22785 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22786 <libm-alias-double.h>.
22787 (modf): Define using libm_alias_double.
22788 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22789 <libm-alias-double.h>.
22790 (ceil): Define using libm_alias_double.
22791 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22792 <libm-alias-double.h>.
22793 (floor): Define using libm_alias_double.
22794 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22795 <libm-alias-double.h>.
22796 (nearbyint): Define using libm_alias_double.
22797 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22798 <libm-alias-double.h>.
22799 (rint): Define using libm_alias_double.
22800 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22801 <libm-alias-double.h>.
22802 (round): Define using libm_alias_double.
22803 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22804 <libm-alias-double.h>.
22805 (trunc): Define using libm_alias_double.
22806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22807 <libm-alias-double.h>.
22808 (ceil): Define using libm_alias_double.
22809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22810 Include <libm-alias-double.h>.
22811 (floor): Define using libm_alias_double.
22812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22813 <libm-alias-double.h>.
22814 (modf): Define using libm_alias_double.
22815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22816 Include <libm-alias-double.h>.
22817 (round): Define using libm_alias_double.
22818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22819 Include <libm-alias-double.h>.
22820 (trunc): Define using libm_alias_double.
22821 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22822 <libm-alias-double.h>.
22823 (ceil): Define using libm_alias_double.
22824 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22825 <libm-alias-double.h>.
22826 (floor): Define using libm_alias_double.
22827 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22828 <libm-alias-double.h>.
22829 (round): Define using libm_alias_double.
22830 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22831 <libm-alias-double.h>.
22832 (trunc): Define using libm_alias_double.
22833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22834 <libm-alias-double.h>.
22835 (ceil): Define using libm_alias_double.
22836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22837 <libm-alias-double.h>.
22838 (floor): Define using libm_alias_double.
22839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22840 <libm-alias-double.h>.
22841 (modf): Define using libm_alias_double.
22842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22843 <libm-alias-double.h>.
22844 (round): Define using libm_alias_double.
22845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22846 <libm-alias-double.h>.
22847 (trunc): Define using libm_alias_double.
22848 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22849 <libm-alias-double.h>.
22850 (ceil): Define using libm_alias_double.
22851 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22852 <libm-alias-double.h>.
22853 (floor): Define using libm_alias_double.
22854 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22855 <libm-alias-double.h>.
22856 (nearbyint): Define using libm_alias_double.
22857 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22858 <libm-alias-double.h>.
22859 (rint): Define using libm_alias_double.
22860 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22861 <libm-alias-double.h>.
22862 (round): Define using libm_alias_double.
22863 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22864 <libm-alias-double.h>.
22865 (trunc): Define using libm_alias_double.
22866 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22867 <libm-alias-double.h>.
22868 (ceil): Define using libm_alias_double.
22869 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22870 <libm-alias-double.h>.
22871 (floor): Define using libm_alias_double.
22872 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22873 <libm-alias-double.h>.
22874 (round): Define using libm_alias_double.
22875 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22876 <libm-alias-double.h>.
22877 (trunc): Define using libm_alias_double.
22878
ec2cf3f4
JM
22879 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22880 (fabs): Define using libm_alias_double.
22881 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22882 (fma): Define using libm_alias_double.
22883 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22884 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22885 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22886 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22887
5b7bd975
AZ
228882017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22889
0594b13f
AZ
22890 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22891
dbdfcf3b
AZ
22892 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22893 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22894 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22895
5b7bd975
AZ
22896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22897 due redirect macro.
22898
ef9ecfa6
AS
228992017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22900
22901 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22902
5b4e5e78
AZ
229032017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22904
2a14526b
AZ
22905 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22906 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22907 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22908 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22909
dbeb74ef 22910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
22911 (libm-sysdep_routines): Add s_nearbyintf-generic and
22912 s_nearbyint-generic.
22913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22914 New file.
22915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22917 Likewise.
22918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22919 Likewise.
22920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22921 file.
22922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22923 Likewise.
22924
22925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
22926 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22928 file.
22929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22931 Likewise.
22932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22935
fa7ded96
AZ
22936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22937 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22939 file.
22940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22942 Likewise.
22943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22946
e240cf0e
AZ
22947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22948 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22950 file.
22951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22953 Likewise.
22954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22957
5b4e5e78
AZ
22958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22959 (sysdep_calls): New rule.
22960 (sysdep_routines): Use sysdep_calls as base.
22961 (libm-sysdep_routines): Add generic rule for symbols shared with
22962 libc. Add s_copysign-generic and s_copysign-generic objects.
22963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22964 New file.
22965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22967 Likewise.
22968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22971
d985adae
MF
229722017-12-01 Mike FABIAN <mfabian@redhat.com>
22973
22974 [BZ #22519]
22975 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22976 the list of locales to be built for testing.
22977 * localedata/is_IS.UTF-8.in: New file.
22978 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22979 on iso14651_t1.
22980
ff84a0e0
JM
229812017-12-01 Joseph Myers <joseph@codesourcery.com>
22982
22983 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22984 <libm-alias-float.h>.
22985 (fabsf): Define using libm_alias_float.
22986
ef5d8b43
L
229872017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22988
22989 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22990
c0535adf
JM
229912017-11-30 Joseph Myers <joseph@codesourcery.com>
22992
f938b397
JM
22993 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22994 <libm-alias-float.h>.
22995 (fabsf): Define using libm_alias_float.
22996 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22997 <libm-alias-float.h>.
22998 (lrintf): Define using libm_alias_float.
22999 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23000 <libm-alias-float.h>.
23001 (rintf): Define using libm_alias_float.
23002
2251fad0
JM
23003 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23004 <libm-alias-double.h>.
23005 (fabs): Define using libm_alias_double.
23006 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23007 <libm-alias-double.h>.
23008 (lrint): Define using libm_alias_double.
23009 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23010 <libm-alias-double.h>.
23011 (rint): Define using libm_alias_double.
23012
e53df1de
JM
23013 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23014 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23015 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23016 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23017 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23018 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23019 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23020 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23021 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23022 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23023 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23024 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23025 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23026 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23027 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23028 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23029 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23030 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23031 s_atan_template.c.
23032 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23033 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23034 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23035 s_ceil_template.c.
23036 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23037 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23038 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23039 s_cos_template.c.
23040 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23041 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23042 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23043 s_expm1_template.c.
23044 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23045 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23046 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23047 s_fabs_template.c.
23048 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23049 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23050 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23051 s_floor_template.c.
23052 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23053 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23054 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23055 s_frexp_template.c.
23056 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23057 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23058 s_lrint_template.c.
23059 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23060 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23061 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23062 s_modf_template.c.
23063 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23064 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23065 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23066 s_nearbyint_template.c.
23067 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23068 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23069 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23070 s_remquo_template.c.
23071 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23072 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23073 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23074 s_rint_template.c.
23075 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23076 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23077 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23078 s_sin_template.c.
23079 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23080 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23081 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23082 s_sincos_template.c.
23083 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23084 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23085 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23086 s_tan_template.c.
23087 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23088 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23089 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23090 s_tanh_template.c.
23091 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23092 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23093 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23094 s_trunc_template.c.
23095 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23096 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23097 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23098 s_atan.c instead of including s_atan.c.
23099 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23100 s_atanf.c instead of including s_atanf.c.
23101 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23102 s_atanl.c instead of including s_atanl.c.
23103 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23104 instead of s_atan.c.
23105 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23106 instead of s_atanf.c.
23107 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23108 instead of s_atanl.c.
23109
c0535adf
JM
23110 * scripts/update-copyrights: Do not handle intl/plural.c
23111 specially.
23112
1faaf703
JB
231132017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23114
23115 [BZ #22432]
23116 * configure.ac (BISON): Require to be present.
23117 * configure: Regenerated.
23118 * intl/Makefile (generated): Add plural.c.
23119 [$(BISON) != no]: Make code unconditional.
23120 (plural.c): Change rule to $(objpfx)plural.c.
23121 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23122 * intl/plural.c: Remove.
23123 * manual/install.texi (Tools for Compilation): Document bison as
23124 required.
23125 * INSTALL: Regenerated.
23126
faec6323
JM
231272017-11-30 Joseph Myers <joseph@codesourcery.com>
23128
bd6ea9ed
JM
23129 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23130 <libm-alias-double.h>.
23131 (llrint): Define using libm_alias_double.
23132 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23133 <libm-alias-float.h>.
23134 (llrintf): Define using libm_alias_float.
23135 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23136 <libm-alias-ldouble.h>.
23137 (llrintl): Define using libm_alias_ldouble.
23138
faec6323
JM
23139 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23140 declare_mgen_alias instead of weak_alias.
23141 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23142 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23143 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23144
023cade3
AZ
231452017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23146
9e2279a0
AZ
23147 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23148 Add add_n-generic.
23149 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23150 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23151 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23152
75f37c71
AZ
23153 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23154 Add submul_1-generic.
23155 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23156 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23157 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23158
b70cbbfc 23159 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
23160 Add addmul_1-generic.
23161 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23162 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23163 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23164
23165 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
23166 Add sub_n-generic.
23167 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23168 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23169 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23170
023cade3
AZ
23171 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23172 Add mul_1-generic.
23173 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23174 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23175 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23176
fbb5fd03
MF
231772017-11-30 Mike FABIAN <mfabian@redhat.com>
23178
23179 According to CLDR, collation rules for Serbian and Bosnian
23180 should be the same as for Croatian.
23181
23182 [BZ #22534]
23183 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23184 and to the list of locales to be built for testing.
23185 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23186 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23187 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23188 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23189
5e56e937
MF
231902017-11-30 Mike FABIAN <mfabian@redhat.com>
23191
23192 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23193 to make test case pass.
23194 * localedata/hr_HR.UTF-8.in: Add more test strings.
23195
cf4341ca
MF
231962017-11-30 Mike FABIAN <mfabian@redhat.com>
23197
23198 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23199
363e4519 232002017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
23201
23202 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23203 the list of locales to built for testing.
23204 * localedata/hr_HR.UTF-8.in: New file.
23205
363e4519 232062017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
23207
23208 [BZ #10580]
23209 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23210 iso14651_t1.
23211 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23212 CLDR (except use ligatures for the digraphs, CLDR does not use
23213 the ligatures), add first_workday, some fixes in the date and time
23214 formats.
23215 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23216 for Đ and đ.
23217 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23218 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23219 Add int_p_cs_precedes and int_n_cs_precedes.
23220 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23221 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23222 LC_MONETARY now).
23223 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23224 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23225 name_miss.
23226 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23227 and lang_lib. Change postal_fmt.
23228
f33632cc
L
232292017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23230
23231 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23232 <setjmp.h>.
23233 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23234 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23235 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23236 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23237 * sysdeps/generic/setjmpP.h: New file.
23238 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23239 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23240 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23241 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23242 Add jmp_buf-ssp.sym.
23243 (tests): Add tst-saved_mask-1.
23244
34697694
AS
232452017-11-30 Arjun Shankar <arjun@redhat.com>
23246
23247 [BZ #22375]
37ac8e63 23248 CVE-2017-17426
34697694
AS
23249 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23250 instead of request2size.
23251
3e5efdbd
JM
232522017-11-30 Joseph Myers <joseph@codesourcery.com>
23253
18305fba
JM
23254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23255 (__lllrint): Remove alias.
23256 (lllrint): Likewise.
23257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23258 (__lllrintf): Likewise.
23259 (lllrintf): Likewise.
23260
3e5efdbd
JM
23261 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23262 <libm-alias-float.h>.
23263 (copysignf): Define using libm_alias_float.
23264 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23265 <libm-alias-float.h>.
23266 (fabsf): Define using libm_alias_float.
23267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23268 Include <libm-alias-float.h>.
23269 (copysignf): Define using libm_alias_float.
23270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23271 <libm-alias-float.h>.
23272 (fabsf): Define using libm_alias_float.
23273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23274 <libm-alias-float.h>.
23275 (fdimf): Define using libm_alias_float.
23276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23277 <libm-alias-float.h>.
23278 (fmaf): Define using libm_alias_float.
23279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23280 <libm-alias-float.h>.
23281 (llrintf): Define using libm_alias_float.
23282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23283 Include <libm-alias-float.h>.
23284 (nearbyintf): Define using libm_alias_float.
23285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23286 <libm-alias-float.h>.
23287 (rintf): Define using libm_alias_float.
23288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23289 <libm-alias-float.h>.
23290 (llrintf): Define using libm_alias_float.
23291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23292 <libm-alias-float.h>.
23293 (lrintf): Define using libm_alias_float.
23294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23295 <libm-alias-float.h>.
23296 (nearbyintf): Define using libm_alias_float.
23297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23298 <libm-alias-float.h>.
23299 (rintf): Define using libm_alias_float.
23300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23301 <libm-alias-float.h>.
23302 (ceilf): Define using libm_alias_float.
23303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23304 <libm-alias-float.h>.
23305 (floorf): Define using libm_alias_float.
23306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23307 <libm-alias-float.h>.
23308 (fmaf): Define using libm_alias_float.
23309 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23310 <libm-alias-float.h>.
23311 (lrintf): Define using libm_alias_float.
23312 (llrintf): Likewise.
23313 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23314 <libm-alias-float.h>.
23315 (nearbyintf): Define using libm_alias_float.
23316 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23317 <libm-alias-float.h>.
23318 (rintf): Define using libm_alias_float.
23319 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23320 <libm-alias-float.h>.
23321 (truncf): Define using libm_alias_float.
23322 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23323 <libm-alias-float.h>.
23324 (copysignf): Define using libm_alias_float.
23325 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23326 <libm-alias-float.h>.
23327 (fabsf): Define using libm_alias_float.
23328 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23329 <libm-alias-float.h>.
23330 (lrintf): Define using libm_alias_float.
23331 (llrintf): Likewise.
23332 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23333 <libm-alias-float.h>.
23334 (nearbyintf): Define using libm_alias_float.
23335 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23336 <libm-alias-float.h>.
23337 (rintf): Define using libm_alias_float.
23338
011fba7e
JM
233392017-11-29 Joseph Myers <joseph@codesourcery.com>
23340
875cd548
JM
23341 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23342 <libm-alias-double.h>.
23343 (copysign): Define using libm_alias_double.
23344 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23345 <libm-alias-double.h>.
23346 (fabs): Define using libm_alias_double.
23347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23348 Include <libm-alias-double.h>.
23349 (copysign): Define using libm_alias_double.
23350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23351 <libm-alias-double.h>.
23352 (fabs): Define using libm_alias_double.
23353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23354 <libm-alias-double.h>.
23355 (fdim): Define using libm_alias_double.
23356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23357 <libm-alias-double.h>.
23358 (fma): Define using libm_alias_double.
23359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23360 <libm-alias-double.h>.
23361 (llrint): Define using libm_alias_double.
23362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23363 Include <libm-alias-double.h>.
23364 (nearbyint): Define using libm_alias_double.
23365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23366 <libm-alias-double.h>.
23367 (rint): Define using libm_alias_double.
23368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23369 <libm-alias-double.h>.
23370 (fabs): Define using libm_alias_double.
23371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23372 <libm-alias-double.h>.
23373 (llrint): Define using libm_alias_double.
23374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23375 <libm-alias-double.h>.
23376 (nearbyint): Define using libm_alias_double.
23377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23378 <libm-alias-double.h>.
23379 (rint): Define using libm_alias_double.
23380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23381 <libm-alias-double.h>.
23382 (ceil): Define using libm_alias_double.
23383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23384 <libm-alias-double.h>.
23385 (floor): Define using libm_alias_double.
23386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23387 <libm-alias-double.h>.
23388 (fma): Define using libm_alias_double.
23389 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23390 <libm-alias-double.h>.
23391 (lrint): Define using libm_alias_double.
23392 (llrint): Likewise.
23393 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23394 <libm-alias-double.h>.
23395 (nearbyint): Define using libm_alias_double.
23396 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23397 <libm-alias-double.h>.
23398 (rint): Define using libm_alias_double.
23399 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23400 <libm-alias-double.h>.
23401 (trunc): Define using libm_alias_double.
23402 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23403 <libm-alias-double.h>.
23404 (copysign): Define using libm_alias_double.
23405 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23406 <libm-alias-double.h>.
23407 (fabs): Define using libm_alias_double.
23408 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23409 <libm-alias-double.h>.
23410 (lrint): Define using libm_alias_double.
23411 (llrint): Likewise.
23412 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23413 <libm-alias-double.h>.
23414 (nearbyint): Define using libm_alias_double.
23415 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23416 <libm-alias-double.h>.
23417 (rint): Define using libm_alias_double.
23418
cf4ebc27
JM
23419 [BZ #22229]
23420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23421 <math_ldbl_opt.h>.
23422 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23423
0c097378
JM
23424 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23425 SPARC --disable-multi-arch glibc variants.
23426
34bb10aa
JM
23427 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23428 <libm-alias-float.h>.
23429 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23430 if [SHARED].
23431 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23432 <libm-alias-float.h>.
23433 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23434 if [SHARED].
23435 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23436 <libm-alias-float.h>.
23437 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23438 if [SHARED].
23439 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23440 <libm-alias-float.h>.
23441 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23442 if [SHARED].
23443 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23444 <libm-alias-float.h>.
23445 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23446 if [SHARED].
23447 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23448 <libm-alias-float.h>.
23449 (ceilf): Define using libm_alias_float.
23450 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23451 <libm-alias-float.h>.
23452 (floorf): Define using libm_alias_float.
23453 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23454 <libm-alias-float.h>.
23455 (fmaf): Define using libm_alias_float.
23456 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23457 <libm-alias-float.h>.
23458 (nearbyintf): Define using libm_alias_float.
23459 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23460 <libm-alias-float.h>.
23461 (rintf): Define using libm_alias_float.
23462 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23463 <libm-alias-float.h>.
23464 (truncf): Define using libm_alias_float.
23465 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23466 (copysignf): Define using libm_alias_float.
23467 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23468 (cosf): Define using libm_alias_float.
23469 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23470 (fabsf): Define using libm_alias_float.
23471 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23472 (fmaxf): Define using libm_alias_float.
23473 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23474 (fminf): Define using libm_alias_float.
23475 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23476 (llrintf): Define using libm_alias_float.
23477 [!__ILP32__] (lrintf): Likewise.
23478 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23479 (sincosf): Define using libm_alias_float.
23480 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23481 (sinf): Define using libm_alias_float.
23482 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23483 (lrintf): Define using libm_alias_float.
23484
011fba7e
JM
23485 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23486 <libm-alias-double.h>.
23487 (atan): Define using libm_alias_double.
23488 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23489 <libm-alias-double.h>.
23490 (ceil): Define using libm_alias_double.
23491 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23492 <libm-alias-double.h>.
23493 (floor): Define using libm_alias_double.
23494 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23495 <libm-alias-double.h>.
23496 (fma): Define using libm_alias_double.
23497 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23498 <libm-alias-double.h>.
23499 (nearbyint): Define using libm_alias_double.
23500 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23501 <libm-alias-double.h>.
23502 (rint): Define using libm_alias_double.
23503 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23504 <libm-alias-double.h>.
23505 (sin): Define using libm_alias_double.
23506 (cos): Likewise.
23507 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23508 <libm-alias-double.h>.
23509 (tan): Define using libm_alias_double.
23510 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23511 <libm-alias-double.h>.
23512 (trunc): Define using libm_alias_double.
23513 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23514 (copysign): Define using libm_alias_double.
23515 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23516 (fabs): Define using libm_alias_double.
23517 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23518 (fmax): Define using libm_alias_double.
23519 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23520 (fmin): Define using libm_alias_double.
23521 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23522 (llrint): Define using libm_alias_double.
23523 [!__ILP32__] (lrint): Likewise.
23524 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23525 (lrint): Define using libm_alias_double.
23526
1cbd7bfe
AZ
235272017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23528
21bfcc3d
AZ
23529 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23530 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23531 objects.
23532 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23533 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23534 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23535 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23536 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23537 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23538
522228dd
AZ
23539 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23540 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23541 objects.
23542 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23546 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23547 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23548
2a6f4fab
AZ
23549 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23550 (libm-sysdep_routines): Add s_nearbyint-generic and
23551 s_nearbyintf-generic objects.
23552 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23553 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23554 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23555 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23556 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23557 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23558
712b5b83
AZ
23559 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23560 Add s_finitef-generic and s_finite-generic objects.
23561 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23562 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23563 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23564 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23567
c96d3335
AZ
23568 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23569 Add s_isinff-generic and s_isinf-generic objects.
23570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23576
c6862a23
AZ
23577 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23578 Add s_isnanf-generic and s_isnan-generic objects.
23579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23585
1cbd7bfe
AZ
23586 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23587 macro.
23588 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23589 rule.
23590 (sysdep_routines): Use sysdep_calls as base.
23591 (libm-sysdep_routines): Add generic rule for symbols shared with
23592 libc. Add s_signbit-generic and s_signbitf-generic objects.
23593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23594 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23595 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23596 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23597 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23598 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23599
aa1142c5
JM
236002017-11-29 Joseph Myers <joseph@codesourcery.com>
23601
23602 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23603 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23604 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23605 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23606 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23607 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23608 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23609 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23610 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23611 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23612 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23613 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23614 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23615 libm_alias_float_r.
23616 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23617 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23618 (logf): Likewise.
23619 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23620 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23621 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23622 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23623 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23624 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23625 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23626 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23627 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23628 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23629 libm_alias_float.
23630 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23631 (cosf): Likewise.
23632 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23633 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23634 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23635 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23636 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23637 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23638 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23639 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23640 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23641 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23642 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23643 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23644 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23645 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23646 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23647 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23648 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23649 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23650 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23651 libm_alias_float.
23652 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23653 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23654 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23655 * sysdeps/ia64/fpu/w_lgammaf_main.c
23656 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23657 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23658
363e4519
DL
236592017-11-28 Mike FABIAN <mfabian@redhat.com>
23660 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
23661
23662 [BZ #17750]
23663 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23664 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23665 accents sorting.
23666 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23667 sorting.
23668 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23669 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23670 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23671 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23672 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23673 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23674 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23675 instead of “ifdef DIACRIT_BACKWARD”.
23676
a55430cb
AZ
236772017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23678
23679 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23680 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23681 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23682 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23683 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23684 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23687 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23688 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23691 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23692 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23693 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23694 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23695 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23696 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23698 ($(have-as-vis3) == yes): Remove conditional.
23699 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23700 Likewise.
23701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23702 file.
23703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23704 file.
23705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23706 file.
23707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23708 file.
23709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23710 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23711 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23715 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23716 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23717
0609ec0a
JM
237182017-11-29 Joseph Myers <joseph@codesourcery.com>
23719
23720 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23721 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23722 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23723 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23724 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23725 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23726 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23727 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23728 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23729 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23730 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23731 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23732 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23733 libm_alias_double_r.
23734 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23735 (log): Likewise.
23736 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23737 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23738 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23739 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23740 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23741 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23742 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23743 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23744 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23745 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23746 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23747 libm_alias_double.
23748 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23749 (cos): Likewise.
23750 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23751 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23752 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23753 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23754 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23755 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23756 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23757 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23758 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23759 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23760 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23761 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23762 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23763 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23764 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23765 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23766 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23767 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23768 libm_alias_double.
23769 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23770 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23771 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23772 * sysdeps/ia64/fpu/w_lgamma_main.c
23773 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23774 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23775
d5bfa34a
JDA
237762017-11-28 John David Anglin <danglin@gcc.gnu.org>
23777
23778 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23779 address of $global$ into %dp register earlier. Use pc-relative
23780 instruction sequence for PIC case.
23781
bc4e8f9b
JM
237822017-11-28 Joseph Myers <joseph@codesourcery.com>
23783
e4602cba
JM
23784 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23785 (asinhf): Define using libm_alias_float.
23786 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23787 (atanf): Define using libm_alias_float.
23788 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23789 (cbrtf): Define using libm_alias_float.
23790 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23791 (ceilf): Define using libm_alias_float.
23792 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23793 (copysignf): Define using libm_alias_float.
23794 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23795 (expm1f): Define using libm_alias_float.
23796 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23797 (fabsf): Define using libm_alias_float.
23798 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23799 (floorf): Define using libm_alias_float.
23800 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23801 (fmaxf): Define using libm_alias_float.
23802 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23803 (fminf): Define using libm_alias_float.
23804 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23805 (frexpf): Define using libm_alias_float.
23806 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23807 (llrintf): Define using libm_alias_float.
23808 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23809 (logbf): Define using libm_alias_float.
23810 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23811 (lrintf): Define using libm_alias_float.
23812 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23813 (nearbyintf): Define using libm_alias_float.
23814 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23815 (remquof): Define using libm_alias_float.
23816 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23817 (rintf): Define using libm_alias_float.
23818 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23819 (truncf): Define using libm_alias_float.
23820 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23821 <libm-alias-float.h>.
23822 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23823 if [SHARED].
23824 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23825 <libm-alias-float.h>.
23826 (expf): Define using libm_alias_float, or libm_alias_float_other
23827 if [SHARED].
23828 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23829 <libm-alias-float.h>.
23830 (log2f): Define using libm_alias_float, or libm_alias_float_other
23831 if [SHARED].
23832 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23833 <libm-alias-float.h>.
23834 (logf): Define using libm_alias_float, or libm_alias_float_other
23835 if [SHARED].
23836 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23837 <libm-alias-float.h>.
23838 (powf): Define using libm_alias_float, or libm_alias_float_other
23839 if [SHARED].
23840 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23841 <libm-alias-float.h>.
23842 (cosf): Define using libm_alias_float.
23843 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23844 <libm-alias-float.h>.
23845 (sincosf): Define using libm_alias_float.
23846 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23847 <libm-alias-float.h>.
23848 (sinf): Define using libm_alias_float.
23849 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23850 (fmaxf): Define using libm_alias_float.
23851 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23852 (fminf): Define using libm_alias_float.
23853 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23854 <libm-alias-float.h>.
23855 (fmaf): Define using libm_alias_float.
23856
bc4e8f9b
JM
23857 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23858 (asinh): Define using libm_alias_double.
23859 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23860 (atan): Define using libm_alias_double.
23861 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23862 (cbrt): Define using libm_alias_double.
23863 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23864 (ceil): Define using libm_alias_double.
23865 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23866 (copysign): Define using libm_alias_double.
23867 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23868 (expm1): Define using libm_alias_double.
23869 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23870 (fabs): Define using libm_alias_double.
23871 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23872 (fdim): Define using libm_alias_double.
23873 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23874 (floor): Define using libm_alias_double.
23875 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23876 (fmax): Define using libm_alias_double.
23877 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23878 (fmin): Define using libm_alias_double.
23879 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23880 (frexp): Define using libm_alias_double.
23881 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23882 (llrint): Define using libm_alias_double.
23883 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23884 (logb): Define using libm_alias_double.
23885 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23886 (lrint): Define using libm_alias_double.
23887 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23888 (nearbyint): Define using libm_alias_double.
23889 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23890 (remquo): Define using libm_alias_double.
23891 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23892 (rint): Define using libm_alias_double.
23893 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23894 (trunc): Define using libm_alias_double.
23895 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23896 (fmax): Define using libm_alias_double.
23897 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23898 (fmin): Define using libm_alias_double.
23899 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23900 (fma): Define using libm_alias_double.
23901
8d81ce0c
L
239022017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23903
23904 [BZ #22370]
23905 * elf/dl-hwcaps.c (ROUND): Removed.
23906 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23907 and ELF_NOTE_NEXT_OFFSET.
23908 * elf/dl-load.c (ROUND): Removed.
23909 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23910 * elf/readelflib.c (ROUND): Removed.
23911 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23912 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23913 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23914 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23915
6940bd96
JM
239162017-11-28 Joseph Myers <joseph@codesourcery.com>
23917
313ba463
JM
23918 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23919 [!__fmaf] (fmaf): Define using libm_alias_float.
23920
6940bd96
JM
23921 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23922 [!__fma] (fma): Define using libm_alias_double.
23923 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23924
22c69b6a
MF
239252017-11-28 Mike FABIAN <mfabian@redhat.com>
23926
23927 [BZ #22336]
23928 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23929 and implement the collation rules for cs from CLDR on top of that.
23930 * Makefile: Add cs_CZ.UTF-8 to test-input.
23931 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23932
8d7d3ba8
SP
239332017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23934
23935 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23936
0422ed1e
VR
239372017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23938 Icarus Sparry <icarus.w.sparry@intel.com>
23939
23940 * benchtests/Makefile:Add BENCHSET to allow subsets of
23941 benchmarks to be run.
23942 * benchtests/README: Add documentation for: Running subsets of
23943 benchmarks.
23944
0595e360
VR
239452017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23946
d5090db3
VR
23947 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23948 range of tests names.
23949
0595e360
VR
23950 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23951 result from property and remove "max", min" and "mean" from
23952 required properties based on benchtests/bench-skeleton.c.
23953
b4c645c2
FW
239542017-11-28 Florian Weimer <fweimer@redhat.com>
23955
23956 [BZ #20826]
23957 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23958 due to Internet requirement.
23959 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23960 tst-getaddrinfo5.
23961 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23962
88684de7
AZ
239632017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23964
69056564
AZ
23965 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23966 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23967 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23968 (sysdep_routines): Add memset-ultra1.
23969 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23970 file.
23971 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23972 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23973 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23974 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23975 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23976 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23977 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23978 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23979
88684de7
AZ
23980 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23981 file.
23982 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23983 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23984 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23985 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23986 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23987 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23988 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23989 macro.
23990 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23991 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23992 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23993 (sysdep_routines): Add memcpy-ultra1.
23994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23995 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23996
d8124864
JM
239972017-11-28 Joseph Myers <joseph@codesourcery.com>
23998
f433d0b3
JM
23999 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24000 (cfloat_versions): Take function argument without trailing 'f'.
24001 Call libm_alias_float_other.
24002 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24003 * sysdeps/alpha/fpu/cargf.c: Likewise.
24004 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24005 * sysdeps/alpha/fpu/conjf.c: Likewise.
24006 * sysdeps/alpha/fpu/crealf.c: Likewise.
24007 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24008 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24009 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24010 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24011 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24012 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24013 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24014 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24015 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24016 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24017 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24018 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24019 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24020 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24021 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24022 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24023 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24024 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24025 (clog10f): Use libm_alias_float_other.
24026 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24027 (ceilf): Define using libm_alias_float.
24028 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24029 (copysignf): Define using libm_alias_float.
24030 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24031 (fabsf): Define using libm_alias_float.
24032 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24033 (floorf): Define using libm_alias_float.
24034 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24035 (fmaxf): Define using libm_alias_float.
24036 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24037 (fminf): Define using libm_alias_float.
24038 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24039 (lrintf): Define using libm_alias_float.
24040 (llrintf): Likewise.
24041 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24042 (lroundf): Define using libm_alias_float.
24043 (llroundf): Likewise.
24044 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24045 (rintf): Define using libm_alias_float.
24046 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24047 (truncf): Define using libm_alias_float.
24048
15ff4900
JM
24049 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24050 (ceilf): Define using libm_alias_float.
24051 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24052 (floorf): Define using libm_alias_float.
24053 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24054 (fmaf): Define using libm_alias_float.
24055 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24056 (fmaxf): Define using libm_alias_float.
24057 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24058 (fminf): Define using libm_alias_float.
24059 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24060 (llrintf): Define using libm_alias_float.
24061 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24062 (llroundf): Define using libm_alias_float.
24063 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24064 (lrintf): Define using libm_alias_float.
24065 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24066 (lroundf): Define using libm_alias_float.
24067 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24068 <libm-alias-float.h>.
24069 (nearbyintf): Define using libm_alias_float.
24070 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24071 (rintf): Define using libm_alias_float.
24072 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24073 (roundf): Define using libm_alias_float.
24074 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24075 (truncf): Define using libm_alias_float.
24076
5de60638
JM
24077 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24078 (ceil): Define using libm_alias_double.
24079 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24080 (copysign): Define using libm_alias_double.
24081 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24082 (fabs): Define using libm_alias_double.
24083 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24084 (floor): Define using libm_alias_double.
24085 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24086 (fmax): Define using libm_alias_double.
24087 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24088 (fmin): Define using libm_alias_double.
24089 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24090 (lrint): Define using libm_alias_double.
24091 (llrint): Likewise.
24092 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24093 (lround): Define using libm_alias_double.
24094 (llround): Likewise.
24095 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24096 (rint): Define using libm_alias_double.
24097 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24098 (trunc): Define using libm_alias_double.
24099
d8124864
JM
24100 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24101 (libm_alias_double_r): Add semicolon after weak_alias call.
24102
f07d2ec8
JM
241032017-11-27 Joseph Myers <joseph@codesourcery.com>
24104
24105 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24106 (ceil): Define using libm_alias_double.
24107 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24108 (floor): Define using libm_alias_double.
24109 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24110 (fma): Define using libm_alias_double.
24111 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24112 (fmax): Define using libm_alias_double.
24113 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24114 (fmin): Define using libm_alias_double.
24115 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24116 (llrint): Define using libm_alias_double.
24117 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24118 (llround): Define using libm_alias_double.
24119 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24120 (lrint): Define using libm_alias_double.
24121 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24122 (lround): Define using libm_alias_double.
24123 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24124 (nearbyint): Define using libm_alias_double.
24125 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24126 (rint): Define using libm_alias_double.
24127 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24128 (round): Define using libm_alias_double.
24129 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24130 (trunc): Define using libm_alias_double.
24131
4bab0224
FW
241322017-11-27 Florian Weimer <fweimer@redhat.com>
24133
24134 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24135 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24136 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24137 (tests): Add tst-mlock2.
24138 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24139 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24140 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24141 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24142 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24143 for mlock. Document mlock2.
24144
a23aa5b7
JM
241452017-11-27 Joseph Myers <joseph@codesourcery.com>
24146
24147 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24148 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24149 Likewise.
24150 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24151 Likewise.
24152 * sysdeps/x86/Makeconfig: New file.
24153 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24154 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24155 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24156 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24157 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24158 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24159 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24160 Likewise.
24161 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24162 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24163 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24164 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24165 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24166 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24167 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24168 * manual/math.texi (Mathematics): Document support for _Float64x.
24169 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24170 * stdlib/Versions (GLIBC_2.27): Likewise.
24171 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24172 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24173 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24174 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24175 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24176 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24177 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24178 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24179 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24180 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24181 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24182 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24184 Likewise.
24185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24186 Likewise.
24187 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24188 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24189 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24190 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24191 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24192 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24193 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24194 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24195 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24196 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24197 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24198 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24199 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24200 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24201
c2c299fd
AS
242022017-11-27 Andreas Schwab <schwab@suse.de>
24203
24204 * elf/Makefile (dl-routines): Add dl-sort-maps.
24205 * elf/dl-sort-maps.c: New file.
24206 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24207 (_dl_sort_maps): Declare.
24208 * elf/dl-fini.c (_dl_sort_fini): Remove.
24209 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24210 * elf/dl-close.c (_dl_close_worker): Likewise.
24211 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24212 open-coding it.
24213 * elf/dl-open.c (dl_open_worker): Likewise.
24214
9d4b0117
JM
242152017-11-24 Joseph Myers <joseph@codesourcery.com>
24216
de61465c
JM
24217 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24218 using libm_alias_float128.
24219 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24220 Likewise.
24221 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24222 Likewise.
24223 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24224 (setpayloadsigf128): Likewise.
24225 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24226 Likewise.
24227 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24228 Likewise.
24229
9ae6d171
JM
24230 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24231 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24232 -mfloat128 to CFLAGS.
24233 ($(foreach
24234 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24235 Likewise.
24236 (CFLAGS-libm-test-support-float64x.c): New variable.
24237 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24238 $(f128-loader-link) to gnulib-tests.
24239
6e70d156
JM
24240 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24241 (libm_alias_float128_other_r): If
24242 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24243 alias.
24244 (libm_alias_float128_r): Add semicolon after weak_alias call.
24245 * sysdeps/generic/libm-alias-ldouble.h
24246 (libm_alias_ldouble_other_r_f128): New macro.
24247 (libm_alias_ldouble_other_r_f64x): Likewise.
24248 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24249 and libm_alias_ldouble_other_r_f64x.
24250 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24251 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24252 (libm_alias_ldouble_other_r_f128): New macro.
24253 (libm_alias_ldouble_other_r_f64x): Likewise.
24254 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24255 and libm_alias_ldouble_other_r_f64x.
24256
df2806cd
JM
24257 * stdlib/strfroml.c: Always include <stdlib.h>.
24258 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24259 undefine as macro and define as weak alias.
24260 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24261 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24262 <stdlib.h>.
24263 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24264 Define and later undefine as macro and define as weak alias.
24265
0df4fe35
JM
24266 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24267 Define and later undefine as macro. Define as weak alias if
24268 [!USE_WIDE_CHAR].
24269 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24270 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24271 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24272 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24273 Define and later undefine as macro. Define as weak alias if
24274 [!USE_WIDE_CHAR].
24275 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24276 Define and later undefine as macro. Define as weak alias if
24277 [USE_WIDE_CHAR].
24278 * sysdeps/ieee754/float128/strtof128_l.c
24279 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24280 Define and later undefine as macro. Define as weak alias if
24281 [!USE_WIDE_CHAR].
24282 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24283 Define and later undefine as macro. Define as weak alias if
24284 [USE_WIDE_CHAR].
24285 * sysdeps/ieee754/ldbl-128/strtold_l.c
24286 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24287 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24288 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24289 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24290 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24291 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24292 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24293 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24294 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24295 * sysdeps/ieee754/ldbl-96/strtold_l.c
24296 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24297 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24298 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24299 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24300
ae7207d0
JM
24301 * math/test-float64x.h: New file.
24302 * math/Makefile (type-float64x-yes): New variable.
24303 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24304
9596fc69
JM
24305 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24306 function-like macro.
24307 (min_of_type_): Likewise.
24308 (min_of_type_l): Likewise.
24309 (min_of_type_f128): Likewise.
24310 (min_of_type): Pass () as last argument of __MATH_TG.
24311
46453c3c
JM
24312 * stdlib/tst-strtod-round-skeleton.c
24313 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24314 headers.
24315
01e659e7
JM
24316 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24317 for combinations of long double with _Float64 and _Float64x.
24318
5c60afdd
JM
24319 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24320 (__DECL_SIMD_cosf32): Likewise.
24321 (__DECL_SIMD_cosf64): Likewise.
24322 (__DECL_SIMD_cosf32x): Likewise.
24323 (__DECL_SIMD_cosf64x): Likewise.
24324 (__DECL_SIMD_cosf128x): Likewise.
24325 (__DECL_SIMD_sinf16): Likewise.
24326 (__DECL_SIMD_sinf32): Likewise.
24327 (__DECL_SIMD_sinf64): Likewise.
24328 (__DECL_SIMD_sinf32x): Likewise.
24329 (__DECL_SIMD_sinf64x): Likewise.
24330 (__DECL_SIMD_sinf128x): Likewise.
24331 (__DECL_SIMD_sincosf16): Likewise.
24332 (__DECL_SIMD_sincosf32): Likewise.
24333 (__DECL_SIMD_sincosf64): Likewise.
24334 (__DECL_SIMD_sincosf32x): Likewise.
24335 (__DECL_SIMD_sincosf64x): Likewise.
24336 (__DECL_SIMD_sincosf128x): Likewise.
24337 (__DECL_SIMD_logf16): Likewise.
24338 (__DECL_SIMD_logf32): Likewise.
24339 (__DECL_SIMD_logf64): Likewise.
24340 (__DECL_SIMD_logf32x): Likewise.
24341 (__DECL_SIMD_logf64x): Likewise.
24342 (__DECL_SIMD_logf128x): Likewise.
24343 (__DECL_SIMD_expf16): Likewise.
24344 (__DECL_SIMD_expf32): Likewise.
24345 (__DECL_SIMD_expf64): Likewise.
24346 (__DECL_SIMD_expf32x): Likewise.
24347 (__DECL_SIMD_expf64x): Likewise.
24348 (__DECL_SIMD_expf128x): Likewise.
24349 (__DECL_SIMD_powf16): Likewise.
24350 (__DECL_SIMD_powf32): Likewise.
24351 (__DECL_SIMD_powf64): Likewise.
24352 (__DECL_SIMD_powf32x): Likewise.
24353 (__DECL_SIMD_powf64x): Likewise.
24354 (__DECL_SIMD_powf128x): Likewise.
24355
9d4b0117
JM
24356 * stdlib/Versions (libc): Move entries for wcstof128 and
24357 wcstof128_l to ....
24358 * wcsmbs/Versions (libc): ... here.
24359 Include <float128-abi.h>.
24360
7911dd47
FW
243612017-11-24 Florian Weimer <fweimer@redhat.com>
24362
24363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24364 bits/mman-shared.h.
24365 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24366 <bits/mman-shared.h>.
24367 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24368 to ...
24369 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24370 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24371 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24372 <bits/mman-shared.h>.
24373
c45d78aa
AZ
243742017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24375
24376 [BZ #22457]
24377 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24378 posix_memalign/free.
24379 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24380
3ffc4cc1
MF
243812017-11-22 Mike FABIAN <mfabian@redhat.com>
24382
24383 [BZ #22469]
24384 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24385 and implement the collation rules for pl from CLDR on top of that.
24386 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24387 of locales to be built for testing.
24388 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24389
3a327316
JM
243902017-11-23 Joseph Myers <joseph@codesourcery.com>
24391
24392 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24393 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24394 libm_alias_ldouble_other.
24395 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24396 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24397 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24398 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24399 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24400 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24401 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24402 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24403 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24404 libm_alias_ldouble_r.
24405 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24406 libm_alias_ldouble_other.
24407 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24408 (log10l): Likewise.
24409 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24410 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24411 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24412 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24413 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24414 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24415 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24416 (atan2l): Likewise.
24417 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24418 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24419 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24420 libm_alias_ldouble.
24421 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24422 (cosl): Likewise.
24423 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24424 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24425 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24426 (expl): Likewise.
24427 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24428 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24429 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24430 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24431 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24432 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24433 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24434 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24435 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24436 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24437 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24438 libm_alias_ldouble.
24439 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24440 libm_alias_ldouble_other.
24441 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24442 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24443 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24444 libm_alias_ldouble.
24445 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24446 libm_alias_ldouble_other.
24447 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24448 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24449 * sysdeps/ia64/fpu/w_lgammal_main.c
24450 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24451 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24452
0a947e06
FW
244532017-11-23 Florian Weimer <fweimer@redhat.com>
24454
24455 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24456 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24457 alike. Remove freeres marker.
24458 * malloc/arena.c (arena_thread_freeres): Call
24459 tcache_thread_shutdown.
24460
67f36c79
FW
244612017-11-23 Florian Weimer <fweimer@redhat.com>
24462
24463 [BZ #22459]
24464 Export nscd hash function as __nss_hash.
24465 * include/nss.h (__nss_hash): Declare.
24466 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24467 symbol.
24468 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24469 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24470 of __nscd_hash.
24471 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24472 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24473 * nss/Makefiles (routines): Add nss_hash.
24474 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24475 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24476 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24477 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24478
cccb6d4e
FW
244792017-11-23 Florian Weimer <fweimer@redhat.com>
24480
24481 [BZ #22478]
24482 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24483 Return error code, not -1.
24484 * signal/tst-sigwait-eintr.c: New file.
24485 * signal/Makefile (tests): Add tst-sigwait-eintr.
24486
59d2cbb1
FW
244872017-11-23 Florian Weimer <fweimer@redhat.com>
24488
24489 Linux: Add memfd_create system call wrapper
24490 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24491 tst-memfd_create.
24492 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24493 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24494 [__USE_GNU] (memfd_create): Declare.
24495 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24496 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24497 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24498 * sysdeps/unix/sysv/linux/**.abilist: Update.
24499 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24500
a90d1ac2
JM
245012017-11-22 Joseph Myers <joseph@codesourcery.com>
24502
0a9d1d62
JM
24503 * localedata/gen-locale.sh: Fix typo in variable name.
24504
754034c4
JM
24505 * resolv/res_debug.c (p_secstodate): Condition definition on
24506 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24507 directly as __p_secstodate, and as a compat symbol. Do not use
24508 libresolv_hidden_def.
24509 * resolv/resolv.h (p_secstodate): Remove macro and function
24510 declaration.
24511 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24512 using p_secstodate.
24513 * include/resolv.h (__p_secstodate): Do not use
24514 libresolv_hidden_proto.
24515 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24516 (tests-internal): ... here.
24517 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24518 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24519 and declare and use __p_secstodate and use compat_symbol_reference
24520 in that case.
24521 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24522 implementation returning 77.
24523
f120cda6
JM
24524 [BZ #22463]
24525 * resolv/res_debug.c: Include <libc-diag.h>.
24526 (p_secstodate): Assert time_t at least as wide as u_long. On
24527 overflow, use integer seconds since the epoch as output, or use
24528 "<overflow>" as output and set errno to EOVERFLOW if integer
24529 seconds since the epoch would be 14 or more characters.
24530 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24531 for sprintf call.
24532 * resolv/tst-p_secstodate.c: New file.
24533 * resolv/Makefile (tests): Add tst-p_secstodate.
24534 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24535
a90d1ac2
JM
24536 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24537 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24538 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24539
0285e6bd
PE
245402017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24541
24542 * posix/regcomp.c (init_word_char): Add comments.
24543
4bae6150
JM
245442017-11-22 Joseph Myers <joseph@codesourcery.com>
24545
24546 [BZ #22447]
24547 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24548 strlen to compute length of ut_user and set trailing NUL byte of
24549 result explicitly.
24550
4b7af5fc
MF
245512017-11-21 Mike FABIAN <mfabian@redhat.com>
24552
24553 [BZ #15537]
24554 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24555 using “copy "iso14651_t1"” and then implementing the
24556 collation rules for lv from CLDR on top of that.
24557 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24558 of locales to be built for testing.
24559 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24560 sorting.
24561
922bb78c
JM
245622017-11-21 Joseph Myers <joseph@codesourcery.com>
24563
24564 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24565 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24566 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24567 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24568 [__USE_MISC] (MADV_HWPOISON): New macro.
24569 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24570
a3aaa598
AZ
245712017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24572
24573 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24574 -Wmissing-braces on GCC 4.9.
24575
8beba15d
SL
245762017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24577
24578 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24579 * sysdeps/s390/s390-32/start.S (_start): Likewise
24580 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24581 (thread_start): Likewise.
24582 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24583 (thread_start): Likewise.
24584 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24585 (__makecontext_ret): Likewise.
24586 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24587 (__makecontext_ret): Likewise.
24588
80eb52e3
SL
245892017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24590
24591 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24592 __wcschrnul): Remove attribute_hidden.
24593
567d8c1f
PE
245942017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24595
24596 regex: don't assume uint64_t or uint32_t
24597 This avoids -Werror=overflow errors for 32-bit systems in
24598 the 64-bit case. Problem reported by Joseph Myers in:
24599 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24600 Also, when this code is used in Gnulib it ports to platforms
24601 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24602 them, and on some 32-bit compilers there is no uint64_t.
24603 Problem reported by Gianluigi Tiesi in:
24604 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24605 * posix/regcomp.c (init_word_char): Don't assume that the types
24606 uint64_t and uint32_t exist. Adapted from Gnulib patch
24607 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24608 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24609
4d7632ff
SP
246102017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24611
5a67c4fa
SP
24612 * sysdeps/aarch64/memset-reg.h: New file.
24613 * sysdeps/aarch64/memset.S: Use it.
24614 (__memset): Rename to MEMSET macro.
24615 [ZVA_MACRO]: Use zva_macro.
24616 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24617 Add memset_generic and memset_falkor.
24618 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24619 (__libc_ifunc_impl_list): Add memset ifuncs.
24620 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24621 local variable zva_size.
24622 * sysdeps/aarch64/multiarch/memset.c: New file.
24623 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24624 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24625 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24626 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24627 (DCZID_DZP_MASK): New macro.
24628 (DCZID_BS_MASK): Likewise.
24629 (init_cpu_features): Read and set zva_size.
24630 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24631 (struct cpu_features): New member zva_size.
24632
eb332f9f
SP
24633 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24634 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24635 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24636
4d7632ff
SP
24637 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24638 backwards. Fix timing computation.
24639 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24640 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24641 on memset by N at a time. Fix timing computation.
24642
a465b89e
FW
246432017-11-20 Florian Weimer <fweimer@redhat.com>
24644
24645 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24646 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24647
0f74bbf5
FW
246482017-11-19 Florian Weimer <fweimer@redhat.com>
24649
24650 manual: Document mprotect
24651 * manual/memory.texi (Memory Protection): New section.
24652 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24653 documentation of PROT_* flags and reference the Memory Protection
24654 section instead.
24655
f6e965ee
FW
246562017-11-19 Florian Weimer <fweimer@redhat.com>
24657
24658 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24659 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24660 (Scatter-Gather): ... to here. Remove misleading comment.
24661
363e4519 246622017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 24663
5f9d1949
CB
24664 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24665 style.
24666
ea69a5c8
CB
24667 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24668 when /proc/<pid>/setgroups does not exist.
24669
8db7f48c
FW
246702017-11-18 Florian Weimer <fweimer@redhat.com>
24671
24672 * sysdeps/unix/sysv/linux/tst-ttyname.c
24673 (become_root_in_mount_ns): Remove.
24674 (do_in_chroot_1): Call support_enter_mount_namespace.
24675 (do_in_chroot_2): Likewise.
24676 (do_test): Call support_become_root early.
24677
273a0c49
FW
246782017-11-18 Florian Weimer <fweimer@redhat.com>
24679
24680 * support/namespace.h (support_enter_mount_namespace): Declare.
24681 * support/support_enter_mount_namespace.c: New file.
24682 * support/Makefile (libsupport-routines): Add
24683 support_enter_mount_namespace.
24684
8adfb0ee
FW
246852017-11-18 Florian Weimer <fweimer@redhat.com>
24686
24687 * support/temp_file.c (support_create_temp_directory): Use
24688 test_dir and do not rely on the presence of the XXXXXX suffix.
24689 * support/temp_file.h (support_create_temp_directory): Update
24690 comment.
24691 * support/tst-xreadlink.c (do_test): Adjust.
24692 * support/support_chroot.c (support_chroot_create): Likewise.
24693
df0c40ee
TMQMF
246942017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24695
24696 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24697 macro.
24698 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24699 htm-no-suspend.
24700
015c6dc2
JM
247012017-11-17 Joseph Myers <joseph@codesourcery.com>
24702
f58e5f48
JM
24703 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24704 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24705 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24706 (ceill): Define using libm_alias_ldouble.
24707 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24708 <libm-alias-ldouble.h>.
24709 (copysignl): Define using libm_alias_ldouble.
24710 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24711 (fabsl): Define using libm_alias_ldouble.
24712 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24713 (floorl): Define using libm_alias_ldouble.
24714 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24715 (fmaxl): Define using libm_alias_ldouble.
24716 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24717 (fminl): Define using libm_alias_ldouble.
24718 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24719 (llrintl): Define using libm_alias_ldouble.
24720 (lrintl): Likewise.
24721 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24722 <libm-alias-ldouble.h>.
24723 (nearbyintl): Define using libm_alias_ldouble.
24724 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24725 (truncl): Define using libm_alias_ldouble.
24726 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24727 <libm-alias-ldouble.h>.
24728 (lrintl): Define using libm_alias_ldouble.
24729
2ce30701
JM
24730 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24731 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24732 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24733 (asinhl): Define using libm_alias_ldouble.
24734 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24735 (atanl): Define using libm_alias_ldouble.
24736 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24737 (cbrtl): Define using libm_alias_ldouble.
24738 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24739 (ceill): Define using libm_alias_ldouble.
24740 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24741 (copysignl): Define using libm_alias_ldouble.
24742 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24743 (fabsl): Define using libm_alias_ldouble.
24744 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24745 (floorl): Define using libm_alias_ldouble.
24746 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24747 (fmaxl): Define using libm_alias_ldouble.
24748 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24749 (fminl): Define using libm_alias_ldouble.
24750 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24751 (frexpl): Define using libm_alias_ldouble.
24752 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24753 (llrintl): Define using libm_alias_ldouble.
24754 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24755 (logbl): Define using libm_alias_ldouble.
24756 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24757 (lrintl): Define using libm_alias_ldouble.
24758 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24759 (nearbyintl): Define using libm_alias_ldouble.
24760 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24761 (nextafterl): Define using libm_alias_ldouble.
24762 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24763 (remquol): Define using libm_alias_ldouble.
24764 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24765 (rintl): Define using libm_alias_ldouble.
24766 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24767 (truncl): Define using libm_alias_ldouble.
24768 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24769 (fmaxl): Define using libm_alias_ldouble.
24770 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24771 (fminl): Define using libm_alias_ldouble.
24772
015c6dc2
JM
24773 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24774 to C syntax instead of availability and properties of types.
24775 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24776 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24777 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24778 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24779 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24780 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24781
ce003e5d
FW
247822017-11-17 Florian Weimer <fweimer@redhat.com>
24783
24784 support_become_root: Enable file creation in namespaces.
24785 * support/support_become_root.c (setup_mapping): New function.
24786 (support_become_root): Call it.
24787
e7df6c5c
JM
247882017-11-17 Joseph Myers <joseph@codesourcery.com>
24789
24790 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24791 macro.
24792
58a813bf
AZ
247932017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24794
24795 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24796 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24797
f97773d1
JM
247982017-11-16 Joseph Myers <joseph@codesourcery.com>
24799
6a6aa1f3
JM
24800 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24801
f97773d1
JM
24802 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24803 version to 4.14.
24804
a306c790
SP
248052017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24806
7b0fb870
SP
24807 * INSTALL: Fix botched up regeneration.
24808
24809 * NEWS: Update sourceare link to https.
a306c790
SP
24810 * configure.ac: Likewise.
24811 * crypt/md5test-giant.c: Likewise.
24812 * dlfcn/bug-atexit1.c: Likewise.
24813 * dlfcn/bug-atexit2.c: Likewise.
24814 * localedata/README: Likewise.
24815 * malloc/tst-mallocfork.c: Likewise.
24816 * manual/install.texi: Likewise.
24817 * nptl/tst-pthread-getattr.c: Likewise.
24818 * stdio-common/tst-fgets.c: Likewise.
24819 * stdio-common/tst-fwrite.c: Likewise.
24820 * sunrpc/Makefile: Likewise.
24821 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24822 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
24823 * configure: Regenerate.
24824 * INSTALL: Regenerate.
a306c790 24825
7532837d
MS
248262017-11-15 Martin Sebor <msebor@redhat.com>
24827
24828 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24829 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24830 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24831
495a56fd
LS
248322017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24833
d9611e30
LS
24834 [BZ #22145]
24835 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24836 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24837
a09dfc19
LS
24838 [BZ #22145]
24839 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24840 Defer is_pty check until end of the function.
24841 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24842
2fbce9c2
LS
24843 [BZ #22145]
24844 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24845 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24846 (ttyname): Likewise.
24847 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24848 (__ttyname_r): Likewise.
24849
d10d6cab
LS
24850 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24851 int to bool.
24852
9b5a8750
LS
24853 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24854
495a56fd
LS
24855 * manual/terminal.texi (Is It a Terminal):
24856 Mention ENODEV for ttyname and ttyname_r.
24857
fa680dc6
JM
248582017-11-15 Joseph Myers <joseph@codesourcery.com>
24859
78cde19f
JM
24860 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24861 constant and macro.
24862
fa680dc6
JM
24863 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24864 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24865 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24866 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24867 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24868 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24869
ad4f43a2
AZ
248702017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24871
1ba1d8a4
AZ
24872 * signal/sigrelse.c (sigrelse): Optimize implementation.
24873
ad4f43a2
AZ
24874 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24875 (__sigpause): Rely on __sigsuspend to implement single thread
24876 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24877
d0212d42
JM
248782017-11-15 Joseph Myers <joseph@codesourcery.com>
24879
24880 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24881 kernel version to 4.14.
24882
2180fee1
SE
248832017-11-15 Steve Ellcey <sellcey@cavium.com>
24884
24885 [BZ #22442]
24886 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24887 Check if ifname is too long.
24888
cad7ca39
LS
248892017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24890
24891 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24892
58c9f659
MF
248932017-11-15 Mike FABIAN <mfabian@redhat.com>
24894
24895 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24896 was accidentally lost.
24897
0fa87c01
MF
248982017-11-15 Mike FABIAN <mfabian@redhat.com>
24899
24900 * localedata/locales/az_IR: Add standard copyright header.
24901
34eb4157
FW
249022017-11-15 Florian Weimer <fweimer@redhat.com>
24903
24904 [BZ #22439]
24905 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24906 not just the top one. Output a new "subheaps" statistic.
24907
7a9368a1
FW
249082017-11-15 Florian Weimer <fweimer@redhat.com>
24909
24910 [BZ #22408]
24911 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24912 under the per-arena lock.
24913 * malloc/Makefile (tests): Add tst-malloc_info.
24914 (tst-malloc_info): Link with libpthread.
24915 * malloc/tst-malloc_info.c: New file.
24916
be3a79a3
JM
249172017-11-15 Joseph Myers <joseph@codesourcery.com>
24918
24919 [BZ #21660]
24920 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24921 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24922 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24923 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24924 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24925 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24926 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24927 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24928 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24929 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24930 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24931 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24932 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24933 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24934 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24935 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24936 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24937 (__floating_type): Likewise.
24938 (__real_integer_type): Likewise.
24939 (__complex_integer_type): Likewise.
24940 (__expr_is_real): Likewise.
24941 (__tgmath_real_type_sub): Likewise.
24942 (__tgmath_real_type): Likewise.
24943 (__tgmath_complex_type_sub): Likewise.
24944 (__tgmath_complex_type): Likewise.
24945 (__TGMATH_F128): Likewise.
24946 (__TGMATH_CF128): Likewise.
24947 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24948 new macros.
24949 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24950 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24951 Likewise.
24952 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24953 Likewise.
24954 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24955 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24956 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24957 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24958 Likewise.
24959 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24960 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24961 Likewise.
24962 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24963 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24964 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24965 Likewise.
24966 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24967 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24968 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24969 (cimag): Likewise.
24970 (creal): Likewise.
24971
ec72135e
JM
249722017-11-14 Joseph Myers <joseph@codesourcery.com>
24973
2e64ec9c
JM
24974 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24975 for stpncpy calls for GCC 8.
24976 (test_strncat): Disable -Wstringop-truncation warning for strncat
24977 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24978 strncat call for GCC 7.
24979 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24980 calls for GCC 8.
24981 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24982 trailing NUL.
24983
ec72135e
JM
24984 * string/bug-strncat1.c: Include <libc-diag.h>.
24985 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24986
363e4519 249872017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
24988
24989 [BZ #22387]
24990 * localedata/locales/aa_DJ: Improved readibility by replacing
24991 <Uxxxx> sequences in the ASCII printable range by their ASCII
24992 character equivalents.
24993 * localedata/locales/aa_ER: Likewise.
24994 * localedata/locales/aa_ER@saaho: Likewise.
24995 * localedata/locales/aa_ET: Likewise.
24996 * localedata/locales/af_ZA: Likewise.
24997 * localedata/locales/agr_PE: Likewise.
24998 * localedata/locales/ak_GH: Likewise.
24999 * localedata/locales/am_ET: Likewise.
25000 * localedata/locales/anp_IN: Likewise.
25001 * localedata/locales/ar_AE: Likewise.
25002 * localedata/locales/ar_BH: Likewise.
25003 * localedata/locales/ar_DZ: Likewise.
25004 * localedata/locales/ar_EG: Likewise.
25005 * localedata/locales/ar_IN: Likewise.
25006 * localedata/locales/ar_IQ: Likewise.
25007 * localedata/locales/ar_JO: Likewise.
25008 * localedata/locales/ar_KW: Likewise.
25009 * localedata/locales/ar_LB: Likewise.
25010 * localedata/locales/ar_LY: Likewise.
25011 * localedata/locales/ar_MA: Likewise.
25012 * localedata/locales/ar_OM: Likewise.
25013 * localedata/locales/ar_QA: Likewise.
25014 * localedata/locales/ar_SA: Likewise.
25015 * localedata/locales/ar_SD: Likewise.
25016 * localedata/locales/ar_SS: Likewise.
25017 * localedata/locales/ar_SY: Likewise.
25018 * localedata/locales/ar_TN: Likewise.
25019 * localedata/locales/ar_YE: Likewise.
25020 * localedata/locales/as_IN: Likewise.
25021 * localedata/locales/ast_ES: Likewise.
25022 * localedata/locales/ayc_PE: Likewise.
25023 * localedata/locales/az_AZ: Likewise.
25024 * localedata/locales/az_IR: Likewise.
25025 * localedata/locales/be_BY: Likewise.
25026 * localedata/locales/be_BY@latin: Likewise.
25027 * localedata/locales/bem_ZM: Likewise.
25028 * localedata/locales/ber_DZ: Likewise.
25029 * localedata/locales/ber_MA: Likewise.
25030 * localedata/locales/bg_BG: Likewise.
25031 * localedata/locales/bhb_IN: Likewise.
25032 * localedata/locales/bho_IN: Likewise.
25033 * localedata/locales/bi_VU: Likewise.
25034 * localedata/locales/bn_BD: Likewise.
25035 * localedata/locales/bn_IN: Likewise.
25036 * localedata/locales/bo_CN: Likewise.
25037 * localedata/locales/bo_IN: Likewise.
25038 * localedata/locales/br_FR: Likewise.
25039 * localedata/locales/brx_IN: Likewise.
25040 * localedata/locales/bs_BA: Likewise.
25041 * localedata/locales/byn_ER: Likewise.
25042 * localedata/locales/ca_AD: Likewise.
25043 * localedata/locales/ca_ES: Likewise.
25044 * localedata/locales/ca_FR: Likewise.
25045 * localedata/locales/ca_IT: Likewise.
25046 * localedata/locales/ce_RU: Likewise.
25047 * localedata/locales/chr_US: Likewise.
25048 * localedata/locales/cmn_TW: Likewise.
25049 * localedata/locales/crh_UA: Likewise.
25050 * localedata/locales/cs_CZ: Likewise.
25051 * localedata/locales/csb_PL: Likewise.
25052 * localedata/locales/cv_RU: Likewise.
25053 * localedata/locales/cy_GB: Likewise.
25054 * localedata/locales/da_DK: Likewise.
25055 * localedata/locales/de_AT: Likewise.
25056 * localedata/locales/de_BE: Likewise.
25057 * localedata/locales/de_CH: Likewise.
25058 * localedata/locales/de_DE: Likewise.
25059 * localedata/locales/de_IT: Likewise.
25060 * localedata/locales/de_LI: Likewise.
25061 * localedata/locales/de_LU: Likewise.
25062 * localedata/locales/doi_IN: Likewise.
25063 * localedata/locales/dv_MV: Likewise.
25064 * localedata/locales/dz_BT: Likewise.
25065 * localedata/locales/el_CY: Likewise.
25066 * localedata/locales/el_GR: Likewise.
25067 * localedata/locales/en_AG: Likewise.
25068 * localedata/locales/en_AU: Likewise.
25069 * localedata/locales/en_BW: Likewise.
25070 * localedata/locales/en_CA: Likewise.
25071 * localedata/locales/en_DK: Likewise.
25072 * localedata/locales/en_GB: Likewise.
25073 * localedata/locales/en_HK: Likewise.
25074 * localedata/locales/en_IE: Likewise.
25075 * localedata/locales/en_IL: Likewise.
25076 * localedata/locales/en_IN: Likewise.
25077 * localedata/locales/en_NG: Likewise.
25078 * localedata/locales/en_NZ: Likewise.
25079 * localedata/locales/en_PH: Likewise.
25080 * localedata/locales/en_SG: Likewise.
25081 * localedata/locales/en_US: Likewise.
25082 * localedata/locales/en_ZA: Likewise.
25083 * localedata/locales/en_ZM: Likewise.
25084 * localedata/locales/en_ZW: Likewise.
25085 * localedata/locales/eo: Likewise.
25086 * localedata/locales/es_AR: Likewise.
25087 * localedata/locales/es_BO: Likewise.
25088 * localedata/locales/es_CL: Likewise.
25089 * localedata/locales/es_CO: Likewise.
25090 * localedata/locales/es_CR: Likewise.
25091 * localedata/locales/es_CU: Likewise.
25092 * localedata/locales/es_DO: Likewise.
25093 * localedata/locales/es_EC: Likewise.
25094 * localedata/locales/es_ES: Likewise.
25095 * localedata/locales/es_GT: Likewise.
25096 * localedata/locales/es_HN: Likewise.
25097 * localedata/locales/es_MX: Likewise.
25098 * localedata/locales/es_NI: Likewise.
25099 * localedata/locales/es_PA: Likewise.
25100 * localedata/locales/es_PE: Likewise.
25101 * localedata/locales/es_PR: Likewise.
25102 * localedata/locales/es_PY: Likewise.
25103 * localedata/locales/es_SV: Likewise.
25104 * localedata/locales/es_US: Likewise.
25105 * localedata/locales/es_UY: Likewise.
25106 * localedata/locales/es_VE: Likewise.
25107 * localedata/locales/et_EE: Likewise.
25108 * localedata/locales/eu_ES: Likewise.
25109 * localedata/locales/eu_ES@euro: Likewise.
25110 * localedata/locales/fa_IR: Likewise.
25111 * localedata/locales/ff_SN: Likewise.
25112 * localedata/locales/fi_FI: Likewise.
25113 * localedata/locales/fil_PH: Likewise.
25114 * localedata/locales/fo_FO: Likewise.
25115 * localedata/locales/fr_BE: Likewise.
25116 * localedata/locales/fr_CA: Likewise.
25117 * localedata/locales/fr_CH: Likewise.
25118 * localedata/locales/fr_FR: Likewise.
25119 * localedata/locales/fr_LU: Likewise.
25120 * localedata/locales/fur_IT: Likewise.
25121 * localedata/locales/fy_DE: Likewise.
25122 * localedata/locales/fy_NL: Likewise.
25123 * localedata/locales/ga_IE: Likewise.
25124 * localedata/locales/gd_GB: Likewise.
25125 * localedata/locales/gez_ER: Likewise.
25126 * localedata/locales/gez_ET: Likewise.
25127 * localedata/locales/gl_ES: Likewise.
25128 * localedata/locales/gu_IN: Likewise.
25129 * localedata/locales/gv_GB: Likewise.
25130 * localedata/locales/ha_NG: Likewise.
25131 * localedata/locales/hak_TW: Likewise.
25132 * localedata/locales/he_IL: Likewise.
25133 * localedata/locales/hi_IN: Likewise.
25134 * localedata/locales/hif_FJ: Likewise.
25135 * localedata/locales/hne_IN: Likewise.
25136 * localedata/locales/hr_HR: Likewise.
25137 * localedata/locales/hsb_DE: Likewise.
25138 * localedata/locales/ht_HT: Likewise.
25139 * localedata/locales/hu_HU: Likewise.
25140 * localedata/locales/hy_AM: Likewise.
25141 * localedata/locales/i18n: Likewise.
25142 * localedata/locales/ia_FR: Likewise.
25143 * localedata/locales/id_ID: Likewise.
25144 * localedata/locales/ig_NG: Likewise.
25145 * localedata/locales/ik_CA: Likewise.
25146 * localedata/locales/is_IS: Likewise.
25147 * localedata/locales/it_CH: Likewise.
25148 * localedata/locales/it_IT: Likewise.
25149 * localedata/locales/iu_CA: Likewise.
25150 * localedata/locales/ja_JP: Likewise.
25151 * localedata/locales/ka_GE: Likewise.
25152 * localedata/locales/kk_KZ: Likewise.
25153 * localedata/locales/kl_GL: Likewise.
25154 * localedata/locales/kn_IN: Likewise.
25155 * localedata/locales/ko_KR: Likewise.
25156 * localedata/locales/kok_IN: Likewise.
25157 * localedata/locales/ks_IN: Likewise.
25158 * localedata/locales/ks_IN@devanagari: Likewise.
25159 * localedata/locales/ku_TR: Likewise.
25160 * localedata/locales/kw_GB: Likewise.
25161 * localedata/locales/ky_KG: Likewise.
25162 * localedata/locales/lb_LU: Likewise.
25163 * localedata/locales/lg_UG: Likewise.
25164 * localedata/locales/li_BE: Likewise.
25165 * localedata/locales/li_NL: Likewise.
25166 * localedata/locales/lij_IT: Likewise.
25167 * localedata/locales/ln_CD: Likewise.
25168 * localedata/locales/lo_LA: Likewise.
25169 * localedata/locales/lt_LT: Likewise.
25170 * localedata/locales/lv_LV: Likewise.
25171 * localedata/locales/lzh_TW: Likewise.
25172 * localedata/locales/mag_IN: Likewise.
25173 * localedata/locales/mai_IN: Likewise.
25174 * localedata/locales/mg_MG: Likewise.
25175 * localedata/locales/mhr_RU: Likewise.
25176 * localedata/locales/mi_NZ: Likewise.
25177 * localedata/locales/mk_MK: Likewise.
25178 * localedata/locales/ml_IN: Likewise.
25179 * localedata/locales/mn_MN: Likewise.
25180 * localedata/locales/mni_IN: Likewise.
25181 * localedata/locales/mr_IN: Likewise.
25182 * localedata/locales/ms_MY: Likewise.
25183 * localedata/locales/mt_MT: Likewise.
25184 * localedata/locales/my_MM: Likewise.
25185 * localedata/locales/nan_TW: Likewise.
25186 * localedata/locales/nan_TW@latin: Likewise.
25187 * localedata/locales/nb_NO: Likewise.
25188 * localedata/locales/nds_DE: Likewise.
25189 * localedata/locales/nds_NL: Likewise.
25190 * localedata/locales/ne_NP: Likewise.
25191 * localedata/locales/nhn_MX: Likewise.
25192 * localedata/locales/niu_NU: Likewise.
25193 * localedata/locales/niu_NZ: Likewise.
25194 * localedata/locales/nl_AW: Likewise.
25195 * localedata/locales/nl_BE: Likewise.
25196 * localedata/locales/nl_NL: Likewise.
25197 * localedata/locales/nn_NO: Likewise.
25198 * localedata/locales/nr_ZA: Likewise.
25199 * localedata/locales/nso_ZA: Likewise.
25200 * localedata/locales/oc_FR: Likewise.
25201 * localedata/locales/om_ET: Likewise.
25202 * localedata/locales/om_KE: Likewise.
25203 * localedata/locales/or_IN: Likewise.
25204 * localedata/locales/os_RU: Likewise.
25205 * localedata/locales/pa_IN: Likewise.
25206 * localedata/locales/pa_PK: Likewise.
25207 * localedata/locales/pap_AW: Likewise.
25208 * localedata/locales/pap_CW: Likewise.
25209 * localedata/locales/pl_PL: Likewise.
25210 * localedata/locales/ps_AF: Likewise.
25211 * localedata/locales/pt_BR: Likewise.
25212 * localedata/locales/pt_PT: Likewise.
25213 * localedata/locales/quz_PE: Likewise.
25214 * localedata/locales/raj_IN: Likewise.
25215 * localedata/locales/ro_RO: Likewise.
25216 * localedata/locales/ru_RU: Likewise.
25217 * localedata/locales/ru_UA: Likewise.
25218 * localedata/locales/rw_RW: Likewise.
25219 * localedata/locales/sa_IN: Likewise.
25220 * localedata/locales/sat_IN: Likewise.
25221 * localedata/locales/sc_IT: Likewise.
25222 * localedata/locales/sd_IN: Likewise.
25223 * localedata/locales/sd_IN@devanagari: Likewise.
25224 * localedata/locales/se_NO: Likewise.
25225 * localedata/locales/sgs_LT: Likewise.
25226 * localedata/locales/shs_CA: Likewise.
25227 * localedata/locales/si_LK: Likewise.
25228 * localedata/locales/sid_ET: Likewise.
25229 * localedata/locales/sk_SK: Likewise.
25230 * localedata/locales/sl_SI: Likewise.
25231 * localedata/locales/sm_WS: Likewise.
25232 * localedata/locales/so_DJ: Likewise.
25233 * localedata/locales/so_ET: Likewise.
25234 * localedata/locales/so_KE: Likewise.
25235 * localedata/locales/so_SO: Likewise.
25236 * localedata/locales/sq_AL: Likewise.
25237 * localedata/locales/sq_MK: Likewise.
25238 * localedata/locales/sr_ME: Likewise.
25239 * localedata/locales/sr_RS: Likewise.
25240 * localedata/locales/sr_RS@latin: Likewise.
25241 * localedata/locales/ss_ZA: Likewise.
25242 * localedata/locales/st_ZA: Likewise.
25243 * localedata/locales/sv_FI: Likewise.
25244 * localedata/locales/sv_SE: Likewise.
25245 * localedata/locales/sw_KE: Likewise.
25246 * localedata/locales/sw_TZ: Likewise.
25247 * localedata/locales/szl_PL: Likewise.
25248 * localedata/locales/ta_IN: Likewise.
25249 * localedata/locales/ta_LK: Likewise.
25250 * localedata/locales/tcy_IN: Likewise.
25251 * localedata/locales/te_IN: Likewise.
25252 * localedata/locales/tg_TJ: Likewise.
25253 * localedata/locales/th_TH: Likewise.
25254 * localedata/locales/the_NP: Likewise.
25255 * localedata/locales/ti_ER: Likewise.
25256 * localedata/locales/ti_ET: Likewise.
25257 * localedata/locales/tig_ER: Likewise.
25258 * localedata/locales/tk_TM: Likewise.
25259 * localedata/locales/tl_PH: Likewise.
25260 * localedata/locales/tn_ZA: Likewise.
25261 * localedata/locales/to_TO: Likewise.
25262 * localedata/locales/tpi_PG: Likewise.
25263 * localedata/locales/tr_CY: Likewise.
25264 * localedata/locales/tr_TR: Likewise.
25265 * localedata/locales/ts_ZA: Likewise.
25266 * localedata/locales/tt_RU: Likewise.
25267 * localedata/locales/tt_RU@iqtelif: Likewise.
25268 * localedata/locales/ug_CN: Likewise.
25269 * localedata/locales/uk_UA: Likewise.
25270 * localedata/locales/unm_US: Likewise.
25271 * localedata/locales/ur_IN: Likewise.
25272 * localedata/locales/ur_PK: Likewise.
25273 * localedata/locales/uz_UZ: Likewise.
25274 * localedata/locales/uz_UZ@cyrillic: Likewise.
25275 * localedata/locales/ve_ZA: Likewise.
25276 * localedata/locales/vi_VN: Likewise.
25277 * localedata/locales/wa_BE: Likewise.
25278 * localedata/locales/wae_CH: Likewise.
25279 * localedata/locales/wal_ET: Likewise.
25280 * localedata/locales/wo_SN: Likewise.
25281 * localedata/locales/xh_ZA: Likewise.
25282 * localedata/locales/yi_US: Likewise.
25283 * localedata/locales/yo_NG: Likewise.
25284 * localedata/locales/yue_HK: Likewise.
25285 * localedata/locales/yuw_PG: Likewise.
25286 * localedata/locales/zh_CN: Likewise.
25287 * localedata/locales/zh_HK: Likewise.
25288 * localedata/locales/zh_SG: Likewise.
25289 * localedata/locales/zh_TW: Likewise.
25290 * localedata/locales/zu_ZA: Likewise.
25291
cae87e64
FW
252922017-11-13 Florian Weimer <fweimer@redhat.com>
25293
25294 * support/next_to_fault.h, support/next_to_fault.c: New files.
25295 * support/Makefile (libsupport-routines): Add next_to_fault.
25296 * resolv/tst-inet_pton.c (struct next_to_fault)
25297 (next_to_fault_allocate, next_to_fault_free): Remove.
25298 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25299
4a306ef1
L
253002017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25301
25302 * elf/dl-support.c: Include <dl-procruntime.c>.
25303 * include/link.h: Include <link_map.h>.
25304 * sysdeps/generic/dl-procruntime.c: New file.
25305 * sysdeps/generic/link_map.h: Likewise.
25306 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25307 the writable ld.so namespace.
25308
e69897bf
PE
253092017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25310
25311 timezone: pacify GCC -Wstringop-truncation
25312 Problem reported by Martin Sebor in:
25313 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25314 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25315
1ffe1ccb
FW
253162017-11-12 Florian Weimer <fweimer@redhat.com>
25317
eceed671
FW
25318 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25319 tst-xreadlink.
25320 (tests): Add tst-xreadlink.
1ffe1ccb
FW
25321 * support/support.h (xstrndup): Declare.
25322 * support/xunistd.h (xunlink, xreadlink): Declare.
25323 * support/temp_file.h (support_create_temp_directory): Declare.
25324 * support/temp_file.c (support_create_temp_directory): New function.
25325 * support/support_chroot.c (support_chroot_create): Use it.
25326 * support/xreadlink.c: New file.
25327 * support/xstrndup.c: Likewise.
25328 * support/xunlink.c: Likewise.
25329 * support/tst-xreadlink.c: Likewise.
25330
456b40a9
JDA
253312017-11-11 John David Anglin <danglin@gcc.gnu.org>
25332
25333 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25334
c0a25aa9
FW
253352017-11-11 Florian Weimer <fweimer@redhat.com>
25336
25337 [BZ #22409]
25338 [BZ #22412]
25339 * resolv/res_comp.c (printable_string, binary_hnok)
25340 (binary_leading_dash): New functions.
25341 (res_hnok): Reimplement using these functions and ns_name_pton.
25342 (res_ownok): Likewise.
25343 (res_mailok): Reimplement using printable_string, ns_name_pton and
25344 binary_hnok.
25345 (res_dnok): Reimplement using printable_string and ns_name_pton.
25346 * resolv/tst-res_hnok.c (tests): Add additional tests.
25347 (LETTERDIGITS, PRINTABLE): Define.
25348 (do_test): Adjust one_char results.
25349
9e0ad304
FW
253502017-11-11 Florian Weimer <fweimer@redhat.com>
25351
25352 [BZ #22413]
25353 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25354 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25355
e2a9fca8
FW
253562017-11-11 Florian Weimer <fweimer@redhat.com>
25357
25358 * resolv/tst-ns_name_pton.c: New file.
25359 * resolv/Makefile (tests): Add tst-ns_name_pton.
25360 (tst-ns_name_pton): Link against libresolv.
25361
5c1a6923
FW
253622017-11-11 Florian Weimer <fweimer@redhat.com>
25363
25364 * resolv/tst-res_hnok.c: New file.
25365 * resolv/Makefile (tests): Add tst-res_hnok.
25366 (tst-res_hnok): Link against libresolv.
25367
a19c0a1d
FW
253682017-11-11 Florian Weimer <fweimer@redhat.com>
25369
25370 * resolv/tst-resolv-network.c: Use test framework instead explicit
25371 main function.
25372
8cb5295d
L
253732017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25374
25375 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25376 <jmp_buf-macros.h>.
25377 [!_ISOMAC] (STR_HELPER): New.
25378 [!_ISOMAC] (STR): Likewise.
25379 [!_ISOMAC] (TEST_SIZE): Likewise.
25380 [!_ISOMAC] (TEST_ALIGN): Likewise.
25381 [!_ISOMAC] (TEST_OFFSET): Likewise.
25382 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25383 field offsets of jmp_buf as well as sigjmp_buf.
25384 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25385 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25386 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25387 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25388 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25389 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25390 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25391 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25392 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25393 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25394 Likewise.
25395 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25396 Likewise.
25397 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25399 Likewise.
25400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25401 Likewise.
25402 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25403 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25404 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25405 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25406 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25408 Likewise.
25409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25410 Likewise.
25411 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25412 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25413 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25414
58c4a161
JM
254152017-11-07 Joseph Myers <joseph@codesourcery.com>
25416
3683b423
JM
25417 * include/float.h
25418 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25419 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25420 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25421 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25422 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25423 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25424 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25425 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25426 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25427 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25428 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25429 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25430 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25431 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25432 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25433 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25434 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25435 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25436 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25437 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25438 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25439 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25440 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25441 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25442 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25443 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25444 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25445 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25446 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25447 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25448 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25449 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25450 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25451 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25452 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25453 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25454 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25455 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25456 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25457 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25458 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25459 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25460 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25461 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25462 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25463 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25464 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25465 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25466 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25467 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25468 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25469 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25470 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25471 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25472 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25473 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25474 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25475 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25476 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25477 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25478 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25479 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25480 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25481 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25482 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25483 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25484 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25485 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25486 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25487 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25488 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25489 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25490 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25491 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25492 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25493 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25494 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25495 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25496 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25497 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25498 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25499 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25500 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25501 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25502 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25503 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25504 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25505 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25506
58c4a161
JM
25507 * stdlib/tst-strtod.h (F16): New macro.
25508 (F32): Likewise.
25509 (F64): Likewise.
25510 (F32X): Likewise.
25511 (F64X): Likewise.
25512 (F128X): Likewise.
25513 (IF_FLOAT16): Likewise.
25514 (IF_FLOAT32): Likewise.
25515 (IF_FLOAT64): Likewise.
25516 (IF_FLOAT32X): Likewise.
25517 (IF_FLOAT64X): Likewise.
25518 (IF_FLOAT128X): Likewise.
25519 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25520 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25521 (STRTOD_TEST_FOREACH): Likewise.
25522 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25523 (CHOOSE_f64): Likewise.
25524 (CHOOSE_f32x): Likewise.
25525 (CHOOSE_f64x): Likewise.
25526
feda96a1
AS
255272017-11-07 Andreas Schwab <schwab@suse.de>
25528
25529 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25530
1bd0cbb8
MF
255312017-11-07 Mike FABIAN <mfabian@redhat.com>
25532
25533 [BZ #22403]
25534 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25535 to be escaped.
25536 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25537 to be escaped.
25538
363e4519 255392017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
25540
25541 [BZ #22403]
25542 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25543 to be escaped.
25544 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25545 to be escaped.
25546 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25547 to be escaped.
25548
dff91cd4
AZ
255492017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25550
06be6368
AZ
25551 [BZ #22298]
25552 * nptl/allocatestack.c (allocate_stack): Check if
25553 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25554 __PTHREAD_MUTEX_HAVE_PREV is defined.
25555 * nptl/descr.h (pthread): Likewise.
25556 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25557 Likewise.
25558 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25559 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25560 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25561 * sysdeps/nptl/bits/thread-shared-types.h
25562 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25563 defines.
25564 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25565 of __WORDSIZE for internal layout.
25566 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25567 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25568 instead of __WORDSIZE whether to use an union for __spins and __list
25569 fields.
25570 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25571 case.
25572 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25573 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25574 defines.
25575 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25576 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25577 Likewise.
25578 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25579 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25580 Likewise.
25581 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25582 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25583 Likewise.
25584 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25585 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25586 Likewise.
25587 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25588 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25589 Likewise.
25590 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25591 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25592 Likewise.
25593 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25594 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25595 Likewise.
25596 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25597 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25598 Likewise.
25599 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25600 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25601 Likewise.
25602 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25603 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25604 Likewise.
25605 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25606 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25607 Likewise.
25608 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25609 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25610 Likewise.
25611 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25612 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25613 Likewise.
25614 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25615 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25616 Likewise.
25617
72b3c6ee
AZ
25618 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25619 New macros.
25620 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25621 checks for expected input type size.
25622 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25623 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25624 Likewise.
25625 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25626 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25627 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25628 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25629 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25630 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25631 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25632 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25633 superflous runtime assert check.
25634 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25635 Likewise.
25636 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25637 Likewise.
25638 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25639 Likewise.
25640 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25641 Likewise.
25642 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25643 Likewise.
25644 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25645 Likewise.
25646 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25647 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25648 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25649 Likewise.
25650 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25651 Likewise.
25652 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25653 Likewise.
25654 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25655 Likewise.
25656 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25657 Likewise.
25658 * nptl/pthread_attr_setinheritsched.c
25659 (__pthread_attr_setinheritsched): Likewise.
25660 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25661 Likewise.
25662 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25663 Likewise.
25664 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25665 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25666 __old_pthread_attr_setstack): Likewise.
25667 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25668 Likewise.
25669 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25670 Likewise.
25671 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25672 Likewise.
25673 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25674 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25675 Likewise.
25676 * nptl/tst-typesizes.c: Remove file.
25677
dff91cd4
AZ
25678 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25679 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25680 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25681 checks for internal pthread_mutex_t offsets.
25682 * sysdeps/aarch64/nptl/pthread-offsets.h
25683 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25684 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25685 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25686 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25687 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25688 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25689 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25690 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25691 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25692 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25693 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25694 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25695 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25696 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25697 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25698 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25699 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25700 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25701
b7fc95f8
FW
257022017-11-07 Florian Weimer <fweimer@redhat.com>
25703
25704 * bits/mman-linux.h: Move ...
25705 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25706 comment.
25707 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25708 outdated comment.
25709
6b860364
RS
257102017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25711
25712 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25713 Redefine STRNLEN as __strnlen_power8.
25714
802c1f16
AZ
257152017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25716
d83da3a4
AZ
25717 * signal/sighold.c (sighold): Optimize implementation.
25718
6a4235f1
AZ
25719 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25720 __NR_rt_sigqueueinfo.
25721
8b0e795a
AZ
25722 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25723 __sigtimedwait.
25724 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25725 assume __NR_rt_sigtimedwait.
25726 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25727 and add LIBC_CANCEL_HANDLED for cancellation marking.
25728 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25729
a1a638dd
AZ
25730 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25731 (sysdeps_routines): Add memchr_noneon.
25732 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25733 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25734 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25735 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25736 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25737 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25738 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25739
802c1f16
AZ
25740 * sysdeps/arm/arm-ifunc.h: New file.
25741 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25742 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25743 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25744 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25745 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25746 (__memcpy_neon): Avoid create hidden alias.
25747 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25748 (__memcpy_vfp): Likewise.
25749 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25750 (sysdep_routines): Add memcpy_arm.
25751 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25752
abcb584d
L
257532017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25754
25755 [BZ #22362]
25756 * Makerules (make-link-multidir): New.
25757 * config.make.in (multidir): New.
25758 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25759 * configure: Regenerated.
25760 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25761 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25762 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25763 New target.
25764
4e2dff67
JM
257652017-11-06 Joseph Myers <joseph@codesourcery.com>
25766
25767 [BZ #22402]
25768 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25769 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25770
a1c7cd3c
MF
257712017-11-04 Mike FABIAN <mfabian@redhat.com>
25772
25773 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25774 to be escaped.
25775
b9af29c0
FW
257762017-11-04 Florian Weimer <fweimer@redhat.com>
25777
25778 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25779
4ca70e1a
JM
257802017-11-03 Joseph Myers <joseph@codesourcery.com>
25781
25782 * math/math.h [__HAVE_DISTINCT_FLOAT16
25783 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25784 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25785 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25786 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25787 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25788 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25789 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25790 (__MATH_TG_F32): New macro.
25791 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25792 (__MATH_TG_F64X): Likewise.
25793 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25794 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25795
ba0e6668
DL
257962017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25797
25798 * po/de.po: Update translations.
25799 * po/ru.po: Likewise.
25800
bc18a6d3
FW
258012017-11-03 Florian Weimer <fweimer@redhat.com>
25802
25803 * manual/filesys.texi (Hard Links): Document linkat.
25804
97255170
JM
258052017-11-03 Joseph Myers <joseph@codesourcery.com>
25806
86ec4865
JM
25807 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25808 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25809 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25810 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25811 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25812 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25813 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25814 the same as _Float128.
25815 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25816 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25817 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25818
97255170
JM
25819 * stdlib/stdlib.h
25820 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25821 Declare.
25822 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25823 Likewise.
25824 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25825 Likewise.
25826 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25827 (strtof32x): Likewise.
25828 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25829 (strtof64x): Likewise.
25830 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25831 (strtof128x): Likewise.
25832 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25833 (strfromf16): Likewise.
25834 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25835 (strfromf32): Likewise.
25836 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25837 (strfromf64): Likewise.
25838 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25839 (strfromf32x): Likewise.
25840 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25841 (strfromf64x): Likewise.
25842 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25843 (strfromf128x): Likewise.
25844 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25845 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25846 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25847 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25848 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25849 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25850
6d58ce5e
RH
258512017-11-03 Richard Henderson <rth@twiddle.net>
25852
25853 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25854
659ca267
SN
258552017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25856
25857 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25858
94d2f0af
SN
258592017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25860
25861 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25862 DT_TLSDESC_GOT initialization.
25863 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25864 (_dl_tlsdesc_resolve_hold): Likewise.
25865 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25866 (_dl_tlsdesc_resolve_hold): Likewise.
25867 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25868 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25869
28e1ddf3
SN
258702017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25871
25872 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25873
0ca3d1d6
SN
258742017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25875
25876 [BZ #18572]
25877 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25878 non-lazily for R_ARM_TLS_DESC.
25879
2c1d4e5f
SN
258802017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25881
25882 [BZ #17078]
25883 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25884 R_ARM_TLS_DESC case.
25885 (elf_machine_lazy_rel): Remove the prelink check.
25886
91c5a366
SN
258872017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25888
25889 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25890 DT_TLSDESC_GOT initialization.
25891 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25892 (_dl_tlsdesc_resolve_rela): Likewise.
25893 (_dl_tlsdesc_resolve_hold): Likewise.
25894 (_dl_tlsdesc_undefweak): Remove ldar.
25895 (_dl_tlsdesc_dynamic): Likewise.
25896 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25897 (_dl_tlsdesc_resolve_rela): Likewise.
25898 (_dl_tlsdesc_resolve_hold): Likewise.
25899 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25900 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25901 (_dl_tlsdesc_resolve_rela): Likewise.
25902 (_dl_tlsdesc_resolve_hold): Likewise.
25903
b7cf203b
SN
259042017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25905
25906 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25907 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25908
0cc5b022
SN
259092017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25910
25911 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25912 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25913
43ddff2e
JM
259142017-11-02 Joseph Myers <joseph@codesourcery.com>
25915
25916 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25917 Declare.
25918 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25919 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25920 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25921 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25922 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25923 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25924 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25925 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25926 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25927 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25928 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25929
5baac970
MF
259302017-11-02 Mike FABIAN <mfabian@redhat.com>
25931
25932 [BZ #22382]
25933 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25934 * localedata/locales/tpi_PG: Add standard header.
25935
ef11081f
FW
259362017-11-02 Florian Weimer <fweimer@redhat.com>
25937
25938 test-errno-linux: quotactl can fail with EPERM in containers.
25939 * sysdeps/unix/sysv/linux/test-errno-linux.c
25940 (LIST, LIST_FORWARD): New macros.
25941 (check_error_in_list): New function.
25942 (test_wrp_rv): Accept list of permitted error codes.
25943 (test_wrp_rv2): Remove.
25944 (test_wrp): Call test_wrp_rv with list of error codes.
25945 (test_wrp2): Accept list of error codes.
25946 (do_test): Adjust. Allow EPERM for quotactl.
25947
d10b132b
FW
259482017-11-02 Florian Weimer <fweimer@redhat.com>
25949
25950 * stdio-common/bug16.c (do_test): Use array_length.
25951 * stdio-common/errlist.c (_sys_nerr): Likewise.
25952 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25953 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25954 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25955 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25956 (do_test): Use array_length.
25957 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25958 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25959 * stdio-common/tst-printf-round.c (do_test): Likewise.
25960 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25961 (CHECK): Use array_length.
25962 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25963 * stdio-common/tstscanf.c (main): Likewise.
25964 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25965
c94a5688
FW
259662017-11-02 Florian Weimer <fweimer@redhat.com>
25967
25968 Add array_length and array_end macros.
25969 * include/array_length.h: New file.
25970
2fac6a6c
FW
259712017-11-02 Florian Weimer <fweimer@redhat.com>
25972
25973 [BZ #22332]
25974 * posix/tst-glob-tilde.c (do_noescape): New variable.
25975 (one_test): Process it.
25976 (do_test): Set do_noescape. Add unescaping test case.
25977
2f1b212e
JM
259782017-11-01 Joseph Myers <joseph@codesourcery.com>
25979
260fbd0a
JM
25980 * math/complex.h
25981 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25982 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25983 with appropriate macros defined and undefined.
25984 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25985 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25986 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25987 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25988 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25989 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25990 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25991 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25992 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25993 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25994
2f1b212e
JM
25995 * math/complex.h
25996 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25997 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25998 that for long double. Do not condition define and undefine of
25999 _Mdouble_complex_ on [__CFLOAT128].
26000
95b93c6e
L
260012017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26002
26003 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26004 of <sysdeps/generic/sysdep.h>.
26005 (ALIGNARG): Removed.
26006 (ASM_SIZE_DIRECTIVE): Likewise.
26007 (ENTRY): Likewise.
26008 (END): Likewise.
26009 (ENTRY_CHK): Likewise.
26010 (END_CHK): Likewise.
26011 (syscall_error): Likewise.
26012 (mcount): Likewise.
26013 (PSEUDO_END): Likewise.
26014 (L): Likewise.
26015 (atom_text_section): Likewise.
26016 * sysdeps/x86/sysdep.h: New file.
26017 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26018 of <sysdeps/generic/sysdep.h>.
26019 (ALIGNARG): Removed.
26020 (ASM_SIZE_DIRECTIVE): Likewise.
26021 (ENTRY): Likewise.
26022 (END): Likewise.
26023 (ENTRY_CHK): Likewise.
26024 (END_CHK): Likewise.
26025 (syscall_error): Likewise.
26026 (mcount): Likewise.
26027 (PSEUDO_END): Likewise.
26028 (L): Likewise.
26029 (atom_text_section): Likewise.
26030
1bb36539
RL
260312017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26032
26033 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26034 category of LC_CTYPE set to "i18n:2012".
26035 * localedata/locales/i18n_ctype: Regenerate.
26036
067f5d97 260372017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 26038
87bbc4cf
YN
26039 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26040 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26041 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26042 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26043
e8681faa
YN
26044 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26045 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26046 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26047 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26048
540af6e2
JM
260492017-10-31 Joseph Myers <joseph@codesourcery.com>
26050
43e66283
JM
26051 * math/complex.h
26052 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26053 New macro.
26054 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26055 Likewise.
26056 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26057 Likewise.
26058 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26059 (CMPLXF32X): Likewise.
26060 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26061 (CMPLXF64X): Likewise.
26062 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26063 (CMPLXF128X): Likewise.
26064
540af6e2
JM
26065 * math/math.h
26066 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26067 (__MATH_EVAL_FMT2): Define to add 0.0f.
26068
58af72b4
AM
260692017-10-31 Alan Modra <amodra@gmail.com>
26070
26071 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26072 include sysdep.h.
26073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26087 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26088 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26089 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26090 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26091 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26092 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26093 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26094 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26095 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26096 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26097 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26098 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26099 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26100 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26101 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26102 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26103 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26104 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26105 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26106 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26107 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26108 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26109 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26110 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26111 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26112 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26113 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26114 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26115 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26116 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26117 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26118 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26119 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26120 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26121 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26122 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26123 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26124 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26125 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26126 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26127 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26128 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26129 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26130 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26131 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26132 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26133 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26134 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26135 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26136 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26137 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26138 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26139 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26140 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26141 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26142
26143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26144 include sysdep.h and math_ldbl_opt.h.
26145
26146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26147 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26172
112f30b3
AM
261732017-10-31 Alan Modra <amodra@gmail.com>
26174
26175 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26176 string/strncase_l.c, not string/strncase.c.
26177 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26178 (libc_hidden_def): Redefine.
26179
e9e7eced
AM
261802017-10-31 Alan Modra <amodra@gmail.com>
26181
26182 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26183 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26184 (__strcasecmp): Don't define.
26185
f7b465cf
AM
261862017-10-31 Alan Modra <amodra@gmail.com>
26187
26188 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26189 IS_IN (libc).
26190 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26191 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26192 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26193
d46b09f9
AM
261942017-10-31 Alan Modra <amodra@gmail.com>
26195
26196 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26197 USE_AS_STPNCPY.
26198
e9b8e194
AM
261992017-10-31 Alan Modra <amodra@gmail.com>
26200
26201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26202 Redefine only when SHARED.
26203
eda162dd
JM
262042017-10-30 Joseph Myers <joseph@codesourcery.com>
26205
b61afe8c
JM
26206 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26207 Include <bits/math-finite.h> with appropriate macros defined and
26208 undefined.
26209 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26210 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26211 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26212 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26213 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26214
eda162dd
JM
26215 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26216 [!_Mlong_double_] (_Mlong_double_): Likewise.
26217 [!_Mfloat16_] (_Mfloat16_): Likewise.
26218 [!_Mfloat32_] (_Mfloat32_): Likewise.
26219 [!_Mfloat64_] (_Mfloat64_): Likewise.
26220 [!_Mfloat128_] (_Mfloat128_): Likewise.
26221 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26222 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26223 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26224 (_Mdouble_): Define without indirection through those macros.
26225 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26226 [!_Mfloat128_] (_Mfloat128_): Likewise.
26227 [_Mlong_double_] (_Mlong_double_): Likewise.
26228 (_Mdouble_): Define without indirection through those macros.
26229 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26230 not add -D_Mlong_double_=double.
26231 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26232 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26233
4ad5106e
L
262342017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26235
26236 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26237
fe326df7
L
262382017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26239
26240 * sysdeps/x86/libc-start.c: Reformat.
26241
c5cc4514
L
262422017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26243
26244 [BZ #22353]
26245 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26246 (1): Renamed to ...
26247 (L(Src0)): This.
26248 (L(Src1)): New.
26249 (L(Src2)): Likewise.
26250 (L(1)): Renamed to ...
26251 (L(Src3)): This.
26252
ce12269f
JM
262532017-10-30 Joseph Myers <joseph@codesourcery.com>
26254
26255 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26256 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26257 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26258 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26259 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26260 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26261 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26262 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26263 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26264 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26265 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26266 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26267 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26268 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26269 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26270 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26271 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26272 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26273 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26274 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26275 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26276 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26277 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26278 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26279 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26280 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26281 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26282 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26283 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26284 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26285 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26286 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26287 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26288 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26289 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26290 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26291 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26292 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26293 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26294 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26295 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26296 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26297 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26298 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26299 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26300 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26301 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26302 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26303 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26304 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26305 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26306 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26307 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26308 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26309 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26310 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26311 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26312 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26313 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26314 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26315 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26316 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26317 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26318 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26319 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26320 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26321
4484b9e2
FW
263222017-10-30 Florian Weimer <fweimer@redhat.com>
26323
26324 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26325 always defined.
26326 * io/tst-mkdirat.c (do_test): Likewise.
26327 * io/tst-mkfifoat.c (do_test): Likewise.
26328 * io/tst-mknodat.c (do_test): Likewise.
26329 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26330 * locale/programs/locale.c (select_dirs): Likewise.
26331 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26332 * posix/bug-glob2.c (my_readdir): Likewise.
26333 * posix/tst-dir.c (main): Likewise.
26334 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26335 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26336
68fe16dd
FW
263372017-10-30 Florian Weimer <fweimer@redhat.com>
26338
26339 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26340 just __USE_GNU.
26341
dadf23f0
FW
263422017-10-30 Florian Weimer <fweimer@redhat.com>
26343
26344 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26345 Convert to support/test-driver.c.
26346 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26347 New macro parameters.
26348 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26349 * posix/tst-gnuglob.c: New file.
26350 * posix/tst-gnuglob64.c: Likewise.
26351 * posix/Makefile (tests): Add tst-gnuglob64.
26352
363e4519 263532017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
26354
26355 [BZ #19485]
26356 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26357 and use a better translation for March in “mon”.
26358 * localedata/locales/csb_PL: Use more ASCII to improve the
26359 readability of the source.
26360
b110af82
MF
263612017-10-30 Mike FABIAN <mfabian@redhat.com>
26362
26363 [BZ #13953]
26364 * localedata/locales/km_KH: Use ASCII as much
26365 as possible for better readability of the source and
26366 remove useless comments.
26367 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26368 was commented out and apparently wrong anyway because it was
26369 using Lao characters. If Buddhist era should be used
26370 for km_KH, a native speaker should write the correct formaat
26371 for Khmer.
26372 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26373 (According to CLDR, the first weekday for Cambodia is Sunday).
26374 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26375 (These were using Lao characters which must be wrong. If we get
26376 the correct data from a native speaker, we could add it back, until
26377 then it is better not to have name_mr and name_mrs at all than
26378 having it wrong).
26379
f301e533
RL
263802017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26381
26382 * locale/loadlocale.c: Correct size of
26383 _nl_value_type_LC_<category> arrays.
26384
7e9d7073
JM
263852017-10-27 Joseph Myers <joseph@codesourcery.com>
26386
26387 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26388 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26389 with appropriate macros defined and undefined.
26390 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26391 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26392 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26393 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26394 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26395
63d3b468
L
263962017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26397
26398 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26399 "-O2 -march=i586".
26400
a4cc02c7
MF
264012017-10-27 Mike FABIAN <mfabian@redhat.com>
26402
26403 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26404 with lowercase letters to make it agree with CLDR.
26405
1e5971ec
MF
264062017-10-27 Mike FABIAN <mfabian@redhat.com>
26407
26408 [BZ #15260]
26409 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26410 first letters of yesstr and nostr in yesexpr and noexpr,
26411 not for the full words.
26412 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26413 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26414 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26415 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26416 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26417 first letters of yesstr and nostr in yesexpr and noexpr,
26418 until now only English was matched in yesexpr and noexpr.
26419 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26420 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26421 fil but not for tl. As tl and fil are very similar, using fil
26422 is probably better than using English.
26423
363e4519 264242017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
26425
26426 [BZ #21706]
26427 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26428 in yesstr and nostr.
26429
5d220788
JM
264302017-10-26 Joseph Myers <joseph@codesourcery.com>
26431
ecc7da5b
JM
26432 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26433 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26434 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26435 Likewise.
26436 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26437 Likewise.
26438 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26439 Likewise.
26440 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26441 Likewise.
26442 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26443 (SNANF128X): Likewise.
26444
5d220788
JM
26445 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26446 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26447 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26448 (HUGE_VAL_F32): Likewise.
26449 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26450 (HUGE_VAL_F64): Likewise.
26451 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26452 (HUGE_VAL_F32X): Likewise.
26453 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26454 (HUGE_VAL_F64X): Likewise.
26455 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26456 (HUGE_VAL_F128X): Likewise.
26457
363e4519 264582017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
26459
26460 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26461 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26462 for the br_FR locale.
26463
363e4519 264642017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
26465
26466 [BZ #21706]
26467 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26468
337ff3c5
CD
264692017-10-25 Carlos O'Donell <carlos@redhat.com>
26470
02eec681
CD
26471 * locale/programs/record-status.h: Define globals, and function
26472 prototypes. Move function bodies...
26473 * locale/programs/record-status.c: ... to here. New file.
26474 * iconv/Makefile (iconv_prog-modules): Add record-status.
26475 * locale/Makefile (lib-modules): Likewise.
26476 * iconv/iconv_prog.c: Remove verbose.
26477 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26478 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26479 record a warning about ASCII compatibility.
26480 * locale/programs/ld-monetary.c (monetary_finish): If
26481 warn_int_curr_symbol is true then record a warning about the symbol
26482 not being in our ISO 4217 list.
26483 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26484 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26485 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26486 (OPT_NO_WARN): Define.
26487 (OPT_WARN): Define.
26488 (options): Add entry for --no-warnings, and --warnings.
26489 (set_warnings): New function to enable/disable warnings.
26490 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26491 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26492 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26493 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26494 Pass flags to generate_locale.
26495 (generate_locale): Accept new flag argument and pass it to localedef
26496 invocation.
26497 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26498 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26499
56fa555a
CD
26500 * localedata/Makefile (test-input-data): Use full file name.
26501 * localedata/da_DK.in: Rename to...
26502 * localedata/da_DK.ISO-8859-1.in: ...this.
26503 * localedata/de_DE.in: Rename to...
26504 * localedata/de_DE.ISO-8859-1.in: ...this.
26505 * localedata/en_US.in: Rename to...
26506 * localedata/en_US.ISO-8859-1.in: ...this.
26507 * localedata/fr_FR.in: Rename to...
26508 * localedata/fr_FR.UTF-8.in: ... this.
26509 * localedata/hr_HR.in: Rename to...
26510 * localedata/hr_HR.ISO-8859-2.in: ...this.
26511 * localedata/hu_HU.in: Rename to...
26512 * localedata/hu_HU.UTF-8.in: ...this.
26513 * localedata/si_LK.in: Rename to...
26514 * localedata/si_LK.UTF-8.in: ...this.
26515 * localedata/sv_SE.in: Rename to...
26516 * localedata/sv_SE.ISO-8859-1.in: ...this.
26517 * localedata/tr_TR.in: Rename to...
26518 * localedata/tr_TR.UTF-8.in: ...this.
26519 * localedata/uk_UA.in: Rename to...
26520 * localedata/uk_UA.UTF-8.in: ...this.
26521 * localedata/sort-test.sh: Test file is locale name with the
26522 suffix.
26523
337ff3c5
CD
26524 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26525 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26526 file.
26527 * localedata/locales/i18n_ctype: Regenerate.
26528 * localedata/locales/tr_TR: Likewise.
26529 * localedata/locales/translit_circle: Likewise.
26530 * localedata/locales/translit_cjk_compat: Likewise.
26531 * localedata/locales/translit_combining: Likewise.
26532 * localedata/locales/translit_compat: Likewise.
26533 * localedata/locales/translit_font: Likewise.
26534 * localedata/locales/translit_fraction: Likewise.
26535
63da5cd4
RS
265362017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26537
26538 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26539 lxvd2x/stxvd2x with lvx/stvx.
26540 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26541
a122dbfb
L
265422017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26543
26544 * include/alloc_buffer.h: Replace "if if " with "if " in
26545 comments.
26546 * sysdeps/mips/memcpy.S: Likkewise.
26547 * sysdeps/mips/memset.S: Likewise.
26548 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26549 Likewise.
26550 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26551 Likewise.
26552 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26553 Likewise.
26554
9be7530c
MF
265552017-10-25 Mike FABIAN <mfabian@redhat.com>
26556
26557 [BZ #15261]
26558 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26559 yesexpr and noexpr.
26560 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26561 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26562 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26563 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26564 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26565 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26566 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26567
6ccbf6ff
MF
265682017-10-25 Mike FABIAN <mfabian@redhat.com>
26569
26570 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26571 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26572 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26573 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26574 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26575 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26576 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26577 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26578 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26579 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26580 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26581 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26582
58b1a7ea
MF
265832017-10-25 Mike FABIAN <mfabian@redhat.com>
26584
26585 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26586 as possible for better readability of the source.
26587 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26588 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26589 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26590 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26591 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26592 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26593 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26594 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26595 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26596 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26597 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26598 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26599 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26600 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26601 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26602 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26603 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26604 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26605 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26606 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26607 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26608 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26609 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26610 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26611 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26612 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26613 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26614 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26615 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26616 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26617 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26618 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26619 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26620 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26621 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26622 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26623 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26624 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26625 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26626 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26627 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26628 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26629 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26630 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26631 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26632 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26633 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26634 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26635 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26636 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26637 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26638 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26639 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26640 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26641 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26642 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26643 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26644 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26645 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26646 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26647 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26648 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26649 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26650 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26651 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26652 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26653 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26654 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26655 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26656 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26657 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26658 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26659 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26660 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26661 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26662 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26663 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26664 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26665 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26666 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26667 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26668 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26669 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26670 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26671 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26672 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26673 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26674 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26675 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26676 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26677 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26678 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26679 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26680 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26681 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26682 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26683 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26684 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26685 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26686 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26687 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26688 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26689 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26690 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26691 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26692 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26693 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26694 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26695 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26696 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26697 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26698 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26699 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26700 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26701 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26702 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26703 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26704 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26705 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26706 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26707 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26708 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26709 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26710 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26711 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26712 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26713 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26714 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26715 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26716 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26717 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26718 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26719 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26720 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26721 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26722 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26723 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26724 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26725 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26726 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26727 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26728 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26729 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26730 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26731 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26732 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26733 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26734 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26735 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26736 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26737 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26738 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26739 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26740 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26741 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26742 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26743 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26744 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26745 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26746 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26747 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26748 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26749 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26750 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26751 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26752 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26753 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26754 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26755 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26756 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26757 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26758 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26759 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26760 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26761
17e78edb
MF
267622017-10-25 Mike FABIAN <mfabian@redhat.com>
26763
26764 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26765 (Use first letters of yesstr and nostr correctly instead of using
26766 full words).
26767
74e7284f
MF
267682017-10-25 Mike FABIAN <mfabian@redhat.com>
26769
26770 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26771 (Use first letters of yesstr and nostr correctly).
26772
b41a0ff1
MF
267732017-10-25 Mike FABIAN <mfabian@redhat.com>
26774
26775 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26776 also check for the first characters of yesstr and nostr.
26777 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26778 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26779
d971f380
MF
267802017-10-25 Mike FABIAN <mfabian@redhat.com>
26781
26782 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26783 also check for Chinese characters.
26784
effc9e1d
MF
267852017-10-25 Mike FABIAN <mfabian@redhat.com>
26786
26787 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26788 match also for the contents of yesstr and nostr. As the first letter
26789 of yesstr and nostr is equal, checking only for the first letter
26790 is not enough.
26791
10320881
MF
267922017-10-25 Mike FABIAN <mfabian@redhat.com>
26793
26794 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26795 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26796
d8682a15
MF
267972017-10-25 Mike FABIAN <mfabian@redhat.com>
26798
26799 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26800 of main contributor.
26801
1bfb86ae
MF
268022017-10-25 Mike FABIAN <mfabian@redhat.com>
26803
26804 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26805 instead of using English.
26806
da33d60b
MF
268072017-10-25 Mike FABIAN <mfabian@redhat.com>
26808
26809 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26810 by including the first letters of nostr and yesexpr in the regexp.
26811 Also make it more readable by using ASCII where possible.
26812
725bbb3e
MF
268132017-10-25 Mike FABIAN <mfabian@redhat.com>
26814
26815 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26816 the first letter of nostr in the regexp. It agrees with CLDR now.
26817 Also make it more readable by using ASCII where possible.
26818
fe043d8a
MF
268192017-10-24 Mike FABIAN <mfabian@redhat.com>
26820
26821 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26822 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26823 these strings contain a U+17D6 (which somewhat looks like a colon)
26824 instead of a real colon to separate the full words for “yes”
26825 and “no” from the single letter responses.
26826
360a8df3
MF
268272017-10-24 Mike FABIAN <mfabian@redhat.com>
26828
26829 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26830 it agree with CLDR (include the first letter of yesstr).
26831 Also make it more readable by using ASCII where possible.
26832
bab7b6b0
MF
268332017-10-24 Mike FABIAN <mfabian@redhat.com>
26834
26835 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26836 and improve yesexpr and noexpr. The yesstr and nostr apparently
26837 came from CLDR. And CLDR has a bug there: these strings contain
26838 a U+0903 (which looks like a colon) instead of a real colon
26839 to separate the full words for “yes” and “no” from the single
26840 letter responses.
26841
3e79f758
MF
268422017-10-24 Mike FABIAN <mfabian@redhat.com>
26843
26844 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26845 letters of the full yesstr and nostr in yesexpr and noexpr.
26846
4960c879
MF
268472017-10-24 Mike FABIAN <mfabian@redhat.com>
26848
26849 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26850 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26851 * localedata/locales/an_ES: Make source more readable by using ASCII
26852 where possible.
26853
b06a054f
MF
268542017-10-24 Mike FABIAN <mfabian@redhat.com>
26855
26856 [BZ #20952]
26857 * localedata/locales/yuw_PG: New file.
26858 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26859 * locale/iso-639.def: Add Yau (Uruwa).
26860
905a7725
WD
268612017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26862
26863 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26864
3f6bb8a3
WD
268652017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26866
26867 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26868 (__libc_realloc): Likewise.
26869 (_mid_memalign): Likewise.
26870 (__libc_calloc): Likewise.
26871
1d479c8c
MF
268722017-10-23 Mike FABIAN <mfabian@redhat.com>
26873
26874 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26875 by adding the generic +1 and -0 as in all other locales.
26876 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26877 day names and make it more readable by using ASCII where possible.
26878
91c3985c
JM
268792017-10-24 Joseph Myers <joseph@codesourcery.com>
26880
26881 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26882 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26883
aa95a241
AZ
268842017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26885
26886 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26887 WNOHANG in waitpid call.
26888
db9bab09
SP
268892017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26890
a2e0a7f1
SP
26891 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26892 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26893
db9bab09
SP
26894 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26895 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26896 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26897 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26898 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26899 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26900 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26901 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26902 variables.
26903
5062680c
MC
269042017-10-23 Michael Collison <michael.collison@arm.com>
26905
26906 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26907 with __builtin_sqrt.
26908 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26909 with __builtin_sqrtf.
26910 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26911 with __builtin_ceil.
26912 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26913 with __builtin_ceilf.
26914 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26915 with __builtin_floor.
26916 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26917 with __builtin_floorf.
26918 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26919 with __builtin_fma.
26920 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26921 with __builtin_fmaf.
26922 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26923 with __builtin_fmax.
26924 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26925 with __builtin_fmaxf.
26926 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26927 with __builtin_fmin.
26928 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26929 with __builtin_fminf.
26930 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26931 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26932 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26933 with builtin_rint and conversion to int.
26934 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26935 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26936 with builtin_llround.
26937 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26938 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26939 with builtin_rint and conversion to long int.
26940 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26941 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26942 with builtin_lround.
26943 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26944 with builtin_lroundf.
26945 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26946 statements with __builtin_nearbyint.
26947 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26948 statements with __builtin_nearbyintf.
26949 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26950 with __builtin_rint.
26951 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26952 with __builtin_rintf.
26953 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26954 with __builtin_round.
26955 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26956 with __builtin_roundf.
26957 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26958 with __builtin_trunc.
26959 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26960 with __builtin_truncf.
be080b6c
SN
26961 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26962 and s_l[l]round[f].c too.
5062680c 26963
174935af
AM
269642017-10-23 Alan Modra <amodra@gmail.com>
26965
26966 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26967 Adjust stack after restoring regs. Add missing LR cfi_restore.
26968
750a0e49
AM
269692017-10-23 Alan Modra <amodra@gmail.com>
26970
26971 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26972 Move LR save and frame setup/teardown and LR restore to
26973 immediately around memset call. Provide cfi.
26974
5313581c
L
269752017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26976
26977 * sysdeps/i386/fpu/e_powf.S: Removed.
26978 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26979 * sysdeps/i386/fpu/w_powf.c: Likewise.
26980 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26981 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26982 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26983 Add e_powf-sse2.
26984 (CFLAGS-e_powf-sse2.c): New.
26985 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26986 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26987
6089a3ee
L
269882017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26989
26990 * sysdeps/i386/fpu/e_log2f.S: Removed.
26991 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26992 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26993 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26994 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26995 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26996 Add e_log2f-sse2.
26997 (CFLAGS-e_log2f-sse2.c): New.
26998 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26999 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27000
80bb5935
L
270012017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27002
27003 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27004 Add e_powf-fma.
27005 (CFLAGS-e_powf-fma.c): New.
27006 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27007 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27008
5c7adbd8
L
270092017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27010
27011 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27012 Add e_log2f-fma.
27013 (CFLAGS-e_log2f-fma.c): New.
27014 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27015 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27016
0ccc7153
L
270172017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27018
27019 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27020 Add e_logf-fma.
27021 (CFLAGS-e_logf-fma.c): New.
27022 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27023 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27024
fe596486
L
270252017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27026
27027 * sysdeps/i386/fpu/e_logf.S: Removed.
27028 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27029 * sysdeps/i386/fpu/w_logf.c: Likewise.
27030 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27031 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27032 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27033 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27034 Add e_logf-sse2.
27035 (CFLAGS-e_logf-sse2.c): New.
27036 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27037 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27038
7eda65f6
L
270392017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27040
27041 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27042 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27043 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27044 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27045 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27046 Add e_exp2f-sse2.
27047 (CFLAGS-e_exp2f-sse2.c): New.
27048 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27049 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27050
5d15c969
L
270512017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27052
27053 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27054 Add e_exp2f-fma.
27055 (CFLAGS-e_exp2f-fma.c): New.
27056 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27057 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27058
b2f6137e
L
270592017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27060
27061 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27062 * sysdeps/i386/fpu/e_expf.S: Likewise.
27063 * sysdeps/i386/fpu/math_errf.c: Likewise.
27064 * sysdeps/i386/fpu/w_expf.c: Likewise.
27065 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27066 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27067 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27068 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27069 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27070 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27071 Remove e_expf-ia32.
27072 (CFLAGS-e_expf-sse2.c): New.
27073 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27074 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27075
e1f59beb
L
270762017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27077
27078 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27079 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27080 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27081 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27082 e_expf.c.
27083 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27084 New.
27085 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27086 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27087 Renamed to ...
27088 (__redirect_expf): This.
27089 (SYMBOL_NAME): Changed to expf.
27090 (__ieee754_expf): Renamed to ...
27091 (__expf): This.
27092 (__GI___expf): This.
27093 (__ieee754_expf): Add strong_alias.
27094 (__expf_finite): Likewise.
27095 (__expf): New.
27096 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27097
363e4519 270982017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
27099
27100 [BZ #22332]
27101 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27102 unescaping.
27103
e80fc1fc
FW
271042017-10-21 Florian Weimer <fweimer@redhat.com>
27105
27106 * posix/Makefile (tests): Add tst-glob-tilde.
27107 (tests-special): Add tst-glob-tilde-mem.out
27108 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27109 (tst-glob-tilde-mem.out): Add mtrace check.
27110 * posix/tst-glob-tilde.c: New file.
27111
797ba44b
JM
271122017-10-20 Joseph Myers <joseph@codesourcery.com>
27113
27114 * bits/floatn-common.h: New file.
27115 * math/Makefile (headers): Add bits/floatn-common.h.
27116 * bits/floatn.h: Include <bits/floatn-common.h>.
27117 * sysdeps/ia64/bits/floatn.h: Likewise.
27118 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27119 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27120 * sysdeps/powerpc/bits/floatn.h: Likewise.
27121 * sysdeps/x86/bits/floatn.h: Likewise.
27122
fe05e1cb
AZ
271232017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27124
8f6f5362
AZ
27125 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27126 indicates whether compiler emits an warning for alias for
27127 functions with incompatible types.
27128
fe05e1cb
AZ
27129 [BZ #22273]
27130 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27131 the auxiliary process is terminated by a signal before calling _exit
27132 or execve.
27133
b52b0d79
L
271342017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27135
27136 [BZ #21265]
27137 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27138 New.
27139 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27140 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27141 and bit_arch_XSAVEC_Usable if needed.
27142 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27143 and bit_arch_Use_dl_runtime_resolve_opt.
27144 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27145 Removed.
27146 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27147 (bit_arch_Prefer_No_AVX512): Updated.
27148 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27149 (bit_arch_XSAVEC_Usable): New.
27150 (STATE_SAVE_OFFSET): Likewise.
27151 (STATE_SAVE_MASK): Likewise.
27152 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27153 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27154 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27155 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27156 (index_arch_XSAVEC_Usable): New.
27157 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27158 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27159 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27160 is enabled.
27161 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27162 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27163 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27164 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27165 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27166 _dl_runtime_resolve_xsavec.
27167 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27168 Removed.
27169 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27170 instead of VEC_SIZE.
27171 (REGISTER_SAVE_BND0): Removed.
27172 (REGISTER_SAVE_BND1): Likewise.
27173 (REGISTER_SAVE_BND3): Likewise.
27174 (REGISTER_SAVE_RAX): Always defined to 0.
27175 (VMOV): Removed.
27176 (_dl_runtime_resolve_avx): Likewise.
27177 (_dl_runtime_resolve_avx_slow): Likewise.
27178 (_dl_runtime_resolve_avx_opt): Likewise.
27179 (_dl_runtime_resolve_avx512): Likewise.
27180 (_dl_runtime_resolve_avx512_opt): Likewise.
27181 (_dl_runtime_resolve_sse): Likewise.
27182 (_dl_runtime_resolve_sse_vex): Likewise.
27183 (USE_FXSAVE): New.
27184 (_dl_runtime_resolve_fxsave): Likewise.
27185 (USE_XSAVE): Likewise.
27186 (_dl_runtime_resolve_xsave): Likewise.
27187 (USE_XSAVEC): Likewise.
27188 (_dl_runtime_resolve_xsavec): Likewise.
27189 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27190 Removed.
27191 (_dl_runtime_resolve_avx512_opt): Likewise.
27192 (_dl_runtime_resolve_avx): Likewise.
27193 (_dl_runtime_resolve_avx_opt): Likewise.
27194 (_dl_runtime_resolve_sse): Likewise.
27195 (_dl_runtime_resolve_sse_vex): Likewise.
27196 (_dl_runtime_resolve_fxsave): New.
27197 (_dl_runtime_resolve_xsave): Likewise.
27198 (_dl_runtime_resolve_xsavec): Likewise.
27199
363e4519 272002017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
27201
27202 [BZ #22320]
27203 CVE-2017-15670
27204 * posix/glob.c (__glob): Fix one-byte overflow.
27205
6d43de4b
WD
272062017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27207
27208 * malloc/malloc.c (sysdep-cancel.h): Add include.
27209
a15d53e2
WD
272102017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27211
27212 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27213
b9a558e7
WH
272142017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27215
27216 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27217 (tests): Remove $(objpfx)ga_test depdendency.
27218 * resolv/ga_test.c: Remove file.
27219
b6b08b8e
MF
272202017-10-20 Mike FABIAN <mfabian@redhat.com>
27221
27222 [BZ #18812]
27223 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27224 * localedata/locales/kab_DZ: New file.
27225
9ba7e810
L
272262017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27227
27228 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27229 _dl_relocate_static_pie instead of _dl_start to compute load
27230 address in static PIE.
27231
4027a4fd
L
272322017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27233
27234 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27235
2f9314b4
MF
272362017-10-20 Mike FABIAN <mfabian@redhat.com>
27237
27238 [BZ #13605]
27239 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27240 * localedata/locales/shn_MM: New file.
27241
63b4baa4
FW
272422017-10-20 Florian Weimer <fweimer@redhat.com>
27243
27244 [BZ #22321]
27245 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27246 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27247 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27248 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27249 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27250 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27251
95ccb619
L
272522017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27253
27254 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27255
37bb78cb
JM
272562017-10-19 Joseph Myers <joseph@codesourcery.com>
27257
76f2ed92
JM
27258 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27259
37bb78cb
JM
27260 [BZ #22322]
27261 * sysdeps/mips/bits/long-double.h: Move to ....
27262 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27263
d74e6f6c
WD
272642017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27265
27266 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27267
363e4519 272682017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
27269 H.J. Lu <hongjiu.lu@intel.com>
27270
27271 [BZ #22299]
27272 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27273 GLRO(dl_platform) to NULL.
27274 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27275 (modules-names): Add tst-platformmod-1 and
27276 x86_64/tst-platformmod-2.
27277 (CFLAGS-tst-platform-1.c): New.
27278 (CFLAGS-tst-platformmod-1.c): Likewise.
27279 (CFLAGS-tst-platformmod-2.c): Likewise.
27280 (LDFLAGS-tst-platformmod-2.so): Likewise.
27281 ($(objpfx)tst-platform-1): Likewise.
27282 ($(objpfx)tst-platform-1.out): Likewise.
27283 (tst-platform-1-ENV): Likewise.
27284 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27285 * sysdeps/x86_64/tst-platform-1.c: New file.
27286 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27287 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27288
4b0fa403
MF
272892017-10-19 Mike FABIAN <mfabian@redhat.com>
27290
27291 [BZ #13994]
27292 * locale/iso-639.def: Add Karbi.
27293 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27294 * localedata/locales/mjw_IN: New file.
27295
81325b12
JM
272962017-10-18 Joseph Myers <joseph@codesourcery.com>
27297
27298 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27299 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27300 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27301 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27302 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27303 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27304 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27305 <bits/floatn.h>.
27306 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27307 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27308 * manual/math.texi (Mathematics): Document additional architecture
27309 support for _Float128.
27310 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27311 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27312 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27313 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27314 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27315 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27316 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27317 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27318 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27319 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27320 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27321 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27322 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27323 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27324 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27325
a68ba2f3
SN
273262017-10-18 Renlin Li <renlin.li@arm.com>
27327
27328 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27329 _DYNAMIC symbol to calculate load address.
27330
346729f6
PC
273312017-10-18 Paul A. Clarke <pc@us.ibm.com>
27332
27333 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27334 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27335 summary bits.
27336 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27337 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27338
508b1e71
MF
273392017-10-18 Mike FABIAN <mfabian@redhat.com>
27340
27341 [BZ #16777]
27342 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27343 and improve readability by using more ASCII.
27344 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27345 and improve readability by using more ASCII.
27346
2c2245b9
WD
273472017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27348
27349 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27350 not all targets support atomics on bool.
27351
13c92696
JM
273522017-10-17 Joseph Myers <joseph@codesourcery.com>
27353
27354 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27355 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27356 __f128.
27357 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27358 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27359 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27360 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27361 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27362 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27363
71d85045
AZ
273642017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27365
27366 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27367 defines.
27368
3381be5c
WD
273692017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27370
27371 [BZ #22159]
27372 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27373 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27374 (do_check_remalloced_chunk): Fix build bug.
27375 (do_check_malloc_state): Add assert that checks arena->top.
27376 (malloc_consolidate): Remove initialization.
27377 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 27378 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 27379
e956075a
WD
273802017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27381
27382 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27383 (have_fastchunks): Remove.
27384 (clear_fastchunks): Remove.
27385 (set_fastchunks): Remove.
27386 (malloc_state): Add have_fastchunks.
27387 (malloc_init_state): Use have_fastchunks.
27388 (do_check_malloc_state): Remove incorrect invariant checks.
27389 (_int_malloc): Use have_fastchunks.
27390 (_int_free): Likewise.
27391 (malloc_consolidate): Likewise.
27392
e4dd4ace
WD
273932017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27394
27395 * malloc/malloc.c (tcache_put): Inline.
27396 (tcache_get): Inline.
27397
5bf58bc7
AJ
273982017-10-17 Jordi Mallach <jordi@gnu.org>
27399
27400 Aurelien Jarno <aurelien@aurel32.net>
27401 [BZ #2522]
27402 * localedata/locales/ca_ES@valencia: New file.
27403 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27404
386e1c26
RN
274052017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27406
27407 [BZ #22296]
27408 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27409 < 6.x
27410
4e17c78e
AZ
274112017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27412
3d265601
AZ
27413 * scripts/build-many-glibcs.py (Context.add_all_configs):
27414 Add arm-linux-gnueabihf multiarch extra_glibcs.
27415
4e17c78e
AZ
27416 * sysdeps/generic/ifunc-init.h: New file.
27417 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27418
56a752ab
MF
274192017-10-17 Mike FABIAN <mfabian@redhat.com>
27420
27421 [BZ #22019]
27422 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27423 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27424 * stdlib/tst-strfmon_l.c: adapt test case.
27425
c38a4bfd
JM
274262017-10-16 Joseph Myers <joseph@codesourcery.com>
27427
27428 * sysdeps/generic/float128-abi.h: New file.
27429 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27430 non-__prefixed symbols to ....
27431 * math/Versions: ... here. Include <float128-abi.h>.
27432 * stdlib/Versions ... and here. Include <float128-abi.h>
27433
76009b26
FW
274342017-10-16 Florian Weimer <fweimer@redhat.com>
27435
27436 * version.h (VERSION): Switch to ".9000" as the development
27437 version suffix.
27438
7ece6cd5
FW
274392017-10-16 Florian Weimer <fweimer@redhat.com>
27440
27441 [BZ #22050]
27442 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27443 compat_symbol_reference to access non-default version.
27444
d8287b36
FW
274452017-10-16 Florian Weimer <fweimer@redhat.com>
27446
27447 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27448
3480ddc4
CD
274492017-10-16 Carlos O'Donell <carlos@redhat.com>
27450
27451 * include/shlib-compat.h (compat_symbol_reference): Update
27452 comment.
27453
02010e79
JM
274542017-10-16 Joseph Myers <joseph@codesourcery.com>
27455
596f7013
JM
27456 * math/Makefile (test-types): Add
27457 $(type-float128-$(float128-alias-fcts)).
27458 * math/test-float128.h (TYPE_STR): Define conditional on
27459 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27460 (ULP_IDX): Likewise.
27461 (ULP_I_IDX): Likewise.
27462
02010e79
JM
27463 * stdlib/strtold.c: Include <bits/floatn.h>
27464 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27465 and later undefine as macro. Define as weak alias if
27466 [!USE_WIDE_CHAR].
27467 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27468 and later undefine as macro. Define as weak alias if
27469 [USE_WIDE_CHAR].
27470 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27471 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27472 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27473 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27474 Define and later undefine as macro. Define as weak alias if
27475 [USE_WIDE_CHAR].
27476 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27477 <bits/floatn.h>.
27478 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27479 Define and later undefine as macro. Define as weak alias if
27480 [!USE_WIDE_CHAR].
27481 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27482 Define and later undefine as macro. Define as weak alias if
27483 [USE_WIDE_CHAR].
27484
ea91c315
CD
274852017-10-15 Carlos O'Donell <carlos@redhat.com>
27486
27487 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27488 record_verbose messages.
27489
8e57c943
L
274902017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27491
27492 [BZ #22052]
27493 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27494 to silence -O3 -Wall warning with GCC 7.
27495
a4777c46
L
274962017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27497
27498 * Makeconfig (+link-static-before-libc): Use the first of
27499 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27500 * gmon/Makefile (tests): Add tst-gmon-static.
27501 (tests-static): Likewise.
27502 (CFLAGS-tst-gmon-static.c): New.
27503 (CRT-tst-gmon-static): Likewise.
27504 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27505 (tst-gmon-static-ENV): Likewise.
27506 (tests-special): Likewise.
27507 ($(objpfx)tst-gmon-static.out): Likewise.
27508 (clean-tst-gmon-static-data): Likewise.
27509 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27510 * gmon/tst-gmon-static-gprof.sh: New file.
27511 * gmon/tst-gmon-static.c: Likewise.
27512
bc3821bb
CD
275132017-10-13 Carlos O'Donell <carlos@redhat.com>
27514
27515 [BZ #22295]
27516 * locale/programs/linereader.c (get_string): Don't warn on
27517 non-symbolic character.
27518
a3e23a2c
CD
27519 [BZ #22294]
27520 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27521 int_curr_symbol.
27522
f16491eb
CD
27523 [BZ #22292]
27524 * locale/programs/record-status.h: New file
27525 * locale/programs/locale.c: Add comment.
27526 * locale/programs/charmap-dir.c: Don't include error.h.
27527 (charmap_opendir): Use record_error.
27528 * locale/programs/charmap.c: Don't include error.h.
27529 (charmap_read): Use record_error, and record_warning.
27530 (parse_charmap): Likewise.
27531 * locale/programs/ld-address.c: Don't include error.h.
27532 (address_finish): Use record_error, and record_warning.
27533 * locale/programs/ld-collate.c: Don't include error.h.
27534 (collate_finish): Use record_error, and record_error_at_line.
27535 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27536 (ctype_class_new): Likewise.
27537 (ctype_map_new): Likewise.
27538 (set_one_default): Likewise.
27539 (set_class_defaults): Likewise.
27540 (translit_flatten): Likewise.
27541 (allocate_arrays): Use record_error, and record_verbose.
27542 * locale/programs/ld-identification.c: Don't include error.h.
27543 (indentation_finish): Use record_error and record_warning.
27544 * locale/programs/ld-measurement.c: Don't include error.h.
27545 (measurement_finish): Use record_error.
27546 * locale/programs/ld-messages.c
27547 (message_finish): Likewise.
27548 * locale/programs/ld-monetary.c
27549 (monetary_finish): Likewise.
27550 * locale/programs/ld-name.c (name_finish): Use record_error
27551 and record_warning.
27552 * locale/programs/ld-numeric.c
27553 (numeric_finish): Use record_error.
27554 * locale/programs/ld-paper.c: Don't include error.h.
27555 (paper_finish): Use record_error.
27556 * locale/programs/ld-telephone.c: Don't include error.h.
27557 (telephone_finish): Use record_error.
27558 * locale/programs/ld-time.c (time_finish): Likewise.
27559 * locale/programs/linereader.h (lr_error): Make inline func.
27560 * locale/programs/localedef.c: Define recorded_warning_count,
27561 and recorded_error_count.
27562 (main): Use record_error. Use recorded_error_count and
27563 recorded_warning_count to issue correct error returns.
27564 (add_to_readlist): Use record_error.
27565 (find_locale): Likewise.
27566 (load_locale): Likewise.
27567 * locale/programs/localedef.h: Remove be_quiet
27568 and WITH_CUR_LOCALE.
27569 * locale/programs/locarchive.c (compare_from_file): Use
27570 record_error.
27571 * locale/programs/locfile.c (write_locale_data): Use
27572 record_error.
27573 * locale/programs/repertoire.c: Dont include error.h.
27574 (repertoire_complain): Use record_error.
27575 * localedata/tst-fmon.sh: Expect failures from localedef.
27576 * localedata/tst-locale.sh: Likewise.
27577 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27578
8dc8be75
CD
27579 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27580 (REPORTS): Likewise.
27581 (check): Likewise.
27582 (i18n): Rename to...
27583 (i18n_ctype): ...this.
27584 (i18n-report): Rename to...
27585 (i18n_ctype-report): ...this.
27586 * localedata/locales/i18n_ctype: Regenerate.
27587 * localedata/locales/i18n: copy i18n_ctype.
27588
f8718a9e
JM
275892017-10-13 Joseph Myers <joseph@codesourcery.com>
27590
18c08b96
JM
27591 * stdlib/strfroml.c: Include <bits/floatn.h>.
27592 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27593 Define before include of <stdlib.h> and undefine afterwards, then
27594 define as weak alias.
27595
f8718a9e
JM
27596 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27597 Undefine and restore default definition. Use
27598 libm_alias_ldouble_other.
27599
e4f530da
PZ
276002017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27601
27602 [BZ #22153]
27603 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27604 in coredumps.
27605
86445888
JC
276062017-10-13 James Clarke <jrtc27@jrtc27.com>
27607
27608 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27609 Assign sym_map to be map for local symbols, as TLS relocations
27610 use sym_map to determine whether the symbol is defined and to
27611 extract the TLS information.
27612 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27613 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27614
179dcdb7
TMQMF
276152017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27616
e8dbd6a3
TMQMF
27617 [BZ #22189]
27618 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27619 (math_force_eval): Add powerpc version.
27620
179dcdb7
TMQMF
27621 [BZ #22142]
27622 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27623 -DBL_MAX.
27624 (do_test): Likewise.
27625 * stdio-common/tst-printf.sh: Likewise.
27626 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27627 ifdef clause in order to set the carry bit right. Replace r0 by
27628 0 without changing the behavior.
27629
7d25d410
JM
276302017-10-13 Joseph Myers <joseph@codesourcery.com>
27631
006e7664
JM
27632 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27633 <libm-alias-ldouble.h>.
27634 (fabsl): Define using libm_alias_ldouble.
27635 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27636 <libm-alias-ldouble.h>.
27637 (fabsl): Define using libm_alias_ldouble.
27638
1def91b3
JM
27639 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27640 Remove conditional code.
27641
7d25d410
JM
27642 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27643 Rename to __clog10_internal_l.
27644 (__clog10_internal_l): Define aliases using
27645 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27646 with __clog10.
27647
077ee129
RS
276482017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27649
27650 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27651 * benchtests/sincosf-inputs: New file.
27652 * benchtests/cosf-inputs: New file.
27653 * benchtests/sinf-inputs: New file.
27654
5ba41de9
SN
276552017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27656
27657 * posix/tst-spawn.c (do_test): Wait for both children.
27658
d165ca64
L
276592017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27660
27661 [BZ #22284]
27662 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27663 tests-pie): Add tst-gmon-pie.
27664 (CFLAGS-tst-gmon-pie.c): New.
27665 (CRT-tst-gmon-pie): Likewise.
27666 (tst-gmon-pie-ENV): Likewise.
27667 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27668 ($(objpfx)tst-gmon-pie.out): Likewise.
27669 (clean-tst-gmon-pie-data): Likewise.
27670 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27671 * gmon/gmon.c [PIC]: Include <link.h>.
27672 [PIC] (callback): New function.
27673 (write_hist): Add an argument for load address. Subtract load
27674 address from PCs.
27675 (write_call_graph): Likewise.
27676 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27677 it to write_hist and write_call_graph.
7bacdcfc 27678 * gmon/tst-gmon-pie.c: New file.
d165ca64 27679
bc9620d0
JM
276802017-10-11 Joseph Myers <joseph@codesourcery.com>
27681
27682 * math/Makefile (test-types-basic): New variable.
27683 (test-types): Likewise.
27684 (libm-test-support): Use $(test-types) instead of $(types).
27685 (libm-tests-base-normal): Likewise.
27686 (libm-tests-base-finite): Likewise.
27687 (libm-tests-base-inline): Likewise.
27688 (generated): Likewise.
27689 ($(objpfx)libm-test-support-$(t).c): Likewise.
27690 (libm-tests-for-type iterator): Likewise.
27691 (libm-test-support iterator): Likewise.
27692 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27693 (ulp_idx): Use ULP_IDX.
27694 * math/test-ldouble.h: Include <float.h>.
27695 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27696 (ULP_IDX): New macro.
27697 (ULP_I_IDX): Likewise.
27698 * math/test-double.h (ULP_IDX): Likewise.
27699 (ULP_I_IDX): Likewise.
27700 * math/test-float.h (ULP_IDX): Likewise.
27701 (ULP_I_IDX): Likewise.
27702 * math/test-float128.h (ULP_IDX): Likewise.
27703 (ULP_I_IDX): Likewise.
27704
09c76a74
AZ
277052017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27706
27707 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27708 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27709 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27710 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27711 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27712 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27713 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27714 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27715 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27716 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27717 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27718 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27719 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27720 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27721 (SINGLE_THREAD_BY_GLOBAL): Define.
27722 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27723 Likewise.
27724 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27725 Likewise.
27726 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27727 Likewise.
27728 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27729 Likewise.
27730 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27731 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27733 Likewise.
27734
2faa42da
AS
277352017-10-11 Andreas Schwab <schwab@suse.de>
27736
27737 * nis/Makefile (aux): Remove.
27738 * nscd/Makefile (aux): Add nscd_hash.
27739 (nscd-modules): Likewise.
27740 ($(objpfx)nscd): Don't depend on libnsl.
27741 * nscd/nscd_hash.c: New file.
27742 * nscd/nscd_hash.h: Likewise.
27743 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27744 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27745 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27746 instead of <nis/rpcsvc/nis.h>.
27747 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27748
d8425e11
FW
277492017-10-11 Florian Weimer <fweimer@redhat.com>
27750
27751 [BZ #22078]
27752 Avoid large NSS buffers with many addresses, aliases.
27753 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27754 using dynarrays and struct alloc_buffer.
27755 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27756 (tst-nss-files-hosts-multi): Link with -ldl.
27757 * nss/tst-nss-files-hosts-multi.c: New file.
27758
78e806fd
FW
277592017-10-11 Florian Weimer <fweimer@redhat.com>
27760
27761 [BZ #18023]
27762 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27763 scratch_buffer. Eliminate gotos.
27764
541f19ba
JM
277652017-10-11 Joseph Myers <joseph@codesourcery.com>
27766
0ff64d3a
JM
27767 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27768 libm_alias_ldouble_other.
27769 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27770 undefine and redefine.
27771 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27772 (exp10l): Do not define here.
27773 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27774 (weak_alias): Undefine and redefine.
27775 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27776 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27777 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27778 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27779
541f19ba
JM
27780 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27781 [!__fma] (fma): Define using libm_alias_double.
27782 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27783 [!__fmaf] (fmaf): Define using libm_alias_float.
27784 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27785 (fmal): Define using libm_alias_ldouble.
27786
24b6515d
JM
277872017-10-10 Joseph Myers <joseph@codesourcery.com>
27788
27789 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27790 New macro.
27791 (libm_alias_double_other): Likewise.
27792 (libm_alias_double_r): Use libm_alias_double_other_r.
27793 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27794 New macro.
27795 (libm_alias_float_other): Likewise.
27796 (libm_alias_float_r): Use libm_alias_float_other_r.
27797 * sysdeps/generic/libm-alias-float128.h
27798 (libm_alias_float128_other_r): New macro.
27799 (libm_alias_float128_other): Likewise.
27800 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27801 * sysdeps/generic/libm-alias-ldouble.h
27802 (libm_alias_ldouble_other_r): New macro.
27803 (libm_alias_ldouble_other): Likewise.
27804 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27805 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27806 (libm_alias_double_other_r): New macro.
27807 (libm_alias_double_other): Likewise.
27808 (libm_alias_double_r): Use libm_alias_double_other_r.
27809 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27810 (libm_alias_ldouble_other_r): New macro.
27811 (libm_alias_ldouble_other): Likewise.
27812 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27813 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27814 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27815 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27816 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27817 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27818 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27819 * math/w_exp2f.c: Use libm_alias_float_other.
27820 * math/w_expf.c: Likewise.
27821 * math/w_log2f.c: Likewise.
27822 * math/w_logf.c: Likewise.
27823 * math/w_powf.c: Likewise.
27824 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27825 [!__exp2f]: Use libm_alias_float_other.
27826 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27827 [!__expf]: Use libm_alias_float_other.
27828 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27829 [!__log2f]: Use libm_alias_float_other.
27830 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27831 [!__logf]: Use libm_alias_float_other.
27832 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27833 [!__powf]: Use libm_alias_float_other.
27834
8ed70de2
FW
278352017-10-10 Florian Weimer <fweimer@redhat.com>
27836
27837 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27838 function.
27839 (_nss_files_gethostbyname3_r): Call it.
27840
a8dce619
JM
278412017-10-09 Joseph Myers <joseph@codesourcery.com>
27842
27843 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27844 error. Remove default definition of declare_mgen_alias.
27845 [!declare_mgen_alias_r]: Likewise.
27846 * sysdeps/generic/math-type-macros-double.h
27847 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27848 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27849 (declare_mgen_alias_r): Likewise.
27850 * sysdeps/generic/math-type-macros-float128.h
27851 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27852 * sysdeps/generic/math-type-macros-ldouble.h
27853 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27854 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27855 macro.
27856 (declare_mgen_alias_r_s): Likewise.
27857 (declare_mgen_alias_r): Likewise.
27858 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27859 (lgamma_r): Define using libm_alias_double_r.
27860 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27861 (lgammaf_r): Define using libm_alias_float_r.
27862 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27863 (lgammal_r): Define using libm_alias_ldouble_r.
27864 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27865 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27866
bedac136
AZ
278672017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27868
27869 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27870 extern declaration.
27871
c7509db2
JM
278722017-10-09 Joseph Myers <joseph@codesourcery.com>
27873
27874 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27875
d6c064e9
JW
278762017-10-09 Jonathan Wakely <jwakely@redhat.com>
27877
27878 [BZ #21326]
27879 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27880 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27881 * math/Makefile (test-math-cxx11): New test.
27882 * math/test-math-cxx11.cc: New file.
27883
98e07420
CB
278842017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27885
27886 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27887
645ac9aa
CB
27888 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27889 call to allocate the slave pty file descriptor.
27890
fd3b4e7c
JM
278912017-10-06 Joseph Myers <joseph@codesourcery.com>
27892
f85a176f
JM
27893 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27894 [!__fma] (fma): Define using libm_alias_double.
27895 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27896 [!__fma] (fma): Define using libm_alias_double.
27897
fd3b4e7c
JM
27898 * sysdeps/ieee754/float128/float128_private.h: Include
27899 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27900 (libm_alias_ldouble_r): Undefine and redefine.
27901 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27902 <libm-alias-ldouble.h>.
27903 (asinhl): Define using libm_alias_ldouble.
27904 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27905 <libm-alias-ldouble.h>.
27906 (atanl): Define using libm_alias_ldouble.
27907 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27908 <libm-alias-ldouble.h>.
27909 (cbrtl): Define using libm_alias_ldouble.
27910 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27911 <libm-alias-ldouble.h>.
27912 (ceill): Define using libm_alias_ldouble.
27913 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27914 <libm-alias-ldouble.h>.
27915 (copysignl): Define using libm_alias_ldouble.
27916 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27917 <libm-alias-ldouble.h>.
27918 (cosl): Define using libm_alias_ldouble.
27919 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27920 <libm-alias-ldouble.h>.
27921 (erfl): Define using libm_alias_ldouble.
27922 (erfcl): Likewise.
27923 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27924 <libm-alias-ldouble.h>.
27925 (expm1l): Define using libm_alias_ldouble.
27926 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27927 <libm-alias-ldouble.h>.
27928 (fabsl): Define using libm_alias_ldouble.
27929 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27930 <libm-alias-ldouble.h>.
27931 (floorl): Define using libm_alias_ldouble.
27932 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27933 <libm-alias-ldouble.h>.
27934 (fmal): Define using libm_alias_ldouble.
27935 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27936 <libm-alias-ldouble.h>.
27937 (frexpl): Define using libm_alias_ldouble.
27938 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27939 libm_alias_ldouble.
27940 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27941 <libm-alias-ldouble.h>.
27942 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27943 libm_alias_ldouble.
27944 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27945 <libm-alias-ldouble.h>.
27946 (getpayloadl): Define using libm_alias_ldouble.
27947 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27948 <libm-alias-ldouble.h>.
27949 (llrintl): Define using libm_alias_ldouble.
27950 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27951 <libm-alias-ldouble.h>.
27952 (llroundl): Define using libm_alias_ldouble.
27953 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27954 <libm-alias-ldouble.h>.
27955 (logbl): Define using libm_alias_ldouble.
27956 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27957 <libm-alias-ldouble.h>.
27958 (lrintl): Define using libm_alias_ldouble.
27959 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27960 <libm-alias-ldouble.h>.
27961 (lroundl): Define using libm_alias_ldouble.
27962 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27963 <libm-alias-ldouble.h>.
27964 (modfl): Define using libm_alias_ldouble.
27965 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27966 <libm-alias-ldouble.h>.
27967 (nearbyintl): Define using libm_alias_ldouble.
27968 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27969 <libm-alias-ldouble.h>.
27970 (nextafterl): Define using libm_alias_ldouble.
27971 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27972 <libm-alias-ldouble.h>.
27973 (nextupl): Define using libm_alias_ldouble.
27974 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27975 <libm-alias-ldouble.h>.
27976 (remquol): Define using libm_alias_ldouble.
27977 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27978 <libm-alias-ldouble.h>.
27979 (rintl): Define using libm_alias_ldouble.
27980 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27981 <libm-alias-ldouble.h>.
27982 (roundevenl): Define using libm_alias_ldouble.
27983 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27984 <libm-alias-ldouble.h>.
27985 (roundl): Define using libm_alias_ldouble.
27986 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27987 using libm_alias_ldouble.
27988 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27989 <libm-alias-ldouble.h>.
27990 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27991 Define using libm_alias_ldouble.
27992 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27993 <libm-alias-ldouble.h>.
27994 (sincosl): Define using libm_alias_ldouble.
27995 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27996 <libm-alias-ldouble.h>.
27997 (sinl): Define using libm_alias_ldouble.
27998 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27999 <libm-alias-ldouble.h>.
28000 (tanhl): Define using libm_alias_ldouble.
28001 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28002 <libm-alias-ldouble.h>.
28003 (tanl): Define using libm_alias_ldouble.
28004 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28005 <libm-alias-ldouble.h>.
28006 (totalorderl): Define using libm_alias_ldouble.
28007 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28008 <libm-alias-ldouble.h>.
28009 (totalordermagl): Define using libm_alias_ldouble.
28010 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28011 <libm-alias-ldouble.h>.
28012 (truncl): Define using libm_alias_ldouble.
28013 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28014 libm_alias_ldouble.
28015 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28016 libm_alias_ldouble.
28017 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28018 <libm-alias-ldouble.h>.
28019 (weak_alias): Do not undefine and redefine.
28020 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28021 (copysignl): Define with long_double_symbol only if [IS_IN
28022 (libc)].
28023 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28024 <libm-alias-ldouble.h>.
28025 (weak_alias): Do not undefine and redefine.
28026 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28027 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28028 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28029 <libm-alias-ldouble.h>.
28030 (weak_alias): Do not undefine and redefine.
28031 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28032 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28033 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28034 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28035 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28036 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28037 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28038 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28039 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28040 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28041 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28042 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28043 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28044 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28045 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28046 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28047 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28048 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28049 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28050 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28051 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28052 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28053 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28054 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28055 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28056 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28057
1e26d351
CD
280582017-10-06 Carlos O'Donell <carlos@redhat.com>
28059
28060 [BZ #22111]
28061 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28062 (tcache_thread_freeres): Set tcache_shutting_down before
28063 freeing the tcache.
28064 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28065 * malloc/tst-malloc-tcache-leak.c: New file.
28066
d1386762
RS
280672017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28068
28069 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28070 back to powerpc32 file.
28071 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28072 (memrchr): Add __memrchr_power8 to ifunc list.
28073 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28074 extra bytes for unaligned inputs.
28075
6dff1983
JM
280762017-10-06 Joseph Myers <joseph@codesourcery.com>
28077
28078 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28079 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28080 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28081 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28082 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28083
86f9568a
JM
280842017-10-05 Joseph Myers <joseph@codesourcery.com>
28085
0db0b931
JM
28086 * sysdeps/arm/libm-test-ulps: Update.
28087
86f9568a
JM
28088 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28089 <libm-alias-ldouble.h>.
28090 (asinhl): Define using libm_alias_ldouble.
28091 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28092 <libm-alias-ldouble.h>.
28093 (cbrtl): Define using libm_alias_ldouble.
28094 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28095 <libm-alias-ldouble.h>.
28096 (copysignl): Define using libm_alias_ldouble.
28097 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28098 <libm-alias-ldouble.h>.
28099 (cosl): Define using libm_alias_ldouble.
28100 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28101 <libm-alias-ldouble.h>.
28102 (erfl): Define using libm_alias_ldouble.
28103 (erfcl): Likewise.
28104 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28105 <libm-alias-ldouble.h>.
28106 (fmal): Define using libm_alias_ldouble.
28107 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28108 <libm-alias-ldouble.h>.
28109 (frexpl): Define using libm_alias_ldouble.
28110 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28111 libm_alias_ldouble.
28112 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28113 <libm-alias-ldouble.h>.
28114 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28115 libm_alias_ldouble.
28116 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28117 <libm-alias-ldouble.h>.
28118 (getpayloadl): Define using libm_alias_ldouble.
28119 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28120 <libm-alias-ldouble.h>.
28121 (llrintl): Define using libm_alias_ldouble.
28122 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28123 <libm-alias-ldouble.h>.
28124 (llroundl): Define using libm_alias_ldouble.
28125 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28126 <libm-alias-ldouble.h>.
28127 (lrintl): Define using libm_alias_ldouble.
28128 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28129 <libm-alias-ldouble.h>.
28130 (lroundl): Define using libm_alias_ldouble.
28131 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28132 <libm-alias-ldouble.h>.
28133 (modfl): Define using libm_alias_ldouble.
28134 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28135 <libm-alias-ldouble.h>.
28136 (nextupl): Define using libm_alias_ldouble.
28137 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28138 <libm-alias-ldouble.h>.
28139 (remquol): Define using libm_alias_ldouble.
28140 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28141 <libm-alias-ldouble.h>.
28142 (roundevenl): Define using libm_alias_ldouble.
28143 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28144 <libm-alias-ldouble.h>.
28145 (roundl): Define using libm_alias_ldouble.
28146 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28147 using libm_alias_ldouble.
28148 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28149 <libm-alias-ldouble.h>.
28150 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28151 <libm-alias-ldouble.h>.
28152 (setpayloadsigl): Define using libm_alias_ldouble.
28153 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28154 <libm-alias-ldouble.h>.
28155 (sincosl): Define using libm_alias_ldouble.
28156 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28157 <libm-alias-ldouble.h>.
28158 (sinl): Define using libm_alias_ldouble.
28159 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28160 <libm-alias-ldouble.h>.
28161 (tanhl): Define using libm_alias_ldouble.
28162 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28163 <libm-alias-ldouble.h>.
28164 (tanl): Define using libm_alias_ldouble.
28165 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28166 <libm-alias-ldouble.h>.
28167 (totalorderl): Define using libm_alias_ldouble.
28168 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28169 <libm-alias-ldouble.h>.
28170 (totalordermagl): Define using libm_alias_ldouble.
28171 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28172 libm_alias_ldouble.
28173 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28174 libm_alias_ldouble.
28175
9ec87fd2
SP
281762017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28177
dd5bc7f1
SP
28178 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28179 memmove_falkor.
28180 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28181 (__libc_ifunc_impl_list): Likewise.
28182 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28183 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28184
5bfb0404
SP
28185 * benchtests/bench-memmove-walk.c: New file.
28186 * benchtests/Makefile (string-benchset): Add it.
28187
36bb8edf
SP
28188 * benchtests/bench-memset-walk.c: New file.
28189 * benchtests/Makefile (string-benchset): Add it.
28190
9ec87fd2
SP
28191 * benchtests/bench-memcpy-walk.c: New file.
28192 * benchtests/Makefile (string-benchset): Add it.
28193
1e9522c6
FW
281942017-10-05 Florian Weimer <fweimer@redhat.com>
28195
28196 nscd: Eliminate compilation time dependency in the build output.
28197 * nscd/nscd_stat.c (STATDATA_VERSION)
28198 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28199 (STATDATA_VERSION_FULL): New macro definitions.
28200 (compilation): Remove.
28201 (struct statdata): Adjust version member.
28202 (send_stats): Set version from STATDATA_VERSION_FULL.
28203 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28204
644d3857
JM
282052017-10-05 Joseph Myers <joseph@codesourcery.com>
28206
28207 * configure.ac (--enable-add-ons): Remove option.
28208 (machine): Do not mention add-ons in comment.
28209 (LIBC_PRECONFIGURE): Likewise.
28210 (add_ons): Remove variable and sanity checks and logic to locate
28211 add-ons.
28212 (add_ons_automatic): Remove variable.
28213 (configured_add_ons): Likewise.
28214 (add_ons_sfx): Likewise.
28215 (add_ons_pfx): Likewise.
28216 (add_on_subdirs): Likewise.
28217 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28218 consideration of add-ons in Implies handling.
28219 (sysdeps_add_ons): Likewise.
28220 * configure: Regenerated.
28221 * libidn/configure.ac: Remove.
28222 * libidn/configure: Likewise.
28223 * sysdeps/unix/inet/configure.ac: New file.
28224 * sysdeps/unix/inet/configure: New generated file.
28225 * sysdeps/unix/inet/Subdirs: Add libidn.
28226 * Makeconfig (sysdeps-srcdirs): Remove variable.
28227 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28228 ($(common-objpfx)config.status): Do not depend on add-on files.
28229 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28230 comment.
28231 (all-subdirs): Do not include $(add-on-subdirs).
28232 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28233 * config.make.in (add-ons): Remove variable.
28234 (add-on-subdirs): Likewise.
28235 (sysdeps-add-ons): Likewise.
28236 * manual/Makefile (add-chapters): Remove.
28237 ($(objpfx)texis): Do not depend on $(add-chapters).
28238 (nonexamples): Do not handle $(add-chapters).
28239 (examples): Do not handle $(add-ons).
28240 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28241 libc-texinfo.sh.
28242 * manual/install.texi (Installation): Do not mention add-ons.
28243 (--enable-add-ons): Do not document configure option.
28244 * INSTALL: Regenerated.
28245 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28246 * manual/maint.texi (Hierarchy Conventions): Do not mention
28247 add-ons.
28248 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28249 --enable-add-ons.
28250 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28251 add-ons.
28252 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28253 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28254
19f82f35
AS
282552017-10-05 Andreas Schwab <schwab@suse.de>
28256
28257 [BZ #15142]
28258 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28259 (_IO_flush_all_lockp): Always lock list_all_lock.
28260 (_IO_flush_all_linebuffered): Likewise.
28261 (_IO_unbuffer_all): Likewise.
28262
91e7cf98
FW
282632017-10-05 Florian Weimer <fweimer@redhat.com>
28264
28265 [BZ #15436]
28266 Do not flush stdio streams on abort.
28267 * stdlib/abort.c (fflush): Remove macro definition.
28268 (abort): Remove stages related to stdio flushing.
28269
0c251257
FW
282702017-10-05 Florian Weimer <fweimer@redhat.com>
28271
28272 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28273
7ea59e3e
SL
282742017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28275
28276 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28277
84d0e6f0
FW
282782017-10-05 Florian Weimer <fweimer@redhat.com>
28279
28280 * support/support_format_hostent.c (support_format_hostent): Add
28281 more error information for NETDB_INTERNAL.
28282
ee417882
L
282832017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28284
28285 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28286 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28287 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28288 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28289 AC_DEFINE if multi-arch is enabled.
28290 * sysdeps/i386/configure: Regenerated.
28291
a67029ff
L
282922017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28293
28294 * Makeconfig (+link-static-before-libc): Use
28295 $(DEFAULT-LDFLAGS-$(@F)).
28296 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28297 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28298 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28299
5dba84b3
L
283002017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28301
28302 * elf/Makefile (tests): Add tst-main1.
28303 (modules-names): Add tst-main1mod.
28304 ($(objpfx)tst-main1): New.
28305 (CRT-tst-main1): Likewise.
28306 (LDFLAGS-tst-main1): Likewise.
28307 (LDLIBS-tst-main1): Likewise.
28308 (tst-main1mod.so-no-z-defs): Likewise.
28309 * elf/tst-main1.c: New file.
28310 * elf/tst-main1mod.c: Likewise.
28311
758f1bfa
L
283122017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28313
28314 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28315
7e16a5d1
JM
283162017-10-04 Joseph Myers <joseph@codesourcery.com>
28317
28318 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28319 (fma): Define using libm_alias_double.
28320 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28321 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28322 <math_ldbl_opt.h>.
28323 (fmal): Do not define as compat symbol here.
28324 * sysdeps/alpha/fpu/s_fma.c: New file.
28325
db4f87ba
SN
283262017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28327
28328 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28329
72d13ed1
JM
283302017-10-04 Joseph Myers <joseph@codesourcery.com>
28331
32d372d5
JM
28332 [BZ #22229]
28333 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28334 <math_ldbl_opt.h>
28335 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28336 and libc.
28337 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28338 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28339 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28340 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28342 Include <math_ldbl_opt.h>
28343 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28344 and libc.
28345 (compat_symbol): Undefine and redefine.
28346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28347 <math_ldbl_opt.h>
28348 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28349 (compat_symbol): Undefine and redefine.
28350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28351 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28352 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28353 GLIBC_2_1 for libm.
28354 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28355 GLIBC_2.0 copysignl symbol.
28356 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28357 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28358
72d13ed1
JM
28359 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28360
11c4f501
FW
283612017-10-04 Florian Weimer <fweimer@redhat.com>
28362
28363 * scripts/check-local-headers.sh: Ignore nspr4 header file
28364 directory in addition to nspr.
28365
57b4af19
GT
283662017-10-04 Guido Trentalancia <guido@trentalancia.net>
28367
28368 [BZ #17956]
28369 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28370 * configure: Regenerate.
28371 * crypt/Makefile (nss-cpp-flags): New variable.
28372 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28373 (CPPFLAGS-md5-crypt.c): Use it.
28374 * scripts/check-local-headers.sh: Ignore nspr header file
28375 directory.
28376
64d1e08e
AS
283772017-10-04 Andreas Schwab <schwab@suse.de>
28378
28379 * nis/Makefile (services): Remove compat.
28380 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28381 ($(objpfx)libnss_compat.so): Remove rule.
28382 * nis/Versions (libnss_compat): Remove.
28383 * nss/Makefile (services): Add compat.
28384 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28385 * nss/Versions (libnss_compat): Define.
28386 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28387 Don't include <rpc/types.h>. Replace bool_t by bool.
28388 * nss/nss_compat/compat-initgroups.c: Likewise.
28389 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28390 instead of <rpcsrv/ypclnt.h>.
28391 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28392 yp_get_default_domain.
28393 * nss/nss_compat/compat-pwd.c: Likewise.
28394 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28395 yp_get_default_domain.
28396 * nss/nss_compat/nisdomain.c: New file.
28397 * nss/nss_compat/nisdomain.h: Likewise.
28398
86c27ade
SN
283992017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28400
28401 [BZ #22244]
28402 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28403 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28404
8f8f8ef7
SN
284052017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28406
28407 [BZ #22243]
28408 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28409 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28410
95577475
L
284112017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28412
28413 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28414 "movl main@GOTOFF(%ebx), %eax".
28415
02d2d892
L
284162017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28417
28418 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28419 allow undefined _DYNAMIC in PIE libc.a.
28420 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28421 Likewse.
28422
0c609d19
L
284232017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28424
28425 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28426 check _DYNAMIC.
28427
c34a19ed
L
284282017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28429
28430 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28431 check _DYNAMIC.
28432
cdd4155d
L
284332017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28434
28435 * math/test-math-iscanonical.cc (error): Replace bool with int.
28436
4699cb8b
JM
284372017-10-03 Joseph Myers <joseph@codesourcery.com>
28438
d8f619b3
JM
28439 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28440 (modf): Define using libm_alias_double, only if [!__modf].
28441 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28442 <libm-alias-double.h>.
28443 (modf): Define using libm_alias_double, only if [!__modf].
28444 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28445 compat symbol here.
28446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28447 (weak_alias): Do not undefine and redefine.
28448 (strong_alias): Likewise.
28449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28450 (weak_alias): Likewise.
28451 (strong_alias): Likewise.
28452
4699cb8b
JM
28453 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28454 (logb): Define using libm_alias_double, only if [!__logb].
28455 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28456 <libm-alias-double.h>.
28457 (logb): Define using libm_alias_double, only if [!__logb].
28458 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28460 (weak_alias): Do not undefine and redefine.
28461 (strong_alias): Likewise.
28462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28463 (weak_alias): Likewise.
28464 (strong_alias): Likewise.
28465
bcc4e4bb
L
284662017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28467
28468 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28469 Check SHARED instead PIC.
28470
39793865
JM
284712017-10-03 Joseph Myers <joseph@codesourcery.com>
28472
7f1cbdf8
JM
28473 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28474 [!__fmaf] (fmaf): Define using libm_alias_float.
28475
39793865
JM
28476 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28477 (frexp): Define using libm_alias_double.
28478 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28479 <libm-alias-double.h>.
28480 (frexp): Define using libm_alias_double.
28481 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28482 compat symbol here.
28483
aa0235df
GG
284842017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28485
28486 [BZ #22235]
28487 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28488 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28489 (CFLAGS-test-math-iscanonical.cc): New variable.
28490 * math/test-math-iscanonical.cc: New file.
28491 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28492 Provide a C++ implementation based on function overloading,
28493 rather than using __MATH_TG, which uses C-only builtins.
28494 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28495 Likewise.
28496 * sysdeps/powerpc/powerpc64le/Makefile
28497 (CFLAGS-test-math-iscanonical.cc): New variable.
28498
a1132b5e
JM
284992017-10-03 Joseph Myers <joseph@codesourcery.com>
28500
28501 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28502 (ceil): Define using libm_alias_double.
28503 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28504 (floor): Define using libm_alias_double.
28505 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28506 <libm-alias-double.h>.
28507 (llround): Define using libm_alias_double.
28508 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28509 <libm-alias-double.h>.
28510 (lround): Define using libm_alias_double.
28511 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28512 <libm-alias-double.h>.
28513 (nearbyint): Define using libm_alias_double.
28514 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28515 <libm-alias-double.h>.
28516 (remquo): Define using libm_alias_double.
28517 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28518 (rint): Define using libm_alias_double.
28519 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28520 (round): Define using libm_alias_double.
28521 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28522 (trunc): Define using libm_alias_double.
28523 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28524 <libm-alias-double.h>.
28525 (ceil): Define using libm_alias_double.
28526 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28527 <libm-alias-double.h>.
28528 (floor): Define using libm_alias_double.
28529 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28530 <libm-alias-double.h>.
28531 (llround): Define using libm_alias_double.
28532 [_LP64] (lround): Likewise.
28533 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28534 <libm-alias-double.h>.
28535 [!_LP64] (lround): Define using libm_alias_double.
28536 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28537 <libm-alias-double.h>.
28538 (nearbyint): Define using libm_alias_double.
28539 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28540 <libm-alias-double.h>.
28541 (remquo): Define using libm_alias_double.
28542 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28543 <libm-alias-double.h>.
28544 (rint): Define using libm_alias_double.
28545 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28546 <libm-alias-double.h>.
28547 (round): Define using libm_alias_double.
28548 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28549 <libm-alias-double.h>.
28550 (trunc): Define using libm_alias_double.
28551 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28552 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28553 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28554 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28555 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28556 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28557 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28558 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28559 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28560
f275f64e
SN
285612017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28562
28563 * math/w_remainder.c: New file.
28564 * math/w_remainderf.c: New file.
28565 * math/w_remainderl.c: New file.
28566
b8818ab5
L
285672017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28568
28569 * elf/rtld.c (BOOTSTRAP_MAP): New.
28570 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28571 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28572 Likewise.
28573 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28574 Likewise.
28575 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28576 Likewise.
28577
3d1870fa
ST
285782017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28579
28580 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28581 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28582 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28583 rtld_hidden_data_ver): Define to empty.
28584 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28585 __assert_perror_fail): Likewise.
28586 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28587 (__rewinddir): Likewise.
28588 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28589 (__profile_frequency): Likewise.
28590 * include/setjmp.h (__sigsetjmp): Likewise.
28591 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28592 __libc_sigaction): Likewise.
28593 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28594 not set hidden attribute.
28595 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28596 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28597 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28598 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28599 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28600 __fxstatat64): Likewise.
28601 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28602 (__uname): Likewise.
28603 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28604 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28605 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28606 (NO_RTLD_HIDDEN): Set.
28607 * sysdeps/mach/hurd/configure: Refresh.
28608 * config.h.in: Refresh.
28609
527cd19c
JM
286102017-10-02 Joseph Myers <joseph@codesourcery.com>
28611
38722448
JM
28612 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28613 (atan): Define using libm_alias_double.
28614 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28615 (tan): Define using libm_alias_double.
28616 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28617 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28618
527cd19c
JM
28619 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28620 define as weak alias of __atan. Do not define any aliases if
28621 [__atan].
28622 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28623 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28624 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28625 as weak alias of __tan. Do not define any aliases if [__tan].
28626 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28627 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28628 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28629 __atan.
28630 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28631 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28632 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28633 and define as weak alias of __atan.
28634 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28635 __atan.
28636 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28637 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28638 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28639 define as weak alias of __tan.
28640
bdc5c592
SN
286412017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28642
28643 * math/w_lgamma.c: New file.
28644 * math/w_lgammaf.c: New file.
28645 * math/w_lgammal.c: New file.
28646
bd4430c2
SN
286472017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28648
28649 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28650 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28651 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28652 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28653 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28654 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28655 * sysdeps/i386/fpu/w_log2f.c: New file.
28656 * sysdeps/i386/fpu/w_logf.c: New file.
28657 * sysdeps/i386/fpu/w_powf.c: New file.
28658 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28659 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28660 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28661
f7a0b063
SN
286622017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28663 H.J. Lu <hongjiu.lu@intel.com>
28664
28665 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28666 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28667 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28668 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28669 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28670 the new expf code.
28671 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28672 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28673 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28674 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28675 * sysdeps/i386/fpu/w_exp2f.c: New file.
28676 * sysdeps/i386/fpu/w_expf.c: New file.
28677 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28678 * sysdeps/x86_64/fpu/w_expf.c: New file.
28679
72d3d281
SN
286802017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28681
28682 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28683 (log2f): Likewise.
28684 (powf): Likewise.
28685 * math/w_log2f.c: New file.
28686 * math/w_logf.c: New file.
28687 * math/w_powf.c: New file.
28688 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28689 * math/w_logf_compat.c (__logf_compat): Likewise.
28690 * math/w_powf_compat.c (__powf_compat): Likewise.
28691 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28692 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28693 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28694 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28695 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28696 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28697 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28698 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28699 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28700 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28701 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28702 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28703 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28704 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28705 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28707 Likewise.
28708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28709 Likewise.
28710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28711 Likewise.
28712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28713 Likewise.
28714 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28715 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28716 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28717 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28718 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28720 Likewise.
28721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28722 Likewise.
28723 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28724 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28725 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28726
59ba2d2b
RS
287272017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28728
28729 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28730 (sysdep_routines): Add memrchr_power8.
28731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28732 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28733 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28734 New file.
28735 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28736 (memrchr): Add __memrchr_power8 to ifunc list.
28737 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28738
397286ea
L
287392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28740
28741 [BZ #18822]
28742 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28743 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28744 libc_hidden_def.
28745 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28746 (__posix_fallocate64_l64): Likewise.
28747
d0a4512b
L
287482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28749
28750 [BZ #18822]
28751 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28752 (__sched_setaffinity_new): Add libc_hidden_proto and
28753 libc_hidden_def.
28754
c0769f70
L
287552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28756
28757 [BZ #18822]
28758 * include/glob.h (__glob64): Add libc_hidden_proto.
28759 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28760 libc_hidden_def.
28761
0e7d5b6e
L
287622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28763
28764 [BZ #18822]
28765 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28766 attribute_hidden.
28767
bde06c87
L
287682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28769
28770 [BZ #18822]
28771 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28772
fa426590
L
287732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28774
28775 [BZ #18822]
28776 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28777 libc_hidden_def.
28778
2f8a05d8
L
287792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28780
28781 [BZ #18822]
28782 * csu/version.c (__libc_print_version): Add attribute_hidden.
28783
7bfd08ac
L
287842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28785
28786 [BZ #18822]
28787 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28788
0e1fd06c
L
287892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28790
28791 [BZ #18822]
28792 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28793
36e7ae1e
L
287942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28795
28796 [BZ #18822]
28797 * nscd/nscd_helper.c (__nis_hash): New prototype.
28798
87078544
L
287992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28800
28801 [BZ #18822]
28802 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28803 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28804 libc_hidden_def.
28805 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28806 * termios/tcgetattr.c (__tcgetattr): Likewise.
28807
dd3121df
L
288082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28809
28810 [BZ #18822]
28811 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28812 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28813 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28814 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28815 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28816
047d1a81
L
288172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28818
28819 [BZ #18822]
28820 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28821
fd331b11
L
288222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28823
28824 [BZ #18822]
28825 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28826 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28827
57f859bd
L
288282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28829
28830 [BZ #18822]
28831 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28832
d1903329
L
288332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28834
28835 [BZ #18822]
28836 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28837 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28838
b4744101
L
288392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28840
28841 [BZ #18822]
28842 * include/ifreq.h: New file.
28843 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28844 (__ifreq): Likewise.
28845 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28846 (__ifreq): Likewise.
28847
43b7dfd1
L
288482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28849
28850 [BZ #18822]
28851 * include/idna.h: New file.
28852 * inet/getnameinfo.c: Include <idna.h> instead of
28853 <libidn/idna.h>.
28854 (__idna_to_unicode_lzlz): Removed.
28855 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28856 <libidn/idna.h>.
28857 (__idna_to_ascii_lz): Removed.
28858 (__idna_to_unicode_lzlz): Likewise.
28859
2c0cd8f8
L
288602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28861
28862 [BZ #18822]
28863 * include/plural-exp.h: New file.
28864 * intl/plural-exp.c: Include <plural-exp.h> instead of
28865 "plural-exp.h".
28866
8369d216
L
288672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28868
28869 [BZ #18822]
28870 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28871 "getsourcefilter.h".
28872 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28873 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28874 "getsourcefilter.h".
28875 (__get_sol): Removed.
28876
a0aef783
L
288772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28878
28879 [BZ #18822]
28880 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28881 to ...
28882 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28883
3ee8209b
L
288842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28885
28886 [BZ #18822]
28887 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28888 attribute_hidden.
28889
6036fc38
L
288902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28891
28892 [BZ #18822]
28893 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28894
fe84fed0
L
288952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28896
28897 [BZ #18822]
28898 * include/search.h (__tdestroy): Add libc_hidden_proto.
28899 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28900
048dd681
L
289012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28902
28903 [BZ #18822]
28904 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28905
6e342af6
L
289062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28907
28908 [BZ #18822]
28909 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28910 attribute_hidden.
28911
6a088436
L
289122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28913
28914 [BZ #18822]
28915 * include/signal.h (__kill): Add libc_hidden_proto.
28916 (__sigblock): Likewise.
28917 (__sigprocmask): Likewise.
28918 (__sigaltstack): Likewise.
28919 * signal/kill.c (__kill): Add libc_hidden_def.
28920 * signal/sigblock.c (__sigblock): Likewise.
28921 * signal/sigprocmask.c (__sigprocmask): Likewise.
28922 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28923 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28924 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28925 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28926 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28927 Likewise.
28928 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28929 Likewise.
28930 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28931 (__sigprocmask): Likewise.
28932 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28933 Likewise.
28934 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28935 (__sigprocmask): Likewise.
28936 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28937 Likewise.
28938
78cf1d74
L
289392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28940
28941 [BZ #18822]
28942 * include/string.h (__strsep): Add libc_hidden_proto.
28943 * string/strsep.c (__strsep): Add libc_hidden_def.
28944
85b35894
L
289452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28946
28947 [BZ #18822]
28948 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28949 attribute_hidden.
28950 (__spawni): Likewise.
28951
225f7eec
L
289522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28953
28954 [BZ #18822]
28955 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28956 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28957 libc_hidden_def.
28958
372fe247
L
289592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28960
28961 [BZ #18822]
28962 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28963
9e5ee8b8
L
289642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28965
28966 [BZ #18822]
28967 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28968 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28969 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28970 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28971 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28972 Likewise.
28973 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28974 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28975
2ff16592
L
289762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28977
28978 [BZ #18822]
28979 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28980 (__dcigettext): Likewise.
28981
b5648377
L
289822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28983
28984 [BZ #18822]
28985 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28986 libc_hidden_proto.
28987 (__get_nprocs): Likewise.
28988 (__get_phys_pages): Likewise.
28989 (__get_avphys_pages): Likewise.
28990 (__get_child_max): Add attribute_hidden.
28991 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28992 (__get_nprocs): Likewise.
28993 (__get_phys_pages): Likewise.
28994 (__get_avphys_pages): Likewise.
28995 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28996 libc_hidden_def.
28997 (__get_nprocs): Likewise.
28998 (__get_phys_pages): Likewise.
28999 (__get_avphys_pages): Likewise.
29000 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29001 libc_hidden_def.
29002 (__get_nprocs_conf): Likewise.
29003 (__get_phys_pages): Likewise.
29004 (__get_avphys_pages): Likewise.
29005
0389a6aa
L
290062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29007
29008 [BZ #18822]
29009 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29010 attribute_hidden.
29011 (__netlink_close): Likewise.
29012 (__netlink_free_handle): Likewise.
29013 (__netlink_request): Likewise.
29014
d48354d8
L
290152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29016
29017 [BZ #18822]
29018 * include/rpc/rpc.h (__rpc_thread_variables): Add
29019 attribute_hidden.
29020 (__rpc_thread_svc_cleanup): Likewise.
29021 (__rpc_thread_clnt_cleanup): Likewise.
29022 (__rpc_thread_key_cleanup): Likewise.
29023
d6daff12
L
290242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29025
29026 [BZ #18822]
29027 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29028 (__writev): Likewise.
29029 * misc/readv.c (__readv): Add libc_hidden_def.
29030 * misc/writev.c (__writev): Likewise.
29031 * sysdeps/posix/readv.c (__readv): Likewise.
29032 * sysdeps/posix/writev.c (__writev): Likewise.
29033 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29034 (__readv): Likewise.
29035 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29036 (__writev): Likewise.
29037
b68f8620
L
290382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29039
29040 [BZ #18822]
29041 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29042 (__regcomp): Add libc_hidden_proto.
29043 (__regexec): Likewise.
29044 (__regfree): Likewise.
29045 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29046 (__regfree): Likewise.
29047 * posix/regexec.c (__regexec): Likewise.
29048
59c04e67
L
290492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29050
29051 [BZ #18822]
29052 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29053 (__getutent): Likewise.
29054 (__getutid): Likewise.
29055 (__getutline): Likewise.
29056 (__pututline): Likewise.
29057 (__getutent_r): Likewise.
29058 (__getutid_r): Likewise.
29059 (__getutline_r): Likewise.
29060 (__utmpname): Add attribute_hidden.
29061 (__setutent): Likewise.
29062 (__endutent): Likewise.
29063 * login/getutent.c (__getutent): Add libc_hidden_def.
29064 * login/getutent_r.c (__getutent_r): Likewise.
29065 (__pututline): Likewise.
29066 * login/getutid.c (__getutid): Likewise.
29067 * login/getutid_r.c (__getutid_r): Likewise.
29068 * login/getutline.c (__getutline): Likewise.
29069 * login/getutline_r.c (__getutline_r): Likewise.
29070 * login/updwtmp.c (__updwtmp): Likewise.
29071
4587a421
L
290722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29073
29074 [BZ #18822]
29075 * include/dirent.h (__opendir): Always add attribute_hidden.
29076 (__fdopendir): Likewise.
29077 (__closedir): Likewise.
29078 (__readdir): Likewise.
29079 (__readdir64): Add libc_hidden_proto.
29080 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29081 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29082 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29083 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29084 New alias.
29085
9635ce69
L
290862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29087
29088 [BZ #18822]
29089 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29090 * include/netdb.h (__gethostbyaddr_r): Likewise.
29091 (__gethostbyname_r): Likewise.
29092 (__gethostbyname2_r): Likewise.
29093 (__getnetbyaddr_r): Likewise.
29094 (__getnetbyname_r): Likewise.
29095 (__getservbyname_r): Likewise.
29096 (__getservbyport_r): Likewise.
29097 (__getprotobyname_r): Likewise.
29098 (__getprotobynumber_r): Likewise.
29099 (__getnetgrent_r): Likewise.
29100 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29101 (__getrpcbynumber_r): Likewise.
29102 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29103
2e0a6909
L
291042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29105
29106 [BZ #18822]
29107 * include/stdio.h (__fcloseall): Add attribute_hidden.
29108 (__getline): Likewise.
29109 (__path_search): Likewise.
29110 (__gen_tempname): Likewise.
29111 (__libc_message): Likewise.
29112 (__flockfile): Likewise.
29113 (__funlockfile): Likewise.
29114 (__fxprintf): Likewise.
29115 (__fxprintf_nocancel): Likewise.
29116
94fd682c
L
291172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29118
29119 [BZ #18822]
29120 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29121 (__sgetsgent_r): Likewise.
29122
e1b33bba
L
291232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29124
29125 [BZ #18822]
29126 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29127 (__statfs64): Likewise.
29128 (__fstatfs64): Likewise.
29129 * include/sys/statvfs.h (__statvfs64): Likewise.
29130 (__fstatvfs64): Likewise.
29131 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29132 (__statfs_filesize_max): Likewise.
29133 (__statfs_symlinks): Likewise.
29134 (__statfs_chown_restricted): Likewise.
29135
b0f56784
L
291362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29137
29138 [BZ #18822]
29139 * include/time.h (__tzstring): Add attribute_hidden.
29140 (__tzfile_read): Likewise.
29141 (__tzfile_compute): Likewise.
29142 (__tzfile_default): Likewise.
29143 (__tzset_parse_tz): Likewise.
29144 (__offtime): Likewise.
29145 (__asctime_r): Likewise.
29146 (__tzset): Likewise.
29147 (__tz_convert): Likewise.
29148 (__getdate_r): Likewise.
29149 (__getclktck): Likewise.
29150
a4338d99
L
291512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29152
29153 [BZ #18822]
29154 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29155 (__nscd_unmap): Likewise.
29156 (__nscd_cache_search): Likewise.
29157 (__nscd_get_nl_timestamp): Likewise.
29158 (__nscd_getpwnam_r): Likewise.
29159 (__nscd_getpwuid_r): Likewise.
29160 (__nscd_getgrnam_r): Likewise.
29161 (__nscd_getgrgid_r): Likewise.
29162 (__nscd_gethostbyname_r): Likewise.
29163 (__nscd_gethostbyname2_r): Likewise.
29164 (__nscd_gethostbyaddr_r): Likewise.
29165 (__nscd_getai): Likewise.
29166 (__nscd_getgrouplist): Likewise.
29167 (__nscd_getservbyname_r): Likewise.
29168 (__nscd_getservbyport_r): Likewise.
29169 (__nscd_innetgr): Likewise.
29170 (__nscd_setnetgrent): Likewise.
29171
a2ca1652
L
291722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29173
29174 [BZ #18822]
29175 * include/gmp.h: Declare internal functions only if _ISOMAC is
29176 undefined.
29177 (__mpn_extract_double): Add attribute_hidden.
29178 (__mpn_extract_long_double): Likewise.
29179 (__mpn_extract_float128): Likewise.
29180 (__mpn_construct_float): Likewise.
29181 (__mpn_construct_double): Likewise.
29182 (__mpn_construct_long_double): Likewise.
29183 (__mpn_construct_float128): Likewise.
29184 (mpn_add_1): Likewise.
29185 (mpn_addmul_1): Likewise.
29186 (mpn_add_n): Likewise.
29187 (mpn_cmp): Likewise.
29188 (mpn_divrem): Likewise.
29189 (mpn_lshift): Likewise.
29190 (mpn_mul): Likewise.
29191 (mpn_mul_1): Likewise.
29192 (mpn_rshift): Likewise.
29193 (mpn_sub_1): Likewise.
29194 (mpn_submul_1): Likewise.
29195 (mpn_sub_n): Likewise.
29196
44af8a32
L
291972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29198
29199 [BZ #18822]
29200 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29201 (__wcscat): Likewise.
29202 (__btowc): Likewise.
29203 (__wcrtomb): Likewise.
29204 (__mbsrtowcs): Likewise.
29205 (__wcsrtombs): Likewise.
29206 (__mbsnrtowcs): Likewise.
29207 (__wcsnrtombs): Likewise.
29208 (__wcsncpy): Likewise.
29209 (__wcpncpy): Likewise.
29210 (__wmemcpy): Likewise.
29211 (__wmempcpy): Likewise.
29212 (__wmemmove): Likewise.
29213 (__wcschrnul): Likewise.
29214 (__vfwscanf): Likewise.
29215 (__vswprintf): Likewise.
29216 (__fwprintf): Likewise.
29217 (__vfwprintf): Likewise.
29218
783cd767
L
292192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29220
29221 [BZ #18822]
29222 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29223 (__getgrgid_r): Likewise.
29224 (__getgrnam_r): Likewise.
29225 * include/pwd.h (__getpwuid_r): Likewise.
29226 (__getpwnam_r): Likewise.
29227 (__fgetpwent_r): Likewise.
29228 * include/shadow.h (__getspnam_r): Likewise.
29229 (__sgetspent_r): Likewise.
29230 (__fgetspent_r): Likewise.
29231
7ec4b39a
L
292322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29233
29234 [BZ #18822]
29235 * include/unistd.h (__access): Add attribute_hidden.
29236 (__lseek64): Likewise.
29237 (__libc_pread64): Likewise.
29238 (__pipe2): Likewise.
29239 (__sleep): Likewise.
29240 (__chdir): Likewise.
29241 (__fchdir): Likewise.
29242 (__getcwd): Likewise.
29243 (__rmdir): Likewise.
29244 (__execvpe): Likewise.
29245 (__execve): Likewise.
29246 (__setsid): Likewise.
29247 (__getuid): Likewise.
29248 (__geteuid): Likewise.
29249 (__getgid): Likewise.
29250 (__getegid): Likewise.
29251 (__getgroups): Likewise.
29252 (__group_member): Likewise.
29253 (__ttyname_r): Likewise.
29254 (__isatty): Likewise.
29255 (__readlink): Likewise.
29256 (__unlink): Likewise.
29257 (__gethostname): Likewise.
29258 (__profil): Likewise.
29259 (__getdtablesize): Likewise.
29260 (__brk): Likewise.
29261 (__ftruncate): Likewise.
29262 (__ftruncate64): Likewise.
29263
8345a760
L
292642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29265
29266 [BZ #18822]
29267 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29268 * argp/argp-fs-xinl.c: Likewise.
29269 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29270 * argp/argp-parse.c: Include <argp.h>.
29271 * argp/argp-xinl.c: Likewise.
29272 * include/argp-fmtstream.h: New file.
29273 * include/argp.h (__argp_error): Add attribute_hidden.
29274 (__argp_failure): Likewise.
29275 (__argp_input): Likewise.
29276 (__argp_state_help): Likewise.
29277
c26dd7c6
L
292782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29279
29280 [BZ #18822]
29281 * include/wchar.h (____wcstof_l_internal): New prototype.
29282 (____wcstod_l_internal): Likewise.
29283 (____wcstold_l_internal): Likewise.
29284 (____wcstol_l_internal): Likewise.
29285 (____wcstoul_l_internal): Likewise.
29286 (____wcstoll_l_internal): Likewise.
29287 (____wcstoull_l_internal): Likewise.
29288 (____wcstof128_l_internal): Likewise.
29289 * sysdeps/ieee754/float128/wcstof128.c
29290 (____wcstof128_l_internal): Removed.
29291 * sysdeps/ieee754/float128/wcstof128_l.c
29292 (____wcstof128_l_internal): Likewise.
29293 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29294 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29295 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29296 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29297 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29298 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29299 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29300 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29301 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29302 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29303
3aff5644
L
293042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29305
29306 [BZ #18822]
29307 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29308 instead of <sys/statvfs.h>.
29309 (__internal_statvfs): Removed.
29310 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29311 instead of <sys/statvfs.h>.
29312 (__internal_statvfs64): Removed.
29313 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29314 "internal_statvfs.h" instead of <sys/statvfs.h>.
29315 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29316 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29317 instead of <sys/statvfs.h>.
29318 (__internal_statvfs): Removed.
29319 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29320 instead of <sys/statvfs.h>.
29321 (__internal_statvfs64): Removed.
29322
8bcdb7e0
L
293232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29324
29325 [BZ #18822]
29326 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29327 (__gconv_close): Likewise.
29328 (__gconv): Likewise.
29329 (__gconv_find_transform): Likewise.
29330 (__gconv_lookup_cache): Likewise.
29331 (__gconv_compare_alias_cache): Likewise.
29332 (__gconv_load_cache): Likewise.
29333 (__gconv_get_path): Likewise.
29334 (__gconv_close_transform): Likewise.
29335 (__gconv_release_cache): Likewise.
29336 (__gconv_find_shlib): Likewise.
29337 (__gconv_release_shlib): Likewise.
29338 (__gconv_get_builtin_trans): Likewise.
29339 (__gconv_compare_alias): Likewise.
29340 * include/dlfcn.h (_dlerror_run): Likewise.
29341 * include/stdio.h (__fortify_fail_abort): Likewise.
29342 * include/time.h (__tz_compute): Likewise.
29343 (__strptime_internal): Likewise.
29344 * intl/gettextP.h (_nl_find_domain): Likewise.
29345 (_nl_load_domain): Likewise.
29346 (_nl_find_msg): Likewise.
29347 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29348 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29349 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29350 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29351 (__gai_find_request): Likewise.
29352 (__gai_remove_request): Likewise.
29353 (__gai_notify): Likewise.
29354 (__gai_notify_only): Likewise.
29355 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29356 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29357 (_dl_non_dynamic_init): Likewise.
29358 (_dl_aux_init): Likewise.
29359 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29360 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29361 Likewise.
29362 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29363 (__wcsmbs_clone_conv): Likewise.
29364 (__wcsmbs_named_conv): Likewise.
29365
8ed3b643
L
293662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29367
29368 [BZ #18822]
29369 * include/stdlib.h (__random): Add attribute_hidden.
29370 (__random_r): Likewise.
29371 (__srandom_r): Likewise.
29372 (__initstate_r): Likewise.
29373 (__setstate_r): Likewise.
29374 (__erand48_r): Likewise.
29375 (__nrand48_r): Likewise.
29376 (__jrand48_r): Likewise.
29377 (__srand48_r): Likewise.
29378 (__seed48_r): Likewise.
29379 (__lcong48_r): Likewise.
29380 (__drand48_iterate): Likewise.
29381 (__setenv): Likewise.
29382 (__unsetenv): Likewise.
29383 (__clearenv): Likewise.
29384 (__ptsname_r): Likewise.
29385 (__posix_openpt): Likewise.
29386 (__add_to_environ): Likewise.
29387 (__realpath): Add libc_hidden_proto.
29388 (__ecvt_r): Likewise.
29389 (__fcvt_r): Likewise.
29390 (__qecvt_r): Likewise.
29391 (__qfcvt_r): Likewise.
29392 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29393 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29394
ef9b6f73
L
293952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29396
29397 [BZ #18822]
29398 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29399 * include/time.h (__mktime_internal): Likewise.
29400 * libio/iolibio.h (__fopen_internal): Likewise.
29401
8da92e72
JDA
294022017-10-01 John David Anglin <danglin@gcc.gnu.org>
29403
29404 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29405 pointer in frame.
29406 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29407 Correct offset used to restore PIC register.
29408
388784cf
JDA
294092017-09-30 John David Anglin <danglin@gcc.gnu.org>
29410
29411 [BZ libc/22165]
29412 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29413 code to load address of __getcontext_ret when generating PIC code.
29414
2000067a
L
294152017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29416
29417 * elf/Makefile (tests-static-internal): Add
29418 tst-tls1-static-non-pie.
29419 (LDFLAGS-tst-tls1-static-non-pie): New.
29420 * elf/tst-tls1-static-non-pie.c: New file.
29421
1e2bffd0
JM
294222017-09-29 Joseph Myers <joseph@codesourcery.com>
29423
29424 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29425 (asinh): Define using libm_alias_double.
29426 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29427 (cbrt): Define using libm_alias_double.
29428 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29429 <libm-alias-double.h>.
29430 (copysign): Define using libm_alias_double.
29431 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29432 (erf): Define using libm_alias_double.
29433 (erfc): Likewise.
29434 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29435 (expm1): Define using libm_alias_double.
29436 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29437 (fabs): Define using libm_alias_double.
29438 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29439 libm_alias_double.
29440 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29441 <libm-alias-double.h>.
29442 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29443 libm_alias_double.
29444 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29445 <libm-alias-double.h>.
29446 (getpayload): Define using libm_alias_double.
29447 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29448 <libm-alias-double.h>.
29449 (llrint): Define using libm_alias_double.
29450 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29451 (lrint): Define using libm_alias_double.
29452 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29453 <libm-alias-double.h>.
29454 (nextup): Define using libm_alias_double.
29455 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29456 <libm-alias-double.h>.
29457 (roundeven): Define using libm_alias_double.
29458 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29459 libm_alias_double.
29460 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29461 <libm-alias-double.h>.
29462 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29463 using libm_alias_double.
29464 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29465 (cos): Define using libm_alias_double.
29466 (sin): Likewise.
29467 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29468 <libm-alias-double.h>.
29469 (sincos): Define using libm_alias_double.
29470 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29471 (tanh): Define using libm_alias_double.
29472 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29473 <libm-alias-double.h>.
29474 (totalorder): Define using libm_alias_double.
29475 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29476 <libm-alias-double.h>.
29477 (totalordermag): Define using libm_alias_double.
29478 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29479 libm_alias_double.
29480 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29481 libm_alias_double.
29482 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29483 <libm-alias-double.h>.
29484 (getpayload): Define using libm_alias_double.
29485 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29486 <libm-alias-double.h>.
29487 (roundeven): Define using libm_alias_double.
29488 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29489 <libm-alias-double.h>.
29490 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29491 <libm-alias-double.h>.
29492 (totalorder): Define using libm_alias_double.
29493 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29494 <libm-alias-double.h>.
29495 (totalordermag): Define using libm_alias_double.
29496 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29497 libc compat symbol here.
29498 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29499 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29500 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29501 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29502 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29503 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29504 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29505 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29506 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29507 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29508
8172aad9
L
295092017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29510
29511 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29512 _dl_relocate_static_pie instead of _dl_start to compute load
29513 address in static PIE. Return 0 if _DYNAMIC is undefined for
29514 static executable.
29515
54464e74
L
295162017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29517
29518 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29519 _DYNAMIC is undefined for static executable.
29520
f6c5e5bc
L
295212017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29522
29523 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29524
2f92505d
JM
295252017-09-29 Joseph Myers <joseph@codesourcery.com>
29526
29527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29528
bd8d53bb
WD
295292017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29530
29531 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29532 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29533 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29534 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29535 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29536 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29537 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29538 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29539 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29540 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29541 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29542 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29543 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29544 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29545 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29546 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29547 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29548
fffb1507
WD
295492017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29550
29551 * math/bits/cmathcalls.h (cimag): Remove inline.
29552 (creal): Remove inline.
29553 (conj): Remove inline.
29554
4ea49f4c
SN
295552017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29556
29557 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29558 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29559 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29560 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29561 (issignalingf_inline): Likewise.
29562 (POWF_LOG2_TABLE_BITS): Likewise.
29563 (POWF_LOG2_POLY_ORDER): Likewise.
29564 (POWF_SCALE_BITS): Likewise.
29565 (POWF_SCALE): Likewise.
29566 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29567 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29568 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29569
875c76c7
SN
295702017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29571
29572 * math/Makefile (type-float-routines): Add e_log2f_data.
29573 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29574 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29575 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29576 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29577 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29578 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29579 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29580
90c42e40
SN
295812017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29582
29583 * math/Makefile (type-float-routines): Add e_logf_data.
29584 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29585 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29586 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29587 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29588 * sysdeps/i386/fpu/e_logf_data.c: New file.
29589 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29590 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29591
4088d8dd
L
295922017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29593
29594 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29595 undefined _DYNAMIC in PIE libc.a.
29596 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29597 Likewse.
29598
4d3693ec
WD
295992017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29600
29601 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29602 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29603 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29604 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29605 (__signbit): Remove.
29606 (__signbitl): Remove.
29607 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29608 (__signbit): Remove.
29609 (__signbitl): Remove.
29610 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29611 (__signbit): Remove.
29612 (__signbitl): Remove.
29613 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29614 (__signbit): Remove.
29615 (__signbitl): Remove.
29616 * sysdeps/tile/bits/mathinline.h: Delete file.
29617 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29618 (__signbit): Remove.
29619 (__signbitl): Remove.
29620
1e6d0723
WD
296212017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29622
29623 * math/math.h: Improve handling of C99 isgreater macros.
29624 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29625 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29626 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29627 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29628 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29629
b2f03cf3
SN
296302017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29631
29632 * sysdeps/aarch64/libm-test-ulps: Update.
29633
f124cb38
JM
296342017-09-28 Joseph Myers <joseph@codesourcery.com>
29635
29636 [BZ #22225]
29637 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29638 math_opt_barrier on argument when doing arithmetic on it.
29639 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29640 Likewise. Use math_force_eval not math_opt_barrier after
29641 arithmetic.
29642 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29643 math_opt_barrier on argument when doing arithmetic on it.
29644 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29645 Likewise.
29646
7edd0691
L
296472017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29648
29649 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29650 libc_hidden_def.
29651 (__freeifaddrs): Likewise.
29652
2c7bbfaf
ST
296532017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29654
29655 * include/dirent.h (__dirfd): New declaration.
29656 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29657 alias.
29658 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29659 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29660 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
29661 * include/unistd.h (__revoke): New declaration.
29662 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29663 alias.
29664 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29665 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29666 revoke.
64a4af28
ST
29667 * include/dirent.h (__seekdir): New declaration.
29668 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29669 redefine as weak alias.
29670 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29671 of seekdir.
4009ddc6
ST
29672 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29673 and use libc_hidden_def on them.
29674 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29675 them.
29676 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29677 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29678 instead of getifaddrs and freeifaddrs.
2c7bbfaf 29679
825adeee
L
296802017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29681
29682 [BZ #18822]
29683 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29684 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29685 (__dso_handle): Remove declaration.
29686 * dlfcn/tstatexit.c (__dso_handle): Removed.
29687 (main): Don't check __dso_handle.
29688 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29689 (main): Don't check __dso_handle.
29690 * include/dso_handle.h: New file.
29691 * malloc/mtrace.c: Include <dso_handle.h>.
29692 (mtrace): Pass __dso_handle directly.
29693 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29694 (__dso_handle): Remove declaration.
29695 (__pthread_atfork): Pass __dso_handle directly.
29696 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29697 (__dso_handle): Removed.
29698 * posix/wordexp-test.c: Include <dso_handle.h>.
29699 (__dso_handle): Remove declaration.
29700 (__app_register_atfork): Pass __dso_handle directly.
29701 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29702 (__dso_handle): Remove declaration.
29703 (at_quick_exit): Pass __dso_handle directly.
29704 * stdlib/atexit.c: Include <dso_handle.h>.
29705 (__dso_handle): Remove declaration.
29706 (atexit): Pass __dso_handle directly.
29707 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29708 (__dso_handle): Removed.
29709
bfb0deb3
JM
297102017-09-26 Joseph Myers <joseph@codesourcery.com>
29711
29712 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29713 using VDSO.
29714
cebcb9f8
AM
297152017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29716
29717 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29718 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29719 values to correct default value for given type.
29720
592d5c75
L
297212017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29722
29723 [BZ #22101]
29724 * elf/Makefile (tests): Add tst-debug1.
29725 ($(objpfx)tst-debug1): New.
29726 ($(objpfx)tst-debug1.out): Likewise.
29727 ($(objpfx)tst-debug1mod1.so): Likewise.
29728 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29729 with p_filesz == 0.
29730 * elf/tst-debug1.c: New file.
29731
2d9193f2
JM
297322017-09-26 Joseph Myers <joseph@codesourcery.com>
29733
29734 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29735 Define using __ifunc.
29736
4c5a7a02
TMQMF
297372017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29738
29739 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29740 exp2f() values.
29741
12ef66c4
JM
297422017-09-26 Joseph Myers <joseph@codesourcery.com>
29743
29744 [BZ #22156]
29745 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29746
44dade71
FW
297472017-09-26 Florian Weimer <fweimer@redhat.com>
29748
29749 * resolv/Makefile (tests-internal): Fix typo in comment.
29750
eaca16f1
FW
297512017-09-26 Florian Weimer <fweimer@redhat.com>
29752
29753 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29754
ccf970c7
AZ
297552017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29756
5f9f31ad
AZ
29757 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29758 Use an union instead of a max_align_t array for __space,
29759 so that __space is the same size on all platforms.
29760 * malloc/scratch_buffer_grow_preserve.c
29761 (__libc_scratch_buffer_grow_preserve): Likewise.
29762
ccf970c7
AZ
29763 [BZ #22183]
29764 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29765 version to 2.
29766 * posix/Makefile (routines): Add glob-lstat-compat and
29767 glob64-lstat-compat.
29768 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29769 * posix/glob-lstat-compat.c: New file.
29770 * posix/glob64-lstat-compat.c: Likewise.
29771 * posix/tst-glob_lstat_compat.c: Likewise.
29772 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29773 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29774 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29775 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29776 Likewise.
29777 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29778 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29779 * posix/glob.c (glob_lstat): New function.
29780 (glob): Rename to __glob and add versioned symbol to 2.27.
29781 (glob_in_dir): Use glob_lstat.
29782 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29783 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29784 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29785 2.27.
29786 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29787 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29788 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29789 gl_lstat on glob call.
29790 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29791 and glob64 symbols.
29792 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29793 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29794 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29795 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29796 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29797 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29798 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29799 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29800 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29801 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29802 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29803 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29805 Likewise.
29806 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29808 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29809 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29810 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29811 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29812 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29815 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29816 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29817 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29818
b4396163
L
298192017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29820
29821 * configure.ac (AS): Require binutils 2.25 or later.
29822 * configure: Regenerated.
29823
8f834987
PP
298242017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29825
29826 [BZ #22207]
29827 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29828 VM size.
29829
3de93d19
DD
298302017-09-25 DJ Delorie <dj@redhat.com>
29831
29832 [BZ #22161]
29833 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29834 resetting timeout.
29835
9947638d
SL
298362017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29837
29838 * sysdeps/ieee754/dbl-64/sincos32.h
29839 [SINCCOS32_H]: Remove define.
29840 [SINCOS32_H]: Define.
29841
f5f0f526
SN
298422017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29843
29844 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29845 (exp2f): Likewise.
29846 * math/w_exp2f.c: New file.
29847 * math/w_expf.c: New file.
29848 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29849 * math/w_expf_compat.c (__expf_compat): Likewise.
29850 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29851 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29852 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29853 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29854 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29855 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29856 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29857 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29858 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29859 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29860 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29861 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29862 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29863 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29865 Likewise.
29866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29867 Likewise.
29868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29869 Likewise.
29870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29871 Likewise.
29872 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29873 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29874 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29875 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29876 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29878 Likewise.
29879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29880 Likewise.
29881 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29882 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29883 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29884
72aa6233
SN
298852017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29886
29887 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29888 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29889 (roundtoint, converttoint): Likewise.
29890 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29891 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29892 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29893 * sysdeps/ieee754/flt-32/math_config.h: New file.
29894 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29895 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29896 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29897 * sysdeps/i386/fpu/math_errf.c: New file.
29898 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29899 * sysdeps/ia64/fpu/math_errf.c: New file.
29900 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29901 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29902
5e6f3253
ST
299032017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29904
29905 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29906 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29907 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29908 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29909 to make sure that these symbols are defined.
b38a42a0
ST
29910 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29911 of <limits.h>
29912 (__need_NULL): Do not define.
29913 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29914 alignment.
29915 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29916 CMGROUP_MAX, cmsgcred): Do not define.
29917 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29918 NULL.
29919 * bits/socket.h: Likewise.
fcafcd16
ST
29920 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29921 __gettimeofday instead of gettimeofday.
29922 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29923 instead of settimeofday.
5e6f3253 29924
2f49ce7d
JM
299252017-09-22 Joseph Myers <joseph@codesourcery.com>
29926
29927 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29928 (asinhf): Define using libm_alias_float.
29929 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29930 (atanf): Define using libm_alias_float.
29931 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29932 (cbrtf): Define using libm_alias_float.
29933 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29934 (ceilf): Define using libm_alias_float.
29935 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29936 <libm-alias-float.h>.
29937 (copysignf): Define using libm_alias_float.
29938 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29939 (cosf): Define using libm_alias_float.
29940 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29941 (erff): Define using libm_alias_float.
29942 (erfcf): Likewise.
29943 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29944 (expm1f): Define using libm_alias_float.
29945 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29946 (fabsf): Define using libm_alias_float.
29947 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29948 (floorf): Define using libm_alias_float.
29949 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29950 (frexpf): Define using libm_alias_float.
29951 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29952 libm_alias_float.
29953 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29954 <libm-alias-float.h>.
29955 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29956 libm_alias_float.
29957 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29958 <libm-alias-float.h>.
29959 (getpayloadf): Define using libm_alias_float.
29960 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29961 <libm-alias-float.h>.
29962 (llrintf): Define using libm_alias_float.
29963 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29964 <libm-alias-float.h>.
29965 (llroundf): Define using libm_alias_float.
29966 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29967 (logbf): Define using libm_alias_float.
29968 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29969 (lrintf): Define using libm_alias_float.
29970 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29971 (lroundf): Define using libm_alias_float.
29972 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29973 (modff): Define using libm_alias_float.
29974 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29975 <libm-alias-float.h>.
29976 (nearbyintf): Define using libm_alias_float.
29977 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29978 <libm-alias-float.h>.
29979 (nextafterf): Define using libm_alias_float.
29980 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29981 <libm-alias-float.h>.
29982 (nextupf): Define using libm_alias_float.
29983 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29984 <libm-alias-float.h>.
29985 (remquof): Define using libm_alias_float.
29986 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29987 (rintf): Define using libm_alias_float.
29988 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29989 <libm-alias-float.h>.
29990 (roundevenf): Define using libm_alias_float.
29991 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29992 (roundf): Define using libm_alias_float.
29993 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29994 using libm_alias_float.
29995 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29996 <libm-alias-float.h>.
29997 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29998 Define using libm_alias_float.
29999 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30000 <libm-alias-float.h>.
30001 (sincosf): Define using libm_alias_float.
30002 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30003 (sinf): Define using libm_alias_float.
30004 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30005 (tanf): Define using libm_alias_float.
30006 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30007 (tanhf): Define using libm_alias_float.
30008 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30009 <libm-alias-float.h>.
30010 (totalorderf): Define using libm_alias_float.
30011 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30012 <libm-alias-float.h>.
30013 (totalordermagf): Define using libm_alias_float.
30014 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30015 (truncf): Define using libm_alias_float.
30016 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30017 libm_alias_float.
30018 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30019 libm_alias_float.
30020
c5c4a626
GG
300212017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30022
30023 [BZ #22146]
30024 math/math.h: Let fpclassify use the builtin in C++ mode, even
30025 when optimazing for size.
30026
23947846
JM
300272017-09-22 Joseph Myers <joseph@codesourcery.com>
30028
30029 * csu/Makefile (generated): Do not add version-info.h.
30030 (before-compile): Likewise.
30031 (all-Banner-files): Remove variable.
30032 ($(objpfx)version-info.h): Remove rule.
30033 * csu/version.c (banner): Do not include "version-info.h".
30034 * libidn/Banner: Remove.
30035 * manual/contrib.texi (Simon Josefsson): New entry.
30036
9ac3c682
GG
300372017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30038
30039 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30040 Remove conditionals on LDBL_MANT_DIG.
30041 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30042 (__ieee754_lgammal_r): Likewise.
30043
d2f0ed09
GG
300442017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30045
30046 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30047 _Float128 and L().
30048 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30049 _Float128 and L(). Replace _Float128 with long double and L(x)
30050 with xL, throughout the file.
30051 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30052 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30053 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30054 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30055
c5c2e667
GG
300562017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30057
30058 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30059 sysdeps/ieee754/ldbl-128ibm.
30060 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30061 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30062 of including it. Keep _Float128 and L() intact. These will be
30063 reviewed by a separate patch.
30064 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30065 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30066 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30067 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30068
e010deb2
GG
300692017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30070
30071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30072 (__finitef128): Define to __redirect___finitef128.
30073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30074 (__isinff128): Define to __redirect___isinff128.
30075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30076 (__isnanf128): Define to __redirect___isnanf128.
30077
ffa44804
GG
300782017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30079
30080 * sysdeps/powerpc/powerpc64le/Makefile
30081 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30082 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30083
e5e4d7cc
PP
300842017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30085 Carlos O'Donell <carlos@redhat.com>
30086
30087 [BZ #22180]
30088 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30089 * stdlib/test-dlclose-exit-race.c: New file.
30090 * stdlib/test-dlclose-exit-race-helper.c: New file.
30091 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30092
c10c5267
JM
300932017-09-21 Joseph Myers <joseph@codesourcery.com>
30094
30095 * crypt/Banner: Remove file.
30096 * nptl/Banner: Likewise.
30097 * resolv/Banner: Likewise.
30098 * soft-fp/Banner: Likewise.
30099 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30100 ($(objpfx)version.d): Remove dependency on banner.h.
30101 ($(objpfx)version.os): Likewise.
30102 * nptl/version.c (banner): Do not include banner.h.
30103 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30104 Jelinek and BIND code.
30105
1cc9e59a
PP
301062017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30107 Carlos O'Donell <carlos@redhat.com>
30108
30109 * support/xdlfcn.h: New file.
30110 * support/xdlfcn.c: New file.
30111 * support/Makefile (libsupport-routines): Add xdlfcn.
30112 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30113
ae8372d7
JM
301142017-09-20 Joseph Myers <joseph@codesourcery.com>
30115
30116 [BZ #20142]
30117 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30118 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30119 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30120 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30121 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30122 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30123 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30124 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30125
26e70aec 301262017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
30127 Ricky Zhou <rickyz@google.com>
30128 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
30129
30130 [BZ #14333]
30131 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30132 Remove atomics.
30133 (__new_exitfn): Fail registration when we finished at_exit processing.
30134 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30135 * stdlib/on_exit.c (__on_exit): Likewise.
30136 * stdlib/exit.c (__exit_funcs_done): New variable.
30137 (__run_exit_handlers): Use __exit_funcs_lock.
30138 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30139 declarations.
30140 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30141 (test-cxa_atexit-race, test-on_exit-race): New tests.
30142 * stdlib/test-atexit-race-common.c: New file.
30143 * stdlib/test-atexit-race.c: New file.
30144 * stdlib/test-at_quick_exit-race.c: New file.
30145 * stdlib/test-cxa_atexit-race.c: New file.
30146 * stdlib/test-on_exit-race.c: New file.
30147
0525ce48
SN
301482017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30149
30150 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30151 * benchtests/exp2f-inputs: Copy of expf-inputs.
30152 * benchtests/log2f-inputs: Copy of logf-inputs.
30153
d82468d1
JM
301542017-09-19 Joseph Myers <joseph@codesourcery.com>
30155
30156 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30157 Explicitly take address of first element of array arguments in
30158 call to INLINE_SYSCALL.
30159
43ffc53a
AS
301602017-09-19 Andreas Schwab <schwab@suse.de>
30161
30162 [BZ #22134]
30163 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30164 execveat first.
30165 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30166 unimplemented.
30167 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30168 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30169 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30170 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30171 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30172 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30173 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30174 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30175 * posix/Makefile (tests): Add tst-fexecve.
30176 * posix/tst-fexecve.c: New file.
30177
a5dcc87e
WD
301782017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30179
30180 * benchtests/Makefile: Add logf benchmark.
30181 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30182
7024d544
WD
301832017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30184
30185 * benchtests/Makefile: Add expf benchmark.
30186 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30187
ca3a382e
WD
301882017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30189
30190 * csu/Makefile: Add -funwind-tables to libc-start.c.
30191 * debug/Makefile: Add -funwind-tables to backtrace.c.
30192 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30193 * sysdeps/arm/Makefile: Likewise.
30194 * sysdeps/i386/Makefile: Likewise.
30195 * sysdeps/m68k/Makefile: Likewise.
30196 * sysdeps/mips/Makefile: Likewise.
30197 * sysdeps/nios2/Makefile: Likewise.
30198 * sysdeps/sh/Makefile: Likewise.
30199 * sysdeps/sparc/Makefile: Likewise.
30200
eb375def
JM
302012017-09-19 Joseph Myers <joseph@codesourcery.com>
30202
30203 * benchtests/Makefile (bench-math): Add trunc and truncf.
30204 (CFLAGS-bench-trunc.c): New variable.
30205 (CFLAGS-bench-truncf.c): Likewise.
30206 * benchtests/trunc-inputs: New file.
30207 * benchtests/truncf-inputs: Likewise.
30208
bd17ba29
RS
302092017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30210
30211 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30212
92892fdb
JM
302132017-09-18 Joseph Myers <joseph@codesourcery.com>
30214
6d9b0b5a
JM
30215 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30216 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30217 redefine.
30218 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30219 (exp10l): Define as weak alias.
30220 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30221 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30222 and redefine.
30223 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30224 (remainderl): Define as weak alias.
30225
92892fdb
JM
30226 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30227 (fmal): Define using libm_alias_ldouble.
30228 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30229 (acoshl): Define using libm_alias_ldouble.
30230 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30231 (acosl): Define using libm_alias_ldouble.
30232 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30233 (asinl): Define using libm_alias_ldouble.
30234 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30235 (atan2l): Define using libm_alias_ldouble.
30236 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30237 (atanhl): Define using libm_alias_ldouble.
30238 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30239 (coshl): Define using libm_alias_ldouble.
30240 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30241 (exp10l): Define using libm_alias_ldouble.
30242 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30243 (exp2l): Define using libm_alias_ldouble.
30244 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30245 (expl): Define using libm_alias_ldouble.
30246 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30247 (fmodl): Define using libm_alias_ldouble.
30248 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30249 (hypotl): Define using libm_alias_ldouble.
30250 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30251 (j0l): Define using libm_alias_ldouble.
30252 (y0l): Likewise.
30253 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30254 (j1l): Define using libm_alias_ldouble.
30255 (y1l): Likewise.
30256 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30257 (jnl): Define using libm_alias_ldouble.
30258 (ynl): Likewise.
30259 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30260 (log10l): Define using libm_alias_ldouble.
30261 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30262 (log2l): Define using libm_alias_ldouble.
30263 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30264 (logl): Define using libm_alias_ldouble.
30265 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30266 (powl): Define using libm_alias_ldouble.
30267 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30268 (remainderl): Define using libm_alias_ldouble.
30269 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30270 (sinhl): Define using libm_alias_ldouble.
30271 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30272 (sqrtl): Define using libm_alias_ldouble.
30273 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30274 (tgammal): Define using libm_alias_ldouble.
30275 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30276 (exp10l): Do not use long_double_symbol here.
30277 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30278 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30279 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30280 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30281 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30282 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30283 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30284 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30285 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30286 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30287 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30288 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30289 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30290 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30291 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30292 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30293 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30294 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30295 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30296 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30297 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30298 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30299
6cd380dd
WB
303002017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30301
30302 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30303 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30304
1c6d89e9
ST
303052017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30306
30307 * io/read.c (read): Add libc_hidden_weak.
30308 * sysdeps/mach/hurd/read.c (read): Likewise.
30309 * io/write.c (write): Likewise.
30310 * sysdeps/mach/hurd/write.c (write): Likewise.
30311 * io/pread64.c (__pread64): Likewise.
30312 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30313 * posix/pread64.c (__pread64): Add libc_hidden_def.
30314
06b1de23
SP
303152017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30316
140647ea
SP
30317 * benchtests/scripts/compare_strings.py: New option -g.
30318 (draw_graph): Print a message that a graph is being generated.
30319 (process_results): Generate graph only if -g is passed.
30320 (main): Process option -g.
30321
5a6547b7
SP
30322 * benchtests/scripts/compare_strings.py (process_results):
30323 Better spacing for output.
30324
06b1de23
SP
30325 * benchtests/scripts/compare_strings.py: Use argparse.
30326 * benchtests/README: Document existence of compare_strings.py.
30327
c67a2328
JM
303282017-09-15 Joseph Myers <joseph@codesourcery.com>
30329
9ac44708
JM
30330 * math/s_fma.c: Include <libm-alias-double.h>.
30331 (fma): Define using libm_alias_double.
30332 * math/s_nextafter.c: Include <libm-alias-double.h>.
30333 (nextafter): Define using libm_alias_double.
30334 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30335 (acos): Define using libm_alias_double.
30336 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30337 (aocsh): Define using libm_alias_double.
30338 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30339 (asin): Define using libm_alias_double.
30340 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30341 (atan2): Define using libm_alias_double.
30342 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30343 (atanh): Define using libm_alias_double.
30344 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30345 (cosh): Define using libm_alias_double.
30346 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30347 (exp10): Define using libm_alias_double.
30348 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30349 (exp2): Define using libm_alias_double.
30350 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30351 (exp): Define using libm_alias_double.
30352 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30353 (fmod): Define using libm_alias_double.
30354 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30355 (hypot): Define using libm_alias_double.
30356 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30357 (j0): Define using libm_alias_double.
30358 (y0): Likewise.
30359 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30360 (j1): Define using libm_alias_double.
30361 (y1): Likewise.
30362 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30363 (jn): Define using libm_alias_double.
30364 (yn): Likewise.
30365 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30366 (log10): Define using libm_alias_double.
30367 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30368 (log2): Define using libm_alias_double.
30369 * math/w_log_compat.c: Include <libm-alias-double.h>.
30370 (log): Define using libm_alias_double.
30371 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30372 (pow): Define using libm_alias_double.
30373 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30374 (remainder): Define using libm_alias_double.
30375 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30376 (sinh): Define using libm_alias_double.
30377 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30378 (sqrt): Define using libm_alias_double.
30379 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30380 (tgamma): Define using libm_alias_double.
30381 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30382 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30383 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30384 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30385 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30386 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30387 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30388 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30389 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30390 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30391 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30392 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30393 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30394 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30395 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30396 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30397 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30398 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30399 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30400 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30401 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30402 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30403 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30404 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30405 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30406
c67a2328
JM
30407 * math/e_acoshl.c: Remove.
30408 * math/e_acosl.c: Likewise.
30409 * math/e_asinl.c: Likewise.
30410 * math/e_atan2l.c: Likewise.
30411 * math/e_atanhl.c: Likewise.
30412 * math/e_coshl.c: Likewise.
30413 * math/e_expl.c: Likewise.
30414 * math/e_fmodl.c: Likewise.
30415 * math/e_gammal_r.c: Likewise.
30416 * math/e_hypotl.c: Likewise.
30417 * math/e_j0l.c: Likewise.
30418 * math/e_j1l.c: Likewise.
30419 * math/e_jnl.c: Likewise.
30420 * math/e_lgammal_r.c: Likewise.
30421 * math/e_log10l.c: Likewise.
30422 * math/e_log2l.c: Likewise.
30423 * math/e_logl.c: Likewise.
30424 * math/e_powl.c: Likewise.
30425 * math/e_rem_pio2l.c: Likewise.
30426 * math/e_sinhl.c: Likewise.
30427 * math/e_sqrtf128.c: Likewise.
30428 * math/e_sqrtl.c: Likewise.
30429 * math/k_cosl.c: Likewise.
30430 * math/k_sinl.c: Likewise.
30431 * math/k_tanl.c: Likewise.
30432 * math/s_asinhl.c: Likewise.
30433 * math/s_atanl.c: Likewise.
30434 * math/s_cbrtl.c: Likewise.
30435 * math/s_erfl.c: Likewise.
30436 * math/s_expm1l.c: Likewise.
30437 * math/s_log1pl.c: Likewise.
30438 * math/s_tanhl.c: Likewise.
30439
61c45f25
TMQMF
304402017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30441
30442 [BZ #21745]
30443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30444 [$(subdir) = math] (sysdep_calls): New variable. Has the
30445 previous contents of sysdep_routines, but re-sorted..
30446 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30447 sysdep_calls.
30448 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30449 defined in sysdep_calls and replace by the respective m_* names.
30450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30451 (compat_symbol): Undefine to avoid duplicated compat symbols in
30452 libc.
30453
5bcdb315
JM
304542017-09-15 Joseph Myers <joseph@codesourcery.com>
30455
30456 * math/s_fmaf.c: Include <libm-alias-float.h>.
30457 (fmaf): Define using libm_alias_float.
30458 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30459 (acosf): Define using libm_alias_float.
30460 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30461 (acoshf): Define using libm_alias_float.
30462 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30463 (asinf): Define using libm_alias_float.
30464 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30465 (atan2f): Define using libm_alias_float.
30466 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30467 (atanhf): Define using libm_alias_float.
30468 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30469 (coshf): Define using libm_alias_float.
30470 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30471 (exp10f): Define using libm_alias_float.
30472 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30473 (fmodf): Define using libm_alias_float.
30474 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30475 (hypotf): Define using libm_alias_float.
30476 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30477 (j0f): Define using libm_alias_float.
30478 (y0f): Likewise.
30479 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30480 (j1f): Define using libm_alias_float.
30481 (y1f): Likewise.
30482 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30483 (jnf): Define using libm_alias_float.
30484 (ynf): Likewise.
30485 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30486 (log10f): Define using libm_alias_float.
30487 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30488 (log2f): Define using libm_alias_float.
30489 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30490 (logf): Define using libm_alias_float.
30491 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30492 (powf): Define using libm_alias_float.
30493 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30494 (remainderf): Define using libm_alias_float.
30495 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30496 (sinhf): Define using libm_alias_float.
30497 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30498 (sqrtf): Define using libm_alias_float.
30499 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30500 (tgammaf): Define using libm_alias_float.
30501
01f28812
JM
305022017-09-14 Joseph Myers <joseph@codesourcery.com>
30503
30504 * include/math.h (roundeven): Change hidden_proto call to
30505 __roundeven.
30506 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30507 alias.
30508 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30509 (y0): Rename to __y0 and define as weak alias.
30510 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30511 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30512 alias.
30513 (y0f): Rename to __y0f and define as weak alias.
30514 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30515 alias.
30516 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30517 (y1): Rename to __y1 and define as weak alias.
30518 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30519 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30520 alias.
30521 (y1f): Rename to __y1f and define as weak alias.
30522 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30523 alias.
30524 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30525 (yn): Rename to __yn and define as weak alias.
30526 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30527 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30528 alias.
30529 (ynf): Rename to __ynf and define as weak alias.
30530 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30531 (fromfp): Define as weak alias.
30532 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30533 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30534 (fromfpx): Define as weak alias.
30535 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30536 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30537 __getpayload and define as weak alias.
30538 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30539 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30540 __roundeven and define as weak alias.
30541 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30542 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30543 __setpayload.
30544 (setpayload): Define as weak alias.
30545 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30546 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30547 __setpayloadsig.
30548 (setpayloadsig): Define as weak alias.
30549 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30550 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30551 __totalorder and define as weak alias.
30552 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30553 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30554 to __totalordermag and define as weak alias.
30555 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30556 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30557 (ufromfp): Define as weak alias.
30558 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30559 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30560 __ufromfpx.
30561 (ufromfpx): Define as weak alias.
30562 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30563 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30564 Rename to __getpayload and define as weak alias.
30565 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30566 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30567 Rename to __roundeven and define as weak alias.
30568 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30569 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30570 Rename to __totalorder and define as weak alias.
30571 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30572 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30573 (totalordermag): Rename to __totalordermag and define as weak
30574 alias.
30575 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30576 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30577 macro.
30578 (__roundevenl): Likewise.
30579 (__totalorderl): Likewise.
30580 (__totalordermagl): Likewise
30581 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30582 __fromfpf128.
30583 (fromfpf128): Define as weak alias.
30584 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30585 __fromfpxf128.
30586 (fromfpxf128): Define as weak alias.
30587 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30588 __setpayloadf128.
30589 (setpayloadf128): Define as weak alias.
30590 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30591 __setpayloadsigf128.
30592 (setpayloadsigf128): Define as weak alias.
30593 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30594 __ufromfpf128.
30595 (ufromfpf128): Define as weak alias.
30596 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30597 __ufromfpxf128.
30598 (ufromfpxf128): Define as weak alias.
30599 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30600 (fromfpf): Define as weak alias.
30601 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30602 __fromfpxf.
30603 (fromfpxf): Define as weak alias.
30604 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30605 __getpayloadf and define as weak alias.
30606 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30607 __roundevenf and define as weak alias.
30608 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30609 __setpayloadf.
30610 (setpayloadf): Define as weak alias.
30611 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30612 __setpayloadsigf.
30613 (setpayloadsigf): Define as weak alias.
30614 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30615 __totalorderf and define as weak alias.
30616 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30617 Rename to __totalordermagf and define as weak alias.
30618 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30619 __ufromfpf.
30620 (ufromfpf): Define as weak alias.
30621 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30622 __ufromfpxf.
30623 (ufromfpxf): Define as weak alias.
30624 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30625 __fromfpl.
30626 (fromfpl): Define as weak alias.
30627 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30628 __fromfpxl.
30629 (fromfpxl): Define as weak alias.
30630 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30631 to __getpayloadl and define as weak alias.
30632 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30633 __roundevenl and define as weak alias.
30634 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30635 __setpayloadl.
30636 (setpayloadl): Define as weak alias.
30637 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30638 __setpayloadsigl.
30639 (setpayloadsigl): Define as weak alias.
30640 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30641 to __totalorderl and define as weak alias.
30642 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30643 Rename to __totalordermagl and define as weak alias.
30644 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30645 __ufromfpl.
30646 (ufromfpl): Define as weak alias.
30647 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30648 __ufromfpxl.
30649 (ufromfpxl): Define as weak alias.
30650 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30651 __fromfpl.
30652 (fromfpl): Define as weak alias.
30653 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30654 __fromfpxl.
30655 (fromfpxl): Define as weak alias.
30656 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30657 Rename to __getpayloadl and define as weak alias.
30658 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30659 to __roundevenl and define as weak alias. Call __roundeven
30660 instead of roundeven.
30661 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30662 __setpayloadl.
30663 (setpayloadl): Define as weak alias.
30664 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30665 __setpayloadsigl.
30666 (setpayloadsigl): Define as weak alias.
30667 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30668 Rename to __totalorderl and define as weak alias.
30669 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30670 Rename to __totalordermagl and define as weak alias.
30671 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30672 __ufromfpl.
30673 (ufromfpl): Define as weak alias.
30674 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30675 __ufromfpxl.
30676 (ufromfpxl): Define as weak alias.
30677 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30678 __fromfpl.
30679 (fromfpl): Define as weak alias.
30680 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30681 __fromfpxl.
30682 (fromfpxl): Define as weak alias.
30683 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30684 __getpayloadl and define as weak alias.
30685 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30686 __roundevenl and define as weak alias.
30687 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30688 __setpayloadl.
30689 (setpayloadl): Define as weak alias.
30690 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30691 __setpayloadsigl.
30692 (setpayloadsigl): Define as weak alias.
30693 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30694 __totalorderl and define as weak alias.
30695 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30696 Rename to __totalordermagl and define as weak alias.
30697 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30698 __ufromfpl.
30699 (ufromfpl): Define as weak alias.
30700 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30701 __ufromfpxl.
30702 (ufromfpxl): Define as weak alias.
30703
29c933fb
SP
307042017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30705
503c92c3
SP
30706 * benchtests/bench-string.h (realloc_bufs): New function.
30707 (test_init): Call it.
30708 * benchtests/bench-memset-large.c (do_test): Likewise.
30709 * benchtests/bench-memset.c (do_test): Likewise.
30710
29c933fb
SP
30711 * benchtests/bench-memset-large.c: Print output in JSON
30712 format.
30713 * benchtests/bench-memset.c: Likewise.
30714
799c8d69
MF
307152017-09-14 Mike FABIAN <mfabian@redhat.com>
30716
30717 [BZ #21084]
30718 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30719 * iconvdata/Makefile: Add IBM858.
30720 * iconvdata/gconv-modules: Likewise.
30721 * iconvdata/tst-tables.sh: Likewise.
30722 * iconvdata/ibm858.c: New file.
30723 * localedata/charmaps/IBM858: Likewise.
30724
c207f7ce 307252017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
30726
30727 [BZ #22023]
30728 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30729 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30730
f28a0926
AK
307312017-09-14 Mike FABIAN <mfabian@redhat.com>
30732
30733 [BZ #22112]
30734 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30735 and add tel_int_fmt.
30736
02093e62
JM
307372017-09-14 Joseph Myers <joseph@codesourcery.com>
30738
30739 * sysdeps/generic/libm-alias-float128.h: New file.
30740 * sysdeps/generic/math-type-macros-float128.h: Include
30741 <libm-alias-float128.h>.
30742 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30743
1aae75ef
JM
307442017-09-13 Joseph Myers <joseph@codesourcery.com>
30745
30746 * sysdeps/generic/libm-alias-ldouble.h: New file.
30747 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30748 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30749 * sysdeps/generic/math-type-macros-ldouble.h: Include
30750 <libm-alias-ldouble.h>.
30751 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30752 libm_alias_ldouble.
30753
bcea7ad6
SN
307542017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30755
30756 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30757 * math/w_exp_compat.c: ... here.
30758 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30759 * math/w_expf_compat.c: ... here.
30760 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30761 * math/w_expl_compat.c: ... here.
30762 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30763 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30764 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30765 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30766
0fc56478
JM
307672017-09-13 Joseph Myers <joseph@codesourcery.com>
30768
30769 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30770 redefine.
30771 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30772 macro.
30773 (ldexpl): Only define as compat symbol for libc, not libm.
30774 (scalbnl): Define as compat symbol for libc here.
30775 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30776 define for [IS_IN (libc)].
30777 (__ldexpl_2): Remove alias.
30778 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30779 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30780 name in long_double_symbol call.
30781 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30782 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30783 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30784 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30785 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30786 Remove macro.
30787 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30788 Define as compat symbol.
30789
3ca622e4
AZ
307902017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30791
30792 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30793 * sysdeps/unix/sysv/linux/alpha/Makefile
30794 [$(subdir) = csu] (sysdep_routines): Remove rule.
30795
620ff9ee
JM
307962017-09-13 Joseph Myers <joseph@codesourcery.com>
30797
30798 * sysdeps/generic/libm-alias-double.h: New file.
30799 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30800 * sysdeps/generic/math-type-macros-double.h: Include
30801 <libm-alias-double.h>.
30802 [declare_mgen_alias] (declare_mgen_alias): Define to use
30803 libm_alias_double.
30804 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30805 (M_LIBM_NEED_COMPAT): Remove macro.
30806 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30807 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30808 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30809 code.
30810 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30811 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30812 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30813 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30814 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30815 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30816 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30817 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30818 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30819 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30820 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30821 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30822 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30823 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30824 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30825 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30826 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30827 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30828 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30829 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30830 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30831 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30832 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30833 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30834 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30835 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30836 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30837 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30838 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30839 macro.
30840 (declare_mgen_alias): New macro.
30841 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30842 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30844 (M_LIBM_NEED_COMPAT): Remove macro.
30845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30846 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30847 <first-versions.h>.
30848 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30849 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30850
a891caff
JM
308512017-09-12 Joseph Myers <joseph@codesourcery.com>
30852
30853 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30854 (declare_mgen_alias_2): Remove.
30855 * sysdeps/generic/math-type-macros-double.h
30856 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30857 Likewise.
30858 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30859 alias.
30860 (ldexp): Define with declare_mgen_alias.
30861 (scalbn): Likewise.
30862
a1a78204
SE
308632017-09-12 Steve Ellcey <sellcey@cavium.com>
30864
30865 * grp/initgroups.c: Include config.h.
30866 (DEFAULT_CONFIG): New macro.
30867 (internal_getgrouplist): Use DEFAULT_CONFIG.
30868 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30869 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30870 (DEFAULT_DEFCONFIG): New macro.
30871 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30872 * nss/grp-lookup.c: Include config.h
30873 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30874 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30875 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30876 * manual/nss.texi: Update default values section.
30877
ef8adeb0
L
308782017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30879
30880 [BZ #21967]
30881 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30882 New.
30883 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30884 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30885 Handle MathVec_Prefer_No_AVX512.
30886 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30887 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30888 is set.
30889
a166531f
ST
308902017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30891
30892 * posix/sched_primax.c (__sched_get_priority_max): Add
30893 libc_hidden_def.
30894 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30895 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30896 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30897 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30898 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30899 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30900 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30901 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30902 Add aliases.
30903
4b7d1efb
JM
309042017-09-11 Joseph Myers <joseph@codesourcery.com>
30905
30906 * sysdeps/generic/libm-alias-float.h: New file.
30907 * sysdeps/generic/math-type-macros-float.h: Include
30908 <libm-alias-float.h>.
30909 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30910
45ff3463
L
309112017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30912
30913 [BZ #22093]
30914 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30915 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30916 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30917 (HWCAP_IMPORTANT): Likewise.
30918 (HWCAP_X86_64): New enum.
30919 (HWCAP_X86_AVX512_1): Updated.
30920 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30921 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30922 (modules-names): Add x86_64/tst-x86_64mod-1.
30923 (LDFLAGS-tst-x86_64mod-1.so): New.
30924 ($(objpfx)tst-x86_64-1): Likewise.
30925 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30926 (tst-x86_64-1-clean): Likewise.
30927 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30928 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30929
891abfd3
SP
309302017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30931
30932 * po/sv.po: Update translations.
30933 * po/fr.po: Likewise.
30934
00c3da43
ST
309352017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30936
30937 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30938 seconds.
3bdfd9fb
ST
30939 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30940 seconds.
65b22ebc 30941 * elf/rtld-Rules: Fix $(error) use.
00c3da43 30942
96480903
MF
309432017-09-09 Mike FABIAN <mfabian@redhat.com>
30944
30945 [BZ #14925]
30946 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30947 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30948 * localedata/locales/bn_BD: “Bengali” was still used in some
30949 comments. Change it to “Bangla”.
30950
4c03a696
MT
309512017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30952
30953 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30954
9c9ec581
SE
309552017-09-08 Steve Ellcey <sellcey@cavium.com>
30956
30957 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30958 thunderx2t99p1 to list of cpu names.
30959 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30960 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30961
f00bce74
SE
309622017-09-08 Steve Ellcey <sellcey@cavium.com>
30963
30964 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30965 Use strcmp instead of tunable_is_name.
30966
27342d17
JM
309672017-09-08 Joseph Myers <joseph@codesourcery.com>
30968
af1b7c8c
JM
30969 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30970 (F_GET_RW_HINT): New macro.
30971 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30972 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30973 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30974 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30975 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30976 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30977 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30978 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30979 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30980
27342d17
JM
30981 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30982 (F_ADD_SEALS): New macro.
30983 [__USE_GNU] (F_GET_SEALS): Likewise.
30984 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30985 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30986 [__USE_GNU] (F_SEAL_GROW): Likewise.
30987 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30988
c66c9082
AZ
309892017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30990
07b4f49d
AZ
30991 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30992 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30993 * posix/glob_internal.h (__glob_pattern_type):
30994 * posix/glob.c (glob):
30995 * posix/glob_pattern_p.c (__glob_pattern_p):
30996 Use them.
30997
116f1c64
AZ
30998 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30999 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31000 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31001 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31002 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31004 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31005 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31006 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31007 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31008 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31009 * sysdeps/wordsize-64/glob.c: Likewise.
31010 * sysdeps/wordsize-64/glob64.c: Likewise.
31011 * sysdeps/wordsize-64/globfree.c: Likewise.
31012 * sysdeps/wordsize-64/globfree64.c: Likewise.
31013 * sysdeps/unix/sysv/linux/glob.c: New file.
31014 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31015 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31016 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31017 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31018 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31019 adds !GLOB_NO_OLD_VERSION as an extra condition.
31020 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31021 using relative path instead of absolute one.
31022 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31023 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31024 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31025 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31026 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31027 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31028
ffca8901
AZ
31029 [BZ #1062]
31030 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31031 (glob): Use the same scratch buffer for both getlogin_r and
31032 getpwnam_r. Don’t require preallocation of the login name. This
31033 simplifies storage allocation, and corrects the handling of
31034 long login names.
31035
5a79f975
AZ
31036 [BZ #1062]
31037 * posix/glob.c (glob): Port recent patches to platforms
31038 lacking getpwnam_r.
31039 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31040 returns an error number rather than setting errno.
31041
e00f2425
AZ
31042 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31043 instead of GCC extension.
31044 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31045 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31046 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31047
5554304f
AZ
31048 [BZ #866]
31049 [BZ #1062]
31050 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31051 * posix/bug-glob1.c: Remove file.
31052 * posix/tst-glob_symlinks.c: New file.
31053 * posix/glob.c (__lstat64): New macro.
31054 (is_dir): New function.
31055 (glob, glob_in_dir): Match symlinks even if they are dangling.
31056 (link_stat, link_exists_p): Remove. All uses removed.
31057
686f2ea1
AZ
31058 [BZ #1062]
31059 [BZ #19971]
31060 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31061 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31062 All uses removed.
31063
c66c9082 31064 [BZ #1062]
914c9994 31065 CVE-2017-15671
c66c9082
AZ
31066 * posix/Makefile (routines): Add globfree, globfree64, and
31067 glob_pattern_p.
31068 * posix/flexmember.h: New file.
31069 * posix/glob_internal.h: Likewise.
31070 * posix/glob_pattern_p.c: Likewise.
31071 * posix/globfree.c: Likewise.
31072 * posix/globfree64.c: Likewise.
31073 * sysdeps/gnu/globfree64.c: Likewise.
31074 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31075 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31076 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31077 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31078 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31079 * sysdeps/wordsize-64/globfree.c: Likewise.
31080 * sysdeps/wordsize-64/globfree64.c: Likewise.
31081 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31082 [NDEBUG): Remove comments.
31083 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31084 (dirent_type): New type. Use uint_fast8_t not
31085 uint8_t, as C99 does not require uint8_t.
31086 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31087 (struct readdir_result): Use dirent_type. Do not define skip_entry
31088 unless it is needed; this saves a byte on platforms lacking d_ino.
31089 (readdir_result_type, readdir_result_skip_entry):
31090 New functions, replacing ...
31091 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 31092 these functions, which were removed. This makes the callers
c66c9082
AZ
31093 easier to read. All callers changed.
31094 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31095 (size_add_wrapv, glob_use_alloca): New static functions.
31096 (glob, glob_in_dir): Check for size_t overflow in several places,
31097 and fix some size_t checks that were not quite right.
31098 Remove old code using SHELL since Bash no longer
31099 uses this.
31100 (glob, prefix_array): Separate MS code better.
31101 (glob_in_dir): Remove old Amiga and VMS code.
31102 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31103 separate files.
31104 (glob_in_dir): Do not rely on undefined behavior in accessing
31105 struct members beyond their bounds. Use a flexible array member
31106 instead
31107 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31108 0/1. Caller changed.
31109 (glob): Fix memory leaks.
31110 * posix/glob64 (globfree64): Move to separate file.
31111 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31112 (globfree64): Remove hidden alias.
31113 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31114 oldglob.
31115 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31116 separate file.
31117 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31118 define.
31119 Move compat code to separate file.
31120 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31121 separate file.
31122
78bfa877
L
311232017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31124
31125 * resolv/tst-resolv-qtypes.c (domain): Changed to
31126 "const char domain[] =".
31127
05f0011f
JM
311282017-09-07 Joseph Myers <joseph@codesourcery.com>
31129
85bec0f2
JM
31130 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31131 version to 3.1.6.
31132
5c23ee6e
JM
31133 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31134 (TCP_MD5SIG_EXT): Likewise.
31135 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31136 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31137 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31138
05f0011f
JM
31139 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31140
7c9c5be9
MF
311412017-09-07 Mike FABIAN <mfabian@redhat.com>
31142
31143 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31144
c207f7ce 311452017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
31146
31147 [BZ #22100]
31148 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31149
507fe027
ST
311502017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31151
31152 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31153 before assuming that the file is empty. Avoid testing buffer content
31154 when nread == 0.
31155
65687ac7
AZ
311562017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31157
7bbbb4b9 31158 [BZ #18858]
65687ac7
AZ
31159 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31160 Remove define.
31161 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31162 Likewise.
31163 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31164 Likewise.
31165 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31166 Likewise.
31167 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31168 Likewise.
31169 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31170 Likewise.
31171 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31172 Likewise.
31173
ab5ac271
FW
311742017-09-06 Florian Weimer <fweimer@redhat.com>
31175
31176 * malloc/dynarray_emplace_enlarge.c
31177 (__libc_dynarray_emplace_enlarge): Add missing else.
31178
a8304730
FW
311792017-09-06 Florian Weimer <fweimer@redhat.com>
31180
31181 [BZ #22096]
31182 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31183 case of failure to obtain the global conf object.
31184
5670c4ab
FW
311852017-09-06 Florian Weimer <fweimer@redhat.com>
31186
31187 [BZ #22095]
31188 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31189 dynarray allocation failure.
31190
c77eb969
FW
311912017-09-06 Florian Weimer <fweimer@redhat.com>
31192
31193 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31194 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31195 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31196 New functions.
31197 (response): Call them. Add 'p', '6' flag processing.
31198 (test_reverse): New function.
31199 (test_get2_any): Call it.
31200 (test_no_inet6): Add 'p' test.
31201 (test_inet6): Likewise.
31202
5e9c4d17
FW
312032017-09-06 Florian Weimer <fweimer@redhat.com>
31204
31205 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31206 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31207 the QNAME.
31208 (test_gai): Adjust query names. Add additional tests.
31209 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31210 test_get2. Adjust query names. Add additional tests.
31211 (test_no_inet6): New function, extracted from threadfunc.
31212 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31213 Add additional tests.
31214
2ae5be04
MF
312152017-09-06 Mike FABIAN <mfabian@redhat.com>
31216
31217 [BZ #22070]
31218 * localedata/unicode-gen/utf8_gen.py: Set the width for
31219 characters with Prepended_Concatenation_Mark property to 1
31220 * localedata/charmaps/UTF-8: Updated using the improved script.
31221
af83ed5c
MF
312222017-09-06 Mike FABIAN <mfabian@redhat.com>
31223
31224 [BZ #21750]
31225 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31226 use the range notation for all ranges of neighbouring characters
31227 with the same width.
31228
4f3647e4
JM
312292017-09-05 Joseph Myers <joseph@codesourcery.com>
31230
31231 * sysdeps/generic/math-type-macros-double.h: Include
31232 <math-svid-compat.h>.
31233 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31234 * sysdeps/generic/math-type-macros-float.h: Include
31235 <math-svid-compat.h>.
31236 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31237 * sysdeps/generic/math-type-macros-ldouble.h: Include
31238 <math-svid-compat.h>.
31239 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31240 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31241 condition.
31242 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31243 * math/w_acosf_compat.c: Likewise.
31244 * math/w_acosh_compat.c: Likewise.
31245 * math/w_acoshf_compat.c: Likewise.
31246 * math/w_acoshl_compat.c: Likewise.
31247 * math/w_acosl_compat.c: Likewise.
31248 * math/w_asin_compat.c: Likewise.
31249 * math/w_asinf_compat.c: Likewise.
31250 * math/w_asinl_compat.c: Likewise.
31251 * math/w_atan2_compat.c: Likewise.
31252 * math/w_atan2f_compat.c: Likewise.
31253 * math/w_atan2l_compat.c: Likewise.
31254 * math/w_atanh_compat.c: Likewise.
31255 * math/w_atanhf_compat.c: Likewise.
31256 * math/w_atanhl_compat.c: Likewise.
31257 * math/w_cosh_compat.c: Likewise.
31258 * math/w_coshf_compat.c: Likewise.
31259 * math/w_coshl_compat.c: Likewise.
31260 * math/w_exp10_compat.c: Likewise.
31261 * math/w_exp10f_compat.c: Likewise.
31262 * math/w_exp10l_compat.c: Likewise.
31263 * math/w_exp2_compat.c: Likewise.
31264 * math/w_exp2f_compat.c: Likewise.
31265 * math/w_exp2l_compat.c: Likewise.
31266 * math/w_fmod_compat.c: Likewise.
31267 * math/w_fmodf_compat.c: Likewise.
31268 * math/w_fmodl_compat.c: Likewise.
31269 * math/w_hypot_compat.c: Likewise.
31270 * math/w_hypotf_compat.c: Likewise.
31271 * math/w_hypotl_compat.c: Likewise.
31272 * math/w_j0_compat.c: Likewise.
31273 * math/w_j0f_compat.c: Likewise.
31274 * math/w_j0l_compat.c: Likewise.
31275 * math/w_j1_compat.c: Likewise.
31276 * math/w_j1f_compat.c: Likewise.
31277 * math/w_j1l_compat.c: Likewise.
31278 * math/w_jn_compat.c: Likewise.
31279 * math/w_jnf_compat.c: Likewise.
31280 * math/w_jnl_compat.c: Likewise.
31281 * math/w_lgamma_r_compat.c: Likewise.
31282 * math/w_lgammaf_r_compat.c: Likewise.
31283 * math/w_lgammal_r_compat.c: Likewise.
31284 * math/w_log10_compat.c: Likewise.
31285 * math/w_log10f_compat.c: Likewise.
31286 * math/w_log10l_compat.c: Likewise.
31287 * math/w_log2_compat.c: Likewise.
31288 * math/w_log2f_compat.c: Likewise.
31289 * math/w_log2l_compat.c: Likewise.
31290 * math/w_log_compat.c: Likewise.
31291 * math/w_logf_compat.c: Likewise.
31292 * math/w_logl_compat.c: Likewise.
31293 * math/w_pow_compat.c: Likewise.
31294 * math/w_powf_compat.c: Likewise.
31295 * math/w_powl_compat.c: Likewise.
31296 * math/w_remainder_compat.c: Likewise.
31297 * math/w_remainderf_compat.c: Likewise.
31298 * math/w_remainderl_compat.c: Likewise.
31299 * math/w_sinh_compat.c: Likewise.
31300 * math/w_sinhf_compat.c: Likewise.
31301 * math/w_sinhl_compat.c: Likewise.
31302 * math/w_sqrt_compat.c: Likewise.
31303 * math/w_sqrtf_compat.c: Likewise.
31304 * math/w_sqrtl_compat.c: Likewise.
31305 * math/w_tgamma_compat.c: Likewise.
31306 * math/w_tgammaf_compat.c: Likewise.
31307 * math/w_tgammal_compat.c: Likewise.
31308 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31309 [LIBM_SVID_COMPAT].
31310 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31311 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31312 [LIBM_SVID_COMPAT].
31313 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31314 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31315 [LIBM_SVID_COMPAT].
31316 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31317 * sysdeps/i386/fpu/w_sqrt.c: New file.
31318 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31319 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31320 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31321 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31322 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31323 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31324 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31325 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31326 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31327 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31328 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31329 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31330 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31331 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31332 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31333 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31334 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31335 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31336 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31337 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31338 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31339 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31340 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31341 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31342 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31343 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31344 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31345 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31346 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31347 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31348 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31349 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31350 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31351 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31352 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31353 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31354 * sysdeps/ia64/fpu/w_log.c: Likewise.
31355 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31356 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31357 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31358 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31359 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31360 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31361 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31362 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31363 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31364 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31365 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31366 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31367 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31368 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31369 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31370 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31371 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31372 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31373 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31374 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31375 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31376 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31377 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31378 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31379 [LIBM_SVID_COMPAT].
31380 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31381 * sysdeps/ieee754/k_standard.c: Likewise.
31382 * sysdeps/ieee754/k_standardf.c: Likewise.
31383 * sysdeps/ieee754/k_standardl.c: Likewise.
31384 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31385 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31386 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31387 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31388 long_double_symbol call on [LIBM_SVID_COMPAT].
31389 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31390 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31391 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31392 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31393 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31394 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31395 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31396 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31397 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31398 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31399 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31400 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31401 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31402 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31403 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31404 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31405 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31406 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31407 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31408 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31409 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31410 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31411
05b38d64
SE
314122017-09-05 Steve Ellcey <sellcey@cavium.com>
31413
31414 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31415 * malloc/tst-mallocstate.c: Convert from test-skeleton
31416 to test-driver. Ifdef code using TEST_COMPAT macro.
31417 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31418 * math/test-matherr.c: Likewise.
31419
99d67918
JM
314202017-09-05 Joseph Myers <joseph@codesourcery.com>
31421
31422 [BZ #22086]
31423 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31424 comparing word with byte-swapped constant.
31425
c207f7ce 314262017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
31427
31428 [BZ #20498]
31429 * locale/iso-639.def: add Miskito.
31430 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31431 * localedata/locales/miq_NI: New file.
31432
0a587a8a
L
314332017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31434
31435 [BZ #18822]
31436 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31437 (__mkdir): Likewise.
31438 * io/chmod.c (__chmod): Add libc_hidden_def.
31439 * io/mkdir.c (__mkdir): Likewise.
31440 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31441 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31442 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31443 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31444
f3a129b8
JM
314452017-09-04 Joseph Myers <joseph@codesourcery.com>
31446
1650e192
JM
31447 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31448 version to 4.13.
31449
f3a129b8
JM
31450 [BZ #22082]
31451 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31452 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31453
b38042f5
FW
314542017-09-04 Florian Weimer <fweimer@redhat.com>
31455
31456 * math/math.h: Issue warning if log is defined.
31457
059b6404
JM
314582017-09-04 Joseph Myers <joseph@codesourcery.com>
31459
31460 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31461 kernel version to 4.13.
31462
b794e16b
ST
314632017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31464
31465 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
31466 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31467 parameter.
01969395
ST
31468 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31469 just <bits/types.h>.
dd2b31de 31470 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 31471 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 31472 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 31473 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
31474 * misc/preadv2.c: Include <errno.h>.
31475 * misc/preadv64v2.c: Include <errno.h>.
31476 * misc/pwritev2.c: Include <errno.h>.
31477 * misc/pwritev64v2.c: Include <errno.h>.
31478 * sysdeps/posix/preadv2.c: Include <errno.h>.
31479 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31480 Fix <unistd.h> inclusion.
31481 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31482 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
31483 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31484 __strtoul_internal): New functions.
127e7773
ST
31485 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31486 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
31487 * sysdeps/mach/hurd/i386/Makefile
31488 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31489 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31490 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
31491 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31492 __feraiseexcept_renamed to feraiseexcept instead of
31493 __GI_feraiseexcept.
56bf5497 31494 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 31495 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
31496 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31497 RWF_NOWAIT): Define to 0 if undefined already.
31498 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31499 boils down to 0.
6547ec0a
ST
31500 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31501 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 31502
5a80d39d
JM
315032017-09-01 Joseph Myers <joseph@codesourcery.com>
31504
31505 * manual/math.texi (pow10): Do not document.
31506 (pow10f): Likewise.
31507 (pow10l): Likewise.
31508 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31509 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31510 * math/libm-test-exp10.inc (pow10_test): Remove.
31511 (do_test): Do not call pow10.
31512 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31513 [NO_LONG_DOUBLE] (pow10l): Likewise.
31514 * math/w_exp10f_compat.c (pow10f): Likewise.
31515 * math/w_exp10l_compat.c (pow10l): Likewise.
31516 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31517 (pow10): Make into compat symbol.
31518 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31519 (pow10f): Make into compat symbol.
31520 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31521 (pow10l): Make into compat symbol.
31522 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31523 pow10.
31524 (CFLAGS-nldbl-pow10.c): Remove variable..
31525 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31526 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31527 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31528 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31529 Undefine and redefine.
31530 (pow10l): Make into compat symbol.
31531 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31532 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31533 * sysdeps/arm/libm-test-ulps: Likewise.
31534 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31535 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31536 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31537 * sysdeps/microblaze/libm-test-ulps: Likewise.
31538 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31539 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31540 * sysdeps/nios2/libm-test-ulps: Likewise.
31541 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31542 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31543 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31544 * sysdeps/sh/libm-test-ulps: Likewise.
31545 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31546 * sysdeps/tile/libm-test-ulps: Likewise.
31547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31548
3824fc38
PP
315492017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31550
31551 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31552
b3008279
L
315532017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31554
31555 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31556 "../ChangeLog.old/ChangeLog.8".
31557 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31558 "../ChangeLog.old/ChangeLog.14".
31559
136fa185
L
315602017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31561
31562 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31563 Threads Library.
31564
c18d50a2
JM
315652017-09-01 Joseph Myers <joseph@codesourcery.com>
31566
31567 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31568
bedbd859
L
315692017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31570
31571 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31572 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31573
50c66c7a
PP
315742017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31575
31576 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31577 32 atexit handlers.
31578
a617bd11
ZW
315792017-09-01 Zack Weinberg <zackw@panix.com>
31580
31581 * math/math.h (HUGE_VAL): Improve commentary.
31582
e0d2eb5a
AZ
315832017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31584 Andreas Schwab <schwab@suse.de>
31585
31586 [BZ #21530]
31587 * include/stdio.h (__gen_tempfd): New function.
31588 * stdio-common/Makefile (routines): Add gentempfd.
31589 * stdio-common/gentempfd.c: New file.
31590 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31591 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31592 unnamed file first.
31593
f4a6be25
FW
315942017-09-01 Florian Weimer <fweimer@redhat.com>
31595
31596 [BZ #21915]
31597 [BZ #21922]
31598 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31599 result to determine success or failure, not the errno value.
31600 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31601 (tst-nss-files-hosts-erange): Link with -ldl.
31602 * nss/tst-nss-files-hosts-erange.c: New file.
31603 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31604 (do_test): Add NO_DATA tests.
31605 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31606 (do_test): Call it.
31607
5f8340f5
FW
316082017-09-01 Florian Weimer <fweimer@redhat.com>
31609
31610 [BZ #21922]
31611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31612 coming from gethostbyname2_r.
31613
65329bd2
FW
316142017-09-01 Florian Weimer <fweimer@redhat.com>
31615
31616 * support/namespace.h (struct support_chroot_configuration): Add
31617 hosts, host_conf.
31618 (struct support_chroot): Add path_hosts, path_host_conf.
31619 * support/support_chroot.c (write_file): New function.
31620 (support_chroot_create): Call it to process /etc/resolv.conf,
31621 /etc/hosts, /etc/host.conf.
31622 (support_chroot_free): Update.
31623
a2881ef0
FW
316242017-09-01 Florian Weimer <fweimer@redhat.com>
31625
31626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31627 status indicates it is set.
31628
ad816a5e
FW
316292017-09-01 Florian Weimer <fweimer@redhat.com>
31630
63b52889 31631 [BZ #20532]
ad816a5e
FW
31632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31633 function lookup failures more reliable.
31634
53250a21
FW
316352017-09-01 Florian Weimer <fweimer@redhat.com>
31636
31637 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31638 (getcanonname): Likewise.
31639 (gaih_inet): Likewise.
31640
924b121c
FW
316412017-09-01 Florian Weimer <fweimer@redhat.com>
31642
31643 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31644 (getcanonname): Likewise.
31645 (gaih_inet): Likewise.
31646
d9ff799a 316472017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 31648 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
31649
31650 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31651 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31652 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31653 (IREG_SIZE, OREG_SIZE): New macros.
31654 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31655 (IREG_SIZE, OREG_SIZE): New macros.
31656 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31657 (IREG_SIZE): New macro.
31658 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31659 (IREG_SIZE): New macro.
31660 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31661 New includes.
31662 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31663 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31664 (__CONCATX): Handle exceptions correctly on large values that may
31665 set FE_INVALID.
31666 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31667 Initialize if not already set.
b39d961c 31668 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 31669
102dde84
AZ
316702017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31671
31672 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31673 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31674 Likewise.
31675 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31676 Likewise.
31677 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31678 Likewise.
31679 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31680 Likewise.
31681 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31682 Likewise.
31683 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31684 Likewise.
31685 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31686 Likewise.
31687 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31688 (NO_CANCELLATION): Likewise.
31689 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31690 Likewise.
31691 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31692 Likewise.
31693 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31694 Likewise.
31695 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31696 (NO_CANCELLATION): Likewise.
31697 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31698 (NO_CANCELLATION): Likewise.
31699 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31700 Likewise
31701 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31702 Likewise.
31703 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31704 Likewise.
31705 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31706 Likewise.
31707 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31708 hidden prototype.
31709 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31710 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31711
9eee633b
SE
317122017-08-31 Steve Ellcey <sellcey@cavium.com>
31713
31714 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31715 in resolver call.
31716
65284eb7
FW
317172017-08-31 Florian Weimer <fweimer@redhat.com>
31718
31719 * include/libc-symbols.h (internal_function): Remove.
31720
41ad5ca6
FW
317212017-08-31 Florian Weimer <fweimer@redhat.com>
31722
31723 * stdlib/fmtmsg.c (internal_addseverity): Remove
31724 internal_function.
31725
2fa6d086
FW
317262017-08-31 Florian Weimer <fweimer@redhat.com>
31727
31728 * stdio-common/printf_fp.c (group_number): Remove
31729 internal_function.
31730 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31731
b41bd5bc
FW
317322017-08-31 Florian Weimer <fweimer@redhat.com>
31733
31734 * posix/fnmatch.c (internal_function): Remove definition.
31735 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31736 * posix/regcomp.c (peek_token, init_word_char)
31737 (duplicate_node_closure, fetch_token, peek_token)
31738 (peek_token_bracket, build_range_exp, build_collating_symbol):
31739 Likewise.
31740 * posix/regex_internal.c (re_string_construct_common)
31741 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31742 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31743 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31744 (re_string_translate_buffer, re_string_reconstruct)
31745 (re_string_peek_byte_case, re_string_fetch_byte_case)
31746 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31747 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31748 (re_node_set_add_intersect, re_node_set_init_union)
31749 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31750 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31751 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31752 (re_acquire_state_context): Likewise.
31753 * posix/regex_internal.h (internal_function): Remove definition.
31754 (re_string_realloc_buffers, build_wcs_buffer)
31755 (build_wcs_upper_buffer, build_upper_buffer)
31756 (re_string_translate_buffer, re_string_context_at)
31757 (re_string_char_size_at, re_string_wchar_at)
31758 (re_string_elem_size_at): Likewise.
31759 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31760 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31761 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31762 (re_search_internal, re_search_2_stub, re_search_stub)
31763 (re_copy_regs, prune_impossible_nodes, check_matching)
31764 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31765 (free_fail_stack_return, sift_states_iter_mb)
31766 (sift_states_backward, build_sifted_states)
31767 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31768 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31769 (check_subexp_limits, sift_states_bkref, merge_state_array)
31770 (find_recover_state, transit_state, merge_state_with_log)
31771 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31772 (transit_state_mb, transit_state_bkref, get_subexp)
31773 (get_subexp_sub, find_subexp_node, check_arrival)
31774 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31775 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31776 (check_node_accept_bytes, find_collation_sequence_value)
31777 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31778 (acquire_init_state_context, check_halt_node_context)
31779 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31780 (sub_epsilon_src_nodes): Likewise.
31781 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31782 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31783 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31784 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31785 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31786 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31787 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31788 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31789 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31790 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31791 (PREADV): Likewise.
31792 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31793 (PREADV): Likewise.
31794 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31795 (PWRITEV): Likewise.
31796 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31797 (PWRITEV): Likewise.
31798 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31799 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31800
83b09837
FW
318012017-08-31 Florian Weimer <fweimer@redhat.com>
31802
31803 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31804 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31805 Remove internal_function.
31806 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31807 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31808 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31809 (__deallocate_stack, __libc_pthread_init)
31810 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31811 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31812 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31813 Likewise.
31814 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31815 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31816 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31817 Likewise.
31818 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31819 (__pthread_mutex_unlock_usercnt): Likewise.
31820
116ac301
FW
318212017-08-31 Florian Weimer <fweimer@redhat.com>
31822
31823 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31824 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31825 (fts_safe_changedir): Remove internal_function.
31826 * io/ftw.c (internal_function): Remove definition.
31827 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31828
9da93bd7
FW
318292017-08-31 Florian Weimer <fweimer@redhat.com>
31830
31831 * inet/deadline.c (__deadline_current_time)
31832 (__deadline_from_timeval, __deadline_to_ms): Remove
31833 internal_function.
31834 * inet/getnameinfo.c (nrl_domainname): Likewise.
31835 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31836 * inet/inet6_option.c (add_pad): Likewise.
31837 * inet/net-internal.h (__deadline_current_time)
31838 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31839 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31840 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31841 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31842
a60eca2e
JM
318432017-08-31 Joseph Myers <joseph@codesourcery.com>
31844
c0c49d60
JM
31845 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31846 include <bits/nan.h>.
31847 * math/Makefile (headers): Remove bits/nan.h.
31848 * bits/nan.h: Remove.
31849 * sysdeps/ieee754/bits/nan.h: Likewise.
31850 * sysdeps/mips/bits/nan.h: Likewise.
31851
5ef1b213
JM
31852 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31853 not include <bits/inf.h>.
31854 * math/Makefile (headers): Remove bits/inf.h.
31855 * bits/inf.h: Remove.
31856 * sysdeps/ieee754/bits/inf.h: Likewise.
31857
a60eca2e
JM
31858 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31859 bits/huge_vall.h or bits/huge_val_flt128.h.
31860 (HUGE_VAL): Define directly here.
31861 [__USE_ISOC99] (HUGE_VALF): Likewise.
31862 [__USE_ISOC99] (HUGE_VALL): Likewise.
31863 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31864 (HUGE_VAL_F128): Likewise.
31865 * math/Makefile (headers): Remove bits/huge_val.h,
31866 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31867 * bits/huge_val.h: Remove.
31868 * bits/huge_val_flt128.h: Likewise.
31869 * bits/huge_valf.h: Likewise.
31870 * bits/huge_vall.h: Likewise.
31871 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31872 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31873 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31874 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31875 * sysdeps/sh/bits/huge_val.h: Likewise.
31876 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31877 * sysdeps/x86/bits/huge_vall.h: Likewise.
31878
17e00cc6
FW
318792017-08-31 Florian Weimer <fweimer@redhat.com>
31880
31881 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31882 internal_function.
31883 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31884 Likewise.
31885 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31886 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31887 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31888 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31889 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31890 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31891 * elf/dl-libc.c (dlerror_run): Likewise.
31892 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31893 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31894 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31895 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31896 Likewise.
31897 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31898 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31899 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31900 * elf/dl-profile.c (_dl_start_profile): Likewise.
31901 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31902 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31903 Likewise.
31904 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31905 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31906 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31907 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31908 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31909 (_dl_allocate_tls_storage): Likewise.
31910 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31911 (_dl_check_all_versions): Likewise.
31912 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31913 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31914 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31915 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31916 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31917 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31918 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31919 internal_function from __dl_start.
31920 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31921 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31922 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31923 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31924 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31925 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31926 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31927 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31928 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31929 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31930 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31931 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31932 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31933 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31934 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31935 Likewise.
31936 (struct rtld_global_ro): Remove internal_function from the
31937 _dl_lookup_symbol_x member.
31938 (_dl_symbol_value): Remove. No longer defined anywhere.
31939 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31940 internal_function.
31941 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31942 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31943 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31944 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31945 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31946 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31947 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31948 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31949 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31950 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31951 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31952 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31953
8d2f9410
FW
319542017-08-31 Florian Weimer <fweimer@redhat.com>
31955
31956 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31957 Remove internal_function.
31958 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31959 Likewise.
31960 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31961 Likewise.
31962
86e4919f
FW
319632017-08-31 Florian Weimer <fweimer@redhat.com>
31964
31965 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31966 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31967 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31968
59bd52b0
FW
319692017-08-31 Florian Weimer <fweimer@redhat.com>
31970
31971 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31972 (__gai_enqueue_request): Remove internal_function.
31973 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31974 (__gai_remove_request, __gai_notify, __gai_notify_only)
31975 (__gai_sigqueue): Likewise.
31976 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31977 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31978 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31979 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31980 Likewise.
31981
fc3d9497
FW
319822017-08-31 Florian Weimer <fweimer@redhat.com>
31983
31984 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31985 * include/dirent.h (__opendirat, __getdents, __getdents64)
31986 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31987 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31988 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31989 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31990 Likewise.
31991 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31992
18c54fac
FW
319932017-08-31 Florian Weimer <fweimer@redhat.com>
31994
31995 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31996 internal_function.
31997 (GETCWD_RETURN_TYPE): Likewise.
31998
7e01f080
FW
319992017-08-31 Florian Weimer <fweimer@redhat.com>
32000
32001 * include/time.h (__tz_compute, __strptime_internal): Remove
32002 internal_function.
32003 * time/strptime_l.c (__strptime_internal): Likewise.
32004 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32005
d7ccc6c9
FW
320062017-08-31 Florian Weimer <fweimer@redhat.com>
32007
32008 * iconv/gconv.c (__gconv): Remove internal_function.
32009 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32010 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32011 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32012 (__gconv_release_cache): Likewise.
32013 * iconv/gconv_close.c (__gconv_close): Likewise.
32014 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32015 (read_conf_file, __gconv_get_path): Likewise.
32016 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32017 (__gconv_release_step, gen_steps, increment_counter)
32018 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32019 (__gconv_close_transform, free_modules_db): Likewise.
32020 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32021 Likewise.
32022 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32023 (__gconv_find_transform, __gconv_lookup_cache)
32024 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32025 (__gconv_close_transform, __gconv_release_cache)
32026 (__gconv_loaded_object, __gconv_release_shlib)
32027 (__gconv_compare_alias): Likewise.
32028 * iconv/gconv_open.c (__gconv_open): Likewise.
32029 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32030 * iconv/iconvconfig.c (add_module): Likewise.
32031 * intl/dcigettext.c (plural_lookup, guess_category_value)
32032 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32033 * intl/eval-plural.h (plural_eval): Likewise.
32034 * intl/finddomain.c (_nl_find_domain): Likewise.
32035 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32036 (_nl_load_domain, _nl_find_msg): Likewise.
32037 (internal_function): Remove definition.
32038 * intl/loadinfo.h (internal_function): Likewise.
32039 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32040 internal_function.
32041 * intl/localealias.c (internal_function): Remove definition.
32042 (read_alias_file): Remove internal_function.
32043 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32044 * intl/plural-exp.h (internal_function): Remove definition.
32045 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32046 internal_function.
32047 * intl/plural.c: Regenerate.
32048 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32049 * locale/coll-lookup.c (__collidx_table_lookup)
32050 (__collseq_table_lookup): Likewise.
32051 * locale/coll-lookup.h (__collidx_table_lookup)
32052 (__collseq_table_lookup): Likewise.
32053 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32054 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32055 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32056 (_nl_unload_locale): Likewise.
32057 * locale/localeinfo.h (struct __locale_data): Remove
32058 internal_function from cleanup member.
32059 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32060 (_nl_remove_locale, _nl_load_locale_from_archive)
32061 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32062 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32063 (_nl_cleanup_time): Remove internal_function.
32064 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32065 (_nl_parse_alt_digit): Likewise.
32066 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32067 (_nl_select_era_entry): Likewise.
32068 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32069 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32070 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
32071 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32072 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 32073
dab0eece
FW
320742017-08-31 Florian Weimer <fweimer@redhat.com>
32075
32076 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32077 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32078 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32079 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32080 Likewise.
32081 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32082 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32083 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32084 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32085 Likewise.
32086 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32087
ab5bf7cf
FW
320882017-08-31 Florian Weimer <fweimer@redhat.com>
32089
32090 * misc/getttyent.c (skip, value): Remove internal_function.
32091 * misc/syslog.c (openlog_internal): Likewise.
32092 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32093
75b3047e
FW
320942017-08-31 Florian Weimer <fweimer@redhat.com>
32095
32096 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32097 (__nss_rewrite_field): Remove internal_function.
32098 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32099 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32100 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32101 * nss/nsswitch.c (nss_parse_file, nss_getline)
32102 (nss_parse_service_list, nss_new_service): Likewise.
32103 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32104 * nss/valid_field.c (__nss_valid_field): Likewise.
32105 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32106
0c71122c
FW
321072017-08-31 Florian Weimer <fweimer@redhat.com>
32108
32109 * malloc/arena.c (__malloc_fork_lock_parent)
32110 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32111 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32112 internal_function from defintions.
32113 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32114 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32115 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32116 internal_function from declarations.
32117 * malloc/malloc.c (internal_function): Do not define.
32118 (mem2mem_check): Remove internal_function from declaration.
32119 (munmap_chunk, mremap_chunk): Remove internal_function.
32120 * malloc/mtrace.c (tr_where): Likewise.
32121
ca4ec803
FW
321222017-08-31 Florian Weimer <fweimer@redhat.com>
32123
32124 * include/rpc/pmap_clnt.h (__get_socket): Remove
32125 internal_function.
32126 * sunrpc/auth_des.c (synchronize): Likewise.
32127 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32128 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32129 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32130 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32131 (key_call): Likewise.
32132 * sunrpc/pm_getport.c (__get_socket): Likewise.
32133 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32134 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32135 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32136 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32137 (invalidate): Likewise.
32138 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32139 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32140 (set_input_fragment, get_input_bytes): Likewise.
32141
24cffce7
FW
321422017-08-31 Florian Weimer <fweimer@redhat.com>
32143
32144 * malloc/malloc.c (_int_free): Remove locked variable and related
32145 asserts.
32146
ecd0747d
L
321472017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32148
32149 [BZ #22051]
32150 * Makerules (build-module-helper-objlist): Filter out
32151 $(elf-objpfx)sofini.os.
32152 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32153 needed.
32154
5f0704b6
FW
321552017-08-31 Florian Weimer <fweimer@redhat.com>
32156
32157 * libio/fcloseall.c: Assume weak_alias is defined.
32158 * libio/feof.c: Likewise.
32159 * libio/fileno.c: Likewise.
32160 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32161 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32162 definitions.
32163 (_IO_file_open): Call __open directly.
32164 (_IO_new_file_sync): Assume ESPIPE is defined.
32165 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32166 (_IO_new_file_write): Call __write directly.
32167 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32168 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32169 * libio/genops.c: Assume _LIBC is defined.
32170 (save_for_backup): Remove internal_function.
32171 * libio/getc.c: Assume weak_alias is defined.
32172 * libio/getwc.c: Likewise.
32173 * libio/iofclose.c: Assume _LIBC is defined.
32174 * libio/iofdopen.c: Likewise.
32175 (_IO_fcntl): Remove macro definition.
32176 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32177 Call __fcntl directly.
32178 * libio/iofflush.c: Assume weak_alias is defined.
32179 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32180 defined.
32181 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32182 * libio/iofgets.c: Likewise.
32183 * libio/iofopen.c: Assume _LIBC is defined.
32184 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32185 * libio/iofputs.c: Assume weak_alias is defined.
32186 * libio/iofread.c: Likewise.
32187 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32188 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32189 * libio/ioftell.c: Assume weak_alias is defined.
32190 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32191 * libio/iofwide.c: Assume _LIBC is defined.
32192 (_IO_fwide): Drop SHARED conditional because it is implied by
32193 SHLIB_COMPAT.
32194 * libio/iofwrite.c: Assume weak_alias is defined.
32195 * libio/iogetdelim.c: Likewise.
32196 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32197 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32198 (_IO_getwline): Call __wmemcpy directly.
32199 * libio/iopopen.c: Assume _LIBC is defined.
32200 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32201 (_IO_close): Remove macro definitions.
32202 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32203 _exit directly.
32204 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32205 directly.
32206 * libio/ioputs.c: Assume weak_alias is defined.
32207 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32208 * libio/iosetbuffer.c: Assume weak_alias is defined.
32209 * libio/iosetvbuf.c: Likewise.
32210 * libio/ioungetc.c: Likewise.
32211 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32212 libc_hidden_def, libc_hidden_weak, NULL are defined.
32213 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32214 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32215 defined.
32216 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32217 definitions.
32218 (_IO_old_file_init_internal): Drop SHARED conditional because it
32219 is implied by SHLIB_COMPAT.
32220 (_IO_old_file_fopen): Call __open directly.
32221 (_IO_old_file_sync): Assume ESPIPE is defined.
32222 (_IO_old_file_write): Call __write directly.
32223 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32224 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32225 Call __fcntl directly.
32226 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32227 (_IO_old_fgetpos): Assume EIO is defined.
32228 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32229 (_IO_old_fgetpos64): Assume EIO is defined.
32230 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32231 (_IO_old_fsetpos): Assume EIO is defined.
32232 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32233 (_IO_old_fsetpos64): Assume EIO is defined.
32234 * libio/oldiopopen.c: Assume _LIBC is defined.
32235 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32236 (_IO_close): Remove macro definitions.
32237 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32238 directly.
32239 (_IO_old_proc_close): Call __close, __waitpid directly.
32240 * libio/put.c: Assume weak_alias is defined.
32241 * libio/stdfiles.c: Assume _LIBC is defined.
32242 * libio/stdio.c: Likewise.
32243 * libio/wfileops.c: Likewise.
32244 (_IO_wfile_sync): Assume ESPIPE is defined.
32245 * libio/wgenops.c: Assume _LIBC is defined.
32246 (save_for_wbackup): Remove internal_function.
32247
5129873a
FW
322482017-08-31 Florian Weimer <fweimer@redhat.com>
32249
32250 * malloc/malloc.c (top_check): Change return type to void. Remove
32251 internal_function.
32252 * malloc/hooks.c (top_check): Likewise.
32253 (malloc_check, realloc_check, memalign_check): Adjust.
32254
4fa9b3bf
JM
322552017-08-30 Joseph Myers <joseph@codesourcery.com>
32256
32257 [BZ #21457]
32258 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32259 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32260 sigcontext and namespace requirements.
32261 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32262 * sysdeps/m68k/sys/ucontext.h: Likewise.
32263 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32264 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32265 <bits/sigcontext.h>.
32266 (__ctx): Define earlier.
32267 (mcontext_t): Define structure contents rather than using struct
32268 sigcontext.
32269 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32270 __glibc_reserved1 instead of __reserved.
32271 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32272 <bits/sigcontext.h>.
32273 (__ctx): Define earlier.
32274 (mcontext_t): Define structure contents rather than using struct
32275 sigcontext.
32276 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32277 mcontext_t instead of struct sigcontext.
32278 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32279 <bits/sigcontext.h>.
32280 (__ctx): Define earlier.
32281 (mcontext_t): Define structure contents rather than using struct
32282 sigcontext.
32283 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32284 <bits/sigcontext.h>.
32285 (__ctx): Define earlier.
32286 (mcontext_t): Define structure contents rather than using struct
32287 sigcontext.
32288 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32289 mcontext_t instead of struct sigcontext.
32290 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32291 mcontext_t instead of struct sigcontext.
32292 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32293 <bits/sigcontext.h>.
32294 (__ctx): New macro.
32295 (struct __ia64_fpreg_mcontext): New type.
32296 (mcontext_t): Define structure contents rather than using struct
32297 sigcontext.
32298 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32299 (uc_sigmask): Define using __ctx.
32300 (uc_stack): Likewise.
32301 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32302 <bits/sigcontext.h>.
32303 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32304 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32305 <bits/sigcontext.h>.
32306 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32307 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32308 <bits/sigcontext.h>.
32309 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32310 <bits/sigcontext.h>.
32311 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32312 <bits/sigcontext.h>.
32313 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32314 <bits/sigcontext.h>.
32315 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32316 <bits/sigcontext.h>.
32317 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32318 <bits/sigcontext.h>.
32319 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32320 <bits/sigcontext.h>.
32321 (__ctx): Define earlier.
32322 (mcontext_t): Define structure contents rather than using struct
32323 sigcontext.
32324 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32325 <bits/sigcontext.h>. Include <bits/types.h>.
32326 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32327 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32328 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32329 (test-xfail-UNIX98/signal.h/conform): Likewise.
32330 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32331 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32332 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32333 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32334 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32335 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32336 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32337 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32338 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32339
5898f454
FW
323402017-08-30 Florian Weimer <fweimer@redhat.com>
32341
32342 * malloc/dynarray_emplace_enlarge.c
32343 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32344 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32345 * malloc/tst-dynarray.c (test_long_overflow): New function.
32346 (do_test): Call it.
32347
a9da0bb2
FW
323482017-08-30 Florian Weimer <fweimer@redhat.com>
32349
32350 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32351 (set_arena_corrupt): Remove definitions.
32352 (mtrim): Do not check for corrupt arena.
32353 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32354 Likewise.
32355
ac3ed168
FW
323562017-08-30 Florian Weimer <fweimer@redhat.com>
32357
32358 [BZ #21754]
32359 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32360 check_action.
32361 (ptmalloc_init): Do not set or use check_action.
32362 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32363 call to malloc_printerr. Remove return statement.
32364 (free_check): Likewise. Remove arena unlock.
32365 (top_check): Update comment. Adjust call to malloc_printerr.
32366 Remove heap repair code.
32367 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32368 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32369 (sysmalloc): Adjust call to malloc_printerr.
32370 (munmap_chunk, __libc_realloc): Likewise. Remove return
32371 statement.
32372 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32373 Remove errout label and corresponding gotos.
32374 (_int_free): Likewise. Remove arena unlock.
32375 (do_set_mallopt_check): Do not set check_action.
32376 (malloc_printerr): Adjust parameter list. Do not mark arena as
32377 corrupt.
32378 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32379 comment.
32380 * manual/probes.texi (Memory Allocation Probes): Remove
32381 memory_mallopt_check_action.
32382
44bcba80
SE
323832017-08-30 Steve Ellcey <sellcey@cavium.com>
32384
32385 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32386 Use pointer to uint64_t instead of long int for sp.
32387
ec2c1fce
FW
323882017-08-30 Florian Weimer <fweimer@redhat.com>
32389
32390 [BZ #21754]
32391 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32392 without printing a backtrace. Do not leak any information in the
32393 error message.
32394 * manual/memory.texi (Heap Consistency Checking): Update.
32395 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32396
9ce673b6
FW
323972017-08-30 Florian Weimer <fweimer@redhat.com>
32398
32399 Do not scale NPTL tests with available number of CPUs.
32400 * nptl/tst-cond16.c (count): Set to constant value of 8.
32401 * nptl/tst-cond18.c (count): Likewise.
32402
2f1aef19
JM
324032017-08-29 Joseph Myers <joseph@codesourcery.com>
32404
32405 [BZ #22035]
32406 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32407 Define to take a second argument that is a macro that
32408 concatentates a suffix, not the suffix itself.
32409 (__CONCAT_d): New macro.
32410 (__CONCAT_f): Likewise.
32411 (__CONCAT_l): Likewise.
32412
8325b477
PP
324132017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32414
32415 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32416 by child.
32417
319cbbf6
AZ
324182017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32419 Aurelien Jarno <aurelien@aurel32.net>
32420 Maciej W. Rozycki <macro@imgtec.com>
32421
32422 [BZ #21956]
32423 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32424 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32425 `mips16-syscall6' and `mips16-syscall7'.
32426 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32427 (CFLAGS-mips16-syscall7.c): Remove.
32428 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32429 Remove `__mips16_syscall5', `__mips16_syscall6' and
32430 `__mips16_syscall7'.
32431 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32432 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32433 `__mips_syscall_return'.
32434 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32435 (__mips16_syscall1): Likewise.
32436 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32437 (__mips16_syscall2): Likewise.
32438 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32439 (__mips16_syscall3): Likewise.
32440 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32441 (__mips16_syscall4): Likewise.
32442 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32443 Remove.
32444 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32445 Remove.
32446 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32447 Remove.
32448 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32449 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32450 `__mips16_syscall5'. Remove prototype.
32451 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32452 `__mips16_syscall6'. Remove prototype.
32453 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32454 `__mips16_syscall7'. Remove prototype.
32455 (__nomips16, __mips16_syscall_return): Move to...
32456 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32457 (__nomips16, __mips_syscall_return): ... here.
32458 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32459 `__mips16_syscall_return' to `__mips_syscall_return'.
32460 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32461 `internal_syscall##nr'.
32462 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32463 `internal_syscall##nr'.
32464 (FORCE_FRAME_POINTER): Remove.
32465 (__mips_syscall5): New prototype.
32466 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32467 (__mips_syscall6): New prototype.
32468 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32469 (__mips_syscall7): New prototype.
32470 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32471 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32472 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32473 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32474 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32475 (sysdep_routines): Add libc-do-syscall.
32476 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32477 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32478
01b87c65
AZ
324792017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32480
32481 [BZ #21672]
32482 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32483 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32484 (advise_stack_range): New function.
32485 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32486 stack non required to advise_stack_range at allocatestack.c
32487
16f138a4
SN
324882017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32489
32490 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32491
251bccfa
FW
324922017-08-29 Florian Weimer <fweimer@redhat.com>
32493
32494 [BZ #22026]
32495 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32496 __end_fct. Mangle __end_fct after setting it to NULL.
32497 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32498 (modules-names, modules-names-tests): Add
32499 tst-gconv-init-failure-mod.
32500 (gconv-modules): New target.
32501 (tst-gconv-init-failure-mod.so): Link against libsupport.
32502 (tst-gconv-init-failure): Depend on gconv-modules,
32503 tst-gconv-init-failure-mod.so.
32504 * iconv/tst-gconv-init-failure-mod.c: New file.
32505 * iconv/tst-gconv-init-failure.c: Likewise.
32506 * iconv/test-gconv-modules: Likewise.
32507
e7c18b9d
FW
325082017-08-29 Florian Weimer <fweimer@redhat.com>
32509
32510 [BZ #22025]
32511 * iconv/gconv_db.c (free_derivation): Remove redundant
32512 parentheses.
32513 (gen_steps): Unconditionally mangle __btowc_fct after
32514 initialization.
32515 (increment_counter): Likewise. Do not call init_fct for internal
32516 modules.
32517
7daada03
JM
325182017-08-29 Joseph Myers <joseph@codesourcery.com>
32519
32520 [BZ #22028]
32521 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32522 (_MSUF_): Remove macro.
32523 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32524 Likewise.
32525 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32526 (__REDIRFROM_X): New macro.
32527 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32528 Likewise.
32529 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32530 (__REDIRTO_X): Likewise.
32531 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32532 arguments.
32533 (__MATH_REDIRCALL_2): Likewise.
32534 (__MATH_REDIRCALL_INTERNAL): Likewise.
32535 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32536 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32537 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32538 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32539 * math/test-finite-macros.c: New file.
32540 * math/Makefile (tests): Add test-finite-macros.
32541 (CFLAGS-test-finite-macros.c): New variable.
32542
1cf1232c
PF
325432017-08-29 Patsy Franklin <pfrankli@redhat.com>
32544 Jeff Law <law@redhat.com>
32545
32546 [BZ #22025]
32547 Mangle NULL pointers in iconv/gconv.
32548 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32549 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32550 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32551 is non-NULL before demangling the end_fct. Check for NULL
32552 end_fct after demangling.
32553 (__gconv_release_step): Demangle the end_fct before checking
32554 it for NULL. Remove assert on __shlibc_handle != NULL.
32555 (gen_steps): Don't check btowc_fct for NULL before mangling.
32556 Demangle init_fct before checking for NULL.
32557 (increment_counter): Likewise.
32558 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32559 end_fct for NULL before mangling.
32560 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32561 for NULL.
32562
c207f7ce 325632017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
32564
32565 [BZ #21971]
32566 * locale/iso-639.def: add Morisyen.
32567
42496114
GG
325682017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32569
32570 [BZ #21930]
32571 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32572 (iszero): New C++ implementation that does not use
32573 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32574 signaling nans are enabled, since __builtin_types_compatible_p
32575 is a C-only feature.
32576 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32577 defined, include ieee754_float128.h for access to the union and
32578 member ieee854_float128.ieee.
32579 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32580 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32581 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32582 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32583 options of test-math-zero on powerpc64le.
32584
5e2bc4ff
L
325852017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32586
32587 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32588 Change double to float.
32589
a48c0fb4
JM
325902017-08-28 Joseph Myers <joseph@codesourcery.com>
32591
32592 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32593 unconditional.
32594 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32595 conditional code; define contents only for [LIBM_SVID_COMPAT].
32596
ee17d4e9
FW
325972017-08-28 Florian Weimer <fweimer@redhat.com>
32598
32599 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32600 (abi-lp64_be-options): Remove.
32601 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32602 (abi-hard-options): Likewise.
32603 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32604 (abi-o32_hard-options, abi-o32_soft_2008-options)
32605 (abi-o32_hard_2008-options, abi-n32_soft-options)
32606 (abi-n32_hard-options, abi-n32_soft_2008-options)
32607 (abi-n32_hard_2008-options, abi-n64_soft-options)
32608 (abi-n64_hard-options, abi-n64_soft_2008-options)
32609 (abi-n64_hard_2008-options): Likewise.
32610 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32611 (abi-64-v1-options, abi-64-v2-options): Likewise.
32612 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32613 (abi-64-options): Likewise.
32614 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32615 (abi-64-options): Likewise.
32616 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32617 (abi-64-options): Likewise.
32618 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32619 (abi-64-options, abi-x32-options): Likewise.
32620
2dba5ce7
FW
326212017-08-28 Florian Weimer <fweimer@redhat.com>
32622
32623 Store supported list of SYS_* system calls in the source tree.
32624 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32625 (bits/syscall.h): Generate from list file.
32626 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32627 [$(subdir) = misc] (tests): Add tst-syscall-list.
32628 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32629 [$(subdir) = misc] (tst-syscall-list-macros.list)
32630 [$(subdir) = misc] (tst-syscall-list-nr.list)
32631 (tst-syscall-list-sys.list): Helper targets for new
32632 tst-syscall-list test.
32633 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32634 tst-syscall-list.sh.
32635 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32636 target. Do not include bits/syscall.d.
32637 [$(subdir) = misc] (generated): Do not update.
32638 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32639 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32640 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32641 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32642
5f3b183d
PP
326432017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32644
32645 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32646 (tst-cxa_atexit, tst-on_exit): Likewise.
32647 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32648 tst-cxa_atexit, and tst-on_exit.
32649 * stdlib/tst-atexit-common.c: New file.
32650 * stdlib/tst-atexit.c: New file.
32651 * stdlib/tst-at_quick_exit.c: New file.
32652 * stdlib/tst-cxa_atexit.c: New file.
32653 * stdlib/tst-on_exit.c: New file.
32654
2ef8d469
ST
326552017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32656
32657 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
32658 * mach/stack_chk_fail_local.c: New file.
32659 * hurd/stack_chk_fail_local.c: New file.
32660 * mach/Machrules ($(interface-library)-routines): Add
32661 stack_chk_fail_local.
99ee4d26
ST
32662 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32663 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32664 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32665 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32666 * hurd/Makefile (CFLAGS-hurdstartup.o,
32667 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 32668
7ab70c98
L
326692017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32670
32671 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32672 (index_cpu_*, index_arch_*): Removed.
32673
39e7a5a6
SN
326742017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32675
32676 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32677 Use uint64_t instead of unsigned long.
32678
bba5c930
JM
326792017-08-25 Joseph Myers <joseph@codesourcery.com>
32680
a6ccdb08
JM
32681 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32682 [__HAVE_DISTINCT_FLOAT128].
32683
23761119
JM
32684 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32685 of <bits/math-finite.h>.
32686 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32687 inclusion of <bits/math-finite.h>.
32688 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32689 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32690 __NO_LONG_DOUBLE_MATH].
32691 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32692 (__MATH_REDIRCALL_2): Likewise.
32693 (__MATH_REDIRCALL_INTERNAL): Likewise.
32694 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32695 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32696 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32697
bba5c930
JM
32698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32699 Remove file.
32700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32701 Likewise.
32702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32703 Likewise.
32704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32705 Likewise.
32706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32707 Likewise.
32708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32709 Likewise.
32710 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32711 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32712 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32713 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32715 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32716 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32717 w_sqrtf_compat-ppc32.
32718
3d7b66f6
GG
327192017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32720
32721 * math/math.h [defined __cplusplus] (issignaling): In the long
32722 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32723 is not defined. Call __issignaling, otherwise.
32724
ebd6f007
AZ
327252017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32726
32727 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32728 syscall definitions and replace __builtin_expect with __glibc_likely.
32729 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32730 syscall.
6b5c8607 32731 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
32732 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32733 definition.
32734 (PSEUDO_END): Likewise.
32735 [IS_IN (libpthread)] (CENABLE): Likewise.
32736 [IS_IN (libpthread)] (CDISABLE): Likewise.
32737 [IS_IN (libc)] (CENABLE): Likewise.
32738 [IS_IN (libc)] (CENABLE): Likewise.
32739 [IS_IN (librt)] (CDISABLE): Likewise.
32740 [IS_IN (librt)] (CDISABLE): Likewise.
32741 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32742 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32743 definition.
32744 (PSEUDO_END): Likewise.
32745 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32746 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32747 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32748 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32749 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32750 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32751 (CENABLE): Likewise.
32752 (CDISABLE): Likewise.
32753 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32754 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32755 defintion.
32756 (PSEUDO_END): Likewise.
32757 [IS_IN (libpthread)] (CENABLE): Likewise.
32758 [IS_IN (libpthread)] (CDISABLE): Likewise.
32759 [IS_IN (libc)] (CENABLE): Likewise.
32760 [IS_IN (libc)] (CENABLE): Likewise.
32761 [IS_IN (librt)] (CDISABLE): Likewise.
32762 [IS_IN (librt)] (CDISABLE): Likewise.
32763 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32764 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32765 definition.
32766 (PSEUDO_END): Likewise.
32767 [IS_IN (libpthread)] (CENABLE): Likewise.
32768 [IS_IN (libpthread)] (CDISABLE): Likewise.
32769 [IS_IN (libc)] (CENABLE): Likewise.
32770 [IS_IN (libc)] (CENABLE): Likewise.
32771 [IS_IN (librt)] (CDISABLE): Likewise.
32772 [IS_IN (librt)] (CDISABLE): Likewise.
32773 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32774 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32775 definition.
32776 (PSEUDO_END): Likewise.
32777 [IS_IN (libpthread)] (CENABLE): Likewise.
32778 [IS_IN (libpthread)] (CDISABLE): Likewise.
32779 [IS_IN (libc)] (CENABLE): Likewise.
32780 [IS_IN (libc)] (CENABLE): Likewise.
32781 [IS_IN (librt)] (CDISABLE): Likewise.
32782 [IS_IN (librt)] (CDISABLE): Likewise.
32783 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32784 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32785 definition.
32786 (PSEUDO_END): Likewise.
32787 [IS_IN (libpthread)] (CENABLE): Likewise.
32788 [IS_IN (libpthread)] (CDISABLE): Likewise.
32789 [IS_IN (libc)] (CENABLE): Likewise.
32790 [IS_IN (libc)] (CENABLE): Likewise.
32791 [IS_IN (librt)] (CDISABLE): Likewise.
32792 [IS_IN (librt)] (CDISABLE): Likewise.
32793 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32794 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32795 definition.
32796 (PSEUDO_END): Likewise.
32797 [IS_IN (libpthread)] (CENABLE): Likewise.
32798 [IS_IN (libpthread)] (CDISABLE): Likewise.
32799 [IS_IN (libc)] (CENABLE): Likewise.
32800 [IS_IN (libc)] (CENABLE): Likewise.
32801 [IS_IN (librt)] (CDISABLE): Likewise.
32802 [IS_IN (librt)] (CDISABLE): Likewise.
32803 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32804 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32805 definition.
32806 (PSEUDO_END): Likewise.
32807 [IS_IN (libpthread)] (CENABLE): Likewise.
32808 [IS_IN (libpthread)] (CDISABLE): Likewise.
32809 [IS_IN (libc)] (CENABLE): Likewise.
32810 [IS_IN (libc)] (CENABLE): Likewise.
32811 [IS_IN (librt)] (CDISABLE): Likewise.
32812 [IS_IN (librt)] (CDISABLE): Likewise.
32813 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32814 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32815 Remove definition.
32816 (PSEUDO_END): Likewise.
32817 [IS_IN (libpthread)] (CENABLE): Likewise.
32818 [IS_IN (libpthread)] (CDISABLE): Likewise.
32819 [IS_IN (libc)] (CENABLE): Likewise.
32820 [IS_IN (libc)] (CENABLE): Likewise.
32821 [IS_IN (librt)] (CDISABLE): Likewise.
32822 [IS_IN (librt)] (CDISABLE): Likewise.
32823 (SINGLE_THREAD_P): Likewise.
32824 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32825 definition.
32826 (PSEUDO_END): Likewise.
32827 [IS_IN (libpthread)] (CENABLE): Likewise.
32828 [IS_IN (libpthread)] (CDISABLE): Likewise.
32829 [IS_IN (libc)] (CENABLE): Likewise.
32830 [IS_IN (libc)] (CENABLE): Likewise.
32831 [IS_IN (librt)] (CDISABLE): Likewise.
32832 [IS_IN (librt)] (CDISABLE): Likewise.
32833 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32834 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32835 definition.
32836 (PSEUDO_END): Likewise.
32837 [IS_IN (libpthread)] (CENABLE): Likewise.
32838 [IS_IN (libpthread)] (CDISABLE): Likewise.
32839 [IS_IN (libc)] (CENABLE): Likewise.
32840 [IS_IN (libc)] (CENABLE): Likewise.
32841 [IS_IN (librt)] (CDISABLE): Likewise.
32842 [IS_IN (librt)] (CDISABLE): Likewise.
32843 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32844 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32845 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32846 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32847 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32848 definition.
32849 (PSEUDO_END): Likewise.
32850 [IS_IN (libpthread)] (CENABLE): Likewise.
32851 [IS_IN (libpthread)] (CDISABLE): Likewise.
32852 [IS_IN (libc)] (CENABLE): Likewise.
32853 [IS_IN (libc)] (CENABLE): Likewise.
32854 [IS_IN (librt)] (CDISABLE): Likewise.
32855 [IS_IN (librt)] (CDISABLE): Likewise.
32856 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32857 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32858 definition.
32859 (PSEUDO_END): Likewise.
32860 [IS_IN (libpthread)] (CENABLE): Likewise.
32861 [IS_IN (libpthread)] (CDISABLE): Likewise.
32862 [IS_IN (libc)] (CENABLE): Likewise.
32863 [IS_IN (libc)] (CENABLE): Likewise.
32864 [IS_IN (librt)] (CDISABLE): Likewise.
32865 [IS_IN (librt)] (CDISABLE): Likewise.
32866 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32867 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32868 definition.
32869 (PSEUDO_END): Likewise.
32870 [IS_IN (libpthread)] (CENABLE): Likewise.
32871 [IS_IN (libpthread)] (CDISABLE): Likewise.
32872 [IS_IN (libc)] (CENABLE): Likewise.
32873 [IS_IN (libc)] (CENABLE): Likewise.
32874 [IS_IN (librt)] (CDISABLE): Likewise.
32875 [IS_IN (librt)] (CDISABLE): Likewise.
32876 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32877 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32878 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32879 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32880 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32881 definition.
32882 (PSEUDO_END): Likewise.
32883 [IS_IN (libpthread)] (CENABLE): Likewise.
32884 [IS_IN (libpthread)] (CDISABLE): Likewise.
32885 [IS_IN (libc)] (CENABLE): Likewise.
32886 [IS_IN (libc)] (CENABLE): Likewise.
32887 [IS_IN (librt)] (CDISABLE): Likewise.
32888 [IS_IN (librt)] (CDISABLE): Likewise.
32889 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32890 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32891 definition.
32892 (PSEUDO_END): Likewise.
32893 [IS_IN (libpthread)] (CENABLE): Likewise.
32894 [IS_IN (libpthread)] (CDISABLE): Likewise.
32895 [IS_IN (libc)] (CENABLE): Likewise.
32896 [IS_IN (libc)] (CENABLE): Likewise.
32897 [IS_IN (librt)] (CDISABLE): Likewise.
32898 [IS_IN (librt)] (CDISABLE): Likewise.
32899 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32900
8aa48656
SN
329012017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32902
32903 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32904
fcaaca41
L
329052017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32906
32907 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32908
376b40a2
L
329092017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32910
32911 [BZ #21982]
32912 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32913 middle and outer with size_t instead of int. Repleace %d and
32914 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32915 "MAX (outer, nchars - 64)" to support unsigned outer and
32916 nchars. Also exit loop when outer == 0.
32917
2b0b9a1c
AZ
329182017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32919
32920 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32921 * include/signal.h (__sigsuspend_nocancel): Likewise.
32922 * include/time.h (__nanosleep_nocancel): Likewise.
32923 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32924 * login/utmp_file.c: Include non cancellable syscall header.
32925 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32926 prototype.
32927
b9eaca8f
L
329282017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32929
32930 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32931 .byte sequences with AVX512F instructions.
32932 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32933 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32934 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32935 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32936 Likewise.
32937 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32938 Likewise.
32939
5a706f64
SE
329402017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32941 Steve Ellcey <sellcey@cavium.com>
32942
32943 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32944 Use PTR_REG macro in cmp instruction.
32945
b513da7e
GG
329462017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32947
32948 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32949 Change the return type of the ifunc resolver to match the return
32950 type of the target function.
32951
78ca091c
AZ
329522017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32953
b70b6026
AZ
32954 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32955 (preadv64): Likewise.
32956 (pwrite64(: Likewise.
32957 (pwritev64): Likewise.
32958
78ca091c
AZ
32959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32960 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32961 (LOAD_ARGS_0): Likewise.
32962 (LOAD_ARGS_1): Likewise.
32963 (LOAD_ARGS_2): Likewise.
32964 (LOAD_ARGS_3): Likewise.
32965 (LOAD_ARGS_4): Likewise.
32966 (LOAD_ARGS_5): Likewise.
32967 (LOAD_ARGS_6): Likewise.
32968 (LOAD_REGS_0): Likewise.
32969 (LOAD_REGS_1): Likewise.
32970 (LOAD_REGS_2): Likewise.
32971 (LOAD_REGS_3): Likewise.
32972 (LOAD_REGS_4): Likewise.
32973 (LOAD_REGS_5): Likewise.
32974 (LOAD_REGS_6): Likewise.
32975 (ASM_ARGS_0): Likewise.
32976 (ASM_ARGS_1): Likewise.
32977 (ASM_ARGS_2): Likewise.
32978 (ASM_ARGS_3): Likewise.
32979 (ASM_ARGS_4): Likewise.
32980 (ASM_ARGS_5): Likewise.
32981 (ASM_ARGS_6): Likewise.
32982 (LOAD_ARGS_TYPES_1): Likewise.
32983 (LOAD_ARGS_TYPES_2): Likewise.
32984 (LOAD_ARGS_TYPES_3): Likewise.
32985 (LOAD_ARGS_TYPES_4): Likewise.
32986 (LOAD_ARGS_TYPES_5): Likewise.
32987 (LOAD_ARGS_TYPES_6): Likewise.
32988 (LOAD_REGS_TYPES_1): Likewise.
32989 (LOAD_REGS_TYPES_2): Likewise.
32990 (LOAD_REGS_TYPES_3): Likewise.
32991 (LOAD_REGS_TYPES_4): Likewise.
32992 (LOAD_REGS_TYPES_5): Likewise.
32993 (LOAD_REGS_TYPES_6): Likewise.
32994 (TYPEFY): New define.
32995 (ARGIFY): Likewise.
32996 (internal_syscall0): Likewise.
32997 (internal_syscall1): Likewise.
32998 (internal_syscall2): Likewise.
32999 (internal_syscall3): Likewise.
33000 (internal_syscall4): Likewise.
33001 (internal_syscall5): Likewise.
33002 (internal_syscall6): Likewise.
33003 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33004 (INTERNAL_SYSCALL_NCS): Remove define.
33005 (internal_syscall1): Add define.
33006
453a493d
GG
330072017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33008
33009 * math/w_remainder_compat.c: Remove duplicate inclusion of
33010 math-svid-compat.h.
33011 * math/w_remainderf_compat.c: Likewise.
33012 * math/w_remainderl_compat.c: Likewise.
33013
f2f048a5
GG
330142017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33015
33016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33017
d9bef9c0
JM
330182017-08-22 Joseph Myers <joseph@codesourcery.com>
33019
33020 [BZ #21684]
33021 * math/tgmath.h (__floating_type): Simplify definitions.
33022 (__real_integer_type): New macro.
33023 (__complex_integer_type): Likewise.
33024 (__expr_is_real): Likewise.
33025 (__tgmath_real_type_sub): Update comment to describe handling of
33026 complex types.
33027 (__tgmath_complex_type_sub): New macro.
33028 (__tgmath_complex_type): Likewise.
33029 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33030 (__TGMATH_CF128): Use __expr_is_real.
33031 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33032 __expr_is_real.
33033 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33034 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33035 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33036 integer types.
33037
08d6eb46
AZ
330382017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33039
988f991b
AZ
33040 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33041 macro.
33042 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33043 alias.
33044 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33045 Likewise.
33046
6f33fd04
AZ
33047 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33048 nanosleep_not_cancel with __nanosleep_nocancel.
33049 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33050 (__nanosleep_nocancel): New macro.
33051 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33052 function.
33053 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33054 macro.
33055 (__nanosleep_nocancel): New prototype.
33056
08d6eb46
AZ
33057 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33058 pause_not_cancel with __pause_nocancel.
33059 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33060 (__pause_nocancel): New macro.
33061 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33062 macro.
33063 (__pause_nocancel): New prototype.
33064 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33065
ee4e992e
MS
330662017-08-22 Martin Sebor <msebor@redhat.com>
33067
33068 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33069 to return a pointer to the same type as the target function.
33070
20962acb
L
330712017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33072
33073 [BZ #18822]
33074 [BZ #21986]
33075 * include/printf.h (__printf_fphex): Add attribute_hidden.
33076 (__guess_grouping): New prototype.
33077 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33078 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33079 libc_hidden_proto and libc_hidden_def.
33080 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33081 (__vstrfmon_l): Remove the third argument passed to
33082 __guess_grouping.
33083
a16e8bc0
GG
330842017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33085
33086 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33087 definition for issignaling that does not rely on __MATH_TG,
33088 since __MATH_TG uses __builtin_types_compatible_p, which is only
33089 available in C mode.
33090 (CFLAGS-test-math-issignaling.cc): New variable.
33091 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33092 * math/test-math-issignaling.cc: New test for C++ implementation
33093 of type-generic issignaling.
33094 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33095 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33096 options of test-math-issignaling on powerpc64le.
33097
8d2ec553
L
330982017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33099
33100 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33101 building libc.a.
33102 (hidden_proto): Likewise.
33103 (hidden_tls_proto): Likewise.
33104 (__hidden_proto): Likewise.
33105
a4d57b79
FW
331062017-08-22 Florian Weimer <fweimer@redhat.com>
33107
33108 math: Statically link tests of internal functionality.
33109 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33110 atest-exp2.
33111 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33112 (gmp-objs): Remove assignment.
33113 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33114
75dfe623
JM
331152017-08-22 Joseph Myers <joseph@codesourcery.com>
33116
80f91666
JM
33117 [BZ #21987]
33118 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33119 and copy to ...
33120 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33121 ... here.
33122 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33123 ... and here.
33124
75dfe623
JM
33125 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33126 variable definitions above inclusion of ../Rules.
33127
ea99fcd0
JM
331282017-08-21 Joseph Myers <joseph@codesourcery.com>
33129
33130 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33131 case calling __builtin_unreachable.
33132
19926de9
AZ
331332017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33134
a8410a5f
AZ
33135 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33136 __waitpid_nocancel.
33137 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33138 (__waitpid_nocancel): New macro.
33139 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33140 macro.
33141 (__waitpid_nocancel): Replace macro with a function.
33142 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33143 function.
33144
7369800c
AZ
33145 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33146 __fcntl_nocancel.
33147 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33148 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33149
19926de9
AZ
33150 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33151 __writev_nocancel_nostatus.
33152 (write_call_graph): Likewise.
33153 (write_bb_counts): Likewise.
33154 * resolv/herror.c (herror): Likewise.
33155 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33156 macro.
33157 (__writev_nocancel_nostatus): New macro.
33158 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33159 Remove macro.
33160 (__writev_nocancel_nostatus): New function.
33161
813378e9
JM
331622017-08-21 Joseph Myers <joseph@codesourcery.com>
33163
df1deda6
JM
33164 Revert:
33165 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33166
33167 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33168 building libc.a.
33169 (hidden_proto): Likewise.
33170 (hidden_tls_proto): Likewise.
33171 (__hidden_proto): Likewise.
33172
831bbd55
JM
33173 [BZ #21973]
33174 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33175 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33177 Likewise.
33178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33179 Likewise.
33180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33181 Likewise.
33182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33183 Likewise.
33184 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33185 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33186 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33187 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33188 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33189 GLIBC_2.0 sqrtl symbol.
33190
813378e9
JM
33191 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33192 [__USE_MISC] (_LIB_VERSION): Likewise.
33193 [__USE_MISC] (struct exception): Likewise.
33194 [__USE_MISC] (matherr): Likewise.
33195 [__USE_MISC] (DOMAIN): Likewise.
33196 [__USE_MISC] (SING): Likewise.
33197 [__USE_MISC] (OVERFLOW): Likewise.
33198 [__USE_MISC] (UNDERFLOW): Likewise.
33199 [__USE_MISC] (TLOSS): Likewise.
33200 [__USE_MISC] (PLOSS): Likewise.
33201 [__USE_MISC] (HUGE): Likewise.
33202 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33203 * math/math-svid-compat.h: New file.
33204 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33205 and matherrl.
33206 * include/math.h [!_ISOMAC] (__matherr): Remove.
33207 * manual/arith.texi (FP Exceptions): Do not document matherr.
33208 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33209 (tests-internal): New variable.
33210 (install-lib): Do not add libieee.a.
33211 (non-lib.a): Likewise.
33212 (extra-objs): Do not add libieee.a and ieee-math.o.
33213 (CPPFLAGS-s_lib_version.c): Remove variable.
33214 ($(objpfx)libieee.a): Remove rule.
33215 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33216 * math/ieee-math.c: Remove.
33217 * math/libm-test-support.c (matherr): Remove.
33218 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33219 and license notices. Include <math-svid-compat.h> and
33220 <shlib-compat.h>.
33221 (matherr): Undefine as macro. Use compat_symbol_reference.
33222 (_LIB_VERSION): Likewise.
33223 * math/test-matherr-2.c: New file.
33224 * math/test-matherr-3.c: Likewise.
33225 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33226 declaration.
33227 (__kernel_standard_f): Likewise.
33228 (__kernel_standard_l): Likewise.
33229 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33230 <math_private.h>. Include <math-svid-compat.h>.
33231 (_LIB_VERSION): Undefine as macro.
33232 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33233 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33234 [LIBM_SVID_COMPAT], use compat_symbol.
33235 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33236 <math_private.h>. Include <math-svid-compat.h>.
33237 (matherr): Undefine as macro.
33238 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33239 compat_symbol.
33240 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33241 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33242 compat_symbol_reference.
33243 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33244 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33245 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33246 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33247 (MATHERR_D): Remove declaration.
33248 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33249 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33250 [LIBM_BUILD] (pmatherrf): Likewise.
33251 [LIBM_BUILD] (pmatherr): Likewise.
33252 [LIBM_BUILD] (pmatherrl): Likewise.
33253 (DOMAIN): Likewise.
33254 (SING): Likewise.
33255 (OVERFLOW): Likewise.
33256 (UNDERFLOW): Likewise.
33257 (TLOSS): Likewise.
33258 (PLOSS): Likewise.
33259 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33260 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33261 compat_symbol.
33262 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33263 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33264 compat_symbol.
33265 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33266 * math/w_acos_compat.c: Likewise.
33267 * math/w_acosf_compat.c: Likewise.
33268 * math/w_acosh_compat.c: Likewise.
33269 * math/w_acoshf_compat.c: Likewise.
33270 * math/w_acoshl_compat.c: Likewise.
33271 * math/w_acosl_compat.c: Likewise.
33272 * math/w_asin_compat.c: Likewise.
33273 * math/w_asinf_compat.c: Likewise.
33274 * math/w_asinl_compat.c: Likewise.
33275 * math/w_atan2_compat.c: Likewise.
33276 * math/w_atan2f_compat.c: Likewise.
33277 * math/w_atan2l_compat.c: Likewise.
33278 * math/w_atanh_compat.c: Likewise.
33279 * math/w_atanhf_compat.c: Likewise.
33280 * math/w_atanhl_compat.c: Likewise.
33281 * math/w_cosh_compat.c: Likewise.
33282 * math/w_coshf_compat.c: Likewise.
33283 * math/w_coshl_compat.c: Likewise.
33284 * math/w_exp10_compat.c: Likewise.
33285 * math/w_exp10f_compat.c: Likewise.
33286 * math/w_exp10l_compat.c: Likewise.
33287 * math/w_exp2_compat.c: Likewise.
33288 * math/w_exp2f_compat.c: Likewise.
33289 * math/w_exp2l_compat.c: Likewise.
33290 * math/w_fmod_compat.c: Likewise.
33291 * math/w_fmodf_compat.c: Likewise.
33292 * math/w_fmodl_compat.c: Likewise.
33293 * math/w_hypot_compat.c: Likewise.
33294 * math/w_hypotf_compat.c: Likewise.
33295 * math/w_hypotl_compat.c: Likewise.
33296 * math/w_j0_compat.c: Likewise.
33297 * math/w_j0f_compat.c: Likewise.
33298 * math/w_j0l_compat.c: Likewise.
33299 * math/w_j1_compat.c: Likewise.
33300 * math/w_j1f_compat.c: Likewise.
33301 * math/w_j1l_compat.c: Likewise.
33302 * math/w_jn_compat.c: Likewise.
33303 * math/w_jnf_compat.c: Likewise.
33304 * math/w_jnl_compat.c: Likewise.
33305 * math/w_lgamma_main.c: Likewise.
33306 * math/w_lgamma_r_compat.c: Likewise.
33307 * math/w_lgammaf_main.c: Likewise.
33308 * math/w_lgammaf_r_compat.c: Likewise.
33309 * math/w_lgammal_main.c: Likewise.
33310 * math/w_lgammal_r_compat.c: Likewise.
33311 * math/w_log10_compat.c: Likewise.
33312 * math/w_log10f_compat.c: Likewise.
33313 * math/w_log10l_compat.c: Likewise.
33314 * math/w_log2_compat.c: Likewise.
33315 * math/w_log2f_compat.c: Likewise.
33316 * math/w_log2l_compat.c: Likewise.
33317 * math/w_log_compat.c: Likewise.
33318 * math/w_logf_compat.c: Likewise.
33319 * math/w_logl_compat.c: Likewise.
33320 * math/w_pow_compat.c: Likewise.
33321 * math/w_powf_compat.c: Likewise.
33322 * math/w_powl_compat.c: Likewise.
33323 * math/w_remainder_compat.c: Likewise.
33324 * math/w_remainderf_compat.c: Likewise.
33325 * math/w_remainderl_compat.c: Likewise.
33326 * math/w_scalb_compat.c: Likewise.
33327 * math/w_scalbf_compat.c: Likewise.
33328 * math/w_scalbl_compat.c: Likewise.
33329 * math/w_sinh_compat.c: Likewise.
33330 * math/w_sinhf_compat.c: Likewise.
33331 * math/w_sinhl_compat.c: Likewise.
33332 * math/w_sqrt_compat.c: Likewise.
33333 * math/w_sqrtf_compat.c: Likewise.
33334 * math/w_sqrtl_compat.c: Likewise.
33335 * math/w_tgamma_compat.c: Likewise.
33336 * math/w_tgammaf_compat.c: Likewise.
33337 * math/w_tgammal_compat.c: Likewise.
33338 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33339 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33340 * sysdeps/ieee754/k_standard.c: Likewise.
33341 * sysdeps/ieee754/k_standardf.c: Likewise.
33342 * sysdeps/ieee754/k_standardl.c: Likewise.
33343 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33344 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33345 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33346 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33347 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33348 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33349 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33350 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33351 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33353 Likewise.
33354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33355 Likewise.
33356 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33357 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33358 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33359 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33360
4504783c
FW
333612017-08-21 Florian Weimer <fweimer@redhat.com>
33362
33363 [BZ #21864]
33364 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33365 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33366 Move before inclusion of ../Rules.
33367
b5889d25
FW
333682017-08-21 Florian Weimer <fweimer@redhat.com>
33369
33370 [BZ #21972]
33371 * assert/assert.h (assert): Use static_cast (bool) for C++.
33372 Use the ternary operator in the warning branch for GNU C.
33373 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33374 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33375 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33376 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33377 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33378
41e673c1
L
333792017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33380
33381 [BZ #18822]
33382 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33383 (__syscall_clock_gettime): Add attribute_hidden.
33384 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33385 (__start_context): Likewise.
33386
568ff429
L
333872017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33388
33389 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33390 building libc.a.
33391 (hidden_proto): Likewise.
33392 (hidden_tls_proto): Likewise.
33393 (__hidden_proto): Likewise.
33394
7c41b4a1
L
333952017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33396
33397 * include/libc-symbols.h (attribute_hidden): Enable hidden
33398 visibility in libc.a compiled with PIE.
33399
483d7068
L
334002017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33401
33402 [BZ #18822]
33403 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33404 Add attribute_hidden.
33405
334062017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33407
33408 [BZ #21864]
33409 * Makerules (all-nonlib): Add $(others-extras).
33410 * catgets/Makefile (others-extras): New.
33411 * elf/Makefile (others-extras): Likewise.
33412 * nss/Makefile (others-extras): Likewise.
33413
54e4b8f2
L
334142017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33415
33416 [BZ #18822]
33417 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33418 * elf/dl-open.c: Include <libc-internal.h>.
33419 (__libc_multiple_libcs): Removed.
33420 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33421 <hp-timing.h>.
33422 * include/libc-internal.h (__libc_multiple_libcs): New.
33423 * misc/sbrk.c: Include <libc-internal.h>.
33424 (__libc_multiple_libcs): Removed.
33425
1dbbb1ec
L
334262017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33427
33428 [BZ #18822]
33429 * grp/initgroups.c (__nss_group_database): Removed.
33430 (__nss_initgroups_database): Likewise.
33431 * nscd/gai.c (__nss_hosts_database): Likewise.
33432 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33433 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33434 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33435 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33436 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33437 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33438 attribute_hidden.
33439 * nss/nsswitch.c (__nss_database_custom): Define only if
33440 USE_NSCD is defined.
33441 (__nss_configure_lookup): Use __nss_database_custom only if
33442 USE_NSCD is defined.
33443 * nss/nsswitch.h (__nss_database_custom): Declare only if
33444 USE_NSCD is defined. Add attribute_hidden.
33445 (__nss_setent): Add attribute_hidden.
33446 (__nss_endent): Likewise.
33447 (__nss_getent_r): Likewise.
33448 (__nss_getent): Likewise.
33449 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33450
2585d7b8
L
334512017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33452
33453 [BZ #18822]
33454 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33455 libc_hidden_proto and libc_hidden_def.
33456
c8dfa99c
L
334572017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33458
33459 [BZ #18822]
33460 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33461 Add libc_hidden_proto.
33462 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33463 Add libc_hidden_def.
33464
7ed87317
L
334652017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33466
33467 [BZ #21974]
33468 * gmon/Makefile (routines): Remove bb_init_func and
33469 bb_exit_func.
33470 (elide-routines.os): Removed.
9476b904
L
33471 * gmon/bb_exit_func.c: Likewise.
33472 * gmon/bb_init_func.c: Likewise.
7ed87317
L
33473 * include/sys/gmon.h (__bb): Likewise.
33474 (__bb_init_func): Likewise.
33475 (__bb_exit_func): Likewise.
91695eb1 33476 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 33477
94e6ba15
L
334782017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33479
33480 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33481 * include/setjmp.h (____longjmp_chk): Here. Add
33482 attribute_hidden.
33483
7550717e
L
334842017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33485
33486 [BZ #18822]
33487 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33488 attribute_hidden.
33489 (__strspn_sse2): Likewise.
33490
0bb2fabc
AZ
334912017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33492
c181840c
AZ
33493 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33494 (close_not_cancel_no_status): Likewise.
33495 (__close_nocancel): New macro.
33496 (__close_nocancel_nostatus): Likewise.
33497 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33498 macro.
33499 (close_not_cancel): Likewise.
33500 (close_not_cancel_no_status): Likewise.
33501 (__close_nocancel): New prototype.
33502 (__close_nocancel_nostatus): New function.
33503 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33504 * catgets/open_catalog.c (__open_catalog): Replace
33505 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33506 * gmon/gmon.c (write_gmon): Likewise.
33507 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33508 * intl/loadmsgcat.c (close): Likewise.
33509 * io/ftw.c (open_dir_stream): Likewise.
33510 (ftw_startup): Likewise.
33511 * libio/fileops.c (_IO_file_open): Likewise.
33512 (_IO_file_close_mmap): Likewise.
33513 (_IO_file_close): Likewise.
33514 * libio/iopopen.c (_IO_dup2): Likewise.
33515 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33516 * locale/loadlocale.c (_nl_load_locale): Likewise.
33517 * login/utmp_file.c (pututline_file): Likewise.
33518 (endutent_file): Likewise.
33519 * misc/daemon.c (daemon): Likewise.
33520 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33521 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33522 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33523 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33524 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33525 * nscd/nscd_helper.c (open_socket): Likewise.
33526 (__nscd_open_socket): Likewise.
33527 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33528 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33529 (__nscd_innetgr): Likewise.
33530 * nss/nss_db/db-open.c (internal_setent): Likewise.
33531 * resolv/res-close.c (__res_iclose): Likewise.
33532 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33533 * sysdeps/posix/closedir.c (__closedir): Likewise.
33534 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33535 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33536 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33537 (opendir_tail): Likewise.
33538 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33539 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33540 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33541 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33542 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33543 (gethostid): Likewise.
33544 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33545 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33546 Likewise.
33547 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33548 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33549 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33550 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33551 Likewise.
33552 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33553 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33554 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33555 Likewise.
33556 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33557 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33558 Likewise.
33559 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33560 Likewise.
33561 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33562 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33563 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33564 __close_nocancel.
33565
0bb2fabc
AZ
33566 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33567 (openat_not_cancel_3): Likewise.
33568 (openat64_not_cancel_3): Likewise).
33569 (openat_not_cancel_3): Likewise).
33570 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33571 macro.
33572 (openat_not_cancel_3): Likewise.
33573 (openat64_not_cancel): Likewise.
33574 (openat64_not_cancel_3): Likewise.
33575 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33576 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33577 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33578 __open{64}_nocancel.
33579 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33580 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33581 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33582
65a086db
L
335832017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33584
33585 [BZ #18822]
33586 * include/argz.h (__argz_create_sep): New function prototype.
33587 (__argz_append): Likewise.
33588 (__argz_add): Likewise.
33589 (__argz_add_sep): Likewise.
33590 (__argz_delete): Likewise.
33591 (__argz_insert): Likewise.
33592 (__argz_replace): Likewise.
33593 * string/argz.h (__argz_create_sep): Removed.
33594 (__argz_append): Likewise.
33595 (__argz_add): Likewise.
33596 (__argz_add_sep): Likewise.
33597 (__argz_delete): Likewise.
33598 (__argz_insert): Likewise.
33599 (__argz_replace): Likewise.
33600
62753d2c
L
336012017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33602
33603 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33604 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33605 (GNU_PROPERTY_STACK_SIZE): Likewie.
33606 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33607 (GNU_PROPERTY_LOPROC): Likewise.
33608 (GNU_PROPERTY_HIPROC): Likewise.
33609 (GNU_PROPERTY_LOUSER): Likewise.
33610 (GNU_PROPERTY_HIUSER): Likewise.
33611 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33612 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33613 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33614 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33615 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33616 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33617 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33618 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33619 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33620 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33621 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33622 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33623 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33624 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33625 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33626 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33627 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33628 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33629 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33630 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33631 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33632 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33633 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33634
6913ad65
GG
336352017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33636
33637 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33638 in C++ mode.
33639
47a67213
GG
336402017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33641
33642 [BZ #21930]
33643 * math/math.h (isinf): Check if in C or C++ mode before using
33644 __builtin_types_compatible_p, since this is a C mode feature.
33645
a748eb31
AZ
336462017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33647
c647fb88
AZ
33648 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33649 (__write_nocancel): New macro.
33650 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33651 Rewrite as a function prototype.
33652 (write_not_cancel): Remove macro.
33653 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33654 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33655 (write_gmon): Likewise.
33656 * libio/fileops.c (_IO_new_file_write): Likewise.
33657 * login/utmp_file.c (pututline_file): Likewise.
33658 (updwtmp_file): Likewise.
33659 * stdio-common/psiginfo.c (psiginfo): Likewise.
33660 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33661 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33662 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33663 Likewise.
33664 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33665 Likewise.
33666
a748eb31
AZ
33667 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33668 (__read_nocancel): New macro.
33669 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33670 __read_nocancel.
33671 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33672 macro.
33673 (__read_nocancel): New prototype.
33674 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33675 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33676 with __read_nocancel.
33677 * intl/loadmsgcat.c (read): Likewise.
33678 * libio/fileops.c (_IO_file_read): Likewise.
33679 * locale/loadlocale.c (_nl_load_locale): Likewise.
33680 * login/utmp_file.c (getutent_r_file): Likewise.
33681 (internal_getut_r): Likewise.
33682 (getutline_r_file): Likewise.
33683 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33684 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33685 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33686 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33687 Likewise.
33688 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33689 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33690 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33691 Likewise.
33692 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33693 Likewise.
33694 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33695 Likewise.
33696 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33697 Likewise.
33698 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33699
098b9dd4
L
337002017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33701
33702 [BZ #21966]
33703 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33704 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33705 usable.
33706
a3fe6a20
DD
337072017-08-17 DJ Delorie <dj@redhat.com>
33708
33709 * bug17079.c: Update to new test harness.
33710 * test-digits-dots.c: Likewise.
33711 * test-netdb.c: Likewise.
33712 * tst-field.c: Likewise.
33713 * tst-nss-getpwent.c: Likewise.
33714 * tst-nss-static.c: Likewise.
33715 * tst-nss-test1.c: Likewise.
33716 * tst-nss-test2.c: Likewise.
33717 * tst-nss-test3.c: Likewise.
33718 * tst-nss-test4.c: Likewise.
33719 * tst-nss-test5.c: Likewise.
33720
c2284574
AZ
337212017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33722
33723 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33724 (open_not_cancel_2): Likewise.
33725 (open_nocancel): New macro.
33726 (open64_nocancel): Likewise.
33727 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33728 (open_not_cancel_2): Likewise.
33729 (__open_nocancel): New prototype.
33730 (__open64_nocancel): Likewise.
33731 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33732 __open_nocancel.
33733 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33734 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33735 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33736 with __open_nocancel.
33737 * csu/check_fds.c (check_one_fd): Likewise.
33738 * gmon/gmon.c (write_gmon): Likewise.
33739 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33740 * intl/loadmsgcat.c (open): Likewise.
33741 * libio/fileops.c (_IO_file_open): Likewise.
33742 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33743 * locale/loadlocale.c (_nl_load_locale): Likewise.
33744 * login/utmp_file.c (setutent_file): Likewise.
33745 * misc/daemon.c (daemon): Likewise.
33746 * nss/nss_db/db-open.c (internal_setent): Likewise.
33747 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33748 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33749 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33750 (__opendir): Likewise.
33751 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33752 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33753 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33754 (gethostid): Likewise.
33755 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33756 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33757 Likewise.
33758 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33759 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33760 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33761 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33762 Likewise.
33763 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33764 Likewise.
33765 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33766 Likewise.
33767 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33768 Likewise.
33769 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33770 Likewise.
33771 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33772 Likewise.
33773 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33774 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33775
d4505b89
WD
337762017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33777
33778 * benchtests/bench-skeleton.c (main): Add support for
33779 latency benchmarking.
33780 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33781
34d6a3cb
L
337822017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33783
33784 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33785 the startup object.
33786
038d1caf
FW
337872017-08-17 Florian Weimer <fweimer@redhat.com>
33788
33789 * include/sys/socket.h (__opensock): Remove internal_function.
33790 * socket/opensock.c (__opensock): Likewise.
33791 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33792
67f0aff0
JM
337932017-08-16 Joseph Myers <joseph@codesourcery.com>
33794
33795 [BZ #21944]
33796 * signal/bits/types/__sigval_t.h: New file.
33797 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33798 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33799 and define sigval_t using __sigval_t.
33800 * include/bits/types/__sigval_t.h: New file.
33801 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33802 instead of <bits/types/__sigval_t.h>.
33803 (struct sigevent): Use __sigval_t instead of sigval_t.
33804 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33805 instead of <bits/types/__sigval_t.h>.
33806 (siginfo_t): Use __sigval_t instead of sigval_t.
33807 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33808 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33809 (struct sigevent): Use __sigval_t instead of sigval_t.
33810 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33811 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33812 (siginfo_t): Use __sigval_t instead of sigval_t.
33813 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33814
87e7bf4d
L
338152017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33816
33817 * NEWS: Remove "[Add new features here]" for 2.27.
33818
5047057f
JM
338192017-08-16 Joseph Myers <joseph@codesourcery.com>
33820
33821 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33822 libc.so.
33823
20c7b195
L
338242017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33825
33826 * NEWS: Mention x86-64 FMA optimization.
33827
24a2e658
L
338282017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33829
33830 [BZ #21912]
33831 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33832 Add e_expf-fma.
33833 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33834 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33835 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33836
eedca977
AS
338372017-08-16 Andreas Schwab <schwab@suse.de>
33838
403143e1
FW
33839 [BZ #16750]
33840 CVE-2009-5064
eedca977
AS
33841 * elf/ldd.bash.in: Never run file directly.
33842
f59f7adb
L
338432017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33844
33845 [BZ #21955]
33846 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33847 (L(SP_INF_0)): Likewise.
33848
6b11a6ad
FW
338492017-08-15 Florian Weimer <fweimer@redhat.com>
33850
33851 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33852 run-built-tests.
33853
bbf5c438
FW
338542017-08-15 Florian Weimer <fweimer@redhat.com>
33855
33856 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33857 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33858 BROKEN_THREAD_SIGNALS code.
33859 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33860 request_list): Remove caller_pid member used for
33861 BROKEN_THREAD_SIGNALS.
33862 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33863 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33864 Remove BROKEN_THREAD_SIGNALS support.
33865 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33866 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33867
6014c65d
FW
338682017-08-15 Florian Weimer <fweimer@redhat.com>
33869
33870 * gmon/Makefile (tests): Add tst-gmon.
33871 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33872 Set.
33873 (tests-special): Add tst-gmon-prof.out.
33874 (tst-gmon.out): Depend on clean-tst-gmon-data.
33875 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33876 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33877 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33878 startup object.
33879 * aclocal.m4 (GPROF): Set and substitute.
33880 * config.amke.in (GPROF): Set.
33881 * configure: Regenerate.
33882
ee72219a
GR
338832017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33884
33885 * elf/elf.h A (NT_PPC_TAR): New macro.
33886 (NT_PPC_PPR): Likewise.
33887 (NT_PPC_DSCR): Likewise.
33888 (NT_PPC_EBB): Likewise.
33889 (NT_PPC_PMU): Likewise.
33890 (NT_PPC_TM_CGPR): Likewise.
33891 (NT_PPC_TM_CFPR): Likewise.
33892 (NT_PPC_TM_CVMX): Likewise.
33893 (NT_PPC_TM_CVSX): Likewise.
33894 (NT_PPC_TM_SPR): Likewise.
33895 (NT_PPC_TM_CTAR): Likewise.
33896 (NT_PPC_TM_CPPR): Likewise.
33897 (NT_PPC_TM_CDSCR): Likewise.
33898
4ebf934e
FW
338992017-08-15 Florian Weimer <fweimer@redhat.com>
33900
33901 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33902 regparm (2) instead of internal_function.
33903 (_MCOUNT_DECL): Adjust.
33904
e9f57484
SL
339052017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33906
33907 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33908 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33909
88ff4d55
JM
339102017-08-14 Joseph Myers <joseph@codesourcery.com>
33911
33912 * conform/data/sys/wait.h-data (si_value): Do not expect for
33913 XPG42.
33914
c88ffc23
FW
339152017-08-14 Florian Weimer <fweimer@redhat.com>
33916
33917 [BZ #21962]
33918 NSS: Create stubs for accidentally exported lookup functions.
33919 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33920 Remove declaration.
33921 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33922 (ether_hostton): Call __nss_ethers_lookup2 instead.
33923 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33924 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33925 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33926 (setup): Call __nss_netgroup_lookup2 instead.
33927 * nss/Makefile (routines): Add compat-lookup.
33928 * nss/Versions (GLIBC_2.27): Add symbol version.
33929 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33930 (DB_COMPAT_FCT): Remove.
33931 * nss/compat-lookup.c: New file.
33932 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33933 from databases.def.
33934 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33935 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33936 (netname2user): Call __nss_publickey_lookup2 instead.
33937 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33938 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33939 instead.
33940
35a29136 339412017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
33942 Sergei Trofimovich <slyfox@inbox.ru>
33943
33944 [BZ #21908]
33945 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33946 Rename to MMAP2_PAGE_UNIT.
33947 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33948 __OFF_T_MATCHES_OFF64_T is not defined.
33949 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33950 uint64_t.
33951 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33952 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33953
fbdc1e3e
FW
339542017-08-14 Florian Weimer <fweimer@redhat.com>
33955
33956 i386: Do not set internal_function.
33957 * config.h.in (USE_REGPARMS, internal_function): Remove.
33958 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33959 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33960
b3f85fd2
FW
339612017-08-14 Florian Weimer <fweimer@redhat.com>
33962
33963 * elf/dl-init.c (_dl_init): Remove internal_function.
33964 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33965 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33966
630bf491
FW
339672017-08-14 Florian Weimer <fweimer@redhat.com>
33968
33969 * elf/rtld.c (_dl_start): Remove internal_function.
33970 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33971 _dl_start.
33972
9fa7449b
FW
339732017-08-14 Florian Weimer <fweimer@redhat.com>
33974
33975 * elf/dl-fini.c (_dl_fini): Remove internal_function
33976 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33977
73322d5f
L
339782017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33979
d863cd71 33980 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
33981 (bit_cpu_SHSTK): Likewise.
33982 (index_cpu_IBT): Likewise.
33983 (index_cpu_SHSTK): Likewise.
33984 (reg_IBT): Likewise.
33985 (reg_SHSTK): Likewise.
33986 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33987 Handle index_cpu_IBT and index_cpu_SHSTK.
33988
dbc303ef
MF
339892017-08-14 Mike FABIAN <mfabian@redhat.com>
33990
33991 [BZ #19982]
33992 * po/fr.po: Fix spelling mistake.
33993
3012cfb0
FW
339942017-08-13 Florian Weimer <fweimer@redhat.com>
33995
33996 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33997 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33998 (_dl_catch_error, _dl_receive_error): Likewise.
33999 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34000 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34001 (_dl_deallocate_tls): Likewise.
34002 * include/dlfcn.h (_dl_addr): Likewise.
34003 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34004 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34005 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34006 Likewise.
34007
52bcdf26
FW
340082017-08-13 Florian Weimer <fweimer@redhat.com>
34009
34010 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34011 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34012 internal_function.
34013 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34014
e1d2ae8d
FW
340152017-08-13 Florian Weimer <fweimer@redhat.com>
34016
34017 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34018 internal_function.
34019 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34020 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34021 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34022 internal_function from _dl_make_stack_executable_hook member.
34023 (_dl_make_stack_executable): Remove internal_function.
34024 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34025 Likewise.
34026 * sysdeps/unix/sysv/linux/dl-execstack.c
34027 (_dl_make_stack_executable): Likewise.
34028
c4ce0382
FW
340292017-08-13 Florian Weimer <fweimer@redhat.com>
34030
34031 * sysdeps/unix/sysv/linux/netlinkaccess.h
34032 (__netlink_assert_response): Remove internal_function.
34033 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34034 (__netlink_assert_response): Likewise.
34035
c4d767f7
FW
340362017-08-13 Florian Weimer <fweimer@redhat.com>
34037
34038 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34039 internal_function.
34040 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34041
b2297409
FW
340422017-08-13 Florian Weimer <fweimer@redhat.com>
34043
34044 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34045 internal_function.
34046 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34047 * inet/netgroup.h (__internal_setnetgrent)
34048 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34049 * inet/getnetgrent_r.c (__internal_setnetgrent)
34050 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34051 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34052 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34053 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34054 * nss/nsswitch.h (db_lookup_function): Likewise.
34055
1b0bfc69
FW
340562017-08-13 Florian Weimer <fweimer@redhat.com>
34057
34058 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34059 Remove internal_function.
34060 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34061 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34062 message argument on the stack.
34063 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34064 Likeweise.
34065
a6bd8722
MF
340662017-08-12 Mike FABIAN <mfabian@redhat.com>
34067
34068 Adapt test case data to the changes in the thousands
34069 separators.
34070
34071 [BZ #20756]
34072 * localedata/tst-langinfo.sh: Adapt test case data.
34073 * stdlib/tst-strfmon_l.c: Likewise.
34074 * stdlib/tst-strtod4.c: Likewise.
34075 * stdlib/tst-strtod5i.c: Likewise.
34076
8b2c63e4
FW
340772017-08-11 Florian Weimer <fweimer@redhat.com>
34078
34079 [BZ #21242]
34080 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34081 Suppress pedantic warning resulting from statement expression.
34082 (__ASSERT_FUNCTION): Add missing __extension__.
34083
61c98291
SP
340842017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34085
86c6519e
SP
34086 * benchtests/bench-memmove-large.c: Print output in JSON
34087 format.
34088 * benchtests/bench-memmove.c: Likewise.
34089
61c98291
SP
34090 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34091 * benchtests/bench-memchr.c (do_one_test): Likewise.
34092 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34093 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34094 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34095 * benchtests/bench-memmove.c (do_one_test): Likewise.
34096 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34097 * benchtests/bench-memset.c (do_one_test): Likewise.
34098 * benchtests/bench-string.h (test_init): Remove memsets.
34099
925733a9
RJ
341002017-08-10 Rical Jasan <ricaljasan@pacific.net>
34101
34102 * manual/lang.texi
34103 (Computing the Width of an Integer Data Type): Rename section to
34104 "Width of an Integer Type". Remove inaccurate statement regarding
34105 lack of C language facilities for determining width of integer
34106 types, and reorder content to improve flow and context of
34107 discussion.
34108
4fcdfbfc
RJ
341092017-08-10 Rical Jasan <ricaljasan@pacific.net>
34110
34111 * lang.texi (va_copy): Change standard from ISO to C99.
34112 (__va_copy): Add standard and header annotation.
34113 Update description for clarity of origins and current use.
34114
4d98ace9
GG
341152017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34116
34117 [BZ #21941]
34118 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34119 xssqrtqp requires operands to be in Vector Registers
34120 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34121 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34122 (__ieee754_sqrtf128): Likewise.
34123
92236903
WD
341242017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34125
34126 * sysdeps/aarch64/memcmp.S (memcmp):
34127 Rewrite of optimized memcmp.
34128
2449ae7b
FW
341292017-08-10 Florian Weimer <fweimer@redhat.com>
34130
34131 Introduce ld.so exceptions.
34132 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34133 (_dl_exception_create, _dl_exception_create_format)
34134 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34135 (_dl_catch_exception): Declare.
34136 (_dl_catch_error): Update comment.
34137 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34138 errstring, malloced members with exception member.
34139 (_dl_out_of_memory): Remove.
34140 (fatal_error): New function, extracted from _dl_signal_error.
34141 (_dl_signal_exception, _dl_signal_cexception): New functions.
34142 (_dl_signal_error): Call _dl_exception_create to allocate an
34143 exception object.
34144 (_dl_catch_exception): New function, based on _dl_catch_error.
34145 (_dl_catch_error): Implement using _dl_catch_exception.
34146 * elf/dl-exception.c: New file.
34147 * elf/Makefile (dl-routines): Add dl-exception.
34148 (elide-routines.os): Likewise.
34149 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34150 _dl_exception_create_format, _dl_exception_free.
34151 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34152 _dl_signal_exception.
34153 * elf/dl-lookup.c (make_string): Remove.
34154 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34155 _dl_signal_cexception, _dl_exception_free.
34156 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34157 _dl_signal_exception.
34158 * elf/dl-sym.c (do_sym): Likewise.
34159 * elf/dl-version.c (make_string): Remove.
34160 (match_symbol): Use _dl_exception_create_format,
34161 _dl_signal_cexception, _dl_exception_free.
34162 (_dl_check_map_versions): Likewise.
34163 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34164 _dl_catch_exception.
34165 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34166 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34167 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34168 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34169 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34170 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34171 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34172 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34173 Likewise.
34174 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34176 (ld.so): Likewise.
34177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34178 (ld.so): Likewise.
34179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34180 Likewise.
34181 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34182 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34183 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34184 Likewise.
34185 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34186 Likewise.
34187 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34188
f87cc2bf
FW
341892017-08-10 Florian Weimer <fweimer@redhat.com>
34190
34191 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34192 attribute_hidden, internal_function.
34193 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34194 internal_function.
34195
eac43cbb
FW
341962017-08-10 Florian Weimer <fweimer@redhat.com>
34197
34198 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34199 function which calls __builtin_unreachable.
34200
bd80111e
MF
342012017-08-10 Mike FABIAN <mfabian@redhat.com>
34202
34203 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34204 Indian monetary formatting
34205 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34206 test cases.
34207
60e2846e
DL
342082017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34209
68dc02d1
DL
34210 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34211 Fix typo in comment.
34212
60e2846e
DL
34213 [BZ #21928]
34214 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34215 PTRACE_SEIZE_DEVEL): Remove.
34216 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34217 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34218 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34219 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34220 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34221
3d452dab
JM
342222017-08-09 Joseph Myers <joseph@codesourcery.com>
34223
24d9f53a
JM
34224 * posix/bits/types.h (__qaddr_t): Remove.
34225
3d452dab
JM
34226 [BZ #21457]
34227 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34228 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34229 __glibc_reserved1.
34230 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34231 (ucontext_t): Use __ctx with uc_flags.
34232 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34233 (__ctxt): Likewise.
34234 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34235 __glibc_reserved1.
34236 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34237 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34238 __glibc_reserved1.
34239 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34240 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34241 __glibc_reserved1.
34242 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34243 macro.
34244 (ucontext_t): Use __ctx with uc_flags.
34245 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34246 (ucontext_t): Use __ctx with uc_flags.
34247 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34248 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34249 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34250 (ucontext_t): Use __ctx with uc_flags.
34251 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34252 undefine further down.
34253 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34254 __glibc_reserved1.
34255 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34256 undefine further down.
34257 (ucontext_t): Use __ctx with uc_flags.
34258 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34259 undefine further down.
34260 (ucontext_t): Use __ctx with uc_flags.
34261 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34262 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34263 Rename uc_pad to __glibc_reserved1.
34264 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34265 undefine further down.
34266 (ucontext_t): Use __ctx with uc_flags.
34267 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34268 further down.
34269 (ucontext_t): Use __ctx with uc_flags.
34270 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34271 __ctx with uc_flags.
34272 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34273 (ucontext_t): Use __ctx with uc_flags.
34274 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34275 __ctx with uc_flags.
34276
30161498
FW
342772017-08-09 Florian Weimer <fweimer@redhat.com>
34278
34279 [BZ #21932]
34280 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34281 before early return.
34282
5797b410
AS
342832017-08-09 Andreas Schwab <schwab@suse.de>
34284
139237a4 34285 [BZ #21041]
5797b410
AS
34286 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34287 renamed alias.
34288
139237a4 34289 [BZ #21041]
40c06a3d
AS
34290 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34291 tst-compat-forwarder.
34292 (modules-names): Add tst-compat-forwarder-mod.
34293 ($(objpfx)tst-compat-forwarder): Depend on
34294 $(objpfx)tst-compat-forwarder-mod.so.
34295 * nptl/tst-compat-forwarder.c: New file.
34296 * nptl/tst-compat-forwarder-mod.c: New file.
34297
36ada5f6
SP
342982017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34299
0e02b510
SP
34300 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34301 comments.
34302
36ada5f6
SP
34303 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34304 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34305 memcpy_falkor.
34306 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34307 Bump.
34308 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34309 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34310 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34311 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34312 Add falkor.
34313 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34314 New macro.
34315
9995c839
AZ
343162017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34317
34318 [BZ #759]
34319 * manual/setjmp.texi (getcontex): Document uc_stack value
34320 compatibility differences.
34321
f17a4233
JM
343222017-08-08 Joseph Myers <joseph@codesourcery.com>
34323
34324 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34325 (old_malloc_hook): Likewise.
34326 (old_memalign_hook): Likewise.
34327 (old_realloc_hook): Likewise.
34328 (struct hdr): Likewise.
34329 (flood): Likewise.
34330 (freehook): Likewise.
34331 (mallochook): Likewise.
34332 (memalignhook): Likewise.
34333 (reallochook): Likewise.
34334 (mprobe): Likewise.
34335 * malloc/mtrace.c (mallwatch): Likewise.
34336 (tr_old_free_hook): Likewise.
34337 (tr_old_malloc_hook): Likewise.
34338 (tr_old_realloc_hook): Likewise.
34339 (tr_old_memalign_hook): Likewise.
34340 (tr_where): Likewise.
34341 (lock_and_info): Likewise.
34342 (tr_freehook): Likewise.
34343 (tr_mallochook): Likewise.
34344 (tr_reallochook): Likewise.
34345 (tr_memalignhook): Likewise.
34346 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34347 * misc/mmap.c (__mmap): Likewise.
34348 * misc/mmap64.c (__mmap64): Likewise.
34349 * misc/mprotect.c (__mprotect): Likewise.
34350 * misc/msync.c (msync): Likewise.
34351 * misc/munmap.c (__munmap): Likewise.
34352 * posix/posix_madvise.c (posix_madvise): Likewise.
34353 * socket/send.c (__send): Likewise.
34354 * socket/sendto.c (__sendto): Likewise.
34355 * socket/setsockopt.c (__setsockopt): Likewise.
34356 * string/memcmp.c (__ptr_t): Remove macro.
34357 (MEMCMP): Use void * instead of ptr_t.
34358 * string/memrchr.c (__ptr_t): Remove macro.
34359 (__memrchr): Use void * instead of ptr_t.
34360 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34361 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34362 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34363 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34364 * sysdeps/mach/msync.c (msync): Likewise.
34365 * sysdeps/mach/munmap.c (__munmap): Likewise.
34366 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34367 Likewise.
34368 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34369 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34370 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34371 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34372 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34373 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34374 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34375 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34376 Likewise.
34377 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34378 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34379 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34380 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34381 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34382 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34383 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34384 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34385 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34386 Likewise.
34387 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34388 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34389 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34390 (MEMCMP): Use void * instead of ptr_t.
34391 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34392 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34393
0df595b2
FW
343942017-08-08 Florian Weimer <fweimer@redhat.com>
34395
34396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34397 return statement.
34398
086df229
L
343992017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34400
34401 [BZ #21913]
34402 * csu/libc-tls.c: Include <startup.h> first.
34403 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34404 * elf/dl-tunables.c: Include <startup.h> first.
34405 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34406 * sysdeps/generic/startup.h: New file.
34407 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34408 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34409 (I386_USE_SYSENTER): New. Defined to 0.
34410
fc5ad702
AS
344112017-08-08 Andreas Schwab <schwab@suse.de>
34412
34413 [BZ #21041]
34414 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34415 * nptl/pt-system.c (system): Likewise.
34416
852d6312
AZ
344172017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34418
34419 [BZ #21780]
34420 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34421 EOPNOTSUPP.
34422 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34423 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34424 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34425 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34426 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34427 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34428 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34429
8b164787
JM
344302017-08-07 Joseph Myers <joseph@codesourcery.com>
34431
cd65836b
JM
34432 [BZ #21899]
34433 * bits/sigaction.h (struct sigaction): Define sa_handler and
34434 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34435 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34436 [__USE_XOPEN_EXTENDED].
34437 (SA_RESTART): Likewise.
34438 (SA_NODEFER): Likewise.
34439 (SA_RESETHAND): Likewise.
34440 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34441 (struct sigaction): Define sa_handler and sa_sigaction using union
34442 also for [__USE_XOPEN_EXTENDED].
34443 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34444 [__USE_XOPEN_EXTENDED].
34445 (SA_RESTART): Likewise.
34446 (SA_NODEFER): Likewise.
34447 (SA_RESETHAND): Likewise.
34448 * sysdeps/unix/sysv/linux/bits/sigaction.h
34449 (struct sigaction): Define sa_handler and sa_sigaction using union
34450 also for [__USE_XOPEN_EXTENDED].
34451 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34452 [__USE_XOPEN_EXTENDED].
34453 (SA_RESTART): Likewise.
34454 (SA_NODEFER): Likewise.
34455 (SA_RESETHAND): Likewise.
34456 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34457 (struct sigaction): Define sa_handler and sa_sigaction using union
34458 also for [__USE_XOPEN_EXTENDED].
34459 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34460 [__USE_XOPEN_EXTENDED].
34461 (SA_RESTART): Likewise.
34462 (SA_NODEFER): Likewise.
34463 (SA_RESETHAND): Likewise.
34464 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34465 (struct sigaction): Define sa_handler and sa_sigaction using union
34466 also for [__USE_XOPEN_EXTENDED].
34467 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34468 [__USE_XOPEN_EXTENDED].
34469 (SA_RESTART): Likewise.
34470 (SA_NODEFER): Likewise.
34471 (SA_RESETHAND): Likewise.
34472 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34473 (struct sigaction): Define sa_handler and sa_sigaction using union
34474 also for [__USE_XOPEN_EXTENDED].
34475 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34476 [__USE_XOPEN_EXTENDED].
34477 (SA_RESTART): Likewise.
34478 (SA_NODEFER): Likewise.
34479 (SA_RESETHAND): Likewise.
34480 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34481 (struct sigaction): Define sa_handler and sa_sigaction using union
34482 also for [__USE_XOPEN_EXTENDED].
34483 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34484 [__USE_XOPEN_EXTENDED].
34485 (SA_RESTART): Likewise.
34486 (SA_NODEFER): Likewise.
34487 (SA_RESETHAND): Likewise.
34488 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34489 (struct sigaction): Define sa_handler and sa_sigaction using union
34490 also for [__USE_XOPEN_EXTENDED].
34491 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34492 [__USE_XOPEN_EXTENDED].
34493 (SA_RESTART): Likewise.
34494 (SA_NODEFER): Likewise. Define directly rather than as alias.
34495 (SA_RESETHAND): Likewise.
34496 (SA_INTERRUPT): Define only for [__USE_MISC].
34497 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34498 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34499 [__USE_MISC].
34500 (SA_STACK): Define only for [__USE_MISC].
34501 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34502 (struct sigaction): Define sa_handler and sa_sigaction using union
34503 also for [__USE_XOPEN_EXTENDED].
34504 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34505 [__USE_XOPEN_EXTENDED].
34506 (SA_RESTART): Likewise.
34507 (SA_NODEFER): Likewise.
34508 (SA_RESETHAND): Likewise.
34509 (SA_NOPTRACE): Define only for [__USE_MISC].
34510
d9fee042
JM
34511 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34512 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34513 (struct catalog_info): Likewise.
34514 * inet/htontest.c (lo): Likewise.
34515 (foo): Likewise.
34516 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34517 * inet/inet_net.c (inet_network): Likewise.
34518 * inet/inet_netof.c (inet_netof): Likewise.
34519 * inet/rcmd.c (__ivaliduser): Likewise.
34520 (iruserok): Likewise.
34521 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34522 * locale/programs/locale-spec.c (locale_special): Likewise.
34523 * nis/nis_findserv.c (struct findserv_req): Likewise.
34524 (__nis_findfastest_with_timeout): Likewise.
34525 * nss/test-netdb.c (test_network): Likewise.
34526 * resolv/inet_neta.c (inet_neta): Likewise.
34527 * resolv/ns_date.c (ns_datetosecs): Likewise.
34528 (SECS_PER_DAY): Likewise.
34529 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34530 Likewise.
34531 * resolv/res_comp.c (__putlong): Likewise.
34532 (__putshort): Likewise.
34533 (_getlong): Likewise.
34534 (_getshort): Likewise.
34535 * resolv/res_debug.c (p_time): Likewise.
34536 (precsize_ntoa): Likewise.
34537 (precsize_aton): Likewise.
34538 (latlon2ul): Likewise.
34539 (loc_aton): Likewise.
34540 (loc_ntoa): Likewise.
34541 * resolv/res_hconf.c (struct netaddr): Likewise.
34542 (_res_hconf_reorder_addrs): Likewise.
34543 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34544 (clnttcp_control): Likewise.
34545 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34546 (clntudp_control): Likewise.
34547 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34548 (clntunix_control): Likewise.
34549 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34550 * sunrpc/rpc/auth.h (union des_block): Likewise.
34551 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34552 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34553 (xdrrec_create): Likewise.
34554 (xdrrec_endofrecord): Likewise.
34555 (flush_out): Likewise.
34556 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34557 (xdrstdio_putlong): Likewise.
34558 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34559 Likewise.
34560
8b164787
JM
34561 * misc/sys/cdefs.h (__long_double_t): Remove.
34562 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34563 instead of __long_double_t,
34564 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34565
7ee38e60
SP
345662017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34567
dd3e86ad
SP
34568 * benchtests/scripts/compare_strings.py: Avoid display error when
34569 running on a text terminal.
34570
b115e819
SP
34571 * benchtests/scripts/compare_strings.py (main): Add an
34572 optional -base option.
34573 (process_results): New argument base_func.
34574
7ee38e60
SP
34575 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34576 hardcoding memcpy.
34577 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34578 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34579
d5afb385
AS
345802017-08-07 Andreas Schwab <schwab@suse.de>
34581
34582 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34583 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34584 * intl/Makefile ($(objpfx)tst-gettext.out)
34585 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34586 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34587 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34588 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34589 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34590 * posix/Makefile ($(objpfx)globtest.out)
34591 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34592 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34593 ($(objpfx)tst-printf.out): Likewise.
34594 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34595 ($(objpfx)tst-setcontext3.out): Likewise.
34596
57a72fa3
L
345972017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34598
34599 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34600 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34601 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34602 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34603 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34604 and mptan-fma.
34605 (CFLAGS-doasin-fma.c): New.
34606 (CFLAGS-dosincos-fma.c): Likewise.
34607 (CFLAGS-e_asin-fma.c): Likewise.
34608 (CFLAGS-e_atan2-fma.c): Likewise.
34609 (CFLAGS-e_exp-fma.c): Likewise.
34610 (CFLAGS-e_log-fma.c): Likewise.
34611 (CFLAGS-e_pow-fma.c): Likewise.
34612 (CFLAGS-halfulp-fma.c): Likewise.
34613 (CFLAGS-mpa-fma.c): Likewise.
34614 (CFLAGS-mpatan-fma.c): Likewise.
34615 (CFLAGS-mpatan2-fma.c): Likewise.
34616 (CFLAGS-mpexp-fma.c): Likewise.
34617 (CFLAGS-mplog-fma.c): Likewise.
34618 (CFLAGS-mpsqrt-fma.c): Likewise.
34619 (CFLAGS-mptan-fma.c): Likewise.
34620 (CFLAGS-s_atan-fma.c): Likewise.
34621 (CFLAGS-sincos32-fma.c): Likewise.
34622 (CFLAGS-slowexp-fma.c): Likewise.
34623 (CFLAGS-slowpow-fma.c): Likewise.
34624 (CFLAGS-s_sin-fma.c): Likewise.
34625 (CFLAGS-s_tan-fma.c): Likewise.
34626 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34627 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34628 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34629 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34630 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34631 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34632 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34633 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34634 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34635 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34636 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34637 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34638 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34639 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34640 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34641 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34642 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34643 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34644 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34645 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34646 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34647 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34648 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34649 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34650 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34651 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34652 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34653 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34654 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34655 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34656 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34657
219dd320
JM
346582017-08-04 Joseph Myers <joseph@codesourcery.com>
34659
34660 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34661 (min_of_type_f): New macro.
34662 (min_of_type_): Likewise.
34663 (min_of_type_l): Likewise.
34664 (min_of_type_f128): Likewise.
34665 (min_of_type): Define using __MATH_TG and taking an expression
34666 argument.
34667 (math_check_force_underflow): Pass expression instead of type to
34668 min_of_type.
34669 (math_check_force_underflow_nonneg): Likewise.
34670
64d4dea6
L
346712017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34672
34673 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34674 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34675 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34676
973da22a
L
346772017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34678
34679 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34680 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34681 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34682 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34683 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34684 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34685 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34686 memmove_chk-nonshared and memset_chk-nonshared
34687 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34688 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34689 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34690 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34691 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34692 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34693 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34694 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34695 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34696 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34697 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34698 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34699 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34700 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34701 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34702 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34703 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34704 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34705 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34706 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34707 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34708 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34709 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34710 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34711 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34712 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34713 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34714 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34715 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34716 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34717 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34718 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34719 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34720 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34721 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34722 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34723 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34724 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34725 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34726 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34727 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34728 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34729 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34730 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34731 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34732 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34733 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34734 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34735 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34736 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34737 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34738 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34739 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34740 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34741 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34742 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34743 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34744 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34745 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34746 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34747 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34748 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34749 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34750 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34751 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34752 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34753 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34754 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34755 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34756 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34757 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34758 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34759 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34760 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34761 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34762 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34763 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34764 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34765 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34766 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34767 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34768 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34769 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34770 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34771 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34772 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34773 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34774 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34775 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34776 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34777 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34778 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34779 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34780 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34781 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34782 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34783 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34784 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34785 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34786 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34787 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34788 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34789 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34790 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34791 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34792 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34793 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34794 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34795
8537e0f6
L
347962017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34797
34798 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34799 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34800 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34801 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34802 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34803 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34804 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34805 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34806 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34807 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34808 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34809 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34810 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34811 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34812 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34813 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34814 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34815 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34816 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34817 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34818 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34819 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34820 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34821 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34822 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34823 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34824 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34825 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34826 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34827 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34828 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34829 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34830 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34831 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34832 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34833 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34834 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34835 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34836 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34837 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34838 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34839 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34840 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34841 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34842 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34843 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34844 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34845 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34846 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34847 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34848 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34849 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34850 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34851 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34852 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34853 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34854 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34855 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34856 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34857 ...
34858 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34859 Don't include <sysdep.h> nor <init-arch.h>.
34860 (_ZGVbN2v_cos): Removed.
34861 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34862 ...
34863 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34864 Don't include <sysdep.h> nor <init-arch.h>.
34865 (_ZGVdN4v_cos): Removed.
34866 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34867 ...
34868 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34869 Don't include <sysdep.h> nor <init-arch.h>.
34870 (_ZGVeN8v_cos): Removed.
34871 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34872 ...
34873 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34874 Don't include <sysdep.h> nor <init-arch.h>.
34875 (_ZGVbN2v_exp): Removed.
34876 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34877 ...
34878 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34879 Don't include <sysdep.h> nor <init-arch.h>.
34880 (_ZGVdN4v_exp): Removed.
34881 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34882 ...
34883 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34884 Don't include <sysdep.h> nor <init-arch.h>.
34885 (_ZGVeN8v_exp): Removed.
34886 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34887 ...
34888 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34889 Don't include <sysdep.h> nor <init-arch.h>.
34890 (_ZGVbN2v_log): Removed.
34891 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34892 ...
34893 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34894 Don't include <sysdep.h> nor <init-arch.h>.
34895 (_ZGVdN4v_log): Removed.
34896 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34897 ...
34898 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34899 Don't include <sysdep.h> nor <init-arch.h>.
34900 (_ZGVeN8v_log): Removed.
34901 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34902 ...
34903 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34904 Don't include <sysdep.h> nor <init-arch.h>.
34905 (_ZGVbN2vv_pow): Removed.
34906 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34907 ...
34908 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34909 Don't include <sysdep.h> nor <init-arch.h>.
34910 (_ZGVdN4vv_pow): Removed.
34911 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34912 ...
34913 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34914 Don't include <sysdep.h> nor <init-arch.h>.
34915 (_ZGVeN8vv_pow): Removed.
34916 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34917 ...
34918 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34919 Don't include <sysdep.h> nor <init-arch.h>.
34920 (_ZGVbN2v_sin): Removed.
34921 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34922 ...
34923 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34924 Don't include <sysdep.h> nor <init-arch.h>.
34925 (_ZGVbN4v_sin): Removed.
34926 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34927 ...
34928 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34929 Don't include <sysdep.h> nor <init-arch.h>.
34930 (_ZGVbN8v_sin): Removed.
34931 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34932 ...
34933 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34934 Don't include <sysdep.h> nor <init-arch.h>.
34935 (_ZGVbN2vvv_sincos): Removed.
34936 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34937 ...
34938 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34939 Don't include <sysdep.h> nor <init-arch.h>.
34940 (_ZGVdN4vvv_sincos): Removed.
34941 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34942 ...
34943 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34944 Don't include <sysdep.h> nor <init-arch.h>.
34945 (_ZGVeN8vvv_sincos): Removed.
34946 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34947 ...
34948 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34949 Don't include <sysdep.h> nor <init-arch.h>.
34950 (_ZGVeN16v_cosf): Removed.
34951 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34952 ...
34953 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34954 Don't include <sysdep.h> nor <init-arch.h>.
34955 (_ZGVbN4v_cosf): Removed.
34956 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34957 ...
34958 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34959 Don't include <sysdep.h> nor <init-arch.h>.
34960 (_ZGVdN8v_cosf): Removed.
34961 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34962 ...
34963 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34964 Don't include <sysdep.h> nor <init-arch.h>.
34965 (_ZGVeN16v_expf): Removed.
34966 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34967 ...
34968 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34969 Don't include <sysdep.h> nor <init-arch.h>.
34970 (_ZGVbN4v_expf): Removed.
34971 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34972 ...
34973 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34974 Don't include <sysdep.h> nor <init-arch.h>.
34975 (_ZGVdN8v_expf): Removed.
34976 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34977 ...
34978 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34979 Don't include <sysdep.h> nor <init-arch.h>.
34980 (_ZGVeN16v_logf): Removed.
34981 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34982 ...
34983 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34984 Don't include <sysdep.h> nor <init-arch.h>.
34985 (_ZGVbN4v_logf): Removed.
34986 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34987 ...
34988 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34989 Don't include <sysdep.h> nor <init-arch.h>.
34990 (_ZGVdN8v_logf): Removed.
34991 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34992 ...
34993 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34994 Don't include <sysdep.h> nor <init-arch.h>.
34995 (_ZGVeN16vv_powf): Removed.
34996 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34997 ...
34998 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34999 Don't include <sysdep.h> nor <init-arch.h>.
35000 (_ZGVbN4vv_powf): Removed.
35001 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35002 ...
35003 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35004 Don't include <sysdep.h> nor <init-arch.h>.
35005 (_ZGVdN8vv_powf): Removed.
35006 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35007 ...
35008 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35009 Don't include <sysdep.h> nor <init-arch.h>.
35010 (_ZGVeN16vvv_sincosf): Removed.
35011 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35012 ...
35013 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35014 Don't include <sysdep.h> nor <init-arch.h>.
35015 (_ZGVbN4vvv_sincosf): Removed.
35016 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35017 ...
35018 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35019 Don't include <sysdep.h> nor <init-arch.h>.
35020 (_ZGVdN8vvv_sincosf): Removed.
35021 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35022 ...
35023 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35024 Don't include <sysdep.h> nor <init-arch.h>.
35025 (_ZGVeN16v_sinf): Removed.
35026 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35027 ...
35028 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35029 Don't include <sysdep.h> nor <init-arch.h>.
35030 (_ZGVbN4v_sinf): Removed.
35031 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35032 ...
35033 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35034 Don't include <sysdep.h> nor <init-arch.h>.
35035 (_ZGVdN8v_sinf): Removed.
35036
10a87ca4
L
350372017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35038
35039 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35040 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35041 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35042 s_rint-sse4_1 and s_rintf-sse4_1.
35043 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35044 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35045 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35046 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35047 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35048 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35049 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35050 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35051 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35052 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35053 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35054 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35055 (__ceil): Removed.
35056 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35057 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35058 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35059 (__ceilf): Removed.
35060 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35061 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35062 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35063 (__floor): Removed.
35064 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35065 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35066 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35067 (__floorf): Removed.
35068 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35069 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35070 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35071 (__nearbyint): Removed.
35072 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35073 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35074 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35075 (__nearbyintf): Removed.
35076 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35077 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35078 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35079 (__rint): Removed.
35080 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35081 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35082 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35083 (__rintf): Removed.
35084
1e8e527d
L
350852017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35086
35087 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35088 SHARED. Avoid dynamic relocation against main in static PIE.
35089
e13daad7
L
350902017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35091
35092 [BZ #21815]
35093 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35094 (LDFLAGS-tst-prelink): Likewise.
35095
627c69c8
L
350962017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35097
35098 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35099 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35100 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35101 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35102 (INTERNAL_SYSCALL_NCS): Likewise.
35103 (LOADARGS_1): Likewise.
35104 (LOADARGS_5): Likewise.
35105 (RESTOREARGS_1): Likewise.
35106 (RESTOREARGS_5): Likewise.
35107
fc11ff8d
L
351082017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35109
35110 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35111 (MEMPCPY_SYMBOL): Likewise.
35112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35113 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35114 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35115 in libc.a.
35116 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35117 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35118 Likewise.
35119 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35120 (__hidden_ver1): Don't use in libc.a.
35121 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35122 (__mempcpy): Don't create a weak alias in libc.a.
35123 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35124 libc.a.
35125 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35126 (__hidden_ver1): Don't use in libc.a.
35127
19f1a11e
L
351282017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35129
35130 * config.make.in (have-insert): New.
35131 * configure.ac (libc_cv_insert): New. Set to yes if linker
35132 supports INSERT in linker script.
35133 (AC_SUBST(libc_cv_insert): New.
35134 * configure: Regenerated.
35135 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35136 if $(have-insert) == yes.
35137
3093fd5e
L
351382017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35139
35140 * elf/Makefile (tests): Add vismain only if
35141 $(have-protected-data) == yes.
35142 (tests-pie): Likewise.
35143
d2cf37c0
L
351442017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35145
35146 [BZ #21871]
35147 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35148 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35149
c8a0e6ec
L
351502017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35151
35152 [BZ #21790]
35153 * sysdeps/i386/i586/memset.S
35154 (__memset_zero_constant_len_parameter): Removed.
35155 * sysdeps/i386/i686/memset.S
35156 (__memset_zero_constant_len_parameter): Likewise.
35157 * sysdeps/i386/i686/multiarch/memset_chk.S
35158 (__memset_zero_constant_len_parameter): Likewise.
35159 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35160 Likewise.
35161
2b34e271
AJ
351622017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35163
35164 * stdlib/getentropy.c (getentropy): Change return type to int.
35165
144bdab0
AJ
351662017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35167
35168 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35169
24ab7723
JM
351702017-08-03 Joseph Myers <joseph@codesourcery.com>
35171
35172 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35173 u_intN_t.
35174 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35175 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35176 Likewise.
35177 (ieee_float_shape_type): Likewise.
35178 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35179 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35180 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35181 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35182 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35183 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35184 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35185 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35186 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35187 Likewise.
35188 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35189 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35190 (__ieee754_yn): Likewise.
35191 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35192 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35193 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35194 Likewise.
35195 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35196 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35197 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35198 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35199 (__erfc): Likewise.
35200 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35201 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35202 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35203 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35204 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35205 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35206 Likewise.
35207 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35208 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35209 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35210 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35211 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35212 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35213 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35214 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35215 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35216 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35217 (__issignaling): Likewise.
35218 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35219 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35220 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35221 Likewise.
35222 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35223 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35224 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35225 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35226 Likewise.
35227 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35228 Likewise.
35229 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35230 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35231 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35232 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35233 (__erfcf): Likewise.
35234 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35235 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35236 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35237 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35238 Likewise.
35239 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35240 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35241 Likewise.
35242 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35243 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35244 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35245 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35246 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35247 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35248 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35249 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35250 Likewise.
35251 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35252 Likewise.
35253 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35254 Likewise.
35255 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35256 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35257 Likewise.
35258 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35259 Likewise.
35260 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35261 (__ieee754_ynl): Likewise.
35262 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35263 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35264 Likewise.
35265 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35266 Likewise.
35267 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35268 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35269 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35270 Likewise.
35271 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35272 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35273 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35274 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35275 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35276 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35277 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35278 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35279 Likewise.
35280 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35281 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35282 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35283 Likewise.
35284 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35285 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35286 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35287 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35288 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35289 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35290 Likewise.
35291 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35292 Likewise.
35293 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35294 Likewise.
35295 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35296 Likewise.
35297 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35298 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35299 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35300 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35301 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35302 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35303 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35304 Likewise.
35305 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35306 Likewise.
35307 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35308 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35309 Likewise.
35310 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35311 (__ieee754_remainderl): Likewise.
35312 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35313 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35314 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35315 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35316 Likewise.
35317 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35318 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35319 Likewise.
35320 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35321 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35322 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35323 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35324 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35325 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35326 Likewise.
35327 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35328 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35329 (__ieee754_y0l): Likewise.
35330 (pzero): Likewise.
35331 (qzero): Likewise.
35332 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35333 (__ieee754_y1l): Likewise.
35334 (pone): Likewise.
35335 (qone): Likewise.
35336 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35337 (__ieee754_ynl): Likewise.
35338 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35339 (__ieee754_lgammal_r): Likewise.
35340 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35341 Likewise.
35342 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35343 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35344 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35345 (__erfcl): Likewise.
35346 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35347 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35348 Likewise.
35349 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35350 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35351 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35352 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35353 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35354 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35355 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35356 Likewise.
35357 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35358 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35359 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35360 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35361 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35362 Likewise.
35363 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35364 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35365 Likewise.
35366 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35367 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35368 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35369 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35370 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35371
964263bb
FW
353722017-08-03 Florian Weimer <fweimer@redhat.com>
35373
35374 [BZ #21885]
35375 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35376 on memory allocation failure.
35377
e98c925f
AM
353782017-08-03 Alan Modra <amodra@gmail.com>
35379
35380 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35381 tst-tlsopt-powerpc.c with function name change and no test harness.
35382 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35383 Call tls_get_addr_opt_test.
35384 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35385 (modules-names): Add mod-tlsopt-powerpc.
35386 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35387 (tst-tlsopt-powerpc): Depend on .so.
35388 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35389 define. Expand use in TLS_GD and TLS_LD.
35390
8ee1abdb
ST
353912017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35392
35393 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35394 function.
3da5756e 35395 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 35396
42df8d59
JM
353972017-08-02 Joseph Myers <joseph@codesourcery.com>
35398
35399 [BZ #21686]
35400 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35401 comparing size with that of double.
35402 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35403 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35404 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35405 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35406 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35407 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35408 unsigned __int128 types.
35409
b7f95f49
SE
354102017-08-02 Steve Ellcey <sellcey@cavium.com>
35411
35412 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35413 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35414 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35415 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35416 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35417
5b736bc9
L
354182017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35419
35420 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35421
dfc93c41
L
354222017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35423
35424 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35425 of SHARED.
35426 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35427 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35428 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35429 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35430 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35431 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35432 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35433
2fee621d
JM
354342017-08-02 Joseph Myers <joseph@codesourcery.com>
35435
35436 [BZ #21685]
35437 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35438 bit-field expressions passed to sizeof or typeof.
35439 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35440 (__TGMATH_F128): Likewise.
35441 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35442 (__TGMATH_CF128): Likewise.
35443 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35444 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35445 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35446 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35447 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35448 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35449 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35450 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35451 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35452 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35453 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35454 (__TGMATH_UNARY_IMAG): Likewise.
35455 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35456 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35457 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35458 type.
35459 (define_vars_for_type): Handle bit_field type specially.
35460 (Tests.__init__): Declare structure with bit-field element.
35461
b358255f
L
354622017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35463
35464 [BZ #21791]
35465 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35466 (MEMCPY_CHK): Define only if SHARED is defined.
35467 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35468 Likewise.
35469 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35470 Likewise.
edf66db1
SP
35471
35472See ChangeLog.18 for earlier changes.