]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
powerpc: Fix static-linked version of __ppc_get_timebase_freq [BZ #24640]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
335c1007
SS
12019-06-19 Stan Shebs <stanshebs@google.com>
2 Raoni Fassina Firmino <raoni@linux.ibm.com>
3
4 [BZ #24640]
5 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
6 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
7 static-linking version.
8 * sysdeps/unix/sysv/linux/powerpc/Makefile
9 (tests-static): Add test-gettimebasefreq-static.
10 (tests): Likewise.
11 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
12 New file.
13
f59a54ab
RL
142019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
15
16 [BZ #24614]
17 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
18 between the currency symbol and the minus sign).
19 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
20
f0c5a803
SL
212019-06-19 Stefan Liebler <stli@linux.ibm.com>
22
23 [BZ #24556]
24 * string/test-strcasestr.c (check_result): Add NULL check.
25 * nss/tst-field.c (check_rewrite): Likewise.
26 * benchtests/bench-strstr.c (do_one_test): Likewise.
27 * string/test-strstr.c (check_result): Likewise.
28 * argp/argp-test.c (popt): Increase size of buf to 12.
29 * benchtests/bench-malloc-simple.c (bench):
30 Do not initialize tests array out of bounds.
31
fabf5e49
FW
322019-06-19 Florian Weimer <fweimer@redhat.com>
33
34 [BZ #24166]
35 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
36 dls_serpath field.
37
2c75b545
FW
382019-06-18 Florian Weimer <fweimer@redhat.com>
39
40 [BZ #24323]
41 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
42 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
43 fail when called from dlopen.
44 * elf/Makefile [have-fpie && build-shared] (tests): Add
45 tst-dlopen-pie.
46 (tst-dlopen-pie): Link with -ldl.
47 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
48 * elf/tst-dlopen-pie.c (do_test): New file.
49
02d8b5ab
RL
502019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
51
52 [BZ #24614]
53 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
54 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
55 between the currency symbol and the minus sign).
56 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
57 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
58
78049de0
AZ
592019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
60
112a0ae1
AZ
61 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
62 sysdep-rtld-routines): Remove rules.
63 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
64 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
65 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
66 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
67 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
68 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
69 vDSO path for SHARED.
70 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
71 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
72 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
73 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
74 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
75 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
76
dee07df1
AZ
77 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
78 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
79 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
80 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
81 CFLAGS-s_llround-power5+.c): New rule.
82 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
83 New file.
84 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
85 Likewise.
86 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
87 Likewise.
88 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
89 Likewise.
90 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
91 Likewise.
92 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
93 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
94 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
95 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
96 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
97 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
98 * sysdeps/powerpc/powerpc64/fpu/Makefile
99 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
101 (libm-sysdep_routines): Remove s_llround-* objects.
102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
103 file.
104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
105 Likewise.
106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
107 Likewise.
108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
109 Likewise.
110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
111 Likewise.
112 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
113 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
114 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
115 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
116 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
117 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
118 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
119 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
120 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
121 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
122 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
123 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
124 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
125 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
126
2166283f
AZ
127 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
128 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
129 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
130 * sysdeps/powerpc/powerpc32/fpu/Makefile
131 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
132 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
133 optimization.
134 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
135 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
136 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
138 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
139 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
140 CFLAGS-s_lrint-ppc32.c): New rule.
141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
142 Remove file.
143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
144 Likewise.
145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
146 Likewise.
147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
148 Likewise.
149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
150 Likewise.
151 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
152 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
153 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
154 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
156 New file.
157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
158 Likewise.
159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
160 Likewise.
161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
162 Likewise.
163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
164 Likewise.
165
78049de0
AZ
166 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
167 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
168 s_llrint-ppc64.
169 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
170 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
171 file.
172 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
173 Likewise.
174 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
175 Likewise.
176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
177 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
179 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
181 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
182 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
183 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
185 (libm-sysdep_routines): Remove s_llrint-* objects.
186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
187 file.
188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
189 Likewise.
190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
191 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
192 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
193 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
194 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
195 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
196 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
197 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
198 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
199 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
200
48c3c123
FW
2012019-06-14 Florian Weimer <fweimer@redhat.com>
202
203 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
204 argument to __glibc_has_include to inhibit macro expansion.
205
8d141877
FW
2062019-06-14 Florian Weimer <fweimer@redhat.com>
207
208 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
209 function-like macro, so that __has_include can inhibit expansion
210 of its argument.
211
a26e2e9f
JM
2122019-06-13 Joseph Myers <joseph@codesourcery.com>
213
cf274686
JM
214 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
215 New macro.
216
a26e2e9f
JM
217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
218 Allow memset in libc.so.
219
82bc69c0
SN
2202019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
221
222 * sysdeps/aarch64/dl-dtprocnum.h: New file.
223 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
224 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
225 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
226 symbols at load time.
227 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
228
55f82d32
SN
2292019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
230
231 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
232 (DT_AARCH64_VARIANT_PCS): Define.
233
21bd039b
AZ
2342019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
235
11926960
AZ
236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
237 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
238 objects.
239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
240 Remove file.
241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
242 Likewise.
243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
245 Likewise.
246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
247 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
248 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
250 Remove s_finite* objects.
251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
257 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
258 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
259 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
260 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
261
a7218676
AZ
262 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
263 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
264
6427a6ac
AZ
265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
266 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
267 objects.
268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
269 Remove file.
270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
271 Likewise.
272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
274 Likewise.
275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
276 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
277 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
278 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
279 Remove s_isinf* and s_isinf* objects.
280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
286 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
287 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
288 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
289 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
290
a8c590f7
AZ
291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
292 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
293
2666f963
AZ
294 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
295 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
296 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
298 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
299 s_isnanf-* objects.
300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
301 Remove file
302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
303 Likewise.
304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
305 Likewise.
306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
307 Likewise.
308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
310 Likewise.
311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
312 Likewise.
313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
314 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
315 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
316 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
317 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
318 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
319 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
321 Remove s_isnan-* and s_isnanf-* objects.
322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
325 Likewise.
326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
331 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
332 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
333 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
334 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
335 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
336 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
337 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
338 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
339
197dbda1
AZ
340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
341 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
342
2731a326
AZ
343 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
344 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
345 CFLAGS-bench-isfinite.c): New rule.
346 * benchtests/isnan-input: New file.
347 * benchtests/isinf-input: New file.
348 * benchtests/isfinite-input: New file.
349
e41d66e4
AZ
350 * sysdeps/powerpc/fpu/s_copysign.c: New file.
351 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
352 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
353 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
355 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
356 s_copysign-ppc32.
357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
358 Remove file.
359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
360 Likewise.
361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
362 Likewise.
363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
364 Likewise.
365 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
366 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
368 Remove s_copysign-power6 s_copysign-ppc64.
369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
370 Remove file.
371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
372 Likewise.
373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
375 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
376 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
377 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
378 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
379
21bd039b
AZ
380 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
381 round_to_integer_float, round_mode): Add RINT handling.
382 (reset_fenv_mode): New symbol.
383 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
384 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
385 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
386 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
387 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
388 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
389
cfa61144
FW
3902019-06-12 Florian Weimer <fweimer@redhat.com>
391
392 [BZ #24632]
393 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
394 * libio/freopen.c (freopen): Use it.
395
744e8296
FW
3962019-06-12 Florian Weimer <fweimer@redhat.com>
397
398 Linux: Deprecate sysctl.
399 * include/sysctl.h (__sysctl): Remove declaration.
400 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
401 check.
402 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
403 (sysctl): Add deprecation attribute.
404 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
405 directly, to avoid the deprecation warning. Do not include
406 <string.h>.
407 (__sysctl): Remove hidden alias.
408
5dad6ffb
FW
4092019-06-12 Florian Weimer <fweimer@redhat.com>
410
411 Linux: Use kernel headers for statx definitions if available.
412 * include/bits/statx-generic.h: New file.
413 * include/bits/types/struct_statx.h: Likewise.
414 * include/bits/types/struct_statx_timestamp.h: Likewise.
415 * io/Makefile (headers): Add bits/statx-generic.h.
416 * io/bits/statx-generic.h: New file. Partly copied from
417 io/bits/statx.h.
418 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
419 define original_statx.
420 * io/bits/types/struct_statx.h: Likewise.
421 * io/bits/types/struct_statx_timestamp.h: Likewise.
422 (statx_generic): Use original_statx.
423 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
424 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
425
4e75c2a4
FW
4262019-06-12 Florian Weimer <fweimer@redhat.com>
427
428 * misc/sys/cdefs.h (__glibc_has_include): Define.
429
680942b0
WD
4302019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
431
432 * string/memmem.c (__memmem): Rewrite to improve performance.
433
5e0a7ecb
WD
4342019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
435
436 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
437 warning.
438 (two_way_long_needle): Block inlining.
439 * string/strstr.c (strstr2): Add new function.
440 (strstr3): Likewise.
441 (STRSTR): Completely rewrite strstr to improve performance.
442
80b2bfb5
WD
4432019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
444
445 * benchtests/bench-strstr.c (test_hard_needle): New function.
446
e6e24243
JM
4472019-06-10 Joseph Myers <joseph@codesourcery.com>
448
449 * malloc/tst-calloc.c: Include <libc-diag.h>.
450 (null_test): Ignore -Wunused-result around calls to calloc.
451 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
452 (do_test): Ignore -Wunused-result around call to malloc.
453
51ea67d5
FW
4542019-06-07 Florian Weimer <fweimer@redhat.com>
455
456 Linux: Add getdents64 system call.
457 * include/dirnent.h (getdents): Add comment and change buffer
458 argument type to void *.
459 (getdents64): Likewise. Add hidden prototype.
460 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
461 getdents64.
462 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
463 Add tst-getdents64.
464 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
465 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
466 argument type to void *.
467 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
468 Add hidden definition and getdents64 alias.
469 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
470 Likewise.
471 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
472 * manual/filesys.texi (Accessing Directories): Add Low-level
473 Directory Access node reference.
474 (Opening a Directory): Cross-reference it.
475 (Low-level Directory Access): New node.
476 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
477 getdents64.
478 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
479 Likewise.
480 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
481 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
482 Likewise.
483 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
484 Likewise.
485 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
486 Likewise.
487 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
488 Likewise.
489 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
490 Likewise.
491 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
492 Likewise.
493 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
494 Likewise.
495 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
496 (GLIBC_2.30): Likewise.
497 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
498 (GLIBC_2.30): Likewise.
499 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
500 (GLIBC_2.30): Likewise.
501 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
502 (GLIBC_2.30): Likewise.
503 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
504 Likewise.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
506 (GLIBC_2.30): Likewise.
507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
508 (GLIBC_2.30): Likewise.
509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
510 (GLIBC_2.30): Likewise.
511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
512 (GLIBC_2.30): Likewise.
513 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
514 Likewise.
515 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
516 Likewise.
517 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
518 Likewise.
519 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
520 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
521 Likewise.
522 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
523 Likewise.
524 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
525 Likewise.
526 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
527 Likewise.
528
de751ebc
PC
5292019-06-06 Paul A. Clarke <pc@us.ibm.com>
530
531 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
532 (__FPU_MFFS): New.
533 (__FPU_MFFSL): New.
534 (_FPU_GET_RC): New.
535 (_FPU_GETCW): Use __FPU_MFFS().
536 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
537
28dd3939
FW
5382019-06-06 Florian Weimer <fweimer@redhat.com>
539
540 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
541 internal GCC preprocessor identifier __has_include__.
542
0158473d
PC
5432019-06-05 Paul A. Clarke <pc@us.ibm.com>
544
545 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
546 with call to equivalent function.
547
e863dbf6
FW
5482019-06-04 Florian Weimer <fweimer@redhat.com>
549
550 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
551 (do_release_shlib): Adjust for __twalk_r.
552 (__gconv_release_shlib): Call __twalk_r.
553
4802be92
AS
5542019-06-04 Andreas Schwab <schwab@suse.de>
555
556 [BZ #18830]
557 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
558 no irreversible characters occurred.
559 * iconv/gconv_simple.c (internal_ucs4_loop)
560 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
561 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
562 (ucs4_internal_loop_single, internal_ucs4le_loop)
563 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
564 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
565 (ucs4le_internal_loop_single): Add const to outend.
566 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
567 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
568 * iconv/Makefile (tests): Add tst-iconv7.
569 * iconv/tst-iconv7.c: New file.
570
dc91a19e
JM
5712019-06-03 Joseph Myers <joseph@codesourcery.com>
572
573 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
574
6a1a9a49 5752019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
576
577 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
578 * sysdeps/unix/sysv/linux/arm/Makefile
579 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
580 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
581 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
582 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
583 compatibility symbols.
584
0bb8f8c7
FW
5852019-05-31 Florian Weimer <fweimer@redhat.com>
586
587 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
588 system calls for the arm architecture: breakpoint, get_tls,
589 set_tls, usr26, usr32.
590
9250e661
GG
5912019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
592
593 * sysdeps/powerpc/Makefile
594 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
595 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
596 Declare '.machine power7' to get support for ldbrx.
597 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
598 directive based on the directory of the file.
599 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
600 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
601 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
602 '.machine' directive.
603 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
604 (VADDUQM_V7_V8): Remove.
605 (__STRCASECMP): Replace macros with actual instructions.
606 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
607 '.machine' directive.
608 (VCLZD_V8_v7): Remove.
609 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
610
fbd6c928
AZ
6112019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
612
613 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
614 Remove file.
615 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
616
e47308c9
AZ
6172019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
618
619 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
620 NEARBYINT handling.
621 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
622 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
623 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
624 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
625 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
626 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
627
157cda1f 6282019-05-28 mansayk <6688000@gmail.com>
629
630 [BZ #24370]
631 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
632
182a3746 6332019-05-28 mansayk <6688000@gmail.com>
634
635 [BZ #24369]
636 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
637 (abmon): Likewise, but remove the trailing dots.
638
c6df1ce3
JM
6392019-05-28 Joseph Myers <joseph@codesourcery.com>
640
641 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
642
85188d82
FW
6432019-05-27 Florian Weimer <fweimer@redhat.com>
644
645 * nptl/nptl-init.c: Add comment.
646
5c23c821
FW
6472019-05-24 Florian Weimer <fweimer@redhat.com>
648
649 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
650 struct in_addr/struct in6_addr alignment.
651
bee1f2c4
JM
6522019-05-23 Joseph Myers <joseph@codesourcery.com>
653
654 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
655 (F_SEAL_FUTURE_WRITE): New macro.
656
481c30cb
AH
6572019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
658
659 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
660 * elf/tst-ldconfig-bad-aux-cache.c: New file.
661 * elf/tst-ldconfig_aux-cache.root: New directory.
662 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
663 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
664 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
665
cb755eed
ZW
6662019-05-22 Zack Weinberg <zackw@panix.com>
667
668 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
669 host type.
670 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
671 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
672
673 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
676 Delete.
677
678 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
679 Issue an #error if used with a compiler in SPE-float mode.
680 * sysdeps/powerpc/powerpc32/__longjmp_common.S
681 * sysdeps/powerpc/powerpc32/setjmp_common.S
682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
688 Remove code to preserve SPE register state.
689
690 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
691 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
692 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
693 Remove __SPE__ ifndefs.
694
46ae0732
WD
6952019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
696
697 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
698 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
699 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
700 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
701 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
702 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
703 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
704 (INNER_LOOP_ITERS_MEDIUM): New define.
705 (INNER_LOOP_ITERS_SMALL): New define.
706 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
707 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
708 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
709 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
710 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
711
004e52fe
AZ
7122019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
713
714 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
715 New define.
716 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
717 (SEMTIMEDOP_IPC_ARGS): Likewise.
718
c9c15ac3
FW
7192019-05-21 Florian Weimer <fweimer@redhat.com>
720
721 [BZ #24584]
722 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
723 before updating __counter field and release it afterwards. Add
724 overflow check.
725 * iconv/gconv.h (struct __gconv_step): Mention synchronization
726 requirement for __counter member.
727
7e740ab2
FW
7282019-05-21 Florian Weimer <fweimer@redhat.com>
729
730 [BZ #24583]
731 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
732 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
733 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
734 instead of __gconv_release_step.
735 * libio/Makefile (tests): Add tst-wfile-gconv.
736 (tests-container): Add tst-wfile-ascii.
737 (tst-wfile-gconv-ENV): Enable mtrace.
738 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
739 (tests-special): Add tst-wfile-gconv-mem.out.
740 (tst-wfile-gconv.out): Depend on locales.
741 (tst-wfile-gconv-mem.out): Add mtrace rule.
742 * libio/tst-wfile-ascii.c: New file.
743 * libio/tst-wfile-gconv.c: Likewise.
744
09e1b0e3
FW
7452019-05-20 Florian Weimer <fweimer@redhat.com>
746
747 [BZ #24588]
748 libio: Remove codecvt vtable.
749 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
750 __libio_codecvt.
751 * libio/iofgetpos.c (_IO_new_fgetpos): Call
752 __libio_codecvt_encoding.
753 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
754 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
755 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
756 * libio/iofwide.c (__libio_codecvt): Remove variable.
757 (_IO_fwide): Do not copy __libio_codecvt.
758 (__libio_codecvt_out): Rename from do_out and export.
759 (do_unshift): Remove function.
760 (__libio_codecvt_in): Rename from do_in and export.
761 (__libio_codecvt_encoding): Rename from do_encoding and export.
762 (do_always_noconv): Remove function.
763 (__libio_codecvt_length): Rename from do_length and export.
764 (do_max_length): Remove function.
765 * libio/libio.h (enum __codecvt_result): Remove definition; moved
766 to libioP.h.
767 (struct _IO_codecvt): Remove fields __codecvt_destr,
768 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
769 __codecvt_do_encoding, __codecvt_do_always_noconv,
770 __codecvt_do_length, __codecvt_do_max_length.
771 * libio/libioP.h (enum __codecvt_result): Define; moved from
772 libio.h.
773 (__libio_codecvt_out, __libio_codecvt_in)
774 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
775 functions.
776 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
777 (_IO_wfile_underflow): Call __libio_codecvt_in.
778 (_IO_wfile_underflow): Likewise.
779 (_IO_wfile_underflow_mmap): Likewise.
780 (_IO_wfile_sync): Call __libio_codecvt_encoding,
781 __libio_codecvt_length.
782 (adjust_wide_data): Call __libio_codecvt_encoding,
783 __libio_codecvt_in.
784 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
785 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
786 __libio_codecvt_length.
787
75c51570
FW
7882019-05-20 Florian Weimer <fweimer@redhat.com>
789
790 * support/support.h (support_sbindir_prefix): Declare.
791 (support_install_rootsbindir): Update comment.
792 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
793 * support/support_paths.c (support_sbindir_prefix): Define.
794
ff6bec7d
MC
7952019-05-20 Mike Crowe <mac@mcrowe.com>
796
b62bb3bc
MC
797 * support/timespec.c: Add backslash to correct newline in failure
798 message.
799
ff6bec7d
MC
800 * support/timespec.h: Correct confusing comment.
801
dfba907f
AZ
8022019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
803
236c18e5
AZ
804 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
805 define.
806 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
807 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
808 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
809 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
810
dfba907f
AZ
811 [BZ #24570]
812 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
813 usage.
814
13886008
JM
8152019-05-20 Joseph Myers <joseph@codesourcery.com>
816
817 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
818 (NT_ARM_PACG_KEYS): Likewise.
819
1f50f2ad
WD
8202019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
821
822 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
823 (tcache_put): Remove redundant assert.
824 (tcache_get): Remove redundant asserts.
825 (__libc_malloc): Check tcache count is not zero.
826 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
827
fef7c63c
FW
8282019-05-17 Florian Weimer <fweimer@redhat.com>
829
830 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
831
5f161b23
JM
8322019-05-16 Joseph Myers <joseph@codesourcery.com>
833
834 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
835 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
836 0x050100].
837 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
838 Likewise.
839 * sysdeps/unix/sysv/linux/sh/kernel-features.h
840 (__ASSUME_STATX): Likewise.
841
ec255a97
FW
8422019-05-16 Florian Weimer <fweimer@redhat.com>
843
844 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
845 flags argument.
846 (LINE_PARSER): Do not map IPv4 addresses.
847 (internal_nis_gethostent_r): Remove flags argument. Adjust call
848 to parse_line.
849 (_nss_nis_gethostent_r): Always pass AF_INET to
850 internal_nis_gethostent_r.
851 (internal_gethostbyname2_r): Remove flags argument. Adjust call
852 to parse_line.
853 (_nss_nis_gethostbyname2_r): Adjust call to
854 internal_nis_gethostent_r.
855 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
856 call to internal_nis_gethostent_r.
857 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
858 from parse_line.
859 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
860 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
861 Remove flags argument. Do not map IPv4 addresses.
862 (internal_nisplus_gethostent_r): Adjust call to
863 _nss_nisplus_parse_hostent.
864 (internal_gethostbyname2_r): Remove flags argument. Adjust call
865 to _nss_nisplus_parse_hostent.
866 (_nss_nisplus_gethostbyname2_r): Adjust call to
867 internal_gethostbyname2_r.
868 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
869 Adjust call to internal_gethostbyname2_r.
870 (_nss_nisplus_gethostbyaddr_r): Adjust call to
871 _nss_nisplus_parse_hostent.
872 (_nss_nisplus_gethostbyname4_r): Adjust call to
873 internal_gethostbyname2_r.
874
9c02d078
FW
8752019-05-16 Florian Weimer <fweimer@redhat.com>
876
877 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
878 Remove flags.
879 (LINE_PARSER): Remove address mapping.
880 (EXTRA_ARGS_VALUE): Remove flags argument.
881 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
882 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
883 gethostbyname3_multi.
884 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
885 _nss_files_gethostbyname3_r.
886 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
887
85b0e1e8
FW
8882019-05-16 Florian Weimer <fweimer@redhat.com>
889
890 * support/support_test_compare_blob.c (report_blob): Report
891 incorrect NULL blobs.
892
11b451c8
MW
8932019-05-15 Mark Wielaard <mark@klomp.org>
894
895 [BZ# 24476]
896 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
897 __libc_once_get (once) and static_buf == NULL.
898 (__dlerror): Check we have a valid key, set result to static_buf
899 otherwise.
900
32ff3975
AS
9012019-05-15 Andreas Schwab <schwab@suse.de>
902
903 [BZ #20568]
904 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
905 __codecvt_do_length.
906 * libio/Makefile (tests): Add tst-wfile-sync.
907 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
908 * libio/tst-wfile-sync.c: New file.
909 * libio/tst-wfile-sync.input: New file.
910
a9368c34
FW
9112019-05-15 Florian Weimer <fweimer@redhat.com>
912
913 nss: Turn __nss_database_lookup into a compatibility symbol.
914 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
915 __nss_database_lookup.
916 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
917 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
918 __nss_database_lookup.
919 (__nss_next): Move to …
920 * nss/compat-lookup.c (nss_next): … here. Change it to fail
921 unconditionally.
922 (__nss_database_lookup): New function.
923 * nss/Versions (GLIBC_2.0): Update comment.
924 (GLIBC_PRIVATE): Export __nss_database_lookup2.
925 * grp/initgroups.c (internal_getgrouplist): Call
926 __nss_database_lookup2 instead of __nss_database_lookup.
927 * nscd/aicache.c (addhstaiX): Likewise.
928 * nscd/initgrcache.c (addinitgroupsX): Likewise.
929 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
930 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
931 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
932 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
933 Likewise.
934 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
935 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
937
d50f0918 9382019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 939
d50f0918
AH
940 * support/support.h (support_install_rootsbindir): New variable.
941 * support/support_paths.c: Likewise.
942 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
943
7ac6fad9
FW
9442019-05-15 Florian Weimer <fweimer@redhat.com>
945
946 * iconv/gconv.h (__gconv_transliterate): Move declaration …
947 * iconv/gconv_int.h (__gconv_transliterate): … here.
948 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
949 * iconv/skeleton.c: Likewise.
950
04b261bd
FW
9512019-05-14 Florian Weimer <fweimer@redhat.com>
952
953 Linux: Add the tgkill function.
954 * bits/signal_ext.h: New file.
955 * manual/signal.texi (Signaling Another Process): Document tgkill.
956 * signal/Makefile (headers): Add bits/signal_ext.h.
957 * signal/signal.h: Include <bits/signal_ext.h>.
958 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
959 (tst-tgkill): Link with libpthread.
960 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
961 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
962 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
963 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
964 tgkill.
965 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
966 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
967 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
968 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
969 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
970 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
971 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
972 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
973 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
974 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
975 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
976 Likewise.
977 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
978 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
979 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
981 Likewise.
982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
983 Likewise.
984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
985 Likewise.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
987 Likewise.
988 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
989 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
990 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
991 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
992 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
993 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
994 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
995 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
996
6807f47b
CD
9972019-05-14 Carlos O'Donell <carlos@redhat.com>
998
999 * manual/search.texi (Tree Search Function): Adjust twalk_r
1000 documentation.
1001
fdb8a0be
AZ
10022019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1003
da2b83ef
AZ
1004 [BZ #24544]
1005 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
1006 pre-defined value.
1007
c7ac9caa
AZ
1008 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
1009 * support/support.h (support_bindir_prefix): New variable.
1010 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
1011
91f043ae
AZ
1012 * config.make.in (bindir): New variable.
1013
c50e1c26
AZ
1014 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
1015 (lll_trylock): Call __lll_trylock.
1016 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
1017 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
1018 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1019 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1020 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1021 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1022 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1023 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1024 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1025 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1026 lowlevellock-futex.h.
1027
959aff9f
AZ
1028 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1029 initialization for LLL_LOCK_INITIALIZER different than 0.
1030 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1031 Assume LLL_LOCK_INITIALIZER being 0.
1032 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1033 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1034 Likewise.
1035 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1036 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1037
d7e4c642
AZ
1038 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1039 Optimize futex call and add systemtap probe.
1040
fdb8a0be
AZ
1041 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1042 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1043 __libc_disable_asynccancel, __librt_enable_asynccancel,
1044 __libc_disable_asynccancel, __librt_enable_asynccancel,
1045 __librt_disable_asynccancel): Move to ...
1046 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1047 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1048 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1049 * sysdeps/generic/single-thread.h: New file.
1050 * sysdeps/unix/sysdep.h: Include single-thread.h.
1051 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1052 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1053
f6efec90
MF
10542019-05-08 Mike FABIAN <mfabian@redhat.com>
1055
1056 [BZ #24535]
1057 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1058 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1059 Unicode 12.1.0.
1060 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1061 * localedata/unicode-gen/PropList.txt: Likewise.
1062 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1063 * localedata/charmaps/UTF-8: Regenerate.
1064 * localedata/locales/i18n_ctype: Likewise.
1065 * localedata/locales/tr_TR: Likewise.
1066 * localedata/locales/translit_circle: Likewise.
1067 * localedata/locales/translit_cjk_compat: Likewise.
1068 * localedata/locales/translit_combining: Likewise.
1069 * localedata/locales/translit_compat: Likewise.
1070 * localedata/locales/translit_font: Likewise.
1071 * localedata/locales/translit_fraction: Likewise.
1072
5ad533e8
WD
10732019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1074
1075 [BZ #24531]
1076 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1077 (do_set_tcache_count): Only update if count is small enough.
1078 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1079
4aee85f9
FW
10802019-05-10 Florian Weimer <fweimer@redhat.com>
1081
1082 * nptl/sem_close.c (struct walk_closure): Define.
1083 (walker): Adjust for __twalk_r.
1084 (sem_close): Call __twalk_r.
1085
eb669ff5
AZ
10862019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1087
1088 * support/timespec.c (test_timespec_before_impl,
1089 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1090 insted of long int.
1091
51983996
MC
10922019-05-09 Mike Crowe <mac@mcrowe.com>
1093
44ac6ee9
MC
1094 * nptl/tst-abstime.c: Use libsupport.
1095
495514ee
MC
1096 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1097 small bug where only tv.tv_usec was checked which could cause an
1098 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1099 than a second.
1100
1101 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1102 libsupport.
1103
40d0816f
MC
1104 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1105 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1106
d8e0b901
MC
1107 * nptl/tst-cond11.c: Use libsupport.
1108
51983996
MC
1109 * support/timespec.h: New file. Provide timespec helper functions
1110 along with macros in the style of those in check.h.
1111 * support/timespec.c: New file. Implement check functions declared
1112 in support/timespec.h.
1113 * support/timespec-add.c: New file from gnulib containing
1114 timespec_add implementation that handles overflow.
1115 * support/timespec-sub.c: New file from gnulib containing
1116 timespec_sub implementation that handles overflow.
1117 * support/README: Mention timespec.h.
1118
18aa51ee
SN
11192019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1120
1121 [BZ #24537]
1122 * nptl/Makefile: Move tst-eintr1 to xtests.
1123
252296c6
AZ
11242019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1125
ae45cf84
AZ
1126 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1127 TRUNC handling.
1128 (round_mode): Add definition for TRUNC.
1129 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1130 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1131 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1132 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1133 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1134 Likewise.
1135 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1136 Likewise.
1137 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1138 Likewise.
1139 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1140 Likewise.
1141 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1142 file.
1143 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1144 Likewise.
1145 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1146 Likewise.
1147 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1148 Likewise.
1149 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1150 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1151 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1152 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1153 s_truncf-power5+, and s_truncf-ppc64.
1154 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1155 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1156 file.
1157 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1159 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1160 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1161 file.
1162 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1163 Likewise.
1164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1165 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1166 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1167 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1168 s_truncf-power5+, and s_truncf-ppc64.
1169 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1170 file.
1171 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1172 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1173 Likewise.
1174 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1175 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1176 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1177 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1178 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1179
a1cb1888
AZ
1180 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1181 ROUND handling.
1182 (round_mode): Add definition for ROUND.
1183 (round_to_integer_float): Likewise.
1184 * sysdeps/powerpc/fpu/s_round.c: New file.
1185 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1186 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1187 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1188 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1189 Likewise.
1190 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1191 Likewise.
1192 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1193 Likewise.
1194 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1195 Likewise.
1196 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1197 file.
1198 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1199 Likewise.
1200 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1201 Likewise.
1202 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1203 Likewise.
1204 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1205 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1206 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1207 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1208 s_roundf-power5+, and s_roundf-ppc64.
1209 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1210 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1211 file.
1212 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1214 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1215 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1216 file.
1217 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1218 Likewise.
1219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1220 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1222 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1223 s_roundf-power5+, and s_roundf-ppc64.
1224 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1225 file.
1226 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1227 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1228 Likewise.
1229 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1230 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1231 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1232 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1233 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1234
252296c6
AZ
1235 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1236 Add FLOOR option.
1237 (round_mode): Add definition for FLOOR.
1238 * sysdeps/powerpc/fpu/s_floor.c: New file.
1239 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1240 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1241 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1243 Remove file.
1244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1245 Likewise
1246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1247 Likewise.
1248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1249 Likewise.
1250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1251 New file.
1252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1253 Likewise.
1254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1255 Likewise.
1256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1257 Likewise.
1258 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1259 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1260 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1261 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1262 s_floorf-power5+, and s_floorf-ppc64.
1263 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1264 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1265 file.
1266 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1268 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1269 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1270 file.
1271 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1272 Likewise.
1273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1274 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1275 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1276 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1277 s_floorf-power5+, and s_floorf-ppc64.
1278 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1279 file.
1280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1281 file.
1282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1283 Likewise.
1284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1285 Likewise.
1286 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1287 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1288 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1289 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1290
33647a72
MC
12912019-05-08 Mike Crowe <mac@mcrowe.com>
1292
1293 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1294 clock_gettime wrapper for use in tests that fails the test rather
1295 than returning failure.
1296
1297 * support/xtime.h: New file to declare xclock_gettime.
1298
1299 * support/Makefile: Add xclock_gettime.c.
1300
1301 * support/README: Mention xtime.h.
1302
b2f601ba
FW
13032019-05-08 Florian Weimer <fweimer@redhat.com>
1304
1305 malloc/tst-mallocfork2: Use process-shared barriers.
1306 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1307 (signal_count, sigusr1_sender_pid): Remove.
1308 (iterations): Define constant.
1309 (shared): New variable.
1310 (sigusr1_received): Update comment.
1311 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1312 (signal_sender): Optional use barriers to avoid sending signals
1313 during irrelevant times.
1314 (do_it): Initialize variable shared. Use xfork for error
1315 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1316 the iteration count, independent of signal delivery. Check for
1317 deadlocks in fork. Introduce barriers for reducing signal
1318 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1319 replaced by the barriers. Count signals during fork/free/malloc
1320 and report them.
1321 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1322
c4a392cf
JM
13232019-05-07 Joseph Myers <joseph@codesourcery.com>
1324
7621676f
JM
1325 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1326 version to 5.1.
1327 (clock_adjtime64) New syscall.
1328 (clock_getres_time64) Likewise.
1329 (clock_gettime64) Likewise.
1330 (clock_nanosleep_time64) Likewise.
1331 (clock_settime64) Likewise.
1332 (futex_time64) Likewise.
1333 (io_pgetevents_time64) Likewise.
1334 (io_uring_enter) Likewise.
1335 (io_uring_register) Likewise.
1336 (io_uring_setup) Likewise.
1337 (mq_timedreceive_time64) Likewise.
1338 (mq_timedsend_time64) Likewise.
1339 (pidfd_send_signal) Likewise.
1340 (ppoll_time64) Likewise.
1341 (pselect6_time64) Likewise.
1342 (recvmmsg_time64) Likewise.
1343 (rt_sigtimedwait_time64) Likewise.
1344 (sched_rr_get_interval_time64) Likewise.
1345 (semtimedop_time64) Likewise.
1346 (timer_gettime64) Likewise.
1347 (timer_settime64) Likewise.
1348 (timerfd_gettime64) Likewise.
1349 (timerfd_settime64) Likewise.
1350 (utimensat_time64) Likewise.
1351
c4a392cf
JM
1352 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1353 version to 9 branch.
1354
32e902a9
AY
13552019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1356
1357 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1358 __memmove_thunderx2 to the list of implementations
1359 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1360 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1361 (__memmove_thunderx2): Rewritten using SIMD ld/st
1362 (__memcpy_thunderx2): Fixed handling overlapping cases.
1363 Used ldp/stp instead of ldr/str if possible. Made loops
1364 tails branchless.
1365
ac3da35d
FW
13662019-05-03 Florian Weimer <fweimer@redhat.com>
1367
1368 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1369
b2af6fb2
AZ
13702019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1371
7dfde28a 1372 [BZ #24506]
b2af6fb2
AZ
1373 * elf/tst-pldd.c (in_str_list): New function.
1374 (do_test): Add default names for ld and libc as one option.
1375
7b807a35
FW
13762019-05-02 Florian Weimer <fweimer@redhat.com>
1377
1378 misc: Add twalk_r function.
1379 * include/search.h (__twalk_r): Declare.
1380 * manual/examples/twalk.c: New file.
1381 * manual/search.texi (Tree Search Function): Document twalk_r.
1382 * misc/Versions (2.30): Export twalk_r.
1383 (GLIBC_PRIVATE): Export __twalk_r.
1384 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1385 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1386 (twalk_r): Add weak alias.
1387 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1388 (walk_trace): New variable.
1389 (struct twalk_with_twalk_r_closure): Define.
1390 (twalk_with_twalk_r_action): New function.
1391 (twalk_with_twalk_r): Likewise.
1392 (walk_action): Call walk_trace_add.
1393 (walk_tree_with): Rename from walk_tree. Add walk argument.
1394 (walk_tree): New function.
1395 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1396 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1397 Likewise.
1398 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1399 Likewise.
1400 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1401 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1402 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1403 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1404 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1405 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1406 Likewise.
1407 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1408 Likewise.
1409 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1410 Likewise.
1411 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1412 (GLIBC_2.30): Likewise.
1413 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1414 (GLIBC_2.30): Likewise.
1415 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1416 (GLIBC_2.30): Likewise.
1417 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1418 (GLIBC_2.30): Likewise.
1419 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1420 Likewise.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1422 (GLIBC_2.30): Likewise.
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1424 (GLIBC_2.30): Likewise.
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1426 (GLIBC_2.30): Likewise.
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1428 (GLIBC_2.30): Likewise.
1429 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1430 Likewise.
1431 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1432 Likewise.
1433 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1434 Likewise.
1435 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1436 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1437 Likewise.
1438 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1439 Likewise.
1440 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1441 Likewise.
1442 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1443 Likewise.
1444
20aa5819
PE
14452019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1446
1447 Make mktime etc. compatible with __time64_t
1448 Keep these functions compatible with Gnulib while adding
1449 __time64_t support. The basic idea is to move private API
1450 declarations from include/time.h to time/mktime-internal.h, since
1451 the former file cannot easily be shared with Gnulib whereas the
1452 latter can.
1453 Also, do some other minor cleanup while in the neighborhood.
1454 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1455 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1456 since Gnulib needs it.
1457 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1458 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1459 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1460 (in_time_t_range): New static function.
1461 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1462 so that glibc users are not tempted to use __time64_t.
1463 * time/mktime-internal.h: Rewrite so that it does both glibc
1464 and Gnulib work. Include time.h if not _LIBC.
1465 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1466 (__time64_t): New type or macro, moved here from
1467 posix/bits/types.h.
1468 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1469 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1470 from include/time.h.
1471 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1472 New macros, taken from GNulib.
1473 (__mktime_internal): New prototype, moved here from include/time.h.
1474 * time/mktime.c (mktime_min, mktime_max, convert_time)
1475 (ranged_convert, __mktime_internal, __mktime64):
1476 * time/timegm.c (__timegm64):
1477 Use __time64_t, not time_t.
1478 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1479 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1480 Rename from mktime.
1481 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1482 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1483 for libc_hidden_def.
1484 Include errno.h.
1485 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1486 Rename from timegm.
1487 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1488
87c266d7
MR
14892019-04-30 Maciej W. Rozycki <macro@wdc.com>
1490
1491 [BZ #19444]
1492 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1493 from `-Wmaybe-uninitialized'.
1494 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1495
c4c0848b
AZ
14962019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1497
6cac323c
AZ
1498 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1499 function.
1500 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1501 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1502 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1503 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1504 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1506 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1508 Remove file.
1509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1510 Likewise.
1511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1512 Likewise.
1513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1514 Likewise.
1515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1516 New file.
1517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1518 Likewise.
1519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1520 Likewise.
1521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1522 Likewise.
1523 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1524 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1525 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1526 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1527 Likewise.
1528 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1529 Likewise.
1530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1531 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1532 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1533 file.
1534 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1535 Likewise.
1536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1537 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1538 * here.
1539 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1540 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1541 s_ceilf-power5+, and s_ceilf-ppc64.
1542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1543 file.
1544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1547 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1548 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1549 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1550 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1551
c4c0848b
AZ
1552 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1553 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1554 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1555
f492fc99
YD
15562019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1557
1558 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1559 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1560 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1561 (sem_getvalue): Likewise.
1562
c57afec0
FW
15632019-04-26 Florian Weimer <fweimer@redhat.com>
1564
1565 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1566 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1567
a8ff215e
FW
15682019-04-26 Florian Weimer <fweimer@redhat.com>
1569
1570 Makeconfig: Move -Wl,-rpath-link options before library references.
1571 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1572 (link-libc): Remove $(link-libc-rpath-link).
1573
15742019-04-25 Florian Weimer <fweimer@redhat.com>
1575
1576 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1577 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1578 (+link-static-before-libc): Remove $(CC).
1579 (+link-static, +link-static-tests): Add $(CC).
1580 (+link-before-libc): Remove $(CC).
1581 (+link, +link-pie, +link-pie-printers): Add $(CC).
1582
e30fb31c
FW
15832019-04-26 Florian Weimer <fweimer@redhat.com>
1584
1585 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1586 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1587 (+link-static-before-libc): Remove $(CC).
1588 (+link-static, +link-static-tests): Add $(CC).
1589 (+link-before-libc): Remove $(CC).
1590 (+link, +link-pie, +link-pie-printers): Add $(CC).
1591
deacca00
DA
15922019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1593
1594 [BZ#24484]
1595 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1596
b5ffdc48
FW
15972019-04-25 Florian Weimer <fweimer@redhat.com>
1598
1599 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1600 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1601 (bench-link-targets): New variable.
1602 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1603
94a4e9e4
FW
16042019-04-25 Florian Weimer <fweimer@redhat.com>
1605
1606 Also enable BIND_NOW for programs if --enable-bind-now.
1607 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1608 (+link-pie): Use $(link-extra-flags).
1609 (+link-static): Likewise.
1610 [! $(build-pie-default)] (+link): Likewise.
1611 * manual/install.texi (Configuring and compiling): Update
1612 --enable-bind-now description.
1613 * INSTALL: Regenerated.
1614
fe92a91f
WD
16152019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1616
1617 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1618 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1619
f9b645b4
MF
16202019-04-24 Mike Frysinger <vapier@gentoo.org>
1621
1622 [BZ #18465]
1623 * malloc/Makefile (others): Add memusagestat.
1624 ($(objpfx)memusagestat): Delete rule.
1625 (LDLIBS-memusagestat): New variable.
1626
439bf534
FW
16272019-04-24 Florian Weimer <fweimer@redhat.com>
1628
1629 * locale/Makefile (tests-special): Guard setting by
1630 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1631 to run while cross-compiling.
1632
1a4c2735
AZ
16332019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1634
1635 [BZ #18035]
1636 * elf/Makefile (tests-container): Add tst-pldd.
1637 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1638 (E(find_maps)): Avoid use alloca, use default read file operations
1639 instead of explicit LFS names, and fix infinite loop.
1640 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1641 (get_process_info): Use _Static_assert instead of assert, use default
1642 directory operations instead of explicit LFS names, and free some
1643 leadek pointers.
1644 * elf/tst-pldd.c: New file.
1645
2d398aa2
L
16462019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1647
1648 * malloc/arena.c (do_set_mallopt_check): Removed.
1649
e485b2b6
FW
16502019-04-23 Florian Weimer <fweimer@redhat.com>
1651
1652 locale: Add LOCPATH diagnostics to the locale program.
1653 * locale/programs/locale.c (setlocale_failed): New variable.
1654 (try_setlocale): New function.
1655 (quote_string): Likewise.
1656 (setlocale_diagnostics): Likewise.
1657 (main): Call try_setlocale instead of setlocale. Call
1658 setlocale_diagnostics.
1659 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1660 (tst-locale-locpath.out): New target.
1661 * locale/tst-locale-locpath.sh: New file.
1662
25f7a3c9
AZ
16632019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1664
1665 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1666 to 2.30 notes.
1667
9bf8e29c
AZ
16682019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1669
1670 [BZ #23741]
1671 * malloc/hooks.c (malloc_check, realloc_check): Use
1672 __builtin_add_overflow on overflow check and adapt to
1673 checked_request2size change.
1674 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1675 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1676 allocation size to PTRDIFF_MAX.
1677 (REQUEST_OUT_OF_RANGE): Remove macro.
1678 (checked_request2size): Change to inline function and limit maximum
1679 requested size to PTRDIFF_MAX.
1680 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1681 maximum allocation size to PTRDIFF_MAX.
1682 (_mid_memalign): Use _int_memalign call for overflow check.
1683 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1684 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1685 limit maximum requested size to PTRDIFF_MAX.
1686 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1687 valloc, pvalloc): Add __attribute_alloc_size__.
1688 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1689 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1690 larger than PTRDIFF_MAX.
1691 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1692 around tests of malloc with negative sizes.
1693 * malloc/tst-posix_memalign.c (do_test): Likewise.
1694 * malloc/tst-pvalloc.c (do_test): Likewise.
1695 * malloc/tst-valloc.c (do_test): Likewise.
1696 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1697 with resulting size allocation larger than PTRDIFF_MAX with
1698 reallocarray_nowarn.
1699 (reallocarray_nowarn): New function.
1700 * NEWS: Mention the malloc function semantic change.
1701
0e169691
AZ
17022019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1703
52faba65
AZ
1704 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1705 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1706
3a16dd78
AZ
1707 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1708 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1709 * sysdeps/powerpc/fpu/s_fma.c: New file.
1710 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1711
1dac8bd6
AZ
1712 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1713 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1714
a3ae315a
AZ
1715 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1716 the magic flag store.
1717 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1718 Likewise.
1719 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1720 Likewise.
1721 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1722 Remove rt_sigreturn call.
1723
ffe8a9a8
AZ
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1725 Remove rt_sigreturn call.
1726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1727 Likewise.
1728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1730
0e169691
AZ
1731 * support/Makefile (libsupport-routines): Add support_subprocess,
1732 xposix_spawn, xposix_spawn_file_actions_addclose, and
1733 xposix_spawn_file_actions_adddup2.
1734 (tst-support_capture_subprocess-ARGS): New rule.
1735 * support/capture_subprocess.h (support_capture_subprogram): New
1736 prototype.
1737 * support/support_capture_subprocess.c (support_capture_subprocess):
1738 Refactor to use support_subprocess and support_capture_poll.
1739 (support_capture_subprogram): New function.
1740 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1741 str_to_write_mode, test_common, parse_int, handle_restart,
1742 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1743 (do_test): Add support_capture_subprogram tests.
1744 * support/subprocess.h: New file.
1745 * support/support_subprocess.c: Likewise.
1746 * support/xposix_spawn.c: Likewise.
1747 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1748 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1749 * support/xspawn.h: Likewise.
1750
bae8cf0e
MG
17512019-04-17 Mike Gerow <gerow@google.com>
1752
1753 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1754 groups limit.
1755
e3f454ba
FW
17562019-04-11 Florian Weimer <fweimer@redhat.com>
1757
1758 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1759 domain with empty string.
1760 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1761
32d85c11
FW
17622019-04-11 Florian Weimer <fweimer@redhat.com>
1763
1764 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1765 comment.
1766 (alloc_buffer_next): Change return type to non-const. Update
1767 comment.
1768
221710af
FW
17692019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1770
1771 * manual/time.texi (Formatting Calendar Time): Add missing percent
1772 sign to conversion specifier.
1773
e621246e
CD
17742019-04-09 Carlos O'Donell <carlos@redhat.com>
1775 Kwok Cheung Yeung <kcy@codesourcery.com>
1776
1777 [BZ #16573]
1778 * malloc/mtrace.c: Define prototypes for all hooks.
1779 (set_default_hooks): New function.
1780 (set_trace_hooks): Likewise.
1781 (save_default_hooks): Likewise.
1782 (tr_freehook): Use new s*_hooks functions.
1783 (tr_mallochook): Likewise.
1784 (tr_reallochook): Likewise.
1785 (tr_memalignhook): Likewise.
1786 (mtrace): Likewise.
1787 (muntrace): Likewise.
1788
648279f4
WD
17892019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1790
1791 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1792 (generic_stpcpy): New function.
1793 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1794 (generic_stpncpy): New function.
1795 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1796 (generic_strcat): New function.
1797 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1798 (generic_strcpy): New function.
1799 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1800 (STUPID_STRNCAT): Remove function.
1801 (generic_strncat): New function.
1802 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1803 (STUPID_STRNCPY): Remove function.
1804 (generic_strncpy): New function.
1805 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1806 (generic_strnlen): New function.
1807 (memchr_strnlen): New function.
1808 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1809 (memchr_strlen): Likewise.
1810
93eebae5
WD
18112019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1812
1813 * benchtests/bench-strstr.c (input): Add realistic input text.
1814 (stupid_strstr): Remove function.
1815 (basic_strstr): Add function.
1816 (twoway_strstr): Add function.
1817 (do_one_test): Add result checking.
1818 (do_test): Use new input text. Remove accidental early matches.
1819 (test_main): Improve range of tests, reduce unaligned cases.
1820
a173d09f
WD
18212019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1822
1823 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1824 (basic_memmem): Add function.
1825 (twoway_memmem): Add function.
1826
6103c0a8
WD
18272019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1828
1829 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1830 * benchtests/bench-malloc-thread.c: Likewise.
1831 * benchtests/bench-skeleton.c: Likewise.
1832 * benchtests/bench-strtod.c: Likewise.
1833 * benchtests/bench-timing.h: Likewise.
1834
33322186
FW
18352019-04-08 Florian Weimer <fweimer@redhat.com>
1836
1837 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1838 definitions.
1839 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1840 RES_INSECURE2 security checks.
1841 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1842 RES_INSECURE2 handling.
1843
3f8b44be
FW
18442019-04-08 Florian Weimer <fweimer@redhat.com>
1845
1846 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1847 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1848 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1849 GETHOSTBYNAME.
1850 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1851 (tests-internal): Update justification for tst-resolv-res_init,
1852 tst-resolv-res_init-thread.
1853 (tst-res_use_inet6): Remove target.
1854 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1855 * resolv/res_debug.c (p_option): Remove "inet6" support.
1856 * resolv/res_init.c (res_setoptions): Likewise.
1857 * resolv/res_use_inet6.h: Remove file.
1858 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1859 definition.
1860 (res_use_inet6): Always return false.
1861 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1862 * resolv/resolv_context.h: Adjust file comment.
1863 (struct resolv_context): Update comment on __next field.
1864 (__resolv_context_put): Update comment.
1865 * resolv/tst-res_use_inet6.c: Remove file.
1866 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1867 "inet6" support.
1868 (test_cases): Adjust test case.
1869 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1870 (thread_byname2_af_inet6): Use old byname_inet6 code.
1871 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1872 (gai): Remove do_inet6 argument.
1873 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1874 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1875 (thread_gai_unspec_inet6): Remove functions.
1876 (do_test): Adjust thread_funcs.
1877 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1878 RES_USE_INET6 flag.
1879 (gaih_inet): Do not disable RES_USE_INET6 flag.
1880
6b5c8607 18812019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
1882
1883 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1884 and remove redundant code.
1885
e3fd0b0e
AZ
18862019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1887
f82ed45d
AZ
1888 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1889 New rule.
1890 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1891 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1892 Likewise.
1893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1894 Likewise.
1895 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1896 Likewise.
1897 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1898 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1899 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1900 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1901 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1902 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1904 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1905 wcsrchr-power7.
1906 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1907 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1909 Remove wcsrchr optimizations.
1910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1911
662c2cc4
AZ
1912 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1913 the loop unroll.
1914
421e3005
AZ
1915 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1916 New rule.
1917 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1918 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1919 Likewise.
1920 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1921 Likewise.
1922 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1923 Likewise.
1924 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1925 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1926 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1927 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1928 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1929 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1931 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1932 wcschr-power7.
1933 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1935 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1936 Remove wcschr optimizations.
1937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1938
7ba0100c
AZ
1939 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1940 the loop unroll.
1941
447a1306
AZ
1942 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1943 New rule.
1944 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1946 Likewise.
1947 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1948 Likewise.
1949 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1950 Likewise.
1951 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1952 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1953 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1954 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1955 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1956 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1958 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1959 wcscpy-power7.
1960 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1961 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1963 Remove wcscpy optimizations.
1964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1965
e3fd0b0e
AZ
1966 * include/loop_unroll.h: New file.
1967 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1968 besides generic implementation.
1969
8260f236
DD
19702019-04-03 DJ Delorie <dj@redhat.com>
1971
1972 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1973 snprintf truncating output.
1974
0bd545ee
DD
19752019-04-02 DJ Delorie <dj@redhat.com>
1976
1977 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1978 warning.
1979
466afec3
TS
19802019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1981
1982 [BZ #22964]
1983 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1984 era.
1985 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1986 (mkreftable): Add rules for the new Japanese era and the new dates.
1987
2f1d6155
TS
19882019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1989 Rafal Luzynski <digitalfreak@lingonborough.com>
1990
1991 * time/tst-strftime2.c (date_t): Explicitly define the type.
1992 (dates): Use natural month and year numbers to express a date.
1993 (is_before): New function to compare dates.
1994 (mkreftable): Minor improvements to simplify maintenance.
1995 (do_test): Reflect the changes in dates array.
1996
84aea169
TS
1997 [BZ #24293]
1998 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1999 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
2000 * time/tst-strftime2.c (locales): Likewise.
2001 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
2002 2010-04-01, and 2011-04-01.
2003 (mkreftable): Add rules for the new locales and the new dates.
2004
62449176
CD
20052019-04-01 Carlos O'Donell <carlos@redhat.com>
2006
2007 * localedata/locales/ja_JP: Add comments to era entries.
2008
e0e4c321
DD
20092019-04-01 DJ Delorie <dj@redhat.com>
2010
2011 [BZ #24394]
2012 * time/strptime_l.c (%Ey): Fix fencepost error.
2013 * time/tst-strftime3.c: New.
2014 * time/Makefile (tests): Add tst-strftime3.
2015
6b5c8607 20162019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
2017
2018 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
2019 conditional branch to DIVBYZERO. Fix unwind info.
2020 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2021 excb after conditional branch to $powerof2. Add missing unop
2022 instructions and .align directives and reorder instructions to
2023 match __divqu.
2024
d5ecee82
RH
20252019-04-01 Richard Henderson <rth@twiddle.net>
2026
2027 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2028 Do not redefine.
2029 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2030 Do not redefine.
2031
656dd306
MR
20322019-03-30 Maciej W. Rozycki <macro@wdc.com>
2033
2034 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2035 $libc_cv_riscv_float_abi in `test' invocation.
2036 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2037
10cce669
PC
20382019-03-29 Paul A. Clarke <pc@us.ibm.com>
2039
2040 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2041 asm with builtin.
2042 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2043 Likewise.
2044 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2045 (_GET_SI_FPSCR): Likewise.
2046 (_SET_SI_FPSCR): Likewise.
2047
5e67e4bf 20482019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
2049
2050 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2051 clang 2.8.
2052 (signbit): Use builtin for clang 3.3.
2053 (isinf): Use builtin for clang 3.7.
2054
01963891
AZ
20552019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2056
2057 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2058
67112f7a
AH
20592019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2060
2061 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2062 quote in printf.
2063
7a773abf
MC
20642019-03-25 Mike Crowe <mac@mcrowe.com>
2065
82849fde
MC
2066 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2067 pthread_rwlock_timedrdlock with calls to
2068 pthread_rwlock_timedwrlock to ensure that the latter is tested
2069 too. Use new function name in diagnostic messages too.
2070
7a773abf
MC
2071 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2072 (do_test) Use libsupport test macros rather than hand-coded
2073 conditionals and error messages. Ensure that sem_init returns zero
2074 rather than not -1. Use <support/test-driver.c> rather than
2075 test-skeleton.c.
2076
2077 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2078 test macros rather than hand-coded conditionals and error messages.
2079 Use <support/test-driver.c> rather than test-skeleton.c.
2080
9ac2de69
JM
20812019-03-25 Joseph Myers <joseph@codesourcery.com>
2082
d7563e62
JM
2083 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2084
9ac2de69
JM
2085 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2086 (NT_MIPS_MSA): Likewise.
2087
38cc11da
AZ
20882019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2089
7621e38b
WD
2090 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2091 * benchtests/README: Update description.
2092 * benchtests/bench-timing.h: Default to hp-timing.
2093 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2094 HP_TIMING_PRINT): Remove.
2095 (HP_TIMING_NOW): Add generic implementation.
2096 (hp_timing_t): Change to uint64_t.
2097
1e372ded
AZ
2098 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2099 HP_TIMING_INLINE.
2100 * nptl/descr.h: Likewise.
2101 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2102 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2103 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2104 Abstract hp-timing usage with RTLD_* macros.
2105 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2106 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2107 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2108 HP_TIMING_NONAVAIL): Likewise.
2109 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2110 Likewise.
2111 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2112 HP_SMALL_TIMING_AVAIL): Likewise.
2113 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2114 HP_SMALL_TIMING_AVAIL): Likewise.
2115 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2116 HP_SMALL_TIMING_AVAIL): Likewise.
2117 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2118 HP_SMALL_TIMING_AVAIL): Likewise.
2119 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2120 Likewise.
2121 * sysdeps/generic/hp-timing-common.h: Update comment with
2122 HP_TIMING_AVAIL removal.
2123
359653aa
AZ
2124 * include/random-bits.h: New file.
2125 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2126 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2127 random_bits.
2128 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2129 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2130 Likewise.
2131
6e8ba7fd
AZ
2132 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2133 * rt/Makefile (clock-routines): Remove get_clockfreq.
2134 * rt/get_clockfreq.c: Remove file.
2135 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2136 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2137 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2138 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2139 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2140
77b6f553
AZ
2141 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2142 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2143 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2144 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2145 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2146
38cc11da
AZ
2147 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2148 pthread_clock_settime.
2149 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2150 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2151 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2152 * elf/rtld.c (_dl_start_final): Likewise.
2153 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2154 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2155 Remove.
2156 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2157 (_dl_cpuclock_offset): Remove.
2158 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2159 cpuclock_offset_ununsed.
2160 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2161 cpuclock_offset set.
2162 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2163 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2164 * nptl/pthread_clock_gettime.c: Remove file.
2165 * nptl/pthread_clock_settime.c: Likewise.
2166 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2167 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2168 and CLOCK_PROCESS_CPUTIME_ID support.
2169 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2170 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2171 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2172 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2173 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2174 Likewise.
2175 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2176
421749d6
SL
21772019-03-22 Stefan Liebler <stli@linux.ibm.com>
2178
2179 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2180 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2181 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2182 New defines.
2183 * sysdeps/s390/memmem-arch13.S: New file.
2184 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2185 if it is only used as fallback.
2186 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2187 * sysdeps/s390/multiarch/ifunc-impl-list.c
2188 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2189
6f47401b
SL
21902019-03-22 Stefan Liebler <stli@linux.ibm.com>
2191
2192 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2193 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2194 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2195 New defines.
2196 * sysdeps/s390/multiarch/ifunc-impl-list.c
2197 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2198 * sysdeps/s390/strstr-arch13.S: New file.
2199 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2200 if it is only used as fallback.
2201 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2202
96fbb9a3
SL
22032019-03-22 Stefan Liebler <stli@linux.ibm.com>
2204
2205 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2206 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2207 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2208 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2209 ifunc selector.
2210 * sysdeps/s390/multiarch/ifunc-impl-list.c
2211 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2212 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2213 S390_IS_ARCH13_MIE3): New defines.
2214
a899a551
SL
22152019-03-22 Stefan Liebler <stli@linux.ibm.com>
2216
2217 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2218 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2219 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2220 * sysdeps/s390/configure: Regenerated.
2221
1a7df49c
SL
22222019-03-22 Stefan Liebler <stli@linux.ibm.com>
2223
2224 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2225 Add vxe2, vxp, dflt, sort flags.
2226 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2227 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2228 capabilities.
2229 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2230 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2231 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2232 HWCAP_S390_DFLT): Define.
2233
5e67e4bf 22342019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
2235
2236 [BZ #24372]
2237 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2238 of compiler warning.
2239 * locale/programs/ld-collate.c (collate_output): Likewise.
2240
ac64195c
DD
22412019-03-21 DJ Delorie <dj@redhat.com>
2242
2243 [BZ #24372]
2244 * iconv/iconvconfig.c (write_output): Replace floating point math
2245 with integer math to avoid imprecise results.
2246 * locale/programs/ld-collate.c (collate_output): Likewise.
2247
61f5e947
SL
22482019-03-21 Stefan Liebler <stli@linux.ibm.com>
2249
2250 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2251 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2252
57ada43c 22532019-03-20 mansayk <6688000@gmail.com>
2254
2255 [BZ #24296]
2256 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2257 (abday): Likewise, but remove the trailing dots.
2258
a2e57f89
JM
22592019-03-19 Joseph Myers <joseph@codesourcery.com>
2260
2261 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2262 macro.
2263 (HWCAP_PACA): Likewise.
2264 (HWCAP_PACG): Likewise.
2265 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2266 Increase to 32.
2267 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2268
e87d8ada
ST
22692019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2270
2271 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2272 should be handled.
2273
477e739b
JM
22742019-03-15 Joseph Myers <joseph@codesourcery.com>
2275
2276 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2277 version to 5.0.
2278 (old_getpagesize): New syscall.
2279
238d60a1
FY
22802019-03-15 Felix Yan <felixonmars@archlinux.org>
2281
2282 [BZ #24293]
2283 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2284 * localedata/locales/cmn_TW (era): Likewise.
2285 * localedata/locales/hak_TW (era): Likewise.
2286 * localedata/locales/lzh_TW (era): Likewise.
2287 * localedata/locales/nan_TW (era): Likewise.
2288
5dde9ef7
DD
22892019-03-14 Adam Maris <amaris@redhat.com>
2290
2291 * malloc/malloc.c (_int_malloc): Check for large bin list
2292 corruption when inserting unsorted chunk.
2293
a0a0dc83
FW
22942019-03-14 Florian Weimer <fweimer@redhat.com>
2295
2296 Remove obsolete, never-implemented XSI STREAMS declarations.
2297 * manual/terminal.texi (Allocation): Remove portability note and
2298 adjust example.
2299 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2300 _SC_STREAMS.
2301 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2302 * sysdeps/unix/inet/Subdirs (streams): Remove.
2303 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2304 (conformtest-headers-UNIX98): Likewise.
2305 (conformtest-headers-XOPEN2K): Likewise.
2306 (conformtest-headers-POSIX2008): Likewise.
2307 * posix/compat-streams.c: New file.
2308 * posix/Makefile (routines): Add it.
2309 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2310 getpmsg, isastream, putmsg, putpmsg.
2311 (GLIBC_2.30): New section.
2312 * bits/stropts.h: Remove file.
2313 * bits/xtitypes.h: Likewise.
2314 * conform/data/stropts.h-data: Likewise.
2315 * include/stropts.h: Likewise.
2316 * include/sys/stropts.h: Likewise.
2317 * include/xtitypes.h: Likewise.
2318 * streams/Makefile: Likewise.
2319 * streams/fattach.c: Likewise.
2320 * streams/fdetach.c: Likewise.
2321 * streams/getmsg.c: Likewise.
2322 * streams/getpmsg.c: Likewise.
2323 * streams/isastream.c: Likewise.
2324 * streams/putmsg.c: Likewise.
2325 * streams/putpmsg.c: Likewise.
2326 * streams/stropts.h: Likewise.
2327 * streams/sys/stropts.h: Likewise.
2328 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2329 * sysdeps/s390/bits/xtitypes.h: Likewise.
2330 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2331 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2332 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2333 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2334 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2335 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2336 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2337 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2338 * sysdeps/x86/bits/xtitypes.h: Likewise.
2339
081bdf94
FW
23402019-03-14 Florian Weimer <fweimer@redhat.com>
2341
2342 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2343 libnss_files.
2344 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2345 but not with libnss_files.
2346 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2347
97f8225d
ZW
23482019-03-14 Zack Weinberg <zackw@panix.com>
2349
2350 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2351 Specify encoding="utf-8" when opening headers to check.
2352
0c1041ee
JM
23532019-03-13 Joseph Myers <joseph@codesourcery.com>
2354
2355 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2356 version to 5.0.
2357 (Context.checkout_tar): Handle variable major version for Linux
2358 kernel.
2359
043440e7
FW
23602019-03-13 Florian Weimer <fweimer@redhat.com>
2361
2362 [BZ #24047]
2363 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2364
29218b26
ZW
23652019-03-13 Zack Weinberg <zackw@panix.com>
2366
2367 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2368 Move to stdlib.
2369 * include/inttypes.h: Adjust to match.
2370 * include/stdint.h: New wrapper.
2371
711a322a
ZW
23722019-03-13 Zack Weinberg <zackw@panix.com>
2373
2374 * scripts/check-obsolete-constructs.py: New test script.
2375 * scripts/check-installed-headers.sh: Remove tests for
2376 obsolete typedefs, superseded by check-obsolete-constructs.py.
2377 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2378 as a special test. Update commentary.
2379 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2380 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2381 Update commentary.
2382 * posix/sys/types.h (__u_intN_t): Remove.
2383 (u_int8_t): Typedef using __uint8_t.
2384 (u_int16_t): Typedef using __uint16_t.
2385 (u_int32_t): Typedef using __uint32_t.
2386 (u_int64_t): Typedef using __uint64_t.
2387
7c651308
SL
23882019-03-13 Stefan Liebler <stli@linux.ibm.com>
2389
2390 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2391 call _dl_procinfo.
2392 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2393 Ignore types other than AT_HWCAP.
2394 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2395 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2396 Likewise.
2397 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2398 in the case of falling back to generic output mechanism.
2399 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2400 Likewise.
2401
38b52865
FW
24022019-03-12 Florian Weimer <fweimer@redhat.com>
2403
2404 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2405
08504de7
FW
24062019-03-12 Florian Weimer <fweimer@redhat.com>
2407
2408 [BZ #24047]
2409 resolv: Enable full ICMP errors for UDP DNS sockets
2410 * resolv/res_enable_icmp.c: New file.
2411 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2412 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2413 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2414 socket.
2415
5fbcd763
MH
24162019-03-11 Mao Han <han_mao@c-sky.com>
2417
2418 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2419 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2420
c4e5f34b
MH
24212019-03-11 Mao Han <han_mao@c-sky.com>
2422
2423 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2424 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2425 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2426
827e30f3
MH
24272019-03-11 Mao Han <han_mao@c-sky.com>
2428
2429 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2430 directly.
2431 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2432 definition.
2433
6229c9bf
MH
24342019-03-11 Mao Han <han_mao@c-sky.com>
2435
2436 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2437 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2438 in mcontext_t
2439
86bdd49d
MF
24402019-03-08 Mike FABIAN <mfabian@redhat.com>
2441
2442 [BZ #24307]
2443 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2444 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2445 Unicode 12.0.0.
2446 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2447 * localedata/unicode-gen/PropList.txt: Likewise.
2448 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2449 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2450 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2451 * localedata/charmaps/UTF-8: Regenerate.
2452 * localedata/locales/i18n_ctype: Likewise.
2453 * localedata/locales/tr_TR: Likewise.
2454 * localedata/locales/translit_circle: Likewise.
2455 * localedata/locales/translit_cjk_compat: Likewise.
2456 * localedata/locales/translit_combining: Likewise.
2457 * localedata/locales/translit_compat: Likewise.
2458 * localedata/locales/translit_font: Likewise.
2459 * localedata/locales/translit_fraction: Likewise.
2460
c5f65462
JM
24612019-03-07 Joseph Myers <joseph@codesourcery.com>
2462
2463 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2464 than after operators.
2465 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2466 (setitimer_locked): Likewise.
2467 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2468 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2469 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2470 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2471 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2472 (PPC_CPU_SUPPORTED): Likewise.
2473 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2474 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2475 (stat_overflow): Likewise.
2476 (statfs_overflow): Likewise.
2477 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2478 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2479 (eq_ttyname_r): Likewise.
2480 (run_chroot_tests): Likewise.
2481
27a2f2f3
FW
24822019-03-07 Florian Weimer <fweimer@redhat.com>
2483
2484 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2485 header check.
2486
ae514971 24872019-03-07 Martin Liska <mliska@suse.cz>
2488
2489 * math/Makefile: Change location where math-vector-fortran.h is
2490 installed.
2491 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2492 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2493 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2494 * scripts/check-installed-headers.sh: Skip Fortran header files.
2495 * scripts/check-wrapper-headers.py: Likewise.
2496
0ddb7ea8
AZ
24972019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2498
2499 * nptl/nptl-init.c (__have_futex_clock_realtime,
2500 __have_futex_clock_realtime): Remove definition.
2501 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2502 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2503 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2504 __ASSUME_FUTEX_CLOCK_REALTIME support.
2505 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2506 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2507 * sysdeps/unix/sysv/linux/kernel-features.h
2508 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2509 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2510 Adjust comment.
2511
590675c0
GG
25122019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2513
2514 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2515 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2516 __GI___wcscpy and wcscpy.
2517
de71ee7b
FW
25182019-03-04 Florian Weimer <fweimer@redhat.com>
2519
2520 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2521 declaration.
2522 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2523 defined.
2524
ce6ddae0
SL
25252019-03-04 Stefan Liebler <stli@linux.ibm.com>
2526
2527 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2528 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2529
31efface
TS
25302019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2531
2532 [BZ #24162]
2533 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2534 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2535
f0eaf862
GG
25362019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2537
2538 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2539 tests.
2540 (do_test): Likewise.
2541 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2542 (do_test_call_varg): Likewise.
2543 (do_test_call_rarg): Likewise.
2544 * sysdeps/ieee754/ldbl-opt/Makefile
2545 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2546 tst-nldbl-error.
2547 ($(objpfx)tst-nldbl-warn.c): New rule.
2548 ($(objpfx)tst-nldbl-error.c): Likewise.
2549 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2550 New variables.
2551
d11086a9
GG
25522019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2553
2554 [BZ #23984]
2555 * include/bits/error-ldbl.h: New file.
2556 * include/error.h: Include stdarg.h. Declare internal functions
2557 __error_internal and __error_at_line_internal.
2558 * misc/Makefile (headers): Add bits/error-ldbl.h.
2559 * misc/bits/error-ldbl.h: New file.
2560 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2561 avoid the inclusion of bits/error.h.
2562 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2563 and __nldbl_error_at_line.
2564 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2565 (__nldbl_error, __ndlbl_error_at_line): New functions.
2566 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2567 Redirect error and error_at_line.
2568 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2570 Likewise.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2572 Likewise.
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2574 Likewise.
2575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2576 Likewise.
2577 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2578 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2579 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2580
90188e7d
GG
25812019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2582
2583 [BZ #23984]
2584 * include/bits/err-ldbl.h: New file.
2585 * include/err.h: Add prototypes for the internal functions:
2586 __vwarnx_internal and __vwarn_internal.
2587 * misc/Makefile (headers): Add bits/err-ldbl.h.
2588 * misc/bits/err-ldbl.h: New file.
2589 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2590 defined, i.e.: when -mlong-double-64 is in use.
2591 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2592 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2593 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2594 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2595 (VA_CALL): New macro.
2596 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2597 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2598 functions.
2599 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2600 declare prototypes for the new functions.
2601 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2603 Likewise.
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2605 Likewise.
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2607 Likewise.
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2609 Likewise.
2610 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2611 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2612 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2613
ea2d89d0
GG
26142019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2615
2616 * sysdeps/ieee754/ldbl-opt/Makefile
2617 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2618 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2619 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2620
6e1f6440
GG
26212019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2622
2623 [BZ #23983]
2624 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2625 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2626 * argp/bits/argp-ldbl.h: New file.
2627 * include/argp.h: Include stdarg.h. Add prototypes for internal
2628 functions: __argp_error_internal and __argp_failure_internal.
2629 * include/bits/argp-ldbl.h: New file.
2630 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2631 __nldbl_argp_error and __nldbl_argp_failure.
2632 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2633 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2634 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2635 Redirect argp_error and argp_failure calls.
2636 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2638 Likewise.
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2640 Likewise.
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2642 Likewise.
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2644 Likewise.
2645 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2646 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2647 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2648
c259196b
FW
26492019-03-01 Florian Weimer <fweimer@redhat.com>
2650
2651 [BZ #20419]
2652 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2653 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2654 code, to avoid creating an ABI tag note.
2655 (modules-names-nobuild): Add tst-big-note-lib.
2656
928b305d
SL
26572019-03-01 Stefan Liebler <stli@linux.ibm.com>
2658
2659 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2660 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2661
36f30c10
FW
26622019-03-01 Florian Weimer <fweimer@redhat.com>
2663
2664 [BZ #20271]
2665 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2666 (__netlink_assert_response): Add additional missing newlines.
2667
462e83a4
JM
26682019-02-28 Joseph Myers <joseph@codesourcery.com>
2669
2670 * sysdeps/powerpc/powerpc32/dl-machine.c
2671 (__elf_machine_fixup_plt): Use space before '('.
2672 (__process_machine_rela): Likewise.
2673 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2674 Likewise.
2675 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2676 Likewise.
2677 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2678 Likewise.
2679 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2680 (pattern): Likewise.
2681 (delta): Likewise.
2682 (check_result): Likewise.
2683 (check_excepts): Likewise.
2684 (check_op): Likewise.
2685 (fail_xr): Likewise.
2686 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2687 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2688 (SCNHSZ): Likewise.
2689 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2690 Likewise.
2691 (ARGS): Likewise.
2692 (__makecontext): Likewise.
2693 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2694 Likewise.
2695
cc3e573c
FW
26962019-02-28 Florian Weimer <fweimer@redhat.com>
2697
2698 [BZ #23937]
2699 elf: Add test with a local IFUNC resolver.
2700 * elf/ifuncmain9.c: New file.
2701 * elf/ifuncmain9pic.c: Likewise.
2702 * elf/ifuncmain9picstatic.c: Likewise.
2703 * elf/ifuncmain9pie.c: Likewise.
2704 * elf/ifuncmain9static.c: Likewise.
2705 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2706 ifuncmain9static, ifuncmain9picstatic.
2707 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2708 Add ifuncmain9, ifuncmain9pic.
2709 * elf/Makefile [multi-arch && build-shared && have-fpie]
2710 (ifunc-pie-tests): Add ifuncmain9pie.
2711 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2712 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2713 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2714
92ad88fe
L
27152019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2716
2717 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2718 * configure: Regenerated.
2719 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2720
6bd4d02e
AZ
27212019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2722
2723 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2724 symbol as __wcspcy instead of wcscpy.
2725
1b218417
ST
27262019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2727
2728 * include/stdio.h (__renameat2): New hidden prototype.
2729 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2730 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2731 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2732 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2733
c4f50205
JM
27342019-02-27 Joseph Myers <joseph@codesourcery.com>
2735
f627dd4d
JM
2736 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2737 if statement.
2738
c4f50205
JM
2739 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2740 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2741 * benchtests/bench-strlen.c (do_test): Likewise.
2742 (test_main): Likewise.
2743 * catgets/gencat.c (read_old): Likewise.
2744 * elf/cache.c (load_aux_cache): Likewise.
2745 * iconvdata/bug-iconv8.c (do_test): Likewise.
2746 * math/test-tgmath-ret.c (do_test): Likewise.
2747 * nis/nis_call.c (rec_dirsearch): Likewise.
2748 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2749 * nptl/tst-audit-threads.c (do_test): Likewise.
2750 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2751 * nss/nss_test1.c (init): Likewise.
2752 * nss/test-netdb.c (test_hosts): Likewise.
2753 * posix/execvpe.c (maybe_script_execute): Likewise.
2754 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2755 * stdio-common/tst-printf.c (do_test): Likewise.
2756 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2757 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2758 * stdlib/qsort.c (STACK_SIZE): Likewise.
2759 * stdlib/test-canon.c (do_test): Likewise.
2760 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2761 * string/memcmp.c (OPSIZ): Likewise.
2762 * string/test-strcpy.c (do_test): Likewise.
2763 (do_random_tests): Likewise.
2764 * string/test-strlen.c (do_test): Likewise.
2765 (test_main): Likewise.
2766 * string/test-strrchr.c (do_test): Likewise.
2767 (do_random_tests): Likewise.
2768 * string/tester.c (test_memrchr): Likewise.
2769 (test_memchr): Likewise.
2770 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2771 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2772 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2773 (read_encoded_value_with_base): Likewise.
2774 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2775 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2776 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2777 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2778 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2779 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2780 Likewise.
2781 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2782 Likewise.
2783 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2784 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2785 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2786 Likewise.
2787 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2788 Likewise.
2789 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2790 Likewise.
2791 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2792 Likewise.
2793 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2794 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2795 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2796 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2797 * time/test_time.c (main): Likewise.
2798
7b3fb620
AZ
27992019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2800
457208b1
AZ
2801 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2802
30a7e208
AZ
2803 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2804 wmemcpy.
2805
ddf21ec7
AZ
2806 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2807 wmemcpy.
2808
4d801563
AZ
2809 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2810
81a14439
AZ
2811 * include/wchar.h (__wcscpy): New prototype.
2812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2813 (__wcscpy): Route internal symbol to generic implementation.
2814 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2815 Add internal __wcscpy alias.
2816 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2817 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2818 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2819 * wcsmbs/wcscpy.c (wcscpy): Add
2820 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2821 use generic implementation.
2822 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2823
39ef0744
AZ
2824 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2825 wmemset.
2826
7b3fb620
AZ
2827 * sysdeps/m68k/wcpcpy.c: Remove file.
2828 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2829
e0cb7b61
JM
28302019-02-26 Joseph Myers <joseph@codesourcery.com>
2831
aa0e4663
JM
2832 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2833 than after operators.
2834 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2835 * sysdeps/mach/hurd/getcwd.c
2836 (__hurd_canonicalize_directory_name_internal): Likewise.
2837 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2838 (pthread_mutex_consistent): Likewise.
2839 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2840 Likewise.
2841 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2842 (__pthread_mutex_transfer_np): Likewise.
2843 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2844 (__pthread_mutex_unlock): Likewise.
2845 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2846 (mtx_owned_p): Likewise.
2847 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2848 (pthread_mutexattr_getrobust): Likewise.
2849 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2850 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2851 Likewise.
2852 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2853 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2854 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2855 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2856 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2857 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2858 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2859 Likewise.
2860 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2861 Likewise.
2862 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2863 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2864 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2865 (____longjmp_chk): Likewise.
2866 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2867 Likewise.
2868 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2869 (INTERNAL_SYSCALL): Likewise.
2870 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2871 (INTERNAL_SYSCALL): Likewise.
2872 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2873 (__get_clockfreq_via_cpuinfo): Likewise.
2874
e0cb7b61
JM
2875 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2876 comments.
2877 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2878 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2879 (WORD_COPY_BWD): Likewise.
2880 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2881 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2882 Likewise.
2883 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2884 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2885 comment.
2886 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2887
a04549c1
JM
28882019-02-25 Joseph Myers <joseph@codesourcery.com>
2889
2890 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2891 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2892 rather than after operators.
2893 * elf/cache.c (print_cache): Likewise.
2894 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2895 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2896 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2897 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2898 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2899 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2900 (reauth_proc): Likewise.
2901 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2902 (__file_name_split_at): Likewise.
2903 (__directory_name_split_at): Likewise.
2904 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2905 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2906 * iconv/gconv_dl.c (do_print): Likewise.
2907 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2908 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2909 * locale/setlocale.c (new_composite_name): Likewise.
2910 * malloc/memusagestat.c (main): Likewise.
2911 * misc/fstab.c (fstab_convert): Likewise.
2912 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2913 Likewise.
2914 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2915 (getgrent_next_file): Likewise.
2916 (internal_getgrnam_r): Likewise.
2917 (internal_getgrgid_r): Likewise.
2918 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2919 Likewise.
2920 (internal_getgrent_r): Likewise.
2921 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2922 (getpwent_next_nss): Likewise.
2923 (getpwent_next_file): Likewise.
2924 (internal_getpwnam_r): Likewise.
2925 (internal_getpwuid_r): Likewise.
2926 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2927 Likewise.
2928 (getspent_next_nss): Likewise.
2929 (internal_getspnam_r): Likewise.
2930 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2931 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2932 * string/strchr.c (STRCHR): Likewise.
2933 * string/strchrnul.c (STRCHRNUL): Likewise.
2934 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2935 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2936 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2937 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2938 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2939 Likewise.
2940 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2941 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2942 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2943 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2944 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2945 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2946 (open_file): Likewise.
2947 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2948 (pthread_mutexattr_setprotocol): Likewise.
2949 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2950 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2951 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2952 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2953 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2954 Likewise.
2955 (elf_machine_rela): Likewise.
2956 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2957 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2958 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2959 * sysdeps/posix/rename.c (rename): Likewise.
2960 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2961 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2962 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2963 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2964 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2965 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2966 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2967 Likewise.
2968 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2969 Likewise.
2970 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2971 * time/tzfile.c (__tzfile_compute): Likewise.
2972
34a5a146
JM
29732019-02-22 Joseph Myers <joseph@codesourcery.com>
2974
2975 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2976 rather than after operators.
2977 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2978 * crypt/md5.c (md5_finish_ctx): Likewise.
2979 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2980 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2981 * elf/cache.c (load_aux_cache): Likewise.
2982 * elf/dl-load.c (open_verify): Likewise.
2983 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2984 * elf/readelflib.c (process_elf_file): Likewise.
2985 * elf/rtld.c (dl_main): Likewise.
2986 * elf/sprof.c (generate_call_graph): Likewise.
2987 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2988 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2989 * hurd/dtable.c (reauth_dtable): Likewise.
2990 * hurd/getdport.c (__getdport): Likewise.
2991 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2992 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2993 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2994 Likewise.
2995 * hurd/hurdioctl.c (fioctl): Likewise.
2996 * hurd/hurdselect.c (_hurd_select): Likewise.
2997 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2998 (STOPSIGS): Likewise.
2999 * hurd/hurdstartup.c (_hurd_startup): Likewise.
3000 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
3001 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3002 * hurd/msgportdemux.c (msgport_server): Likewise.
3003 * hurd/setauth.c (_hurd_setauth): Likewise.
3004 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
3005 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
3006 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3007 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
3008 * login/tst-utmp.c (do_check): Likewise.
3009 (simulate_login): Likewise.
3010 * mach/lowlevellock.h (lll_lock): Likewise.
3011 (lll_trylock): Likewise.
3012 * math/test-fenv.c (ALL_EXC): Likewise.
3013 * math/test-fenvinline.c (ALL_EXC): Likewise.
3014 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
3015 * nis/nis_call.c (__do_niscall3): Likewise.
3016 * nis/nis_callback.c (cb_prog_1): Likewise.
3017 * nis/nis_defaults.c (searchaccess): Likewise.
3018 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3019 * nis/nis_ismember.c (internal_ismember): Likewise.
3020 * nis/nis_local_names.c (nis_local_principal): Likewise.
3021 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3022 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3023 Likewise.
3024 * nis/ypclnt.c (yp_match): Likewise.
3025 (yp_first): Likewise.
3026 (yp_next): Likewise.
3027 (yp_master): Likewise.
3028 (yp_order): Likewise.
3029 * nscd/hstcache.c (cache_addhst): Likewise.
3030 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3031 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3032 (internal_getpwuid_r): Likewise.
3033 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3034 * posix/glob.h (__GLOB_FLAGS): Likewise.
3035 * posix/regcomp.c (peek_token): Likewise.
3036 (peek_token_bracket): Likewise.
3037 (parse_expression): Likewise.
3038 * posix/regexec.c (sift_states_iter_mb): Likewise.
3039 (check_node_accept_bytes): Likewise.
3040 * posix/tst-spawn3.c (do_test): Likewise.
3041 * posix/wordexp-test.c (testit): Likewise.
3042 * posix/wordexp.c (parse_tilde): Likewise.
3043 (exec_comm): Likewise.
3044 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3045 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3046 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3047 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3048 * stdio-common/tst-fileno.c (do_test): Likewise.
3049 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3050 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3051 * stdlib/strtod_l.c (round_and_return): Likewise.
3052 (____STRTOF_INTERNAL): Likewise.
3053 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3054 * string/strcspn.c (STRCSPN): Likewise.
3055 * string/test-memmem.c (simple_memmem): Likewise.
3056 * termios/tcsetattr.c (tcsetattr): Likewise.
3057 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3058 * time/asctime.c (asctime_internal): Likewise.
3059 * time/strptime_l.c (__strptime_internal): Likewise.
3060 * time/sys/time.h (timercmp): Likewise.
3061 * time/tzfile.c (__tzfile_compute): Likewise.
3062
b0b50fe0
PF
30632019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3064
b39d961c
TS
3065 [BZ #21915]
3066 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 3067
f43b8dd5
GG
30682019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3069
3070 * argp/argp-help.c (__argp_error_internal): New function,
3071 renamed from __argp_error, but that takes a 'mode_flags'
3072 parameter to control the format of long double parameters.
3073 (__argp_error): Converted into a call __argp_error_internal.
3074 (__argp_failure_internal): New function, renamed from
3075 __argp_failure, but that takes a 'mode_flags' parameter.
3076 (__argp_failure): Converted into a call __argp_failure_internal.
3077 * misc/err.c (__vwarnx_internal): New function, renamed from
3078 vwarnx, but that takes a 'mode_flags' parameter.
3079 (vwarnx): Converted into a call to __vwarnx_internal.
3080 (__vwarn_internal): New function, renamed from vwarn, but that
3081 takes a 'mode_flags' parameter.
3082 (vwarn): Converted into a call to __vwarn_internal.
3083 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3084 call to __vfxprintf with 'mode_flags'.
3085 (__error_internal): New function, renamed from error, but that
3086 takes a 'mode_flags' parameter.
3087 (error): Converted into a call to __error_internal.
3088 (__error_at_line_internal): New function, renamed from
3089 error_at_line, but that takes a 'mode_flags' parameter.
3090 (error_at_line): Converted into a call to
3091 __error_at_line_internal.
3092 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3093 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3094 Likewise.
3095
dc0afac3 30962019-02-20 Martin Liska <mliska@suse.cz>
3097
3098 * math/Makefile: Install math-vector-fortran.h.
3099 * bits/math-vector-fortran.h: New file.
3100 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3101
4a2dd41c
GG
31022019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3103
3104 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3105 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3106
04de9302
WS
31072019-02-19 Wolfram Sang <wsa@the-dreams.de>
3108
3109 * nptl/pthread_mutex_trylock.c: Fix comment.
3110
b026ce1e
CD
31112019-02-19 Carlos O'Donell <carlos@redhat.com>
3112
3113 * nptl/pthread_tryjoin.c: Fix comment.
3114
8c9289b6
JM
31152019-02-18 Joseph Myers <joseph@codesourcery.com>
3116
3117 [BZ #24231]
3118 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3119 after R_SPARC_H34 case.
3120
308e022f
FW
31212019-02-18 Florian Weimer <fweimer@redhat.com>
3122
3123 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3124 (getanswer): Do not call Dprintf.
3125 (res_gethostbyname2_context): Likewise.
3126 (res_gethostbyaddr_context): Likewise.
3127
a5406364
FW
31282019-02-18 Florian Weimer <fweimer@redhat.com>
3129
3130 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3131 declaration.
3132 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3133 Remove definitions.
3134 * libio/stdfiles.c: Update comment.
3135 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3136 set _IO_stdin, _IO_stdout, _IO_stderr.
3137 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3138 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3139 inline function.
3140 (_IO_deallocate_file): New inline function.
3141 * libio/iolibio.h (_IO_vprintf): Remove definition.
3142 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3143 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3144 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3145 _IO_legacy_file.
3146 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3147 __builtin_expect. Use _IO_legacy_file.
3148
6c29942c
SL
31492019-02-18 Stefan Liebler <stli@linux.ibm.com>
3150
3151 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3152 Initialize ctid with a known value and remove update of ctid
3153 after clone.
3154 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3155 as assumed current value of ctid_ptr.
3156
225d9445 31572019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
3158
3159 Check that non-sysdeps headers have wrapper headers.
3160 * scripts/check-wrapper-headers.py: New file.
3161 * Makefile (tests-special): Add check-wrapper-headers.out.
3162 (check-wrapper-headers.out): New target.
3163 * Rules (tests-special): Add check-wrapper-headers.out.
3164 (check-wrapper-headers.out): New target.
3165
225d9445 31662019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
3167
3168 Add missing header wrappers under include/.
3169 * include/ar.h: New file.
3170 * include/bits/mqueue2.h: Likewise.
3171 * include/bits/stdio.h: Likewise.
3172 * include/bits/stdio2.h: Likewise.
3173 * include/fstab.h: Likewise.
3174 * include/fts.h: Likewise.
3175 * include/lastlog.h: Likewise.
3176 * include/netinet/icmp6.h: Likewise.
3177 * include/netinet/igmp.h: Likewise.
3178 * include/netinet/ip6.h: Likewise.
3179 * include/re_comp.h: Likewise.
3180 * include/regexp.h: Likewise.
3181 * include/rpcsvc/bootparam.h: Likewise.
3182 * include/rpcsvc/yp_prot.h: Likewise.
3183 * include/sys/random.h: Likewise.
3184 * include/sys/stropts.h: Likewise.
3185 * include/sys/ttychars.h: Likewise.
3186 * include/sys/vfs.h: Likewise.
3187 * include/wait.h: Likewise.
3188
225d9445 31892019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
3190
3191 * nptl_db/proc_service.h: Move to ...
3192 * sysdeps/nptl/proc_service.h: ... here.
3193 * nptl_db/thread_db.h: Move to ...
3194 * sysdeps/nptl/thread_db.h: ... here.
3195 * nptl/descr.h: Include <thread_db.h>.
3196
e442e40d
AZ
31972019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3198
3199 * io/Makefile (tests): Add tst-lockf.
3200 * io/lockf.c (lockf): Use __fcntl and only define for
3201 !__OFF_T_MATCHES_OFF64_T.
3202 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3203 __OFF_T_MATCHES_OFF64_T case.
3204 * io/tst-lockf.c: New file.
3205 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3206 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3207 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3208 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3209 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3211 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3212 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3213 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3214
bc10e22c
FW
32152019-02-15 Florian Weimer <fweimer@redhat.com>
3216
3217 [BZ #24211]
3218 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3219 pd->result after the thread descriptor has been freed.
3220
365f05c7
JM
32212019-02-15 Joseph Myers <joseph@codesourcery.com>
3222
8a11f970
JM
3223 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3224 from function return type.
3225
365f05c7
JM
3226 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3227
6b5c8607 32282019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
3229
3230 * scripts/test_printers_common.py: Set TERM to a known harmless
3231 value.
3232
712182c8
JM
32332019-02-14 Joseph Myers <joseph@codesourcery.com>
3234
3235 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3236 (xdr_u_int): Likewise.
3237 (xdr_enum): Likewise.
3238 (xdr_bytes): Reword fall-through comment.
3239 (xdr_string): Likewise.
3240
eb76e5b4
AZ
32412019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3242
3243 [BZ #2421]
3244 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3245 (tests): Add tst-join8 tst-join9.
3246 * nptl/lll_timedwait_tid.c: Remove file.
3247 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3248 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3249 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3250 * nptl/pthread_join_common.c (timedwait_tid): New function.
3251 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3252 is set.
3253 * nptl/tst-join5.c (thread_join): New function.
3254 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3255 check.
3256 * nptl/tst-join8.c: New file.
3257 * nptl/tst-join9.c: Likewise.
3258 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3259 lll_futex_timed_wait_cancel): Add generic macros.
3260 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3261 Remove definitions.
3262 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3263 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3264 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3265 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3266 Remove function.
3267 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3268 Likewise.
3269 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3270 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3271 (lll_futex_timed_wait_cancel): New macro.
3272
3904fd85
WD
32732019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3274
3275 * benchtests/Makefile: Add malloc-simple benchmark.
3276 * benchtests/bench-malloc-simple.c: New benchmark.
3277
24ca04fe
SP
32782019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3279
3280 * benchtests/bench-memmove.c (do_one_test): Remove unused
3281 ORIG_SRC.
3282 (do_test): Adjust.
3283 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3284 ORIG_SRC.
3285 (do_test): Adjust.
3286
85bd1ddb
JW
32872019-01-13 Jim Wilson <jimw@sifive.com>
3288
3289 [BZ #24040]
3290 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3291 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3292 (func): New.
3293 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3294 call func directly.
3295 * nptl/Makefile (tests): Add tst-unwind-thread.
3296 (CFLAGS-tst-unwind-thread.c): Define.
3297 * nptl/tst-unwind-thread.c: New file.
3298 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3299 as undefined.
3300
86140c62
JM
33012019-02-13 Joseph Myers <joseph@codesourcery.com>
3302
10756268
JM
3303 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3304 comment wording.
3305 * nis/nis_call.c (__do_niscall3): Likewise.
3306
05383720
JM
3307 * catgets/gencat.c (normalize_line): Use braces around empty
3308 'else' body.
3309 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3310 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3311 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3312 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3313 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3314 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3315 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3316 definition.
3317
86140c62
JM
3318 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3319 execlp returns.
3320
16f87cfd
WD
33212019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3322
3323 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3324 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3325 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3326 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3327 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3328 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3329 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3330 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3331 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3332 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3333 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3334 * benchtests/bench-bcopy.c: Delete file.
3335 * benchtests/bench-bzero.c: Likewise.
3336 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3337 (simple_memccpy): Remove.
3338 (generic_memccpy): Add function.
3339 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3340 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3341 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3342 (generic_mempcpy): Add new function.
3343 * benchtests/bench-memset.c (simple_bzero): Remove.
3344 (builtin_bzero): Remove.
3345 (builtin_memset): Remove.
3346 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3347 (generic_rawmemchr): Add new function.
3348
0c6d82e9
FW
33492019-02-12 Florian Weimer <fweimer@redhat.com>
3350
3351 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3352
b3fbfe81
AZ
33532019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3354
3355 [BZ #24122]
3356 * elf/Makefile (tests): Add tst-audit13.
3357 (modules-names): Add tst-audit13mod1.
3358 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3359 rule.
3360 * elf/tst-audit13.c: New file.
3361 * elf/tst-audit13mod1.c: Likewise.
3362
3b856d09
FW
33632019-02-12 Florian Weimer <fweimer@redhat.com>
3364
3365 [BZ #24122]
3366 * elf/rtld.c (unload_audit_module): New function.
3367 (report_audit_module_load_error): Likewise.
3368 (load_audit_module): Likewise. Extracted from dl_main. Call
3369 _dl_close if the laversion symbol cannot be found. Use early
3370 returns for error handling. Add malloc error check. Check for a
3371 zero return value from la_version. Remove spurious comment about
3372 static TLS initialization. Remove useless casts.
3373 (notify_audit_modules_of_loaded_object): New function. Extracted
3374 from dl_main.
3375 (load_audit_module): Likewise.
3376 (dl_main): Call load_audit_modules.
3377
32db86d5
JM
33782019-02-12 Joseph Myers <joseph@codesourcery.com>
3379
3380 * elf/dl-exception.c (_dl_exception_create_format): Add
3381 fall-through comments.
3382 * elf/ldconfig.c (parse_conf_include): Likewise.
3383 * elf/rtld.c (print_statistics): Likewise.
3384 * locale/programs/charmap.c (parse_charmap): Likewise.
3385 * misc/mntent_r.c (__getmntent_r): Likewise.
3386 * posix/wordexp.c (parse_arith): Likewise.
3387 (parse_backtick): Likewise.
3388 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3389 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3390 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3391
a51bc4fe
PC
33922019-02-11 Paul A. Clarke <pc@us.ibm.com>
3393
3394 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3395 Use float instead of double.
3396
fb25b135
TS
33972019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3398
3399 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3400
32ea7299
JM
34012019-02-08 Joseph Myers <joseph@codesourcery.com>
3402
3403 * sysdeps/powerpc/bits/mathinline.h: Remove.
3404
eef4d4f8
FW
34052019-02-08 Florian Weimer <fweimer@redhat.com>
3406
3407 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3408 * math/bits/math-finite.h: Move to ...
3409 * bits/math-finite.h: ... here.
3410
fdfbd47d
FW
34112019-02-08 Florian Weimer <fweimer@redhat.com>
3412
3413 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3414 * bits/unistd_ext.h: here.
3415
11eb21c4
PF
34162019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3417
3418 [BZ #21915]
3419 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3420 * nss/tst-nss-files-hosts-long.c: New file.
3421 * nss/tst-nss-files-hosts-long.root: New directory.
3422 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3423 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3424
e47d82c9
FW
34252019-02-08 Florian Weimer <fweimer@redhat.com>
3426
3427 * include/bits/unistd_ext.h: Remove file.
3428 * posix/bits/unistd_ext.h: Move to ...
3429 * sysdeps/generic/bits/unistd_ext.h: ... here.
3430
8f89ab21
FW
34312019-02-08 Florian Weimer <fweimer@redhat.com>
3432
3433 * include/bits/unistd_ext.h: New file.
3434
144a794e
TS
34352019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3436
3437 * time/tst-strftime2.c: Use array_length macros instead of magic
3438 numbers.
3439
669ff911
FW
34402019-02-08 Florian Weimer <fweimer@redhat.com>
3441
3442 [BZ #24161]
3443 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3444 argument.
3445 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3446 locking if the new do_locking argument is true.
3447 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3448 __run_fork_handlers.
3449
d0bd87d4 34502019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
3451
3452 [BZ #6399]
3453 Linux: Add gettid system call wrapper.
3454 * posix/Makefile (headers): Add bits/unistd_ext.h.
3455 * posix/bits/unistd_ext.h: New file.
3456 * posix/unistd.h: Include it.
3457 * manual/process.texi (Process Identification): Document gettid.
3458 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3459 tst-gettid, tst-gettid-kill.
3460 (tst-gettid): Link with $(shared-thread-library).
3461 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3462 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3463 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3464 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3465 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3466 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3467 Add gettid.
3468 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3469 Likewise.
3470 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3471 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3472 Likewise.
3473 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3474 Likewise.
3475 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3476 Likewise.
3477 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3478 Likewise.
3479 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3480 Likewise.
3481 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3482 Likewise.
3483 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3484 Likewise.
3485 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3486 (GLIBC_2.30): Likewise.
3487 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3488 (GLIBC_2.30): Likewise.
3489 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3490 (GLIBC_2.30): Likewise.
3491 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3492 (GLIBC_2.30): Likewise.
3493 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3494 Likewise.
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3496 (GLIBC_2.30): Likewise.
3497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3498 (GLIBC_2.30): Likewise.
3499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3500 (GLIBC_2.30): Likewise.
3501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3502 (GLIBC_2.30): Likewise.
3503 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3504 Likewise.
3505 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3506 Likewise.
3507 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3508 Likewise.
3509 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3510 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3511 Likewise.
3512 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3513 Likewise.
3514 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3515 Likewise.
3516 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3517 Likewise.
3518 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3519
225d9445 35202019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
3521
3522 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3523 compatibility symbols.
3524
823624bd
SL
35252019-02-07 Stefan Liebler <stli@linux.ibm.com>
3526
3527 [BZ #24180]
3528 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3529 Add compiler barriers and comments.
3530
8311c83f
FW
35312019-02-07 Florian Weimer <fweimer@redhat.com>
3532
3533 * include/array_length.h (array_length): Do not use a statement
3534 expression and _Static_assert, so that array_length can be used at
3535 file scope and as a constant expression.
3536
94b63e66
FW
35372019-02-07 Florian Weimer <fweimer@redhat.com>
3538
3539 * support/xdlfcn.h (xdlmopen): Declare.
3540 * support/xdlmopen.c: New file.
3541 * support/Makefile (libsupport-routines): Add xdlmopen.
3542
c2d8f0b7
JM
35432019-02-06 Joseph Myers <joseph@codesourcery.com>
3544
3545 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3546 before return type, without separate inline.
3547 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3548 * elf/dl-tunables.h (tunable_is_name): Likewise.
3549 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3550 (do_set_top_pad): Likewise.
3551 (do_set_mmap_threshold): Likewise.
3552 (do_set_mmaps_max): Likewise.
3553 (do_set_mallopt_check): Likewise.
3554 (do_set_perturb_byte): Likewise.
3555 (do_set_arena_test): Likewise.
3556 (do_set_arena_max): Likewise.
3557 (do_set_tcache_max): Likewise.
3558 (do_set_tcache_count): Likewise.
3559 (do_set_tcache_unsorted_limit): Likewise.
3560 * nis/nis_subr.c (count_dots): Likewise.
3561 * nptl/allocatestack.c (advise_stack_range): Likewise.
3562 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3563 (do_sin): Likewise.
3564 (reduce_sincos): Likewise.
3565 (do_sincos): Likewise.
3566 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3567 (do_set_elision_enable): Likewise.
3568 (TUNABLE_CALLBACK_FNDECL): Likewise.
3569
3b935595
FW
35702019-02-06 Florian Weimer <fweimer@redhat.com>
3571
3572 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3573 (xdlsym): Use dlerror to detect a NULL symbol.
3574
b4333340
FW
35752019-02-06 Florian Weimer <fweimer@redhat.com>
3576
3577 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3578 <stap-probe.h>.
3579 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3580
b6d8a999
SL
35812019-02-06 Stefan Liebler <stli@linux.ibm.com>
3582
3583 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3584
94eeeec0
SL
35852019-02-06 Stefan Liebler <stli@linux.ibm.com>
3586
3587 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3588 __wmemcmp and weak alias to wmemcmp.
3589
bc79db3f
SL
35902019-02-06 Stefan Liebler <stli@linux.ibm.com>
3591
3592 [BZ #23403]
3593 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3594 TLS_TCB_AT_TP tls variant.
3595 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3596 Add alignment checks.
3597 * support/Makefile (libsupport-routines): Add xposix_memalign and
3598 xpthread_setstack.
3599 * support/support.h: Add xposix_memalign.
3600 * support/xthread.h: Add xpthread_attr_setstack.
3601 * support/xposix_memalign.c: New File.
3602 * support/xpthread_attr_setstack.c: Likewise.
3603
f1ac7455
FW
36042019-02-05 Florian Weimer <fweimer@redhat.com>
3605
3606 [BZ #24164]
3607 arm: Use "nr" constraint for Systemtap probes, to avoid the
3608 compiler using memory operands for constants, due to the "o"
3609 alternative in the default "nor" constraint.
3610 * include/stap-probe.h [USE_STAP_PROBE]: Include
3611 <stap-probe-machine.h>
3612 * sysdeps/generic/stap-probe-machine.h: New file.
3613 * sysdeps/arm/stap-probe-machine.h: Likewise.
3614
7a0dcfc6
JM
36152019-02-04 Joseph Myers <joseph@codesourcery.com>
3616
77dc0d86
JM
3617 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3618 with 0, not tcache->entries[tc_idx].
3619
7a0dcfc6
JM
3620 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3621 once.
3622
65f7767a
AS
36232019-02-04 Andreas Schwab <schwab@suse.de>
3624
3625 [BZ #16976]
3626 [BZ #17396]
3627 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3628 looking up collating elements match against (wide) character
3629 sequence instead of name. Correct alignment adjustment.
3630 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3631 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3632 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3633 (LOCALES): Add cs_CZ.ISO-8859-2.
3634 * posix/tst-fnmatch4.c: New file.
3635 * posix/tst-fnmatch5.c: New file.
3636 * include/wchar.h (__wmemcmp): Declare.
3637 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3638 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3639 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3640 * sysdeps/s390/wmemcmp.c: Likewise.
3641
3f635fb4
L
36422019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3643
3644 [BZ #24155]
3645 CVE-2019-7309
3646 * NEWS: Updated for CVE-2019-7309.
3647 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3648 upper 32 bits of RDX register for x32. Use unsigned Jcc
3649 instructions, instead of signed.
3650 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3651 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3652
2ab5741b
FW
36532019-02-04 Florian Weimer <fweimer@redhat.com>
3654
3655 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3656 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3657 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3658 Likewise.
3659 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3660 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3661 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3662 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3663 Likewise.
3664 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3665 Likewise.
3666 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3667 Likewise.
3668 (posix_spawn_file_actions_addopen): Likewise.
3669 (posix_spawn_file_actions_addclose): Likewise.
3670 (posix_spawn_file_actions_adddup2): Likewise.
3671 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3672 qualifiers.
3673 (posix_spawn_file_actions_addfchdir_np): Likewise.
3674
8692ebdb
DN
36752019-02-04 David Newall <glibc@davidnewall.com>
3676
3677 elf: Implement --preload option for the dynamic linker.
3678 * elf/rtld.c (preloadarg): New variable.
3679 (handle_preload_list): Pass through “where” argument to
3680 do_preload.
3681 (dl_main): Handle "--preload" and add second call to
3682 handle_preload_list.
3683 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3684 (tst-rtld-preload-OBJS): Set variable.
3685 (tst-rtld-preload.out): New target.
3686 * elf/tst-rtld-preload.sh: New file.
3687
5e10136b
MM
36882019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3689
3690 * Makefile (testrun.sh): Exit in case of incorrect argument.
3691
221baae0
FW
36922019-02-04 Florian Weimer <fweimer@redhat.com>
3693
3694 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3695 alignment gaps.
3696
b8c72381
FW
36972019-02-03 Florian Weimer <fweimer@redhat.com>
3698
3699 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3700 implicit overflow checks.
3701
11f382ee
AJ
37022019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3703
3704 * stdlib/isomac.c: Include <unistd.h>.
3705
77c7d55e
FW
37062019-02-03 Florian Weimer <fweimer@redhat.com>
3707
3708 * include/time.h (__tzfile_default): Use int, not long int, for
3709 the GMT offsets.
3710 * time/tzfile.c (struct ttinfo): Change type of the offset member
3711 to int.
3712 (__tzfile_read): Remove useless cast.
3713 (__tzfile_default): Adjust prototype.
3714 * time/tzset.c (tz_rule): Change type of the offset member to int.
3715 (parse_offset): Change the type of the sign variable to int.
3716
ee9941f9
FW
37172019-02-03 Florian Weimer <fweimer@redhat.com>
3718
3719 [BZ #24153]
3720 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3721 * libio/getchar.c (getchar): Likewise.
3722 * libio/getchar_u.c (getchar_unlocked): Likewise.
3723 * libio/getwchar.c (getwchar): Likewise.
3724 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3725 * libio/iogets.c (_IO_gets): Likewise.
3726 * libio/vscanf.c (_IO_vscanf): Likewise.
3727 * libio/vwscanf.c (__vwscanf): Likewise.
3728 * libio/tst-bz24153.c: New file.
3729 * libio/Makefile (tests): Add it.
3730
c70824b9
FW
37312019-02-02 Florian Weimer <fweimer@redhat.com>
3732
3733 [BZ #14829]
3734 * manual/resource.texi (Basic Scheduling Functions): Add
3735 portability note. Change process to task throughout the section.
3736 Remove incorrect comment about sched_yield as it affects
3737 tasks/threads, not entire processes.
3738 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3739 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3740
4dcbbc3b
JM
37412019-02-01 Joseph Myers <joseph@codesourcery.com>
3742
3743 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3744 * configure: Regenerated.
3745 * manual/install.texi (Tools for Compilation): Update minimum GCC
3746 version.
3747 * INSTALL: Regenerated.
3748
6175507c
FW
37492019-02-01 Florian Weimer <fweimer@redhat.com>
3750
3751 * support/support_test_compare_string.c
3752 (support_test_compare_string): Use "string" in error message.
3753 * support/tst-test_compare_string.c (do_test): Adjust.
3754
baef1943
FW
37552019-02-01 Florian Weimer <fweimer@redhat.com>
3756
3757 * support/support_format_address_family.c
3758 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3759
395599f0
FW
37602019-02-01 Florian Weimer <fweimer@redhat.com>
3761
3762 * manual/socket.texi (Internet Address Formats): Clarify the byte
3763 order of struct sockaddr_in, struct sockaddr_in6. Document
3764 sin6_flowinfo and sin6_scope_id.
3765
b06f4c00
WD
37662019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3767
3768 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3769 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3770 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3771 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3772 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3773 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3774
83d1cc42
FX
37752019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3776
3777 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3778 [!MEMCHR](MEMCHR): Set to __memchr.
3779 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3780 Add memchr_generic and memchr_nosimd.
3781 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3782 (__libc_ifunc_impl_list): Add memchr ifuncs.
3783 * sysdeps/aarch64/multiarch/memchr.c: New file.
3784 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3785 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3786
c7d3890f
FX
37872019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3788
3789 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3790 Add memset_emag.
3791 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3792 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3793 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3794 Add IS_EMAG check for ifunc dispatch.
3795 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3796 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3797
07c3d1ec
FX
37982019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3799
3800 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3801 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3802 Add emag.
3803 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3804 New macro.
3805
114f792e
SL
38062019-02-01 Stefan Liebler <stli@linux.ibm.com>
3807
3808 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3809
d5627550
VG
38102019-01-31 Vineet Gupta <vgupta@synopsys.com>
3811
3812 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3813 syscall-template file.
3814
5fc9ed4c
CD
38152019-01-31 Carlos O'Donell <carlos@redhat.com>
3816 Torvald Riegel <triegel@redhat.com>
3817 Rik Prohaska <prohaska7@gmail.com>
3818
3819 [BZ# 23844]
3820 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3821 tst-rwlock-trywrlock-stall.
3822 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3823 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3824 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3825 Set __wrphase_fute to 1 only if we started the write phase.
3826 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3827 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3828 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3829 * support/xpthread_rwlock_destroy.c: New file.
3830 * support/xthread.h: Declare xpthread_rwlock_destroy.
3831
932329a5
JM
38322019-02-01 Joseph Myers <joseph@codesourcery.com>
3833
3834 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3835 version to 4.0.2.
3836
5f10701f
PP
38372019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3838
3839 [BZ #24051]
3840 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3841 * libio/fileops.c (_IO_new_file_underflow): Likewise
3842 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3843 * libio/putchar.c (putchar): Likewise.
3844 * libio/putchar_u.c (putchar_unlocked): Likewise.
3845 * libio/putwchar.c (putchar): Likewise.
3846 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3847 * libio/tst-bz24051.c: New test.
3848 * libio/Makefile (tests): Add tst-bz24051
3849
583dd860
PE
38502019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3851
b626c5aa 3852 CVE-2019-9169
583dd860
PE
3853 regex: fix read overrun [BZ #24114]
3854 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3855 https://debbugs.gnu.org/34140
3856 * posix/regexec.c (proceed_next_node):
3857 Do not read past end of input buffer.
3858
2bac7daa
FW
38592019-01-31 Florian Weimer <fweimer@redhat.com>
3860
3861 [BZ #24059]
3862 * nss/nss_files/files-alias.c (get_next_alias): Handle
3863 continuation line without newline at the end.
3864 * nss/tst-nss-files-alias-truncated.c: New file.
3865 * nss/Makefile [$(build-shared)] (tests): Add
3866 tst-nss-files-alias-truncated.
3867 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3868 * support/namespace.h (struct support_chroot_configuration): Add
3869 aliases member.
3870 (struct support_chroot): Add path_aliases member.
3871 * support/support_chroot.c (support_chroot_create): Handle
3872 aliases.
3873 (support_chroot_free): Free path_aliases.
3874
330c9d0d
SP
38752019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3876
de44ab67
SP
3877 * version.h (RELEASE): Set to "development".
3878 (VERSION): Set to "2.29.9000".
3879 * NEWS: Add section for 2.30.
3880
56c86f5d
SP
3881 * version.h (RELEASE): Set to "stable".
3882 (VERSION): Set to "2.29".
3883 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3884
330c9d0d
SP
3885 * NEWS: Add the list of bugs fixed in 2.29.
3886 * manual/contrib.texi: Update contributors list with some more
3887 names.
3888 * manual/install.texi: Update latest versions of packages
3889 tested.
3890 * INSTALL: Regenerated.
3891
e1e47c91
SP
38922019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3893
3894 * po/be.po: Update translations.
3895 * po/bg.po: Likewise.
3896 * po/ca.po: Likewise.
3897 * po/cs.po: Likewise.
3898 * po/da.po: Likewise.
3899 * po/de.po: Likewise.
3900 * po/el.po: Likewise.
3901 * po/eo.po: Likewise.
3902 * po/es.po: Likewise.
3903 * po/fi.po: Likewise.
3904 * po/fr.po: Likewise.
3905 * po/gl.po: Likewise.
3906 * po/hr.po: Likewise.
3907 * po/hu.po: Likewise.
3908 * po/ia.po: Likewise.
3909 * po/id.po: Likewise.
3910 * po/it.po: Likewise.
3911 * po/ja.po: Likewise.
3912 * po/ko.po: Likewise.
3913 * po/lt.po: Likewise.
3914 * po/nb.po: Likewise.
3915 * po/nl.po: Likewise.
3916 * po/pl.po: Likewise.
3917 * po/pt_BR.po: Likewise.
3918 * po/ru.po: Likewise.
3919 * po/rw.po: Likewise.
3920 * po/sk.po: Likewise.
3921 * po/sl.po: Likewise.
3922 * po/sv.po: Likewise.
3923 * po/tr.po: Likewise.
3924 * po/uk.po: Likewise.
3925 * po/vi.po: Likewise.
3926 * po/zh_CN.po: Likewise.
3927 * po/zh_TW.po: Likewise.
3928
8d016826
UB
39292019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3930
3931 [BZ #24130]
3932 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3933 of $f3 register on $y_is_neg path.
3934
a0bb5abd
ST
39352019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3936
b96e22d0 3937 [BZ #24110]
a0bb5abd
ST
3938 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3939 sigaltstack.ss_flags.
3940
b22eed37
TS
39412019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3942
3943 [BZ #23758]
3944 * manual/time.texi (strftime): Document "%Ey".
3945 * time/strftime_l.c (__strftime_internal): Set the default width
3946 padding with zero of "%Ey" to 2.
3947
32f600a2
TS
3948 [BZ #24096]
3949 * manual/time.texi (strftime): Document "%EC" and "%EY".
3950 * time/Makefile (tests): Add tst-strftime2.
3951 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3952 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3953 override padding for "%Ey".
3954 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3955 "%Ey" in the subformat as if decorated with that flag.
3956 * time/tst-strftime2.c: New file.
3957
8e889c5d
AZ
39582019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3959
3367acdb
AZ
3960 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3961 are not defined.
3962
8e889c5d
AZ
3963 [BZ #24122]
3964 * elf/Makefile (tests): Add tst-audit13.
3965 (modules-names): Add tst-audit13mod1.
3966 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3967 rule.
3968 * elf/rtld.c (dl_main): Handle invalid audit module version.
3969 * elf/tst-audit13.c: New file.
3970 * elf/tst-audit13mod1.c: Likewise.
3971
a95dc01c
ST
39722019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3973
3974 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3975 returned by __hurd_at_flags.
ee4d7902
ST
3976 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3977 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3978 directly instead of __hurd_file_name_lookup.
a95dc01c 3979
712f1167
JM
39802019-01-21 Joseph Myers <joseph@codesourcery.com>
3981
3982 * scripts/build-many-glibcs.py (Context.checkout): Default
3983 binutils version to 2.32 branch.
3984
108bc404
FW
39852019-01-21 Florian Weimer <fweimer@redhat.com>
3986
3987 [BZ #20018]
3988 CVE-2016-10739
3989 resolv: Reject trailing characters in host names
3990 * include/arpa/inet.h (__inet_aton_exact): Declare.
3991 (inet_aton): Remove hidden prototype. No longer used internally.
3992 * nscd/gai.c (__inet_aton): Do not define.
3993 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3994 * nss/digits_dots.c (__inet_aton): Likewise.
3995 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3996 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3997 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3998 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3999 (tst-resolv-trailing): Likewise.
4000 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
4001 libc.
4002 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
4003 Make static. Add endp parameter.
4004 (__inet_aton_exact): New function.
4005 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
4006 (__inet_addr): Call inet_aton_end.
4007 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
4008 not just IPv6. Call __inet_aton_exact.
4009 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
4010 (tests): Make const. Add additional test cases with trailing
4011 characters.
4012 (do_test): Use array_length.
4013 * resolv/tst-inet_aton_exact.c: New file.
4014 * resolv/tst-resolv-trailing.c: Likewise.
4015 * resolv/tst-resolv-nondecimal.c: Likewise.
4016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
4017
5165de69
L
40182019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4019
4020 [BZ# 24097]
4021 CVE-2019-6488
4022 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4023 Clear the upper 32 bits of RSI register.
4024 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4025 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4026 and tst-size_t-wcsnlen.
4027 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4028 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4029
c7c54f65
L
40302019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4031
4032 [BZ# 24097]
4033 CVE-2019-6488
4034 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4035 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4036 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4037 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4038 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4039
ee915088
L
40402019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4041
4042 [BZ# 24097]
4043 CVE-2019-6488
4044 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4045 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4046 * sysdeps/x86_64/strcmp.S: Likewise.
4047 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4048 tst-size_t-strncmp and tst-size_t-wcsncmp.
4049 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4050 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4051 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4052
82d0b4a4
L
40532019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4054
4055 [BZ# 24097]
4056 CVE-2019-6488
4057 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4058 RDX_LP for length. Clear the upper 32 bits of RDX register.
4059 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4060 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4061 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4062 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4063
ecd8b842
L
40642019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4065
4066 [BZ# 24097]
4067 CVE-2019-6488
4068 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4069 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4070 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4071 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4072
231c5676
L
40732019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4074
4075 [BZ# 24097]
4076 CVE-2019-6488
4077 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4078 length. Clear the upper 32 bits of RDX register.
4079 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4080 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4081 Likewise.
4082 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4083 Likewise.
4084 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4085 tst-size_t-wmemchr.
4086 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4087
b304fc20
L
40882019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4089
4090 [BZ# 24097]
4091 CVE-2019-6488
4092 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4093 length. Clear the upper 32 bits of RDX register.
4094 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4095 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4096 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4097 tst-size_t-wmemcmp.
4098 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4099 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4100
97700a34
L
41012019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4102
4103 [BZ# 24097]
4104 CVE-2019-6488
4105 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4106 upper 32 bits of RDX register.
4107 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4108 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4109 tst-size_t-wmemchr.
4110 * sysdeps/x86_64/x32/test-size_t.h: New file.
4111 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4112 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4113
6ca53a24
FW
41142019-01-18 Florian Weimer <fweimer@redhat.com>
4115
4116 [BZ #24112]
4117 resolv: Do not send queries for non-host-names in nss_dns.
4118 * resolv/nss_dns/dns-host.c (check_name): New function.
4119 (_nss_dns_gethostbyname2_r): Use it.
4120 (_nss_dns_gethostbyname_r): Likewise.
4121 (_nss_dns_gethostbyname4_r): Likewise.
4122
5e30b8ef
FW
41232019-01-21 Florian Weimer <fweimer@redhat.com>
4124
4125 * resolv/inet_addr.c: Reformat to GNU style.
4126 (__inet_addr, __inet_aton): Update comment.
4127
71effcea
FW
41282019-01-18 Florian Weimer <fweimer@redhat.com>
4129
4130 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4131 ("malloc: Use current (C11-style) atomics for fastbin access").
4132 This commit introduces a substantial performance regression on
4133 POWER and Aarch64.
4134 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4135 (REMOVE_FB): Define.
4136 (_int_malloc): Use it and reindent.
4137 (_int_free): Use CAS loop with
4138 catomic_compare_and_exchange_val_rel.
4139 (malloc_consolidate): Use atomic_exchange_acq.
4140
4141
562f4362
L
41422019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4143
4144 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4145 -Wl,-z,now.
4146 (LDFLAGS-tst-minsigstksz-2): Likewise.
4147 (LDFLAGS-tst-minsigstksz-3): Likewise.
4148 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4149 (LDFLAGS-tst-minsigstksz-4): Likewise.
4150
80dfa298
TS
41512019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4152
4153 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4154 than "alternate".
4155
008b598e
PC
41562019-01-16 Paul A. Clarke <pc@us.ibm.com>
4157
4158 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4159
fbbc9a4e
ZW
41602019-01-16 Zack Weinberg <zackw@panix.com>
4161
6b5c8607
TS
4162 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4163 (xget_sigstack_location): New test support functions.
4164 * support/xsigstack.c: New file, implementing them.
4165 * support/tst-xsigstack.c: New test for them.
4166 * support/Makefile: Update.
fbbc9a4e 4167
6b5c8607
TS
4168 * signal/tst-minsigstksz-1.c
4169 * signal/tst-minsigstksz-2.c
4170 * signal/tst-minsigstksz-3.c
4171 * signal/tst-minsigstksz-3a.c
4172 * signal/tst-minsigstksz-4.c: New tests.
4173 * signal/Makefile: Run them.
fbbc9a4e 4174
5f1135e4
SP
41752019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4176
4177 * po/libc.pot: Regenerate.
4178
ecdacd34
TMQMF
41792019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4180
4181 * math/libm-test-fma.inc (fma_test_data): Set
4182 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4183
56054664
RA
41842019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4185
4186 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4187 (do_test): Changed __vector __int128_t to __vector unsigned int.
4188
1a153e47
LS
41892019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4190
4191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4192 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4193 stpcpy-avx2 and stpncpy-avx2.
4194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4195 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4196 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4197 and __stpncpy_avx2.
4198 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4199 ifunc-strcpy.h}: rename header for a more generic name.
4200 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4201 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4202 AVX unaligned load is fast and vzeroupper is preferred.
4203 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4204 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4205 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4206 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4207 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4208 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4209
a1b02ae7
DL
42102019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4211
4212 * argp/argp-help.c: Fix typo in comment.
4213 * misc/sys/cdefs.h: Likewise.
4214 * posix/regexec.c (sift_states_iter_mb): Likewise.
4215 * socket/sockatmark.c: Likewise.
4216 * socket/sys/socket.h: Likewise.
4217 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4218 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4219 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4220 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4221 * sysdeps/unix/sockatmark.c: Likewise.
4222 * time/strptime_l.c: Likewise.
4223
5cbbf01e
TS
42242019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4225
4226 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4227 missing space after the cast of "_NL_CURRENT".
4228
0bc9bdf1
RA
42292019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4230
4231 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4232 ifdef to fix read of VSCR.
4233 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4234 tst-ucontext-ppc64-vscr.c to test list.
4235 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4236
5494af04
AH
42372019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4238
4239 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4240 fall-through.
4241
e17f63ff
JW
42422019-01-09 Jim Wilson <jimw@sifive.com>
4243
4244 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4245
02f440c1
WD
42462019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4247
4248 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4249 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4250 __memcpy_falkor for ares.
4251 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4252 Add new define.
4253 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4254 Add ares cpu.
4255
69da3c9e
L
42562019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4257
4258 [BZ #24066]
4259 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4260 4_FP_W_TYPEs are used for IEEE quad precision.
4261 * soft-fp/extendhftf2.c: Likewise.
4262 * soft-fp/extendsftf2.c: Likewise.
4263 * soft-fp/extendxftf2.c: Likewise.
4264 * soft-fp/trunctfdf2.c: Likewise.
4265 * soft-fp/trunctfhf2.c: Likewise.
4266 * soft-fp/trunctfsf2.c: Likewise.
4267 * soft-fp/trunctfxf2.c: Likewise.
4268 * sysdeps/alpha/ots_cvttx.c: Likewise.
4269 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4270 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4271 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4272 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4273 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4274 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4275 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4276 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4277 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4278 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4279 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4280 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4281 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4282 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4283 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4284 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4285 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4286
2ef42716
AJ
42872019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4288
4289 [BZ #24024]
4290 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4291 code with -fmath-errno.
4292 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4293 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4294 * string/test-strerror-errno.c: New file.
4295
7395f3a0
AJ
42962019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4297
4298 [BZ #24046]
4299 * localedata/locales/en_US (date_fmt): Add, set to
4300 "%a %d %b %Y %r %Z".
4301
010fe231
FW
43022019-01-07 Florian Weimer <fweimer@redhat.com>
4303
4304 [BZ #24063]
4305 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4306 instead of @var{errno}.
4307 (Parsing of Integers): Likewise.
4308 (Parsing of Floats): Likewise.
4309 * manual/filesys.texi (Working with Directory Trees): Likewise.
4310 (Temporary Files): Likewise.
4311 * manual/job.texi (Terminal Access Functions): Likewise.
4312 * manual/llio.texi (Synchronizing I/O): Likewise.
4313 * manual/math.texi (SVID Random): Likewise.
4314 * manual/message.texi (The catgets Functions): Likewise.
4315 (Translation with gettext): Likewise.
4316 (Locating gettext catalog): Likewise.
4317 (Charset conversion in gettext): Likewise.
4318 * manual/nss.texi (NSS Module Function Internals): Likewise.
4319 * manual/search.texi (Hash Search Function): Likewise.
4320 * manual/setjmp.texi (System V contexts): Likewise.
4321 * manual/time.texi (Sleeping): Likewise.
4322 * manual/users.texi (Lookup User): Likewise.
4323 (Lookup Group): Likewise.
4324
b79dc8d0
AZ
43252019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4326
4327 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4328 fix typo.
4329
890461fe 43302019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
4331
4332 [BZ #19444]
4333 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4334 __builtin_unreachable for default case in switch.
4335 (__ieee754_yn): Likewise.
4336 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4337 (__ieee754_ynl): Likewise.
4338 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4339 (__ieee754_ynl): Likewise.
4340 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4341 (__ieee754_ynl): Likewise.
4342
8b18d418
SN
43432019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4344
4345 * manual/maint.texi: Use @{ and @}.
4346
4392898d
FW
43472019-01-04 Florian Weimer <fweimer@redhat.com>
4348
4349 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4350 function.
4351 (do_in_chroot_1): Call it.
4352 (run_chroot_tests):
4353 Improve error reporting in case it is not possible to create a
4354 collision for the PTY name required by the test.
4355
17cc27d5
AZ
43562019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4357
ce7eb0e9
AZ
4358 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4359 lll_wait_tid with timeout.
4360 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4361 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4362 futex_reltimed_wait_cancelable for cancelabla mode.
4363 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4364 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4365 macros.
4366 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4367 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4368 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4369 SYSCALL_CANCEL_NCS): New macro.
4370 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4371 (lll_timedwait_tid): Remove macro.
4372 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4373 Likewise.
4374 (lll_timedwait_tid): Likewise.
4375 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4376 Likewise.
4377 (lll_timedwait_tid): Likewise.
4378 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4379 Likewise.
4380 (lll_timedwait_tid): Likewise.
4381 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4382 Use INTERNAL_SYSCALL_CANCEL.
4383 * sysdeps/unix/sysv/linux/futex-internal.h
4384 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4385 instead of __pthread_{enable,disable}_asynccancel.
4386 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4387 (lll_futex_wait_cancel): New macro.
4388
0b13e255
AZ
4389 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4390 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4391
85c828a4
AZ
4392 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4393 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4394
d0d7f85f
AZ
4395 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4396 in backtrace analysis.
4397 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4398 side-effects.
4399 (tf_send): Likewise.
4400
17cc27d5
AZ
4401 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4402 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4403 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4404 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4405 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4406 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4407 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4408 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4409 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4410 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4411 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4412 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4413 Likewise.
4414 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4415 tst-cancel-wrappers.sh.
4416 (generated): Remove tst-cancel-wrappers.out.
4417 (tst-cancel-wrappers.out): Remove rule.
4418 * nptl/tst-cancel-wrappers.sh: Remove file.
4419
7d7af8f1
SN
44202019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4421
4422 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4423 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4424 Update.
4425
805334b2
AZ
44262019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4427
4428 [BZ #23640]
4429 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4430 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4431 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4432 close-on-exec reset for adddup2 file action.
4433 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4434
03992356
ZW
44352019-01-03 Zack Weinberg <zackw@panix.com>
4436
4437 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4438 parameter. Only use deprecated scanf when __USE_GNU is defined
4439 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4440 than 201103L, whichever is relevant for the language being compiled.
4441
4442 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4443 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4444 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4445 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4446 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4447
4448 * libio/iovsscanf.c
4449 * libio/fwscanf.c
4450 * libio/iovswscanf.c
4451 * libio/swscanf.c
4452 * libio/vscanf.c
4453 * libio/vwscanf.c
4454 * libio/wscanf.c
4455 * stdio-common/fscanf.c
4456 * stdio-common/scanf.c
4457 * stdio-common/vfscanf.c
4458 * stdio-common/vfwscanf.c
4459 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4460 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4461 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4462 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4463 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4464 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4465 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4466 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4467 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4468 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4469 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4470 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4471 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4472 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4473 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4474
4475 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4476 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4477 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4478 not sscanf.
4479 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4480 with a preprocessor macro.
4481
4482 * stdio-common/bug21.c, stdio-common/scanf14.c:
4483 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4484 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4485 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4486 to xscanf, xfscanf, xsscanf.
4487
4488 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4489 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4490 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4491 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4492 xfscanf, xsscanf.
4493 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4494 override feature selection macros or provide definitions of u_char etc.
4495 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4496 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4497 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4498 with -std=gnu89.
4499
8083afa5
AZ
45002019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4501
6f343c1f
AZ
4502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4503 bits/termios-misc.h.
4504 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4505 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4506 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4507 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4508 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4509 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4510
51f4beb0
AZ
4511 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4512 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4513 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4514 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4515 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4516 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4517 termios-misc.h.
4518 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4519 (sysdep_headers): Add termios-misc.h.
4520
f69c5cb2
AZ
4521 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4522 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4523 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4524
3aa4a07e
AZ
4525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4526 termios-tcflow.h.
4527 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4528 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4529 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4530 TCSAFLUSH): Move to termios-tcflow.h.
4531 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4532 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4533 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4534 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4535
22679ddf
AZ
4536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4537 termios-c_lflag.h.
4538 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4539 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4540 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4541 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4542 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4543 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4544 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4545 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4546 Likewise.
4547 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4548 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4549 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4550 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4551
72eb6ecc
AZ
4552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4553 termios-c_cflag.h.
4554 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4555 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4556 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4557 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4558 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4559 termios-c_cflag.h.
4560 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4561 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4562 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4563 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4564
9c5d0d02
AZ
4565 [BZ #23783]
4566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4567 termios-baud.h.
4568 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4569 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4570 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4571 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4572 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4573 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4574 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4575 __MAX_BAUD): Move to termios-baud.h.
4576 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4577 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4578 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4579 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4580 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4581
7b832018
AZ
4582 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4583 termios-c_oflag.h.
4584 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4585 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4586 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4587 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4588 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4589 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4590 termios-c_oflag.h.
4591 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4592 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4593 FFR1): Likewise.
4594 [USE_MISC] (XTABS): Likewise.
4595 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4596 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4597 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4598 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4599
3127003e
AZ
4600 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4601 termios-c_iflag.h.
4602 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4603 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4604 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4605 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4606 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4607 IUTF8): Move to termios-c_iflag.h.
4608 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4609 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4610 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4611 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4612
48c1dd96
AZ
4613 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4614 termios-cc.h.
4615 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4616 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4617 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4618 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4619 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4620 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4621 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4622 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4623 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4624 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4625 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4626 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4627
e5a50db3
AZ
4628 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4629 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4630 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4631 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4633 termios-struct.h.
4634 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4635 termios-struct.h.
4636 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4637 Likewise.
4638 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4639 Likewise.
4640 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4641 Likewise.
4642 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4643 Likewise.
4644 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4645 _HAVE_C_OSPEED): Define.
4646 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4647 _HAVE_C_OSPEED): Likewise.
4648 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4649 _HAVE_C_OSPEED): Likewise.
4650 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4651 (cfsetospeed): Check for define value instead of existence.
4652 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4653 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4654 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4655 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4656 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4657
8083afa5
AZ
4658 [BZ #17783]
4659 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4660 Define.
4661 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4662 (TIOCSER_TEMT): Likewise.
4663 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4664 (TEOCSER_TEMT): Likewise.
4665
4d7d7dc6
P
46662019-01-02 PanderMusubi <pander@users.sourceforge.net>
4667
4668 [BZ #24011]
4669 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4670
8e291a29
JM
46712019-01-02 Joseph Myers <joseph@codesourcery.com>
4672
4673 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4674
55137f7d
ST
46752019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4676
4677 * sysdeps/htl/pt-barrierattr-setpshared.c
4678 (pthread_barrierattr_setpshared): Add stub warning.
4679 * sysdeps/htl/pt-condattr-setpshared.c
4680 (pthread_condattr_setpshared): Likewise.
4681 * sysdeps/htl/pt-mutexattr-setpshared.c
4682 (pthread_mutexattr_setpshared): Likewise.
4683 * sysdeps/htl/pt-rwlockattr-setpshared.c
4684 (pthread_rwlockattr_setpshared): Likewise.
4685 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4686 (pthread_mutexattr_setpshared): Likewise.
4687
2ce09e01
JM
46882019-01-02 Joseph Myers <joseph@codesourcery.com>
4689
acb55dcb
JM
4690 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4691 constants to match with Linux 4.20.
4692
2ce09e01
JM
4693 * sysdeps/mips/mips32/libm-test-ulps: Update.
4694 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4695
fe20bb1d
AJ
46962019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4697
4698 [BZ #24034]
4699 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4700 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4701 than __typeof (...) for the a_ptr variable.
4702
2d9837c1
GG
47032019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4704
4705 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4706 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4707 * libio/Makefile (tests): Add tst-sprintf-ub and
4708 tst-sprintf-chk-ub.
4709 (CFLAGS-tst-sprintf-ub.c): New variable.
4710 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4711 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4712 destination buffer and check for overflows in fortified mode.
4713 * libio/libioP.h (PRINTF_CHK): New macro.
4714 * libio/tst-sprintf-chk-ub.c: New file.
4715 * libio/tst-sprintf-ub.c: Likewise.
4716
d5c6df0b 47172019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
4718
4719 [BZ #24018]
4720 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4721 failure.
4722
66081e38
FW
47232019-01-02 Florian Weimer <fweimer@redhat.com>
4724
4725 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4726
04277e02
JM
47272019-01-01 Joseph Myers <joseph@codesourcery.com>
4728
6ef3d225
JM
4729 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4730 macro.
4731
e3d4e292
JM
4732 * sysdeps/unix/sysv/linux/netpacket/packet.h
4733 (PACKET_IGNORE_OUTGOING): New macro.
4734
f4507797
JM
4735 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4736 macro.
4737
47ad5e1a
JM
4738 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4739 version to 4.20.
4740 (riscv_flush_icache): New syscall.
4741
7628a1b0
JM
4742 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4743 trailing whitespace removed.
4744 * scripts/config.guess: Update to version 2019-01-01.
4745 * scripts/config.sub: Update to version 2019-01-01.
4746 * scripts/move-if-change: Update from gnulib.
4747
c9123888
JM
4748 * NEWS: Update copyright dates.
4749 * catgets/gencat.c (print_version): Likewise.
4750 * csu/version.c (banner): Likewise.
4751 * debug/catchsegv.sh: Likewise.
4752 * debug/pcprofiledump.c (print_version): Likewise.
4753 * debug/xtrace.sh (do_version): Likewise.
4754 * elf/ldconfig.c (print_version): Likewise.
4755 * elf/ldd.bash.in: Likewise.
4756 * elf/pldd.c (print_version): Likewise.
4757 * elf/sotruss.sh: Likewise.
4758 * elf/sprof.c (print_version): Likewise.
4759 * iconv/iconv_prog.c (print_version): Likewise.
4760 * iconv/iconvconfig.c (print_version): Likewise.
4761 * locale/programs/locale.c (print_version): Likewise.
4762 * locale/programs/localedef.c (print_version): Likewise.
4763 * login/programs/pt_chown.c (print_version): Likewise.
4764 * malloc/memusage.sh (do_version): Likewise.
4765 * malloc/memusagestat.c (print_version): Likewise.
4766 * malloc/mtrace.pl: Likewise.
4767 * manual/libc.texinfo: Likewise.
4768 * nptl/version.c (banner): Likewise.
4769 * nscd/nscd.c (print_version): Likewise.
4770 * nss/getent.c (print_version): Likewise.
4771 * nss/makedb.c (print_version): Likewise.
4772 * posix/getconf.c (main): Likewise.
4773 * scripts/test-installation.pl: Likewise.
4774 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4775
04277e02
JM
4776 * All files with FSF copyright notices: Update copyright dates
4777 using scripts/update-copyrights.
4778 * locale/programs/charmap-kw.h: Regenerated.
4779 * locale/programs/locfile-kw.h: Likewise.
4780
e740e5b1
JM
47812018-12-31 Joseph Myers <joseph@codesourcery.com>
4782
4783 * timezone/zdump.c: Update from tzcode 2018i.
4784 * timezone/zic.c: Likewise.
4785
9b7f98b3
PE
47862018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4787
4788 regex: improve Gnulib port to AIX
4789 From the glibc point of view, this removes duplicate macro
4790 definitions and is obviously safe.
4791 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4792 * posix/regex_internal.h:
4793 (__attribute__, __attribute_warn_unused_result__):
4794 Remove; already defined elsewhere.
4795
b50dd3bc
FW
47962018-12-31 Florian Weimer <fw@deneb.enyo.de>
4797
4798 [BZ #24027]
4799 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4800 copying operation. (ncopies had the wrong type, resulting in an
4801 integer wraparound and too few elements being copied.)
4802
0b9c8490
L
48032018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4804
4805 [BZ #24022]
4806 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4807 <asm/syscalls.h> exists with __has_include__ before including it.
4808
01047fa6
JM
48092018-12-31 Joseph Myers <joseph@codesourcery.com>
4810
4811 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4812 version to 4.20.
4813
6b5c8607 48142018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
4815
4816 * hurd/lookup-retry: Include <unistd.h>.
4817 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4818 Release it on return. Handle "pid" magical lookup retry.
4819
989182c4
RL
48202018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4821
4822 [BZ #10496]
4823 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4824 (t_fmt_ampm): Likewise.
4825 * localedata/locales/aa_ER (t_fmt): Likewise.
4826 (t_fmt_ampm): Likewise.
4827 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4828 (t_fmt_ampm): Likewise.
4829 * localedata/locales/aa_ET (t_fmt): Likewise.
4830 (t_fmt_ampm): Likewise.
4831 * localedata/locales/am_ET (t_fmt): Likewise.
4832 (t_fmt_ampm): Likewise.
4833 * localedata/locales/byn_ER (t_fmt): Likewise.
4834 (t_fmt_ampm): Likewise.
4835 * localedata/locales/om_ET (t_fmt): Likewise.
4836 (t_fmt_ampm): Likewise.
4837 * localedata/locales/sid_ET (t_fmt): Likewise.
4838 (t_fmt_ampm): Likewise.
4839 * localedata/locales/so_DJ (t_fmt): Likewise.
4840 (t_fmt_ampm): Likewise.
4841 * localedata/locales/so_ET (t_fmt): Likewise.
4842 (t_fmt_ampm): Likewise.
4843 * localedata/locales/so_SO (t_fmt): Likewise.
4844 (t_fmt_ampm): Likewise.
4845 * localedata/locales/ti_ER (t_fmt): Likewise.
4846 (t_fmt_ampm): Likewise.
4847 * localedata/locales/ti_ET (t_fmt): Likewise.
4848 (t_fmt_ampm): Likewise.
4849 * localedata/locales/tig_ER (t_fmt): Likewise.
4850 (t_fmt_ampm): Likewise.
4851 * localedata/locales/wal_ET (t_fmt): Likewise.
4852 (t_fmt_ampm): Likewise.
4853
4854 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4855 * localedata/locales/ar_IN (t_fmt): Likewise.
4856 * localedata/locales/bhb_IN (t_fmt): Likewise.
4857 * localedata/locales/bho_IN (t_fmt): Likewise.
4858 * localedata/locales/bi_VU (t_fmt): Likewise.
4859 * localedata/locales/bn_BD (t_fmt): Likewise.
4860 * localedata/locales/bn_IN (t_fmt): Likewise.
4861 * localedata/locales/brx_IN (t_fmt): Likewise.
4862 * localedata/locales/doi_IN (t_fmt): Likewise.
4863 * localedata/locales/en_HK (t_fmt): Likewise.
4864 (t_fmt_ampm): Likewise.
4865 * localedata/locales/en_IN (t_fmt): Likewise.
4866 * localedata/locales/en_PH (t_fmt): Likewise.
4867 * localedata/locales/gu_IN (t_fmt): Likewise.
4868 * localedata/locales/hi_IN (t_fmt): Likewise.
4869 * localedata/locales/hif_FJ (t_fmt): Likewise.
4870 * localedata/locales/hne_IN (t_fmt): Likewise.
4871 * localedata/locales/kn_IN (t_fmt): Likewise.
4872 * localedata/locales/kok_IN (t_fmt): Likewise.
4873 * localedata/locales/ks_IN (t_fmt): Likewise.
4874 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4875 * localedata/locales/mag_IN (t_fmt): Likewise.
4876 * localedata/locales/mai_IN (t_fmt): Likewise.
4877 * localedata/locales/mjw_IN (t_fmt): Likewise.
4878 * localedata/locales/ml_IN (t_fmt): Likewise.
4879 * localedata/locales/mni_IN (t_fmt): Likewise.
4880 * localedata/locales/mr_IN (t_fmt): Likewise.
4881 * localedata/locales/ms_MY (t_fmt): Likewise.
4882 * localedata/locales/pa_IN (t_fmt): Likewise.
4883 * localedata/locales/raj_IN (t_fmt): Likewise.
4884 * localedata/locales/sa_IN (t_fmt): Likewise.
4885 * localedata/locales/sat_IN (t_fmt): Likewise.
4886 * localedata/locales/sd_IN (t_fmt): Likewise.
4887 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4888 * localedata/locales/tcy_IN (t_fmt): Likewise.
4889 * localedata/locales/the_NP (t_fmt): Likewise.
4890 * localedata/locales/to_TO (t_fmt): Likewise.
4891 * localedata/locales/ur_IN (t_fmt): Likewise.
4892
4893 * localedata/locales/hif_FJ (d_t_fmt): Set to
4894 "%A %d %b %Y %I:%M:%S %p".
4895 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4896
4897 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4898 * localedata/locales/ar_BH (t_fmt): Likewise.
4899 * localedata/locales/ar_DZ (t_fmt): Likewise.
4900 * localedata/locales/ar_EG (t_fmt): Likewise.
4901 * localedata/locales/ar_IQ (t_fmt): Likewise.
4902 * localedata/locales/ar_JO (t_fmt): Likewise.
4903 * localedata/locales/ar_KW (t_fmt): Likewise.
4904 * localedata/locales/ar_LB (t_fmt): Likewise.
4905 * localedata/locales/ar_LY (t_fmt): Likewise.
4906 * localedata/locales/ar_OM (t_fmt): Likewise.
4907 * localedata/locales/ar_QA (t_fmt): Likewise.
4908 * localedata/locales/ar_SD (t_fmt): Likewise.
4909 * localedata/locales/ar_SS (t_fmt): Likewise.
4910 * localedata/locales/ar_SY (t_fmt): Likewise.
4911 * localedata/locales/ar_TN (t_fmt): Likewise.
4912 * localedata/locales/ar_YE (t_fmt): Likewise.
4913
4914 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4915 (t_fmt_ampm): Likewise.
4916 * localedata/locales/gez_ET (t_fmt): Likewise.
4917 (t_fmt_ampm): Likewise.
4918
4919 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4920 (t_fmt_ampm): Likewise.
4921 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4922
4923 * localedata/locales/zh_HK (t_fmt):
4924 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4925
4926 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4927 because this locale does not use the 12-hour clock.
4928 (t_fmt): Set to "%Z %H:%M:%S".
4929 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4930
4931 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4932 because this locale does not use the 12-hour clock.
4933 (t_fmt): Set to "%H:%M:%S %Z".
4934 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4935
4936 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4937 because this locale does not use the 12-hour clock.
4938 (t_fmt): Set to "%T".
4939 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4940 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4941
4942 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4943 because this locale does not use the 12-hour clock.
4944 (t_fmt): Set to "%H:%M:%S %Z".
4945 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4946
4947 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4948 because this locale does not use the 12-hour clock.
4949 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4950 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4951
27841a7d
RL
49522018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4953
4954 [BZ #10496]
4955 [BZ #23724]
4956 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4957 (t_fmt_ampm): Likewise.
4958 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4959 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4960 (d_fmt): Set to "%-d.%-m.%y".
4961
0253580a
AZ
49622018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4963
4964 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4965 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4966 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4967 Likewise.
4968 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4969 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4970 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4971 function.
4972 * support/blob_repeat.c (check_mul_overflow_size_t,
4973 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4974
09104e5b
AJ
49752018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4976
4977 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4978
c0feb731
PE
49792018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4980
4981 regex: simplify Gnulib port
4982 This simplifies the code, by removing stuff intended for porting
4983 to Gnulib but no longer needed there.
4984 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4985 uses of libc_hidden_def, weak_alias.
4986 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4987 _Restrict_ except for public-facing headers.
4988 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4989 Remove; already defined elsewhere.
4990 * posix/regex.c, posix/regex_internal.h:
4991 Use __GNUC_PREREQ instead of rolling our own.
4992 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4993
5289f1f5
WD
49942018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4995
4996 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 4997 (memchr_strlen): New function.
5289f1f5 4998
ba4b8fab
L
49992018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5000
5001 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
5002 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5003 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
5004
9412979a
L
50052018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5006
5007 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5008
8700a785
L
50092018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5010
5011 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
5012 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
5013 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
5014 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
5015 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
5016 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
5017 <sysdeps/ieee754/flt-32/s_sincosf.c>.
5018
57b3ff8e
JM
50192018-12-21 Joseph Myers <joseph@codesourcery.com>
5020
5021 [BZ #24023]
5022 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5023 PLT reference in libc.so.
5024 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5025 _Q_lltoq and _Q_qtod PLT references in libc.so.
5026
90d3320d
WD
50272018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5028
5029 * benchtests/bench-memchr.c: Cleanup defines.
5030 * benchtests/bench-memcmp.c: Likewise.
5031 * benchtests/bench-memset.c: Likewise.
5032 * benchtests/bench-memset-large.c: Likewise.
5033 * benchtests/bench-memset-walk.c: Likewise.
5034 * benchtests/bench-stpcpy.c: Likewise.
5035 * benchtests/bench-stpncpy.c: Likewise.
5036 * benchtests/bench-strcat.c: Likewise.
5037 * benchtests/bench-strchr.c: Likewise.
5038 * benchtests/bench-strcmp.c: Likewise.
5039 * benchtests/bench-strcpy.c: Likewise.
5040 * benchtests/bench-strcspn.c: Likewise.
5041 * benchtests/bench-string.h: Likewise.
5042 * benchtests/bench-strlen.c: Likewise.
5043 * benchtests/bench-strncat.c: Likewise.
5044 * benchtests/bench-strncmp.c: Likewise.
5045 * benchtests/bench-strncpy.c: Likewise.
5046 * benchtests/bench-strnlen.c: Likewise.
5047 * benchtests/bench-strpbrk.c: Likewise.
5048 * benchtests/bench-strrchr.c: Likewise.
5049 * benchtests/bench-strspn.c: Likewise.
5050
192963be
JM
50512018-12-21 Joseph Myers <joseph@codesourcery.com>
5052
5d025ea6
JM
5053 * stdlib/longlong.h: Update from GCC.
5054
192963be
JM
5055 [BZ #23993]
5056 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5057 * configure: Regenerated.
5058 * manual/install.texi (Tools for Compilation): Update minimum GCC
5059 version.
5060 * INSTALL: Regenerated.
5061
6b5c8607 50622018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
5063
5064 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5065
6b5c8607 50662018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
5067
5068 * malloc/malloc.c (mremap_chunk): Additional checks.
5069
5f72b005
MH
50702018-12-21 Mao Han <han_mao@c-sky.com>
5071
5072 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5073 * scripts/build-many-glibcs.py: Add C-SKY targets.
5074 * sysdeps/csky/Implies: New file.
5075 * sysdeps/csky/Makefile: Likewise.
5076 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5077 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5078 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5079 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5080 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5081 * sysdeps/csky/abiv2/memmove.S: Likewise.
5082 * sysdeps/csky/abiv2/memset.S: Likewise.
5083 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5084 * sysdeps/csky/abiv2/start.S: Likewise.
5085 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5086 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5087 * sysdeps/csky/abiv2/strlen.S: Likewise.
5088 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5089 * sysdeps/csky/abort-instr.h: Likewise.
5090 * sysdeps/csky/atomic-machine.h: Likewise.
5091 * sysdeps/csky/bits/endian.h: Likewise.
5092 * sysdeps/csky/bits/fenv.h: Likewise.
5093 * sysdeps/csky/bits/link.h: Likewise.
5094 * sysdeps/csky/bits/setjmp.h: Likewise.
5095 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5096 * sysdeps/csky/bsd-setjmp.S: Likewise.
5097 * sysdeps/csky/configure: Likewise.
5098 * sysdeps/csky/configure.ac: Likewise.
5099 * sysdeps/csky/dl-machine.h: Likewise.
5100 * sysdeps/csky/dl-procinfo.c: Likewise.
5101 * sysdeps/csky/dl-procinfo.h: Likewise.
5102 * sysdeps/csky/dl-sysdep.h: Likewise.
5103 * sysdeps/csky/dl-tls.h: Likewise.
5104 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5105 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5106 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5107 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5108 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5109 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5110 * sysdeps/csky/fpu/fegetround.c: Likewise.
5111 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5112 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5113 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5114 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5115 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5116 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5117 * sysdeps/csky/fpu/fesetround.c: Likewise.
5118 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5119 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5120 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5121 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5122 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5123 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5124 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5125 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5126 * sysdeps/csky/fpu_control.h: Likewise.
5127 * sysdeps/csky/gccframe.h: Likewise.
5128 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5129 * sysdeps/csky/ldsodefs.h: Likewise.
5130 * sysdeps/csky/libc-tls.c: Likewise.
5131 * sysdeps/csky/linkmap.h: Likewise.
5132 * sysdeps/csky/machine-gmon.h: Likewise.
5133 * sysdeps/csky/memusage.h: Likewise.
5134 * sysdeps/csky/nofpu/Implies: Likewise.
5135 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5136 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5137 * sysdeps/csky/nptl/Makefile: Likewise.
5138 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5139 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5140 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5141 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5142 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5143 * sysdeps/csky/nptl/tls.h: Likewise.
5144 * sysdeps/csky/preconfigure: Likewise.
5145 * sysdeps/csky/sfp-machine.h: Likewise.
5146 * sysdeps/csky/sotruss-lib.c: Likewise.
5147 * sysdeps/csky/stackinfo.h: Likewise.
5148 * sysdeps/csky/sysdep.h: Likewise.
5149 * sysdeps/csky/tininess.h: Likewise.
5150 * sysdeps/csky/tst-audit.h: Likewise.
5151 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5152 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5153 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5154 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5155 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5156 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5157 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5158 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5159 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5160 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5161 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5162 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5163 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5164 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5165 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5166 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5167 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5168 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5169 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5170 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5171 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5172 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5173 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5174 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5175 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5176 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5177 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5178 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5179 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5180 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5181 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5182 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5183 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5184 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5185 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5186 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5187 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5188 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5189 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5190 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5191 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5192 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5193 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5194 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5195
6b5c8607 51962018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
5197
5198 * include/time.h (__difftime64): Add.
5199 * time/difftime.c (subtract): convert to 64-bit time.
5200 * time/difftime.c (__difftime64): Add.
5201 * time/difftime.c (__difftime): Wrap around __difftime64.
5202
ab416931
L
52032018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5204
5205 * manual/examples/add.c: Remove redundant "if not".
5206 * manual/examples/argp-ex1.c: Likewise.
5207 * manual/examples/argp-ex2.c: Likewise.
5208 * manual/examples/argp-ex3.c: Likewise.
5209 * manual/examples/argp-ex4.c: Likewise.
5210 * manual/examples/atexit.c: Likewise.
5211 * manual/examples/db.c: Likewise.
5212 * manual/examples/dir.c: Likewise.
5213 * manual/examples/dir2.c: Likewise.
5214 * manual/examples/execinfo.c: Likewise.
5215 * manual/examples/filecli.c: Likewise.
5216 * manual/examples/filesrv.c: Likewise.
5217 * manual/examples/fmtmsgexpl.c: Likewise.
5218 * manual/examples/genpass.c: Likewise.
5219 * manual/examples/inetcli.c: Likewise.
5220 * manual/examples/inetsrv.c: Likewise.
5221 * manual/examples/isockad.c: Likewise.
5222 * manual/examples/longopt.c: Likewise.
5223 * manual/examples/memopen.c: Likewise.
5224 * manual/examples/memstrm.c: Likewise.
5225 * manual/examples/mkdirent.c: Likewise.
5226 * manual/examples/mkfsock.c: Likewise.
5227 * manual/examples/mkisock.c: Likewise.
5228 * manual/examples/mygetpass.c: Likewise.
5229 * manual/examples/pipe.c: Likewise.
5230 * manual/examples/popen.c: Likewise.
5231 * manual/examples/rprintf.c: Likewise.
5232 * manual/examples/search.c: Likewise.
5233 * manual/examples/select.c: Likewise.
5234 * manual/examples/setjmp.c: Likewise.
5235 * manual/examples/sigh1.c: Likewise.
5236 * manual/examples/sigusr.c: Likewise.
5237 * manual/examples/stpcpy.c: Likewise.
5238 * manual/examples/strdupa.c: Likewise.
5239 * manual/examples/strftim.c: Likewise.
5240 * manual/examples/subopt.c: Likewise.
5241 * manual/examples/swapcontext.c: Likewise.
5242 * manual/examples/termios.c: Likewise.
5243 * manual/examples/testopt.c: Likewise.
5244 * manual/examples/testpass.c: Likewise.
5245 * manual/examples/timeval_subtract.c: Likewise.
5246
515f463f
JM
52472018-12-19 Joseph Myers <joseph@codesourcery.com>
5248
da75c1b1
JM
5249 * sysdeps/x86/fpu/math_private.h: New file.
5250 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5251
515f463f
JM
5252 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5253 definition.
5254 (cosh): Likewise.
5255 (tanh): Likewise.
5256
1616d034
TMQMF
52572018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5258
5259 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5260 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5261 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5262 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5263 fields.
5264 (_dl_show_auxv): Give a special treatment to
5265 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5266 and AT_L3_CACHEGEOMETRY.
5267 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5268 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5269 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5270 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5271
61595e3d
AS
52722018-12-19 Andreas Schwab <schwab@suse.de>
5273
5274 * nscd/connections.c (check_use): Don't abort on invalid len.
5275
bbb7dc84
ST
52762018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5277
5278 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5279 values in the 64bit value cases.
5280
6b5c8607 52812018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 5282
c4c2836a
AA
5283 * include/time.h
5284 (__ctime64_r): Add.
5285 * time/ctime_r.c
5286 (__ctime64_r): Add.
5287 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5288
7755e504
AA
5289 * include/time.h
5290 (__ctime64): Add.
5291 * time/gmtime.c
5292 (__ctime64): Add.
5293 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5294
a1d346ce
AA
5295 * include/time.h
5296 (__gmtime64_r): Add.
5297 * time/gmtime.c
5298 (__gmtime64_r): Add.
5299 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5300
131db8b0
AA
5301 * include/time.h
5302 (__gmtime64): Add.
5303 * time/gmtime.c
5304 (__gmtime64): Add.
5305 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5306
64c2277d
AA
5307 * include/time.h
5308 (__localtime64_r): Add.
5309 * time/localtime.c
5310 (__localtime64_r): Add.
5311 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5312
56b98bf1
AZ
53132018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5314
64dd7a16
AZ
5315 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5316 kernel_sigction definition.
5317
8b1d5da5
AZ
5318 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5319
f9eabb19
AZ
5320 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5321
56b98bf1
AZ
5322 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5323 __syscall_rt_sigaction.
5324 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5325 (kernel_sigaction): Use Linux generic defintion.
5326 (STUB): Define.
5327 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5328 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5329 (__syscall_rt_sigaction): Remove implementation.
5330 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5331 hidden.
5332 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5333 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5334 INTERNAL_SYSCALL): Remove definitions.
5335 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5336 action and signal set size.
5337 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5338 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5339
43a45c2d
AZ
53402018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5341 James Clarke <jrtc27@jrtc27.com>
5342
dfa6216f 5343 [BZ #23967]
43a45c2d
AZ
5344 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5345 Define if SA_RESTORER is defined.
5346 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5347 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5348 already defined.
5349 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5350 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5351 definitions.
5352 (HAS_SA_RESTORER): Define.
5353 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5354 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5355 (HAS_SA_RESTORER): Define.
5356 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5357 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5358 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5359 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5360 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5361
646ce7e0
JM
53622018-12-18 Joseph Myers <joseph@codesourcery.com>
5363
5364 * sysdeps/unix/sysv/linux/kernel-features.h
5365 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5366 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5367 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5368 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5369 (__ASSUME_ST_INO_64_BIT): Likewise.
5370 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5371 <kernel-features.h>.
5372 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5373 Remove conditional code.
5374 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5375 <kernel-features.h>.
5376 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5377 Remove conditional code.
5378 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5379 <kernel-features.h>.
5380 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5381 Remove conditional code.
5382 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5383 <kernel-features.h>.
5384 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5385 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5386
80190d2b
SL
53872018-12-18 Stefan Liebler <stli@linux.ibm.com>
5388
5389 * sysdeps/s390/multiarch/ifunc-resolve.h
5390 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5391 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5392 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5393 Delete macro definition.
5394 (s390_libc_ifunc_init): Rename to
5395 s390_libc_ifunc_expr_stfle_init.
5396 * sysdeps/s390/bzero: Use
5397 s390_libc_ifunc_expr_stfle_init instead of
5398 s390_libc_ifunc_init.
5399 * sysdeps/s390/memcmp.c: Likewise.
5400 * sysdeps/s390/memcpy.c: Likewise.
5401 * sysdeps/s390/mempcpy.c: Likewise.
5402 * sysdeps/s390/memset.c: Likewise.
5403
12f0dcb8
SL
54042018-12-18 Stefan Liebler <stli@linux.ibm.com>
5405
5406 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5407 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5408
25654a8c
SL
54092018-12-18 Stefan Liebler <stli@linux.ibm.com>
5410
5411 * sysdeps/s390/multiarch/Makefile
5412 (sysdep_routines): Remove wmemcmp variants.
5413 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5414 * sysdeps/s390/multiarch/ifunc-impl-list.c
5415 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5416 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5417 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5418 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5419 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5420 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5421 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5422 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5423
d2a7436c
SL
54242018-12-18 Stefan Liebler <stli@linux.ibm.com>
5425
5426 * sysdeps/s390/multiarch/Makefile
5427 (sysdep_routines): Remove wmemset variants.
5428 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5429 * sysdeps/s390/multiarch/ifunc-impl-list.c
5430 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5431 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5432 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5433 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5434 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5435 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5436 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5437 * sysdeps/s390/ifunc-wmemset.h: New file.
5438
c62534ae
SL
54392018-12-18 Stefan Liebler <stli@linux.ibm.com>
5440
5441 * sysdeps/s390/multiarch/Makefile
5442 (sysdep_routines): Remove wmemchr variants.
5443 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5444 * sysdeps/s390/multiarch/ifunc-impl-list.c
5445 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5446 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5447 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5448 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5449 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5450 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5451 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5452 * sysdeps/s390/ifunc-wmemchr.h: New file.
5453
79b44cf6
SL
54542018-12-18 Stefan Liebler <stli@linux.ibm.com>
5455
5456 * sysdeps/s390/multiarch/Makefile
5457 (sysdep_routines): Remove wcscspn variants.
5458 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5459 * sysdeps/s390/multiarch/ifunc-impl-list.c
5460 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5461 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5462 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5463 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5464 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5465 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5466 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5467 * sysdeps/s390/ifunc-wcscspn.h: New file.
5468
8e87c1f6
SL
54692018-12-18 Stefan Liebler <stli@linux.ibm.com>
5470
5471 * sysdeps/s390/multiarch/Makefile
5472 (sysdep_routines): Remove wcspbrk variants.
5473 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5474 * sysdeps/s390/multiarch/ifunc-impl-list.c
5475 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5476 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5477 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5478 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5479 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5480 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5481 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5482 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5483
8507e831
SL
54842018-12-18 Stefan Liebler <stli@linux.ibm.com>
5485
5486 * sysdeps/s390/multiarch/Makefile
5487 (sysdep_routines): Remove wcsspn variants.
5488 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5489 * sysdeps/s390/multiarch/ifunc-impl-list.c
5490 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5491 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5492 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5493 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5494 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5495 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5496 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5497 * sysdeps/s390/ifunc-wcsspn.h: New file.
5498
4753713a
SL
54992018-12-18 Stefan Liebler <stli@linux.ibm.com>
5500
5501 * sysdeps/s390/multiarch/Makefile
5502 (sysdep_routines): Remove wcsrchr variants.
5503 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5504 * sysdeps/s390/multiarch/ifunc-impl-list.c
5505 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5506 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5507 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5508 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5509 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5510 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5511 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5512 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5513
c09c1b6f
SL
55142018-12-18 Stefan Liebler <stli@linux.ibm.com>
5515
5516 * sysdeps/s390/multiarch/Makefile
5517 (sysdep_routines): Remove wcschrnul variants.
5518 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5519 * sysdeps/s390/multiarch/ifunc-impl-list.c
5520 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5521 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5522 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5523 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5524 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5525 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5526 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5527 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5528
cf3ccc31
SL
55292018-12-18 Stefan Liebler <stli@linux.ibm.com>
5530
5531 * sysdeps/s390/multiarch/Makefile
5532 (sysdep_routines): Remove wcschr variants.
5533 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5534 * sysdeps/s390/multiarch/ifunc-impl-list.c
5535 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5536 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5537 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5538 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5539 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5540 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5541 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5542 * sysdeps/s390/ifunc-wcschr.h: New file.
5543
e9873e1d
SL
55442018-12-18 Stefan Liebler <stli@linux.ibm.com>
5545
5546 * sysdeps/s390/multiarch/Makefile
5547 (sysdep_routines): Remove wcsncmp variants.
5548 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5549 * sysdeps/s390/multiarch/ifunc-impl-list.c
5550 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5551 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5552 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5553 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5554 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5555 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5556 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5557 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5558
3459e23d
SL
55592018-12-18 Stefan Liebler <stli@linux.ibm.com>
5560
5561 * sysdeps/s390/multiarch/Makefile
5562 (sysdep_routines): Remove wcscmp variants.
5563 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5564 * sysdeps/s390/multiarch/ifunc-impl-list.c
5565 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5566 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5567 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5568 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5569 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5570 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5571 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5572 * sysdeps/s390/ifunc-wcscmp.h: New file.
5573
814a76e1
SL
55742018-12-18 Stefan Liebler <stli@linux.ibm.com>
5575
5576 * sysdeps/s390/multiarch/Makefile
5577 (sysdep_routines): Remove wcsncat variants.
5578 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5579 * sysdeps/s390/multiarch/ifunc-impl-list.c
5580 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5581 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5582 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5583 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5584 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5585 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5586 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5587 * sysdeps/s390/ifunc-wcsncat.h: New file.
5588
3389cae4
SL
55892018-12-18 Stefan Liebler <stli@linux.ibm.com>
5590
5591 * sysdeps/s390/multiarch/Makefile
5592 (sysdep_routines): Remove wcscat variants.
5593 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5594 * sysdeps/s390/multiarch/ifunc-impl-list.c
5595 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5596 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5597 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5598 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5599 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5600 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5601 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5602 * sysdeps/s390/ifunc-wcscat.h: New file.
5603
c3081bcb
SL
56042018-12-18 Stefan Liebler <stli@linux.ibm.com>
5605
5606 * sysdeps/s390/multiarch/Makefile
5607 (sysdep_routines): Remove wcpncpy variants.
5608 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5609 * sysdeps/s390/multiarch/ifunc-impl-list.c
5610 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5611 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5612 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5613 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5614 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5615 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5616 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5617 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5618
0966dd86
SL
56192018-12-18 Stefan Liebler <stli@linux.ibm.com>
5620
5621 * sysdeps/s390/multiarch/Makefile
5622 (sysdep_routines): Remove wcsncpy variants.
5623 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5624 * sysdeps/s390/multiarch/ifunc-impl-list.c
5625 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5626 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5627 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5628 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5629 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5630 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5631 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5632 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5633
0582e428
SL
56342018-12-18 Stefan Liebler <stli@linux.ibm.com>
5635
5636 * sysdeps/s390/multiarch/Makefile
5637 (sysdep_routines): Remove wcpcpy variants.
5638 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5639 * sysdeps/s390/multiarch/ifunc-impl-list.c
5640 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5641 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5642 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5643 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5644 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5645 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5646 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5647 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5648
804f2e5c
SL
56492018-12-18 Stefan Liebler <stli@linux.ibm.com>
5650
5651 * sysdeps/s390/multiarch/Makefile
5652 (sysdep_routines): Remove wcscpy variants.
5653 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5654 * sysdeps/s390/multiarch/ifunc-impl-list.c
5655 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5656 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5657 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5658 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5659 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5660 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5661 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5662 * sysdeps/s390/ifunc-wcscpy.h: New file.
5663
c7e7cd26
SL
56642018-12-18 Stefan Liebler <stli@linux.ibm.com>
5665
5666 * sysdeps/s390/multiarch/Makefile
5667 (sysdep_routines): Remove wcsnlen variants.
5668 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5669 * sysdeps/s390/multiarch/ifunc-impl-list.c
5670 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5671 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5672 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5673 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5674 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5675 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5676 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5677 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5678
2e02d0b7
SL
56792018-12-18 Stefan Liebler <stli@linux.ibm.com>
5680
5681 * sysdeps/s390/multiarch/Makefile
5682 (sysdep_routines): Remove wcslen variants.
5683 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5684 * sysdeps/s390/multiarch/ifunc-impl-list.c
5685 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5686 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5687 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5688 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5689 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5690 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5691 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5692 * sysdeps/s390/ifunc-wcslen.h: New file.
5693
89bfcbdf
SL
56942018-12-18 Stefan Liebler <stli@linux.ibm.com>
5695
5696 * sysdeps/s390/multiarch/Makefile
5697 (sysdep_routines): Remove memrchr variants.
5698 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5699 * sysdeps/s390/multiarch/ifunc-impl-list.c
5700 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5701 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5702 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5703 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5704 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5705 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5706 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5707 * sysdeps/s390/ifunc-memrchr.h: New file.
5708
196655ba
SL
57092018-12-18 Stefan Liebler <stli@linux.ibm.com>
5710
5711 * sysdeps/s390/multiarch/Makefile
5712 (sysdep_routines): Remove memccpy variants.
5713 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5714 * sysdeps/s390/multiarch/ifunc-impl-list.c
5715 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5716 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5717 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5718 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5719 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5720 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5721 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5722 * sysdeps/s390/ifunc-memccpy.h: New file.
5723
4c7b3cec
SL
57242018-12-18 Stefan Liebler <stli@linux.ibm.com>
5725
5726 * sysdeps/s390/multiarch/Makefile
5727 (sysdep_routines): Remove rawmemchr variants.
5728 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5729 * sysdeps/s390/multiarch/ifunc-impl-list.c
5730 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5731 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5732 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5733 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5734 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5735 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5736 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5737 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5738
581a051c
SL
57392018-12-18 Stefan Liebler <stli@linux.ibm.com>
5740
5741 * sysdeps/s390/multiarch/Makefile
5742 (sysdep_routines): Remove memchr variants.
5743 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5744 * sysdeps/s390/multiarch/ifunc-impl-list.c
5745 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5746 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5747 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5748 * sysdeps/s390/multiarch/memchr.c: Move to ...
5749 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5750 * sysdeps/s390/ifunc-memchr.h: New file.
5751 * sysdeps/s390/s390-64/memchr.S: Move to ...
5752 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5753 for 31/64bit and ifunc handling.
5754 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5755 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5756 * sysdeps/s390/s390-32/memchr.S: Likewise.
5757
5d2ec20a
SL
57582018-12-18 Stefan Liebler <stli@linux.ibm.com>
5759
5760 * sysdeps/s390/multiarch/Makefile
5761 (sysdep_routines): Remove strcspn variants.
5762 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5763 * sysdeps/s390/multiarch/ifunc-impl-list.c
5764 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5765 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5766 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5767 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5768 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5769 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5770 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5771 * sysdeps/s390/ifunc-strcspn.h: New file.
5772
572cca93
SL
57732018-12-18 Stefan Liebler <stli@linux.ibm.com>
5774
5775 * sysdeps/s390/multiarch/Makefile
5776 (sysdep_routines): Remove strpbrk variants.
5777 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5778 * sysdeps/s390/multiarch/ifunc-impl-list.c
5779 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5780 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5781 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5782 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5783 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5784 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5785 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5786 * sysdeps/s390/ifunc-strpbrk.h: New file.
5787
483fc569
SL
57882018-12-18 Stefan Liebler <stli@linux.ibm.com>
5789
5790 * sysdeps/s390/multiarch/Makefile
5791 (sysdep_routines): Remove strspn variants.
5792 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5793 * sysdeps/s390/multiarch/ifunc-impl-list.c
5794 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5795 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5796 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5797 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5798 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5799 * sysdeps/s390/multiarch/strspn.c: Move to ...
5800 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5801 * sysdeps/s390/ifunc-strspn.h: New file.
5802
26ea8760
SL
58032018-12-18 Stefan Liebler <stli@linux.ibm.com>
5804
5805 * sysdeps/s390/multiarch/Makefile
5806 (sysdep_routines): Remove strrchr variants.
5807 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5808 * sysdeps/s390/multiarch/ifunc-impl-list.c
5809 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5810 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5811 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5812 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5813 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5814 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5815 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5816 * sysdeps/s390/ifunc-strrchr.h: New file.
5817
a1361e65
SL
58182018-12-18 Stefan Liebler <stli@linux.ibm.com>
5819
5820 * sysdeps/s390/multiarch/Makefile
5821 (sysdep_routines): Remove strchrnul variants.
5822 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5823 * sysdeps/s390/multiarch/ifunc-impl-list.c
5824 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5825 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5826 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5827 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5828 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5829 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5830 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5831 * sysdeps/s390/ifunc-strchrnul.h: New file.
5832
32f12653
SL
58332018-12-18 Stefan Liebler <stli@linux.ibm.com>
5834
5835 * sysdeps/s390/multiarch/Makefile
5836 (sysdep_routines): Remove strchr variants.
5837 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5838 * sysdeps/s390/multiarch/ifunc-impl-list.c
5839 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5840 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5841 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5842 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5843 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5844 * sysdeps/s390/multiarch/strchr.c: Move to ...
5845 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5846 * sysdeps/s390/ifunc-strchr.h: New file.
5847
316b8842
SL
58482018-12-18 Stefan Liebler <stli@linux.ibm.com>
5849
5850 * sysdeps/s390/multiarch/Makefile
5851 (sysdep_routines): Remove strncmp variants.
5852 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5853 * sysdeps/s390/multiarch/ifunc-impl-list.c
5854 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5855 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5856 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5857 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5858 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5859 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5860 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5861 * sysdeps/s390/ifunc-strncmp.h: New file.
5862
cdab85fe
SL
58632018-12-18 Stefan Liebler <stli@linux.ibm.com>
5864
5865 * sysdeps/s390/multiarch/Makefile
5866 (sysdep_routines): Remove strcmp variants.
5867 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5868 * sysdeps/s390/multiarch/ifunc-impl-list.c
5869 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5870 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5871 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5872 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5873 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5874 * sysdeps/s390/ifunc-strcmp.h: New file.
5875 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5876 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5877 for 31/64bit and ifunc handling.
5878 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5879 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5880 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5881
b9353351
SL
58822018-12-18 Stefan Liebler <stli@linux.ibm.com>
5883
5884 * sysdeps/s390/multiarch/Makefile
5885 (sysdep_routines): Remove strncat variants.
5886 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5887 * sysdeps/s390/multiarch/ifunc-impl-list.c
5888 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5889 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5890 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5891 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5892 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5893 * sysdeps/s390/multiarch/strncat.c: Move to ...
5894 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5895 * sysdeps/s390/ifunc-strncat.h: New file.
5896
8e5a0afb
SL
58972018-12-18 Stefan Liebler <stli@linux.ibm.com>
5898
5899 * sysdeps/s390/multiarch/Makefile
5900 (sysdep_routines): Remove strcat variants.
5901 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5902 * sysdeps/s390/multiarch/ifunc-impl-list.c
5903 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5904 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5905 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5906 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5907 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5908 * sysdeps/s390/multiarch/strcat.c: Move to ...
5909 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5910 * sysdeps/s390/ifunc-strcat.h: New file.
5911
25218822
SL
59122018-12-18 Stefan Liebler <stli@linux.ibm.com>
5913
5914 * sysdeps/s390/multiarch/Makefile
5915 (sysdep_routines): Remove stpncpy variants.
5916 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5917 * sysdeps/s390/multiarch/ifunc-impl-list.c
5918 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5919 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5920 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5921 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5922 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5923 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5924 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5925 * sysdeps/s390/ifunc-stpncpy.h: New file.
5926
d1bdbf38
SL
59272018-12-18 Stefan Liebler <stli@linux.ibm.com>
5928
5929 * sysdeps/s390/multiarch/Makefile
5930 (sysdep_routines): Remove strncpy variants.
5931 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5932 * sysdeps/s390/multiarch/ifunc-impl-list.c
5933 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5934 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5935 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5936 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5937 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5938 * sysdeps/s390/ifunc-strncpy.h: New file.
5939 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5940 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5941 and adjust ifunc handling.
5942 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5943 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5944 and adjust ifunc handling.
5945 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5946 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5947
97044931
SL
59482018-12-18 Stefan Liebler <stli@linux.ibm.com>
5949
5950 * sysdeps/s390/multiarch/Makefile
5951 (sysdep_routines): Remove stpcpy variants.
5952 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5953 * sysdeps/s390/multiarch/ifunc-impl-list.c
5954 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5955 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5956 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5957 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5958 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5959 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5960 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5961 * sysdeps/s390/ifunc-stpcpy.h: New file.
5962
914a4e05
SL
59632018-12-18 Stefan Liebler <stli@linux.ibm.com>
5964
5965 * sysdeps/s390/multiarch/Makefile
5966 (sysdep_routines): Remove strcpy variants.
5967 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5968 * sysdeps/s390/multiarch/ifunc-impl-list.c
5969 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5970 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5971 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5972 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5973 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5974 * sysdeps/s390/ifunc-strcpy.h: New file.
5975 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5976 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5977 for 31/64bit and ifunc handling.
5978 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5979 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5980 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5981
de10e44d
SL
59822018-12-18 Stefan Liebler <stli@linux.ibm.com>
5983
5984 * sysdeps/s390/multiarch/Makefile
5985 (sysdep_routines): Remove strnlen variants.
5986 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5987 * sysdeps/s390/multiarch/ifunc-impl-list.c
5988 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5989 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5990 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5991 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5992 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5993 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5994 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5995 * sysdeps/s390/ifunc-strnlen.h: New file.
5996
ff3ca374
SL
59972018-12-18 Stefan Liebler <stli@linux.ibm.com>
5998
5999 * sysdeps/s390/multiarch/Makefile
6000 (sysdep_routines): Remove strlen variants.
6001 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
6002 * sysdeps/s390/multiarch/ifunc-impl-list.c
6003 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
6004 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
6005 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
6006 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
6007 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
6008 * sysdeps/s390/multiarch/strlen.c: Move to ...
6009 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
6010 * sysdeps/s390/ifunc-strlen.h: New file.
6011
d2c4c403
SL
60122018-12-18 Stefan Liebler <stli@linux.ibm.com>
6013
6014 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
6015 * sysdeps/s390/multiarch/ifunc-impl-list.c
6016 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
6017 * sysdeps/s390/ifunc-memmem.h: New file.
6018 * sysdeps/s390/memmem.c: Likewise.
6019 * sysdeps/s390/memmem-c.c: Likewise.
6020 * sysdeps/s390/memmem-vx.c: Likewise.
6021
8c25dddd
SL
60222018-12-18 Stefan Liebler <stli@linux.ibm.com>
6023
6024 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6025 * sysdeps/s390/multiarch/ifunc-impl-list.c
6026 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6027 * sysdeps/s390/ifunc-strstr.h: New file.
6028 * sysdeps/s390/strstr.c: Likewise.
6029 * sysdeps/s390/strstr-c.c: Likewise.
6030 * sysdeps/s390/strstr-vx.c: Likewise.
6031
cdd927d9
SL
60322018-12-18 Stefan Liebler <stli@linux.ibm.com>
6033
6034 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6035 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6036 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6037 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6038 New defines.
6039 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6040 * sysdeps/s390/memmove-c.c: New file.
6041 * sysdeps/s390/memmove.c: Likewise.
6042 * sysdeps/s390/multiarch/ifunc-impl-list.c
6043 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6044
2ee1bc57
SL
60452018-12-18 Stefan Liebler <stli@linux.ibm.com>
6046
6047 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6048 * sysdeps/s390/configure.ac: Add check for z13 support.
6049 * sysdeps/s390/configure: Regenerated.
6050
d097d976
SL
60512018-12-18 Stefan Liebler <stli@linux.ibm.com>
6052
6053 * sysdeps/s390/memcopy.h: New file.
6054
e099aab0
SL
60552018-12-18 Stefan Liebler <stli@linux.ibm.com>
6056
6057 * sysdeps/s390/s390-32/bcopy.S: Remove.
6058 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6059
18eb862d
SL
60602018-12-18 Stefan Liebler <stli@linux.ibm.com>
6061
6062 * sysdeps/s390/ifunc-memcpy.h: New File.
6063 * sysdeps/s390/memcpy.S: Move to ...
6064 * sysdeps/s390/memcpy-z900.S ... here.
6065 Move implementations from memcpy-s390x.s to here.
6066 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6067 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6068 Remove memcpy/mempcpy variants.
6069 * sysdeps/s390/Makefile (sysdep_routines):
6070 Add memcpy/mempcpy variants.
6071 * sysdeps/s390/multiarch/ifunc-impl-list.c
6072 (__libc_ifunc_impl_list): Adjust ifunc variants for
6073 memcpy and mempcpy.
6074 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6075 to ...
6076 * sysdeps/s390/memcpy.c: ... here.
6077 Adjust ifunc variants for memcpy.
6078 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6079 * sysdeps/s390/mempcpy.c: ... here.
6080 Adjust ifunc variants for mempcpy.
6081 * sysdeps/s390/mempcpy.S: Delete file.
6082
df3eb8de
SL
60832018-12-18 Stefan Liebler <stli@linux.ibm.com>
6084
6085 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6086 * sysdeps/s390/memcpy.S: ... here.
6087 Adjust to be usable for 31/64bit.
6088 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6089 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6090 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6091 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6092 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6093 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6094 Adjust to be usable for 31/64bit.
6095 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6096 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6097 * sysdeps/s390/multiarch/memcpy.c: ... here.
6098 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6099
b7e024a8
SL
61002018-12-18 Stefan Liebler <stli@linux.ibm.com>
6101
6102 * sysdeps/s390/ifunc-memcmp.h: New File.
6103 * sysdeps/s390/memcmp.S: Move to ...
6104 * sysdeps/s390/memcmp-z900.S ... here.
6105 Move implementations from memcmp-s390x.s to here.
6106 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6107 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6108 Remove memcmp variants.
6109 * sysdeps/s390/Makefile (sysdep_routines):
6110 Add memcmp variants.
6111 * sysdeps/s390/multiarch/ifunc-impl-list.c
6112 (__libc_ifunc_impl_list): Adjust ifunc variants for
6113 memcmp.
6114 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6115 to ...
6116 * sysdeps/s390/memcmp.c: ... here.
6117 Adjust ifunc variants for memcmp.
6118
6c6b8c74
SL
61192018-12-18 Stefan Liebler <stli@linux.ibm.com>
6120
6121 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6122 * sysdeps/s390/memcmp.S: ... here.
6123 Adjust to be usable for 31/64bit.
6124 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6125 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6126 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6127 Remove memcmp.
6128 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6129 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6130 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6131 Adjust to be usable for 31/64bit.
6132 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6133 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6134 * sysdeps/s390/multiarch/memcmp.c: ... here.
6135 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6136
07be3928
SL
61372018-12-18 Stefan Liebler <stli@linux.ibm.com>
6138
6139 * sysdeps/s390/s390-32/bzero.S: Delete file.
6140 * sysdeps/s390/s390-64/bzero.S: Likewise.
6141 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6142 * sysdeps/s390/bzero.c: New file.
6143 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6144 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6145 * sysdeps/s390/multiarch/ifunc-impl-list.c
6146 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6147
712a254a
SL
61482018-12-18 Stefan Liebler <stli@linux.ibm.com>
6149
6150 * sysdeps/s390/ifunc-memset.h: New File.
6151 * sysdeps/s390/memset.S: Move to ...
6152 * sysdeps/s390/memset-z900.S ... here.
6153 Move implementations from memset-s390x.s to here.
6154 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6155 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6156 Remove memset variants.
6157 * sysdeps/s390/Makefile (sysdep_routines):
6158 Add memset variants.
6159 * sysdeps/s390/multiarch/ifunc-impl-list.c
6160 (__libc_ifunc_impl_list): Adjust ifunc variants for
6161 memset.
6162 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6163 to ...
6164 * sysdeps/s390/memset.c: ... here.
6165 Adjust ifunc variants for memset.
6166
5f1743d1
SL
61672018-12-18 Stefan Liebler <stli@linux.ibm.com>
6168
6169 * sysdeps/s390/s390-64/memset.S: Move to ...
6170 * sysdeps/s390/memset.S: ... here.
6171 Adjust to be usable for 31/64bit.
6172 * sysdeps/s390/s390-32/memset.S: Delete File.
6173 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6174 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6175 Remove memset.
6176 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6177 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6178 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6179 Adjust to be usable for 31/64bit.
6180 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6181 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6182 * sysdeps/s390/multiarch/memset.c: ... here.
6183 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6184
e8023f26
SL
61852018-12-18 Stefan Liebler <stli@linux.ibm.com>
6186
6187 * sysdeps/s390/multiarch/ifunc-resolve.h
6188 (s390_libc_ifunc_init, s390_libc_ifunc,
6189 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6190
b8686c0d
SL
61912018-12-18 Stefan Liebler <stli@linux.ibm.com>
6192
6193 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6194 * sysdeps/s390/configure.ac: Add check for z10 support.
6195 * sysdeps/s390/configure: Regenerated.
6196
cd815050
L
61972018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6198
6199 * sysdeps/i386/atomic-machine.h: Merged with ...
6200 * sysdeps/x86_64/atomic-machine.h: To ...
6201 * sysdeps/x86/atomic-machine.h: This. New file.
6202
053c52b1
FW
62032018-12-18 Florian Weimer <fweimer@redhat.com>
6204
6205 Rewrite locale/gen-translit.pl in Python.
6206 * locale/Makefile (generated): Add C-translit.h.
6207 (before-compile): Add $(objpfx)C-translit.h.
6208 (C-translit.h): Move to $(objpfx). Create target directory.
6209 Build using Python script.
6210 * locale/gen-translit.py: New file.
6211 * locale/gen-translit.pl: Remove file.
6212 * locale/C-translit.h.in: Change comment character to '#' for
6213 easier parsing without a C preprocessor.
6214 * locale/C-translit.h: Remove generated file.
6215 * manual/install.texi (Tools for Compilation): Do not mention
6216 C-translit.h.
6217 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6218 Remove locale/C-translit.h.
6219 * scripts/update-copyrights: Likewise.
6220 * INSTALL: Regenerate.
6221
40e6c1ec
FW
62222018-12-18 Florian Weimer <fweimer@redhat.com>
6223
6224 [BZ #23995]
6225 * localedata/locales/bi_VU: Remove executable bit from file.
6226
6b5c8607 62272018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
6228
6229 * include/time.h
6230 (__localtime64): Add.
6231 * manual/maint.texi: Document Y2038 symbol handling.
6232 * time/localtime.c
6233 (__localtime64): Add.
bfb79db4 6234 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 6235
df648905
JM
62362018-12-17 Joseph Myers <joseph@codesourcery.com>
6237
551e81d9
JM
6238 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6239 Do not clobber r12.
6240
df648905
JM
6241 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6242 to allow extra macros from first or second sources.
6243 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6244 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6245 (tests-special): Add $(objpfx)tst-mman-consts.out.
6246 ($(objpfx)tst-mman-consts.out): New makefile target.
6247
6bbfc5c0
MH
62482018-12-17 Mao Han <han_mao@c-sky.com>
6249
6250 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6251 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6252 without stat64 system call support.
6253 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6254 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6255 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6256 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6257 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6258 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6259 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6260 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6261 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6262 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6263 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6264
ef202e53
PE
62652018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6266
6267 regex: fix storage-exhaustion error
6268 [BZ #18040]
6269 * posix/regexec.c (get_subexp):
6270 Do not continue if storage is exhausted.
6271
077caf61
AG
62722018-12-15 Assaf Gordon <assafgordon@gmail.com>
6273
6274 regex: fix heap-use-after-free error
6275 [BZ #18040]
6276 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6277 https://debbugs.gnu.org/32592
6278 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6279 call extend_buffers which reallocates the re_string_t internal buffer.
6280 Local variable 'buf' was not updated in such case, resulting in
6281 use-after-free.
6282 * posix/regexec.c (get_subexp): Update 'buf' after call to
6283 get_subexp_sub.
6284
0c1719e6
FW
62852018-12-15 Florian Weimer <fweimer@redhat.com>
6286
6287 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6288 (minimum_stride_size): Use it.
6289 (support_blob_repeat_allocate): Likewise.
6290
033a2c0a
JM
62912018-12-14 Joseph Myers <joseph@codesourcery.com>
6292
6293 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6294 definition.
6295 (acosh): Likewise.
6296 (atanh): Likewise.
6297
e361dc04
FW
62982018-12-14 Florian Weimer <fweimer@redhat.com>
6299
6300 * manual/process.texi (Process Creation Concepts): Remove
6301 documentation of process (ID) lifetime. List more process
6302 creation functions. Reference Process Identification section.
6303 (Process Identification): Add information about process ID
6304 lifetime. Describe Linux thread/task IDs.
6305 * manual/signal.texi (Signaling Another Process): Mention that the
6306 signal is always sent to the process.
6307
bd51ff5e
GG
63082018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6309
6310 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6311 and tst-ldbl-efgcvt.
6312 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6313 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6314 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6315 (fcvt_tests, output_error, output_r_error, do_test): Use the
6316 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6317 select the type of floating-point variables and arguments; to
6318 produce extra tests for double and conversion specifiers for
6319 printf; and to set the names of called functions.
6320 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6321 in tst-efgcvt-template.c.
6322 * misc/tst-ldbl-efgcvt.c: Likewise.
6323
268bb71e
SL
63242018-12-14 Stefan Liebler <stli@linux.ibm.com>
6325
6326 * nss/Makefile (tst-nss-test3.out): New rule.
6327
db6df070
JM
63282018-12-13 Joseph Myers <joseph@codesourcery.com>
6329
6330 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6331 clobber sp.
6332
ade8b817
CD
63332018-12-13 fanjinke <fanjinke@hygon.cn>
6334
6335 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6336 "HygonGenuine".
6337
3d265911
AS
63382018-12-13 Andreas Schwab <schwab@suse.de>
6339
f21e8f8c 6340 [BZ #23861]
3d265911 6341 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
6342 (__pthread_rwlock_rdlock_full): Update expected value for
6343 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6344 * nptl/tst-rwlock-pwn.c: New file.
6345 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 6346
bf8ae8c0
JM
63472018-12-12 Joseph Myers <joseph@codesourcery.com>
6348
6349 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6350 definition.
6351
de099757
LS
63522018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6353
6354 * benchtests/scripts/compare_bench.py (do_compare): write to
6355 stderr in casestat is not present.
6356 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6357 stderr in case timings field is not present. Also string showing
6358 the output filename goes into the stderr.
6359
1990185f
LS
63602018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6361
6362 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6363 and ZeroDivisorError exceptions.
6364 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6365 argument to loop through user provided statistics.
6366 * benchtests/scripts/compare_bench.py (main): Include the --stats
6367 argument.
6368
587426d4
LS
63692018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6370
6371 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6372 instead of return.
6373
46703efa
FW
63742018-12-12 Florian Weimer <fweimer@redhat.com>
6375
6376 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6377 clause to copyright header.
6378
1d880d4a
TMQMF
63792018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6380
6381 [BZ #23614]
6382 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6383 registers saved in the stack frame.
6384 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6385 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6386
1a502f52
GG
63872018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6388
6389 * include/bits/monetary-ldbl.h: New file.
6390 * include/bits/printf-ldbl.h: Likewise.
6391 * include/bits/stdio-ldbl.h: Likewise.
6392 * include/bits/stdlib-ldbl.h: Likewise.
6393 * include/bits/syslog-ldbl.h: Likewise.
6394 * include/bits/wchar-ldbl.h: Likewise.
6395
df682d1d
GG
63962018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6397
6398 * libio/libio.h: Remove redirection for _IO_vfprintf.
6399
c2c082c1
AS
64002018-12-11 Andreas Schwab <schwab@suse.de>
6401
6402 * Makerules: Remove all references to abilist-pattern.
6403 (update-all-abi): Simplify find expression.
6404
505b5b29
SN
64052018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6406
6407 [BZ #23961]
6408 * math/auto-libm-test-in: Add new test case.
6409 * math/auto-libm-test-out-pow: Regenerated.
6410 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6411
304c61a2
DD
64122018-12-10 DJ Delorie <dj@redhat.com>
6413
6414 [BZ #23948]
6415 * support/test-container.c: Move postclean step to before we
6416 change namespaces.
6417
a8110b72
JM
64182018-12-10 Joseph Myers <joseph@codesourcery.com>
6419
cb7be159
JM
6420 * scripts/gen-as-const.py (main): Handle --python option.
6421 * scripts/gen-py-const.awk: Remove.
6422 * Makerules (py-const-script): Use gen-as-const.py.
6423 ($(py-const)): Likewise.
6424 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6425 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6426 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6427 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6428 ~PTHREAD_MUTEX_NO_ELISION_NP.
6429 * manual/README.pretty-printers: Update reference to
6430 gen-py-const.awk.
6431
a8110b72
JM
6432 * scripts/glibcextract.py: New file.
6433 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6434 or tempfile. Import glibcexctract.
6435 (compute_c_consts): Remove. Moved to glibcextract.py.
6436 (gen_test): Update reference to compute_c_consts.
6437 (main): Likewise.
6438 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6439 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6440 * sysdeps/unix/sysv/linux/Makefile
6441 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6442 Redirect stderr as well as stdout.
6443
f9ba9eb8
RÁE
64442018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6445
6446 [BZ #19767]
6447 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
6448 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6449 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 6450 ALWAYS_USE_VSYSCALL.
b39d961c 6451 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
6452 ALWAYS_USE_VSYSCALL.
6453 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6454 ALWAYS_USE_VSYSCALL.
6455
8d20a2f4
FW
64562018-12-10 Florian Weimer <fweimer@redhat.com>
6457
6458 [BZ #23972]
6459 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6460 offset instead of count for clarity. Fix typo in comment.
6461 (__old_getdents64): Keep track of previous offset. Use it to call
6462 handle_overflow.
6463 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6464 that d_off is never zero.
6465
80472e2f
AS
64662018-12-10 Andreas Schwab <schwab@suse.de>
6467
6468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6469 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6471 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6472 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6473
0afcb29d
JM
64742018-12-10 Joseph Myers <joseph@codesourcery.com>
6475
6476 * timezone/private.h: Update from tzcode 2018g.
6477 * timezone/tzfile.h: Likewise.
6478 * timezone/tzselect.ksh: Likewise.
6479 * timezone/zdump.c: Likewise.
6480 * timezone/zic.c: Likewise.
6481
b93f4052
PP
64822018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6483
6484 [BZ #23490]
6485 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6486 (do_test): Adjust buffer size and fix format.
6487
7c9a7c68
DD
64882018-12-07 DJ Delorie <dj@redhat.com>
6489
6490 [BZ #23907]
6491 * malloc/tst-tcfree3.c: New.
6492 * malloc/Makefile: Add it.
6493
37caec3a
L
64942018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6495
6496 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6497
10446f5d
GG
64982018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6499
6500 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6501 used as a mask for the mode argument of __vfscanf_internal and
6502 __vfwscanf_internal.
6503 * stdio-common/vfscanf-internal.c
6504 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6505 (__strtof128_internal): Define to __wcstof128_internal.
6506 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6507 __strtof128_internal or __wcstof128_internal when the format of
6508 long double is the same as _Float128.
6509
45f33aac
ST
65102018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6511
6512 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6513 * posix/confstr.c (confstr): Rename to __confstr.
6514 (__confstr): Add hidden def.
6515 (confstr): Add weak alias for __confstr.
6516 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6517 confstr.
6518
a092ca94
L
65192018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6520
6521 * NEWS: Mention getcpu.
6522 * include/sched.h (__getcpu): New libc_hidden_proto.
6523 * manual/resource.texi: Document getcpu.
6524 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6525 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6526 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6527 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6528 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6529 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6530 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6531 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6532 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6533 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6534 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6535 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6536 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6537 Likewise.
6538 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6539 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6540 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6542 Likewise.
6543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6544 Likewise.
6545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6546 Likewise.
6547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6548 Likewise.
6549 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6550 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6551 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6552 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6553 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6554 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6555 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6556 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6557 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6558 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6559 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6560 Also check getcpu.
6561
7c857b6f
ST
65622018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6563
6564 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6565 functions.
6566 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6567
3a3fb755
FW
65682018-12-07 Florian Weimer <fweimer@redhat.com>
6569
6570 [BZ #17405]
6571 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6572 * posix/Versions (GLIBC_2.29): Export
6573 posix_spawn_file_actions_addfchdir_np.
6574 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6575 * posix/spawn_faction_destroy.c
6576 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6577 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6578 and the field action.fchdir_action.
6579 * posix/tst-spawn-chdir.c (add_chdir): New function.
6580 (do_test): Add do_fchdir loop. Call add_chdir.
6581 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6582 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6583 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6584 posix_spawn_file_actions_addfchdir_np.
6585 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6586 Likewise.
6587 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6588 Likewise.
6589 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6590 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6591 Likewise.
6592 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6593 Likewise.
6594 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6595 Likewise.
6596 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6597 Likewise.
6598 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6599 Likewise.
6600 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6601 Likewise.
6602 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6603 (GLIBC_2.29): Likewise.
6604 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6605 (GLIBC_2.29): Likewise.
6606 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6607 (GLIBC_2.29): Likewise.
6608 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6609 (GLIBC_2.29): Likewise.
6610 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6611 Likewise.
6612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6613 (GLIBC_2.29): Likewise.
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6615 (GLIBC_2.29): Likewise.
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6617 (GLIBC_2.29): Likewise.
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6619 (GLIBC_2.29): Likewise.
6620 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6621 Likewise.
6622 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6623 Likewise.
6624 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6625 Likewise.
6626 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6627 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6628 Likewise.
6629 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6630 Likewise.
6631 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6632 Likewise.
6633 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6634 Likewise.
6635
c37cd439
JM
66362018-12-06 Joseph Myers <joseph@codesourcery.com>
6637
6638 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6639 trailing whitespace removed.
6640 * scripts/config.guess: Update to version 2018-11-28.
6641 * scripts/config.sub: Update to version 2018-11-28.
6642 * scripts/install-sh: Update to version 2018-03-11.20.
6643 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6644 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6645
899478c2
FW
66462018-12-07 Florian Weimer <fweimer@redhat.com>
6647
6648 [BZ #23927]
6649 CVE-2018-19591
6650 * inet/tst-if_index-long.c: New file.
6651 * inet/Makefile (tests): Add tst-if_index-long.
6652
f255336a
FW
66532018-12-07 Florian Weimer <fweimer@redhat.com>
6654
6655 * support/check.h (support_record_failure_is_failed): Declare.
6656 * support/descriptors.h: New file.
6657 * support/support_descriptors.c: Likewise.
6658 * support/tst-support_descriptors.c: Likewise.
6659 * support/support_record_failure.c
6660 (support_record_failure_is_failed): New function.
6661 * support/Makefile (libsupport-routines): Add support_descriptors.
6662 (tests): Add tst-support_descriptors.
6663
35caceb1
ZW
66642018-12-05 Zack Weinberg <zackw@panix.com>
6665 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6666
6667 * stdio-common/vfprintf-internal.c
6668 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6669 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6670 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6671 and __no_long_double.
6672 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6673 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6674 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6675 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6676 and __nldbl_*syslog* functions.
6677 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6678 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6679 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6680 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6681 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6682 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6683 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6684 (__nldbl_vwprintf, __nldbl_wprintf):
6685 Directly call the appropriate __v*printf_internal routine, passing
6686 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6687 variable names.
6688 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6689 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6690 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6691 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6692 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6693 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6694 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6695 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6696 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6697 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6698 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6699 (__nldbl_syslog, __nldbl_vsyslog):
6700 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6701 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6702 appropriate.
6703 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6704 appropriate.
6705
4e2f43f8
ZW
67062018-12-05 Zack Weinberg <zackw@panix.com>
6707 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6708
6709 [BZ #11319]
6710 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6711 Moved here from debug/vsprintf_chk.c.
6712 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6713 and completion logic for the strfile to match exactly what
6714 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6715 _IO_str_init_static_internal instead of maxlen-1.
6716 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6717 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6718 __vsprintf_internal.
6719
6720 * debug/vsprintf_chk.c (__vsprintf_chk)
6721 * debug/sprintf_chk.c (__sprintf_chk):
6722 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6723 'flags' argument is positive, and slen as maxlen. No need to lock
6724 the FILE and/or construct a temporary FILE. Minimize and normalize
6725 header inclusions and variable names. Do not libc_hidden_def anything.
6726
6727 * debug/asprintf_chk.c (__asprintf_chk)
6728 * debug/dprintf_chk.c (__dprintf_chk)
6729 * debug/fprintf_chk.c (__fprintf_chk)
6730 * debug/fwprintf_chk.c (__fwprintf_chk)
6731 * debug/printf_chk.c (__printf_chk)
6732 * debug/snprintf_chk.c (__snprintf_chk)
6733 * debug/swprintf_chk.c (__swprintf_chk)
6734 * debug/vasprintf_chk.c (__vasprintf_chk)
6735 * debug/vdprintf_chk.c (__vdprintf_chk)
6736 * debug/vfprintf_chk.c (__vfprintf_chk)
6737 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6738 * debug/vprintf_chk.c (__vprintf_chk)
6739 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6740 * debug/vswprintf_chk.c (__vswprintf_chk)
6741 * debug/vwprintf_chk.c (__vwprintf_chk)
6742 * debug/wprintf_chk.c (__wprintf_chk):
6743 Directly call the corresponding vxxprintf_internal function, passing
6744 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6745 the FILE and/or construct a temporary FILE. Minimize and normalize
6746 header inclusions and variable names. Do not libc_hidden_def anything.
6747
6748 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6749 __obstack_vprintf_internal.
6750 (__obstack_vprintf_chk): Convert into a wrapper that calls
6751 __obstack_vprintf_internal (these two functions already had the
6752 same code) and move to new file...
6753 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6754 file.
6755 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6756 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6757 * debug/Makefile (routines): Add vobprintf_chk.
6758
6759 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6760 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6761 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6762 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6763 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6764 (__nldbl___obstack_vfprintf_chk):
6765 Directly call the corresponding vxxprintf_internal function,
6766 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6767 duplicate comparison of slen with 0 or maxlen from the corresponding
6768 non-__nldbl function.
6769
6770 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6771 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6772 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6773 Remove libc_hidden_proto.
6774
6775 * stdio-common/vfprintf-internal.c
6776 (__vfprintf_internal, __vfwprintf_internal):
6777 Do not check _IO_FLAGS2_FORTIFY.
6778 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6779 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6780 a comment explaining why it has the maxlen argument.
6781 (_IO_acquire_lock_clear_flags2_fct): Remove.
6782 (_IO_acquire_lock_clear_flags2): Remove.
6783 (_IO_release_lock): Remove conditional statement which will
6784 now never execute.
6785 (_IO_acquire_lock): Remove variable which is now unused.
6786 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6787 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6788
6789 * stdio-common/Makefile (tests): Add tst-bz11319 and
6790 tst-bz11319-fortify2.
6791 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6792 * stdio-common/tst-bz11319-fortify2.c: New file.
6793 * stdio-common/tst-bz11319.c: Likewise.
6794
124fc732
ZW
67952018-12-05 Zack Weinberg <zackw@panix.com>
6796 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6797
6798 * misc/syslog.c: Include libioP.h, not iolibio.h.
6799 (__vsyslog_internal): New function with the former body of
6800 __vsyslog_chk; takes mode_flags argument same as
6801 __v*printf_internal. Call __vfprintf_internal directly.
6802
6803 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6804 Remove libc_hidden_def.
6805 (__syslog, __syslog_chk): Use __vsyslog_internal.
6806 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6807
6808 * include/sys/syslog.h: Add multiple inclusion guard.
6809 Add prototype for __vsyslog_internal.
6810 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6811
6812 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6813 Use __vsyslog_internal.
6814
698fb75b
ZW
68152018-12-05 Zack Weinberg <zackw@panix.com>
6816 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6817
6818 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6819 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6820 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6821 New functions.
6822 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6823 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6824
6825 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6826 Include wctype.h here if COMPILE_WPRINTF is defined.
6827 Define __vfprintf_internal or __vfwprintf_internal, depending
6828 on COMPILE_WPRINTF.
6829 Temporarily, on entry to this function, update mode_flags
6830 according to the environmental settings corresponding to
6831 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6832 Throughout, check mode_flags instead of __ldbl_is_dbl and
6833 _IO_FLAGS2_FORTIFY on the destination FILE.
6834 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6835 Include vfprintf-internal.c. Don't include wctype.h.
6836 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6837 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6838 and vfprintf.
6839 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6840 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6841 and vfwprintf.
6842 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6843
6844 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6845 and add mode_flags argument; use __vfprintf_internal.
6846 (__vdprintf): New function. Alias vdprintf to this.
6847 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6848 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6849 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6850 (__obstack_printf): Use __obstack_printf_internal.
6851 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6852 public aliases __vsnprintf and vsnprintf.
6853 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6854 called internally.
6855 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6856 public aliases _IO_vsprintf and vsprintf.
6857 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6858 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6859 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6860 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6861 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6862
6863 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6864 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6865 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6866 * stdio-common/printf.c: Use __vfprintf_internal.
6867
6868 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6869 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6870 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6871
6872 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6873 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6874 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6875 __vfwprintf_internal.
6876
6877 * libio/libio.h: Remove libc_hidden_proto and declaration for
6878 _IO_vfprintf.
6879 Remove declaration of _IO_vfwprintf.
6880 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6881 _IO_vsprintf.
6882 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6883 _IO_obstack_printf.
6884 * include/stdio.h: Add prototype for __vasprintf.
6885 (__vsnprintf): Remove declaration, because there are no more
6886 internal calls.
6887 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6888 declaration, because there are no more internal calls.
6889
6890 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6891 __vsnprintf_internal, instead of _IO_vsnprintf.
6892 * argp/argp-help.c (__argp_error, __argp_failure): Use
6893 __vasprintf_internal, instead of _IO_vasprintf.
6894 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6895 redefine, because there are no more internal calls.
6896
d91798b3
ZW
68972018-12-05 Zack Weinberg <zackw@panix.com>
6898 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6899
6900 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6901 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6902 Include libio/strfile.h instead of libioP.h.
6903 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6904 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6905 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6906 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6907 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6908 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6909 necessary. Do not set __no_long_double. Normalize variable names.
6910 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6911 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6912 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6913 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6914 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6915 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6916 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6917 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6918 Do not set __no_long_double. Normalize variable names.
6919
b87eb3f8
ZW
69202018-12-05 Zack Weinberg <zackw@panix.com>
6921 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6922
6923 * stdio-common/isoc99_scanf.c
6924 * stdio-common/isoc99_fscanf.c
6925 * stdio-common/isoc99_sscanf.c
6926 * stdio-common/isoc99_vscanf.c
6927 * stdio-common/isoc99_vfscanf.c
6928 * stdio-common/isoc99_vsscanf.c
6929 * wcsmbs/isoc99_wscanf.c
6930 * wcsmbs/isoc99_fwscanf.c
6931 * wcsmbs/isoc99_swscanf.c
6932 * wcsmbs/isoc99_vwscanf.c
6933 * wcsmbs/isoc99_vfwscanf.c
6934 * wcsmbs/isoc99_vswscanf.c:
6935 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6936 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6937 No need to lock and unlock the FILE passed to that function.
6938
6939 * stdio-common/vfscanf-internal.c
6940 (__vfscanf_internal, __vfwscanf_internal):
6941 Don't look at _IO_FLAGS2_SCANF_STD.
6942 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6943 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6944 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6945
349718d4
ZW
69462018-12-05 Zack Weinberg <zackw@panix.com>
6947 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6948
6949 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6950 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6951 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6952 * libio/strfile.h: Add multiple inclusion guard.
6953 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6954
6955 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6956 consistency with the other version of this file.
6957 (ldbl_compat_symbol): New macro.
6958 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6959 New macro.
6960
6961 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6962 Define __vfscanf_internal or __vfwscanf_internal, depending on
6963 COMPILE_WSCANF; don't define any other public symbols.
6964 Remove errval and code to set errp.
6965 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6966 as the mode_flags argument.
6967 (encode_error, conv_error, input_error): Don't set errval.
6968 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6969 Include vfscanf-internal.c.
6970 * stdio-common/vfscanf.c: New file defining the public entry
6971 point vfscanf, which calls __vfscanf_internal.
6972 * stdio-common/vfwscanf.c: New file defining the public entry
6973 point vfwscanf, which calls __vfwscanf_internal.
6974
6975 * stdio-common/iovfscanf.c: New file.
6976 * stdio-common/iovfwscanf.c: Likewise.
6977
6978 * stdio-common/Makefile (routines): Add vfscanf-internal,
6979 vfwscanf-internal, iovfscanf, iovfwscanf.
6980 * stdio-common/Versions: Mention GLIBC_2.29, so that
6981 it can be used in SHLIB_COMPAT expressions.
6982 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6983 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6984 Call __vfscanf_internal, instead of _IO_vfscanf.
6985 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6986 _IO_vfscanf.
6987 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6988 _IO_vfwscanf.
6989
6990 * libio/iovsscanf.c: Clean up includes, when possible. Use
6991 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6992 __vfscanf_internal or __vfwscanf_internal directly.
6993 * libio/iovswscanf.c: Likewise.
6994 * libio/swscanf.c: Likewise.
6995 * libio/vscanf.c: Likewise.
6996 * libio/vwscanf.c: Likewise.
6997 * libio/wscanf.c: Likewise.
6998 * stdio-common/isoc99_fscanf.c: Likewise.
6999 * stdio-common/isoc99_scanf.c: Likewise.
7000 * stdio-common/isoc99_sscanf.c: Likewise.
7001 * stdio-common/isoc99_vfscanf.c: Likewise.
7002 * stdio-common/isoc99_vscanf.c: Likewise.
7003 * stdio-common/isoc99_vsscanf.c: Likewise.
7004 * stdio-common/scanf.c: Likewise.
7005 * stdio-common/sscanf.c: Likewise.
7006 * wcsmbs/isoc99_fwscanf.c: Likewise.
7007 * wcsmbs/isoc99_swscanf.c: Likewise.
7008 * wcsmbs/isoc99_vfwscanf.c: Likewise.
7009 * wcsmbs/isoc99_vswscanf.c: Likewise.
7010 * wcsmbs/isoc99_vwscanf.c: Likewise.
7011 * wcsmbs/isoc99_wscanf.c: Likewise.
7012
6b5c8607 70132018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
7014
7015 * include/time.h
7016 (__tz_compute): Replace time_t with __time64_t.
7017 (__tz_convert): Replace time_t* with __time64_t.
7018 (__offtime): Replace time_t* with __time64_t.
7019 * time/gmtime.c
7020 (__gmtime_r): Adjust call to __tz_convert.
7021 (gmtime): Likewise.
7022 * time/localtime.c
7023 (__localtime_r): Likewise.
7024 (localtime): Likewise.
7025 * time/offtime.c: Replace time_t with __time64_t.
7026 * time/tzset.c: Likewise.
7027
bd598da9
JM
70282018-12-04 Joseph Myers <joseph@codesourcery.com>
7029
7030 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7031 dynamic linker unless [$(run-built-tests) = yes].
7032
b2e93de0
DD
70332018-12-03 DJ Delorie <dj@delorie.com>
7034
7035 * support/test-container.c (check_for_unshare_hints): New.
7036 (main): Call it if unshare fails. Add support for "su" scriptlet
7037 command.
7038
477a02f6
JM
70392018-12-03 Joseph Myers <joseph@codesourcery.com>
7040
7041 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7042 'START' to indicate that start text should be output.
7043 (gen_test): Likewise.
7044 (main): Generate 'START' for first symbol or '--' line, or at end
7045 of input if not previously generated.
7046
6af956e5
RÁE
70472018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7048
7049 [BZ #19767]
7050 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7051 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7052 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7053 ALWAYS_USE_VSYSCALL.
7054
f5ec0ea9
AZ
70552018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7056
7057 [BZ #23913]
7058 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7059 new_argv by one.
7060
8cebd4ff
CD
70612018-12-03 Carlos O'Donell <carlos@redhat.com>
7062
7063 [BZ #23923]
7064 * locale/programs/localedef.c: Declare boolean hard_links default true.
7065 (options): Add --no-hard-links option.
7066 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7067 * locale/programs/localedef.h: Declare prototype for hard_links.
7068 * locale/programs/locfile.c (write_locale_data): Don't use hard
7069 links if hard_links is false.
7070
c22e4c2a
L
70712018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7072
7073 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7074 cpu_features_basic.
7075 (__cache_sysconf): Likewise.
7076 (init_cacheinfo): Likewise.
7077 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7078 populate COMMON_CPUID_INDEX_80000007 and
7079 COMMON_CPUID_INDEX_80000008.
7080 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7081 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7082 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7083 (init_cpu_features): Use _Static_assert on
7084 index_arch_Fast_Unaligned_Load.
7085 __get_cpuid_registers and __get_arch_feature. Updated for
7086 cpu_features_basic. Set stepping in cpu_features.
7087 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7088 (FEATURE_INDEX_2): New.
7089 (FEATURE_INDEX_MAX): Changed to enum.
7090 (COMMON_CPUID_INDEX_D_ECX_1): New.
7091 (COMMON_CPUID_INDEX_80000007): Likewise.
7092 (COMMON_CPUID_INDEX_80000008): Likewise.
7093 (cpuid_registers): Likewise.
7094 (cpu_features_basic): Likewise.
7095 (CPU_FEATURE_USABLE): Likewise.
7096 (bit_arch_XXX_Usable): Likewise.
7097 (cpu_features): Use cpuid_registers and cpu_features_basic.
7098 (bit_arch_XXX): Reweritten.
7099 (bit_cpu_XXX): Likewise.
7100 (index_cpu_XXX): Likewise.
7101 (reg_XXX): Likewise.
7102 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7103 <support/check.h>.
7104 (CHECK_CPU_FEATURE): New.
7105 (CHECK_CPU_FEATURE_USABLE): Likewise.
7106 (cpu_kinds): Likewise.
7107 (do_test): Print vendor, family, model and stepping. Check
7108 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7109 (TEST_FUNCTION): Removed.
7110 Include <support/test-driver.c> instead of
7111 "../../test-skeleton.c".
7112 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7113 Check POPCNT instead of POPCOUNT.
7114 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7115
7b36d26b
ST
71162018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7117
7118 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7119 there is no element in `consts'.
7120
02cd5c1a
FW
71212018-12-01 Florian Weimer <fweimer@redhat.com>
7122
7123 * support/support_capture_subprocess.c
7124 (support_capture_subprocess): Check that pipe descriptors have
7125 expected values. Close original pipe descriptors in subprocess.
7126
fc493bc9
ST
71272018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7128
7129 [BZ #23032]
7130 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7131 attr with __pthread_default_barrierattr.
7132 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7133 attr with __pthread_default_condattr.
7134 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7135 attr with __pthread_default_mutexattr.
7136 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7137 attr with __pthread_default_rwlockattr.
7138
6310e6be
KW
71392018-12-01 Kemi Wang <kemi.wang@intel.com>
7140
7141 * manual/tunables.texi (POSIX Thread Tunables): New node.
7142 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7143 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7144 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7145 __pthread_tunables_init.
7146 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7147 (max_adaptive_count): Define.
7148 * nptl/pthread_mutex_conf.c: New file.
7149 * nptl/pthread_mutex_conf.h: New file.
7150 * sysdeps/generic/adaptive_spin_count.h: New file.
7151 * sysdeps/nptl/dl-tunables.list: New file.
7152 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7153 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7154 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7155 Likewise.
7156
8e67b39e
PP
71572018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7158
7159 [BZ #20544]
7160 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7161 * stdlib/on_exit.c (__on_exit): Likewise.
7162 * stdlib/Makefile (tests): Add tst-bz20544.
7163 * stdlib/tst-bz20544.c: New test.
7164
15b8d67e
RÁE
71652018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7166
7167 [BZ #19767]
7168 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7169 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7170 New.
7171
5e63c240
FW
71722018-11-30 Florian Weimer <fweimer@redhat.com>
7173
7174 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7175 Extend error logging.
7176 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7177 symbol.
7178
71058602 71792018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 7180
5fb7fc96
AZ
7181 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7182 __sigismember instead of sigismember.
7183 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7184 cancel_handler): New definitions.
7185 (do_system): Use posix_spawn instead of fork and execl and remove
7186 reentracy code.
7187 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7188 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7189 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7190 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7191 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7192 * sysdeps/unix/sysv/linux/system.c: Likewise.
7193
14d0e87d
AZ
7194 [BZ #22834]
7195 [BZ #17490]
7196 * NEWS: Add new semantic for atfork with popen and system.
7197 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7198 fork and execl.
7199
e5d262ef
TMQMF
72002018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7201
7202 [BZ #23690]
7203 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7204 modification order when accessing reloc_result->addr.
7205 * include/link.h (reloc_result): Add field init.
7206 * nptl/Makefile (tests): Add tst-audit-threads.
7207 (modules-names): Add tst-audit-threads-mod1 and
7208 tst-audit-threads-mod2.
7209 Add rules to build tst-audit-threads.
7210 * nptl/tst-audit-threads-mod1.c: New file.
7211 * nptl/tst-audit-threads-mod2.c: Likewise.
7212 * nptl/tst-audit-threads.c: Likewise.
7213 * nptl/tst-audit-threads.h: Likewise.
7214
7e1d4240
JM
72152018-11-30 Joseph Myers <joseph@codesourcery.com>
7216
7217 * scripts/gen-as-const.py: New file.
7218 * scripts/gen-as-const.awk: Remove.
7219 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7220 gen-as-const.py.
7221 ($(objpfx)test-as-const-%.c): Likewise.
7222
ce7387cc
L
72232018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7224
7225 * elf/dl-exception.c: Include <_itoa.h>.
7226
c6a5bdc1
ST
72272018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7228
7229 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7230 returned by __f_setlk.
7231
a5275ba5
L
72322018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7233 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7234
7235 * elf/Makefile (tests-internal): Add tst-create_format1.
7236 * elf/dl-exception.c (_dl_exception_create_format): Support
7237 %x, %lx and %zx.
7238 * elf/tst-create_format1.c: New file.
7239
3a67e81d
CAC
72402018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7241
7242 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7243 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7244 gnulib.)
7245 * argp/argp-help.c (__argp_failure): Likewise.
7246
4975f0c3
MH
72472018-11-29 Mao Han <han_mao@c-sky.com>
7248
7249 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7250 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7251 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7252 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7253 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7254 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7255 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7256 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7257 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7258 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7259 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7260 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7261 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7262 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7263 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7264 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7265 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7266 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7267 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7268 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7269 (R_CKCORE_TLS_TPOFF32): New defines.
7270
250102c8
FW
72712018-11-29 Florian Weimer <fweimer@redhat.com>
7272
7273 * posix/Makefile (before-compile): Remove testcases.h and
7274 ptestcases.h.
7275 (generated): Add testcases.h and ptestcases.h.
7276 (testcases.h, ptestcases.h): Move to $(objpfx).
7277 (runtests.o): Add dependency on testcases.h.
7278 (runptests.o): Add dependency on ptestcases.h.
7279 * posix/testcases.h, posix/ptestcases.h: Remove files.
7280 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7281 not touch posix/testcases.h and posix/ptestcases.h.
7282
96cd0558
FW
72832018-11-28 Florian Weimer <fweimer@redhat.com>
7284
7285 support: Add signal support to support_capture_subprocess_check.
7286 * support/capture_subprocess.h (support_capture_subprocess_check):
7287 Adjust comment and rename parameter.
7288 * support/support_capture_subprocess_check.c
7289 (print_actual_status): New function.
7290 (support_capture_subprocess_check): Support negative
7291 status_or_signal. Call print_actual_status.
7292 * support/tst-support_capture_subprocess.c (do_test): Call
7293 support_capture_subprocess_check.
7294 * libio/tst-vtables-common.c (termination_status)
7295 (init_termination_status): Remove.
7296 (check_for_termination): Adjust support_capture_subprocess_check
7297 call.
7298 (do_test): Remove call to init_termination_status.
7299
530504e3
JM
73002018-11-28 Joseph Myers <joseph@codesourcery.com>
7301
7302 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7303 source directory instead of a copy.
7304 (CommandList.create_copy_dir): Remove.
7305
9a0b6970
SL
73062018-11-28 Stefan Liebler <stli@linux.ibm.com>
7307
7308 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7309
47d8d9a2
FW
73102018-11-28 Florian Weimer <fweimer@redhat.com>
7311
7312 * support/support.h (support_quote_string): Do not use str
7313 parameter name.
7314
b473b7d8
JM
73152018-11-27 Joseph Myers <joseph@codesourcery.com>
7316
7317 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7318 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7319
c74a91de
FW
73202018-11-27 Florian Weimer <fweimer@redhat.com>
7321
7322 * support/support.h (support_quote_string): Declare.
7323 * support/support_quote_string.c: New file.
7324 * support/tst-support_quote_string.c: Likewise.
7325 * support/Makefile (libsupport-routines): Add
7326 support_quote_string.
7327 (tests): Add tst-support_quote_string.
7328
d527c860
FW
73292018-11-27 Florian Weimer <fweimer@redhat.com>
7330
7331 [BZ #23927]
7332 CVE-2018-19591
7333 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7334 descriptor leak in case of ENODEV error.
7335
979cfed0
RÁE
73362018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7337
7338 [BZ #19767]
7339 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7340 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7341 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7342
ce035c6e
CD
73432018-11-26 Carlos O'Donell <carlos@redhat.com>
7344
7345 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7346 Error for unknown lines.
7347
2bd0bfcc
JM
73482018-11-26 Joseph Myers <joseph@codesourcery.com>
7349
7350 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7351 Touch additional files.
7352
affec03b
FW
73532018-11-26 Florian Weimer <fweimer@redhat.com>
7354
7355 [BZ #23907]
7356 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7357 double-frees.
7358
8ae74ead
RÁE
73592018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7360
7361 [BZ #19767]
7362 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7363 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7364 SHARED. Include sysdep.h.
7365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7366 ALWAYS_USE_VSYSCALL.
7367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7368 ALWAYS_USE_VSYSCALL.
7369
1e8bdc3a
RÁE
73702018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7371
7372 [BZ #19767]
7373 * nptl/Makefile (tests-static): Add tst-cond11-static.
7374 (tests): Likewise.
7375 * nptl/tst-cond11-static.c: New File.
7376 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7377 tst-affinity-static.
7378 (tests): Likewise.
7379 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7380 instead of SHARED.
7381 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7382 (USE_VSYSCALL): Likewise.
7383 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7384 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7385 instead of SHARED.
7386 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7387 SHARED.
7388 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7389 New.
7390
1283c478
JM
73912018-11-23 Joseph Myers <joseph@codesourcery.com>
7392
7393 [BZ #23915]
7394 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7395 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7396 Undefine.
7397
c089fd80
L
73982018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7399
7400 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7401 (tst-cet-legacy-1a-ARGS): New.
7402 ($(objpfx)tst-cet-legacy-1a): New target.
7403 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7404
cc6c89fa
JM
74052018-11-22 Joseph Myers <joseph@codesourcery.com>
7406
95edd05c
JM
7407 * conform/conformtest.py (CompileSubTest.__init__): Set
7408 self.run_early to False.
7409 (ExecuteSubTest.__init__): Likewise.
7410 (HeaderTests.run): Try running all non-optional, non-XFAILed
7411 compilation tests in a single execution of the compiler.
7412
cc6c89fa
JM
7413 * conform/conformtest.py (CompileSubTest): New class.
7414 (ExecuteSubTest): Likewise.
7415 (ElementTest.run): Rename to gen_subtests. Append tests to
7416 self.subtests instead of running them.
7417 (ConstantTest.run): Likewise.
7418 (SymbolTest.run): Likewise.
7419 (TypeTest.run): Likewise.
7420 (TagTest.run): Likewise.
7421 (FunctionTest.run): Likewise.
7422 (VariableTest.run): Likewise.
7423 (MacroFunctionTest.run): Likewise.
7424 (MacroStrTest.run): Likewise.
7425 (HeaderTests.handle_test_line): Generate subtests for tests.
7426 (HeaderTests.run): Run subtests for tests.
7427
a502c529
SN
74282018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7429
7430 * math/Versions (GLIBC_2.29): Add pow.
7431 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7432 symbol.
7433 * math/w_pow.c: New file.
7434 * sysdeps/i386/fpu/w_pow.c: New file.
7435 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7436 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7437 and add necessary aliases.
7438 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7439 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7440 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7441 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7442 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7443 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7444 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7445 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7446 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7447 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7448 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7449 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7450 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7451 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7452 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7457 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7458 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7459 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7460 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7461 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7462 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7463 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7464 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7465 __pow.
7466 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7467 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7468 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7469
718d6542
SN
74702018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7471
7472 * math/Versions (GLIBC_2.29): Add log2.
7473 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7474 symbol.
7475 * math/w_log2.c: New file.
7476 * sysdeps/i386/fpu/w_log2.c: New file.
7477 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7478 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7479 and add necessary aliases.
7480 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7481 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7482 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7483 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7484 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7485 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7486 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7487 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7488 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7489 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7490 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7491 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7492 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7493 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7494 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7499 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7500 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7501 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7502 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7503 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7504 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7505 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7506
f29b7c49
SN
75072018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7508
7509 * math/Versions (GLIBC_2.29): Add log.
7510 * math/w_log_compat.c (__log_compat): Change to versioned compat
7511 symbol.
7512 * math/w_log.c: New file.
7513 * sysdeps/i386/fpu/w_log.c: New file.
7514 * sysdeps/ia64/fpu/e_log.S: Update.
7515 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7516 and add necessary aliases.
7517 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7518 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7519 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7520 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7521 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7522 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7523 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7524 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7525 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7526 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7527 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7528 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7529 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7530 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7531 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7536 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7537 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7538 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7539 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7540 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7541 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7542 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7543 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7544 __log.
7545 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7546 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7547 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7548 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7549
c20a1056
SN
75502018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7551
7552 * math/Versions (GLIBC_2.29): Add exp and exp2.
7553 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7554 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7555 * math/w_exp_compat.c (__exp_compat): Likewise.
7556 * math/w_exp.c: New file.
7557 * math/w_exp2.c: New file.
7558 * sysdeps/i386/fpu/w_exp.c: New file.
7559 * sysdeps/i386/fpu/w_exp2.c: New file.
7560 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7561 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7562 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7563 and add necessary aliases.
7564 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7565 and add necessary aliases.
7566 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7567 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7568 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7569 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7570 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7571 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7572 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7573 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7574 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7575 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7576 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7577 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7578 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7579 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7580 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7581 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7582 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7587 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7588 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7589 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7590 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7591 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7592 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7593 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7594 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7595 (__ieee754_exp): Rename to __exp.
7596 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7597 (__ieee754_exp): Rename to __exp.
7598 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7599 (__ieee754_exp): Rename to __exp.
7600 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7601 __exp.
7602 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7603
bcdaad21
DD
76042018-11-20 DJ Delorie <dj@redhat.com>
7605
7606 * malloc/malloc.c (tcache_entry): Add key field.
7607 (tcache_put): Set it.
7608 (tcache_get): Likewise.
7609 (_int_free): Check for double free in tcache.
7610 * malloc/tst-tcfree1.c: New.
7611 * malloc/tst-tcfree2.c: New.
7612 * malloc/Makefile: Run the new tests.
7613 * manual/probes.texi: Document memory_tcache_double_free probe.
7614
7615 * dlfcn/dlerror.c (check_free): Prevent double frees.
7616
5770c0ad
WD
76172018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7618
7619 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7620
9a62a939
JM
76212018-11-20 Joseph Myers <joseph@codesourcery.com>
7622
7623 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7624 in tests. Use names for format arguments.
7625 (ConstantTest.run): Likewise.
7626 (SymbolTest.run): Likewise.
7627 (TypeTest.run): Likewise.
7628 (TagTest.run): Likewise.
7629 (FunctionTest.run): Likewise.
7630 (VariableTest.run): Likewise.
7631 (MacroFunctionTest.run): Likewise.
7632 (MacroStrTest.run): Likewise.
7633 (HeaderTests.__init__): Set self.num_tests.
7634 (HeaderTests.handle_test_line): Set test.num. Increment
7635 self.num_tests.
7636
b15b1a95
ST
76372018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7638
7639 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7640 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7641 SEEK_SET.
7642
0c7f97ae
MH
76432018-11-19 Mao Han <han_mao@c-sky.com>
7644
7645 * scripts/config.guess: Update to version 2018-08-29.
7646 * scripts/config.sub: Update to version 2018-08-29.
7647
35e3fbc4
FW
76482018-11-19 Florian Weimer <fweimer@redhat.com>
7649
7650 support: Print timestamps in timeout handler.
7651 * support/support_test_main.c (print_timestamp): New function.
7652 (signal_handler): Use it to print the termination time and the
7653 time of the last write to standard output.
7654
c75772e3
ZW
76552018-11-16 Zack Weinberg <zackw@panix.com>
7656 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7657
7658 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7659 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7660 argument.
7661 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7662 and add flags argument. Check flags instead of __ldbl_is_dbl when
7663 deciding whether to set is_long_double.
7664 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7665 passing zero for flags argument.
7666 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7667
7668 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7669 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7670 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7671 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7672 variable names. Remove libc_hidden_def/libc_hidden_proto from
7673 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7674 longer called from within the library.
7675 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7676 for __nldbl___vstrfmon_l, declare it explicitly.
7677
7678 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7679
346ef23f
ST
76802018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7681
7682 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7683 macros
7684 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7685 F_SETLK64, F_SETLKW64, respectively.
7686 * sysdeps/mach/hurd/f_setlk.c: New file.
7687 * sysdeps/mach/hurd/f_setlk.h: New file.
7688 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7689 f_setlk.
7690 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7691 (__libc_fcntl): Move non-flock operations to...
7692 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7693 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7694
de20b81a
PE
76952018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7696
5d8af156
PE
7697 mktime: DEBUG_MKTIME cleanup
7698 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7699 And it’s no longer needed now that glibc and Gnulib both have
7700 their own testing mechanisms for mktime.
7701 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7702
86aece3b
PE
7703 mktime: fix non-EOVERFLOW errno handling
7704 [BZ#23789]
7705 mktime was not properly reporting failures when the underlying
7706 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7707 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7708 The problem could happen on non-glibc platforms, with Gnulib.
7709 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7710 (tm_diff): ... this simpler function, which does not change errno.
7711 All callers changed to deal with errno themselves.
7712 (ranged_convert, __mktime_internal): Return failure immediately if
7713 the underlying function reports any failure other than EOVERFLOW.
7714 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7715 gap code fails.
7716
f6b3331b
PE
7717 mktime: fix bug with Y2038 DST transition
7718 [BZ#23789]
7719 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7720 mishandle a DST transition that jumps over the Y2038 boundary.
7721 No such DST transitions are known so this is only a theoretical
7722 bug, but we might as well do things right.
7723
efbdddc3
PE
7724 mktime: make more room for overflow
7725 [BZ#23789]
7726 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7727 This is so that we can add tm_diff results to a previous guess,
7728 which will be useful in a later patch.
7729
6c90d759
PE
7730 mktime: simplify offset guess
7731 [BZ#23789]
7732 * time/mktime.c (__mktime_internal): Omit excess precision.
7733
32c12f3f
PE
7734 mktime: new test for mktime failure
7735 [BZ#23789]
7736 Based on a test suggested by Albert Aribaud in:
7737 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7738 * time/Makefile (tests): Add bug-mktime4.
7739 * time/bug-mktime4.c: New file.
7740
de20b81a
PE
7741 mktime: fix EOVERFLOW bug
7742 [BZ#23789]
7743 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7744 Include libc-config.h, not config.h, for __set_errno.
7745 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7746
8c6c3fb0
ST
77472018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7748
7749 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7750 __attribute_copy__ to copy attributes from name. Drop static qualifier
7751 to avoid warnings about leaf attribute not having effect on static
7752 functions.
7753
6923f6db
FW
77542018-11-13 Florian Weimer <fweimer@redhat.com>
7755
7756 * malloc/malloc.c (fastbin_push_entry): New function.
7757 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7758 (REMOVE_FB): Remove macro.
7759 (_int_malloc): Use fastbin_pop_entry and reindent.
7760 (_int_free): Use fastbin_push_entry.
7761 (malloc_consolidate): Use atomic_exchange_acquire.
7762
53f5c659
JM
77632018-11-13 Joseph Myers <joseph@codesourcery.com>
7764
0c096dcf
JM
7765 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7766 alias attribute, not with strong_alias.
7767
9c4b457e
JM
7768 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7769 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7770 with additional parameter thread.
7771 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7772 in terms of __hidden_ver2.
7773 (hidden_tls_def): New macro.
7774 (libc_hidden_tls_def): Likewise.
7775 (rtld_hidden_tls_def): Likewise.
7776 (libm_hidden_tls_def): Likewise.
7777 (libmvec_hidden_tls_def): Likewise.
7778 (libresolv_hidden_tls_def): Likewise.
7779 (librt_hidden_tls_def): Likewise.
7780 (libdl_hidden_tls_def): Likewise.
7781 (libnss_files_hidden_tls_def): Likewise.
7782 (libnsl_hidden_tls_def): Likewise.
7783 (libnss_nisplus_hidden_tls_def): Likewise.
7784 (libutil_hidden_tls_def): Likewise.
7785 (libutil_hidden_tls_def): Likweise.
7786 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7787 libc_hidden_tls_def.
7788 (__sim_disabled_exceptions_thread): Likewise.
7789 (__sim_round_mode_thread): Likewise.
7790
53f5c659
JM
7791 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7792 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7793 copy attributes from name.
7794
092dfde6
JM
77952018-11-12 Joseph Myers <joseph@codesourcery.com>
7796
f578f97b
JM
7797 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7798 Use __attribute_copy__ to copy attributes from name.
7799
9a7c643a
JM
7800 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7801 with __hidden_ver1 call.
7802 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7803 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7804 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7805 (__cosf): Do not declare here.
7806 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7807 (__sincosf): Do not declare here.
7808 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7809 (__sinf): Do not declare here.
7810
092dfde6
JM
7811 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7812 (__BIG_ENDIAN): Likewise.
7813 (__BYTE_ORDER): Likewise.
7814 (strong_alias): Likewise.
7815 (_strong_alias): Likewise.
7816
1ecba1fa
FW
78172018-11-12 Florian Weimer <fweimer@redhat.com>
7818
7819 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7820 function. Move after the definition of in_smallbin_range. Do not
7821 use __builtin_expect for paths that lead to a noreturn function.
7822 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7823 because it is unclear whether this is in fact an unlikely
7824 condition.
7825 (_int_malloc, _int_free): Adjust.
7826 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7827 variables.
7828 * malloc/arena.c (heap_trim): Likewise.
7829
434c34bd
ST
78302018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7831
7832 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7833 it, free it if needed.
7834 (reauthenticate): Test and use ccwdir.
7835 (child_init_port): In non-resetids case, test and use ccwdir.
7836 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
7837 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7838 * hurd/hurd/port.h (_hurd_port_move): New function.
7839 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7840 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
7841 * hurd/Versions (_hurd_port_move): Export function.
7842 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7843 symbol.
58bb655a
ST
7844 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7845 of dtablesize for allocating dtable_cloexec.
434c34bd 7846
1626a1cf
MS
78472018-11-09 Martin Sebor <msebor@redhat.com>
7848
7849 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7850 it's already defined.
7851 (_strong_alias): Use __attribute_copy__.
7852 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7853 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7854 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7855 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7856 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7857 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7858 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7859 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7860 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7861 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7862 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7863 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7864 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7865 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7866 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7867 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7868 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7869 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7870 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7871
968ed530
GG
78722018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7873
7874 * misc/tst-efgcvt.c: Include support/check.h and
7875 support/test-driver.c. Do not include test-skeleton.c.
7876 (error_count): Remove.
7877 (output_error): Replace increments to error_count with calls to
7878 support_record_failure.
7879 (output_r_error): Likewise.
7880 (special): Likewise.
7881 (do_test): Unconditionally return zero.
7882 (TEST_FUNCTION): Remove.
7883
c3ec0972
JM
78842018-11-09 Joseph Myers <joseph@codesourcery.com>
7885
91faaa93
JM
7886 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7887 not $(@D)/scratch.
7888 ($(linknamespace-header-tests)): Likewise.
7889
c3ec0972
JM
7890 * conform/conformtest.py: New file.
7891 * conform/conformtest.pl: Remove.
7892 * conform/GlibcConform.pm: Likewise.
7893 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7894 (KEYWORDS_C99): Likewise.
7895 (KEYWORDS): Likewise.
7896 * conform/Makefile ($(conformtest-header-tests)): Use
7897 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7898 option. Use --header instead of --headers.
7899 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7900 function entries.
7901 * conform/data/spawn.h-data: Likewise.
7902 * conform/data/fcntl.h-data (openat): Add space after function
7903 name.
7904 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7905 (wcscasecmp_l): Likewise.
7906 * conform/data/termios.h-data (c_cc): Add space after element
7907 name.
7908
43257c33
GG
79092018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7910
7911 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7912 instead of manually comparing and reporting mismatching strings.
7913 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7914 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7915
e5de3b5b
JM
79162018-11-08 Joseph Myers <joseph@codesourcery.com>
7917
7918 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7919 __ASSUME_SOCKETCALL.
7920 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7921 (__ASSUME_SOCKETCALL): Remove.
7922 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7923 (__ASSUME_SOCKETCALL): Likewise.
7924 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7925 (__ASSUME_SOCKETCALL): Likewise.
7926 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7927 (__ASSUME_SOCKETCALL): Likewise.
7928 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7929 (__ASSUME_SOCKETCALL): Likewise.
7930 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7931 (__ASSUME_SOCKETCALL): Likewise.
7932 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7933 (__ASSUME_SOCKETCALL): Likewise.
7934
d524fa6c
L
79352018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7936
7937 [BZ #23509]
7938 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7939 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7940 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7941 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7942 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7943 lc_unknown.
7944
ac806026
AH
79452018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7946
7947 [BZ #17630]
7948 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7949
596cc360
JM
79502018-11-07 Joseph Myers <joseph@codesourcery.com>
7951
7952 [BZ #23867]
7953 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7954 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7955 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7956 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7957
00c86a37
AZ
79582018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7959
7960 * support/support_test_compare_string.c
7961 (support_test_compare_string): Fix printf format.
7962
1df872fd
FW
79632018-11-07 Florian Weimer <fweimer@redhat.com>
7964
7965 Implement TEST_COMPARE_STRING.
7966 * support/check.h (TEST_COMPARE_STRING): Define.
7967 (support_test_compare_string): Declare.
7968 * support/Makefile (libsupport-routines): Add
7969 support_test_compare_string.
7970 (tests): Add tst-test_compare_string.
7971 * support/support_test_compare_string.c: New file.
7972 * support/tst-test_compare_string.c: Likewise.
7973
295132ff
AS
79742018-11-07 Andreas Schwab <schwab@suse.de>
7975
7976 [BZ #23864]
7977 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7978 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7979 Undef.
7980
e143ceba
JM
79812018-11-06 Joseph Myers <joseph@codesourcery.com>
7982
7983 [BZ #23862]
7984 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7985 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7986 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7987 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7988 Likewise.
7989
4a938cb2
FW
79902018-11-06 Florian Weimer <fweimer@redhat.com>
7991
7992 [BZ #17405]
7993 * posix/Makefile (routines): Add spawn_faction_addchdir.
7994 (tests): Add tst-spawn-chdir.
7995 * posix/Versions (GLIBC_2.29): Add
7996 posix_spawn_file_actions_addchdir_np.
7997 * posix/spawn_faction_addchdir.c: New file.
7998 * posix/spawn_faction_destroy.c
7999 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
8000 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
8001 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
8002 chdir_action.
8003 * posix/tst-spawn-chdir.c: New file.
8004 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
8005 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8006 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8007 posix_spawn_file_actions_addchdir_np.
8008 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8009 Likewise.
8010 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8011 Likewise.
8012 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8013 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8014 Likewise.
8015 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8016 Likewise.
8017 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8018 Likewise.
8019 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8020 Likewise.
8021 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8022 Likewise.
8023 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8024 Likewise.
8025 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8026 (GLIBC_2.29): Likewise.
8027 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8028 (GLIBC_2.29): Likewise.
8029 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8030 (GLIBC_2.29): Likewise.
8031 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8032 (GLIBC_2.29): Likewise.
8033 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8034 Likewise.
8035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8036 (GLIBC_2.29): Likewise.
8037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8038 (GLIBC_2.29): Likewise.
8039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8040 (GLIBC_2.29): Likewise.
8041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8042 (GLIBC_2.29): Likewise.
8043 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8044 Likewise.
8045 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8046 Likewise.
8047 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8048 Likewise.
8049 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8050 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8051 Likewise.
8052 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8053 Likewise.
8054 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8055 Likewise.
8056 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8057 Likewise.
8058
7597b0c7
GG
80592018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8060
8061 * misc/Makefile (tests): Add tst-ldbl-error.
8062 * misc/tst-ldbl-error.c: New file.
8063
9771e6cb
GG
80642018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8065
8066 * misc/Makefile (tests): Add tst-ldbl-warn.
8067 * misc/tst-ldbl-warn.c: New file.
8068
2c03961f
GG
80692018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8070
8071 * argp/Makefile (tests): Add tst-ldbl-argp.
8072 * argp/tst-ldbl-argp.c: New file.
8073
6d6ee046
AS
80742018-11-05 Arjun Shankar <arjun@redhat.com>
8075
8076 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8077 __gconv_path_elem and call __gconv_get_path unconditionally.
8078
bd3b0fba
AS
80792018-11-05 Andreas Schwab <schwab@suse.de>
8080
8081 [BZ #22927]
8082 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8083 creating the first helper thread failed.
8084
2e96e980
ST
80852018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8086
8087 * sysdeps/mach/hurd/msync.c: New file.
8088
6e36266c
FW
80892018-11-02 Florian Weimer <fweimer@redhat.com>
8090
8091 * support/shell-container.c (copy_func): Call
8092 support_copy_file_range instead of copy_file_range to support
8093 cross-device copies.
8094
599f7bee
FW
80952018-11-02 Florian Weimer <fweimer@redhat.com>
8096
8097 * support/test-container.c: Include <libc-pointer-arith.h> for
8098 ALIGN_UP.
8099
ff48ea67
ZL
81002018-11-01 Zong Li <zong@andestech.com>
8101
af1d5782
ZL
8102 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8103 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8104 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8105 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8106
ff48ea67
ZL
8107 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8108 variable to avoid overlap arguments.
8109
daea71c2
JM
81102018-11-01 Joseph Myers <joseph@codesourcery.com>
8111
eac4405a
JM
8112 * posix/bug-regex22.c (main): Use puts with distinct error
8113 messages for unexpected success of re_compile_pattern, not printf
8114 with NULL argument to %s.
8115
6f30e59f
JM
8116 * stdio-common/bug22.c: Include <libc-diag.h>.
8117 (do_test): Disable -Wformat-overflow= warnings around fprintf
8118 calls outputting more than INT_MAX characters.
8119 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8120 around printf call with NULL %s argument.
8121
daea71c2
JM
8122 [BZ #23848]
8123 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8124 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8125 Undefine.
8126 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8127 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8128 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8129 (__ASSUME_SENDTO_SYSCALL): Likewise.
8130 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8131 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8132 [!__arch64__].
8133 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8134 (__ASSUME_CONNECT_SYSCALL): Likewise.
8135 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8136 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8137 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8138 Define.
8139 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8140 Likewise.
8141 [__LINUX_KERNEL_VERSION >= 0x040400]
8142 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8143 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8144 Remove.
8145 (listen): Likewise.
8146 (setsockopt): Likewise.
8147
8e3c00db
FN
81482018-11-01 Fredrik Noring <noring@nocrew.org>
8149
8150 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8151 with the ISA override.
8152
9c3dbdbe
RAE
81532018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8154
8155 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8156 #endif.
8157
e3a88b3e
ST
81582018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8159
a67377e7 8160 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 8161 translate the error message.
a67377e7
ST
8162 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8163 printing trailing whitespaces refused by git.
8164 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8165 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 8166 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 8167
3ca235ed
JM
81682018-10-30 Joseph Myers <joseph@codesourcery.com>
8169
8170 * conform/linknamespace.py: New file.
8171 * conform/linknamespace.pl: Remove file.
8172 * conform/Makefile ($(linknamespace-header-tests)): Use
8173 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8174 option.
8175
60708030
FW
81762018-10-30 Florian Weimer <fweimer@redhat.com>
8177
8178 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8179 memory leaks.
8180
a91e9301
FW
81812018-10-30 Florian Weimer <fweimer@redhat.com>
8182
8183 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8184
07da99aa
FW
81852018-10-30 Florian Weimer <fweimer@redhat.com>
8186
8187 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8188 support_blob_repeat.
8189
f5e7e959
FW
81902018-10-30 Florian Weimer <fweimer@redhat.com>
8191
8192 Avoid spurious test failures in stdlib/test-bz22786.
8193 * support/Makefile (libsupport-routines): Add blob_repeat.
8194 (tests): Add tst-support_blob_repeat.
8195 * support/blob_repeat.h: New file.
8196 * support/blob_repeat.c: Likewise.
8197 * support/tst-support_blob_repeat.c: Likewise.
8198 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8199 support_blob_repeat_allocate.
8200
2dd12baa
AS
82012018-10-30 Andreas Schwab <schwab@suse.de>
8202
8203 [BZ #23125]
8204 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8205 Don't use tail call.
8206 * elf/tst-unwind-main.c: New file.
8207 * elf/Makefile (tests): Add tst-unwind-main.
8208 (CFLAGS-tst-unwind-main.c): Define.
8209
6b5c8607 82102018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
8211
8212 [BZ #23791]
8213 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8214 n_cs_precedes to 0.
8215 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8216
c6982f7e
JM
82172018-10-29 Joseph Myers <joseph@codesourcery.com>
8218
954cf3c2
JM
8219 * conform/glibcconform.py: Do not import shutil.
8220 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8221 of mkdtemp.
8222
c6982f7e
JM
8223 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8224 critic_missing for versions before 3.4.
8225 * configure: Regenerated.
8226 * manual/install.texi (Tools for Compilation): Document
8227 requirement for Python to build glibc.
8228 * INSTALL: Regenerated.
8229 * Rules [PYTHON]: Make code unconditional.
8230 * benchtests/Makefile [PYTHON]: Likewise.
8231 * conform/Makefile [PYTHON]: Likewise.
8232 * manual/Makefile [PYTHON]: Likewise.
8233 * math/Makefile [PYTHON]: Likewise.
8234
46a7f24c
ST
82352018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8236
8237 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 8238 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 8239 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
8240 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8241 _hurd_intr_rpc_msg_about_to global point to start of controlled
8242 assembly snippet. Make it check canceled flag.
8243 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8244 the _hurd_intr_rpc_msg_about_to point.
8245 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8246 issue, remove cancel flag check.
46a7f24c 8247
e5b8756d
JM
82482018-10-26 Joseph Myers <joseph@codesourcery.com>
8249
8250 * scripts/build-many-glibcs.py: Remove compatibility for missing
8251 os.cpu_count and re.fullmatch.
8252
ba5b14c7
SN
82532018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8254
8255 [BZ #23822]
8256 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8257 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8258 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8259
fe61f17c
JM
82602018-10-25 Joseph Myers <joseph@codesourcery.com>
8261
8262 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8263 macro.
8264
7c5e34d7
FW
82652018-10-25 Florian Weimer <fweimer@redhat.com>
8266
8267 [BZ #23562]
8268 [BZ #23821]
8269 XFAIL siginfo_t si_band conform test on sparc64.
8270 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8271 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8272 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8273 (conformtest-xfail-conds): Add sparc64-linux.
8274 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8275 sparc64.
8276 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8277
5b784e88
JM
82782018-10-25 Joseph Myers <joseph@codesourcery.com>
8279
8280 * elf/elf.h (NT_MIPS_DSP): New macro.
8281 (NT_MIPS_FP_MODE): Likewise.
8282
41432ebe
ZL
82832018-10-25 Zong Li <zong@andestech.com>
8284
8285 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8286 name by adding the file extension (.so).
8287
d026efea
ST
82882018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8289
8290 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8291 (test-xfail-ISO11/threads.h/linknamespace,
8292 test-xfail-ISO11/threads.h/conform): Add.
8293
b71ac2b9
JM
82942018-10-24 Joseph Myers <joseph@codesourcery.com>
8295
8296 * math/gen-libm-test.py: Import os.
8297 (ALL_FLOATS_MANUAL): New constant.
8298 (ALL_FLOATS_SUFFIX): Likewise.
8299 (Ulps.all_functions): New function.
8300 (real_all_ulps): Likewise.
8301 (generate_err_table_sub): Likewise.
8302 (generate_err_table): Likewise.
8303 (main): Handle -s and -m options.
8304 * manual/libm-err-tab.pl: Remove.
8305 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8306 instead of libm-err-tab.pl.
8307 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8308 != no].
8309 * manual/install.texi (Tools for Compilation): Document
8310 requirement for Python to build manual.
8311 * INSTALL: Regenerated.
8312
6b5c8607 83132018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
8314
8315 * bits/time64.h: New file.
8316 * include/time.h: Replace internal_time_t with __time64_t.
8317 * posix/bits/types (__time64_t): Add.
8318 * stdlib/Makefile: Add bits/time64.h to includes.
8319 * time/tzfile.c: Replace internal_time_t with __time64_t.
8320
97d91fcc 83212018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
8322
8323 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8324 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8325 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8326 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8327 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8328 prototype.
8329 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8330 * posix/spawn_faction_addclose.c
8331 (__posix_spawn_file_actions_addclose): Add hidden definition.
8332 * posix/spawn_faction_adddup2.c
8333 (__posix_spawn_file_actions_adddup2): Likewise.
8334 * posix/spawn_faction_destroy.c
8335 (__posix_spawn_file_actions_destroy): Likewise.
8336 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8337 Likewise.
8338 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8339 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8340 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8341 Likewise.
8342 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8343 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8344 Likewise.
8345
2954daf0
AS
83462018-10-24 Andreas Schwab <schwab@suse.de>
8347
8348 [BZ #18093]
8349 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8350 format cache.
8351 * elf/cache.c (print_cache): Likewise.
8352
6b5c8607 83532018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
8354
8355 * bits/timesize.h: New file.
8356 * stdlib/Makefile (headers): Add bits/timesize.h.
8357 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8358 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8359 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8360 (__SEM_PAD_AFTER_TIME): Likewise.
8361 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8362 (__SHM_PAD_AFTER_TIME): Likewise.
8363 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8364 (__MSQ_PAD_BEFORE_TIME): Likewise.
8365 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8366 (__SEM_PAD_BEFORE_TIME): Likewise.
8367 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8368 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8369 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
8370 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8371 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8372 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
8373 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8374 (__SEM_PAD_BEFORE_TIME): Likewise.
8375 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8376 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8377 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8378 (__MSQ_PAD_BEFORE_TIME): Likewise.
8379 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8380 (__SEM_PAD_BEFORE_TIME): Likewise.
8381 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8382 (__SHM_PAD_BEFORE_TIME): Likewise.
8383 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8384 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8385 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8386
7cc65773
L
83872018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8388
8389 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8390 USE_RDTSCP is defined.
8391 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8392 USE_RDTSCP is defined.
8393
c3d8dc45
AZ
83942018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8395
18ad0de6
AZ
8396 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8397 defined.
8398
c3d8dc45
AZ
8399 [BZ #23709]
8400 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8401 independently of other flags.
8402
f1034472
FW
84032018-10-23 Florian Weimer <fweimer@redhat.com>
8404
8405 * time/tst-mktime2.c (N_STRINGS): Remove.
8406 (set_timezone): New function.
8407 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8408 (mktime_test1): Report localtime failure and check errno value.
8409 Use TEST_COMPARE.
8410 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8411 (do_test): Remove alarm call. Use set_timezone and array_length.
8412
367d7cc2
AS
84132018-10-23 Andreas Schwab <schwab@suse.de>
8414
8415 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8416 (__start_context): Use END instead of PSEUDO_END.
8417
be8ff03f
JM
84182018-10-22 Joseph Myers <joseph@codesourcery.com>
8419
029ad711
JM
8420 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8421 version to 4.19.
8422
8190520f
JM
8423 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8424 version to 4.19.
8425
be8ff03f
JM
8426 [BZ #23793]
8427 * wcsmbs/c32rtomb.c: New file.
8428 * wcsmbs/mbrtoc32.c: Likewise.
8429 * wcsmbs/tst-c32-state.c: Likewise.
8430 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8431 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8432 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8433 (tests): Add tst-c32-state.
8434 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8435 $(gen-locales).
8436
2dd8e58c
L
84372018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8438
8439 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8440 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8441
d0a74159
JM
84422018-10-19 Joseph Myers <joseph@codesourcery.com>
8443
8444 [BZ #23794]
8445 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8446 pair and return 0 in that case, and use saved character to
8447 interpret following character.
8448 * wcsmbs/tst-c16-surrogate.c: New file.
8449 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8450 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8451 Depend on $(gen-locales)
8452
f997b4be
IYM
84532018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8454
8455 [BZ #23562]
8456 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8457 (struct siginfo_t): Use correct type for si_band.
8458
53b2bb87
FW
84592018-10-19 Florian Weimer <fweimer@redhat.com>
8460
8461 [BZ #23689]
8462 * resource/bits/types/struct_rusage.h (struct rusage): Update
8463 comment on struct. Remove extraneous field comment.
8464
0a271c8f
DM
84652018-10-18 David S. Miller <davem@davemloft.net>
8466
94a3a27f
DM
8467 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8468 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8469 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8470 sysdep_routines in subdir elf.
8471 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8472 version for __vdso_clock_gettime.
8473 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8474 Define.
8475 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8476 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8477
0a271c8f
DM
8478 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8479
72771e53
L
84802018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8481
8482 * sysdeps/i386/init-arch.h: Removed.
8483 * sysdeps/i386/i586/init-arch.h: Likewise.
8484 * sysdeps/i386/i686/init-arch.h: Likewise.
8485 * sysdeps/i386/i686/hp-timing.h: Likewise.
8486 * sysdeps/x86_64/hp-timing.h: Likewise.
8487 * sysdeps/i386/isa.h: New file.
8488 * sysdeps/i386/i586/isa.h: Likewise.
8489 * sysdeps/i386/i686/isa.h: Likewise.
8490 * sysdeps/x86_64/isa.h: Likewise.
8491 * sysdeps/x86/hp-timing.h: New file.
8492 * sysdeps/x86/init-arch.h: Include <isa.h>.
8493
c2b7ccad
JM
84942018-10-17 Joseph Myers <joseph@codesourcery.com>
8495
8496 * math/libm-test-pow.inc (pow_test_data): Do not allow
8497 divide-by-zero exception for pow(+/- 0, -Inf).
8498
26756e57
ZW
84992018-10-17 Zack Weinberg <zackw@panix.com>
8500
8501 * manual/job.texi (Job Control is Optional): Remove node, as
8502 job control has not been optional in quite some time.
8503 (Job Control): Mention briefly that systems older than
8504 POSIX.1-2001 might not support job control.
8505 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8506 defined on systems conforming to POSIX.1-2001.
8507
c5288d37
AS
85082018-10-17 Arjun Shankar <arjun@redhat.com>
8509
8510 [BZ #22062]
8511 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8512 indentation.
8513 * (__gconv_read_conf): Mark function static.
8514 * (once): New static variable.
8515 * (__gconv_load_conf): New function.
8516 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8517 * iconv/gconv_db.c (once): Remove static variable.
8518 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8519 __gconv_read_conf.
8520 * (__gconv_find_transform): Likewise.
8521 * iconv/tst-iconv-mt.c: New test.
8522 * iconv/Makefile: Add tst-iconv_mt.
8523
8c8d2a8a
JM
85242018-10-17 Joseph Myers <joseph@codesourcery.com>
8525
8526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
8527 bits/shm-pad.h.
8528 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8529 (shmatt_t): Define as __syscall_ulong_t.
8530 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8531 and [__SHM_PAD_AFTER_TIME].
8532 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8533 Define shm_segsz and associated padding based on
8534 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8535 Use __syscall_ulong_t instead of unsigned long int.
8536 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8537 unsigned long int.
8538 [__USE_MISC] (struct shm_info): Likewise.
8539 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8540 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8541 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8542 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8543 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8544 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8545 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8546 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8547 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8548 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8549 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8550
8551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
8552 bits/shmlba.h.
8553 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8554 (SHMLBA): Remove macro.
8555 (__getpagesize): Remove function declaration.
8556 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8557 <bits/shmlba.h>.
8558 (SHMLBA): Remove macro.
8559 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8560 <bits/shmlba.h>.
8561 (SHMLBA): Remove macro.
8562 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8563 <bits/shmlba.h>.
8564 (SHMLBA): Remove macro.
8565 (__getpagesize): Remove function declaration.
8566 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8567 <bits/shmlba.h>.
8568 (SHMLBA): Remove macro.
8569 (__getshmlba): Remove function declaration.
8570 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8571 (SHMLBA): Remove macro.
8572 (__getpagesize): Remove function declaration.
8573 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8574 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8575 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8576 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8577 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8578 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8579 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8580 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8581 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8582 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8583
403b4feb
SL
85842018-10-17 Stefan Liebler <stli@linux.ibm.com>
8585
8586 [BZ #23275]
8587 * nptl/tst-mutex10.c: New File.
8588 * nptl/Makefile (tests): Add tst-mutex10.
8589 (tst-mutex10-ENV): New variable.
8590 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8591 Ensure that elision path is used if elision is available.
8592 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8593 Likewise.
8594 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8595 Likewise.
8596 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8597 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8598 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8599 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8600 Likewise.
8601 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8602 (__pthread_mutex_cond_lock_adjust): Likewise.
8603 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8604 Likewise.
8605 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8606 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8607 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8608 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8609 Add comments.
8610 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8611 Use atomic_load_relaxed and atomic_store_relaxed.
8612 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8613 Use atomic_store_relaxed.
8614
ce5a7de6
AS
86152018-10-17 Andreas Schwab <schwab@suse.de>
8616
8617 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8618 * crypt/badsalttest.c (TIMEOUT): Likewise.
8619 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8620 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8621 * io/test-lfs.c (TIMEOUT): Likewise.
8622 * libio/tst-atime.c (TIMEOUT): Likewise.
8623 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8624 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8625 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8626 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8627 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8628 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8629 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8630 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8631 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8632 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8633 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8634 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8635 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8636 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8637 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8638 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8639 * nptl/tst-once2.c (TIMEOUT): Likewise.
8640 * nptl/tst-once3.c (TIMEOUT): Likewise.
8641 * nptl/tst-once4.c (TIMEOUT): Likewise.
8642 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8643 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8644 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8645 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8646 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8647 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8648 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8649 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8650 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8651 * posix/tst-chmod.c (TIMEOUT): Likewise.
8652 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8653 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8654 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8655 * posix/tst-regex2.c (TIMEOUT): Likewise.
8656 * posix/tst-waitid.c (TIMEOUT): Likewise.
8657 * rt/tst-aio.c (TIMEOUT): Likewise.
8658 * rt/tst-aio10.c (TIMEOUT): Likewise.
8659 * rt/tst-aio4.c (TIMEOUT): Likewise.
8660 * rt/tst-aio5.c (TIMEOUT): Likewise.
8661 * rt/tst-aio6.c (TIMEOUT): Likewise.
8662 * rt/tst-aio64.c (TIMEOUT): Likewise.
8663 * rt/tst-aio7.c (TIMEOUT): Likewise.
8664 * rt/tst-aio9.c (TIMEOUT): Likewise.
8665 * rt/tst-clock.c (TIMEOUT): Likewise.
8666 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8667 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8668 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8669 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8670 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8671 * rt/tst-timer4.c (TIMEOUT): Likewise.
8672 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8673 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8674 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8675 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8676 * time/tst-ftime.c (TIMEOUT): Likewise.
8677 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8678
6b5c8607 86792018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
8680
8681 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8682 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8683 for thunderX2.
8684
bcdb1bfa
JM
86852018-10-15 Joseph Myers <joseph@codesourcery.com>
8686
8687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8688 bits/sem-pad.h.
8689 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8690 instead of <bits/wordsize.h>.
8691 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8692 and [__SEM_PAD_AFTER_TIME].
8693 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8694 __syscall_ulong_t instead of unsigned long int.
8695 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8696 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8697 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8698 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8699 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8700 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8701 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8702 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8703 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8704 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8705 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8706
f4efbdfb
PE
87072018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8708
620a5d4c
PE
8709 regex: simplify by using intprops.h
8710 [BZ#23744]
8711 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8712 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8713 intprops.h defines them.
8714
f4efbdfb
PE
8715 regex: __builtin_expect → __glibc_unlikely
8716 [BZ#23744]
8717 This refactoring was prompted by a problem when the regex code is
8718 used as part of Gnulib and when the builder’s compiler does not grok
8719 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8720 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8721 Although this refactoring does not fix the problem directly,
8722 we might as well have Gawk use the now-preferred glibc style for when
8723 __builtin_expect is unavailable.
8724 * posix/regex_internal.h (BE): Remove.
8725 All uses replaced by __glibc_unlikely or __glibc_likely.
8726
9f9feb6d
JM
87272018-10-11 Joseph Myers <joseph@codesourcery.com>
8728
8729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8730 bits/msq-pad.h.
8731 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8732 instead of <bits/wordsize.h>.
8733 (msgqnum_t): Define as __syscall_ulong_t.
8734 (msglen_t): Likewise.
8735 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8736 and [__MSQ_PAD_AFTER_TIME].
8737 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8738 __syscall_ulong_t instead of unsigned long int.
8739 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8740 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8741 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8742 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8743 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8744 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8745 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8746 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8747 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8748 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8749 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8750
b9c0f6c1
JM
87512018-10-10 Joseph Myers <joseph@codesourcery.com>
8752
2a4b25fa
JM
8753 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8754 (struct shmid_ds): Condition padding after time fields on
8755 [__WORDSIZE == 32].
8756 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8757 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8758 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8759
19e62f26
JM
8760 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8761 (struct semid_ds): Condition padding after time fields on
8762 [__WORDSIZE == 32].
8763 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8764 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8765 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8766 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8767
b9c0f6c1
JM
8768 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8769 (struct msqid_ds): Condition padding after time fields on
8770 [__WORDSIZE == 32].
8771 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8772 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8773 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8774 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8775
97785a61
SN
87762018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8777
8778 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8779
ed643089
SN
87802018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8781
8782 * libio/tst-readline.c (TIMEOUT): Define.
8783
5a580643
PE
87842018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8785
8786 mktime fix for Gnulib + coreutils
8787 [BZ#23745]
8788 This fix affects only Gnulib. Problem discovered when
8789 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8790 * time/mktime.c:
8791 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8792 Do not define since it is not used. Defining an unused static
8793 function prompts a warning from GCC when Coreutils is configured
8794 with --enable-gcc-warnings.
8795
c892ae04
LS
87962018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8797
8798 * benchtests/scripts/compare_bench.py (main): set float type on
8799 threshold argument.
8800
a68ec8ea
RL
88012018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8802
8803 [BZ #23740]
8804 * localedata/locales/kl_GL (mon): Update, the relative case.
8805 (alt_mon): Add, fill with month names in the nominative case.
8806 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8807 (d_fmt): Set to "%b %d %Y".
8808
a1987621
JM
88092018-10-04 Joseph Myers <joseph@codesourcery.com>
8810
47c49251
JM
8811 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8812 <bits/mman-linux.h>.
8813 (PROT_READ): Don't define here.
8814 (PROT_WRITE): Likewise.
8815 (PROT_EXEC): Likewise.
8816 (PROT_NONE): Likewise.
8817 (PROT_GROWSDOWN): Likewise.
8818 (PROT_GROWSUP): Likewise.
8819 (MAP_SHARED): Likewise.
8820 (MAP_PRIVATE): Likewise.
8821 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8822 [__USE_MISC] (MAP_FILE): Likewise.
8823 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8824 [__USE_MISC] (MAP_ANON): Likewise.
8825 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8826 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8827 (MCL_CURRENT): Likewise.
8828 (MCL_FUTURE): Likewise.
8829 (MCL_ONFAULT): Likewise.
8830 [__USE_MISC] (MADV_NORMAL): Likewise.
8831 [__USE_MISC] (MADV_RANDOM): Likewise.
8832 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8833 [__USE_MISC] (MADV_WILLNEED): Likewise.
8834 [__USE_MISC] (MADV_DONTNEED): Likewise.
8835 [__USE_MISC] (MADV_FREE): Likewise.
8836 [__USE_MISC] (MADV_REMOVE): Likewise.
8837 [__USE_MISC] (MADV_DONTFORK): Likewise.
8838 [__USE_MISC] (MADV_DOFORK): Likewise.
8839 [__USE_MISC] (MADV_HWPOISON): Likewise.
8840 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8841 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8842 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8843 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8844 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8845 (__MAP_ANONYMOUS): New macro.
8846 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8847 <bits/mman-linux.h> inclusion.
8848 (MAP_FIXED): Likewise.
8849 (MS_SYNC): Likewise.
8850 (MS_ASYNC): Likewise.
8851 (MS_INVALIDATE): Likewise.
8852 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8853 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8854 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8855 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8856 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8857 [__USE_MISC] (MADV_DODUMP): Likewise.
8858 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8859 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8860
a1987621
JM
8861 [BZ #23735]
8862 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8863 Define.
8864 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8865 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8866 Add test-nldbl-redirect.
8867 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8868 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8869 $(objpfx)libnldbl_nonshared.a.
8870
e7624d70
SL
88712018-10-04 Stefan Liebler <stli@linux.ibm.com>
8872
8873 * support/support.h (support_objdir_elf_ldso): New variable.
8874 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8875 * support/Makefile (CFLAGS-support_paths.c): Add definition
8876 for OBJDIR_ELF_LDSO_PATH.
8877 * support/test-container.c (main): Search for the ld.so
8878 which is also used by the testsuite.
8879
dae3ed95
RL
88802018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8881
8882 [BZ #20209]
8883 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8884 should be "sap" rather than "sab".
8885 (day): Fix spelling of Sunday, should be "sapaat" rather than
8886 "sabaat".
8887
f346b5b3
JM
88882018-10-02 Joseph Myers <joseph@codesourcery.com>
8889
8890 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8891
4a06ceea
MJ
88922018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8893
8894 [BZ #19444]
8895 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8896 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8897 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8898
a06fc4a5
AZ
88992018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8900
8901 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8902
a1ccc065
L
89032018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8904
8905 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8906 Add -mrtm.
8907 (CFLAGS-elision-unlock.c): Likewise.
8908 (CFLAGS-elision-timed.c): Likewise.
8909 (CFLAGS-elision-trylock.c): Likewise.
8910 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8911
0b727ed4
AZ
89122018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8913
8914 [BZ #21037]
8915 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8916 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8917 new fd_to_filename interface.
8918 * libio/freopen64.c (freopen64): Likewise.
8919 * libio/tst-memstream.h: New file.
8920 * libio/tst-memstream4.c: Likewise.
8921 * libio/tst-wmemstream4.c: Likewise.
8922 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8923 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8924 and remove internal dynamic allocation.
8925
d0e91e8c
JM
89262018-10-01 Joseph Myers <joseph@codesourcery.com>
8927
8928 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8929 (MREMAP_MAYMOVE): Do not define here.
8930 [__USE_GNU] (MREMAP_FIXED): Likewise.
8931 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8932 (MREMAP_MAYMOVE): Define here instead.
8933 [__USE_GNU] (MREMAP_FIXED): Likewise.
8934 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8935 (MREMAP_MAYMOVE): Remove.
8936 [__USE_GNU] (MREMAP_FIXED): Likewise.
8937
c52944e8
JM
89382018-09-28 Joseph Myers <joseph@codesourcery.com>
8939
8940 * math/fromfp.h: Do not include <math_private.h>.
8941 * math/s_cacosh_template.c: Likewise.
8942 * math/s_casin_template.c: Likewise.
8943 * math/s_casinh_template.c: Likewise.
8944 * math/s_ccos_template.c: Likewise.
8945 * math/s_cproj_template.c: Likewise.
8946 * math/s_fdim_template.c: Likewise.
8947 * math/s_fmaxmag_template.c: Likewise.
8948 * math/s_fminmag_template.c: Likewise.
8949 * math/s_iseqsig_template.c: Likewise.
8950 * math/s_ldexp_template.c: Likewise.
8951 * math/s_nextdown_template.c: Likewise.
8952 * math/w_log1p_template.c: Likewise.
8953 * math/w_scalbln_template.c: Likewise.
8954 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8955 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8956 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8957 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8958 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8959 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8960 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8961 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8962 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8963 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8964 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8965 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8966 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8967 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8968 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8969 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8970 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8971 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8972 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8973 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8974 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8975 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8976 * sysdeps/ieee754/k_standardf.c: Likewise.
8977 * sysdeps/ieee754/k_standardl.c: Likewise.
8978 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8980 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8982 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8986 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8987 * sysdeps/ieee754/s_signgam.c: Likewise.
8988 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8989 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8990 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8991 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8992 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8993 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8994 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8995 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8996 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8997 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8998 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8999 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9000 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9001 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9002 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9003 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9004 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9005 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9006 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9007 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9008 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9009 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9010 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9011 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9012 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9013 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9014 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9015 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9016 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9017 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9018 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9019 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9020 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9021 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9022 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9023 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9024 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9025 <math_private.h>.
9026 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9027
7b1f9406
L
90282018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9029
9030 [BZ #23716]
9031 * sysdeps/i386/dl-cet.c: Removed.
9032 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9033 prototype.
9034 (_dl_runtime_profile_shstk): Likewise.
9035 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9036 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9037
7a16bdbb
AZ
90382018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9039
9040 [BZ #23579]
9041 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9042 do_test_with_invalid_iov): New tests.
9043 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9044 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9045 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9046 errno is ENOSYS.
9047 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9048 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9049 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9050
9755bc46
JM
90512018-09-27 Joseph Myers <joseph@codesourcery.com>
9052
81dca813
JM
9053 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9054 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9055 (MATH_REDIRECT_BINARY_ARGS): New macro.
9056 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9057 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9058 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9059 header inclusion.
9060 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9062 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9063 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9068 Likewise.
9069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9070 Likewise.
9071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9073 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9074 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9076 Likewise.
9077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9078 Likewise.
9079 * sysdeps/generic/math_private_calls.h
9080 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9081 Do not declare and define as an inline function.
9082 * math/divtc3.c (__divtc3): Use copysign functions instead of
9083 __copysign variants.
9084 * math/multc3.c (__multc3): Likewise.
9085 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9086 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9087 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9088 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9089 Likewise.
9090 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9091 (__ieee754_yn): Likewise.
9092 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9093 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9094 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9095 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9096 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9097 (__sin): Likewise.
9098 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9099 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9100 Likewise.
9101 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9102 Likewise.
9103 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9104 Likewise.
9105 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9106 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9107 Likewise.
9108 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9109 (__ieee754_ynf): Likewise.
9110 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9111 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9112 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9113 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9114 Likewise.
9115 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9116 (__ieee754_ynl): Likewise.
9117 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9118 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9119 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9120 Likewise.
9121 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9122 (__ieee754_ynl): Likewise.
9123 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9124 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9125 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9126 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9127 Likewise.
9128 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9129 (__ieee754_ynl)
9130 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9131 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9132 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9133 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9134 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9135
9755bc46
JM
9136 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9137 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9138 using MATH_REDIRECT.
9139 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9140 header inclusion.
9141 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9144 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9145 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9146 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9152 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9153 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9154 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9155 (round): Redirect to __round.
9156 (__roundl): Call round instead of __round.
9157 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9158 Remove macro.
9159 [_ARCH_PWR5X] (__roundf): Likewise.
9160 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9161 functions instead of __round variants.
9162 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9163 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9164 Likewise.
9165 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9166 Likewise.
9167 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9168 Likewise.
9169 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9170 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9171 __lroundl.
9172 (__ieee754_expl): Call roundl instead of __roundl.
9173
f841c97e
AS
91742018-09-27 Andreas Schwab <schwab@suse.de>
9175
9176 [BZ #23717]
9177 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9178 (do_test): Make st1 static.
9179
6ca8284e
AS
91802018-09-26 Andreas Schwab <schwab@suse.de>
9181
9182 [BZ #23707]
9183 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9184 * elf/Makefile (tests): Add tst-unwind-ctor.
9185 (modules-names): Add tst-unwind-ctor-lib.
9186 ($(objpfx)tst-unwind-ctor): Depend on
9187 $(objpfx)tst-unwind-ctor-lib.so.
9188
61d8b5fe
JM
91892018-09-26 Joseph Myers <joseph@codesourcery.com>
9190
9191 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9192 file. Most contents moved from ....
9193 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9194 and include <bits/mman-map-flags-generic.h>.
9195 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9196 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9197 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9198 <bits/mman-map-flags-generic.h>.
9199 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9200 macros defined in <bits/mman-map-flags-generic.h>.
9201 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9202 <bits/mman-map-flags-generic.h>.
9203 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9204 defined in <bits/mman-map-flags-generic.h>.
9205
46341286
AS
92062018-09-26 Andreas Schwab <schwab@suse.de>
9207
9208 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9209 output.
9210
b5c45e83
AZ
92112018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9212 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9213 Fangrui Song <maskray@google.com>
9214
9215 [BZ #20480]
9216 * config.make.in (have-textrel_ifunc): New define.
9217 * configure.ac: Add check if linker supports textrel relocation with
9218 ifunc.
9219 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9220 tst-ifunc-textrel.
9221 (CFLAGS-tst-ifunc-textrel.c): New rule.
9222 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9223 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9224 * elf/tst-ifunc-textrel.c: New file.
9225
8ea4d2b7
JM
92262018-09-25 Joseph Myers <joseph@codesourcery.com>
9227
d62f9ec0
JM
9228 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9229 <bits/procfs-prregset.h>.
9230 (prgregset_t): Define using __prgregset_t.
9231 (prfpregset_t): Define using __prfpregset_t.
9232 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9233 (sysdep_headers): Add bits/procfs-prregset.h.
9234 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9235 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9236 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9237 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9238
d0d8eb43
JM
9239 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9240 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9241 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9242 pr_uid and pr_gid.
9243 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9244 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9245 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9246 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9247 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9248 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9249 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9250 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9251 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9252 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9253 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9254 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9255 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9256 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9257 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9258 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9259 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9260 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9261 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9262 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9263 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9264 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9265 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9266 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9267
8ea4d2b7
JM
9268 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9269 AArch64 version. Include <bits/procfs.h>.
9270 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9271 (sysdep_headers): Add bits/procfs.h.
9272 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9273 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9274 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9275 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9276 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9277 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9278 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9279 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9280 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9281 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9282 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9283 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9284 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9285 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9286 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9287 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9288 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9289
c7027166
AZ
92902018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9291
9292 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9293 Use libsupport.
9294
335a3b0a
AS
92952018-09-25 Arjun Shankar <arjun@redhat.com>
9296
9297 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9298 (__gconv_max_path_elem_len): Likewise.
9299 (__gconv_nmodules): Likewise.
9300 (__gconv_get_path): Likewise.
9301 (path_elem): Move to ...
9302 * iconv/gconv_conf.c: ... here.
9303 (__gconv_get_path): Mark function static.
9304 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9305 * iconv/gconv_open.c: ... here.
9306
462d348c
AS
93072018-09-24 Andreas Schwab <schwab@suse.de>
9308
9309 * scripts/haveversions.awk: New file.
9310 * Makerules ($(common-objpfx)Versions.def)
9311 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9312 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9313 Move rules ...
9314 * Makeconfig ($(common-objpfx)Versions.def)
9315 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9316 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9317 ... here.
9318 ($(common-objpfx)Versions.mk): New rule. Include it.
9319 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9320 Emit error if build-obsolete-nsl = yes.
9321 * manual/install.texi (Configuring and compiling): Describe
9322 --enable-obsolete-nsl as unavaiable after version 2.28.
9323 * INSTALL: Regenerate.
9324
f0458cf4
AZ
93252018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9326
9327 * NEWS: Add note about new TLE support on powerpc64le.
9328 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9329 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9330 __ununsed1.
9331 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9332 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9333 * sysdeps/powerpc/powerpc32/sysdep.h,
9334 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9335 ABORT_TRANSACTION): Remove macros.
9336 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9337 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9338 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9340 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9341 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9342 usage.
9343 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9344
434d45fd
RL
93452018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9346
9347 [BZ #10425]
9348 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9349 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9350 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9351 which is the same as in it_IT.
9352 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9353 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9354
d90c9b1a
JM
93552018-09-20 Joseph Myers <joseph@codesourcery.com>
9356
7abf97be
JM
9357 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9358 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9359 using MATH_REDIRECT.
9360 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9361 header inclusion.
9362 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9363 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9364 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9365 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9366 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9367 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9372 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9373 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9374 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9375 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9376 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9377 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9378 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9379 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9380 (ceil): Redirect to __ceil.
9381 (floor): Redirect to __floor.
9382 (trunc): Redirect to __trunc.
9383 (__truncl): Call trunc instead of __trunc.
9384 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9385 Remove macro.
9386 [_ARCH_PWR5X] (__truncf): Likewise.
9387 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9388 trunc functions instead of __trunc variants.
9389 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9390 Likewise.
9391 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9392 Likewise.
9393 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9394 Likewise.
9395 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9396 Likewise.
9397
d90c9b1a
JM
9398 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9399 [__i586__ || __pentium__].
9400 [__i486__]: Handle explicitly.
9401 (HAS_CPUID): Define to 1 if above macros are undefined.
9402 (HAS_I586): Likewise.
9403 (HAS_I686): Likewise.
9404
db9a8ad4
FW
94052018-09-20 Florian Weimer <fweimer@redhat.com>
9406
9407 * misc/tst-gethostid.c: New file.
9408 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9409 (tst-gethostid): Link with -ldl.
9410
1214ba06
MY
94112018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9412
9413 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9414 value from gethostbyname_r.
9415
791b350d
CD
94162018-09-19 Carlos O'Donell <carlos@redhat.com>
9417
9418 * stdlib/tst-setcontext9.c (f1): Rename to...
9419 (f1a): ... this.
9420 (f1b): New function implementing lower half of f1 in alternate stack.
9421
8e6fd2bd
PE
94222018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9423
e1080e7e
PE
9424 Fix mktime localtime offset confusion
9425 [BZ #23603]
9426 * include/time.h (__mktime_internal): The localtime offset is now
9427 of type long int instead of time_t. This is the longstanding type
9428 in glibc, and it is more than enough to represent difference
9429 between localtime and gmtime even if it is 32 bits and time_t is
9430 64. Changing it now will let us avoid an unnecessary change when
9431 time_t is widened to 64 bits on 32-bit platforms.
9432 * time/mktime-internal.h (mktime_offset_t): Now long int.
9433
8e6fd2bd
PE
9434 Merge mktime, timegm from upstream Gnulib
9435 [BZ #23603][BZ #16346]
9436 This fixes some obscure problems with integer overflow.
9437 Although it looks scary, it is almost all a byte-for-byte copy
9438 from Gnulib, and the Gnulib code has been tested reasonably well.
9439 * include/intprops.h: New file, copied from Gnulib.
9440 * include/verify.h, time/mktime-internal.h:
9441 New tiny files, simplified from Gnulib.
9442 * time/mktime.c: Copy from Gnulib. This has the following changes:
9443 Do not include config.h if DEBUG_MKTIME is nonzero.
9444 Include stdbool.h, intprops.h, verify.h.
9445 Include string.h only if needed.
9446 Include stdlib.h on MS-Windows.
9447 Include mktime-internal.h.
9448 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9449 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9450 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9451 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9452 simplify later conditionals; default the others to zero. Use
9453 these conditionals to express only the code needed on the current
9454 platform. In uses of these conditionals, explicitly spell out how
9455 _LIBC affects things, so it’s easier to review from a glibc
9456 viewpoint.
9457 (WRAPV): Remove; no longer needed now that we have
9458 systematic overflow checking.
9459 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9460 compartmentalize tzset issues. Move system-dependent tzsettish
9461 code here from mktime.
9462 (verify): Remove; now done by verify.h. All uses changed.
9463 (long_int): Use a more-conservative definition, to avoid
9464 integer overflow.
9465 (SHR): Remove, replacing with ...
9466 (shr): New function, which means we needn’t worry about side
9467 effects in args, and conversion analysis is simpler.
9468 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9469 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9470 (time_t_avg, time_t_add_ok): Remove.
9471 (mktime_min, mktime_max): New constants.
9472 (leapyear, isdst_differ): Use bool for booleans.
9473 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9474 Use long_int, not time_t, for mktime differences.
9475 (long_int_avg): New function, replacing time_t_avg.
9476 INT_ADD_WRAPV replaces time_t_add_ok.
9477 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9478 All uses changed.
9479 (convert_time): New function.
9480 (ranged_convert): Use it.
9481 (__mktime_internal): Last arg now points to mktime_offset_t, not
9482 time_t. All uses changed. This is a no-op on glibc, where
9483 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9484 offset guess. Directly check for integer overflow instead of
9485 using a heuristic that works only 99.9...% of the time.
9486 Access *OFFSET only once, to avoid an unlikely race if the
9487 compiler delays a load and if this cascades into a signed integer
9488 overflow.
9489 (mktime): Move tzsettish code to my_tzset, and move
9490 localtime_offset to within mktime so that it doesn’t
9491 need a separate ifdef.
9492 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9493 instead of localtime.
9494 * time/timegm.c: Copy from Gnulib. This has the following changes:
9495 Include mktime-internal.h.
9496 [!_LIBC]: Include config.h and time.h. Do not include
9497 timegm.h or time_r.h. Make __mktime_internal a macro,
9498 and include mktime-internal.h to get its declaration.
9499 (timegm): Temporary is now mktime_offset_t, not time_t.
9500 This affects only Gnulib.
9501
83a552b0
WD
95022018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9503
9504 [BZ #23637]
9505 * string/test-strstr.c (pr23637): New function.
9506 (test_main): Add tests with longer needles.
9507 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9508 * string/strstr.c (AVAILABLE): Likewise.
9509
d7347278
SN
95102018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9511
9512 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9513
424c4f60
SN
95142018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9515
9516 * NEWS: Mention pow improvements.
9517 * math/Makefile (type-double-routines): Add e_pow_log_data.
9518 * sysdeps/generic/math_private.h (__exp1): Remove.
9519 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9520 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9521 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9522 contraction.
9523 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9524 (exp_inline): Remove.
9525 (__ieee754_exp): Only single double input is handled.
9526 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9527 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9528 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9529 (__pow_log_data): Define.
9530 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9531 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9532 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9533 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9534 contraction.
9535 (CFLAGS-e_pow-fma4.c): Likewise.
9536
e4e4fde5
PE
95372018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9538
dab9c348
PE
9539 Simplify tzfile fstat failure code
9540 [BZ #21716]
9541 * time/tzfile.c (__tzfile_read): Simplify slightly.
9542
e4e4fde5
PE
9543 Fix tzfile low-memory assertion failure
9544 [BZ #21716]
9545 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9546 when registering time zone abbreviations.
9547
50bc59ca
JM
95482018-09-18 Joseph Myers <joseph@codesourcery.com>
9549
d3a43e49
JM
9550 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9551 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9552 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9553 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9554 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9555 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9556 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9557 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9558 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9559
50bc59ca
JM
9560 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9561 __ceil.
9562 (__ceill): Call ceil instead of __ceil.
9563 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9564 __floor.
9565 (__floorl): Call floor instead of __floor.
9566
89983cb3
JM
95672018-09-17 Joseph Myers <joseph@codesourcery.com>
9568
71223ef9
JM
9569 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9570 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9571 using MATH_REDIRECT.
9572 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9573 header inclusion.
9574 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9575 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9576 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9577 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9578 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9579 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9580 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9581 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9586 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9587 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9588 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9590 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9591 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9592 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9593 Remove macro.
9594 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9595 functions instead of __ceil variants.
9596 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9597 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9598 Likewise.
9599 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9600 Likewise.
9601 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9602 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9603 Likewise.
9604 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9605 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9606
89983cb3
JM
9607 [BZ #21286]
9608 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9609 constant.
9610 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9611 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9612 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9613 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9614 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9615 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9616 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9617 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9618 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9619 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9620 (ILL_BADIADDR): Remove constant.
9621 (TRAP_BRANCH): Likewise.
9622 (TRAP_HWBKPT): Likewise.
9623
e44acb20
JM
96242018-09-14 Joseph Myers <joseph@codesourcery.com>
9625
3f7f1d18
JM
9626 [BZ #23656]
9627 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9628 Remove [_MIPS_SIM = _ABIN32] conditional case.
9629 (struct elf_prpsinfo): Likewise.
9630
d59f3e5e
JM
9631 [BZ #23649]
9632 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9633 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9634 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9635 Likewise.
9636 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9637 elf_prpsinfo): Likewise.
9638 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9639 elf_prpsinfo): Likewise.
9640 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9641 Likewise.
9642
f29b6f17
JM
9643 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9644 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9645 using MATH_REDIRECT.
9646 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9647 header inclusion.
9648 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9649 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9650 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9651 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9652 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9653 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9654 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9655 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9656 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9657 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9658 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9659 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9660 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9661 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9662 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9663 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9664 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9665 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9666 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9669 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9670 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9671 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9672 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9673 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9674 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9675 __rint variants.
9676 * math/e_scalbf.c (invalid_fn): Likewise.
9677 * math/e_scalbl.c (invalid_fn): Likewise.
9678 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9679 Likewise.
9680 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9681 Likewise.
9682 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9683 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9684 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9685 Likewise.
9686 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9687 Likewise.
9688 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9689 Likewise.
9690 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9691 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9692
e44acb20
JM
9693 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9694 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9695 New macro.
9696 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9697 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9698 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9699 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9700 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9701 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9702 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9703 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9704 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9705 && !NO_MATH_REDIRECT] (floor): Likewise.
9706 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9707 header inclusion.
9708 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9709 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9710 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9711 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9712 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9713 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9714 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9715 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9720 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9721 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9724 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9725 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9726 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9727 Remove macro.
9728 [_ARCH_PWR5X] (__floorf): Likewise.
9729 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9730 inline function.
9731 [__SSE4_1__] (__floorf): Likewise.
9732 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9733 instead of __floor variants.
9734 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9735 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9736 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9737 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9738 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9739 * math/w_tgamma_compat.c (__tgamma): Likewise.
9740 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9741 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9742 * math/w_tgammal_compat.c (__tgammal): Likewise.
9743 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9744 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9745 Likewise.
9746 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9747 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9748 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9749 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9750 Likewise.
9751 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9752 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9753 Likewise.
9754 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9755 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9756 Likewise.
9757 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9758 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9759 Likewise.
9760 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9761 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9762 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9763 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9764 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9765 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9766
221e4bab
JM
97672018-09-12 Joseph Myers <joseph@codesourcery.com>
9768
9769 * elf/Makefile (modules-names-tests): New variable.
9770
3e08ff54
SN
97712018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9772
9773 * NEWS: Mention log2 improvements.
9774 * math/Makefile (type-double-routines): Add e_log2_data.
9775 * sysdeps/i386/fpu/e_log2_data.c: New file.
9776 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9777 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9778 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9779 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9780 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9781 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9782
f41b0a43
SN
97832018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9784
9785 * NEWS: Mention log improvement.
9786 * math/Makefile (type-double-routines): Add e_log_data.
9787 * sysdeps/i386/fpu/e_log_data.c: New file.
9788 * sysdeps/ia64/fpu/e_log_data.c: New file.
9789 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9790 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9791 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9792 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9793 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9794 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9795
5a274db4
L
97962018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9797 Xuepeng Guo <xuepeng.guo@intel.com>
9798
9799 [BZ #23606]
9800 * sysdeps/i386/start.S: Include <sysdep.h>
9801 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9802 enabled. Add cfi_undefined (eip).
9803
b1176270
JM
98042018-09-11 Joseph Myers <joseph@codesourcery.com>
9805
4e7fbdd7
JM
9806 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9807 (MOVQ): Likewise.
9808 (EXTRACT_WORDS64): Likewise.
9809 (INSERT_WORDS64): Likewise.
9810 (GET_FLOAT_WORD): Likewise.
9811 (SET_FLOAT_WORD): Likewise.
9812
b1176270
JM
9813 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9814 argument.
9815 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9816 build, but not for second build if --full-gcc. Use
9817 --enable-languages=all for second build if --full-gcc.
9818 (get_parser): Add --full-gcc option.
9819 (main): Update call to Context.
9820
527f355e
RL
98212018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9822
9823 [BZ #10797]
9824 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9825 Single Quotation Mark).
9826 (thousands_sep): Likewise.
9827 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9828 * localedata/locales/it_IT (thousands_sep): Use ".".
9829 (grouping): Use "3;3".
9830
7244f13d
JM
98312018-09-10 Joseph Myers <joseph@codesourcery.com>
9832
9833 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9834 x86_64 and i686 configs using --enable-obsolete-rpc
9835 --enable-obsolete-nsl.
9836
38245425
SL
98372018-09-06 Stefan Liebler <stli@linux.ibm.com>
9838
9839 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9840
28669f86
SL
98412018-09-06 Stefan Liebler <stli@linux.ibm.com>
9842
9843 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9844 Increment size of new_argv by one.
9845
a33650d1
RL
98462018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9847
9848 [BZ #17426]
9849 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9850 * localedata/locales/ar_IN (d_fmt): Likewise.
9851 * localedata/locales/bhb_IN (d_fmt): Likewise.
9852 * localedata/locales/bho_IN (d_fmt): Likewise.
9853 * localedata/locales/bn_BD (d_fmt): Likewise.
9854 * localedata/locales/bn_IN (d_fmt): Likewise.
9855 * localedata/locales/doi_IN (d_fmt): Likewise.
9856 * localedata/locales/gu_IN (d_fmt): Likewise.
9857 * localedata/locales/hi_IN (d_fmt): Likewise.
9858 * localedata/locales/hne_IN (d_fmt): Likewise.
9859 * localedata/locales/kn_IN (d_fmt): Likewise.
9860 * localedata/locales/mag_IN (d_fmt): Likewise.
9861 * localedata/locales/mai_IN (d_fmt): Likewise.
9862 * localedata/locales/mjw_IN (d_fmt): Likewise.
9863 * localedata/locales/ml_IN (d_fmt): Likewise.
9864 * localedata/locales/mni_IN (d_fmt): Likewise.
9865 * localedata/locales/mr_IN (d_fmt): Likewise.
9866 * localedata/locales/pa_IN (d_fmt): Likewise.
9867 * localedata/locales/raj_IN (d_fmt): Likewise.
9868 * localedata/locales/sat_IN (d_fmt): Likewise.
9869 * localedata/locales/sd_IN (d_fmt): Likewise.
9870 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9871 * localedata/locales/ta_IN (d_fmt): Likewise.
9872 * localedata/locales/ta_LK (d_fmt): Likewise.
9873 * localedata/locales/tcy_IN (d_fmt): Likewise.
9874 * localedata/locales/ur_IN (d_fmt): Likewise.
9875
9876 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9877 * localedata/locales/ks_IN (d_fmt): Likewise.
9878 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9879
9880 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9881 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9882 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9883 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9884
d114e6a7
SN
98852018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9886
9887 * NEWS: Mention exp and exp2 improvements.
9888 * math/Makefile (libm-support): Remove t_exp.
9889 (type-double-routines): Add math_err and e_exp_data.
9890 * sysdeps/aarch64/libm-test-ulps: Update.
9891 * sysdeps/arm/libm-test-ulps: Update.
9892 * sysdeps/i386/fpu/e_exp_data.c: New file.
9893 * sysdeps/i386/fpu/math_err.c: New file.
9894 * sysdeps/i386/fpu/t_exp.c: Remove.
9895 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9896 * sysdeps/ia64/fpu/math_err.c: New file.
9897 * sysdeps/ia64/fpu/t_exp.c: Remove.
9898 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9899 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9900 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9902 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9903 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9904 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9905 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9906 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9907 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9908 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9909 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9910 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9911 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9914
b9d8c474
JM
99152018-09-05 Joseph Myers <joseph@codesourcery.com>
9916
b7cdc2ae
JM
9917 * sysdeps/alpha/fpu/math_private.h: Remove.
9918
b9d8c474
JM
9919 * sysdeps/generic/math_private.h
9920 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9921 Move this inline function ....
9922 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9923 * include/math.h [!_ISOMAC]: To here....
9924
418d99e6
JM
99252018-09-04 Joseph Myers <joseph@codesourcery.com>
9926
9927 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9928 code ....
9929 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9930 * include/fenv.h [!_ISOMAC]: ... to here.
9931 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9932 (feraiseexcept): Likewise.
9933 * math/fromfp.h: Do not include <fenv_private.h>.
9934 * math/s_cexp_template.c: Likewise.
9935 * math/s_csin_template.c: Likewise.
9936 * math/s_csinh_template.c: Likewise.
9937 * math/s_ctan_template.c: Likewise.
9938 * math/s_ctanh_template.c: Likewise.
9939 * math/s_iseqsig_template.c: Likewise.
9940 * math/w_acos_compat.c: Likewise.
9941 * math/w_acosf_compat.c: Likewise.
9942 * math/w_acosl_compat.c: Likewise.
9943 * math/w_asin_compat.c: Likewise.
9944 * math/w_asinf_compat.c: Likewise.
9945 * math/w_asinl_compat.c: Likewise.
9946 * math/w_j0_compat.c: Likewise.
9947 * math/w_j0f_compat.c: Likewise.
9948 * math/w_j0l_compat.c: Likewise.
9949 * math/w_j1_compat.c: Likewise.
9950 * math/w_j1f_compat.c: Likewise.
9951 * math/w_j1l_compat.c: Likewise.
9952 * math/w_jn_compat.c: Likewise.
9953 * math/w_jnf_compat.c: Likewise.
9954 * math/w_log10_compat.c: Likewise.
9955 * math/w_log10f_compat.c: Likewise.
9956 * math/w_log10l_compat.c: Likewise.
9957 * math/w_log2_compat.c: Likewise.
9958 * math/w_log2f_compat.c: Likewise.
9959 * math/w_log2l_compat.c: Likewise.
9960 * math/w_log_compat.c: Likewise.
9961 * math/w_logf_compat.c: Likewise.
9962 * math/w_logl_compat.c: Likewise.
9963 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9964 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9965 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9966 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9967 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9968 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9969 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9970 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9971 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9972 * sysdeps/ieee754/k_standardl.c: Likewise.
9973 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9975 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9978 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9979 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9980 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9981 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9982 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9983 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9984 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9985 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9986 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9988 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9989 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9990 * math/w_ilogb_template.c: Include <fenv.h> instead of
9991 <fenv_private.h>.
9992 * math/w_llogb_template.c: Likewise.
9993 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9994 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9995
70e2ba33
JM
99962018-09-03 Joseph Myers <joseph@codesourcery.com>
9997
9998 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9999 * math/fromfp.h: Include <fenv_private.h>.
10000 * math/math-narrow.h: Likewise.
10001 * math/s_cexp_template.c: Likewise.
10002 * math/s_csin_template.c: Likewise.
10003 * math/s_csinh_template.c: Likewise.
10004 * math/s_ctan_template.c: Likewise.
10005 * math/s_ctanh_template.c: Likewise.
10006 * math/s_iseqsig_template.c: Likewise.
10007 * math/w_acos_compat.c: Likewise.
10008 * math/w_acosf_compat.c: Likewise.
10009 * math/w_acosl_compat.c: Likewise.
10010 * math/w_asin_compat.c: Likewise.
10011 * math/w_asinf_compat.c: Likewise.
10012 * math/w_asinl_compat.c: Likewise.
10013 * math/w_ilogb_template.c: Likewise.
10014 * math/w_j0_compat.c: Likewise.
10015 * math/w_j0f_compat.c: Likewise.
10016 * math/w_j0l_compat.c: Likewise.
10017 * math/w_j1_compat.c: Likewise.
10018 * math/w_j1f_compat.c: Likewise.
10019 * math/w_j1l_compat.c: Likewise.
10020 * math/w_jn_compat.c: Likewise.
10021 * math/w_jnf_compat.c: Likewise.
10022 * math/w_llogb_template.c: Likewise.
10023 * math/w_log10_compat.c: Likewise.
10024 * math/w_log10f_compat.c: Likewise.
10025 * math/w_log10l_compat.c: Likewise.
10026 * math/w_log2_compat.c: Likewise.
10027 * math/w_log2f_compat.c: Likewise.
10028 * math/w_log2l_compat.c: Likewise.
10029 * math/w_log_compat.c: Likewise.
10030 * math/w_logf_compat.c: Likewise.
10031 * math/w_logl_compat.c: Likewise.
10032 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10033 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10034 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10035 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10036 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10037 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10038 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10039 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10040 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10042 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10043 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10044 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10045 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10048 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10049 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10050 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10051 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10052 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10053 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10054 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10055 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10056 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10057 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10058 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10059 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10060 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10061 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10062 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10063 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10064 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10065 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10066 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10067 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10068 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10069 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10070 * sysdeps/ieee754/k_standardl.c: Likewise.
10071 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10072 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10073 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10074 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10075 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10076 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10077 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10078 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10079 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10080 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10081 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10082 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10083 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10084 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10085 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10086 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10087 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10088 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10089 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10090 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10091 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10092 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10093 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10094 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10095 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10096 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10097 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10098 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10099 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10100 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10101 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10102 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10103 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10104 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10105 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10106 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10107 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10108 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10109 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10110 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10111 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10112 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10113 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10114 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10115 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10116 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10117 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10118 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10119 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10120 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10121 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10122 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10123 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10124 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10125 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10126 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10127 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10128 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10129 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10130 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10131 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10132 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10133 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10134 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10135 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10136 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10137 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10138 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10139 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10140 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10141 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10142
a6e8926f
PP
101432018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10144
10145 [BZ #20271]
10146 * include/stdio.h (__libc_fatal): Mention newline in comment.
10147 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10148 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10149 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10150 * nss/nsswitch.c (__nss_next2): Likewise.
10151 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10152 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10153 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10154 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10155 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10156 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10157 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10158 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10159 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10160 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10161 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10162 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10163 (__netlink_assert_response): Likewise.
10164
2bbd06bc
JM
101652018-08-31 Joseph Myers <joseph@codesourcery.com>
10166
10167 * conform/glibcconform.py: New file.
10168 * conform/list-header-symbols.py: Likewise.
10169 * conform/list-header-symbols.pl: Remove.
10170 * conform/Makefile (tests-special): Only add linknamespace tests
10171 if [PYTHON].
10172 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10173
81b9d87b
L
101742018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10175
10176 [BZ #23597]
10177 * support/Makefile (libsupport-routines): Add
10178 support_copy_file_range and xcopy_file_range.
10179 * support/support.h: Include <sys/types.h>.
10180 (support_copy_file_range): New prototype.
10181 * support/support_copy_file_range.c: New file. Copied and
10182 modified from io/copy_file_range-compat.c.
10183 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10184 instead of copy_file_range.
10185 * support/xcopy_file_range.c: New file.
10186 * support/xunistd.h (xcopy_file_range): New prototype.
10187
d330f31a
CD
101882018-08-30 Carlos O'Donell <carlos@redhat.com>
10189
10190 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10191 xpthread_create and xpthread_join.
10192
2bda273a
FW
101932018-08-30 Florian Weimer <fweimer@redhat.com>
10194
10195 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10196
3bad2358
SL
101972018-08-30 Stefan Liebler <stli@linux.ibm.com>
10198
10199 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10200 if malloc fails.
10201
09c12efc
JM
102022018-08-29 Joseph Myers <joseph@codesourcery.com>
10203
10204 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10205 and minus_oflow as non-finite.
10206
ff6b2450
JM
102072018-08-28 Joseph Myers <joseph@codesourcery.com>
10208
10209 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10210 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10211 moved to fenv_private.h except for ...
10212 (TOINT_INTRINSICS): Kept in math_private.h.
10213 (roundtoint): Likewise.
10214 (converttoint): Likewise.
10215 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10216 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10217 * sysdeps/arm/math_private.h: Remove.
10218 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10219 ....
10220 * sysdeps/generic/math_private.h: ... this file. Include
10221 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10222 Include <fenv_private.h>. Remove functions and macros moved to
10223 fenv_private.h.
10224 * sysdeps/i386/fpu/math_private.h: Remove.
10225 * sysdeps/mips/math_private.h: Move to ....
10226 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10227 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10228 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10229 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10230 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10231 * sysdeps/powerpc/fpu/math_private.h: Do not include
10232 <fenv_private.h>.
10233 * sysdeps/riscv/rvf/math_private.h: Move to ....
10234 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10235 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10236 <fenv_private.h>.
10237 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10238 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10239 * sysdeps/sparc/fpu/math_private.h: Remove.
10240 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10241 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10242 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10243 <fenv_private.h>.
10244 * sysdeps/x86_64/fpu/math_private.h: Do not include
10245 <sysdeps/i386/fpu/fenv_private.h>.
10246
761404b7
FW
102472018-08-28 Florian Weimer <fweimer@redhat.com>
10248
10249 [BZ #23578]
10250 * posix/tst-regcomp-truncated.c: New file.
10251 * posix/Makefile (tests): Add it.
10252 (tst-regcomp-truncated.out): Depend on generated locales.
10253
d6c44c3d
FW
102542018-08-28 Florian Weimer <fweimer@redhat.com>
10255
10256 * support/test-container.c (main): Treat unshare failure with
10257 EPERM as an unsupported test.
10258
745664bd
FW
102592018-08-28 Florian Weimer <fweimer@redhat.com>
10260
10261 [BZ #23520]
10262 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10263 * nscd/netgroupcache.c
10264 (addgetnetgrentX): Add tofreep parameter. Do not free
10265 heap-allocated buffer.
10266 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10267 (addgetnetgrentX_ignore): New function.
10268 (addgetnetgrent): Call it.
10269 (readdgetnetgrent): Likewise.
10270
c8dd67e7
RS
102712018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10272
10273 * string/memmem.c: Use memcmp for first match.
10274
5abedf97
RL
102752018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10276
10277 [BZ #17426]
10278 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10279
86de0499
DD
102802018-08-27 DJ Delorie <dj@redhat.com>
10281
10282 * support/Makefile (others): Don't list programs explicitly as a
10283 dependency of "others".
10284
c3ab2110
JM
102852018-08-27 Joseph Myers <joseph@codesourcery.com>
10286
10287 * sysdeps/generic/math-tests-trap-force.h: New file.
10288 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10289 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10290 * sysdeps/powerpc/math-tests.h: Remove file.
10291 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10292
6b5c8607
TS
102932018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10294 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
10295
10296 [BZ #23538]
10297 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10298 Update r to include the set wake-request flag if waiters are
10299 remaining after spinning.
10300
4061791f
JM
103012018-08-27 Joseph Myers <joseph@codesourcery.com>
10302
10303 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10304
bc680b33
PE
103052018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10306
761404b7 10307 [BZ #23578]
bc680b33
PE
10308 regex: fix uninitialized memory access
10309 I introduced this bug into gnulib in commit
10310 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10311 eventually it was merged into glibc. The bug was found by
10312 project-repo <bugs@feusi.co> and reported here:
10313 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10314 Diagnosis and draft fix reported by Assaf Gordon here:
10315 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10316 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10317 * posix/regex_internal.c (build_wcs_upper_buffer):
10318 Fix bug when mbrtowc returns 0.
10319
02458a52
CD
103202018-08-24 Carlos O'Donell <carlos@redhat.com>
10321
10322 * po/be.po: Update translation.
10323
acc2842a
DD
103242018-08-24 DJ Delorie <dj@delorie.com>
10325
10326 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10327 $(libunwind).
10328
6c3a8a9d
PP
103292018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10330
b39d961c
TS
10331 [BZ #23400]
10332 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10333 create temporary files in source tree.
6c3a8a9d 10334
895ef79e
JM
103352018-08-24 Joseph Myers <joseph@codesourcery.com>
10336
10337 * sysdeps/generic/math-tests-trap.h: New file.
10338 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10339 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10340 * sysdeps/aarch64/math-tests.h: Remove file.
10341 * sysdeps/arm/math-tests.h: Likewise.
10342 * sysdeps/riscv/math-tests.h: Likewise.
10343 * sysdeps/aarch64/math-tests-trap.h: New file.
10344 * sysdeps/arm/math-tests-trap.h: Likewise.
10345 * sysdeps/riscv/math-tests-trap.h: Likewise.
10346
ca3aac57
WD
103472018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10348
10349 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10350 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10351 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10352 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10353 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10354 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10358 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10359 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10360 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10361 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10362 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10363 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10364 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10365 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10366 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10367
60bcac09
JM
103682018-08-23 Joseph Myers <joseph@codesourcery.com>
10369
10370 * sysdeps/generic/math-tests-exceptions.h: New file.
10371 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10372 (EXCEPTION_TESTS_float): Do not define here.
10373 (EXCEPTION_TESTS_double): Likewise.
10374 (EXCEPTION_TESTS_long_double): Likewise.
10375 (EXCEPTION_TESTS_float128): Likewise.
10376 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10377 Likewise.
10378 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10379 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10380 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10381 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10382 * sysdeps/mips/math-tests.h: Likewise.
10383 * sysdeps/nios2/math-tests.h: Likewise.
10384 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10385 (EXCEPTION_TESTS_float): Do not define here.
10386 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10387 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10388 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10389
3bded567
WD
103902018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10391
10392 * NEWS: Move optimized sinf entry to 2.29.
10393
900fb446
WD
103942018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10395
10396 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10397
561b0bec
DD
103982018-08-22 DJ Delorie <dj@redhat.com>
10399
10400 * Makefile (testroot.pristine): New rules to initialize the
10401 test-in-container "testroot".
10402 * Makerules (all-testsuite): Add tests-container.
10403 * Rules (tests-expected): Add tests-container.
10404 (binaries-all-tests): Likewise.
10405 (tests-container): New, run these tests in the testroot container.
10406 * support/Makefile (others): Add *-container, support_paths.c,
10407 xmkdirp, and links-dso-program.
10408 * support/links-dso-program-c.c: New.
10409 * support/links-dso-program.cc: New.
10410 * support/test-container.c: New.
10411 * support/shell-container.c: New.
10412 * support/echo-container.c: New.
10413 * support/true-container.c: New.
10414 * support/xmkdirp.c: New.
10415 * support/xsymlink.c: New.
10416 * support/support_paths.c: New.
10417 * support/support.h: Add support paths prototypes.
10418 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10419
10420 * nss/tst-nss-test3.c: Convert to test-in-container.
10421 * nss/tst-nss-test3.root/: New.
10422
b35d3509
PE
104232018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10424
10425 regex: port Gnulib code to z/OS POSIX environment
10426 Problem reported by Arnold Robbins in:
10427 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10428 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10429 Undef.
10430
16a25138
JM
104312018-08-22 Joseph Myers <joseph@codesourcery.com>
10432
debc4c98
JM
10433 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10434 (ROUNDING_TESTS_double): Remove.
10435 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10436 (ROUNDING_TESTS_double): Remove.
10437 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10438 (ROUNDING_TESTS_double): Remove.
10439 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10440 (ROUNDING_TESTS_float): Remove.
10441 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10442 (ROUNDING_TESTS_float): Remove.
10443 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10444 (ROUNDING_TESTS_float): Remove.
10445 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10446 !TEST_MATHVEC here.
10447 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10448 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10449
16a25138
JM
10450 * sysdeps/generic/math-tests-rounding.h: New file.
10451 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10452 (ROUNDING_TESTS_float): Do not define here.
10453 (ROUNDING_TESTS_double): Likewise.
10454 (ROUNDING_TESTS_long_double): Likewise.
10455 (ROUNDING_TESTS_float128): Likewise.
10456 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10457 (ROUNDING_TESTS_double): Undefine before defining.
10458 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10459 (ROUNDING_TESTS_double): Undefine before defining.
10460 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10461 (ROUNDING_TESTS_double): Undefine before defining.
10462 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10463 (ROUNDING_TESTS_float): Undefine before defining.
10464 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10465 (ROUNDING_TESTS_float): Undefine before defining.
10466 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10467 (ROUNDING_TESTS_float): Undefine before defining.
10468 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10469 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10470 not define here.
10471 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10472 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10473 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10474 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10475 (ROUNDING_TESTS_float): Do not define here.
10476 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10477 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10478 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10479 (ROUNDING_TESTS_float): Likewise.
10480 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10481 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10482 * sysdeps/mips/math-tests.h [__mips_soft_float]
10483 (ROUNDING_TESTS_float): Likewise.
10484 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10485 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10486 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10487 (ROUNDING_TESTS_double): Likewise.
10488 (ROUNDING_TESTS_long_double): Likewise.
10489
38b0593e
TK
104902018-08-21 Tobias Klauser <tklauser@distanz.ch>
10491
10492 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10493 (PF_XDP): New macro.
10494 (AF_XDP): New macro.
10495 (SOL_XDP): New macro.
10496
5cd7dbde
JM
104972018-08-21 Joseph Myers <joseph@codesourcery.com>
10498
10499 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10500 (TCP_INQ): Likewise.
10501 (TCP_CM_INQ): Likewise.
10502 (TCP_REPAIR_ON): Likewise.
10503 (TCP_REPAIR_OFF): Likewise.
10504 (TCP_REPAIR_OFF_NO_WP): Likewise.
10505 (struct tcp_zerocopy_receive): New type.
10506
aa42b3db
FW
105072018-08-21 Florian Weimer <fweimer@redhat.com>
10508
10509 * support/support.h (support_descriptor_supports_holes): Declare.
10510 * support/Makefile (libsupport-routines): Add
10511 support_descriptor_supports_holes.
10512 * support/support_descriptor_supports_holes.c: New file.
10513 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10514 and stop testing if holes are not supported.
10515 * io/test-lfs.c (do_prepare): Likewise.
10516 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10517 Likewise.
10518 * timezone/tst-tzset.c (create_tz_file): Likewise.
10519 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10520 variable.
10521 (do_prepare): Set it.
10522 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10523
c7627f41
FW
105242018-08-21 Florian Weimer <fweimer@redhat.com>
10525
10526 [BZ #17248]
10527 * Makeconfig (+cflags): Do not sort (and deduplicate).
10528
ef939d92
FW
105292018-08-21 Florian Weimer <fweimer@redhat.com>
10530
10531 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10532 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10533
88ffb39d
FW
105342018-08-20 Florian Weimer <fweimer@redhat.com>
10535
10536 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10537 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10538
17419540
JM
105392018-08-20 Joseph Myers <joseph@codesourcery.com>
10540
e6edd40d
JM
10541 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10542 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10543 and ssi_arch members.
10544
17419540
JM
10545 * elf/elf.c (NT_VMCOREDD): New macro.
10546 (AT_MINSIGSTKSZ): Likewise.
10547
fa78896b
RS
105482018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10549
10550 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10551 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10552 s_cosf-ppc64 and s_cosf-power8.
10553 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10554 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10555 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10556 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10563 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10564 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10565
86a6c75a
FW
105662018-08-17 Florian Weimer <fweimer@redhat.com>
10567
10568 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10569
35cfefd9
FW
105702018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10571
10572 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10573
6413fcde
FW
105742018-08-16 Florian Weimer <fweimer@redhat.com>
10575
10576 * configure.ac: Add --with-nonshared-cflags option.
10577 * config.make.in (extra-nonshared-cflags): Set variable.
10578 * Makeconfig (CFLAGS-.oS): Use it.
10579 * manual/install.texi (Configuring and compiling): Document
10580 --with-nonshared-cflags.
10581 * configure: Regenerate.
10582 * INSTALL: Likewise.
10583
93a2584c
FW
105842018-08-16 Florian Weimer <fweimer@redhat.com>
10585
10586 * Makeconfig (ASFLAGS): Always append required assembler flags.
10587
f6f275d2 105882018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
10589
10590 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10591 (malloc_consolidate): Likewise.
10592
30a17d8c
PC
105932018-08-16 Pochang Chen <johnchen902@gmail.com>
10594
10595 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10596
953a5a4a
SP
105972018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10598
34f86d61
SP
10599 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10600 every strlen call.
10601
953a5a4a
SP
10602 * benchtests/bench-strlen.c: Print performance numbers in json.
10603
7793ad7a
RS
106042018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10605
10606 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10607 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10608 only for little endian.
10609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10610 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10611 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10612 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10613 Add check for little endian.
10614 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10615 (__strcmp_power9): Add check for little endian.
10616 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10617 Add check for little endian.
10618 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10619 (__strncmp_power9): Add check for little endian.
10620 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10621 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10622 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10623 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10624 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10625
436e4d5b
SP
106262018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10627
10628 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10629 [!STRLEN](STRLEN): Set to __strlen.
10630 * sysdeps/aarch64/multiarch/strlen.c: New file.
10631 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10632 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10633 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10634 (__libc_ifunc_impl_list): Add strlen.
10635 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10636 strlen_generic and strlen_asimd.
10637
126c4e3f
WD
106382018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10639
10640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10641 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10642 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10643
49acec17
WD
106442018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10645
10646 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10647
fdb16de3
FW
106482018-08-14 Florian Weimer <fweimer@redhat.com>
10649
10650 [BZ #23519]
10651 * include/stdio.h (__vfxprintf): Declare.
10652 * stdio-common/fxprintf.c (__vfxprintf): New function.
10653 (__fxprintf): Call it.
10654 * misc/err.c (convert_and_print): Remove function.
10655 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10656 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10657 * misc/Makefile (tests): Add tst-warn-wide.
10658 * misc/tst-warn-wide.c: New file.
10659
599cf397
WD
106602018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10661 Szabolcs Nagy <szabolcs.nagy@arm.com>
10662
10663 * NEWS: Mention sinf, cosf, sincosf.
10664 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10665 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10666 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10667 constants rather than including generic sincosf.h.
10668 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10669 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10670 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10671 (reduced_cos): Remove.
10672 (sinf_poly): New function.
10673 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10674
e95c6f61
FW
106752018-08-14 Florian Weimer <fweimer@redhat.com>
10676
10677 [BZ #23521]
10678 [BZ #23522]
10679 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10680 processing, bail out if no room, and close the stream before
10681 returning ERANGE.
10682 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10683 (tst-nss-files-alias-leak): Link with libdl.
10684 (tst-nss-files-alias-leak.out): Depend on nss_files.
10685
10686 * nss/tst-nss-files-alias-leak.c: New file.
10687
2d7acfac
FW
106882018-08-14 Florian Weimer <fweimer@redhat.com>
10689
10690 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10691 server_user, stat_user.
10692
f3cd0904
JM
106932018-08-13 Joseph Myers <joseph@codesourcery.com>
10694
17b26500
JM
10695 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10696 version to 4.18.
10697 (io_pgetevents): New syscall.
10698 (rseq): Likewise.
10699
3c1622eb
JM
10700 * manual/install.texi (Configuring and compiling): Do not list
10701 tools used for testing pretty printers here.
10702 (Tools for Compilation): List Python, PExpect and GDB here.
10703 Update descriptions of uses of Perl and Python.
10704 * INSTALL: Regenerate.
10705
f3cd0904
JM
10706 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10707 version to 4.18.
10708
b7b52b9d
FW
107092018-08-13 Florian Weimer <fweimer@redhat.com>
10710
10711 * misc/error.c (error): Add missing va_end call.
10712 (error_at_line): Likewise.
10713
01780188
FW
107142018-08-13 Florian Weimer <fweimer@redhat.com>
10715
10716 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10717
44727aec
SP
107182018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10719
8cac1f26
SP
10720 * benchtests/scripts/benchout.schema.json (properties): Add
10721 new properties.
10722
44727aec
SP
10723 * benchtests/bench-skeleton.c (main): Add duration and
10724 iterations attributes.
10725
c77bf91b
PE
107262018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10727
10728 regex: Gnulib unibyte RRI uses bytes not chars
10729 Adjust the non-glibc code to agree with what Gawk needs for
10730 rational range interpretation (RRI) for regular expression ranges.
10731 In unibyte locales, Gawk wants ranges to use the underlying byte
10732 rather than the character code point. This change does not affect
10733 glibc proper.
10734 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10735 In unibyte locales, use the byte value rather than
10736 running it through btowc.
10737
2ce7ba7d
JM
107382018-08-10 Joseph Myers <joseph@codesourcery.com>
10739
10740 * sysdeps/generic/math-tests-snan.h: New file.
10741 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10742 (SNAN_TESTS_float): Do not define here.
10743 (SNAN_TESTS_double): Likewise.
10744 (SNAN_TESTS_long_double): Likewise.
10745 (SNAN_TESTS_float128): Likewise.
10746 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10747 * sysdeps/i386/fpu/math-tests.h: Remove file.
10748 * sysdeps/ia64/math-tests-snan.h: New file.
10749 * sysdeps/ia64/math-tests.h: Remove file.
10750 * sysdeps/x86/math-tests.h: Likewise.
10751 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10752
ea5c662c
WD
107532018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10754 Szabolcs Nagy <szabolcs.nagy@arm.com>
10755
10756 * math/Makefile: Add s_sincosf_data.c.
10757 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10758 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10759 (sincosf_poly): Likewise.
10760 (reduce_small): Likewise.
10761 (reduce_large): Likewise.
10762 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10763 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10764 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10765 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10766
43cfdf8f
SN
107672018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10768 Szabolcs Nagy <szabolcs.nagy@arm.com>
10769
10770 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10771 (converttoint): Use lround.
10772 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10773 document the semantics when TOINT_INTRINSICS is set.
10774 (converttoint): Likewise.
10775 (TOINT_RINT): Remove.
10776 (TOINT_SHIFT): Remove.
10777 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10778 path.
10779
69065288
FW
107802018-08-10 Florian Weimer <fweimer@redhat.com>
10781
10782 [BZ #23497]
10783 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10784 function.
10785 (__old_getdents64): Use getdents64. Convert entries without
10786 moving them.
10787 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10788 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10789 tst-readdir64-compat.
10790
8f135efc
IL
107912018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10792
10793 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10794 Fix unwind.
10795
71c01af5
IL
107962018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10797
10798 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10799 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10800 code to s390x-mcount.h and #include it.
10801 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10802 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10803 (__fentry__): Add.
10804
8d997d22
IL
108052018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10806
10807 * stdlib/Versions: Remove __fentry__.
10808 * sysdeps/i386/Versions: Add __fentry__.
10809 * sysdeps/x86_64/Versions: Add __fentry__.
10810
69e2444a
IL
108112018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10812
10813 * sysdeps/s390/Makefile: Register the new tests.
10814 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10815 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10816 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10817 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10818 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10819 * sysdeps/s390/tst-dl-runtime.c: New file.
10820
bde6320f
IL
108212018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10822
10823 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10824 Do not clobber R0.
10825
5755f5e4
IL
108262018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10827
10828 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10829 Do not clobber R0.
10830
c8ad8522
IL
108312018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10832
10833 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10834 Do not clobber R0.
10835
b215eee1
IL
108362018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10837
10838 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10839 Do not clobber R0.
10840
329c6fec
IL
108412018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10842
10843 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10844 Use symbolic offsets for stack variables.
10845
0fb7afa2
IL
108462018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10847
10848 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10849 Use symbolic offsets for stack variables.
10850
6954059a
IL
108512018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10852
10853 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10854 Use symbolic offsets for stack variables.
10855
c7099673
IL
108562018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10857
10858 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10859 Use symbolic offsets for stack variables.
10860
2813e41e
JM
108612018-08-09 Joseph Myers <joseph@codesourcery.com>
10862
10863 * math/gen-libm-test.py: New file.
10864 * math/gen-libm-test.pl: Remove.
10865 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10866 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10867 gen-libm-test.pl.
10868 ($(libm-test-c-noauto-obj)): Likewise.
10869 ($(libm-test-c-auto-obj)): Likewise.
10870 ($(libm-test-c-narrow-obj)): Likewise.
10871 (regen-ulps): Likewise.
10872 * math/README.libm-test: Update references to gen-libm-test.pl.
10873 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10874 referencing gen-libm-test.pl.
10875 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10876 * math/libm-test-support.c: Likewise.
10877 * math/libm-test-support.h: Likewise.
10878 * sysdeps/generic/libm-test-ulps: Likewise.
10879
be64b194
SP
108802018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10881
10882 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10883 Fix value.
10884
140137fb
JM
108852018-08-08 Joseph Myers <joseph@codesourcery.com>
10886
10887 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10888 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10889
b5403eca
ST
108902018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10891
10892 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10893 symbols.
8ac0f9e6
ST
10894 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10895 __pthread_setspecific): Add hidden proto.
10896 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10897 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 10898
014efdd7
SP
108992018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10900
10901 * benchtests/bench-string.h (buf1_size, buf2_size): New
10902 variables.
10903 (init_sizes): New function.
10904 (test_init): Use it.
10905 (alloc_buf, exit_error): New functions.
10906 (alloc_bufs): Use ALLOC_BUF.
10907 (realloc_bufs): Remove.
10908 * benchtests/bench-memcmp.c (do_test): Adjust.
10909 * benchtests/bench-memset-large.c (do_test): Likewise.
10910 * benchtests/bench-memset-walk.c (do_test): Likewise.
10911 * benchtests/bench-memset.c (do_test): Likewise.
10912 * benchtests/bench-strncmp.c (do_test): Likewise.
10913
92a4cba7
AS
109142018-08-06 Andreas Schwab <schwab@suse.de>
10915
10916 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10917 of CONST_THREAD_AREA.
10918
fb4c32ae
L
109192018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10920
10921 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10922 (STATE_SAVE_MASK): Likewise.
10923 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10924 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10925 (STATE_SAVE_MASK): Likewise.
10926 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10927 instead of <cpu-features.h>.
10928
bf418187
DD
109292018-08-03 DJ Delorie <dj@redhat.com>
10930
10931 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 10932 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 10933
bb17621a
DD
10934 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10935
ea705eb5
JM
109362018-08-03 Joseph Myers <joseph@codesourcery.com>
10937
10938 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10939 after TEST_* calls.
10940 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10941 * math/libm-test-logb.inc (logb_test_data): Likewise.
10942
284f42bc
WD
109432018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10944
10945 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10946 * string/strstr.c (AVAILABLE): Likewise.
10947
430388d5
L
109482018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10949
10950 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10951 <init-arch.h>.
10952 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10953 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10954 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10955
c5760aa9
CD
109562018-08-03 Carlos O'Donell <carlos@redhat.com>
10957
10958 * po/be.po: Update translation.
10959
6b535b84
CD
10960 * po/be.po: Update translation.
10961
ae67f2e5
L
109622018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10963
10964 * sysdeps/x86/cpu-features-offsets.sym
10965 (rtld_global_ro_offsetof): Removed.
10966 (CPU_FEATURES_SIZE): Likewise.
10967 (CPUID_OFFSET): Likewise.
10968 (CPUID_SIZE): Likewise.
10969 (CPUID_EAX_OFFSET): Likewise.
10970 (CPUID_EBX_OFFSET): Likewise.
10971 (CPUID_ECX_OFFSET): Likewise.
10972 (CPUID_EDX_OFFSET): Likewise.
10973 (FAMILY_OFFSET): Likewise.
10974 (MODEL_OFFSET): Likewise.
10975 (FEATURE_OFFSET): Likewise.
10976 (FEATURE_SIZ): Likewise.
10977 (COMMON_CPUID_INDEX_1): Likewise.
10978 (COMMON_CPUID_INDEX_7): Likewise.
10979 (FEATURE_INDEX_1): Likewise.
10980 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10981
6b5c8607 109822018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
10983
10984 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10985 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10986 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10987 (install-locales): Depend on install-locale-archive.
10988 (install-locale-archive): Define.
7b7adbd8 10989 (install-locale-files): Define.
08a5ee14
CD
10990 (build-one-locale): Define macro.
10991 * manual/install.texi (Running make install): Document.
10992 * manual/INSTALL: Regenerate.
10993
525691bd
SP
109942018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10995
d67d634b
SP
10996 * benchtests/scripts/compare_strings.py: Import traceback.
10997 (parse_file): Pretty-print error.
10998
525691bd
SP
10999 * NEWS: Mention the change.
11000 * elf/dl-tunables.list: Rename tune namespace to cpu.
11001 * sysdeps/powerpc/dl-tunables.list: Likewise.
11002 * sysdeps/x86/dl-tunables.list: Likewise.
11003 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
11004 cpu.name.
11005 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
11006 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
11007 * manual/README.tunables: Likewise.
11008 * manual/tunables.texi: Likewise.
11009 * sysdeps/powerpc/cpu-features.c: Likewise.
11010 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
11011 (init_cpu_features): Likewise.
11012 * sysdeps/x86/cpu-features.c: Likewise.
11013 * sysdeps/x86/cpu-features.h: Likewise.
11014 * sysdeps/x86/cpu-tunables.c: Likewise.
11015 * sysdeps/x86_64/Makefile: Likewise.
11016 * sysdeps/x86/dl-cet.c: Likewise.
11017
506d7fb1
JM
110182018-08-02 Joseph Myers <joseph@codesourcery.com>
11019
11020 [BZ #23479]
11021 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11022 [__mips_hard_float].
11023 (FE_UNDERFLOW): Likewise.
11024 (FE_OVERFLOW): Likewise.
11025 (FE_DIVBYZERO): Likewise.
11026 (FE_INVALID): Likewise.
11027 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11028 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11029 (FE_UPWARD): Likewise.
11030 (FE_DOWNWARD): Likewise.
11031 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11032 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11033 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11034 [__mips_hard_float].
11035 (FP_ROUNDMODE): Likewise.
11036 (FP_RND_NEAREST): Likewise.
11037 (FP_RND_ZERO): Likewise.
11038 (FP_RND_PINF): Likewise.
11039 (FP_RND_MINF): Likewise.
11040 (FP_EX_INVALID): Likewise.
11041 (FP_EX_OVERFLOW): Likewise.
11042 (FP_EX_UNDERFLOW): Likewise.
11043 (FP_EX_DIVZERO): Likewise.
11044 (FP_EX_INEXACT): Likewise.
11045 (FP_INIT_ROUNDMODE): Likewise.
11046 * sysdeps/mips/nofpu/fesetenv.c: New file.
11047 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11048
f6dcefbe
JM
110492018-08-01 Joseph Myers <joseph@codesourcery.com>
11050
11051 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11052 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11053 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11054 conditional on [FE_UPWARD].
11055
fa67ba06
PE
110562018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11057
11058 regex: fix memory leak in Gnulib
11059 Problem and fix reported by Assaf Gordon in:
11060 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11061 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11062 range_ends members too, as they are defined in 'struct
11063 re_charset_t' even if not _LIBC. This affects only Gnulib.
11064
82c80ac2
L
110652018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11066
11067 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11068 ...
11069 (get_common_indices): This.
11070 (init_cpu_features): Updated.
11071
c0e7e2c1
JM
110722018-08-01 Joseph Myers <joseph@codesourcery.com>
11073
46f8cf57
JM
11074 * sysdeps/generic/math-tests-snan-payload.h: New file.
11075 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11076 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11077 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11078 * sysdeps/generic/math-tests.h: Include
11079 <math-tests-snan-payload.h>.
11080 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11081 * sysdeps/hppa/math-tests.h: Remove file.
11082 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11083 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11084 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11085 Likewise.
11086
c0e7e2c1
JM
11087 * sysdeps/generic/math-tests-snan-cast.h: New file.
11088 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11089 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11090 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11091 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11092
74939c83
CD
110932018-08-01 Carlos O'Donel <carlos@redhat.com>
11094
b029723b
CD
11095 * version.h (RELEASE): Set to "development".
11096 (VERSION): Set to "2.28.9000".
11097 * NEWS (2.29): New section.
11098
3c03baca
CD
11099 * version.h (RELEASE): Set to "stable".
11100 (VERSION): Set to "2.28".
11101 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11102 * NEWS: Add the list of bugs fixed in 2.28.
11103
74939c83
CD
11104 * po/ca.po: Update to latest version.
11105 * po/cs.po: Likewise
11106 * po/da.po: Likewise
11107 * po/el.po: Likewise
11108 * po/eo.po: Likewise
11109 * po/es.po: Likewise
11110 * po/fi.po: Likewise
11111 * po/fr.po: Likewise
11112 * po/gl.po: Likewise
11113 * po/hu.po: Likewise
11114 * po/ia.po: Likewise
11115 * po/id.po: Likewise
11116 * po/it.po: Likewise
11117 * po/ja.po: Likewise
11118 * po/ko.po: Likewise
11119 * po/lt.po: Likewise
11120 * po/nb.po: Likewise
11121 * po/nl.po: Likewise
11122 * po/pt_BR.po: Likewise
11123 * po/ru.po: Likewise
11124 * po/rw.po: Likewise
11125 * po/sk.po: Likewise
11126 * po/sl.po: Likewise
11127 * po/tr.po: Likewise
11128 * po/zh_CN.po: Likewise
11129 * po/zh_TW.po: Likewise
11130
d4b54bdf
ST
111312018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11132
11133 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11134 initialization...
11135 (init): ... before initializing libpthread.
11136
42fc12ef
ST
11137 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11138 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11139 (__mach_setup_tls): ... new function.
11140 (mach_setup_tls): New alias.
11141 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11142 __mach_setup_thread.
11143 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11144 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11145 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11146 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11147
6cca855e
CD
111482018-07-31 Carlos O'Donell <carlos@redhat.com>
11149
f650932b
CD
11150 * manual/install.texi: Update versions.
11151 * INSTALL: Regenerate.
11152
6cca855e
CD
11153 * manual/contrib.texi (Contributors): Update contributions.
11154
07fdea47
CD
111552018-07-31 Carlos O'Donell <carlos@redhat.com>
11156
11157 * po/be.po: Update translations.
11158
63d5fad4
AZ
111592018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11160
11161 * sysdeps/sh/libm-test-ulps: Update.
11162
1ff712a6
CD
111632018-07-30 Carlos O'Donell <carlos@redhat.com>
11164
11165 * po/bg.po: Update translations.
11166 * po/de.po: Likewise.
11167 * po/hr.po: Likewise.
11168 * po/pt_BR.po: Likewise.
11169 * po/sv.po: Likewise.
11170 * po/vi.po: Likewise.
11171
98864ed0
L
111722018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11173
11174 [BZ #23467]
11175 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11176 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11177 (CFLAGS-tst-cet-property-1.o): New.
11178 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11179 ($(objpfx)tst-cet-property-2): Likewise.
11180 ($(objpfx)tst-cet-property-2.out): Likewise.
11181 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11182 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11183 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11184 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11185 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11186
c92a00d8
L
111872018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11188
11189 [BZ #23458]
11190 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11191
99bc6241
ST
111922018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11193
11194 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11195 __sbrk): Do not set attribute_hidden.
af86087f 11196 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
11197 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11198 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11199
bcb1c4af
CD
112002018-07-27 Carlos O'Donell <carlos@redhat.com>
11201
11202 * po/uk.po: Update translations.
11203 * po/cs.po: Likewise.
11204 * po/pl.po: Likewise.
11205
4591b7db
L
112062018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11207
11208 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11209 parse beyond the note end.
11210
2c6da2f4
AZ
112112018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11212
11213 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11214 kernel does not support OFD locks.
11215 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11216
20365a31
ST
112172018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11218
11219 * sysdeps/mach/hurd/Versions (libc): Make __access and
11220 __access_noerrno external so they can override the ld symbols.
11221 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11222 __writev, __open64, __access_noerrno extern so they can be overrided.
11223 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11224 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11225
cb1a43db
CD
112262018-07-26 Carlos O'Donell <carlos@redhat.com>
11227
11228 * po/libc.pot: Regenerate.
11229
74759ae5
JM
112302018-07-26 Joseph Myers <joseph@codesourcery.com>
11231
11232 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11233
da80612d
L
112342018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11235
11236 [BZ #23459]
11237 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11238 function.
11239 (init_cpu_features): Call get_extended_indices for both Intel
11240 and AMD CPUs.
11241 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11242 Remove "for AMD" comment.
11243
65d87ade
L
112442018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11245
11246 [BZ # 23456]
11247 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11248 COMMON_CPUID_INDEX_80000001.
11249
c9dc4d51
SL
112502018-07-26 Stefan Liebler <stli@linux.ibm.com>
11251
11252 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11253 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11254
cfba5dbb
FW
112552018-07-26 Florian Weimer <fweimer@redhat.com>
11256
11257 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11258 aliases for symbols not in the implementation namespace.
11259
6b5c8607 112602018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
11261
11262 [BZ #23393]
11263 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11264 lowercase in LATIN script.
11265 * localedata/Makefile (test-input): Add en_US.UTF-8.
11266 * localedata/en_US.UTF-8.in: New file.
11267 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11268 and restore old tests.
11269 * posix/tst-regexloc.c (do_test): Add back range expression test.
11270
3fb455b3
L
112712018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11272
11273 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11274
d6499b70
AZ
112752018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11276
11277 * nptl/threads.h: Move to ...
11278 * sysdeps/nptl/threads.h: ... here.
11279 * sysdeps/hurd/stdc-predef.h: New file.
11280
08ac6bed
L
112812018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11282
11283 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11284 tst-cet-setcontext-1 if CET is enabled.
11285 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11286 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11287
9faaf938
AZ
112882018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11289
11290 * include/threads.h: Move to ...
11291 * sysdeps/nptl/threads.h: ... here.
11292 * sysdeps/htl/threads.h: New file.
11293 * conform/Makefile (linknamespace-libs-ISO11): Use
11294 static-thread-library instead of linking libpthread.
11295 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11296
d6b8f847
FW
112972018-07-25 Florian Weimer <fweimer@redhat.com>
11298
11299 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11300 nanoseconds into seconds.
11301 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11302 (do_test): Likewise.
11303 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11304 (do_test): Likewise. Avoid nanosecond overflow and spurious
11305 timeouts due to system load.
11306 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11307 (child_wait): Increment it.
11308 (do_test): Wait as long as necessary until all expected threads
11309 have arrived.
11310
25123a1c
L
113112018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11312 H.J. Lu <hongjiu.lu@intel.com>
11313
11314 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11315 __ssp.
11316 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11317 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11318 (__push___start_context): New.
11319 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11320 <asm/prctl.h>.
11321 (__getcontext): Record the current shadow stack base. Save the
11322 caller's shadow stack pointer and base.
11323 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11324 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11325 (__push___start_context): New prototype.
11326 (__makecontext): Call __push___start_context to allocate a new
11327 shadow stack, push __start_context onto the new stack as well
11328 as the new shadow stack.
11329 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11330 <asm/prctl.h>.
11331 (__setcontext): Restore the target shadow stack.
11332 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11333 <asm/prctl.h>.
11334 (__swapcontext): Record the current shadow stack base. Save
11335 the caller's shadow stack pointer and base. Restore the target
11336 shadow stack.
11337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11338 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11339 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11340
375a4844
L
113412018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11342
11343 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11344 tst-setcontext8 and tst-setcontext9.
11345 * stdlib/tst-setcontext6.c: New file.
11346 * stdlib/tst-setcontext7.c: Likewise.
11347 * stdlib/tst-setcontext8.c: Likewise.
11348 * stdlib/tst-setcontext9.c: Likewise.
11349
bd4f7903
L
113502018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11351
11352 * stdlib/Makefile ((tests): Add tst-setcontext5.
11353 * stdlib/tst-setcontext5.c: New file.
11354
7e28f203
L
113552018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11356
11357 * stdlib/Makefile (tests): Add tst-setcontext4.
11358 * stdlib/tst-setcontext4.c: New file.
11359
8516ad2d
L
113602018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11361
11362 * stdlib/Makefile (tests): Add tst-swapcontext1.
11363 * stdlib/tst-swapcontext1.c: New test.
11364
fddcd003
L
113652018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11366
11367 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11368 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11369 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11370 and tst-cet-legacy-4c.
11371 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11372 and tst-cet-legacy-mod-4.
11373 (CFLAGS-tst-cet-legacy-2.c): New.
11374 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11375 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11376 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11377 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11378 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11379 ($(objpfx)tst-cet-legacy-1): Likewise.
11380 ($(objpfx)tst-cet-legacy-2): Likewise.
11381 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11382 ($(objpfx)tst-cet-legacy-2a): Likewise.
11383 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11384 ($(objpfx)tst-cet-legacy-4): Likewise.
11385 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11386 ($(objpfx)tst-cet-legacy-4a): Likewise.
11387 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11388 (tst-cet-legacy-4a-ENV): Likewise.
11389 ($(objpfx)tst-cet-legacy-4b): Likewise.
11390 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11391 (tst-cet-legacy-4b-ENV): Likewise.
11392 ($(objpfx)tst-cet-legacy-4c): Likewise.
11393 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11394 (tst-cet-legacy-4c-ENV): Likewise.
11395 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11396 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11397 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11398 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11399 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11400 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11401 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11402 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11403 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11404 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11405 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11406
9aa3113a
L
114072018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11408
11409 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11410 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11411 with ssp_base.
11412 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11413 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11414 with ssp_base.
11415
9c79cec8
AS
114162018-07-25 Andreas Schwab <schwab@suse.de>
11417
11418 [BZ #23442]
11419 * locale/weightwc.h (findidx): Handle the case where usrc is a
11420 prefix of cp but one character too short.
11421
969c3355
AZ
114222018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11423
11424 * NEWS: Add ISO C threads addition.
11425
e0f9c462
FW
114262018-07-24 Florian Weimer <fweimer@redhat.com>
11427
11428 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11429 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11430 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11431 4.13.
11432
394df381
L
114332018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11434
11435 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11436 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11437 <sys/prctl.h> and <asm/prctl.h>.
11438 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11439 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11440 and <asm/prctl.h>.
11441 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11442 ARCH_CET_LEGACY_BITMAP.
11443 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11444 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11445 * sysdeps/x86/libc-start.c: Include <startup.h>.
11446
46545530
FW
114472018-07-24 Florian Weimer <fweimer@redhat.com>
11448
11449 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11450 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11451
6b5c8607 114522018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 11453 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
11454 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11455
11456 [BZ #14092]
9d0a979e
RJ
11457 * manual/debug.texi: Update adjacent chapter name.
11458 * manual/probes.texi: Likewise.
11459 * manual/threads.texi (ISO C Threads): New section.
11460 (POSIX Threads): Convert to a section.
11461
114622018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11463 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11464
11465 [BZ# 14092]
0a07288b
AZ
11466 * nptl/Makefile (tests): Add new test files.
11467 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11468 * nptl/tst-cnd-basic.c: Likewise.
11469 * nptl/tst-cnd-broadcast.c: Likewise.
11470 * nptl/tst-cnd-timedwait.c: Likewise.
11471 * nptl/tst-mtx-basic.c: Likewise.
11472 * nptl/tst-mtx-recursive.c: Likewise.
11473 * nptl/tst-mtx-timedlock.c: Likewise.
11474 * nptl/tst-mtx-trylock.c: Likewise.
11475 * nptl/tst-thrd-basic.c: Likewise.
11476 * nptl/tst-thrd-detach.c: Likewise.
11477 * nptl/tst-thrd-sleep.c: Likewise.
11478 * nptl/tst-tss-basic.c: Likewise.
11479
ce7528f6
AZ
114802018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11481
c6dd669b
AZ
11482 [BZ #14092]
11483 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11484 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11485 symbols.
11486 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11487 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11488 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11489 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11490 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11491 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11492 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11493 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11494 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11495 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11496 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11497 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11499 Likewise.
11500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11501 Likewise.
11502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11503 Likewise.
11504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11505 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11506 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11507 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11508 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11509 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11510 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11511 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11512 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11513 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11514 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11515 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11516 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11517 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11518 Likewise.
11519 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11520 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11521 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11522 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11523 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11524 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11525 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11526 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11527 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11528 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11529 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11530 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11531 ikewise.
11532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11534 Likewise.
11535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11536 Likewise.
11537 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11538 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11539 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11540 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11541 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11542 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11543 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11544 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11545
78d40132
AZ
11546 [BZ #14092]
11547 * conform/data/threads.h-data (thread_local): New macro.
11548 (TSS_DTOR_ITERATIONS): Likewise.
11549 (tss_t): New type.
11550 (tss_dtor_t): Likewise.
11551 (tss_create): New function.
11552 (tss_get): Likewise.
11553 (tss_set): Likewise.
11554 (tss_delete): Likewise.
11555 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11556 tss_get, and tss_set objects.
11557 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11558 * nptl/tss_create.c: New file.
11559 * nptl/tss_delete.c: Likewise.
11560 * nptl/tss_get.c: Likewise.
11561 * nptl/tss_set.c: Likewise.
11562 * sysdeps/nptl/threads.h (thread_local): New define.
11563 (TSS_DTOR_ITERATIONS): Likewise.
11564 (tss_t): New typedef.
11565 (tss_dtor_t): Likewise.
11566 (tss_create): New prototype.
11567 (tss_get): Likewise.
11568 (tss_set): Likewise.
11569 (tss_delete): Likewise.
11570
918311a3
AZ
11571 [BZ #14092]
11572 * conform/data/threads.h-data (cnd_t): New type.
11573 (cnd_init): New function.
11574 (cnd_signal): Likewise.
11575 (cnd_broadcast): Likewise.
11576 (cnd_wait): Likewise.
11577 (cnd_timedwait): Likewise.
11578 (cnd_destroy): Likewise.
11579 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11580 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11581 object.
11582 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11583 * nptl/cnd_broadcast.c: New file.
11584 * nptl/cnd_destroy.c: Likewise.
11585 * nptl/cnd_init.c: Likewise.
11586 * nptl/cnd_signal.c: Likewise.
11587 * nptl/cnd_timedwait.c: Likewise.
11588 * nptl/cnd_wait.c: Likewise.
11589 * sysdeps/nptl/threads.h (cnd_t): New type.
11590 (cnd_init): New prototype.
11591 (cnd_signa): Likewise.
11592 (cnd_broadcast): Likewise.
11593 (cnd_wait): Likewise.
11594 (cnd_timedwait): Likewise.
11595 (cnd_destroy): Likewise.
11596
3c20a679
AZ
11597 [BZ #14092]
11598 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11599 (once_flag): New type.
11600 (call_once): New function.
11601 * nptl/Makefile (libpthread-routines): Add call_once object.
11602 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11603 * nptl/call_once.c: New file.
11604 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11605 (once_flag): New type.
11606 (call_once): New prototype.
11607
18d59c1b
AZ
11608 [BZ #14092]
11609 * conform/data/threads.h-data (mtx_plain): New constant.
11610 (mtx_recursive): Likewise.
11611 (mtx_timed): Likewise.
11612 (mtx_t): New type.
11613 (mtx_init): New function.
11614 (mtx_lock): Likewise.
11615 (mtx_timedlock): Likewise.
11616 (mtx_trylock): Likewise.
11617 (mtx_unlock): Likewise.
11618 (mtx_destroy): Likewise.
11619 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11620 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11621 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11622 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11623 * nptl/mtx_destroy.c: New file.
11624 * nptl/mtx_init.c: Likewise.
11625 * nptl/mtx_lock.c: Likewise.
11626 * nptl/mtx_timedlock.c: Likewise.
11627 * nptl/mtx_trylock.c: Likewise.
11628 * nptl/mtx_unlock.c: Likewise.
11629 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11630 (mtx_recursive): Likewise.
11631 (mtx_timed): Likewise.
11632 (mtx_t): New type.
11633 (mtx_init): New prototype.
11634 (mtx_lock): Likewise.
11635 (mtx_timedlock): Likewise.
11636 (mtx_trylock): Likewise.
11637 (mtx_unlock): Likewise.
11638 (mtx_destroy): Likewise.
11639
ce7528f6
AZ
11640 [BZ #14092]
11641 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11642 (linknamespace-libs-ISO11): Add libpthread.a.
11643 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11644 functions.
11645 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11646 * nptl/Makefile (headers): Add threads.h.
11647 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11648 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11649 thrd_yield.
11650 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11651 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11652 thrd_join, thrd_sleep, and thrd_yield symbols.
11653 * nptl/descr.h (struct pthread): Add c11 field.
11654 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11655 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11656 routine with expected function prototype.
11657 (__pthread_create_2_1): Add C11 threads check based on attribute
11658 value.
11659 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11660 * nptl/thrd_create.c: New file.
11661 * nptl/thrd_current.c: Likewise.
11662 * nptl/thrd_detach.c: Likewise.
11663 * nptl/thrd_equal.c: Likewise.
11664 * nptl/thrd_exit.c: Likewise.
11665 * nptl/thrd_join.c: Likewise.
11666 * nptl/thrd_priv.h: Likewise.
11667 * nptl/thrd_sleep.c: Likewise.
11668 * nptl/thrd_yield.c: Likewise.
11669 * include/threads.h: Likewise.
11670
e27f41ba
L
116712018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11672
11673 * bits/indirect-return.h: New file.
11674 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11675 * sysdeps/x86/bits/indirect-return.h: Likewise.
11676 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11677 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11678 (swapcontext): Add __INDIRECT_RETURN.
11679 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11680 (prepare_test_buffer): Use it.
11681
21526a50
AS
116822018-07-24 Andreas Schwab <schwab@suse.de>
11683
11684 [BZ #23448]
11685 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11686 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11687
3650e1d9
L
116882018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11689
11690 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11691 Redefine if shadow stack is enabled.
11692 (SYSCALL_ERROR_LABEL): Likewise.
11693 (__vfork): Pop shadow stack and jump back to to caller directly
11694 when shadow stack is in use.
11695 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11696 Redefine if shadow stack is enabled.
11697 (SYSCALL_ERROR_LABEL): Likewise.
11698 (__vfork): Pop shadow stack and jump back to to caller directly
11699 when shadow stack is in use.
11700
ca027e0f
L
117012018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11702
11703 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11704 enabled.
11705 (foo): Likewise.
11706 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11707 (foo): Likewise.
11708
b99f1c95
JM
117092018-07-20 Joseph Myers <joseph@codesourcery.com>
11710
11711 * scripts/build-many-glibcs.py (Context.checkout): Default
11712 binutils version to 2.31 branch.
11713
c8fabb84
ZL
117142018-07-20 Zong Li <zong@andestech.com>
11715
11716 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11717 URL of gcc's tarball.
11718
786658a0
FW
117192018-07-20 Florian Weimer <fweimer@redhat.com>
11720
11721 [BZ #23396]
11722 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11723 not compare an extra byte after the end of the weights.
11724
46f2474e
ST
117252018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11726
11727 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11728 to 1.
8ba1520e
ST
11729 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11730 hidden prototypes.
11731 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11732 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
11733 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11734 list of libraries whose stack executability is expected.
11735 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11736 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11737 variable.
11738 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11739 libc.so libpthread.so.
46f2474e 11740
60088242
TS
117412018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11742
11743 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11744 SOCK_NONBLOCK.
75d5e4a0
TS
11745 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11746 and SOCK_NONBLOCK.
de195be0
TS
11747 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11748 implement __pipe2.
11749 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 11750
1cf4ae7f
LS
117512018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11752
11753 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11754 library to improve command line parsing.
11755 (__main__): make schema file as optional parameter (--schema),
11756 defaulting to benchtests/scripts/benchout.schema.json.
11757 (main): move out of the parsing stuff to __main_  and leave it
11758 only as caller of main comparison functions.
11759
e84bd851
L
117602018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11761
11762 * NEWS: Add a note for Intel CET status.
11763 * manual/install.texi: Likewise.
11764 * INSTALL: Regenerated.
11765
df467d22
QP
117662018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11767
11768 [BZ #23140]
11769 * localedata/locales/oc_FR (mon): Rename to...
11770 (alt_mon): This, then update October (typo fix).
11771 (mon): New content (genitive case, month names preceded by
11772 "de" or "d’").
11773
11774 [BZ #23422]
11775 * localedata/locales/oc_FR (abday): Update all items.
11776 (day): Update Wednesday and Saturday (typo fixes).
11777 (abmon): Update all items, except May.
11778 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11779 (LC_IDENTIFICATION): Bump the revision number and date.
11780 Keep the "category" entries in alphabetic order.
11781 (LC_ADDRESS): Remove no longer needed comment.
11782 (LC_COLLATE): Use “copy "ca_ES"”.
11783 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11784 "name_mrs".
11785
5c112f1b
JM
117862018-07-18 Joseph Myers <joseph@codesourcery.com>
11787
11788 * grp/tst_fgetgrent.c: Include <unistd.h>.
11789 (main): Use mkstemp instead of tmpnam.
11790 * io/test-utime.c (main): Likewise.
11791 * posix/annexc.c (macrofile): Change to modifiable array.
11792 (main): Remove macrofile here.
11793 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11794 macrofile here.
11795 (check_header): Do not remove macrofile here.
11796 * posix/bug-getopt1.c: Include <stdlib.h>.
11797 (do_test): Use mkstemp instead of tmpnam.
11798 * posix/bug-getopt2.c: Include <stdlib.h>.
11799 (do_test): Use mkstemp instead of tmpnam.
11800 * posix/bug-getopt3.c: Include <stdlib.h>.
11801 (do_test): Use mkstemp instead of tmpnam.
11802 * posix/bug-getopt4.c: Include <stdlib.h>.
11803 (do_test): Use mkstemp instead of tmpnam.
11804 * posix/bug-getopt5.c: Include <stdlib.h>.
11805 (do_test): Use mkstemp instead of tmpnam.
11806 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11807 (main): Use mkstemp instead of tmpnam.
11808 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11809 (main): Use mkstemp instead of tmpnam.
11810 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11811 (main): use mkstemp instead of tmpnam.
11812 * stdlib/isomac.c (macrofile): Change to modifiable array.
11813 (main): Remove macrofile here.
11814 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11815 macrofile here.
11816 (check_header): Do not remove macrofile here.
11817
6d90776d
L
118182018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11819
11820 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11821 glibc.tune.x86_shstk.
11822
e6c69509
L
118232018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11824
11825 * NEWS: Mention --enable-cet.
11826 * manual/install.texi: Document --enable-cet.
11827 * INSTALL: Regenerated.
11828
e2d40a88
L
118292018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11830
11831 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11832 Add _CET_NOTRACK before indirect jump to jump table.
11833
77a8ae09
L
118342018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11835
11836 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11837 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11838 to jump table.
11839
90d15dc5
L
118402018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11841
11842 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11843 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11844 to jump table.
11845
f1574581
L
118462018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11847
11848 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11849 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11850 to jump table.
11851
7fb61336
L
118522018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11853
11854 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11855 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11856 to jump table.
11857
0a899af0
L
118582018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11859
11860 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11861 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11862 to jump table.
11863 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11864
177824e2
L
118652018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11866
11867 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11868 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11869 to jump table.
11870
00e7b76a
L
118712018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11872
11873 * sysdeps/i386/i686/multiarch/memset-sse2.S
11874 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11875 to jump table.
11876
7e119cd5
L
118772018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11878
11879 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11880 indirect jump to jump table.
11881
03aaf49b
L
118822018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11883
11884 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11885 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11886 to jump table.
11887 (MEMCPY): Likewise.
11888
811e9e52
L
118892018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11890
11891 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11892 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11893 to jump table.
11894 (MEMCPY): Likewise.
11895
8817df42
L
118962018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11897
11898 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11899 _CET_NOTRACK before indirect jump to jump table.
11900
921595d1
L
119012018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11902
11903 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11904 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11905 to jump table.
11906
4ef60d95
L
119072018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11908
11909 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11910 indirect jump to jump table.
11911
61c4aad7
VT
119122018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11913
11914 [BZ #22241]
11915 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11916 (LOCALES): Likewise.
11917 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11918 * localedata/locales/sah_RU: New file.
11919 * localedata/sah_RU.UTF-8.in: New file.
11920
be9ccd27
L
119212018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11922
11923 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11924 "sysdep.h".
11925 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11926 _CET_ENDBR to indirect jump targets and adjust jump destination
11927 for _CET_ENDBR.
11928 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11929 "sysdep.h".
11930 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11931 _CET_ENDBR to indirect jump targets and adjust jump destination
11932 for _CET_ENDBR.
11933 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11934 "sysdep.h".
11935 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11936 _CET_ENDBR to indirect jump targets and adjust jump destination
11937 for _CET_ENDBR.
11938
5efc6777
L
119392018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11940
11941 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11942 _CET_ENDBR.
11943
562837c0
L
119442018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11945
11946 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11947 _CET_ENDBR.
11948 (_dl_tlsdesc_undefweak): Likewise.
11949 (_dl_tlsdesc_dynamic): Likewise.
11950 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11951 (_dl_tlsdesc_resolve_rel): Likewise.
11952 (_dl_tlsdesc_resolve_rela): Likewise.
11953 (_dl_tlsdesc_resolve_hold): Likewise.
11954 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11955 (_dl_tlsdesc_undefweak): Likewise.
11956 (_dl_tlsdesc_dynamic): Likewise.
11957 (_dl_tlsdesc_resolve_rela): Likewise.
11958 (_dl_tlsdesc_resolve_hold): Likewise.
11959
124bcde6
L
119602018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11961
11962 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11963 (_fini): Likewise.
11964 * sysdeps/x86_64/crti.S (_init): Likewise.
11965 (_fini): Likewise.
11966
9145f033
RL
119672018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11968
11969 [BZ #23140]
11970 * localedata/locales/os_RU (mon): Rename to...
11971 (alt_mon): This.
11972 (mon): Import from CLDR (genitive case).
11973
ba2ea23d
L
119742018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11975
11976 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11977 cet-tunables.h> when CET is enabled.
11978
f753fa7d
L
119792018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11980
6b5c8607 11981 [BZ #21598]
f753fa7d
L
11982 * configure.ac: Add --enable-cet.
11983 * configure: Regenerated.
11984 * elf/Makefille (all-built-dso): Add a comment.
11985 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11986 Include <dl-prop.h>.
11987 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11988 segment.
11989 * elf/dl-open.c: Include <dl-prop.h>.
11990 (dl_open_worker): Call _dl_open_check.
11991 * elf/rtld.c: Include <dl-prop.h>.
11992 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11993 _rtld_main_check.
11994 * sysdeps/generic/dl-prop.h: New file.
11995 * sysdeps/i386/dl-cet.c: Likewise.
11996 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11997 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11998 * sysdeps/x86/cet-tunables.h: Likewise.
11999 * sysdeps/x86/check-cet.awk: Likewise.
12000 * sysdeps/x86/configure: Likewise.
12001 * sysdeps/x86/configure.ac: Likewise.
12002 * sysdeps/x86/dl-cet.c: Likewise.
12003 * sysdeps/x86/dl-procruntime.c: Likewise.
12004 * sysdeps/x86/dl-prop.h: Likewise.
12005 * sysdeps/x86/libc-start.h: Likewise.
12006 * sysdeps/x86/link_map.h: Likewise.
12007 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
12008 _CET_ENDBR.
12009 (_dl_runtime_profile): Likewise.
12010 (_dl_runtime_resolve_shstk): New.
12011 (_dl_runtime_profile_shstk): Likewise.
12012 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
12013 if CET is enabled.
12014 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
12015 (CFLAGS-.os): Likewise.
12016 (CFLAGS-.op): Likewise.
12017 (CFLAGS-.oS): Likewise.
12018 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
12019 is enabled.
12020 (tests-special): Add $(objpfx)check-cet.out.
12021 (cet-built-dso): New.
12022 (+$(cet-built-dso:=.note)): Likewise.
12023 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12024 ($(objpfx)check-cet.out): New.
12025 (generated): Add check-cet.out.
12026 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12027 <cet-tunables.h>.
12028 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12029 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12030 (init_cpu_features): Call get_cet_status to check CET status
12031 and update dl_x86_feature_1 with CET status. Call
12032 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12033 (set_x86_shstk). Disable and lock CET in libc.a.
12034 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12035 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12036 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12037 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12038 (_CET_ENDBR): Define if not defined.
12039 (ENTRY): Add _CET_ENDBR.
12040 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12041 x86_shstk.
12042 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12043 _CET_ENDBR.
12044 (_dl_runtime_profile): Likewise.
12045
52b2a80f
RA
120462018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12047
12048 [BZ #21895]
12049 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12050 restore r2 on longjmp.
12051 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12052 test list.
12053 Added rules to build test tst-setjmp-bug21895-static.
12054 Added module setjmp-bug21895 and rules to build a shared object from it.
12055 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12056 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12057
3ae725df
WD
120582018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12059
12060 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12061 * benchtests/bench-strstr.c: Likewise.
12062 * string/memmem.c (FASTSEARCH): Define.
12063 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12064 Add support for FASTSEARCH.
12065 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12066 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12067 (FASTSEARCH): Define.
12068 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12069 * string/test-strstr.c: Likewise.
12070
31e422ca
L
120712018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12072
12073 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12074 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12075
faaee1f0
L
120762018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12077 H.J. Lu <hongjiu.lu@intel.com>
12078
12079 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12080 (__longjmp): Restore shadow stack pointer if shadow stack is
12081 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12082 isn't defined for __longjmp_cancel.
12083 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12084 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12085 and SHADOW_STACK_POINTER_OFFSET is defined.
12086 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12087 (setjmp): Save shadow stack pointer if shadow stack is enabled
12088 and SHADOW_STACK_POINTER_OFFSET is defined.
12089 * sysdeps/i386/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 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12093 <jmp_buf-ssp.h>.
12094 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12095 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12096 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12097 Remove jmp_buf-ssp.sym.
12098 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12099 <jmp_buf-ssp.h>.
12100 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12101 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12102 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12103 jmp_buf-ssp.sym.
12104 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12105 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12106 (__longjmp): Restore shadow stack pointer if shadow stack is
12107 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12108 isn't defined for __longjmp_cancel.
12109 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12110 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12111 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12112
ebff9c5c
L
121132018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12114
12115 [BZ #22563]
12116 * nptl/pthread_create.c: Include <tls-setup.h>.
12117 (__pthread_create_2_1): Call tls_setup_tcbhead.
12118 * sysdeps/generic/tls-setup.h: New file.
12119 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12120 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12121 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12122 Likewise.
12123 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12124 to feature_1.
12125 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12126 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12127 (X86_FEATURE_1_SHSTK): Likewise.
12128 (CET_ENABLED): Likewise.
12129 (IBT_ENABLED): Likewise.
12130 (SHSTK_ENABLED): Likewise.
12131
0a83bad2
RL
121322018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12133
12134 [BZ #23208]
12135 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12136 (LOCALES): Likewise.
12137 * localedata/dsb_DE.UTF-8.in: New file.
12138 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12139
046bfed9
FW
121402018-07-12 Florian Weimer <fweimer@redhat.com>
12141
12142 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12143 __mprotect, not mprotect.
12144
93304f5f
FW
121452018-07-11 Florian Weimer <fweimer@redhat.com>
12146
12147 * io/Makefile (headers): Add bits/statx.h.
12148
4beefeeb
MF
121492018-07-10 Mike FABIAN <mfabian@redhat.com>
12150
12151 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12152 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12153 and headers.
12154 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12155 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12156 for utf8_gen.py
12157
fd70af45
FW
121582018-07-10 Florian Weimer <fweimer@redhat.com>
12159
12160 * io/Makefile (routines): Add statx.
12161 (tests-internal): Add tst-statx.
12162 * io/Versions (GLIBC_2.28): Export statx.
12163 * io/bits/statx.h: New file.
12164 * io/sys/stat.h [__USE_GNU]: Include it.
12165 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12166 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12167 Define.
12168 * io/statx.c: New file.
12169 * io/statx_generic.: Likewise.
12170 * io/tst-statx.: Likewise.
12171 * include/bits/statx.h: Likewise.
12172 * sysdeps/unix/sysv/linux/kernel-features.h
12173 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12174 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12175 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12176 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12177 Undefine.
12178 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12179 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12180 * sysdeps/unix/sysv/linux/statx.c: New file.
12181 * manual/filesys.texi: Note that statx is undocumented.
12182 * sysdeps/**/libc*.abilist: Update.
12183
b444e8f7
AZ
121842018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12185
12186 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12187 a kernel issue which lead to test failure in some cases.
12188
7b2f4ced
FW
121892018-07-10 Florian Weimer <fweimer@redhat.com>
12190
12191 [BZ #23036]
12192 * posix/regexec.c (check_node_accept_bytes): When comparing
12193 weights, do not compare an extra byte after the end of the
12194 weights.
12195
4fa34da6
FW
121962018-07-10 Florian Weimer <fweimer@redhat.com>
12197
12198 * libio/readline.c: Fix copyright year.
12199 * libio/tst-readline.c Likewise.
12200 * nss/tst-nss-files-hosts-getent.c: Likewise.
12201
916124ed
FW
122022018-07-06 Florian Weimer <fweimer@redhat.com>
12203
12204 [BZ #18991]
12205 * nss/nss_files/files-XXX.c (internal_getent): Use
12206 __libc_readline_unlocked. Seek back to the start of the line if
12207 parsing failes with ERANGE.
12208 (get_contents_ret, get_contents): Remove.
12209 * nss/tst-nss-files-hosts-getent.c: New file.
12210 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12211 (tst-nss-files-hosts-getent): Link with -ldl.
12212
3f5e3f5d
FW
122132018-07-06 Florian Weimer <fweimer@redhat.com>
12214
12215 * include/stdio.h (__libc_readline_unlocked): Declare.
12216 (__ftello64, __fseeko64): Declare aliases.
12217 * libio/readline.c: New file.
12218 * libio/tst-readline.c: Likewise.
12219 (routines): Add readline.
12220 (tests-internal): Add tst-readlime.
12221 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12222 __libc_readline_unlocked.
12223 * libio/fseeko.c (__fseeko): Rename from fseeko.
12224 (fseeko): Add alias.
12225 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12226 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12227 (fseeko64): Add alias.
12228 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12229 * libio/ftello64.c (__ftello64): Rename from ftello64.
12230 (ftello64): Add alias.
12231
397c54c1
SN
122322018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12233
12234 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12235 HWCAP_ATOMICS.
12236
d0cd7980
SN
122372018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12238
12239 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12240 Use dl_hwcap without masking.
12241 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12242 Remove HWCAP_CPUID.
12243
ddb3c626
FW
122442018-07-06 Florian Weimer <fweimer@redhat.com>
12245
12246 * conform/conformtest.pl (checknamespace): Escape literal braces
12247 in regular expressions.
12248
bce5911b
AP
122492018-07-06 Amit Pawar <amit.pawar@amd.com>
12250
12251 * sysdeps/x86/cpu-features.c (get_common_indeces):
12252 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12253 * sysdeps/x86/cpu-features.c (init_cpu_features):
12254 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12255
3a885c1f
FW
122562018-07-05 Florian Weimer <fweimer@redhat.com>
12257
12258 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12259 protector.
12260 (CFLAGS-elf-init.oS): Likewise.
12261
38cade0c
FW
122622018-07-05 Florian Weimer <fweimer@redhat.com>
12263 Carlos O'Donell <carlos@redhat.com>
12264
12265 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12266 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12267 with stack protector enabled because there is no risk of infinite
12268 recursion.
12269
9449a295
MR
122702018-07-05 Maciej W. Rozycki <macro@mips.com>
12271
12272 [BZ #19818]
12273 [BZ #23307]
12274 * libc-abis (ABSOLUTE): New ABI.
12275 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12276 * NEWS: Mention the new ABI.
12277
d6da5cb6
FW
122782018-07-05 Florian Weimer <fweimer@redhat.com>
12279
12280 [BZ # 17662]
12281 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12282 (RENAME_WHITEOUT): Define.
12283 [__USE_GNU] (renameat2): Declare.
12284 * stdio-common/Makefile (routines): Add renameat2.
12285 (tests): Add tst-renameat2.
12286 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12287 * stdio-common/renameat2.c: New file.
12288 * stdio-common/tst-renameat2.c: Likewise.
12289 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12290 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12291 undocumented.
12292 * sysdeps/unix/sysv/linux/kernel-features.h
12293 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12294 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12295 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12296 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12297 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12298 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12299 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12300 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12301 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12302 * include/stdio.h (__renameat): Add alias for renameat.
12303 * stdio-common/renameat.c (__renameat): Rename from renameat.
12304 Add hidden definition and alias.
12305 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12306 * sysdeps/mach/hurd/renameat.c: Likewise.
12307 * sysdeps/**/libc*.abilist: Add renameat2.
12308
1002d708
AZ
123092018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12310
12311 * posix/bug-regex33.c: Fix build after regex sync.
12312
34fdb893
CD
123132018-07-04 Carlos O'Donell <carlos@redhat.com>
12314
12315 [BZ #23164]
12316 * localedata/tst-langinfo-setlocale.c: New file.
12317 * localedata/tst-langinfo-setlocale-static.c: New file.
12318 * localedata/tst-langinfo-newlocale.c: New file.
12319 * localedata/tst-langinfo-newlocale-static.c: New file.
12320 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12321 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12322 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12323 (tests-static): Remove tst-langinfo-static. Add
12324 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12325 (tests-special): Remove $(objpfx)tst-langinfo.out,
12326 $(objpfx)tst-langinfo-static.out. Add
12327 $(objpfx)tst-langinfo-setlocale.out,
12328 $(objpfx)tst-langinfo-newlocale.out,
12329 $(objpfx)tst-langinfo-setlocale-static.out,
12330 $(objpfx)tst-langinfo-newlocale-static.out.
12331 ($(objpfx)tst-langinfo.out): Remove.
12332 ($(objpfx)tst-langinfo-static.out): Remove.
12333 ($(objpfx)tst-langinfo-newlocale.out): New target.
12334 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12335 (test-xfail-tst-langinfo-newlocale-static): Add.
12336 ($(objpfx)tst-langinfo-setlocale.out): New target.
12337 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12338 * localedata/tst-langinfo.c: Call test_locale.
12339 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12340 data.
12341
f2873d2d
FW
123422018-07-04 Florian Weimer <fweimer@redhat.com>
12343
12344 testrun.sh: Implement --tool=strace, --tool=valgrind
12345 * Makefile (testrun-script): Define variable.
12346 (testrun.sh): Use variable.
12347 * manual/install.texi (Tools for Compilation): make 4.0 or later
12348 is required.
12349 * configure.ac: Check for make 4.0 or later.
12350 * INSTALL: Regenerate.
12351 * configure: Likewise.
12352
eb04c213
AZ
123532018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12354
12355 [BZ #23233]
12356 [BZ #21163]
12357 [BZ #18986]
12358 [BZ #13762]
12359 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12360 * posix/PCRE.tests: Remove invalid test.
12361 * posix/bug-regex28.c: Fix expected values for used syntax.
12362 * posix/bug-regex37.c: New file.
12363 * posix/bug-regex38.c: Likewise.
12364 * posix/regcomp.c: Sync with gnulib.
12365 * posix/regex.c: Likewise.
12366 * posix/regex.h: Likewise.
12367 * posix/regex_internal.c: Likewise.
12368 * posix/regex_internal.h: Likewise.
12369 * posix/regexec.c: Likewise.
12370
b11643c2
MF
123712018-06-26 Mike FABIAN <mfabian@redhat.com>
12372
12373 [BZ #23308]
12374 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12375 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12376 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12377 * localedata/unicode-gen/PropList.txt: likewise.
12378 * localedata/unicode-gen/UnicodeData.txt: likewise.
12379 * localedata/charmaps/UTF-8: Regenerate.
12380 * localedata/locales/i18n_ctype: likewise.
12381 * localedata/locales/tr_TR: likewise.
12382 * localedata/locales/translit_circle: likewise.
12383 * localedata/locales/translit_cjk_compat: likewise.
12384 * localedata/locales/translit_combining: likewise.
12385 * localedata/locales/translit_compat: likewise.
12386 * localedata/locales/translit_font: likewise.
12387 * localedata/locales/translit_fraction: likewise.
12388
5a357506
FW
123892018-07-03 Florian Weimer <fweimer@redhat.com>
12390
12391 [BZ #23363]
12392 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12393 * stdio-common/tst-printf.sh: Adjust expected output.
12394 * LICENSES: Update.
12395
7279af00
AZ
123962018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12397
12398 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12399 symbol.
12400
b7b88cea
GG
124012018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12402
12403 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12404 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12405 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12406 * stdio-common/tst-printfsz-islongdouble.c: New file.
12407 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12408 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12409 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12410 [subdir == stdio-common] (tests-internal): Add
12411 test-printf-size-ieee128, and test-printf-size-ibm128.
12412 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12413 (CFLAGS-test-printf-size-ibm128.c): New variables.
12414 [subdir == stdio-common] (tests-special): Add
12415 $(objpfx)test-printf-size-ieee128.out and
12416 $(objpfx)test-printf-size-ibm128.out.
12417 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12418 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12419 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12420 __printf_sizeieee128.
12421 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12422 New file.
12423 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12424 Likewise.
12425 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12426 Likewise.
12427
2b445206
SN
124282018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12429
12430 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12431 (exp2f_inline): Likewise.
12432 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12433 (__math_uflowf): Likewise.
12434 (__math_may_uflowf): Likewise.
12435 (__math_divzerof): Likewise.
12436 (__math_invalidf): Likewise.
12437 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12438 (__math_oflowf): Likewise.
12439 (__math_uflowf): Likewise.
12440 (__math_may_uflowf): Likewise.
12441 (__math_divzerof): Likewise.
12442 (__math_invalidf): Likewise.
12443
2827ab99
CD
124442018-06-29 DJ Delorie <dj@redhat.com>
12445 Carlos O'Donell <carlos@redhat.com>
12446
12447 [BZ #23329]
12448 * include/libc-symbols.h: Comment the freeres framework.
12449 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12450 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12451 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12452 * dlfcn/dlerror.c: Include libc-symbols.h
12453 (__dlerror_main_freeres): New function.
12454 * dlfcn/dlfreeres.c: New file.
12455 * dlfcn/sdlfreeres.c: New file.
12456 * include/dlfcn.h: Declare __dlerror_main_freeres.
12457 * malloc/set-freeres.c: Declare __libdl_freeres, and
12458 __libpthread_freeres.
12459 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12460 the releavant libraries are loaded.
12461 * malloc/thread-freeres.c: Add comments.
12462 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12463 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12464 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12465 (__free_stacks): Rename to...
12466 (free_stacks): ...this. Mark static.
12467 (queue_stack): Call free_stacks.
12468 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12469 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12470 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12471 ptr_freeres element from struct.
12472 (pthread_functions): Remove .ptr_freeres from struct initializer.
12473 [SHARED] (nptl_freeres): Remove.
12474 * nptl/nptlfreeres.c: New file.
12475 * nptl/pthreadP.h
12476 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12477 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12478 attribute_hidden.
12479 (__free_stacks): Rename to...
12480 (__nptl_stacks_freeres): ...this.
12481 (__shm_directory_freeres): Declare.
12482 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12483 (__nptl_unwind_freeres): ...this.
12484 * resolv/res-close.c: Add comment.
12485 * resolv/resolv_conf.c: Include libc-symbols.h.
12486 * string/strerror_l.c: Include libc-symbols.h.
12487 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12488 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12489 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12490 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12491
37d3d244
RS
124922018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12493
12494 * stdlib/tst-strfmon_l.c: Add tests for long double.
12495
a1e0c5fa
MW
124962018-06-29 Michael Wolf <milupo@sorbzilla.de>
12497
12498 [BZ #23208]
12499 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12500 * localedata/locales/dsb_DE: New file.
12501
2e0c5de6
RL
125022018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12503
12504 [BZ #23140]
12505 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12506 genitive case).
12507 (alt_mon): New entry, import from CLDR (nominative case).
12508
cdb52c71
SL
125092018-06-29 Sylvain Lesage <severo@rednegra.net>
12510
12511 [BZ #22996]
12512 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12513
ce76a5cb
SP
125142018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12515
0aec4c1d
SP
12516 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12517 Use vector registers.
12518
ce76a5cb
SP
12519 * sysdeps/aarch64/multiarch/memmove_falkor.S
12520 (__memcpy_falkor): Use vector registers.
12521
7e8989d0
MS
125222018-06-29 Martin Sebor <msebor@redhat.com>
12523
12524 * manual/stdio.texi (Customizing Printf): Mention interaction
12525 with GCC built-ins.
12526
bac15a72
MR
125272018-06-29 Maciej W. Rozycki <macro@mips.com>
12528
12529 [BZ #23307]
12530 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12531 `st_value' is 0 if `st_shndx' is SHN_ABS.
12532 * elf/tst-absolute-zero.c: New file.
12533 * elf/tst-absolute-zero-lib.c: New file.
12534 * elf/tst-absolute-zero-lib.lds: New file.
12535 * elf/Makefile (tests): Add `tst-absolute-zero'.
12536 (modules-names): Add `tst-absolute-zero-lib'.
12537 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12538 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12539 ($(objpfx)tst-absolute-zero: New dependency.
12540
e69d994a
ZW
125412018-06-29 Zack Weinberg <zackw@panix.com>
12542
12543 * configure.ac: New command-line option --disable-crypt.
12544 Force --disable-nss-crypt when --disable-crypt is given, with a
12545 warning if it was explicitly enabled.
12546 * configure: Regenerate.
12547 * config.make.in: New boolean substitution variable $(build-crypt).
12548 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12549 when $(build-crypt).
12550 * manual/install.texi: Document --disable-crypt.
12551 * INSTALL: Regenerate.
12552
12553 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12554 which is never set.
12555 * conform/Makefile: Only include libcrypt.a in
12556 linknamespace-libs-xsi and linknamespace-libs-XPG4
12557 when $(build-crypt).
12558 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12559 USE_CRYPT to 1 when $(build-crypt).
12560 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12561 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12562 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12563
841785ba
ZW
125642018-06-29 Zack Weinberg <zackw@panix.com>
12565
12566 * crypt/crypt.h, posix/unistd.h: Update comments and
12567 prototypes for crypt and crypt_r.
12568
12569 * manual/crypt.texi (Cryptographic Functions): New initial
12570 exposition.
12571 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12572 (Unpredictable Bytes): Improve initial exposition. Clarify error
12573 behavior of getentropy and getrandom.
12574 * manual/examples/genpass.c: Generate a salt using getentropy
12575 instead of the current time. Use hash $5$ (SHA-2-256).
12576 * manual/examples/testpass.c: Demonstrate validation against
12577 hashes generated with three different one-way functions.
12578
12579 * manual/intro.texi: crypt.texi does not need an overview
12580 anymore.
12581
12582 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12583 * manual/terminal.texi: Consistently refer to "passphrases"
12584 * instead of "passwords", and to the "user database" instead
12585 * of the "password database".
12586 * manual/users.texi: Similarly. Add notes about how actual
12587 passphrase hashes are now stored in the shadow database.
12588 Remove 20-year-old junk todo note.
12589
6ab902e4
ZW
125902018-06-29 Zack Weinberg <zackw@panix.com>
12591
12592 * manual/crypt.texi: Use a normal top-level @node declaration.
12593 Move most of the introductory text to the 'crypt' section.
12594 Move the example programs below the @deftypefun for 'crypt_r'.
12595 Move the 'getpass' section...
12596 * manual/terminal.texi: ...here.
12597
b10a0acc
ZW
125982018-06-29 Zack Weinberg <zackw@panix.com>
12599 Florian Weimer <fweimer@redhat.com>
12600
12601 * posix/unistd.h: Do not declare encrypt.
12602 (_XOPEN_CRYPT): Remove macro definition.
12603 (crypt): Declare only for _USE_MISC.
12604 * stdlib/stdlib.h: Do not declare setkey.
12605 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12606 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12607
12608 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12609 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12610 into compat symbols. Don't define initial_perm if it's not
12611 going to be used.
12612 * crypt/cert.c: Link explicitly with the expected versions for
12613 setkey and encrypt. If they are not available at all, mark
12614 the test as unsupported.
12615
12616 * sunrpc/des_crypt.c: Unconditionally block linkage with
12617 cbc_crypt and ecb_crypt for new binaries.
12618 * sunrpc/des_soft.c: Unconditionally block linkage with
12619 des_setparity for new binaries.
12620
12621 * manual/crypt.texi: Remove the entire "DES Encryption"
12622 section. Also remove the paragraph talking about FIPS 140-2
12623 from the introduction.
12624 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12625 of libgcrypt for "real" encryption, not DES.
12626 * manual/conf.texi (Constants for Sysconf): Mention that
12627 _XOPEN_CRYPT is no longer impelemented.
12628
12629 * conform/data/unistd.h-data: Remove crypt function declaration.
12630
524d796d
FW
126312018-06-29 Florian Weimer <fweimer@redhat.com>
12632
12633 [BZ #23351]
12634 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12635 (disallow_malloc_check): Remove variable.
12636 (__malloc_check_init): Adjust.
12637 (malloc_set_state): Update comment.
12638 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12639 declarations.
12640
339124ab
RL
126412018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12642
12643 [BZ #23140]
12644 * localedata/locales/ast_ES (mon): Rename to...
12645 (alt_mon): This.
12646 (mon): Import from CLDR (genitive case).
12647
c1f86a33
DA
126482018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12649 Jakub Sitnicki <jkbs@redhat.com>
12650
12651 [BZ #21812]
12652 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12653 on NLM_F_DUMP_INTR.
12654
0b11b649
SN
126552018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12656
12657 * manual/llio.texi: Remove spurious space.
12658
c1c2848b
FW
126592018-06-28 Florian Weimer <fweimer@redhat.com>
12660
12661 [BZ #23349]
12662 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12663 _STRUCT_TIMESPEC.
12664
86a0f561
RS
126652018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12666
12667 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 12668 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
12669 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12670 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12671 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12672 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12673 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12674
780684eb
MR
126752018-06-27 Maciej W. Rozycki <macro@mips.com>
12676
12677 [BZ #23266]
12678 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12679 Copy and null-terminate entries that are not terminated, in
12680 addition to empty ones.
12681
c49e1822
FW
126822018-06-27 Florian Weimer <fweimer@redhat.com>
12683
12684 [BZ #18023]
b39d961c
TS
12685 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12686 (extend_alloca_account): Remove.
c49e1822
FW
12687 * manual/stdio.texi (Variable Arguments Output): Update comment.
12688
a833e627
JM
126892018-06-27 Joseph Myers <joseph@codesourcery.com>
12690
12691 * nptl/sockperf.c: Remove file.
12692
92d6aa85
FW
126932018-06-27 Florian Weimer <fweimer@redhat.com>
12694
12695 [BZ #18023]
12696 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12697 scratch_buffer instead of extend_alloca.
12698
890c2ced
FW
126992018-06-27 Florian Weimer <fweimer@redhat.com>
12700
12701 [BZ #18023]
12702 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12703 scratch_buffer instead of extend_alloca. Update comments.
12704
4272059d
FW
127052018-06-27 Florian Weimer <fweimer@redhat.com>
12706
12707 [BZ #18023]
12708 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12709 instead of extend_alloca.
12710
27f10a09
JM
127112018-06-26 Joseph Myers <joseph@codesourcery.com>
12712
12713 [BZ #13888]
12714 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12715 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12716 /tmp.
12717 * scripts/test-installation.pl: Put temporary files in build
12718 directory, not /tmp.
12719 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12720 (CFLAGS-bug4.c): Likewise.
12721 (CFLAGS-bug5.c): Likewise.
12722 (CFLAGS-test-fseek.c): Likewise.
12723 (CFLAGS-test-popen.c): Likewise.
12724 (CFLAGS-test_rdwr.c): Likewise.
12725 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12726 /tmp.
12727 * stdio-common/bug4.c (main): Likewise.
12728 * stdio-common/bug5.c (main): Likewise.
12729 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12730 * stdio-common/test-popen.c (do_test): Likewise.
12731 * stdio-common/test_rdwr.c (main): Likewise.
12732
05598a09
PF
127332018-06-26 Patsy Franklin <pfrankli@redhat.com>
12734
12735 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12736 (sem_open): Set sem.newsem.pad to zero for valgrind.
12737
06ab719d
AZ
127382018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12739
12740 [BZ #20251]
12741 * NEWS: Mention fcntl64 addition.
12742 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12743 * login/utmp_file.c: Likewise.
12744 * sysdeps/posix/fdopendir.c: Likewise.
12745 * sysdeps/posix/opendir.c: Likewise.
12746 * sysdeps/unix/pt-fcntl.c: Likewise.
12747 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12748 __fcntl64_nocancel_adjusted): New prototype.
12749 (__fcntl_nocancel_adjusted): Remove prototype.
12750 * io/Makefile (routines): Add fcntl64.
12751 (CFLAGS-fcntl64.c): New rule.
12752 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12753 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12754 * io/fcntl.h (fcntl64): Add prototype and redirect if
12755 __USE_FILE_OFFSET64 is defined.
12756 * io/fcntl64.c: New file.
12757 * manual/llio.text: Add a note for which commands fcntl acts a
12758 cancellation point.
12759 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12760 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12761 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12762 New symbols.
12763 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12764 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12765 non-LFS case.
12766 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12767 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12768 to __fcntl64_nocancel.
12769 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12770 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12771 to __fcntl64_nocancel.
12772 * sysdeps/generic/not-cancel.h: Likewise.
12773 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12774 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12775 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12776 (fcntl64): New symbol.
12777 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12778 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12779 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12782 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12783 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12784 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12785 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12786 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12787 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12788 fcntl64): Likewise.
12789 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12790 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12791 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12792 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12793 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12794 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12795 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12796 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12797 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12799 Likewise.
12800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12801 Likewise.
12802 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12803 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12804 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12805
124e0258
FW
128062018-06-26 Florian Weimer <fweimer@redhat.com>
12807
12808 Run thread shutdown functions in an explicit order.
12809 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12810 definition.
12811 (__libc_thread_freeres): Call thread shutdown functions
12812 explicitly.
12813 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12814 * include/string.h (__strerror_thread_freeres): Declare.
12815 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12816 arena_thread_freeres. No longer static. Remove thread shutdown
12817 hook registration.
12818 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12819 Declare.
12820 * resolv/res-close.c (__res_thread_freeres): Renamed from
12821 res_thread_freeres. No longer static. Remove thread shutdown
12822 hook registration.
12823 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12824 * resolv/resolv_conf.c (freeres): Remove incorrect section
12825 attribute and use libc_freeres_fn.
12826 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12827 strerror_thread_freeres. No longer static. Remove thread
12828 shutdown hook registration.
12829 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12830 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12831 shutdown hook registration.
12832 * Makerules (shlib.lds): Do not provide section boundary symbols
12833 for __libc_thread_subfreeres.
12834 * manual/memory.texi (Basic Allocation): Update comment.
12835
935d920e
FW
128362018-06-26 Florian Weimer <fweimer@redhat.com>
12837
12838 Remove always-defined _RPC_THREAD_SAFE_ macro.
12839 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12840 Do not define _RPC_THREAD_SAFE_.
12841 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12842 conditional.
12843 * sunrpc/clnt_perr.c: Likewise.
12844 * sunrpc/clnt_raw.c: Likewise.
12845 * sunrpc/clnt_simp.c: Likewise.
12846 * sunrpc/key_call.c: Likewise.
12847 * sunrpc/rpc_common.c: Likewise.
12848 * sunrpc/rpc_main.c: Likewise.
12849 * sunrpc/rpc_thread.c: Likewise.
12850 * sunrpc/svc.c: Likewise.
12851 * sunrpc/svc_raw.c: Likewise.
12852 * sunrpc/svc_simple.c: Likewise.
12853 * sumrpc/svcauth_des.c: Likewise.
12854
29055464
FW
128552018-06-26 Florian Weimer <fweimer@redhat.com>
12856
12857 * libio/Makefile (tests-internal): Add tst-vtables,
12858 tst-vtables-interposed.
12859 * libio/tst-vtables.c: New file.
12860 * libio/tst-vtables-common.c: Likewise.
12861 * libio/tst-vtables-interposed.c: Likewise.
12862
5c0202af
FW
128632018-06-26 Florian Weimer <fweimer@redhat.com>
12864
12865 * support/support_test_main.c (support_test_main): Only call
12866 setvbuf if not disables.
12867 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12868 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12869
c402355d
FW
128702018-06-26 Florian Weimer <fweimer@redhat.com>
12871
12872 [BZ #23313]
12873 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12874
43b1048a
FW
128752018-06-25 Florian Weimer <fweimer@redhat.com>
12876
12877 [BZ #18023]
12878 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12879 Use struct scratch_buffer instead of extend_alloca.
12880
1599ed4e
FW
128812018-06-25 Florian Weimer <fweimer@redhat.com>
12882
12883 [BZ #18023]
12884 * nss/getent.c (initgroups_keys): Use dynarray instead of
12885 extend_alloca.
12886
a26fe163
FW
128872018-06-25 Florian Weimer <fweimer@redhat.com>
12888
12889 [BZ #18023]
12890 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12891 Use struct scratch_buffer instead of extend_alloca.
12892
90d9d9ce
FW
128932018-06-25 Florian Weimer <fweimer@redhat.com>
12894
12895 [BZ #18023]
12896 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12897 back to malloc directly, without stack allocations.
12898
6b7b2aba
FW
128992018-06-25 Florian Weimer <fweimer@redhat.com>
12900
12901 [BZ #18023]
12902 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12903 of extend_alloca.
12904
2f9f0d18
FW
129052018-06-25 Florian Weimer <fweimer@redhat.com>
12906
12907 [BZ #18023]
12908 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12909 of extend_alloca.
12910 * nscd/hstcache.c (addhstbyX): Likewise.
12911 * nscd/pwdcache.c (addpwbyX): Likewise.
12912 * nscd/servicescache.c (addservbyX): Likewise.
12913
318bad78
FW
129142018-06-25 Florian Weimer <fweimer@redhat.com>
12915
12916 [BZ #18023]
12917 * nscd/connections.c (read_cmdline): New function.
12918 (restart): Use it. Update comment.
12919
189699ab
RL
129202018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12921
12922 [BZ #23140]
12923 * localedata/locales/csb_PL (mon): Rename to...
12924 (alt_mon): This.
12925 (abmon): Rename to...
12926 (ab_alt_mon): This.
12927 (mon): Add with proper genitive forms, copy from Wikipedia.
12928 (abmon): Likewise.
12929
0ea3f13c
RL
129302018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12931
12932 [BZ #19485]
12933 * localedata/locales/csb_PL (mon): Fix typos:
12934 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12935 (yesstr): Add, value is "jo".
12936 (nostr): Add, value is "nié".
12937
d93f4ff1
TMQMF
129382018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12939
12940 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12941 all log1p and significand functions on m680x0.
12942 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12943 of s_significand.c..
12944 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12945 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12946 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12947 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12948 s_log1p.c and include it..
12949
f6299d2a
VC
129502018-06-21 Vincent Chen <vincentc@andestech.com>
12951
12952 * elf/elf.h (R_NDS32_NONE): New define.
12953 (R_NDS32_32_RELA): Likewise.
12954 (R_NDS32_COPY): Likewise.
12955 (R_NDS32_GLOB_DAT): Likewise.
12956 (R_NDS32_JUMP_SLOT): Likewise.
12957 (R_NDS32_RELATIVE): Likewise.
12958 (R_NDS32_TLS_TPOFF): Likewise.
12959 (R_NDS32_TLS_DESC): Likewise.
12960
61ab61c2
MW
129612018-06-21 Mark Wielaard <mark@klomp.org>
12962
12963 * elf/elf.h (R_BPF_MAP_FD): Removed.
12964 (R_BPF_64_64, R_BPF_64_32): New.
12965
f496b28e
FW
129662018-06-21 Florian Weimer <fweimer@redhat.com>
12967
12968 [BZ #23253]
12969 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12970 Renamed from libc_feholdsetround_ctx.
12971 (default_libc_feresetround_ctx): Renamed from
12972 libc_feresetround_ctx.
12973 (default_libc_feholdsetround_noex_ctx): Renamed from
12974 libc_feholdsetround_noex_ctx.
12975 (default_libc_feresetround_noex_ctx): Renamed from
12976 libc_feresetround_noex_ctx.
12977 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12978 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12979 forwardning to the old implementations under the new names.
12980 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12981 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12982 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12983 (libc_feresetround_ctx): Forward to default implements for i386
12984 and MATH_SET_BOTH_ROUNDING_MODES.
12985 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12986 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12987
1760daad
JM
129882018-06-20 Joseph Myers <joseph@codesourcery.com>
12989
99c7adf9
JM
12990 * string/tst-cmp.c: Include <libc-diag.h>.
12991 (strncmp_max): Disable -Wstringop-overflow= around call to
12992 strncmp.
12993 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12994 strncasecmp.
12995
1760daad
JM
12996 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12997 (main): Disable -Wunused-value around call to strpbrk.
12998 * string/bug-strspn1.c: Include <libc-diag.h>.
12999 (main): Disable -Wunused-value around call to strspn.
13000
209ae17c
TMQMF
130012018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13002 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13003
13004 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
13005 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
13006
badba23c
TMQMF
130072018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13008
5e79e029
TMQMF
13009 * math/Makefile (libm-calls): Move s_significandF to...
13010 (gen-libm-calls): ... here.
13011 * math/s_significand_template.c: New file.
13012 * math/s_significand.c: Removed.
13013 * math/s_significandf.c: Removed.
13014 * math/s_significandl.c: Removed.
13015 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
13016 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
13017
badba23c
TMQMF
13018 * math/e_exp2_template.c (declare_mgen_finite_alias,
13019 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13020 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13021 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13022
2d1c89a5
FW
130232018-06-20 Florian Weimer <fweimer@redhat.com>
13024
13025 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13026
646c2833
JM
130272018-06-19 Joseph Myers <joseph@codesourcery.com>
13028
13029 [BZ #23280]
13030 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13031 floating-point number to strtod functions rather than possibly
13032 negating result of those functions.
13033 * stdio-common/tst-scanf-round.c: New file.
13034 * stdio-common/Makefile (tests): Add tst-scanf-round.
13035 ($(objpfx)tst-scanf-round): Depend on $(libm).
13036
c77e4dc0
ST
130372018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13038
13039 * sysdeps/mach/hurd/localplt.data: Move to...
13040 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13041 R_386_GLOB_DAT like on Linux i386.
13042
91b2f3e5
JM
130432018-06-18 Joseph Myers <joseph@codesourcery.com>
13044
f2857da7
JM
13045 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13046 (SHM_STAT_ANY): New macro.
13047 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13048 (SHM_STAT_ANY): Likewise.
13049 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13050 (SHM_STAT_ANY): Likewise.
13051 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13052 (SHM_STAT_ANY): Likewise.
13053 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13054 (SHM_STAT_ANY): Likewise.
13055 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13056 (SHM_STAT_ANY): Likewise.
13057 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13058 (SHM_STAT_ANY): Likewise.
13059 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13060 (SHM_STAT_ANY): Likewise.
13061 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13062 (SHM_STAT_ANY): Likewise.
13063 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13064 (SHM_STAT_ANY): Likewise.
13065 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13066 (SHM_STAT_ANY): Likewise.
13067 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13068 (SHM_STAT_ANY): Likewise.
13069
176c7fee
JM
13070 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13071 (SEM_STAT_ANY): New macro.
13072 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13073 (SEM_STAT_ANY): Likewise.
13074 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13075 (SEM_STAT_ANY): Likewise.
13076 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13077 (SEM_STAT_ANY): Likewise.
13078 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13079 (SEM_STAT_ANY): Likewise.
13080 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13081 (SEM_STAT_ANY): Likewise.
13082 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13083 (SEM_STAT_ANY): Likewise.
13084 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13085 (SEM_STAT_ANY): Likewise.
13086 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13087 (SEM_STAT_ANY): Likewise.
13088 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13089 (SEM_STAT_ANY): Likewise.
13090
86bf0019
JM
13091 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13092 (MSG_STAT_ANY): New macro.
13093 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13094 (MSG_STAT_ANY): Likewise.
13095 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13096 (MSG_STAT_ANY): Likewise.
13097 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13098 (MSG_STAT_ANY): Likewise.
13099 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13100 (MSG_STAT_ANY): Likewise.
13101 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13102 (MSG_STAT_ANY): Likewise.
13103 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13104 (MSG_STAT_ANY): Likewise.
13105 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13106 (MSG_STAT_ANY): Likewise.
13107 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13108 (MSG_STAT_ANY): Likewise.
13109 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13110 (MSG_STAT_ANY): Likewise.
13111
91b2f3e5
JM
13112 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13113 (MAP_TYPE): Change value to 0x2b.
13114
3fe8fc79
FW
131152018-06-18 Florian Weimer <fweimer@redhat.com>
13116
13117 [BZ #15722]
13118 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13119 socket with SOCK_CLOEXEC.
13120
809dc95d
JM
131212018-06-18 Joseph Myers <joseph@codesourcery.com>
13122
13123 [BZ #23303]
13124 * sysdeps/powerpc/powerpc64/le/Makefile
13125 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13126 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13127 (gnulib-tests): Also add $(f128-loader-link) for
13128 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13129
298a8b59
ST
131302018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13131
13132 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13133 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13134 of sendfile.
13135 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13136 (sendfile64): New strong alias.
faf7bbc2
ST
13137 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13138 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13139 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
13140 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13141 attribute.
13142 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13143 ___pthread_get_cleanup_stack.
932d05f0 13144 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
13145 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13146 * mach/shortcut.awk: Make syscall stubs include
13147 <mach-shortcuts-hidden.h> and add hidden definition.
13148 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
13149 (__mach_msg): Add hidden prototype.
13150 * mach/msg.c: Include <mach.h>.
13151 (__mach_msg): Add hidden definition.
b0344cf5
ST
13152 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13153 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13154 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13155 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
13156 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13157 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
13158 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13159 prototype and definition.
13160 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13161 hidden target for _hurd_self_sigstate.
298a8b59 13162
b12c1e79
JM
131632018-06-15 Joseph Myers <joseph@codesourcery.com>
13164
13165 [BZ #23007]
13166 * stdlib/tst-strtod-nan-sign-main.c: New file.
13167 * stdlib/tst-strtod-nan-sign.c: Likewise.
13168 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13169 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13170 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13171 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13172 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13173
b0debe14
HB
131742018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13175
13176 [BZ #23007]
13177 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13178 appropriate sign.
13179
14beef75
FW
131802018-06-14 Florian Weimer <fweimer@redhat.com>
13181
13182 [BZ #23290]
13183 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13184 that the result stays within the ISO-8859-1 range.
13185 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13186 characters are defined in IBM273.
13187
c596630b
ST
131882018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13189
13190 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13191 __mach_task_self): Remove attribute_hidden.
13192
35ebb6b0
JM
131932018-06-14 Joseph Myers <joseph@codesourcery.com>
13194
13195 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13196 ignore -Wrestrict for one test.
13197
3c7b9f1f
SE
131982018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13199 Szabolcs Nagy <szabolcs.nagy@arm.com>
13200
13201 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13202
c59ee916
FW
132032018-06-14 Florian Weimer <fweimer@redhat.com>
13204
13205 * scripts/update-abilist.sh: Accept empty list of files to patch.
13206
43b5ff50
ST
132072018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13208
13209 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13210 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
13211 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13212 __libc_read and __libc_write to __read and __write.
c8c6e6d6 13213 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
13214 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13215 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13216 __thread_switch, __evc_wait): Move declarations to...
13217 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13218 attribute_hidden.
06d1a826
ST
13219 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13220 use PLT to call _hurd_self_sigstate.
43b5ff50 13221
fcd6b5ac
JM
132222018-06-13 Joseph Myers <joseph@codesourcery.com>
13223
13224 [BZ #23279]
13225 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13226 MAX_EXP as overflowing.
13227 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13228 overflow flag.
13229 (round_str): Output also whether result overflows in each rounding
13230 mode.
13231 * stdlib/tst-strtod-round-data: Add more tests.
13232 * stdlib/tst-strtod-round-data.h: Regenerated.
13233 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13234 (TEST): Handle extra arguments for overflow flags.
13235 (struct test_overflow): New type.
13236 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13237 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13238 (test_in_one_mode): Take argument with overflow information.
13239 (do_test): Update calls to test_in_one_mode.
13240
35df5a77
CD
132412018-06-12 Carlos O'Donell <carlos@redhat.com>
13242
a745c837
CD
13243 * elf/dl-load (_dl_dst_substitute): Correct comment.
13244 (_dl_dst_count): Likewise.
13245
35df5a77
CD
13246 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13247 lll_futex_timed_wait.
13248
48b12ed5
JM
132492018-06-12 Joseph Myers <joseph@codesourcery.com>
13250
13251 [BZ #23277]
13252 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13253 attribute.
13254 * math/test-nan-const.c: New file.
13255 * math/Makefile (tests): Add test-nan-const.
13256 (CFLAGS-test-nan-const.c): New variable.
13257
cb8f6aff
L
132582018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13259
13260 * benchtests/scripts/compare_strings.py (process_results): Add
13261 funcs argument. Compare only functions which are selected.
13262 (main): Check if base function is among selected functions.
13263 Pass selected functions to process_results.
13264 (__main__): Add -f/--functions argument.
13265
fc2ba803
HZ
132662018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13267 Hongbo Zhang <hongbo.zhang@linaro.org>
13268
13269 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13270 __memcpy_falkor for phecda core.
13271 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13272 __memmove_falkor for phecda core.
13273 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13274 __memset_falkor for phecda core.
13275 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13276 for phecda core.
13277 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13278 macro to identify phecda core.
13279
5aad5f61
CD
132802018-06-12 Carlos O'Donell <carlos@redhat.com>
13281 Andreas Schwab <schwab@suse.de>
13282 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 13283 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
13284
13285 [BZ #23102]
13286 [BZ #21942]
13287 [BZ #18018]
13288 [BZ #23259]
13289 CVE-2011-0536
13290 * elf/dl-dst.h: Remove DL_DST_COUNT.
13291 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13292 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13293 (is_dst): Comment. Support ELF gABI.
13294 (_dl_dst_count): Comment. Simplify and count DSTs.
13295 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13296 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13297 locals.
13298
329ea513
ZW
132992018-06-12 Zack Weinberg <zackw@panix.com>
13300
13301 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13302 * sysdeps/unix/sysv/linux/dl-sysdep.c
13303 Include not-cancel.h. Use __close_nocancel instead of __close,
13304 __open64_nocancel instead of __open, __read_nocancel instead of
13305 __libc_read, and __write_nocancel instead of __libc_write.
13306
13307 * csu/check_fds.c (check_one_fd)
13308 * sysdeps/posix/fdopendir.c (__fdopendir)
13309 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 13310 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
13311
13312 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13313 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 13314 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
13315 Use __open64_nocancel instead of __open_nocancel.
13316
13317 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13318 hidden_proto declarations to the end and issue them if either
13319 IS_IN(libc) or IS_IN(rtld).
13320 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13321 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13322 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13323 read_nocancel, waitpid_nocancel, write_nocancel.
13324
b39d961c
TS
13325 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13326 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13327 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 13328
b39d961c
TS
13329 * nptl/pt-fcntl.c: New file.
13330 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13331 (libpthread-routines): Add pt-fcntl.
13332 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13333 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
13334 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13335 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 13336 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
13337 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13338 to fcntl_nocancel.c.
13339 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13342 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13343
13344 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13345 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13346 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13347 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13348 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13349 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13350 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13351 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13352 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13353 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13354 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13355 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13356 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13357 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13358 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13359 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13360 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13361 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13362 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13363 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13364
b39d961c
TS
13365 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13366 libpthread-routines.
13367 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13368 defines nothing.
329ea513 13369
b39d961c
TS
13370 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13371 __libc_read, and __write instead of __libc_write. Define
13372 __open64 in addition to __open.
329ea513 13373
0221ce2a
L
133742018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13375
13376 [BZ #23250]
13377 [BZ #10686]
13378 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13379 to _private_tm[3] and add __glibc_reserved2.
13380 Add _Static_assert of offset of __private_ss == 0x30.
13381 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13382 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13383
e826574c
FW
133842018-06-12 Florian Weimer <fweimer@redhat.com>
13385
13386 x86: Make strncmp usable from rtld.
13387 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13388 __strncmp_ia32 if in libc (and not in rtld).
13389 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13390 strncmp if not in libc (and not to __strncmp_sse2).
13391
c4ad5782
RL
133922018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13393
13394 [BZ #23140]
13395 * localedata/locales/gd_GB (mon): Rename to...
13396 (alt_mon): This.
13397 (mon): Import from CLDR (genitive case).
13398 * localedata/locales/hsb_DE (mon): Rename to...
13399 (alt_mon): This.
13400 (mon): Import from CLDR (genitive case).
13401 * localedata/locales/wa_BE (mon): Rename to...
13402 (alt_mon): This.
13403 (mon): Add, fill with the proper genitive forms, but CLDR data
13404 is incomplete; completed according to the comments in this file.
13405 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13406
13407 * localedata/locales/wa_BE (country_name): Reword
13408 "Beljike" -> "Beldjike".
13409
ca121b11
JM
134102018-06-11 Joseph Myers <joseph@codesourcery.com>
13411
13412 [BZ #23272]
13413 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13414 cases of non-finite arguments.
13415 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13416
2b69fecb
JDA
134172018-06-10 John David Anglin <danglin@gcc.gnu.org>
13418
13419 [BZ #23174]
13420 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13421
283d9851
AZ
134222018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13423
13424 [BZ #23264]
13425 * include/unistd.h (__execvpex): New prototype.
13426 * posix/Makefile (tests): Add tst-spawn4.
13427 (tests-internal): Add tst-spawn4-compat.
13428 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13429 * posix/tst-spawn4-compat.c: New file.
13430 * posix/tst-spawn4.c: Likewise.
13431 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13432 binaries as shell scripts.
13433 * sysdeps/posix/spawni.c (__spawni): Likewise.
13434
67c05796
L
134352018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13436
13437 [BZ #23145]
13438 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13439 ($(all-built-dso:=.dynsym): New target.
13440 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13441 ($(objpfx)check-initfini.out): New target.
13442 (generated): Add check-initfini.out.
13443 * scripts/check-initfini.awk: New file.
13444 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13445 (_fini): Likewise.
13446 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13447 (_fini): Likewise.
13448 * sysdeps/arm/crti.S (_init): Mark as hidden.
13449 (_fini): Likewise.
13450 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13451 (_fini): Likewise.
13452 * sysdeps/i386/crti.S (_init): Mark as hidden.
13453 (_fini): Likewise.
13454 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13455 (_fini): Likewise.
13456 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13457 (_fini): Likewise.
13458 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13459 (_fini): Likewise.
13460 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13461 (_fini): Likewise.
13462 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13463 (_fini): Likewise.
13464 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13465 (_fini): Likewise.
13466 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13467 (_fini): Likewise.
13468 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13469 (_fini): Likewise.
13470 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13471 (_fini): Likewise.
13472 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13473 (_fini): Likewise.
13474 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13475 (_fini): Likewise.
13476 * sysdeps/sh/crti.S (_init): Mark as hidden.
13477 (_fini): Likewise.
13478 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13479 (_fini): Likewise.
13480 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13481 (_fini): Likewise.
13482
1c09524e
TMQMF
134832018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13484
13485 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13486 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13487 and TF redirection to KFtype and KF only when the default
13488 long double type is not the IEEE 128-bit floating point type.
13489
0e0577c9
JM
134902018-06-05 Joseph Myers <joseph@codesourcery.com>
13491
0c1c33b2
JM
13492 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13493 macro.
13494 (HWCAP_USCAT): Likewise.
13495 (HWCAP_ILRCPC): Likewise.
13496 (HWCAP_FLAGM): Likewise.
13497 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13498 Increase to 28.
13499 (_dl_aarch64_cap_flags): Add new flag names.
13500
bef1cbf4
JM
13501 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13502 (MAP_FIXED_NOREPLACE): New macro.
13503 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13504 (MAP_FIXED_NOREPLACE): Likewise.
13505 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13506 (MAP_FIXED_NOREPLACE): Likewise.
13507 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13508 (MAP_FIXED_NOREPLACE): Likewise.
13509 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13510 (MAP_FIXED_NOREPLACE): Likewise.
13511 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13512 (MAP_FIXED_NOREPLACE): Likewise.
13513 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13514 (MAP_FIXED_NOREPLACE): Likewise.
13515 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13516 (MAP_FIXED_NOREPLACE): Likewise.
13517 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13518 (MAP_FIXED_NOREPLACE): Likewise.
13519 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13520 (MAP_FIXED_NOREPLACE): Likewise.
13521 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13522 (MAP_FIXED_NOREPLACE): Likewise.
13523 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13524 (MAP_FIXED_NOREPLACE): Likewise.
13525 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13526 (MAP_FIXED_NOREPLACE): Likewise.
13527 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13528 (MAP_FIXED_NOREPLACE): Likewise.
13529 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13530 (MAP_FIXED_NOREPLACE): Likewise.
13531
0e0577c9
JM
13532 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13533 version to 4.17.
13534
ab3a0da0
JM
135352018-06-04 Joseph Myers <joseph@codesourcery.com>
13536
13537 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13538 version to 4.17
13539
d2d9dfb6
ST
135402018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13541
13542 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13543 int.
13544 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13545
a650b05e
LS
135462018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13547
13548 * benchtests/scripts/compare_string.py: (process_results) Catch
13549 exception in non-existent base_func and catch exception in
13550 non-existent attribute.
13551 (parse_file) Catch exception if input file does not exist.
13552
195abbf4
LS
135532018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13554
13555 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13556 options to avoid diff calculation and omit header, respectively.
13557 (main): process --no-diff and --no-header
13558
14570163
LS
135592018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13560 H.J. Lu <hongjiu.lu@intel.com>
13561
13562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13563 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13564 wcsncmp-sse2.
13565 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13566 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13567 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13568 and __wcsncmp_sse2.
13569 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13570 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13571 AVX unaligned load is fast and vzeroupper is preferred.
13572 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13573 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13574 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13575 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13576 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13577 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13578 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13579 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13580 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13581 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13582 is undefined.
13583
e02c026f
FW
135842018-06-01 Florian Weimer <fweimer@redhat.com>
13585
13586 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13587 configuring with --disable-multi-arch, building with
13588 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13589 Haswell-era CPU.
13590
d8c19275
FW
135912018-06-01 Florian Weimer <fweimer@redhat.com>
13592
13593 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13594 results from building with “-march=x86-64 -mtune=generic
13595 -mfpmath=sse” and running on a Haswell-era CPU.
13596
0d2163eb
JM
135972018-06-01 Joseph Myers <joseph@codesourcery.com>
13598
13599 [BZ #18473]
13600 * soft-fp/sqrttf2.c: Remove file.
13601 * soft-fp/sqrtdf2.c: Move to ....
13602 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13603 <shlib-compat.h>.
13604 (__sqrtdf2): Make conditional on
13605 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13606 symbol.
13607 * soft-fp/sqrtsf2.c: Move to ....
13608 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13609 <shlib-compat.h>.
13610 (__sqrtsf2): Make conditional on
13611 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13612 symbol.
13613 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13614 (gcc-double-routines): Remove sqrtdf2.
13615 (gcc-quad-routines): Remove sqrttf2.
13616 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13617 Do not filter out sqrtsf2 and sqrtdf2.
13618 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13619 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13620
10450210
FW
136212018-06-01 Florian Weimer <fweimer@redhat.com>
13622
13623 * sysdeps/generic/libcidn.abilist: Remove file.
13624
4e8a6346
FW
136252018-06-01 Florian Weimer <fweimer@redhat.com>
13626
13627 [BZ #23236]
13628 * libio/strfile.h (struct _IO_str_fields): Rename members to
13629 discourage their use and add comment.
13630 (_IO_STR_DYNAMIC): Remove unused macro.
13631 * libio/strops.c (_IO_str_init_static_internal): Do not use
13632 callback pointers. Call malloc and free.
13633 (_IO_str_overflow): Do not use callback pointers. Call malloc
13634 and free.
13635 (enlarge_userbuf): Likewise.
13636 (_IO_str_finish): Call free.
13637 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13638 _allocate_buffer_unused.
13639 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13640 and free.
13641 (enlarge_userbuf): Likewise.
13642 (_IO_wstr_finish): Call free.
13643 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13644 _allocate_buffer_unused, _free_buffer_unused.
13645 * libio/memstream.c (__open_memstream): Likewise.
13646 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13647 * libio/wmemstream.c (open_wmemstream): Likewise.
13648
50d004c9
PP
136492018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13650
13651 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13652 AMD Ryzen 7 1800X.
13653
2c93fce7
RS
136542018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13655
13656 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13657 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13658 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13659 New file.
13660 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13661 Likewise.
13662 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13663
0ce2fa69
FW
136642018-05-29 Florian Weimer <fweimer@redhat.com>
13665
13666 * support/Makefile (libsupport-routines): Add
13667 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13668 xpthread_barrierattr_setpshared.
13669 * support/xpthread_barrierattr_destroy.c: New file.
13670 * support/xpthread_barrierattr_init.c: Likewise.
13671 * support/xpthread_barrierattr_setpshared.c: Likewise.
13672
7f7b5d8d
L
136732018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13674
13675 [BZ #23206]
13676 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13677 _r_debug and update DT_DEBUG for debugger.
13678
e4890300
FW
136792018-05-29 Florian Weimer <fweimer@redhat.com>
13680
13681 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13682 (tst-strtod5i.out): Likewise.
13683
2c753f3e
JM
136842018-05-25 Joseph Myers <joseph@codesourcery.com>
13685
b5453d9f
JM
13686 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13687 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13688 (sparc64-quad-routines): New variable. Moved from ....
13689 [$(subdir) = soft-fp] (sysdep_routines): Add
13690 $(sparc64-quad-routines). Moved from ....
13691 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13692 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13693 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13694 moved from ....
13695 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13696 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13697 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13698 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13699 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13700 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13701 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13702 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13703 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13704 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13705 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13706 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13707 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13708 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13709 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13710 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13711 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13712 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13713 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13714 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13715 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13716 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13717 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13718 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13719 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13720 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13721 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13722 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13723 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13724 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13725 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13726 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13727 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13728 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13729 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13730 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13731 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13732 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13733 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13734 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13735 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13736 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13737 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13738 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13739 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13740 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13741 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13742 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13743 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13744 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13745 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13746 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13747 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13748 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13749 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13750 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13751 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13752 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13753
2c753f3e
JM
13754 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13755 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13756 (sparc32-quad-routines): New variable. Moved from ....
13757 [$(subdir) = soft-fp] (sysdep_routines): Add
13758 $(sparc32-quad-routines). Moved from ....
13759 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13760 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13761 moved from ....
13762 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13763 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13764 * sysdeps/sparc/sparc32/q_add.c: ... here.
13765 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13766 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13767 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13768 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13769 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13770 * sysdeps/sparc/sparc32/q_div.c: ... here.
13771 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13772 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13773 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13774 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13775 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13776 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13777 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13778 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13779 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13780 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13781 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13782 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13783 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13784 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13785 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13786 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13787 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13788 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13789 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13790 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13791 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13792 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13793 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13794 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13795 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13796 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13797 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13798 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13799 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13800 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13801 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13802 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13803 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13804 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13805 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13806 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13807 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13808 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13809 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13810 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13811 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13812 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13813 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13814 * sysdeps/sparc/sparc32/q_util.c: ... here.
13815 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13816 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13817 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13818 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13819
c1dc1e1b
TMQMF
138202018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13821 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13822
13823 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13824 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13825 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13826 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13827
14186e8d
JM
138282018-05-24 Joseph Myers <joseph@codesourcery.com>
13829
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13831 powerpc/soft-fp.
13832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13833 Likewise.
13834 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13835 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13836
fb0e10b8
GG
138372018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13838
13839 [BZ #23171]
13840 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13841 double version.
13842
1dfeb17e
JM
138432018-05-23 Joseph Myers <joseph@codesourcery.com>
13844
13845 * sysdeps/sh/Implies: Remove sh/soft-fp.
13846 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13847 * sysdeps/sh/sfp-machine.h: ... here.
13848
727b38df
L
138492018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13850
13851 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13852 (__mempcpy_erms): Skip zero length.
13853 (__memmove_erms): Likewise.
13854 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13855 (__memset_erms): Likewise.
13856
2834fb46
JM
138572018-05-23 Joseph Myers <joseph@codesourcery.com>
13858
13859 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13860 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13861 Add functions moved from ....
13862 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13863 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13864 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13865 from ....
13866 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13867 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13868 * sysdeps/alpha/e_sqrtl.c: ... here.
13869 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13870 * sysdeps/alpha/local-soft-fp.h: ... here.
13871 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13872 * sysdeps/alpha/ots_add.c: ... here.
13873 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13874 * sysdeps/alpha/ots_cmp.c: ... here.
13875 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13876 * sysdeps/alpha/ots_cmpe.c: ... here.
13877 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13878 * sysdeps/alpha/ots_cvtqux.c: ... here.
13879 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13880 * sysdeps/alpha/ots_cvtqx.c: ... here.
13881 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13882 * sysdeps/alpha/ots_cvttx.c: ... here.
13883 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13884 * sysdeps/alpha/ots_cvtxq.c: ... here.
13885 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13886 * sysdeps/alpha/ots_cvtxt.c: ... here.
13887 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13888 * sysdeps/alpha/ots_div.c: ... here.
13889 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13890 * sysdeps/alpha/ots_mul.c: ... here.
13891 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13892 * sysdeps/alpha/ots_nintxq.c: ... here.
13893 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13894 * sysdeps/alpha/ots_sub.c: ... here.
13895 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13896 * sysdeps/alpha/sfp-machine.h: ... here.
13897
7f9f1ecb
FW
138982018-05-23 Florian Weimer <fweimer@redhat.com>
13899
13900 [BZ #19728]
13901 [BZ #19729]
13902 [BZ #22247]
13903 CVE-2016-6261
13904 CVE-2016-6263
13905 CVE-2017-14062
13906 Switch to extern IDNA implementation (libidn2).
13907 * libidn: Remove subdirectory.
13908 * LICENSES: Do not mention licensing conditions for the removed
13909 libidn code.
13910 * config.h.in (HAVE_LIBIDN): Remove.
13911 * include/dlfcn.h (__libc_dlopen): Update comment.
13912 * include/idna.h: Remove file.
13913 * inet/Makefile (routines): Add idna.
13914 (tests-static, tests-internal): Add tst-idna_name_classify.
13915 (LOCALES): Generate locales for tests.
13916 (tst-idna_name_classify.out): Depend on generated locales.
13917 * inet/idna_name_classify.c: New file.
13918 * inet/tst-idna_name_classify.c: Likewise.
13919 * inet/net-internal.h (__idna_to_dns_encoding)
13920 (__idna_from_dns_encoding): Declare.
13921 * inet/net-internal.h (enum idna_name_classification): Define.
13922 (__idna_name_classify): Declare.
13923 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13924 __idna_from_dns_encoding.
13925 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13926 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13927 name as a fallback in case of encoding errors.
13928 (getnameinfo): Use DEPRECATED_NI_IDN.
13929 * inet/idna.c: New file.
13930 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13931 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13932 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13933 (modules-names): Add tst-no-libidn2.
13934 (extra-test-objs): Add tst-no-libidn2.os.
13935 (LDFLAGS-tst-no-libidn2.so): Set soname.
13936 (LOCALES): Set, and generate locales.
13937 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13938 (tst-resolv-ai_idn-latin1): Likewise.
13939 (tst-resolv-ai_idn-nolibidn2): Likewise.
13940 (tst-resolv-ai_idn.out): Depend on locales.
13941 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13942 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13943 tst-no-libidn2.so.
13944 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13945 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13946 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13947 * resolv/tst-resolv-ai_idn.c: New file.
13948 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13949 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13950 * resolv/tst-no-libidn2.c: Likewise.
13951 * support/support_format_addrinfo.c (format_ai_flags): Do not
13952 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13953 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13954 (gaih_inet): Call __idna_to_dns_encoding and
13955 __idna_from_dns_encoding, and use the original (punycode) name if
13956 __idna_from_dns_encoding fails due to an encoding error.
13957 (getaddrinfo): Use DEPRECATED_AI_IDN.
13958 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13959 * sysdeps/unix/inet/configure: Remove file.
13960 * sysdeps/unix/inet/configure.ac: Likewise.
13961
5f7b841d
FW
139622018-05-23 Florian Weimer <fweimer@redhat.com>
13963
13964 Implement allocate_once.
13965 * include/allocate_once.h: New file.
13966 * misc/allocate_once.c: Likewise.
13967 * misc/tst-allocate_once.c: Likewise.
13968 * misc/Makefile (routines): Add allocate_once.
13969 (tests-internal): Add tst-allocate_once.
13970 (generated): Add tst-allocate_once.mtrace,
13971 tst-allocate_once-mem.out.
13972 (tests-special): Add tst-allocate_once-mem.out.
13973 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13974 (tst-allocate_once-mem.out): Call mtrace.
13975 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13976
ed983107
L
139772018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13978
13979 [BZ #23196]
13980 * string/test-memcpy.c (do_test1): New function.
13981 (test_main): Call it.
13982
9aaaab7c
AS
139832018-05-23 Andreas Schwab <schwab@suse.de>
13984
13985 [BZ #23196]
13986 CVE-2018-11237
13987 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13988 (L(preloop_large)): Save initial destination pointer in %r11 and
13989 use it instead of %rax after the loop.
13990 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13991
5c5c0dd7
JM
139922018-05-22 Joseph Myers <joseph@codesourcery.com>
13993
8f145c77
JM
13994 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13995 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13996 -I../soft-fp. Moved from ....
13997 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13998 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13999 * sysdeps/aarch64/e_sqrtl.c: ... here.
14000 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
14001 * sysdeps/aarch64/sfp-machine.h: ... here.
14002
3d6302a5
JM
14003 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
14004 -Wmaybe-uninitialized around access to fq[0].
14005 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14006 Likewise.
14007
5c5c0dd7
JM
14008 [BZ #18471]
14009 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
14010 aliases for non-libc case of versioned symbols.
14011 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
14012 (llseek): Define as compat symbol if
14013 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
14014 with link warning.
14015 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
14016 Make into a compat symbol, disabled for minimum symbol version
14017 GLIBC_2.28 and later.
14018 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
14019
ed0d6988
FW
140202018-05-22 Florian Weimer <fweimer@redhat.com>
14021
14022 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14023 not add -mpreferred-stack-boundary=4.
14024 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14025 (stack-align-test-flags): Likewise.
14026 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14027 Likewise.
14028 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14029 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14030 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14031 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14032 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14033 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14034 (CFLAGS-tst-align2.c): Likewise.
14035
e28e9b1e
L
140362018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14037
14038 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14039 (index_arch_Prefer_FSRM): Likewise.
14040 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14041 Also check Prefer_FSRM.
14042 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14043 Also return OPTIMIZE (erms) for Prefer_FSRM.
14044
1af30adc
L
140452018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14046
14047 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14048 (index_cpu_FSRM): Likewise.
14049 (reg_FSRM): Likewise.
14050
78274dc8
JM
140512018-05-18 Joseph Myers <joseph@codesourcery.com>
14052
7c67e6e8
JM
14053 * math/gen-tgmath-tests.py: Import sys.
14054 (Tests.__init__): Initialize macros_seen.
14055 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14056 if requested to do so for this macro.
14057 (Tests.add_all_tests): Take argument for macro for which to
14058 generate tests.
14059 (Tests.check_macro_list): New function.
14060 (main): Handle check-list argument and argument specifying macro
14061 for which to generate tests.
14062 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14063 [PYTHON] (tgmath3-macro-tests): Likewise.
14064 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14065 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14066 not test-tgmath3.c.
14067 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14068 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14069 to CFLAGS.
14070 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14071 [PYTHON] ($(foreach
14072 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14073 rule.
14074 [PYTHON] (tests-special): Add
14075 $(objpfx)test-tgmath3-macro-list.out.
14076 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14077
ebc129fd
JM
14078 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14079 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14080 later.
14081
78274dc8
JM
14082 [BZ #22639]
14083 * time/tzset.c (SECSPERDAY): Cast to time_t.
14084 * time/tst-y2039.c: New file.
14085 * time/Makefile (tests): Add tst-y2039.
14086
6f7fdeeb
LS
140872018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14088
14089 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14090 (PREFETCH_ONE_SET): Remove duplicate line.
14091
e363a91c
FW
140922018-05-17 Florian Weimer <fweimer@redhat.com>
14093
14094 * sysdeps/generic/math-type-macros-double.h: Include
14095 <math-nan-payload-double.h> after <libm-alias-double.h>.
14096 * sysdeps/generic/math-type-macros-float.h: Include
14097 <math-nan-payload-float.h> after <libm-alias-float.h>.
14098 * sysdeps/generic/math-type-macros-float128.h: Include
14099 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14100 * sysdeps/generic/math-type-macros-ldouble.h: Include
14101 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14102
dae6c43c
AS
141032018-05-17 Andreas Schwab <schwab@suse.de>
14104
14105 * resolv/res_send.c (__res_context_send): Don't set errno when
14106 returing error after malloc failure.
14107
0068c085
L
141082018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14109
14110 * nptl/allocatestack.c (allocate_stack): Remove the
14111 !__ASSUME_PRIVATE_FUTEX paths.
14112 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14113 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14114 Likewise.
14115 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14116 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14117 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14118 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14119 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14120 !__ASSUME_PRIVATE_FUTEX path.
14121 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14122 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14123 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14124 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14125 !__ASSUME_PRIVATE_FUTEX macros.
14126 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14127 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14128 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14129 * sysdeps/unix/sysv/linux/kernel-features.h
14130 (__ASSUME_PRIVATE_FUTEX): Removed.
14131
632a6cbe
JM
141322018-05-17 Joseph Myers <joseph@codesourcery.com>
14133
14134 * math/Makefile (libm-narrow-fns): Add div.
14135 (libm-test-funcs-narrow): Likewise.
14136 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14137 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14138 * math/gen-auto-libm-tests.c (test_functions): Add div.
14139 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14140 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14141 (NARROW_DIV_TRIVIAL): Likewise.
14142 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14143 macro.
14144 (__ddivl): Likewise.
14145 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14146 ddiv.
14147 (CFLAGS-nldbl-ddiv.c): New variable.
14148 (CFLAGS-nldbl-fdiv.c): Likewise.
14149 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14150 __nldbl_ddivl.
14151 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14152 prototype.
14153 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14154 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14155 * math/auto-libm-test-in: Add tests of div.
14156 * math/auto-libm-test-out-narrow-div: New generated file.
14157 * math/libm-test-narrow-div.inc: New file.
14158 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14161 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14162 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14163 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14164 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14165 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14166 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14167 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14168 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14169 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14170 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14171 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14172 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14173 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14174 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14175 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14177 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14178 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14179 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14180 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14181 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14182 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14183 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14185 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14186 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14187 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14188 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14194 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14195 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14196 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14200 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14202
8c78faa9
AZ
142032018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14204
14205 [BZ #23178]
14206 * nscd/nscd-client.h (sendfileall): Remove prototype.
14207 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14208 (handle_request): Use writeall instead of sendfileall.
14209 * nscd/aicache.c (addhstaiX): Likewise.
14210 * nscd/grpcache.c (cache_addgr): Likewise.
14211 * nscd/hstcache.c (cache_addhst): Likewise.
14212 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14213 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14214 * nscd/pwdcache.c (cache_addpw): Likewise.
14215 * nscd/servicescache.c (cache_addserv): Likewise.
14216 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14217 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14218 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14219 Remove define.
14220
04958880
L
142212018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14222
14223 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14224 Include <string/strncat.c>.
14225 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14226 alias.
14227 (__GI___strncat): New hidden alias.
14228
c9992d13
JM
142292018-05-16 Joseph Myers <joseph@codesourcery.com>
14230
14231 * sysdeps/mips/mips32/libm-test-ulps: Update.
14232 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14233
2afece36
FW
142342018-05-16 Florian Weimer <fweimer@redhat.com>
14235
14236 * support/Makefile (libsupport-routines): Add support_quote_blob,
14237 support_test_compare_blob.
14238 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14239 * support/check.h (TEST_COMPARE_BLOB): Define.
14240 (support_test_compare_blob): Declare.
14241 * support/support.h (support_quote_blob): Declare.
14242 * support/support_quote_blob.c: New file.
14243 * support/support_test_compare_blob.c: Likewise.
14244 * support/tst-support_quote_blob.c: Likewise.
14245 * support/tst-test_compare_blob.c: Likewise.
14246
9761bf4d
FW
142472018-05-16 Florian Weimer <fweimer@redhat.com>
14248
14249 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14250 of <strtod_nan_double.h>.
14251 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14252 instead of SET_MANTISSA.
14253 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14254 of include <strtod_nan_float.h>.
14255 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14256 instead of <strtod_nan_ldouble.h>.
14257 * stdlib/strtod_nan_double.h: Move to ...
14258 * sysdeps/generic/math-nan-payload-double.h: ... here.
14259 (FLOAT): Remove definition.
14260 (SET_MANTISSA): Rename to ...
14261 (SET_NAN_PAYLOAD): ... this.
14262 * stdlib/strtod_nan_float.h: Move to ...
14263 * sysdeps/generic/math-nan-payload-float.h: ... here.
14264 (FLOAT): Remove definition.
14265 (SET_MANTISSA): Rename to ...
14266 (SET_NAN_PAYLOAD): ... this.
14267 * sysdeps/generic/math-type-macros-double.h: Include
14268 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14269 instead of <math-svid-compat.h>.
14270 * sysdeps/generic/math-type-macros-float.h: Include
14271 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14272 instead of <math-svid-compat.h>.
14273 * sysdeps/generic/math-type-macros-float128.h: Include
14274 <math-nan-payload-float128.h>.
14275 * sysdeps/generic/math-type-macros-ldouble.h: Include
14276 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14277 instead of <math-svid-compat.h>.
14278 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14279 check for definition.
14280 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14281 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14282 Include <ieee754_float128.h>.
14283 (FLOAT): Remove definition.
14284 (SET_MANTISSA): Rename to ...
14285 (SET_NAN_PAYLOAD): ... this.
14286 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14287 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14288 Do not include <float128_private.h>.
14289 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14290 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14291 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14292 (FLOAT): Remove definition.
14293 (SET_MANTISSA): Rename to ...
14294 (SET_NAN_PAYLOAD): ... this.
14295 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14296 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14297 (FLOAT): Remove definition.
14298 (SET_MANTISSA): Rename to ...
14299 (SET_NAN_PAYLOAD): ... this.
14300 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14301 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14302 (FLOAT): Remove definition.
14303 (SET_MANTISSA): Rename to ...
14304 (SET_NAN_PAYLOAD): ... this.
14305 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14306 of "../stdlib/strtod_nan_double.h".
14307 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14308 of "../stdlib/strtod_nan_float.h".
14309 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14310 instead of "../stdlib/strtod_nan_ldouble.h".
14311 * manual/arith.texi (Parsing of Floats): Adjust comment.
14312
69a01461
JM
143132018-05-16 Joseph Myers <joseph@codesourcery.com>
14314
14315 * math/Makefile (libm-narrow-fns): Add mul.
14316 (libm-test-funcs-narrow): Likewise.
14317 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14318 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14319 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14320 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14321 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14322 (NARROW_MUL_TRIVIAL): Likewise.
14323 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14324 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14325 macro.
14326 (__dmull): Likewise.
14327 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14328 dmul.
14329 (CFLAGS-nldbl-dmul.c): New variable.
14330 (CFLAGS-nldbl-fmul.c): Likewise.
14331 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14332 __nldbl_dmull.
14333 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14334 prototype.
14335 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14336 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14337 * math/auto-libm-test-in: Add tests of mul.
14338 * math/auto-libm-test-out-narrow-mul: New generated file.
14339 * math/libm-test-narrow-mul.inc: New file.
14340 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14341 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14342 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14343 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14344 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14345 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14346 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14347 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14348 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14349 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14350 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14351 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14352 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14353 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14354 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14355 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14356 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14357 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14359 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14362 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14363 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14364 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14365 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14366 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14367 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14368 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14369 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14370 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14376 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14377 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14378 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14379 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14380 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14381 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14382 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14383 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14384
a15529fd
L
143852018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14386
14387 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14388 with *%eax in call.
14389
98ee36c7
L
143902018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14391
14392 * sysdeps/i386/ldsodefs.h: Removed.
14393 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14394 * sysdeps/x86/ldsodefs.h: This.
14395 (La_i86_regs): New.
14396 (La_i86_retval): Likewise.
14397 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14398 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14399
e322ec32
L
144002018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14401
14402 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14403 unnecessary testl.
14404
0937e209
AM
144052018-05-13 Alan Modra <amodra@gmail.com>
14406
14407 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14408 R_PARISC_TLS_DTPOFF32 reloc addend.
14409
5db7d705
TMQMF
144102018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14411
14412 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14413 * math/math.h: Restrict the prototype definition for the functions
14414 issignaling(_Float128) and iszero(_Float128); and template
14415 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14416 __HAVE_FLOAT128_UNLIKE_LDBL.
14417 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14418 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14419 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14420 __f128() constants; define the type _Float128 as long double;
14421 and reuse long double in __CFLOAT128.
14422
b4d5b8b0
JM
144232018-05-11 Joseph Myers <joseph@codesourcery.com>
14424
14425 * sysdeps/generic/math_private.h: Do not include
14426 <math-barriers.h>.
14427 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14428 <math_private.h>.
14429 * math/fromfp.h: Include <math-barriers.h>.
14430 * math/math-narrow.h: Likewise.
14431 * math/s_nextafter.c: Likewise.
14432 * math/s_nexttowardf.c: Likewise.
14433 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14434 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14435 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14436 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14437 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14438 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14439 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14440 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14441 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14442 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14443 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14444 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14445 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14446 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14447 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14448 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14449 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14450 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14451 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14452 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14453 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14454 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14455 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14456 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14457 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14458 * sysdeps/ieee754/k_standardl.c: Likewise.
14459 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14460 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14461 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14462 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14463 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14464 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14465 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14466 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14467 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14468 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14469 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14470 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14471 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14472 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14473 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14474 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14475 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14476 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14477 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14478 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14479 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14480 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14481
fc79706a
FW
144822018-05-11 Florian Weimer <fweimer@redhat.com>
14483
14484 Use 64-bit epoch values in the time zone file parser.
14485 * include/time.h (internal_time_t): Define.
14486 (__tzfile_compute): Use it.
14487 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14488 member.
14489 (transitions): Switch to internal_time_t.
14490 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14491 types.
14492 (__tzfile_compute): Use internal_time_t for timer argument. Check
14493 for truncation before calling __offtime.
14494
89aacb51
FW
144952018-05-11 Florian Weimer <fweimer@redhat.com>
14496
14497 [BZ #23166]
14498 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14499 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14500 Likewise.
14501 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14502 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14503 export without --enable-obsolete-rpc.
14504 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14505 symbol. This should not have been exported, ever.
14506
bb066cb8
RL
145072018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14508
14509 [BZ #23152]
14510 * localedata/locales/gd_GB (abmon): Fix typo in May:
14511 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14512
70c97f84
SP
145132018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14514
db725a45
SP
14515 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14516 Use multiple registers to copy data in loop tail.
14517
70c97f84
SP
14518 * sysdeps/aarch64/multiarch/memmove_falkor.S
14519 (__memmove_falkor): Use multiple registers to move data in
14520 loop tail.
14521
8f5b00d3
JM
145222018-05-10 Joseph Myers <joseph@codesourcery.com>
14523
14524 * math/math-underflow.h: New file.
14525 * sysdeps/generic/math_private.h: Do not include <float.h>.
14526 (fabs_tg): Remove macro. Moved to math-underflow.h.
14527 (min_of_type_f): Likewise.
14528 (min_of_type_): Likewise.
14529 (min_of_type_l): Likewise.
14530 (min_of_type_f128): Likewise.
14531 (min_of_type): Likewise.
14532 (math_check_force_underflow): Likewise.
14533 (math_check_force_underflow_nonneg): Likewise.
14534 (math_check_force_underflow_complex): Likewise.
14535 * math/e_exp2_template.c: Include <math-underflow.h>.
14536 * math/k_casinh_template.c: Likewise.
14537 * math/s_catan_template.c: Likewise.
14538 * math/s_catanh_template.c: Likewise.
14539 * math/s_ccosh_template.c: Likewise.
14540 * math/s_cexp_template.c: Likewise.
14541 * math/s_clog10_template.c: Likewise.
14542 * math/s_clog_template.c: Likewise.
14543 * math/s_csin_template.c: Likewise.
14544 * math/s_csinh_template.c: Likewise.
14545 * math/s_csqrt_template.c: Likewise.
14546 * math/s_ctan_template.c: Likewise.
14547 * math/s_ctanh_template.c: Likewise.
14548 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14549 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14550 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14551 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14552 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14553 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14554 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14556 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14557 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14558 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14559 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14560 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14561 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14562 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14563 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14564 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14565 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14566 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14567 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14568 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14569 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14570 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14571 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14572 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14573 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14574 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14575 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14576 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14577 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14578 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14579 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14580 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14581 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14582 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14583 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14584 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14585 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14586 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14587 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14588 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14589 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14590 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14591 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14592 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14593 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14594 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14595 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14596 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14597 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14598 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14599 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14600 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14601 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14603 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14604 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14605 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14606 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14607 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14608 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14609 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14610 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14611 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14612 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14613 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14614 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14615 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14616 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14617 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14618 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14619 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14620 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14621 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14622 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14623 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14624 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14625 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14626 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14627 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14628 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14629 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14630 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14631 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14632
9ed2e15f
JM
146332018-05-09 Joseph Myers <joseph@codesourcery.com>
14634
14635 * sysdeps/generic/math-barriers.h: New file.
14636 * sysdeps/generic/math_private.h [!math_opt_barrier]
14637 (math_opt_barrier): Move to math-barriers.h.
14638 [!math_opt_barrier] (math_force_eval): Likewise.
14639 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14640 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14641 math-barriers.h.
14642 (math_force_eval): Likewise.
14643 * sysdeps/alpha/fpu/math-barriers.h: New file.
14644 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14645 math-barriers.h.
14646 (math_force_eval): Likewise.
14647 * sysdeps/x86/fpu/math-barriers.h: New file.
14648 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14649 math-barriers.h.
14650 (math_force_eval): Likewise.
14651 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14652 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14653 multiple-include guard for rename.
14654 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14655 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14656 math-barriers.h.
14657 (math_force_eval): Likewise.
14658
5460617d
PP
146592018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14660
14661 [BZ #22786]
43d4f3d5 14662 CVE-2018-11236
5460617d
PP
14663 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14664 computation.
14665 * stdlib/Makefile (test-bz22786): New test.
14666 * stdlib/test-bz22786.c: New test.
14667
aaee3cd8
JM
146682018-05-09 Joseph Myers <joseph@codesourcery.com>
14669
14670 * include/math-narrow-eval.h: New file. Contents moved from ....
14671 * sysdeps/generic/math_private.h: ... here.
14672 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14673 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14674 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14675 * stdlib/strtod_l.c: Likewise.
14676 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14677 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14678 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14679 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14680 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14681 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14682 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14683 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14684 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14685 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14686 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14687 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14688 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14689 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14690 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14691 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14692 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14693 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14694 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14695 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14696 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14697 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14698 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14699 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14700 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14701 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14702 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14703 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14704 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14705
0555c477
AS
147062018-05-08 Andreas Schwab <schwab@suse.de>
14707
14708 * sysdeps/nptl/internaltypes.h: Fix comment.
14709
50d7d351
L
147102018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14711
14712 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14713 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14714 hidden.
14715
543477f7
SP
147162018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14717
14718 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14719 of I into loop header.
14720 * benchtests/bench-memmove-walk.c
14721 (test_main): Likewise.
14722
147232018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
14724
14725 Revert:
14726 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14727 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14728
0065aaaa
PP
147292018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14730
14731 [BZ #20419]
14732 * elf/dl-load.c (open_verify): Fix stack overflow.
14733 * elf/Makefile (tst-big-note): New test.
14734 * elf/tst-big-note-lib.S: New.
14735 * elf/tst-big-note.c: New.
14736
b289cd9d
JM
147372018-05-04 Joseph Myers <joseph@codesourcery.com>
14738
14739 * scripts/abilist.awk: Ignore absolute symbols.
14740 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14741 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14742 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14743 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14744 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14745 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14746 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14747 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14748 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14749 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14750 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14751 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14752 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14753 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14754 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14755 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14756 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14757 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14758 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14759 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14760 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14761 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14762 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14763 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14764 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14765 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14766 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14767 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14768 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14769 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14770 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14771 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14772 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14773 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14774 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14775 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14776 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14777 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14778 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14779 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14780 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14781 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14782 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14783 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14784 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14785 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14786 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14787 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14788 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14789 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14790 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14791 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14792 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14793 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14794 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14795 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14796 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14797 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14798 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14799 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14800 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14801 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14802 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14803 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14804 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14805 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14806 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14807 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14808 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14809 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14810 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14811 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14812 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14813 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14814 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14815 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14816 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14817 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14818 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14819 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14820 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14821 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14822 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14823 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14824 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14825 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14826 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14827 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14828 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14829 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14830 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14831 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14832 Likewise.
14833 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14834 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14835 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14836 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14837 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14838 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14839 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14840 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14841 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14842 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14843 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14844 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14845 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14846 Likewise.
14847 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14848 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14849 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14850 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14851 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14852 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14853 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14854 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14855 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14856 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14857 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14858 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14859 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14860 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14861 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14862 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14863 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14864 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14865 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14866 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14867 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14868 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14869 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14870 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14871 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14872 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14873 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14874 Likewise.
14875 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14876 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14877 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14878 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14879 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14880 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14881 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14882 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14883 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14884 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14885 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14886 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14887 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14888 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14889 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14890 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14891 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14892 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14893 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14894 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14895 Likewise.
14896 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14897 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14898 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14899 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14900 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14901 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14902 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14903 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14904 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14905 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14906 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14907 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14908 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14909 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14910 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14911 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14912 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14913 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14914 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14915 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14916 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14917 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14918 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14919 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14920 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14921 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14922 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14923 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14928 Likewise.
14929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14934 Likewise.
14935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14936 Likewise.
14937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14939 Likewise.
14940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14942 Likewise.
14943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14944 Likewise.
14945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14948 Likewise.
14949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14950 Likewise.
14951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14952 Likewise.
14953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14957 Likewise.
14958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14964 Likewise.
14965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14967 Likewise.
14968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14969 Likewise.
14970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14971 Likewise.
14972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14973 Likewise.
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14977 Likewise.
14978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14979 Likewise.
14980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14981 Likewise.
14982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14983 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14984 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14985 Likewise.
14986 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14987 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14988 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14989 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14990 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14991 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14992 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14993 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14994 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14995 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14996 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14997 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14998 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14999 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15000 Likewise.
15001 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15002 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
15003 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
15004 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15005 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
15006 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15007 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
15008 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
15009 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
15010 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
15011 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
15012 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15013 Likewise.
15014 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15015 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
15016 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
15017 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
15019 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15020 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15021 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15024 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15025 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15026 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15030 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15031 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15032 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15033 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15034 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15035 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15036 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15037 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15038 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15039 Likewise.
15040 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15041 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15043 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15044 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15045 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15046 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15047 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15048 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15049 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15050 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15051 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15052 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15053 Likewise.
15054 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15055 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15056 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15058 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15059 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15060 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15061 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15062 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15063 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15064 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15065 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15066 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15067 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15068 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15069 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15070 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15071 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15072 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15073 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15074 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15075 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15076 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15077 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15078 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15079 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15080 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15081 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15082 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15083 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15084 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15085 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15086 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15087 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15088 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15089 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15090 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15091 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15092
16609018
SL
150932018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15094
15095 [BZ #23137]
15096 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15097 Use atomic_load_acquire to load __tid.
15098
556f5c46
L
150992018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15100
15101 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15102 Restore the pointer into %rdx, after syscall and use %rdx,
15103 instead of %rsi, to restore context.
15104
8b8f32b2
L
151052018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15106
15107 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15108 Pop the pointer into %rdx after syscall and use %rdx, instead
15109 of %rsi, to restore context.
15110
d6cc1829
L
151112018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15112
15113 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15114 handlers after setjmp.
15115 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15116 defined.
15117 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15118 <libc-pointer-arith.h>.
15119 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15120 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15121 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15122 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15123 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15124 * sysdeps/x86/__longjmp_cancel.S: New file.
15125 * sysdeps/x86/longjmp.c: Likewise.
15126 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15127
cf2478d5
AZ
151282018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15129
15130 * NEWS: Add ustat.h deprecation entry.
15131 * bits/ustat.h: Remove file.
15132 * misc/sys/ustat.h: Likewise.
15133 * misc/ustat.h: Likewise.
15134 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15135 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15136 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15137 compatibility mode.
15138 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15139 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15140 generic Linux implementation.
15141
dc115e1c
TMQMF
151422018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15143
15144 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15145 * math/w_expl_compat.c: Likewise.
15146 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15147
6b5c8607 151482018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
15149
15150 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15151
c57bf7c1
AZ
151522018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15153
15154 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15155 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15156 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15157 Remove.
15158 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15160 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15161 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15162 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15163 and SYSCALL_LL64.
15164
06135c33
TMQMF
151652018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15166
33927914
TMQMF
15167 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15168
06135c33
TMQMF
15169 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15170 * math/w_asin_template.c: Likewise.
15171 * math/w_atanh_template.c: Likewise.
15172
3a33b069
GG
151732018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15174
15175 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15176 to powerpc/powerpc64/be for big-endian.
15177 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15178 little-endian.
15179
15180 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15181 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15182 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15183 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15184 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15185 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15186 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15187 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15188 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15189 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15190 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15191 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15192 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15193 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15194 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15195 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15196 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15197 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15198 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15199 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15200 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15201 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15202 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15203 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15204 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15205 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15206 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15207 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15208 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15209 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15210 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15211 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15212
15213 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15214 adjusted to imply powerpc64 and older processors on powerpc64/be.
15215 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15216 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15217 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15218 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15219 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15220 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15221 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15222 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15223 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15224 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15225 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15226 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15227 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15228 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15229 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15230 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15231 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15232 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15233 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15234 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15235 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15236 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15237 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15238 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15239 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15240 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15241 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15242 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15243 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15244 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15245 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15246
15247 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15248 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15249 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15250 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15251
15252 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15253 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15254 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15255 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15256
15257 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15258 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15259 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15260 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15261 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15262 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15263 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15264 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15265 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15266 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15267 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15268
15269 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15270 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15271 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15272 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15273 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15274 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15275 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15276 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15277 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15278 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15279 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15280
15281 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15282 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15283 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15284 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15285 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15286 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15287 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15288 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15289 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15290 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15291 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15292 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15293
15294 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15295 and adjusted to imply olders processors.
15296 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15297 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15298 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15299 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15300 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15301 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15302 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15303 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15304 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15305 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15306 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15307
15308 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15309 powerpc64/le.
15310 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15311 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15312
15313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15314 powerpc64le.
15315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15317
15318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15319 powerpc64/be.
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15323
15324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15325 powerpc64 and adjusted.
15326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15329 Likewise.
15330
a3fb6b6b
JM
153312018-04-27 Joseph Myers <joseph@codesourcery.com>
15332
15333 * sysdeps/tile: Remove.
15334 * sysdeps/unix/sysv/linux/tile: Likewise.
15335 * README (tilegx-*-linux-gnu): Remove from list of supported
15336 configurations.
15337 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15338 contribution of support for generic Linux kernel syscall
15339 interface.
15340 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15341 tilegx configurations.
15342 (Config.install_linux_headers): Do not handle tile.
15343 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15344 in comment.
15345 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15346 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15347 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15348 conditional undefine and redefine.
15349 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15350 in comment.
15351 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15352 conditional undefine and redefine.
15353
7a6f7478
AJ
153542018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15355
15356 * signal/tst-sigaction.c: New file to test BZ #23069.
15357 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15358
81b49e96
TMQMF
153592018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15360
15361 [BZ #22766]
15362 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15363 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15364 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15365 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15366
7d80f48e
AZ
153672018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15368
15369 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15370 _DIRENT_MATCHES_DIRENT64 is not defined.
15371 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15372 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15373 is defined.
15374 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15375 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15376
42a2bf58
JM
153772018-04-25 Joseph Myers <joseph@codesourcery.com>
15378
15379 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15380 version to GCC 8 branch.
15381
9320ca88
JM
153822018-04-24 Joseph Myers <joseph@codesourcery.com>
15383
5e14bb97
JM
15384 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15385 (check_no_hidden): Use type of original function when declaring
15386 alias.
15387
9320ca88
JM
15388 * sysdeps/unix/sysv/linux/sys/ptrace.h
15389 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15390 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15391 (struct __ptrace_seccomp_metadata): New type.
15392 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15393 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15394 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15395 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15396 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15397 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15398 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15399 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15400 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15401 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15402 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15403 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15404 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15405 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15406 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15407 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15408
af7e376b
AZ
154092018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15410
15411 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15412 defined.
15413 * dirent/versionsort.c (versionsort): Likewise.
15414 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15415 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15416 * dirent/versionsort64.c (versionsort64): Likewise.
15417 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15418 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15419 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15420 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15421 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15422 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15423 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15424 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15425 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15426 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15429 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15430 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15431
da5e0361
JM
154322018-04-23 Joseph Myers <joseph@codesourcery.com>
15433
15434 * elf/elf.h (NT_PPC_PKEY): New macro.
15435
6b5c8607 154362018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
15437
15438 [BZ #23094]
15439 * localedata/locales/hr_HR: fix thousands_sep and
15440 mon_thousands_sep
15441
573963e3
JM
154422018-04-20 Joseph Myers <joseph@codesourcery.com>
15443
15444 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15445 (XTABS): Define to TAB3.
15446
c0123b3b
AZ
154472018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15448
0900a849
AZ
15449 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15450
c0123b3b
AZ
15451 * dirent/scandir-tail-common.c: New file.
15452 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15453 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15454 * dirent/scandir.c: Use scandir-tail-common.c.
15455 * dirent/scandirat.c: Likewise.
15456 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15457 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15458 if _DIRENT_MATCHES_DIRENT64 is defined.
15459 * dirent/scandirat64.c (scandirat64): Likewise.
15460 * include/dirent.h (__scandir_tail): Only define iff
15461 _DIRENT_MATCHES_DIRENT64 is not defined.
15462 (__scandir64_tail): Define regardless.
15463 (__scandirat, scandirat64): Remove libc_hidden_proto.
15464 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15465 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15467 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15468 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15469 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15470 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15471
458b94f6
JM
154722018-04-20 Joseph Myers <joseph@codesourcery.com>
15473
15474 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15475 New macro.
15476 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15477 Increase to 24.
15478 (_dl_aarch64_cap_flags): Add asimdfhm.
15479
9f0437e8
CLT
154802018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15481
15482 * sysdeps/nios2/libm-test-ulps: Update.
15483
298d0e31
AZ
154842018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15485
50511ca4
AZ
15486 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15487 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15488
298d0e31
AZ
15489 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15490 requirements.
6b5c8607 15491 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
15492 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15493 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15494 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15495 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15496 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15497 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15498 use getdents64 syscalls as base.
15499 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15500 symbol if required.
15501 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15502 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15503 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15504 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15505 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15506 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15507 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15508 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15509 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15510 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15511 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15512
0085be14
SL
155132018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15514
15515 * scripts/test_printers_common.py (init_test): Disable lock elision.
15516
da796524
SL
155172018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15518
15519 * math/test-tgmath.c (count_double, count_float,
15520 count_ldouble, count_cdouble, count_cfloat,
15521 count_cldouble): Use volatile int.
15522
0dd25301
ST
155232018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15524
15525 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15526 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 15527 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
15528 i386-gnu.
15529 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15530 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15531 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15532 msqid_ds.msg_lrpid): Likewise.
15533 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15534 Likewise.
15535 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15536 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
15537 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15538 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15539 unsigned int.
15540 (struct statvfs64): Likewise.
f55a4fde
ST
15541 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15542 Likewise.
77b93390
ST
15543 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15544 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15545 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15546 instead of wait_queue.
15547 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15548 instead of vm_area_struct.
5cd2931a
ST
15549 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15550 struct sched_param definition to it.
e60c3f2b
ST
15551 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15552 * bits/types/struct_sched_param.h: New file.
15553 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15554 <bits/types/struct_sched_param.h> instead of <sched.h>.
15555 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
15556 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15557 generic version but include <bits/pthreadtypes.h> to make struct
15558 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
15559 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15560 non-compliant.
a564872d
ST
15561 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15562 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15563 [__USE_XOPEN] (OFDEL): New macro.
15564 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 15565 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
15566 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15567 prototypes.
15568 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15569 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
15570 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15571 non-compliant.
15572 * sysdeps/i386/sys/ucontext.h: Likewise.
15573 * sysdeps/m68k/sys/ucontext.h: Likewise.
15574 * sysdeps/mips/sys/ucontext.h: Likewise.
15575 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
15576 * sysdeps/mach/hurd/i386/Makefile
15577 (test-xfail-POSIX/fcntl.h/conform): Add.
15578 (test-xfail-POSIX/signal.h/conform): Add.
15579 (test-xfail-POSIX/semaphore.h/conform): Add.
15580 (test-xfail-POSIX/regex.h/conform): Add.
15581 (test-xfail-POSIX/aio.h/conform): Add.
15582 (test-xfail-POSIX/mqueue.h/conform): Add.
15583 (test-xfail-POSIX/sys/types.h/conform): Add.
15584 (test-xfail-UNIX98/fcntl.h/conform): Add.
15585 (test-xfail-UNIX98/netdb.h/conform): Add.
15586 (test-xfail-UNIX98/signal.h/conform): Add.
15587 (test-xfail-UNIX98/semaphore.h/conform): Add.
15588 (test-xfail-UNIX98/regex.h/conform): Add.
15589 (test-xfail-UNIX98/aio.h/conform): Add.
15590 (test-xfail-UNIX98/ftw.h/conform): Add.
15591 (test-xfail-UNIX98/mqueue.h/conform): Add.
15592 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15593 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15594 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15595 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15596 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15597 (test-xfail-UNIX98/sys/types.h/conform): Add.
15598 (test-xfail-UNIX98/stdlib.h/conform): Add.
15599 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15600 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15601 (test-xfail-POSIX2008/netdb.h/conform): Add.
15602 (test-xfail-POSIX2008/signal.h/conform): Add.
15603 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15604 (test-xfail-POSIX2008/regex.h/conform): Add.
15605 (test-xfail-POSIX2008/aio.h/conform): Add.
15606 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15607 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15608 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15609 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15610 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15611 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15612 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15613 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15614 (test-xfail-XOPEN2K/signal.h/conform): Add.
15615 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15616 (test-xfail-XOPEN2K/regex.h/conform): Add.
15617 (test-xfail-XOPEN2K/aio.h/conform): Add.
15618 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15619 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15620 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15621 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15622 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15623 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15624 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15625 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15626 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15627 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15628 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15629 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15630 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15631 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15632 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15633 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15634 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15635 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15636 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15637 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15638 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15639 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15640 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15641 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15642 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15643 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
15644 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15645 i386-gnu.
15646 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15647 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 15648
d6397de3
JM
156492018-04-18 Joseph Myers <joseph@codesourcery.com>
15650
15651 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15652 --enable-obsolete for powerpc-linux-gnuspe.
15653
8323a902
ST
156542018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15655
3dc0814c 15656 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 15657 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 15658 prototypes.
c5896a45
ST
15659 * sysdeps/mach/include/mach.h: Likewise.
15660 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15661 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 15662
743b9c2a
AZ
156632018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15664
15665 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15666 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15667 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15668 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15669
326e74e7
AS
156702018-04-16 Andreas Schwab <schwab@suse.de>
15671
15672 [BZ #19527]
15673 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15674
6b5c8607 156752018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
15676
15677 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15678 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15679
a700e7cb
DD
156802018-04-12 DJ Delorie <dj@redhat.com>
15681
15682 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15683 version to 4.16.
15684
d8abfab7
SL
156852018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15686
15687 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15688 (struct kernel_sigaction): Use the same definition on 31bit as is used
15689 on 64bit.
15690
583a27d5
FW
156912018-04-09 Florian Weimer <fweimer@redhat.com>
15692
15693 [BZ #23037]
15694 * resolv/res_send.c (send_dg): Use designated initializers instead
15695 of assignment to zero-initialize other fields of struct mmsghdr.
15696
243f59e5
AZ
156972018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15698
942de61a
AZ
15699 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15700 __READDIR_ALIAS): Undefine after usage.
15701 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15702 __READDIR_R_ALIAS): Likewise.
15703 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15704 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15705 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15706 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15707 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15708 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15709 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15710 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15711 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15712 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15713 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15714 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15715 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15716 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15717 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15718 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15719 * sysdeps/unix/sysv/linux/readdir.c: New file.
15720 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15721 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15722 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15723
243f59e5
AZ
15724 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15725
690c3475
AS
157262018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15727
15728 * manual/charset.texi (Converting a Character): Fix typo.
15729
6b5c8607 157302018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 15731
bbc2062a
AZ
15732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15733
fa7c6199
AZ
15734 * sysdeps/arm/libm-test-ulps: Update.
15735
b4a5d26d
AZ
15736 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15737 as base implementation.
15738 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15739 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15740 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15741 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15742 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15743 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15744 remove unrequired definitions and update comments.
15745 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15746 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15747 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15748 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15749 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15750 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15751 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15752 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15753 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15754 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15755 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15756 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15757 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15758 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15759 and RESET_SA_RESTORER hooks.
15760
db9e55ff
SL
157612018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15762
15763 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15764
cf138b0c
FW
157652018-04-05 Florian Weimer <fweimer@redhat.com>
15766
15767 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15768 integer overflow, memory leak on error, and indeterminate errno
15769 value. Add a null wide character to terminate the result string.
15770 * manual/charset.texi (Converting a Character): Mention embedded
15771 null bytes in the mbrtowc input string. Explain what happens in
15772 the -2 result case. Do not claim that mbrtowc is simple or
15773 obvious to use. Adjust the description of the code example. Use
15774 @code, not @var, for concrete variables.
15775
0f339252
FW
157762018-04-05 Florian Weimer <fweimer@redhat.com>
15777
15778 * manual/examples/mbstouwcs.c: New file.
15779 * manual/charset.texi (Converting a Character): Include it.
15780
e5f9508a
ST
157812018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15782
c120981d
ST
15783 * include/dirent.h (dirfd): Add hidden proto.
15784 * dirent/dirfd.c (dirfd): Add hidden def.
15785 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15786 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 15787
b2fd61ca
TMQMF
157882018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15789
15790 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15791 sin, cos and sincos to 1 ULP.
15792
10a446dd
MR
157932018-04-04 Maciej W. Rozycki <macro@mips.com>
15794
e7feec37
MR
15795 [BZ #19818]
15796 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15797 symbols.
15798 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15799 * elf/tst-absolute-sym.c: New file.
15800 * elf/tst-absolute-sym-lib.c: New file.
15801 * elf/tst-absolute-sym-lib.lds: New file.
15802 * elf/Makefile (tests): Add `tst-absolute-sym'.
15803 (modules-names): Add `tst-absolute-sym-lib'.
15804 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15805 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15806 ($(objpfx)tst-absolute-sym): New dependency.
15807
10a446dd
MR
15808 [BZ #19818]
15809 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15810 parameter.
15811 (SYMBOL_ADDRESS): New macro.
15812 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15813 SYMBOL_ADDRESS for symbol address calculation.
15814 * elf/dl-runtime.c (_dl_fixup): Likewise.
15815 (_dl_profile_fixup): Likewise.
15816 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15817 * elf/rtld.c (dl_main): Likewise.
15818 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15819 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15820 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15821 (elf_machine_rela): Likewise.
15822 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15823 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15824 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15825 (elf_machine_rela): Likewise.
15826 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15827 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15828 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15829 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15830 Likewise.
15831 (elf_machine_reloc): Likewise.
15832 (elf_machine_got_rel): Likewise.
15833 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15834 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15835 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15836 Likewise.
15837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15838 Likewise.
15839 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15840 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15841 Likewise.
15842 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15843 Likewise.
15844 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15845 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15846 Likewise.
15847 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15848 Likewise.
15849 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15850 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15851
9185f86d
ZW
158522018-04-04 Zack Weinberg <zackw@panix.com>
15853
15854 * sysdeps/generic/internal-signals.h: Include signal.h,
15855 sigsetops.h, and stdbool.h.
15856 (__libc_signal_block_all): Actually block all signals.
15857 (__libc_signal_block_app): Likewise.
15858 (__libc_signal_restore_set): Actually restore the signal mask.
15859
b07367bc
FW
158602018-04-04 Florian Weimer <fweimer@redhat.com>
15861
15862 inet: Actually build and run tst-deadline.
15863 * inet/Makefile (tests-internal): Add tst-deadline and do not
15864 overwrite the variable.
15865 (tests-static-internal): Remove variable.
15866
f2652643
L
158672018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15868
15869 [BZ #22947]
15870 * bits/uio-ext.h (RWF_APPEND): New.
15871 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15872 * manual/llio.texi: Document RWF_APPEND.
15873 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15874 (RWF_SUPPORTED): Add RWF_APPEND.
15875
6b5c8607 158762018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
15877
15878 [BZ #22391]
15879 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15880 check for internal nptl signals.
15881 * nptl/sigaction.c (__sigaction): Likewise.
15882 * signal/sigaddset.c (sigaddset): Likewise.
15883 * signal/sigdelset.c (sigdelset): Likewise.
15884 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15885 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15886 value.
15887 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15888 to filter out internal nptl signals.
15889 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15890 also check realtime signals using standard macros.
15891 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15892 __is_internal_signal, __libc_signal_block_all,
15893 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15894 * sysdeps/nptl/sigfillset.c: Remove file.
15895 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15896 Change return to bool.
15897 (__clear_internal_signals): Remove SIGTIMER clean since it is
15898 equal to SIGCANEL on Linux.
15899 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15900 signal set was constructed using standard functions.
15901
511ed56f
ST
159022018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15903
92846492
ST
15904 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15905 ifname is too long.
e8ef51b1
ST
15906 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15907 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
15908 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15909 hidden def.
15910 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
15911 * signal/sigaddset.c: Include <sigsetopts.h>.
15912 * signal/sigdelset.c: Likewise.
511ed56f 15913
e88ecbbf
WD
159142018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15915
15916 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15917 (__cos): Likewise.
15918 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15919 logic as sin and cos.
15920
aef3e255
WD
159212018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15922
15923 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15924 inputs. Return correct sign.
15925 (do_sincos): Remove small input check before do_sin, let do_sin set
15926 the sign.
15927 (__sin): Likewise.
15928 (__cos): Likewise.
15929
72f6e9a3
WD
159302018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15931
15932 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15933 (do_cos_slow): Likewise.
15934 (do_sin_slow): Likewise.
15935 (reduce_and_compute): Likewise.
15936 (slow): Likewise.
15937 (slow1): Likewise.
15938 (slow2): Likewise.
15939 (sloww): Likewise.
15940 (sloww1): Likewise.
15941 (sloww2): Likewise.
15942 (bslow): Likewise.
15943 (bslow1): Likewise.
15944 (bslow2): Likewise.
15945 (cslow2): Likewise.
15946
64909583
WD
159472018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15948
15949 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15950 (do_cos): Remove corp parameter and calculations.
15951 (do_sin): Likewise.
15952 (do_sincos): Remove cor variable.
15953 (__sin): Use do_sincos for huge inputs.
15954 (__cos): Likewise.
15955 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15956 (reduce_and_compute_sincos): Remove unused function.
15957
d9469deb
WD
159582018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15959
15960 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15961 reduce_sincos, improve accuracy to 136 bits.
15962 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15963 (__sin): Use improved reduction and simplified do_sincos calculation.
15964 (__cos): Likewise.
15965 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15966
7a5640f2
WD
159672018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15968
15969 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15970 (do_sincos_2): Likewise.
15971 (__sin): Remove middle range reduction case.
15972 (__cos): Likewise.
15973 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15974 reduction case.
15975
19a8b9a3
WD
159762018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15977
15978 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15979 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15980 inputs.
15981 (__cos): Likewise.
15982 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15983
f72aa11d
JM
159842018-04-03 Joseph Myers <joseph@codesourcery.com>
15985
15986 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 15987 version to 4.16
f72aa11d 15988
8e4754ed
AZ
159892018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15990
15991 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15992 Remove definitions.
15993 (opendir_oflags): Use O_DIRECTORY regardless.
15994 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15995 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15996
8e2666ea
ST
159972018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15998
15999 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
16000 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
16001 macros.
16002 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
16003 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
16004 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
16005 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
16006 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
16007 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 16008
ad2b41bf
ST
16009 * htl/Makefile: Bump licence to LGPL 2.1+.
16010 * htl/alloca_cutoff.c: Likewise.
16011 * htl/cthreads-compat.c: Likewise.
16012 * htl/lockfile.c: Likewise.
16013 * htl/pt-alloc.c: Likewise.
16014 * htl/pt-cancel.c: Likewise.
16015 * htl/pt-cleanup.c: Likewise.
16016 * htl/pt-create.c: Likewise.
16017 * htl/pt-dealloc.c: Likewise.
16018 * htl/pt-detach.c: Likewise.
16019 * htl/pt-exit.c: Likewise.
16020 * htl/pt-getattr.c: Likewise.
16021 * htl/pt-initialize.c: Likewise.
16022 * htl/pt-internal.h: Likewise.
16023 * htl/pt-join.c: Likewise.
16024 * htl/pt-self.c: Likewise.
16025 * htl/pt-setcancelstate.c: Likewise.
16026 * htl/pt-setcanceltype.c: Likewise.
16027 * htl/pt-sigmask.c: Likewise.
16028 * htl/pt-spin-inlines.c: Likewise.
16029 * htl/pt-testcancel.c: Likewise.
16030 * htl/pt-yield.c: Likewise.
16031 * htl/tests/test-1.c: Likewise.
16032 * htl/tests/test-10.c: Likewise.
16033 * htl/tests/test-11.c: Likewise.
16034 * htl/tests/test-12.c: Likewise.
16035 * htl/tests/test-13.c: Likewise.
16036 * htl/tests/test-14.c: Likewise.
16037 * htl/tests/test-15.c: Likewise.
16038 * htl/tests/test-16.c: Likewise.
16039 * htl/tests/test-17.c: Likewise.
16040 * htl/tests/test-2.c: Likewise.
16041 * htl/tests/test-3.c: Likewise.
16042 * htl/tests/test-4.c: Likewise.
16043 * htl/tests/test-5.c: Likewise.
16044 * htl/tests/test-6.c: Likewise.
16045 * htl/tests/test-7.c: Likewise.
16046 * htl/tests/test-8.c: Likewise.
16047 * htl/tests/test-9.c: Likewise.
16048 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16049 * sysdeps/htl/bits/cancelation.h: Likewise.
16050 * sysdeps/htl/bits/pthread-np.h: Likewise.
16051 * sysdeps/htl/bits/pthread.h: Likewise.
16052 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16053 * sysdeps/htl/bits/semaphore.h: Likewise.
16054 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16055 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16056 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16057 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16058 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16059 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16060 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16061 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16062 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16063 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16064 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16065 * sysdeps/htl/old_pt-atfork.c: Likewise.
16066 * sysdeps/htl/pt-atfork.c: Likewise.
16067 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16068 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16069 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16070 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16071 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16072 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16073 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16074 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16075 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16076 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16077 * sysdeps/htl/pt-attr-init.c: Likewise.
16078 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16079 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16080 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16081 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16082 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16083 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16084 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16085 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16086 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16087 * sysdeps/htl/pt-attr.c: Likewise.
16088 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16089 * sysdeps/htl/pt-barrier-init.c: Likewise.
16090 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16091 * sysdeps/htl/pt-barrier.c: Likewise.
16092 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16093 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16094 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16095 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16096 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16097 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16098 * sysdeps/htl/pt-cond-init.c: Likewise.
16099 * sysdeps/htl/pt-cond-signal.c: Likewise.
16100 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16101 * sysdeps/htl/pt-cond-wait.c: Likewise.
16102 * sysdeps/htl/pt-cond.c: Likewise.
16103 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16104 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16105 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16106 * sysdeps/htl/pt-condattr-init.c: Likewise.
16107 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16108 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16109 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16110 * sysdeps/htl/pt-equal.c: Likewise.
16111 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16112 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16113 * sysdeps/htl/pt-getschedparam.c: Likewise.
16114 * sysdeps/htl/pt-getspecific.c: Likewise.
16115 * sysdeps/htl/pt-init-specific.c: Likewise.
16116 * sysdeps/htl/pt-key-create.c: Likewise.
16117 * sysdeps/htl/pt-key-delete.c: Likewise.
16118 * sysdeps/htl/pt-key.h: Likewise.
16119 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16120 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16121 * sysdeps/htl/pt-mutex-init.c: Likewise.
16122 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16123 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16124 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16125 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16126 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16127 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16128 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16129 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16130 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16131 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16132 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16133 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16134 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16135 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16136 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16137 * sysdeps/htl/pt-mutexattr.c: Likewise.
16138 * sysdeps/htl/pt-once.c: Likewise.
16139 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16140 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16141 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16142 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16143 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16144 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16145 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16146 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16147 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16148 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16149 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16150 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16151 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16152 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16153 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16154 * sysdeps/htl/pt-setschedparam.c: Likewise.
16155 * sysdeps/htl/pt-setschedprio.c: Likewise.
16156 * sysdeps/htl/pt-setspecific.c: Likewise.
16157 * sysdeps/htl/pt-spin.c: Likewise.
16158 * sysdeps/htl/pt-startup.c: Likewise.
16159 * sysdeps/htl/pthread.h: Likewise.
16160 * sysdeps/htl/sem-close.c: Likewise.
16161 * sysdeps/htl/sem-destroy.c: Likewise.
16162 * sysdeps/htl/sem-getvalue.c: Likewise.
16163 * sysdeps/htl/sem-init.c: Likewise.
16164 * sysdeps/htl/sem-open.c: Likewise.
16165 * sysdeps/htl/sem-post.c: Likewise.
16166 * sysdeps/htl/sem-timedwait.c: Likewise.
16167 * sysdeps/htl/sem-trywait.c: Likewise.
16168 * sysdeps/htl/sem-unlink.c: Likewise.
16169 * sysdeps/htl/sem-wait.c: Likewise.
16170 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16171 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16172 * sysdeps/mach/htl/pt-block.c: Likewise.
16173 * sysdeps/mach/htl/pt-spin.c: Likewise.
16174 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16175 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16176 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16177 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16178 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16179 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16180 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16181 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16182 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16183 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16184 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16185 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16186 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16187 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16188 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16189 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16190 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16191 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16192 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16193 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16194 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16195 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16196 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16197 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16198 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16199 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16200 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16201 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16202 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16203 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16204 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16205 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16206 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16207 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16208 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16209 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16210 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16211 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16212 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16213 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16214 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16215 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16216 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16217
fb03b04b
ST
16218 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16219 * README: Remove the mention of out-of-tree patches needed for
16220 GNU/Hurd.
16221
fa9e1555
ST
16222 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16223 (UTIME_NOW, UTIME_OMIT): Define macros.
16224
f6fb29d2
ST
16225 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16226 instead of pthread_detach.
16227 (__cthread_fork): Call __pthread_create instead of pthread_create.
16228 (__cthread_keycreate): Call __pthread_key_create instead of
16229 pthread_key_create.
16230 (__cthread_getspecific): Call __pthread_getspecific instead of
16231 pthread_getspecific.
16232 (__cthread_setspecific): Call __pthread_setspecific instead of
16233 pthread_setspecific.
16234 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16235 __pthread_mutex_unlock instead of pthread_mutex_lock and
16236 pthread_mutex_unlock.
16237 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16238 ___pthread_get_cleanup_stack.
16239 (__pthread_get_cleanup_stack): New strong alias.
16240 * htl/pt-create.c: Include <pthreadP.h>.
16241 (entry_point): Call __pthread_exit instead of pthread_exit.
16242 (pthread_create): Rename to __pthread_create.
16243 (pthread_create): New strong alias.
16244 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16245 (pthread_detach): New strong alias.
16246 (__pthread_detach): Call __pthread_cond_broadcast instead of
16247 pthread_cond_broadcast.
fe9748cc
ST
16248 * htl/pt-exit.c: Include <pthreadP.h>.
16249 (__pthread_exit): Call __pthread_setcancelstate and
16250 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16251 __pthread_get_cleanup_stack.
f6fb29d2
ST
16252 * htl/pt-testcancel.c: Include <pthreadP.h>.
16253 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16254 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16255 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16256 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16257 pthread_attr_getstacksize.
16258 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16259 Rename to __pthread_attr_getstackaddr.
16260 (pthread_attr_getstackaddr): New strong alias.
16261 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16262 Rename to __pthread_attr_getstacksize.
16263 (pthread_attr_getstacksize): New strong alias.
16264 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16265 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16266 (pthread_attr_setstack): New strong alias.
16267 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16268 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16269 pthread_attr_getstacksize, pthread_attr_setstacksize and
16270 pthread_attr_setstackaddr.
16271 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16272 Rename to __pthread_attr_setstackaddr.
16273 (pthread_attr_setstackaddr): New strong alias.
16274 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16275 Rename to __pthread_attr_setstacksize.
16276 (pthread_attr_setstacksize): New strong alias.
16277 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16278 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16279 pthread_exit.
16280 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16281 (__pthread_key_create): New hidden def.
16282 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16283 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16284 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16285 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16286 __pthread_setspecific, __pthread_setcancelstate,
16287 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16288 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16289 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16290 declarations.
16291 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16292 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16293 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16294 (pthread_attr_setstackaddr): New strong alias.
16295 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16296 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16297 (pthread_attr_setstacksize): New strong alias.
16298 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16299 (call_exit): Call __pthread_exit instead of pthread_exit.
16300 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16301 (_pthread_mutex_init): New hidden definition.
16302 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16303 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16304 instead of pthread_attr_init and pthread_attr_setstack.
16305
dba2bdbe
ST
16306 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16307 __vm_deallocate instead of vm_allocate and vm_deallocate.
16308 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16309 setenv.
16310 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16311 of geteuid.
16312 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16313 strdup.
16314 * hurd/siginfo.c: Include <libioP.h>.
16315 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16316 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16317 munmap.
dba2bdbe
ST
16318 * mach/devstream.c: Include <libioP.h>.
16319 (dealloc_ref): Call __mach_port_deallocate instead of
16320 mach_port_deallocate.
16321 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16322 Call __mach_port_deallocate instead of mach_port_deallocate.
16323 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16324 pathconf.
16325 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16326 munmap.
16327 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16328 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16329 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16330 of munmap.
16331 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16332 of close.
16333 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16334 instead of sysconf.
16335 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16336 __clock_gettime instead of clock_gettime.
16337 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16338 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16339 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16340 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16341 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16342 tcgetattr.
16343 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16344 __clock_gettime and __nanosleep instead of clock_gettime and
16345 nanosleep.
7a8f45e3
ST
16346 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16347 __hurd_catch_signal.
16348 (hurd_catch_signal): New strong alias.
16349 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16350 __hurd_catch_signal instead of hurd_catch_signal.
16351 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16352 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16353 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16354 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16355 (_hurd_thread_sigstate): Add hidden def.
16356 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16357 mutex_unlock.
16358 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16359 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16360 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16361 __hurd_file_name_path_lookup.
16362 (hurd_file_name_path_lookup): New strong alias.
16363 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16364 hurd_file_name_path_lookup.
16365 * mach/errstring.c (mach_error_type): Add hidden def.
16366 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16367 * mach/mutex-init.c (__mutex_init): Add hidden def.
16368 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16369 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16370 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16371 * sysdeps/mach/hurd/getcwd.c
16372 (_hurd_canonicalize_directory_name_internal): Rename to
16373 __hurd_canonicalize_directory_name_internal.
16374 (_hurd_canonicalize_directory_name_internal): New strong alias.
16375 (__canonicalize_directory_name_internal, __getcwd): Call
16376 __hurd_canonicalize_directory_name_internal instead of
16377 _hurd_canonicalize_directory_name_internal.
16378 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16379 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16380 hidden defs.
16381 * sysdeps/hurd/include/hurd.h: New file.
16382 * sysdeps/hurd/include/hurd/fd.h: New file.
16383 * sysdeps/hurd/include/hurd/signal.h: New file.
16384 * sysdeps/mach/include/lock-intern.h: New file.
16385 * sysdeps/mach/include/mach.h: New file.
16386 * sysdeps/mach/include/mach/mig_support.h: New file.
16387 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
16388 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16389 prototype.
16390 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16391 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16392 _HEADER_H_HIDDEN_DEF macro.
16393 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16394 _hurd_fd_error_signal): Add hidden prototype.
16395 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16396 hidden def.
82dbf555
ST
16397 * libio/iolibio.h (_IO_puts): New hidden prototype.
16398 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
16399 * sysdeps/mach/hurd/localplt.data: New file.
16400
33574c17 164012018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
16402 Amos Jeffries <squid3@treenet.co.nz>
16403 David Michael <fedora.dm0@gmail.com>
16404 Marco Gerards <marco@gnu.org>
16405 Marcus Brinkmann <marcus@gnu.org>
16406 Neal H. Walfield <neal@gnu.org>
16407 Pino Toscano <toscano.pino@tiscali.it>
16408 Richard Braun <rbraun@sceen.net>
16409 Roland McGrath <roland@gnu.org>
16410 Samuel Thibault <samuel.thibault@ens-lyon.org>
16411 Thomas DiModica <ricinwich@yahoo.com>
16412 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
16413
16414 * htl: New directory.
16415 * sysdeps/htl: New directory.
16416 * sysdeps/hurd/htl: New directory.
16417 * sysdeps/i386/htl: New directory.
16418 * sysdeps/mach/htl: New directory.
16419 * sysdeps/mach/hurd/htl: New directory.
16420 * sysdeps/mach/hurd/i386/htl: New directory.
16421 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16422 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16423 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16424
03e2aa50
ST
164252018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16426
16427 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16428 signals in thread created for runing timers.
16429
1aa52ced
FW
164302018-04-01 Florian Weimer <fweimer@redhat.com>
16431
16432 * support/support_format_addrinfo.c (support_format_addrinfo):
16433 Include unknown error number in formatted result.
16434
4d76d3e5
FW
164352018-03-29 Florian Weimer <fweimer@redhat.com>
16436
16437 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16438 capture SIGBUS.
16439
d39c0a45
AZ
164402018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16441
16442 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16443 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16444 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16445 (__ASSUME_CLONE_BACKWARDS): Define.
16446
cc8a1620
JH
164472018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16448
57408435 16449 [BZ #23024]
cc8a1620
JH
16450 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16451 early when linux sentinel value is set.
16452
8bfd94d0
ST
164532018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16454
16455 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16456
f178e59f
AS
164572018-03-27 Andreas Schwab <schwab@suse.de>
16458
16459 [BZ #23005]
16460 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16461 allocation of private copy of nsaddr_list fails.
16462
5f45f96a
JM
164632018-03-26 Joseph Myers <joseph@codesourcery.com>
16464
16465 [BZ #16552]
16466 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16467 * sysdeps/unix/sysv/linux/umount.c: ... here.
16468 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16469 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16470 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16471 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16473 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16474 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16475
3dfd23eb
AS
164762018-03-26 Andreas Schwab <schwab@suse.de>
16477
16478 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16479 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16480 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16481 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16482 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16483 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16484 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16485 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16486 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16487 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16488 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16489 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16490 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16491 (R_RISCV_NUM): Define.
16492
fa97d2ab
ST
164932018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16494
16495 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16496 TLS declaration of errno.
37be82a0
ST
16497 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16498 __libc_setup_tls.
16499 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16500 (ARCH_SETUP_TLS): Likewise.
16501 * sysdeps/mach/hurd/libc-start.h: New file copied from
16502 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
16503 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16504 instead of __libc_setup_tls.
37be82a0 16505 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
16506 __libc_setup_tls before initializing libpthread and running _hurd_init
16507 which starts the signal thread.
16508 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16509 Declare function.
2d813d7b 16510 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 16511
b8114edd
L
165122018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16513
16514 [BZ #22998]
16515 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16516 after it is defined.
16517
cd66c0e5
AS
165182018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16519 Max Horn <max@quendi.de>
16520
16521 [BZ #22644]
43d4f3d5 16522 CVE-2017-18269
cd66c0e5
AS
16523 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16524 branch conditions.
16525 * string/test-memmove.c (do_test2): New testcase.
16526
a4406139
JM
165272018-03-22 Joseph Myers <joseph@codesourcery.com>
16528
16529 * sysdeps/generic/frame.h: Remove file.
16530 * sysdeps/arm/frame.h: Likewise.
16531 * sysdeps/hppa/frame.h: Likewise.
16532 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16533 macro.
16534 (GET_FRAME): Likewise.
16535 (GET_STACK): Likewise.
16536 (CALL_SIGHANDLER): Likewise.
16537 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16538 Likewise.
16539 (GET_FRAME): Likewise.
16540 (GET_STACK): Likewise.
16541 (CALL_SIGHANDLER): Likewise.
16542 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16543 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16544 (GET_FRAME): Likewise.
16545 (GET_STACK): Likewise.
16546 (CALL_SIGHANDLER): Likewise.
16547 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16548 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16549 (GET_FRAME): Likewise.
16550 (GET_STACK): Likewise.
16551 (ADVANCE_STACK_FRAME): Likewise.
16552 (CALL_SIGHANDLER): Likewise.
16553 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16554 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16555 (GET_FRAME): Likewise.
16556 (GET_STACK): Likewise.
16557 (CALL_SIGHANDLER): Likewise.
16558 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16559 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16560 (GET_FRAME): Likewise.
16561 (GET_STACK): Likewise.
16562 (CALL_SIGHANDLER): Likewise.
16563 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16564 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16565 (GET_FRAME): Likewise.
16566 (GET_STACK): Likewise.
16567 (CALL_SIGHANDLER): Likewise.
16568 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16569 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16570 (GET_FRAME): Likewise.
16571 (GET_STACK): Likewise.
16572 (CALL_SIGHANDLER): Likewise.
16573 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16574 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16575 (GET_FRAME): Likewise.
16576 (GET_STACK): Likewise.
16577 (CALL_SIGHANDLER): Likewise.
16578 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16579 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16580 (GET_FRAME): Likewise.
16581 (GET_STACK): Likewise.
16582 (CALL_SIGHANDLER): Likewise.
16583 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16584 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16585 (GET_FRAME): Likewise.
16586 (GET_STACK): Likewise.
16587 (CALL_SIGHANDLER): Likewise.
16588 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16589 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16590 (GET_FRAME): Likewise.
16591 (GET_STACK): Likewise.
16592 (CALL_SIGHANDLER): Likewise.
16593 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16594 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16595 (GET_FRAME): Likewise.
16596 (GET_STACK): Likewise.
16597 (CALL_SIGHANDLER): Likewise.
16598 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16599 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16600 (FIRST_FRAME_POINTER): Likewise.
16601 (ADVANCE_STACK_FRAME): Likewise.
16602 (GET_STACK): Likewise.
16603 (GET_FRAME): Likewise.
16604 (CALL_SIGHANDLER): Likewise.
16605 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16606 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16607 (ADVANCE_STACK_FRAME): Likewise.
16608 (GET_STACK): Likewise.
16609 (GET_FRAME): Likewise.
16610 (CALL_SIGHANDLER): Likewise.
16611 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16612 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16613 (GET_FRAME): Likewise.
16614 (GET_STACK): Likewise.
16615 (CALL_SIGHANDLER): Likewise.
16616 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16617 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16618 (GET_FRAME): Likewise.
16619 (GET_STACK): Likewise.
16620 (CALL_SIGHANDLER): Likewise.
16621
ffec7b27
JM
166222018-03-21 Joseph Myers <joseph@codesourcery.com>
16623
16624 * sysdeps/x86_64/backtrace.c: Move to ....
16625 * debug/backtrace.c: ... here.
16626 * sysdeps/aarch64/backtrace.c: Remove file.
16627 * sysdeps/alpha/backtrace.c: Likewise.
16628 * sysdeps/hppa/backtrace.c: Likewise.
16629 * sysdeps/ia64/backtrace.c: Likewise.
16630 * sysdeps/mips/backtrace.c: Likewise.
16631 * sysdeps/nios2/backtrace.c: Likewise.
16632 * sysdeps/riscv/backtrace.c: Likewise.
16633 * sysdeps/sh/backtrace.c: Likewise.
16634 * sysdeps/tile/backtrace.c: Likewise.
16635
8a07b0c4
JM
166362018-03-20 Joseph Myers <joseph@codesourcery.com>
16637
d0c5d731
JM
16638 [BZ #22987]
16639 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16640 function.
16641 (fdimf): Likewise.
16642 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16643
8a07b0c4
JM
16644 [BZ #17343]
16645 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16646 possibly overflowing computations.
16647
ceb54b9b
ST
166482018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16649
16650 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16651 values from Linux-specific section now that it is in the GNU section.
16652 * sysdeps/gnu/errlist.c: Regenerate.
16653
8d3f9e85
JM
166542018-03-20 Joseph Myers <joseph@codesourcery.com>
16655
16656 * math/Makefile (libm-narrow-fns): Add sub.
16657 (libm-test-funcs-narrow): Likewise.
16658 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16659 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16660 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16661 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16662 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16663 (NARROW_SUB_TRIVIAL): Likewise.
16664 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16665 macro.
16666 (__dsubl): Likewise.
16667 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16668 dsub.
16669 (CFLAGS-nldbl-dsub.c): New variable.
16670 (CFLAGS-nldbl-fsub.c): Likewise.
16671 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16672 __nldbl_dsubl.
16673 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16674 prototype.
16675 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16676 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16677 * math/auto-libm-test-in: Add tests of sub.
16678 * math/auto-libm-test-out-narrow-sub: New generated file.
16679 * math/libm-test-narrow-sub.inc: New file.
16680 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16681 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16682 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16683 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16684 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16685 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16686 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16687 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16688 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16689 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16690 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16691 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16692 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16693 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16694 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16695 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16696 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16697 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16699 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16700 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16701 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16702 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16703 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16704 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16705 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16706 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16707 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16708 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16709 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16710 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16711 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16716 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16717 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16718 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16719 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16720 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16721 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16722 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16723 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16724 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16725 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16726
d473f015
JM
167272018-03-19 Joseph Myers <joseph@codesourcery.com>
16728
16729 [BZ #20079]
16730 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16731
fbce6f72
WD
167322018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16733
16734 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16735
72e7ffc3
RB
167362018-03-18 Richard Braun <rbraun@sceen.net>
16737
16738 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16739 thread reference.
16740
542c20a1
AA
167412018-03-18 Agustina Arzille <avarzille@riseup.net>
16742
16743 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16744 (__libc_cleanup_fct): Define function.
16745 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16746 __libc_cleanup_end): Rewrite implementation using
16747 __attribute__ ((__cleanup__)).
16748 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
16749 * hurd/Makefile (routines): Add hurdlock.
16750 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16751 interface.
16752 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16753 * hurd/hurdpid.c: Include <lowlevellock.h>
16754 (_S_msg_proc_newids): Use lll_wait to synchronize.
16755 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16756 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16757 * mach/Makefile (lock-headers): Remove machine-lock.h.
16758 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16759 <machine-lock.h>.
16760 (__spin_lock_t): New type.
16761 (__SPIN_LOCK_INITIALIZER): New macro.
16762 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16763 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16764 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16765 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16766 (__mutex_init): Initialize with lll.
16767 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16768 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16769 needing lll.
16770 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16771 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16772 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16773 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16774 (__setpgid): Use lll for synchronization.
16775 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16776 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16777 instead of <cthreads.h>.
16778 (_IO_lock_inexpensive): New macro
16779 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16780 (__libc_lock_self0): New declaration.
16781 (__libc_lock_owner_self): New macro.
16782 (__libc_key_t): Remove type.
16783 (_LIBC_LOCK_INITIALIZER): New macro.
16784 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16785 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16786 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16787 __libc_lock_define_initialized_recursive,
16788 __rtld_lock_define_initialized_recursive,
16789 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16790 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16791 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16792 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16793 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16794 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16795 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16796 New macros.
16797 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16798 * hurd/hurdlock.c: New file.
16799 * hurd/hurdlock.h: New file.
16800 * mach/lowlevellock.h: New file
542c20a1 16801
9a37922e
ST
168022018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16803
16804 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
16805 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16806 when opening a symlink with O_NOFOLLOW.
72103e73
ST
16807 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16808 path when flags contains O_NOFOLLOW.
16809 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16810 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
16811 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16812 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
16813 * sysdeps/mach/hurd/mlockall.c: New file.
16814 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 16815
34e6a869
ST
168162018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16817
16818 * hurd/hurdsig.c: Include <pthread.h>.
16819 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16820 get the signal thread stack layout.
dc33bef3
ST
16821 * hurd/Makefile (headers): Remove threadvar.h.
16822 (inline-headers): Remove threadvar.h.
16823 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16824 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16825 __hurd_threadvar_max, __hurd_errno_location.
16826 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16827 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16828 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16829 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16830 unless TLS is not initialized yet, in which case we do not need a
16831 critical section yet anyway.
16832 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16833 <machine-sp.h>.
16834 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16835 declarations.
16836 (__hurd_threadvar_index): Remove enum.
16837 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16838 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16839 inlines.
16840 (__hurd_reply_port0): New variable declaration.
16841 (__hurd_local_reply_port): New macro.
16842 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16843 (interrupted_reply_port_location): Add thread_t parameter. Use it
16844 with THREAD_TCB to access thread-local variables.
16845 (_hurdsig_abort_rpcs): Pass ss->thread to
16846 interrupted_reply_port_location.
16847 (_hurd_internal_post_signal): Likewise.
16848 (_hurdsig_init): Use presence of cthread_fork instead of
16849 __hurd_threadvar_stack_mask to start signal thread by hand.
16850 Remove signal thread threadvar initialization.
16851 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16852 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16853 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16854 of threadvar.
16855 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16856 __libc_lock_self0.
16857 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16858 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16859 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16860 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16861 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16862 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16863 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16864 define variables.
16865 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16866 <hurd/threadvar.h>.
16867 [IS_IN(rtld)] (rtld_errno): New variable.
16868 [IS_IN(rtld)] (__errno_location): New weak function.
16869 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16870 * sysdeps/mach/hurd/errno.c: Remove file.
16871 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16872 (__fork): Remove THREADVAR_SPACE macro and its use.
16873 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16874 variable.
16875 (init): Do not initialize threadvar.
16876 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16877 symbol.
16878 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16879 __hurd_local_reply_port instead of threadvar.
16880 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16881 _hurd_sigstate fields.
16882 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16883 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16884 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16885 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16886 instead of threadvar.
16887 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16888 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16889 (use_threadvar, global_reply_port): Remove variables.
16890 (__hurd_reply_port0): New variable.
16891 (__mig_get_reply_port): Use __hurd_local_reply_port and
16892 __hurd_reply_port0 instead of threadvar.
16893 (__mig_dealloc_reply_port): Likewise.
16894 (__mig_init): Do not initialize threadvar.
16895 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
16896 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16897 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16898 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16899 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16900 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16901 __cthread_setspecific.
16902 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16903 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16904 __cthread_t instead of cthread_fork, cthread_detach,
16905 pthread_getattr_np, pthread_attr_getstack.
16906 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16907 __cthread_keycreate.
16908 (cthread_getspecific): Rename to __cthread_getspecific.
16909 (cthread_setspecific): Rename to __cthread_setspecific.
16910 (__libc_getspecific): Use __cthread_getspecific instead of
16911 cthread_getspecific.
16912 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16913 __cthread_keycreate instead of cthread_keycreate.
16914 (__libc_setspecific): Use __cthread_setspecific instead of
16915 cthread_setspecific.
16916 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16917 Likewise.
dd28d4ba
ST
16918 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16919 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16920 testing whether it is defined.
34e6a869 16921
f8baf2a2
ST
169222018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16923
16924 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16925 Define macro.
16926 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16927 * sysdeps/mach/i386/thread_state.h
16928 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16929 i386_THREAD_STATE.
16930 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16931 i386_THREAD_STATE.
16932 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16933
16934 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16935 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16936
16937 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16938 macros.
16939 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16940 descriptor instead of creating a new one.
16941 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16942
16943 * mach/setup-thread.c: Include <ldsodefs.h>.
16944 (__mach_setup_thread): Call _dl_allocate_tls, pass
16945 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16946 MACHINE_THREAD_STATE_FLAVOR, before getting
16947 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16948 MACHINE_THREAD_STATE_FLAVOR with the result.
16949 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16950 MACHINE_THREAD_STATE_FIX_NEW.
16951 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16952 too. Add original thread parameter.
16953
34ba96b8
JM
169542018-03-16 Joseph Myers <joseph@codesourcery.com>
16955
5d75b75f
JM
16956 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16957 Remove inline function.
16958
34ba96b8
JM
16959 * sysdeps/i386/fpu/libm-test-ulps: Update.
16960 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16961
22679b2c
WD
169622018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16963
16964 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16965 commit.
16966
c429a8d8
JM
169672018-03-15 Joseph Myers <joseph@codesourcery.com>
16968
16969 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16970 (__sincos_code): Remove define and undefine.
16971 [__FAST_MATH__] (__sincos): Remove inline function.
16972 [__FAST_MATH__] (__sincosf): Remove inline function.
16973 [__FAST_MATH__] (__sincosl): Remove inline function.
16974 (__atan2l): Remove inline functions.
16975 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16976 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16977 function.
16978 (floor): Remove inline function.
16979 (ceil): Likewise.
16980 [__FAST_MATH__] (__ldexp_code): Remove macro.
16981 [__FAST_MATH__] (ldexp): Remove inline function.
16982 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16983 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16984 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16985 [__USE_ISOC99] (__lrint_code): Remove macro.
16986 [__USE_ISOC99] (__llrint_code): Likewise.
16987 [__USE_ISOC99] (lrintf): Remove inline function.
16988 [__USE_ISOC99] (lrint): Likewise.
16989 [__USE_ISOC99] (lrintl): Likewise.
16990 [__USE_ISOC99] (llrint): Likewise.
16991 [__USE_ISOC99] (llrintf): Likewise.
16992 [__USE_ISOC99] (llrintl): Likewise.
16993
700593fd
WD
169942018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16995
16996 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16997 (__ieee754_sqrtf): Remove.
16998 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16999 (__ieee754_sqrtf): Remove.
17000 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
17001 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17002 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
17003 (__ieee754_sqrtf): Remove.
17004 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
17005 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
17006 (sqrtf): Remove.
17007 (sqrtl): Remove.
17008 (__ieee754_sqrt): Remove.
17009 (__ieee754_sqrtf): Remove.
17010 (__ieee754_sqrtl): Remove.
17011 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17012 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
17013 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
17014 (__ieee754_sqrtf): Remove.
17015 (__ieee754_sqrtl): Remove.
17016
f67a8147
WD
170172018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17018
17019 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17020 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17021 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17022 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17023 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17024 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17025 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17026 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17027 Likewise.
17028 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17029 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17030 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17031 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17032 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17033 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17034 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17035 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17036 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17037 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17038 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17039 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17040 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17041 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17042 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17043 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17044 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17045 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17046 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17047 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17048 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17049 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17050 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17051 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17052 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17053 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17054 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17055 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17056 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17057 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17058 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17059 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17060 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17061 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17062 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17063 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17064 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17065 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17066 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17067 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17068
1294b189
WD
170692018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17070
17071 * include/math.h (sqrt): Declare with asm redirect.
17072 (sqrtf): Likewise.
17073 (sqrtl): Likewise.
17074 (sqrtf128): Likewise.
17075 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17076 nonlib and libnldbl with -fmath-errno.
17077 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17078 * math/w_sqrt_template.c: Likewise.
17079 * math/w_sqrtf_compat.c: Likewise.
17080 * math/w_sqrtl_compat.c: Likewise.
17081 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17082 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17083 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17084 complex.h.
17085
f1c8185d
WD
170862018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17087
17088 * benchtests/Makefile: Define _ISOMAC.
17089 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17090 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17091 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17092 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17093 * benchtests/bench-timing.h: Define attribute_hidden.
17094
b47c3e76
SP
170952018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17096
17097 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17098 mov + lsr.
17099
807fee29
RL
171002018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17101
17102 [BZ #22963]
17103 * localedata/locales/cs_CZ (mon): Rename to...
17104 (alt_mon): This.
17105 (mon): Import from CLDR (genitive case).
17106
e7155a28
RL
171072018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17108
17109 [BZ #22937]
17110 * localedata/locales/el_CY (abmon): Rename to...
17111 (ab_alt_mon): This.
17112 (abmon): Import from CLDR (abbreviated genitive case).
17113 * localedata/locales/el_GR (abmon): Rename to...
17114 (ab_alt_mon): This.
17115 (abmon): Import from CLDR (abbreviated genitive case).
17116
71d7b121
RL
171172018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17118
17119 [BZ #22932]
17120 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17121
a00bffe8
RB
171222018-03-15 Robert Buj <robert.buj@gmail.com>
17123
17124 [BZ #22848]
17125 * localedata/locales/ca_ES (abmon): Rename to...
17126 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17127 (mon): Rename to...
17128 (alt_mon): This.
17129 (abmon): Import from CLDR (genitive case, month names preceded by
17130 "de" or "d’").
17131 (mon): Likewise.
17132 (abday): Synchronize with CLDR.
17133 (d_t_fmt): Likewise.
17134 (d_fmt): Likewise.
17135 (am_pm): Likewise.
17136
17137 (LC_TIME): Improve indentation.
17138 (LC_TELEPHONE): Likewise.
17139 (LC_NAME): Likewise.
17140 (LC_ADDRESS): Likewise.
17141
f9555d73
JM
171422018-03-14 Joseph Myers <joseph@codesourcery.com>
17143
17144 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17145 (lrintf): Remove definitions used only with old GCC.
17146 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17147 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17148 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17149 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17150 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17151 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17152 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17153 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17154 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17155 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17156 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17157 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17158 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17159 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17160 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17161 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17162 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17163 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17164 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17165 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17166 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17167 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17168 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17169 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17170 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17171 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17172 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17173 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17174
d46f84de
SP
171752018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17176
17177 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17178 instruction to unbreak builds with binutils 2.26 and older.
17179
7108f1f9
SP
171802018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17181
17182 * sysdeps/aarch64/strncmp.S (count): New macro.
17183 (strncmp): Store misaligned length in SRC1 in COUNT.
17184 (mutual_align): Adjust.
17185 (misaligned8): Load dword at a time when it is safe.
17186
2cc7bad0
ZW
171872018-03-12 Zack Weinberg <zackw@panix.com>
17188
17189 [BZ #1190]
17190 [BZ #19476]
17191 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17192 if the _IO_EOF_SEEN bit is already set; update commentary.
17193 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17194 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17195
17196 * support/support_openpty.c, support/tty.h: New files.
17197 * support/Makefile (libsupport-routines): Add support_openpty.
17198
17199 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17200 New test cases.
17201 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17202 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17203
778f1974
DL
172042018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17205
17206 * po/pt_BR.po: Update translations.
17207
6b5c8607 172082018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
17209
17210 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17211 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17212 get a port to the startup server.
17213
d3da750d
ZW
172142018-03-11 Zack Weinberg <zackw@panix.com>
17215
17216 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17217 before nldbl-compat.h.
17218
054b72cc
ZW
172192018-03-10 Zack Weinberg <zackw@panix.com>
17220
0d13dfa1
ZW
17221 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17222 math.h or math_private.h.
17223
17224 * sysdeps/alpha/fpu/s_isnan.c
17225 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17226 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17227 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17228 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17229 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17230 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17231 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17232 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17233 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17236 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17237 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17238 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17239 Include math_private.h.
17240
17241 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17242 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17243 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17244 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17245 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17246 * sysdeps/powerpc/power7/fpu/s_logb.c:
17247 Include math.h and math_private.h.
17248
054b72cc
ZW
17249 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17250 uses of $at in .set noat / .set at.
17251
6253bacd
L
172522018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17253
17254 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17255 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17256 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17257 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17258 Likewise.
17259
229855e5
FW
172602018-03-09 Florian Weimer <fweimer@redhat.com>
17261
17262 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17263 in comment.
17264
9aa5c222
AJ
172652018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17266
17267 [BZ #22919]
17268 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17269 Add nop before __startcontext, add explaining comments.
17270
3dc21497
AZ
172712018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17272
e921c89e
AZ
17273 [BZ #22926]
17274 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17275 empty for __SPE__.
17276 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17277 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17278 Do not build hardware transactional code for __SPE__.
17279 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17280 (__lll_trylock_elision): Likewise.
17281 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17282 (__lll_unlock_elision): Likewise.
17283
d9f26dab 17284 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
17285 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17286 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17287 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17288 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17289 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17290 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17291 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17292 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17293 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17294 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17295 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17296 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17297 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17298 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17299 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17300 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17301 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17302 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17303 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17304 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17305 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17306 (__ASSUME_CLONE_BACKWARDS): Define.
17307 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17308 __clone2 if __NR_clone2 is defined.
17309 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17310 (__ASSUME_CLONE_BACKWARDS): Likewise.
17311 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17312 (__ASSUME_CLONE_BACKWARDS): Likewise.
17313 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17314 (__ASSUME_CLONE2): Likewise.
17315 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17316 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17317 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17318 variants and the define architecture can use.
17319 (__ASSUME_CLONE_DEFAULT): Define as default.
17320 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17321 (__ASSUME_CLONE_BACKWARDS): Likewise.
17322 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17323 (__ASSUME_CLONE_BACKWARDS): Likewise.
17324 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17325 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17326
adc95fb0
SP
173272018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17328
4e54d918
SP
17329 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17330
30a81dae
SP
17331 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17332 time.
17333
adc95fb0
SP
17334 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17335 (do_test_limit): Likewise.
17336
17337 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17338 for every implementation.
17339 (do_test): Likewise.
17340
17341 * benchtests/bench-strncmp.c: Convert output to json.
17342
4e9066bc
ST
173432018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17344
17345 * io/futimens.c: Add missing start-of-file descriptive comment.
17346 * io/utime.c: Likewise.
17347 * misc/futimesat.c: Likewise.
17348 * misc/utimes.c: Likewise.
17349 * sysdeps/mach/hurd/futimesat.c: Likewise.
17350 * sysdeps/mach/hurd/utimes.c: Likewise.
17351 * sysdeps/posix/utime.c: Likewise.
17352 * sysdeps/posix/utimes.c: Likewise.
17353 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17354 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17355 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17356 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17357
ec1300cf
ST
173582018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17359
17360 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17361 hurd_futimes.
17362 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17363 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17364 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17365 (__futimens): Move implementation to...
17366 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17367 utime_tvalue_from_tspec): ... new helper functions.
17368 (hurd_futimens): New function.
17369 * sysdeps/mach/hurd/futimesat.c: New file.
17370 * sysdeps/mach/hurd/utimensat.c: New file.
17371
bbe762d1
FC
173722018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17373
17374 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17375 UTIME_OMIT): New macros.
17376 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17377 before reverting to converting time spec to time value and calling
17378 __file_utimes.
17379 * sysdeps/mach/hurd/utime-helper.c: New file.
17380 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17381 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17382 reverting to utime_tvalue_from_tval and __file_utimes.
17383 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17384 (__lutimes): Just call hurd_futimens after lookup.
17385 * sysdeps/mach/hurd/utimes.c: Likewise.
17386
a1ede3a4
ST
173872018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17388
17389 * bits/sigaction.h: Add include guard.
17390 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17391 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17392 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17393 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17394 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17395 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17396 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17397 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17398 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17399
6900d2ca
JM
174002018-03-05 Joseph Myers <joseph@codesourcery.com>
17401
17402 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17403 -Wmaybe-uninitialized for -Os.
17404 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17405 this disabling.
17406
68448be2
AZ
174072018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17408
5226a81f
AZ
17409 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17410 __INO_T_MATCHES_INO64_T is defined.
17411 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17412 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17413 of definition.
17414 * dirent/alphasort64.c: Likewise.
17415 * dirent/scandir.c: Likewise.
17416 * dirent/scandir64-tail.c: Likewise.
17417 * dirent/scandir64.c: Likewise.
17418 * dirent/scandirat.c: Likewise.
17419 * dirent/scandirat64.c: Likewise.
17420 * dirent/versionsort.c: Likewise.
17421 * dirent/versionsort64.c: Likewise.
17422 * include/dirent.h: Likewise.
17423
fbd01e6c
AZ
17424 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17425 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17426 for socketpair endpoint.
17427 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17428 WRITE_BUFFER_SIZE as buffer size for sending socket.
17429 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17430 issue on system where send is implemented with sendto syscall.
17431 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17432 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17433 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17434 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17435
68448be2
AZ
17436 [BZ #21269]
17437 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17438 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17439 sa_restorer for vDSO case.
17440 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17441
eb1ca47e
ST
174422018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17443
17444 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
17445 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17446 * hurd/hurd/ioctl.h: Include <mach/port.h>
17447 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
17448 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17449 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
17450 (headers): Move mach/param.h to bits/mach/param.h.
17451 * sysdeps/mach/i386/mach/param.h: Move file to ...
17452 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17453 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17454 of <mach/param.h>.
3403cb7d
ST
17455 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17456 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17457 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
17458 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17459 trivial, for C++ conformity.
44c6376c 17460 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
17461 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17462 Process mig output through $(migheadersed).
17463 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
17464 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17465 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17466 headers.
ba89615d
ST
17467 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17468 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17469 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17470 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17471 <bits/types/sigset_t.h>.
17472 [!defined __USE_GNU]: Do not #error out.
17473 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17474 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17475 Include <stddef.h> and <bits/types/sigset_t.h>
17476 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17477 instead of sighandler_t.
974393ea
ST
17478 * stdlib/errno.h (error_t): Move definition to...
17479 * bits/types/error_t.h: ... new header.
17480 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17481 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17482 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17483 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17484 * hurd/hurd.h: Include <bits/types/error_t.h>
17485 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17486 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17487 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17488 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17489 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17490 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 17491 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 17492
eaf6753f
AS
174932018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17494
17495 [BZ #22918]
17496 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17497 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17498 * nscd/gai.c (__nss_hosts_database): Readd definition.
17499 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17500 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17501 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17502
4dc23804
JM
175032018-03-02 Joseph Myers <joseph@codesourcery.com>
17504
17505 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17506 (ifunc_one): Likewise.
17507
1c81d55f
DD
175082018-03-01 DJ Delorie <dj@delorie.com>
17509
17510 [BZ #22342]
17511 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17512 key value.
17513
b717c14f
MR
175142018-03-01 Maciej W. Rozycki <macro@mips.com>
17515
17516 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17517 `match_pid' parameter.
17518 (td_ta_thr_iter): Update accordingly.
17519
1efe1358
FW
175202018-03-01 Florian Weimer <fweimer@redhat.com>
17521
17522 * nptl/Makefile (install-lib-ldscripts): Remove.
17523 (install): Remove rule.
17524 ($(inst_libdir)/libpthread.so): Likewise.
17525
a527f09c
MF
175262018-03-01 Mike FABIAN <mfabian@redhat.com>
17527
17528 [BZ #22896]
17529 * localedata/locales/an_ES: update month and day names,
17530 improve d_fmt, improve postal_fmt, add country_post,
17531 add country_isbn
17532
35d660b0
MF
175332018-03-01 Mike FABIAN <mfabian@redhat.com>
17534
17535 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17536 Ukrainian instead of Bulgarian.
17537
1a2f44a8
FW
175382018-03-01 Florian Weimer <fweimer@redhat.com>
17539
17540 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17541 reference.
17542
bd60ce86
FW
175432018-03-01 Florian Weimer <fweimer@redhat.com>
17544
17545 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17546 * nptl/Makefile (routines): Add pthread_atfork.
17547 (static-only-routines): Set to pthread_atfork.
17548 (libpthread-routines): Remove pthread_atfork.
17549 (libpthread-static-only-routines): Remove.
17550 (install): Update comment.
17551 (libpthread.so): Do not install libpthread_nonshared.a.
17552 (tests): Do not link with libpthread_nonshared.a.
17553 (generated): Remove libpthread_nonshared.a.
17554 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17555 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17556 with libpthread_nonshared.a.
17557
000f290f
JM
175582018-02-28 Joseph Myers <joseph@codesourcery.com>
17559
e2bcf6a8
JM
17560 [BZ #22902]
17561 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17562 (libc_feholdexcept_setroundf128): New macro.
17563 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17564
000f290f
JM
17565 [BZ #15105]
17566 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17567 libc_hidden_def.
17568 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17569 * include/inttypes.h: New file.
17570
02f2fead
JM
175712018-02-27 Joseph Myers <joseph@codesourcery.com>
17572
17573 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17574 -Os in two more places.
17575
874c56d7
MF
175762018-02-27 Mike FABIAN <mfabian@redhat.com>
17577
17578 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17579 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17580 be sorted correctly at the moment because of a bug.
17581
15973854
MF
175822018-02-27 Mike FABIAN <mfabian@redhat.com>
17583
17584 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17585 treat ñ as a primary different character, sync the collation
17586 for Spanish with CLDR.
17587 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17588 * localedata/Makefile: Add new test files.
17589 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17590 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17591 collation order.
17592 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17593 * localedata/am_ET.UTF-8.in: New test file.
17594 * localedata/az_AZ.UTF-8.in: Likewise.
17595 * localedata/be_BY.UTF-8.in: Likewise.
17596 * localedata/ber_DZ.UTF-8.in: Likewise.
17597 * localedata/ber_MA.UTF-8.in: Likewise.
17598 * localedata/bg_BG.UTF-8.in: Likewise.
17599 * localedata/br_FR.UTF-8.in: Likewise.
17600 * localedata/cmn_TW.UTF-8.in: Likewise.
17601 * localedata/crh_UA.UTF-8.in: Likewise.
17602 * localedata/csb_PL.UTF-8.in: Likewise.
17603 * localedata/cv_RU.UTF-8.in: Likewise.
17604 * localedata/cy_GB.UTF-8.in: Likewise.
17605 * localedata/dz_BT.UTF-8.in: Likewise.
17606 * localedata/eo.UTF-8.in: Likewise.
17607 * localedata/es_ES.UTF-8.in: Likewise.
17608 * localedata/fa_IR.UTF-8.in: Likewise.
17609 * localedata/fi_FI.UTF-8.in: Likewise.
17610 * localedata/fil_PH.UTF-8.in: Likewise.
17611 * localedata/fur_IT.UTF-8.in: Likewise.
17612 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17613 * localedata/ha_NG.UTF-8.in: Likewise.
17614 * localedata/ig_NG.UTF-8.in: Likewise.
17615 * localedata/ik_CA.UTF-8.in: Likewise.
17616 * localedata/kk_KZ.UTF-8.in: Likewise.
17617 * localedata/ku_TR.UTF-8.in: Likewise.
17618 * localedata/ky_KG.UTF-8.in: Likewise.
17619 * localedata/ln_CD.UTF-8.in: Likewise.
17620 * localedata/mi_NZ.UTF-8.in: Likewise.
17621 * localedata/ml_IN.UTF-8.in: Likewise.
17622 * localedata/mn_MN.UTF-8.in: Likewise.
17623 * localedata/mr_IN.UTF-8.in: Likewise.
17624 * localedata/mt_MT.UTF-8.in: Likewise.
17625 * localedata/nb_NO.UTF-8.in: Likewise.
17626 * localedata/om_KE.UTF-8.in: Likewise.
17627 * localedata/os_RU.UTF-8.in: Likewise.
17628 * localedata/ps_AF.UTF-8.in: Likewise.
17629 * localedata/ro_RO.UTF-8.in: Likewise.
17630 * localedata/ru_RU.UTF-8.in: Likewise.
17631 * localedata/sc_IT.UTF-8.in: Likewise.
17632 * localedata/se_NO.UTF-8.in: Likewise.
17633 * localedata/sq_AL.UTF-8.in: Likewise.
17634 * localedata/sv_SE.UTF-8.in: Likewise.
17635 * localedata/szl_PL.UTF-8.in: Likewise.
17636 * localedata/tg_TJ.UTF-8.in: Likewise.
17637 * localedata/tk_TM.UTF-8.in: Likewise.
17638 * localedata/tt_RU.UTF-8.in: Likewise.
17639 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17640 * localedata/ug_CN.UTF-8.in: Likewise.
17641 * localedata/uz_UZ.UTF-8.in: Likewise.
17642 * localedata/vi_VN.UTF-8.in: Likewise.
17643 * localedata/yi_US.UTF-8.in: Likewise.
17644 * localedata/yo_NG.UTF-8.in: Likewise.
17645 * localedata/zh_CN.UTF-8.in: Likewise.
17646 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17647 file and fix bugs in the collation.
17648 * localedata/locales/az_AZ: Likewise.
17649 * localedata/locales/be_BY: Likewise.
17650 * localedata/locales/ber_DZ: Likewise.
17651 * localedata/locales/ber_MA: Likewise.
17652 * localedata/locales/bg_BG: Likewise.
17653 * localedata/locales/br_FR: Likewise.
17654 * localedata/locales/br_FR@euro: Likewise.
17655 * localedata/locales/ca_ES: Likewise.
17656 * localedata/locales/cns11643_stroke: Likewise.
17657 * localedata/locales/crh_UA: Likewise.
17658 * localedata/locales/cs_CZ: Likewise.
17659 * localedata/locales/csb_PL: Likewise.
17660 * localedata/locales/cv_RU: Likewise.
17661 * localedata/locales/cy_GB: Likewise.
17662 * localedata/locales/da_DK: Likewise.
17663 * localedata/locales/dz_BT: Likewise.
17664 * localedata/locales/en_CA: Likewise.
17665 * localedata/locales/eo: Likewise.
17666 * localedata/locales/es_CU: Likewise.
17667 * localedata/locales/es_EC: Likewise.
17668 * localedata/locales/es_ES: Likewise.
17669 * localedata/locales/es_US: Likewise.
17670 * localedata/locales/et_EE: Likewise.
17671 * localedata/locales/fa_IR: Likewise.
17672 * localedata/locales/fi_FI: Likewise.
17673 * localedata/locales/fil_PH: Likewise.
17674 * localedata/locales/fur_IT: Likewise.
17675 * localedata/locales/gez_ER@abegede: Likewise.
17676 * localedata/locales/ha_NG: Likewise.
17677 * localedata/locales/hr_HR: Likewise.
17678 * localedata/locales/hsb_DE: Likewise.
17679 * localedata/locales/hu_HU: Likewise.
17680 * localedata/locales/ig_NG: Likewise.
17681 * localedata/locales/ik_CA: Likewise.
17682 * localedata/locales/is_IS: Likewise.
17683 * localedata/locales/iso14651_t1_pinyin: Likewise.
17684 * localedata/locales/kk_KZ: Likewise.
17685 * localedata/locales/ku_TR: Likewise.
17686 * localedata/locales/ky_KG: Likewise.
17687 * localedata/locales/ln_CD: Likewise.
17688 * localedata/locales/lt_LT: Likewise.
17689 * localedata/locales/lv_LV: Likewise.
17690 * localedata/locales/mi_NZ: Likewise.
17691 * localedata/locales/ml_IN: Likewise.
17692 * localedata/locales/mn_MN: Likewise.
17693 * localedata/locales/mr_IN: Likewise.
17694 * localedata/locales/mt_MT: Likewise.
17695 * localedata/locales/nb_NO: Likewise.
17696 * localedata/locales/om_KE: Likewise.
17697 * localedata/locales/os_RU: Likewise.
17698 * localedata/locales/pl_PL: Likewise.
17699 * localedata/locales/ps_AF: Likewise.
17700 * localedata/locales/ro_RO: Likewise.
17701 * localedata/locales/ru_RU: Likewise.
17702 * localedata/locales/ru_UA: Likewise.
17703 * localedata/locales/sc_IT: Likewise.
17704 * localedata/locales/se_NO: Likewise.
17705 * localedata/locales/si_LK: Likewise.
17706 * localedata/locales/sq_AL: Likewise.
17707 * localedata/locales/sv_FI: Likewise.
17708 * localedata/locales/sv_FI@euro: Likewise.
17709 * localedata/locales/sv_SE: Likewise.
17710 * localedata/locales/szl_PL: Likewise.
17711 * localedata/locales/tg_TJ: Likewise.
17712 * localedata/locales/ti_ER: Likewise.
17713 * localedata/locales/tk_TM: Likewise.
17714 * localedata/locales/tl_PH: Likewise.
17715 * localedata/locales/tr_TR: Likewise.
17716 * localedata/locales/tt_RU: Likewise.
17717 * localedata/locales/tt_RU@iqtelif: Likewise.
17718 * localedata/locales/ug_CN: Likewise.
17719 * localedata/locales/uk_UA: Likewise.
17720 * localedata/locales/uz_UZ: Likewise.
17721 * localedata/locales/uz_UZ@cyrillic: Likewise.
17722 * localedata/locales/vi_VN: Likewise.
17723 * localedata/locales/yi_US: Likewise.
17724 * localedata/locales/yo_NG: Likewise.
17725
ce6636b0
MF
177262018-02-27 Mike FABIAN <mfabian@redhat.com>
17727
17728 * gen-locales.mk: Make test files which contain @ modifiers in their
17729 name work.
17730 * localedata/gen-locale.sh: Likewise.
17731
ac3a3b4b
MF
177322018-02-27 Mike FABIAN <mfabian@redhat.com>
17733
17734 * posix/tst-fnmatch.input: Fix results for range expressions
17735 for non C locales.
17736 * posix/tst-regexloc.c: Do not use a range expression for
17737 de_DE.ISO-8859-1 locale.
17738
770cbe14
MF
177392018-02-27 Mike FABIAN <mfabian@redhat.com>
17740
17741 * posix/bug-regex5.c: Fix test case because with the new
17742 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17743 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17744 file.
17745
0fc355d9
MF
177462018-02-27 Mike FABIAN <mfabian@redhat.com>
17747
17748 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17749 downloaded from ISO, the collation order of @-. and space has changed.
17750 Therefore, this test file needed to be adapted.
17751 * localedata/fr_CA.UTF-8.in: Likewise.
17752 * localedata/fr_FR.UTF-8.in: Likewise.
17753 * localedata/uk_UA.UTF-8.in: Likewise.
17754
43f3893f
MF
177552018-02-27 Mike FABIAN <mfabian@redhat.com>
17756
17757 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17758 order of ȥ in the new iso14651_t1_common file.
17759 * localedata/pl_PL.UTF-8.in: Likewise.
17760
df74ef78
MF
177612018-02-27 Mike FABIAN <mfabian@redhat.com>
17762
17763 * localedata/locales/iso14651_t1_common: Add sections for various
17764 scripts to the iso14651_t1_common file.
17765
d5adfbad
MF
177662018-02-27 Mike FABIAN <mfabian@redhat.com>
17767
17768 * localedata/locales/iso14651_t1_common: Use the code point of a
17769 character in the fourth collation level instead of IGNORE for all
17770 entries which have IGNORE on all 4 levels.
17771
5f5a9610
MF
177722018-02-27 Mike FABIAN <mfabian@redhat.com>
17773
17774 * localedata/locales/iso14651_t1_common: Add some convenient collation
17775 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17776 rules similar to those in CLDR.
17777
8a97e900
MF
177782018-02-27 Mike FABIAN <mfabian@redhat.com>
17779
17780 * localedata/locales/iso14651_t1_common: The new version of this
17781 file downloaded from ISO contained several syntax errors which
17782 are fixed by this patch.
17783
bbdd2fba
MF
177842018-02-27 Mike FABIAN <mfabian@redhat.com>
17785
17786 * localedata/locales/iso14651_t1_common: replace all <U.....>
17787 with <U000.....> because glibc understands only 4 digit or 8 digit
17788
1569e551
MF
177892018-02-27 Mike FABIAN <mfabian@redhat.com>
17790
17791 * localedata/locales/iso14651_t1_common: Necessary changes
17792 to make the file downloaded from ISO usable by glibc.
17793
9479b6d5
MF
177942018-02-27 Mike FABIAN <mfabian@redhat.com>
17795
17796 [BZ #14095]
17797 * localedata/locales/iso14651_t1_common: Update file to
17798 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17799
03b540b3
ST
178002018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17801
17802 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17803 of <nptl/pthreadP.h>
17804 (thread_attr_compare): Move function to...
eb937a52 17805 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 17806 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 17807 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 17808
20602c72
JM
178092018-02-26 Joseph Myers <joseph@codesourcery.com>
17810
f54d8f73
JM
17811 * string/strcoll_l.c: Include <libc-diag.h>.
17812 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17813 declarations of seq1 and seq2.
17814
20602c72
JM
17815 [BZ #15105]
17816 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17817 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17818
f5f473a9
DL
178192018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17820
17821 [BZ #22433]
17822 [BZ #22807]
17823 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17824 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17825 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17826 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17827 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17828 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17829
398c6fdd
TMQMF
178302018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17831
17832 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17833 macros used in __ptrace_request.
17834
f5d1f629
L
178352018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17836
17837 [BZ #22792]
17838 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17839 to $(CC).
17840 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17841 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17842 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17843 <tcb-offsets.h>.
17844
54412d20
JM
178452018-02-23 Joseph Myers <joseph@codesourcery.com>
17846
17847 [BZ #15105]
17848 * ctype/ctype.c (tolower): Use libc_hidden_def.
17849 (toupper): Likewise.
17850 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17851 [!_ISOMAC] (toupper): Likewise.
17852
81be4b5e
MF
178532018-02-23 Mike FABIAN <mfabian@redhat.com>
17854
17855 * localedata/Makefile: Remove --quiet argument when
17856 installing locales
17857
9d5cfd8e
MF
178582018-02-23 Mike FABIAN <mfabian@redhat.com>
17859
17860 [BZ #17438]
17861 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17862 in d_fmt.
17863 * localedata/locales/pt_PT (LC_TIME): likewise
17864
6c7269f3
MF
178652018-02-23 Mike FABIAN <mfabian@redhat.com>
17866
17867 [BZ #22646]
17868 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17869 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17870 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17871
92aabad9
AZ
178722018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17873
4cdc25a4
AZ
17874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17875
27761a10
AZ
17876 * nptl/Makefile (routines): Remove unregister-atfork.
17877 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17878 (fork_handler_alloc): Remove function.
17879 (fork_handlers, fork_handler_init): New variables.
17880 (__fork_lock): Rename to atfork_lock.
17881 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17882 to use a dynamic array to add/remove atfork handlers.
17883 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17884 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17885 Remove declaration.
17886 (fork_handler): Remove next, refcntr, and need_signal member.
17887 (__run_fork_handler_type): New enum.
17888 (__run_fork_handlers): New prototype.
17889 * nptl/register-atfork.c: Remove file.
17890 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17891
92aabad9
AZ
17892 * sysdeps/nptl/nptl-signals.h: Move to ...
17893 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17894 comments.
17895 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17896 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17897 unnecessary check for SIGTIMER.
17898 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17899 remove unnecessary removal of SIGTIMER.
17900 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17901 include-signals.h rename.
17902 * nptl/pthreadP.h: Likewise.
17903 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17904 __is_internal_signal instead of __nptl_is_internal_signal.
17905
6b5c8607 179062018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 17907
7e04eb29 17908 [BZ # 22884]
fdcc6253
AW
17909 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17910 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17911 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17912 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17913
8090720a
DD
179142018-02-22 DJ Delorie <dj@delorie.com>
17915
17916 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17917
6ca24c43
SP
179182018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17919
17920 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17921 do_misaligned, not misaligned8.
17922
e9537ddd
SE
179232018-02-22 Steve Ellcey <sellcey@cavium.com>
17924
17925 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17926 Add memcpy_thunderx2.
17927 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17928 Increment to 4.
17929 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17930 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17931 and IS_THUNDERX2PA checks.
17932 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17933 Use macro to set name appropriately.
17934 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17935 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17936 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17937 New macro.
17938 (IS_THUNDERX2): New macro.
17939
6e336476
SL
179402018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17941
17942 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17943
34957904
ZW
179442018-02-21 Zack Weinberg <zackw@panix.com>
17945
30bfee26
ZW
17946 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17947 Define here, unconditionally.
17948 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17949 * libio/libioP.h: Remove #if 0 blocks.
17950 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17951 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17952 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17953
17954 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17955 Assume weak_alias is always defined.
17956
17957 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17958 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17959 Remove #if 0 and #ifdef TODO blocks.
17960 Assume text_set_element is always defined.
17961
17962 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17963 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17964 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17965
df6c012b
ZW
17966 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17967 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17968 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17969 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17970 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17971 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17972 Reformat bit flags for _flags field to make occupancy clearer.
17973 Update commentary.
17974 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17975 Keep definitions consistent with those in libio/libio.h.
17976
17977 * libio/libio.h (_IO_file_flags): Remove macro.
17978 All uses changed to _flags.
17979
177aad3f
ZW
17980 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17981 (__HAVE_COLUMN, _IO_BE): Don't define.
17982 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17983 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17984 * libio/libioP.h (EOF): Don't define.
17985 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17986 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17987 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17988 testing _IO_UNIFIED_JUMPTABLES.
17989
9964a145
ZW
17990 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17991 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17992 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17993 (_IO_size_t): Delete; all uses changed to size_t.
17994 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17995 (_IO_off_t): Delete; all uses changed to off_t.
17996 (_IO_off64_t): Delete; all uses changed to off64_t.
17997 (_IO_pid_t): Delete; all uses changed to pid_t.
17998 (_IO_uid_t): Delete; all uses changed to uid_t.
17999 (_IO_wint_t): Delete; all uses changed to wint_t.
18000 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
18001 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
18002 (_IO_cookie_io_functions_t): Delete; all uses changed to
18003 cookie_io_functions_t.
18004 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
18005 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
18006 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
18007 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
18008
18009 * libio/iofopncook.c: Remove unnecessary forward declarations.
18010 * libio/iolibio.h: Correct outdated commentary.
18011 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
18012 * stdio-common/fxprintf.c (__fxprintf_nocancel):
18013 Remove unnecessary casts.
18014 * stdio-common/getline.c: Use _IO_getdelim directly.
18015 Don't redefine ssize_t.
18016 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
18017 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
18018 Remove outdated comments.
18019 * stdio-common/vfscanf.c: Don't redefine va_list.
18020
34957904
ZW
18021 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18022 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18023 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18024 which are always true, and __cplusplus, which is always false.
18025
30ac923d
JM
180262018-02-21 Joseph Myers <joseph@codesourcery.com>
18027
039c721a
JM
18028 [BZ #15105]
18029 [BZ #19463]
18030 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18031 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18032 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18033 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18034 libc_hidden_proto.
18035 [!_ISOMAC] (putc_unlocked): Likewise.
18036 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18037 define inline if [__USE_EXTERN_INLINES].
18038 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18039 putc_unlocked.
18040
30ac923d
JM
18041 [BZ #15105]
18042 [BZ #19463]
18043 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18044 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18045 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18046 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18047 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18048 getc_unlocked.
18049 * time/tzfile.c (__tzfile_read): Likewise.
18050
7ec5f946
MF
180512018-02-21 Mike FABIAN <mfabian@redhat.com>
18052
18053 [BZ #22517]
18054 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18055
0d217f40
RJ
180562018-02-21 Rical Jasan <ricaljasan@pacific.net>
18057
18058 * io/fcntl.h: Fix a typo in a comment.
18059
862b4502
RJ
180602018-02-21 Rical Jasan <ricaljasan@pacific.net>
18061
18062 [BZ #22862]
18063 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18064 define _DEFAULT_SOURCE.
18065 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18066
999a6dab
FW
180672018-02-21 Florian Weimer <fweimer@redhat.com>
18068
18069 [BZ #20890]
18070 * elf/cache.c (save_cache): Call fsync on temporary file before
18071 renaming it.
18072 (save_aux_cache): Call fdatasync on temporary file before renaming
18073 it.
18074
52a01100
FW
180752018-02-21 Florian Weimer <fweimer@redhat.com>
18076
18077 [BZ #22787]
18078 * include/caller.h: Remove file.
18079 * elf/dl-caller.c: Likewise.
18080 * elf/Makefile (dl-routines): Remove dl-caller.
18081 (shared-only-routines): Do not add dl-caller.
18082 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18083 __check_caller.
18084 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18085 member.
18086 (dl_open_worker): Do not call __check_caller.
18087 (_dl_open): Do not set caller_dl_open member.
18088 * elf/rtld.c (_rtld_global_ro): Do not initialize
18089 _dl_check_caller member.
18090 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18091 _dl_check_caller member.
18092 (_dl_check_caller): Remove declaration.
18093 * sysdeps/unix/sysv/linux/dl-execstack.c
18094 (_dl_make_stack_executable): Do not call __check_caller.
18095
b5bf62e4
ST
180962018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18097
18098 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 18099 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 18100
e8d190b9
RJ
181012018-02-20 Rical Jasan <ricaljasan@pacific.net>
18102
18103 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18104 description.
18105
6a3962c4
RJ
181062018-02-20 Rical Jasan <ricaljasan@pacific.net>
18107
da81ae64 18108 [BZ #16335]
6a3962c4
RJ
18109 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18110 of 199606L, 200112L, and 200809L.
18111 (_XOPEN_SOURCE): Document special values of 600 and 700.
18112 (_ISOC11_SOURCE): Document macro.
18113 (_ATFILE_SOURCE): Likewise.
18114 (_FORTIFY_SOURCE): Likewise.
18115
ec481ad8
JM
181162018-02-19 Joseph Myers <joseph@codesourcery.com>
18117
18118 [BZ #15105]
18119 [BZ #19463]
18120 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18121 and define as weak alias of __ferror_unlocked. Use
18122 libc_hidden_weak.
18123 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18124 libc_hidden_proto.
18125 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18126 function if [__USE_EXTERN_INLINES].
18127 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18128 ferror_unlocked.
18129
7d15ef84
RJ
181302018-02-19 Rical Jasan <ricaljasan@pacific.net>
18131
18132 [BZ #6889]
18133 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18134
f8d79582
AJ
181352018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18136
18137 [BZ #22818]
18138 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18139 the GLIBC_2.1 version.
18140
56456a2a
AJ
181412018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18142
18143 [BZ #21508]
18144 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18145 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18146 intl/tst-gettext-de.po from po/de.po by removing the
18147 POT-Creation-Date line.
18148 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18149 ../po/de.po.
18150 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18151 ../po/de.po.
18152
13768813
ST
181532018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18154
18155 * mach/Makefile (headers): Add mach/param.h.
18156 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18157 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
18158 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18159 (__ptsname_r): Move implementation to...
18160 (__ptsname_internal): ... new function. Add filling the STP
18161 structure.
13768813 18162
6aca1b61
JDA
181632018-02-17 John David Anglin <danglin@gcc.gnu.org>
18164
18165 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18166 idouble to 1 ULP.
18167
16efad51
RJ
181682018-02-16 Rical Jasan <ricaljasan@pacific.net>
18169
18170 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18171 syntax.
18172
87245073
SL
181732018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18174
18175 * nptl/Makefile (tst-mutex8-ENV): Delete.
18176 * nptl/tst-mutex8.c (check_type):
18177 Add runtime check if mutex will be elided.
18178
7fc03cf3
JM
181792018-02-15 Joseph Myers <joseph@codesourcery.com>
18180
db9881ec
JM
18181 [BZ #20980]
18182 [BZ #21234]
18183 * manual/install.texi (Configuring and compiling): Describe
18184 passing CC and CFLAGS on configure command line, not as
18185 environment variables. Use @code markup on those variables.
18186 Specify what options go in CC and what go in CFLAGS. Note the
18187 requirement to compile with optimization.
18188 * INSTALL: Regenerated.
18189
3785b31c
JM
18190 [BZ #18124]
18191 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18192 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18193 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18194 __sigprocmask instead of sigprocmask.
18195 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18196 Likewise.
18197 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18198 __sigsetjmp and sigprocmask.
18199
055ac2a7
JM
18200 [BZ #15105]
18201 * include/argz.h (argz_next): Use libc_hidden_proto.
18202 (__argz_next): Likewise.
18203 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18204 (argz_next): Use libc_hidden_weak.
18205
e4452a2d
JM
18206 [BZ #15105]
18207 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18208 libc_hidden_proto.
18209 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18210 libc_hidden_def.
18211
499b3153
JM
18212 [BZ #15105]
18213 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18214 libc_hidden_proto.
18215 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18216
7fc03cf3
JM
18217 [BZ #15105]
18218 [BZ #19463]
18219 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18220 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18221 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18222 (__feof_unlocked): New declaration, and inline function if
18223 [__USE_EXTERN_INLINES].
18224 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18225 instead of feof_unlocked.
18226 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18227 * nss/nsswitch.c (nss_parse_file): Likewise.
18228 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18229 Likewise.
18230 * time/getdate.c (__getdate_r): Likewise.
18231 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18232 Define as macro to call __feof_unlocked.
18233
0c8a67a5
WD
182342018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18235
18236 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18237
610ee1fc
WD
182382018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18239
18240 * math/Makefile: Remove mpexp.c and mplog.c
18241 * sysdeps/i386/fpu/mpexp.c: Delete file.
18242 * sysdeps/i386/fpu/mplog.c: Likewise.
18243 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18244 * sysdeps/ia64/fpu/mplog.c: Likewise.
18245 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18246 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18247 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18248 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18249 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18250 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18251 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18252 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18253 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18254 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18255 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18256 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18257 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18258 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18259 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18260 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18261
8e7196c8
SL
182622018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18263
18264 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18265
4f55ad0b
AZ
182662018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18267
18268 * sysdeps/sh/libm-test-ulps: Update.
18269
261a851c
TMQMF
182702018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18271
18272 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18273 idouble to 1 ULP.
18274
e16deca6
ZW
182752018-02-12 Zack Weinberg <zackw@panix.com>
18276
18277 [BZ #19239]
18278 * posix/sys/types.h: Don't include sys/sysmacros.h.
18279 * misc/sys/sysmacros.h: Remove the conditional deprecation
18280 warnings for the macros defined by this header.
18281
de800d83
SN
182822018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18283
18284 * manual/probes.texi: Remove slowexp probes.
18285 * math/Makefile: Remove slowexp.
18286 * sysdeps/generic/math_private.h (__slowexp): Remove.
18287 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18288 document error bounds.
18289 * sysdeps/i386/fpu/slowexp.c: Remove.
18290 * sysdeps/ia64/fpu/slowexp.c: Remove.
18291 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18292 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18293 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18294 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18295 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18296 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18297 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18298 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18299 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18300 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18301 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18302
c3d466cb
WD
183032018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18304
18305 [BZ #13932]
18306 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18307 * benchtests/pow-inputs: Update comment for slow path cases.
18308 * manual/probes.texi (slowpow_p10): Delete removed probe.
18309 (slowpow_p10): Likewise.
18310 * math/Makefile: Remove halfulp.c and slowpow.c.
18311 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18312 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18313 (__halfulp): Remove.
18314 (__slowpow): Remove.
18315 * sysdeps/i386/fpu/halfulp.c: Delete file.
18316 * sysdeps/i386/fpu/slowpow.c: Likewise.
18317 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18318 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18319 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18320 improve comments and add error analysis.
18321 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18322 (power1): Remove function:
18323 (log1): Remove error argument, add error analysis.
18324 (my_log2): Remove function.
18325 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18326 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18327 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18328 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18329 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18330 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18331 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18332 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18333 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18334 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18335 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18336 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18337 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18338 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18339
7bb087bd
ST
183402018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18341
18342 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18343 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18344
2fd4bbaa
DL
183452018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18346
18347 [BZ #22433]
18348 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18349 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18350 and PTRACE_SETHBPREGS.
18351
402ecba4
ZW
183522018-02-10 Zack Weinberg <zackw@panix.com>
18353
18354 [BZ #22830]
18355 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18356 correctly.
18357 * malloc/tst-malloc-stats-cancellation.c: New test case.
18358 * malloc/Makefile: Add new test case.
18359
4f5b921e
WD
183602018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18361
18362 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18363
a85b70db
JM
183642018-02-10 Joseph Myers <joseph@codesourcery.com>
18365
d8742dd8
JM
18366 * math/Makefile (libm-narrow-fns): Add add.
18367 (libm-test-funcs-narrow): Likewise.
18368 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18369 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18370 * math/gen-auto-libm-tests.c (test_functions): Add add.
18371 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18372 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18373 (NARROW_ADD_TRIVIAL): Likewise.
18374 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18375 macro.
18376 (__daddl): Likewise.
18377 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18378 dadd.
18379 (CFLAGS-nldbl-dadd.c): New variable.
18380 (CFLAGS-nldbl-fadd.c): Likewise.
18381 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18382 __nldbl_daddl.
18383 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18384 prototype.
18385 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18386 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18387 * math/auto-libm-test-in: Add tests of add.
18388 * math/auto-libm-test-out-narrow-add: New generated file.
18389 * math/libm-test-narrow-add.inc: New file.
18390 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18391 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18392 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18393 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18394 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18395 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18396 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18397 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18398 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18399 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18400 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18401 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18402 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18403 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18404 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18405 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18406 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18407 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18409 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18410 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18411 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18412 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18413 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18414 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18415 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18416 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18417 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18418 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18419 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18420 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18421 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18426 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18427 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18428 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18429 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18430 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18431 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18432 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18433 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18434 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18435 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18436
a85b70db
JM
18437 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18438 (f128-pairs): New variable.
18439 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18440 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18441 to CFLAGS.
18442 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18443 Also make tests add $(f128-loader-link) to gnulib-tests.
18444
6a1ff640
DD
184452018-02-09 DJ Delorie <dj@redhat.com>
18446
18447 [BZ #22827]
18448 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18449 64-bit ELF type for 64-bit ELF objects.
18450
bfd47587
JM
184512018-02-09 Joseph Myers <joseph@codesourcery.com>
18452
31958338
JM
18453 * math/libm-test-driver.c (snan_tests_arg): New variable.
18454 * math/libm-test-support.h (snan_tests_arg): New declaration.
18455 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18456
8e554659
JM
18457 * math/Makefile (test-type-pairs): New variable.
18458 (test-type-pairs-f64xf128-yes): Likewise.
18459 (tests): Add test-narrow-macros.
18460 (libm-test-funcs-narrow): New variable.
18461 (libm-test-c-narrow): Likewise.
18462 (generated): Add $(libm-test-c-narrow).
18463 (libm-tests-base-narrow): New variable.
18464 (libm-tests-narrow): Likewise.
18465 (libm-tests): Add $(libm-tests-narrow).
18466 (libm-tests-for-type): Handle $(libm-tests-narrow).
18467 (libm-test-c-narrow-obj): New variable.
18468 ($(libm-test-c-narrow-obj)): New rule.
18469 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18470 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18471 $(o-iterator) to set dependencies and CFLAGS.
18472 * math/gen-auto-libm-tests.c: Document use for narrowing
18473 functions.
18474 (output_for_one_input_case): Take argument NARROW.
18475 (generate_output): Likewise. Update call to
18476 output_for_one_input_case.
18477 (main): Take --narrow option. Update call to generate_output.
18478 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18479 (apply_lit): Update call to _apply_lit.
18480 (apply_arglit): New function.
18481 (parse_args): Handle "a" arguments.
18482 (parse_auto_input): Handle format names using ":".
18483 * math/README.libm-test: Document "a" parameter type.
18484 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18485 (ARG_TYPE_TRUE_MIN): Likewise.
18486 (ARG_TYPE_MAX): Likwise.
18487 (ARG_MIN_EXP): Likewise.
18488 (ARG_MAX_EXP): Likewise.
18489 (ARG_MANT_DIG): Likewise.
18490 (TEST_COND_arg_ibm128): Likewise.
18491 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18492 (TEST_COND_arg_fmt): New macro.
18493 (init_max_error): Update prototype.
18494 * math/libm-test-support.c (test_ibm128): New variable.
18495 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18496 instead of using [TEST_COND_ibm128] conditional.
18497 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18498 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18499 [TEST_NARROW] (TEST_MSG): New definition.
18500 (arg_plus_zero): New macro.
18501 (arg_minus_zero): Likewise.
18502 (arg_plus_infty): Likewise.
18503 (arg_minus_infty): Likewise.
18504 (arg_qnan_value_pl): Likewise.
18505 (arg_qnan_value): Likewise.
18506 (arg_snan_value_pl): Likewise.
18507 (arg_snan_value): Likewise.
18508 (arg_max_value): Likewise.
18509 (arg_min_value): Likewise.
18510 (arg_min_subnorm_value): Likewise.
18511 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18512 (RUN_TEST_LOOP_aa_f): New macro.
18513 (TEST_SUFF): New macro.
18514 (TEST_SUFF_STR): Likewise.
18515 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18516 (TEST_COND_any_ibm128): New macro.
18517 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18518 this_func. Update call to init_max_error.
18519 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18520 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18521 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18522 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18523 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18524 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18525 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18526 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18527 * math/test-math-vector.h (TEST_NARROW): Likewise.
18528 * math/test-arg-double.h: New file.
18529 * math/test-arg-float128.h: Likewise.
18530 * math/test-arg-float32x.h: Likewise.
18531 * math/test-arg-float64.h: Likewise.
18532 * math/test-arg-float64x.h: Likewise.
18533 * math/test-arg-ldouble.h: Likewise.
18534 * math/test-math-narrow.h: Likewise.
18535 * math/test-narrow-macros.c: Likewise.
18536 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18537 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18538 test-narrow-macros-ldbl-64.
18539 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18540
63716ab2
JM
18541 * math/bits/mathcalls-narrow.h: New file.
18542 * include/bits/mathcalls-narrow.h: Likewise.
18543 * math/math-narrow.h: Likewise.
18544 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18545 (__MATHCALL_NARROW_ARGS_2): Likewise.
18546 (__MATHCALL_NARROW_ARGS_3): Likewise.
18547 (__MATHCALL_NARROW_NORMAL): Likewise.
18548 (__MATHCALL_NARROW_REDIR): Likewise.
18549 (__MATHCALL_NARROW): Likewise.
18550 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18551 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18552 defined.
18553 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18554 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18555 (libm-narrow-fns): New variable.
18556 (libm-narrow-types-basic): Likewise.
18557 (libm-narrow-types-ldouble-yes): Likewise.
18558 (libm-narrow-types-float128-yes): Likewise.
18559 (libm-narrow-types-float128-alias-yes): Likewise.
18560 (libm-narrow-types): Likewise.
18561 (libm-routines): Add narrowing functions.
18562 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18563 (libc_feholdexcept_setroundf128): New macro.
18564 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18565 * sysdeps/ieee754/float128/float128_private.h: Include
18566 <math/math-narrow.h>.
18567 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18568 Undefine and redefine.
18569 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18570 (libm_alias_float_ldouble): Undefine and redefine.
18571 (libm_alias_double_ldouble): Likewise.
18572
bfd47587
JM
18573 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18574
3f8d9d58
WD
185752018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18576
18577 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18578 FPCR/FPSR.
18579
1f6676d7
RJ
185802018-02-09 Rical Jasan <ricaljasan@pacific.net>
18581
18582 * manual/creature.texi: Convert references to gcc.info to gcc.
18583 * manual/stdio.texi: Likewise.
18584 * manual/string.texi: Likewise.
18585
d80441dd
JM
185862018-02-07 Joseph Myers <joseph@codesourcery.com>
18587
15081be9
JM
18588 [BZ #17979]
18589 * posix/bits/types.h (__int_least8_t): New typedef.
18590 (__uint_least8_t): Likewise.
18591 (__int_least16_t): Likewise.
18592 (__uint_least16_t): Likewise.
18593 (__int_least32_t): Likewise.
18594 (__uint_least32_t): Likewise.
18595 (__int_least64_t): Likewise.
18596 (__uint_least64_t): Likewise.
18597 * sysdeps/generic/stdint.h (int_least8_t): Define using
18598 __int_least8_t.
18599 (int_least16_t): Define using __int_least16_t.
18600 (int_least32_t): Define using __int_least32_t.
18601 (int_least64_t): Define using __int_least64_t.
18602 (uint_least8_t): Define using __uint_least8_t.
18603 (uint_least16_t): Define using __uint_least16_t.
18604 (uint_least32_t): Define using __uint_least32_t.
18605 (uint_least64_t): Define using __uint_least64_t.
18606 * wcsmbs/uchar.h: Include <bits/types.h>.
18607 (char16_t): Define using __uint_least16_t conditional only on
18608 [!__USE_ISOCXX11].
18609 (char32_t): Define using __uint_least32_t conditional only on
18610 [!__USE_ISOCXX11].
18611 * wcsmbs/test-char-types.c: New file.
18612 * wcsmbs/Makefile (tests): Add test-char-types.
18613
d80441dd
JM
18614 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18615 version to 4.0.1.
18616
6c6c962a
ZW
186172018-02-07 Zack Weinberg <zackw@panix.com>
18618
63fb8f9a
ZW
18619 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18620 Delete all contents except for definitions of _G_HAVE_MMAP and
18621 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18622 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18623 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18624 change as above.
18625
18626 * libio/libio.h: Don't include bits/_G_config.h here.
18627 Include stddef.h with __need_wchar_t defined. Include
18628 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18629 Define _IO_iconv_t here, directly.
18630 Don't define _IO_HAVE_ST_BLKSIZE.
18631 * libio/libioP.h: Include _G_config.h here. Move include of
18632 shlib-compat.h up with rest of includes. Simplify conditionals
18633 controlling definition of _IO_JUMPS_OFFSET.
18634
18635 * csu/init.c: Remove always-true #if around entire file.
18636 Don't include stdio.h. Set _IO_stdin_used to hardwired
18637 constant 0x20001, and update commentary.
18638 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18639 Replace all uses of _G_va_list with __gnuc_va_list.
18640 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18641 instead of #if _IO_HAVE_ST_BLKSIZE.
18642 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18643 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18644 not #ifdef.
18645
6c6c962a
ZW
18646 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18647 multiple-include guard to match.
18648 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18649 into this file.
18650 Remove preprocessor conditionals that are always true and/or
18651 redundant to other preprocessor conditionals in the same nest.
18652 Include shlib-compat.h unconditionally.
18653 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18654 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18655 defined after including stdio.h.
18656 Use __BEGIN_DECLS/__END_DECLS.
18657
18658 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18659 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18660 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18661
a4fea3f2
ZW
186622018-02-07 Zack Weinberg <zackw@panix.com>
18663
18664 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18665 New single-type headers split from _G_config.h.
18666 * libio/bits/types/cookie_io_functions_t.h
18667 * libio/bits/types/struct_FILE.h
18668 New single-type headers split from libio.h.
18669
18670 * libio/Makefile: Install the above new headers. Don't install
18671 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18672 bits/libio-ldbl.h.
18673 * libio/_G_config.h, libio/libio.h: Delete file.
18674
18675 * libio/bits/libio.h: Remove improper-inclusion guard.
18676 Include stdio.h and don't repeat anything that it does.
18677 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18678 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18679 __io_read_fn as cookie_read_function_t,
18680 __io_write_fn as cookie_write_function_t,
18681 __io_seek_fn as cookie_seek_function_t,
18682 __io_close_fn as cookie_close_function_t,
18683 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18684 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18685 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 18686 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
18687 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18688 and _IO_ferror_unlocked.
18689 Move prototypes of __uflow and __overflow...
18690
18691 * libio/stdio.h: ...here. Don't include bits/libio.h.
18692 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 18693 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
18694 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18695 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18696 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18697 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18698 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18699 __ssize_t, not _IO_ssize_t. Unconditionally define
18700 BUFSIZ as 8192 and EOF as (-1).
18701
18702 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18703 macros from bits/types/struct_FILE.h instead of _IO_* macros
18704 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18705 instead of _IO_ssize_t.
18706 * libio/bits/stdio2.h: Similarly.
18707
18708 * libio/iolibio.h: Add multiple-include guard.
18709 Include bits/libio.h after stdio.h.
18710 * libio/libioP.h: Add multiple-include guard.
18711 Include stdio.h and bits/libio.h before iolibio.h.
18712
6c6c962a 18713 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
18714 * include/bits/types/cookie_io_functions_t.h
18715 * include/bits/types/struct_FILE.h: New wrappers.
18716
18717 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
18718 Get definitions of _G_fpos_t and _G_fpos64_t from
18719 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18720 respectively. Remove improper-inclusion guards.
a4fea3f2 18721
6c6c962a 18722 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 18723 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 18724 libio.h and _G_config.h.
a4fea3f2 18725
ce999220
JM
187262018-02-07 Joseph Myers <joseph@codesourcery.com>
18727
8b4a1182
JM
18728 [BZ #15105]
18729 [BZ #19463]
18730 * include/sys/sysmacros.h [!_ISOMAC]
18731 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18732 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18733 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18734 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18735 libc_hidden_proto.
18736 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18737 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18738 Likewise.
18739 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18740 Undefine and redefine to add use __gnu_dev_ prefix.
18741 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18742 Likewise.
18743 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18744 and define as hidden inline function.
18745 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18746 Likewise.
18747 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18748 Likewise.
18749 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18750 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18751 (gnu_dev_minor): Likewise.
18752 (gnu_dev_makedev): Likewise.
18753 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18754 makedev.
18755 * posix/wordexp.c (exec_comm_child): Likewise.
18756 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18757 instead of minor and __gnu_dev_major instead of major.
18758 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18759 __gnu_dev_major instead of major.
18760 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18761 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18762 instead of gnu_dev_minor.
18763 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18764 (SLAVE_P): Likewise.
18765 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18766 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18767 instead of major.
18768
ce999220
JM
18769 [BZ #21313]
18770 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18771 in another place.
18772 * locale/weightwc.h (findidx): Likewise.
18773
b7c83ca3
WD
187742018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18775
18776 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18777 (slowlog_inexact): Likewise
18778 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18779 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18780
388ff7bd
IG
187812018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18782
18783 [BZ #22797]
18784 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18785 missing second underscore to parameter name.
18786
663e7d78
JM
187872018-02-06 Joseph Myers <joseph@codesourcery.com>
18788
0d40d0ec
JM
18789 [BZ #14508]
18790 [BZ #15512]
18791 [BZ #17082]
18792 [BZ #20530]
18793 * bits/byteswap.h: Update file comment. Do not include
18794 <bits/byteswap-16.h>.
18795 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18796 constant.
18797 (__bswap_16): Define as inline function.
18798 (__bswap_constant_32): Reformat definition.
18799 (__bswap_32): Always define as inline function, not macro, using
18800 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18801 otherwise __bswap_constant_32.
18802 (__bswap_constant_64): Reformat definition. Do not use
18803 __extension__ here.
18804 (__bswap_64): Always define as inline function, not macro. Use
18805 __extension__ on function definition. Use __builtin_bswap64 if
18806 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18807 * string/test-endian-file-scope.c: New file.
18808 * string/test-endian-sign-conversion.c: Likewise.
18809 * string/Makefile (headers): Remove bits/byteswap-16.h.
18810 (tests): Add test-endian-file-scope and
18811 test-endian-sign-conversion.
18812 (CFLAGS-test-endian-sign-conversion.c): New variable.
18813 * bits/byteswap-16.h: Remove file.
18814 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18815 * sysdeps/ia64/bits/byteswap.h: Likewise.
18816 * sysdeps/m68k/bits/byteswap.h: Likewise.
18817 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18818 * sysdeps/s390/bits/byteswap.h: Likewise.
18819 * sysdeps/tile/bits/byteswap.h: Likewise.
18820 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18821 * sysdeps/x86/bits/byteswap.h: Likewise.
18822
383e87c9
JM
18823 [BZ #17721]
18824 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18825 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18826 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18827 199901L] (__restrict): Define to restrict.
18828
d92c2759
JM
18829 [BZ #19667]
18830 * string/testcopy.c: Include <support/support.h>. Do not include
18831 <malloc.h>. Use <support/test-driver.c>.
18832 (main): Rename to do_test. Make static. Use xmalloc instead of
18833 malloc.
18834
625fb764
JM
18835 [BZ #13575]
18836 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18837 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18838 (SSIZE_MAX): Define to INT_MAX.
18839 * posix/test-ssize-max.c: New file.
18840 * posix/Makefile (tests): Add test-ssize-max.
18841
02325d6c
JM
18842 [BZ #19668]
18843 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18844 <support/support.h>. Do not include <malloc.h>.
18845 (query_auxv): Use xmalloc instead of malloc.
18846
663e7d78
JM
18847 [BZ #14553]
18848 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18849 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18850 instead of loff_t.
18851
6b5c8607 188522018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
18853
18854 [BZ #18023]
18855 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18856 Use scratch_buffer instead of extend_alloca.
18857
de6da571
ZW
188582018-02-06 Zack Weinberg <zackw@panix.com>
18859
26c07172
ZW
18860 * libio/stdio.h: Don't define getc or putc as macros.
18861 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18862 not _IO_getc and _IO_putc.
18863
de6da571
ZW
18864 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18865 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18866
92669d6e
JM
188672018-02-06 Joseph Myers <joseph@codesourcery.com>
18868
c2b84df9
JM
18869 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18870 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18871
41376f8c
JM
18872 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18873
d28bf648
JM
18874 [BZ #14890]
18875 * elf/elf.h (NT_PRFPREG): New macro.
18876 (NT_S390_VXRS_LOW): Likewise.
18877 (NT_S390_VXRS_HIGH): Likewise.
18878 (NT_S390_GS_CB): Likewise.
18879 (NT_S390_GS_BC): Likewise.
18880 (NT_S390_RI_CB): Likewise.
18881
e76def72
JM
18882 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18883 (MAP_SYNC): New macro.
18884 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18885 Likewise.
18886 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18887 (MAP_SYNC): Likewise.
18888 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18889 (MAP_SYNC): Likewise.
18890 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18891 (MAP_SYNC): Likewise.
18892 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18893 (MAP_SYNC): Likewise.
18894 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18895 (MAP_SYNC): Likewise.
18896 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18897 (MAP_SYNC): Likewise.
18898 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18899 Likewise.
18900 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18901 Likewise.
18902
92669d6e
JM
18903 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18904 (MAP_SHARED_VALIDATE): New macro.
18905 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18906 (MAP_SHARED_VALIDATE): Likewise.
18907
6a5cac49
L
189082018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18909
18910 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18911 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18912 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18913
b44e0dfb
L
189142018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18915
18916 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18917 (DT_NUM): Updated to 35.
18918
f886c16c
L
189192018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18920
18921 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18922 __builtin_expect with __glibc_likely and __glibc_unlikely.
18923 (elf_machine_rela): Likewise.
18924 (elf_machine_lazy_rel): Likewise.
18925
06fbebff
L
189262018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18927
18928 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 18929 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
18930 (elf_machine_lazy_rel): Likewise.
18931
371b220f
L
189322018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18933
18934 [BZ #22638]
18935 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18936 SHARED.
65805016 18937 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 18938
f649a1b8
AS
189392018-02-05 Andreas Schwab <schwab@suse.de>
18940
18941 [BZ #22761]
18942 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18943 string.
18944
9fdb340e
ST
189452018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18946
18947 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18948 not check against PTHREAD_STACK_MIN.
18949
09e56b9e
SM
189502018-02-02 Sean McKean <smckean83@gmail.com>
18951
18952 [BZ #22735]
18953 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18954
d4b4a00a
FW
189552018-02-02 Florian Weimer <fweimer@redhat.com>
18956
18957 [BZ #22753]
18958 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18959 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18960 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18961 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18962 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18963 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18964 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18965 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18966 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18967 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18968 * misc/tst-preadvwritev2.c (do_test): Call it.
18969 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18970
3dfcbfa1
SP
189712018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18972
84c94d2f
SP
18973 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18974
96e6a716
SP
18975 * benchtests/bench-memcmp.c: Print json instead of plain text.
18976
3dfcbfa1
SP
18977 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18978 every test run.
18979
049375e2
JM
189802018-02-01 Joseph Myers <joseph@codesourcery.com>
18981
39f898c6
JM
18982 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18983 version to 4.15.
18984 (s390_sthyi): New syscall.
18985
6f9a3dd8
JM
18986 * sysdeps/generic/ldbl-classify-compat.h: New file.
18987 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18988 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18989 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18990 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18991 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18992 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18993 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18994 <ldbl-classify-compat.h>.
18995 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18996 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18997 <ldbl-classify-compat.h>.
18998 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18999 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
19000 <ldbl-classify-compat.h>.
19001 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19002 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
19003 <ldbl-classify-compat.h>.
19004 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19005 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
19006 <ldbl-classify-compat.h>.
19007 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19008 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
19009 <ldbl-classify-compat.h>.
19010 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19011 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
19012 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19013 * sysdeps/m68k/coldfire/math_private.h: Remove file.
19014 * sysdeps/microblaze/math_private.h: Likewise.
19015 * sysdeps/nios2/math_private.h: Likewise.
19016 * sysdeps/sh/math_private.h: Likewise.
19017
eb65a3d5
JM
19018 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
19019 * sysdeps/m68k/coldfire/math_private.h: ... here.
19020 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19021 * sysdeps/tile/math_private.h: Likewise.
19022 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19023 Remove macro.
19024 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19025 Likewise.
19026
8a6bb1d0
JM
19027 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19028 Remove macro.
19029 (libc_fetestexcept): Likewise.
19030 (libc_feupdateenv_test): Likewise.
19031 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19032 (libc_fetestexcept): Likewise.
19033 (libc_feupdateenv_test): Likewise.
19034 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19035 (libc_fetestexcept): Likewise.
19036 (libc_feupdateenv_test): Likewise.
19037 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19038 (libc_fetestexcept): Likewise.
19039 (libc_feupdateenv_test): Likewise.
19040
ae1fcb7b
JM
19041 * sysdeps/generic/math_private.h
19042 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19043 New inline function.
19044 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19045 Likewise.
19046
b1c347e2
JM
19047 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19048 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19049 * sysdeps/generic/math_private.h
19050 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19051 inline function.
19052 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19053 Likewise.
19054 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19055 Likewise.
19056 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19057 Likewise.
19058 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19059 Likewise.
19060 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19061 Likewise.
19062 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19063 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19064 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19065 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19066 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19067 (__fegetenv): Likewise.
19068 (fesetenv): Likewise.
19069 (__fesetenv): Likewise.
19070 (feupdateenv): Likewise.
19071 (__feupdateenv): Likewise.
19072 (fegetround): Likewise.
19073 (__fegetround): Likewise.
19074 (fesetround): Likewise.
19075 (__fesetround): Likewise.
19076
d23a4962
JM
19077 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19078 (feraiseexcept): New macro.
19079 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19080 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19081 Remove macro.
19082 (__feraiseexcept): Likewise.
19083 (feclearexcept): Likewise.
19084 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19085 (__feraiseexcept): Likewise.
19086 (feclearexcept): Likewise.
19087 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19088 (__feraiseexcept): Likewise.
19089 (feclearexcept): Likewise.
19090 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19091 (__feraiseexcept): Likewise.
19092 (feclearexcept): Likewise.
19093 (fetestexcept): Likewise.
19094
5f167950
JM
19095 * sysdeps/m68k/coldfire/math-tests.h: New file.
19096
ccc9035a
JM
19097 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19098 * sysdeps/m68k/bits/fenv.h: ... here.
19099 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19100 not define.
19101 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19102 Likewise.
19103 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19104 Likewise.
19105 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19106 Likewise.
19107 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19108 Likewise.
19109 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19110 Define to 0.
19111 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19112 (__FE_UNDEFINED): New enum constant.
19113 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19114 Do not define.
19115 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19116 Likewise.
19117 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19118 Likewise.
19119 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19120 to match generic bits/fenv.h.
19121 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19122 Do not define.
19123
049375e2
JM
19124 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19125 packed on bits.
19126 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19127 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19128 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19129 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19130
f1d73681
CD
191312018-02-01 Carlos O'Donell <carlos@redhat.com>
19132 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19133 Joseph Myers <joseph@codesourcery.com>
19134
19135 [BZ #21314]
19136 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19137 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19138 computation using c.
19139 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19140 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19141 computation using c.
19142
242cbc90
DL
191432018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19144
086ee48e
DL
19145 * version.h (RELEASE): Set to "development".
19146 (VERSION): Set to "2.27.9000".
19147 * NEWS (2.28): New section.
19148
23158b08
DL
19149 * version.h (RELEASE): Set to "stable".
19150 (VERSION): Set to "2.27".
19151 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19152
242cbc90
DL
19153 * NEWS: Add the list of bugs fixed in 2.27.
19154
673e2305
AZ
191552018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19156
19157 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19158 against PTHREAD_STACK_MIN.
19159
ced64e01
DL
191602018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19161
19162 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19163 New entries.
19164 (Rafal Luzynski, Andreas Schwab): Update.
19165
c10c9a5e
RL
191662018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19167
19168 [BZ #10871]
19169 * NEWS: List the languages which actually use the alternative
19170 months feature in this release. Also explain that "alt_mon" and
19171 "ab_alt_mon" are optional.
19172
650ba77a
IM
191732018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19174
19175 [BZ #22765]
19176 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19177
93493119
DL
191782018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19179
19180 * manual/install.texi (Tools for Compilation): Update the newest
19181 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19182 * INSTALL: Regenerated.
19183
363e4519 191842018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
19185
19186 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19187 instead of __builtin_expect.
19188
d7536874
FW
191892018-01-30 Florian Weimer <fweimer@redhat.com>
19190
19191 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19192 data.
19193 * nss/tst-nss-getpwent.c (do_test): Likewise.
19194
9a1b267d
RL
191952018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19196
19197 [BZ #10871]
19198 * localedata/locales/hr_HR (mon): Rename to...
19199 (alt_mon): This.
19200 (mon): Import from CLDR (genitive case).
19201 (d_t_fmt): Update the comment.
19202
9a179328
AS
192032018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19204
19205 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19206 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19207 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19208
e01e0ddc
ST
192092018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19210
19211 * mach/Versions: Fix version when __mach_host_self_ was added.
19212 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19213 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19214 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19215 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19216 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19217 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19218 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19219 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19220 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19221 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19222 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19223 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
19224 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19225 || to respect codestyle.
2aadb705
ST
19226 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19227 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
19228 * malloc/malloc.c: Include <assert.h>.
19229 (assert): Do not define.
19230 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
19231 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19232 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 19233 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 19234 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 19235
521877e1
PD
192362018-01-29 Darius Rad <darius@bluespec.com>
19237
19238 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19239
532cf290
PD
192402018-01-29 Palmer Dabbelt <palmer@sifive.com>
19241
19242 * sysdeps/init_array/crti.S (.section .init_array): Add
19243 PREINIT_FUNCTION when defined.
40ca951b 19244 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 19245 * config.h.in: Regenerate.
ba9e25a6
PD
19246 * manual/platform.texi: Add RISC-V documenation for
19247 __riscv_flush_icache.
c776fa11
PD
19248 * sysdeps/riscv/__longjmp.S: New file.
19249 * sysdeps/riscv/backtrace.c: Likewise.
19250 * sysdeps/riscv/bits/endian.h: Likewise.
19251 * sysdeps/riscv/bits/setjmp.h: Likewise.
19252 * sysdeps/riscv/bits/wordsize.h: Likewise.
19253 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19254 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19255 * sysdeps/riscv/dl-trampoline.S: Likewise.
19256 * sysdeps/riscv/gccframe.h: Likewise.
19257 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19258 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19259 * sysdeps/riscv/machine-gmon.h: Likewise.
19260 * sysdeps/riscv/memusage.h: Likewise.
19261 * sysdeps/riscv/setjmp.S: Likewise.
19262 * sysdeps/riscv/sys/asm.h: Likewise.
19263 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
19264 * sysdeps/riscv/dl-tls.h: New file.
19265 * sysdeps/riscv/libc-tls.c: Likewise.
19266 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19267 * sysdeps/riscv/nptl/tls.h: Likewise.
19268 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
19269 * sysdeps/riscv/bits/fenv.h: New file.
19270 * sysdeps/riscv/e_sqrtl.c: Likewise.
19271 * sysdeps/riscv/fpu_control.h: Likewise.
19272 * sysdeps/riscv/math-tests.h: Likewise.
19273 * sysdeps/riscv/nofpu/Implies: Likewise.
19274 * sysdeps/riscv/sfp-machine.h: Likewise.
19275 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
19276 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19277 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19278 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19279 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19280 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19281 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19282 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19283 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19284 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19285 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19286 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19287 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19288 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19289 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19290 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19291 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19292 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19293 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19294 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19295 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19296 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19297 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19298 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19299 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19300 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19301 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19302 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19303 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19304 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19305 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19306 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19307 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19308 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19309 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19310 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19311 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19312 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19313 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19314 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19315 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19316 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19317 * sysdeps/riscv/rvf/math_private.h: Likewise.
19318 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19319 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19320 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19321 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19322 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19323 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19324 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19325 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19326 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19327 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19328 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19329 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19330 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19331 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19332 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19333 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
19334 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19335 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19336 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19337 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
19338 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19339 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19340 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19341 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19342 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19343 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19344 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19345 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19346 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
19347 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19348 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19349 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19350 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19351 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19352 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19353 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19354 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19355 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19356 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19357 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19358 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19359 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19360 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19361 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19362 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19363 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19364 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19365 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19366 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19367 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19368 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
19369 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19370 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19371 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
19372 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19373 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19374 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19375 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19376 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19377 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19378 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19379 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19380 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19381 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19382 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19383 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19384 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19385 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
19386 * sysdeps/riscv/Implies: New file.
19387 * sysdeps/riscv/Makefile: Likewise.
19388 * sysdeps/riscv/configure: Likewise.
19389 * sysdeps/riscv/configure.ac: Likewise.
19390 * sysdeps/riscv/nptl/Makefile: Likewise.
19391 * sysdeps/riscv/preconfigure: Likewise.
19392 * sysdeps/riscv/rv64/Implies-after: Likewise.
19393 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19394 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19395 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19396 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19397 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19398 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19399 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19400 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19401 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19402 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19403 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
19404 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19405 (Config): Likewise.
532cf290 19406
cdd14619
FW
194072018-01-29 Florian Weimer <fweimer@redhat.com>
19408
19409 [BZ #22701]
19410 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19411 libnsl_hidden_proto.
19412 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19413 libnsl_hidden_proto.
19414 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19415 * nis/Makefile (libnsl-routines): Add nss-default only for
19416 build-obsolete-nsl.
19417 * nis/nis_defaults.c (__nis_default_ttl): Add
19418 libnsl_hidden_nolink_def.
19419 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19420 declaration.
19421 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19422 * nis/ypclnt.c (yp_maplist): Likewise.
19423
b7ccb5de
RN
194242018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19425
19426 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19427 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19428
522623e4
JM
194292018-01-29 Joseph Myers <joseph@codesourcery.com>
19430
e3aa6999
JM
19431 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19432 clean -dxfq for git updates when replacing sources.
19433
088de7d0
JM
19434 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19435 --disable-libcilkrts unconditionally, not just for the final GCC
19436 build for Hurd.
19437
522623e4
JM
19438 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19439 version to 4.15.
19440
8b406f87
RL
194412018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19442
19443 [BZ #10871]
19444 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19445 case).
19446
105e90bd
RL
194472018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19448
19449 [BZ #10871]
19450 * localedata/locales/be_BY (mon): Rename to...
19451 (alt_mon): This, then synchronize with CLDR (nominative case).
19452 (abmon): Rename to...
19453 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19454 (mon): Import from CLDR (genitive case).
19455 (abmon): Likewise.
19456 * localedata/locales/be_BY@latin (mon): Rename to...
19457 (alt_mon): This.
19458 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19459
19460 * localedata/locales/be_BY@latin (lang_name): Reworded to
19461 "biełaruskaja mova".
19462
561cb414
RL
194632018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19464
19465 [BZ #10871]
19466 * localedata/locales/el_CY (mon): Renamed to...
19467 (alt_mon): This.
19468 (mon): Import from CLDR (genitive case).
19469 * localedata/locales/el_GR: Likewise.
19470
f7bdf30d
RL
194712018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19472
19473 [BZ #10871]
19474 * localedata/locales/ru_RU (mon): Rename to...
19475 (alt_mon): This.
19476 (abmon): Rename to...
19477 (ab_alt_mon): This.
19478 (mon): Import from CLDR (genitive case).
19479 (abmon): Copy from the old content except the 5th month which is
19480 now in the genitive case, even when abbreviated.
19481 * localedata/locales/ru_UA: Likewise.
19482 * time/tst-strptime.c (day_tests): Add an actual example of
19483 a difference between %b and %Ob in Russian.
19484
85285a0c
ST
194852018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19486
19487 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
19488 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19489 a `c' variable.
3538a4b6 19490 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
19491 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19492 <sys/wait.h>, <time.h>, <sys/uio.h>.
19493 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 19494 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
19495 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19496 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19497 return 0.
05ebfe87
ST
19498 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19499 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
19500 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19501 instead of void *.
19502 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19503 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
19504 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19505 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
19506 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19507 and make them the default for now.
903d3633
ST
19508 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19509 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
19510 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19511 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19512 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19513 MACH_IPC_COMPAT.
06fac9f5
ST
19514 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19515 __task_terminate would ever return successfully.
f8177753
ST
19516 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19517 to global scope.
41cdb1eb
ST
19518 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19519 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
19520 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19521 critical section to make code simpler and avoid warning.
19522 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19523 critical section to make code simpler and avoid warning.
844bf921
ST
19524 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19525 const char * instead of char *.
f8bee46c
ST
19526 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19527 __hurd_file_name_split, hurd_file_name_split,
19528 __hurd_directory_name_split, hurd_directory_name_split,
19529 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19530 hurd_file_name_path_lookup): Make lookup function parameter take a
19531 const char *name instead of char *name.
19532 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19533 __hurd_directory_name_split): Likewise.
19534 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19535 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
19536 * sysdeps/mach/hurd/check_native.c: New file.
19537 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
19538 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19539 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
19540 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19541 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
19542 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19543 (do_test_bz20181): Rename accordingly.
19544 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
19545 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19546 <sys/mount.h>.
28f6186f
ST
19547 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19548 version only if __USE_EXTERN_INLINES is defined.
19549 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19550 __hurd_sockfail): Likewise.
19551 (_hurd_fd_get): Always declare functions, and provide inline versions
19552 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19553 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19554 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19555 _hurd_port_set): Always declare functions, and provide inline versions
19556 only if __USE_EXTERN_INLINES and _LIBC are defined and
19557 IS_IN(libc).
19558 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19559 _hurd_critical_section_unlock): Likewise.
19560 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19561 * __hurd_threadvar_location): Likewise.
19562 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19563 _hurd_userlink_clear): Likewise.
19564 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19565 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19566 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19567 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19568 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19569 __spin_lock_locked): Likewise.
19570 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19571 __spin_lock_locked): Likewise.
19572 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19573 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19574 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19575 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19576 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
19577 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19578 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
19579 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19580 check size against PTHREAD_STACK_MIN.
625ba81e
ST
19581 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19582 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
19583 * mach/Makefile (user-interfaces): Add mach/gnumach.
19584 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19585 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
19586 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19587 instead of invalid -1.
1f89ac71
ST
19588 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19589 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19590 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19591 <net/ppp_defs.h>.
85285a0c 19592
1fd1e27c 195932018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
19594
19595 * hurd/fcntl-internal.h: New file.
19596
3854c5a8
JC
195972018-01-27 James Clarke <jrtc27@jrtc27.com>
19598
7e23a7dd
JC
19599 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19600
3854c5a8
JC
19601 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19602
5503f413
AS
196032018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19604
19605 [BZ #22701]
19606 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19607 Build only shared objects.
19608
caaf7804
CD
196092018-01-26 Carlos O'Donell <carlos@redhat.com>
19610
19611 * README: Update for hppa.
19612
1cbf818d
PM
196132018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19614
caaf7804
CD
19615 * sysdeps/sparc/fpu/libm-test-ulps: Update
19616 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 19617
caaf7804 196182018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
19619
19620 Revert:
19621
19622 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19623
19624 [BZ #22563]
19625 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19626 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19627 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19628 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19629 to feature_1.
19630
19631 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19632
19633 [BZ #22563]
19634 * bits/types/__cancel_jmp_buf_tag.h: New file.
19635 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19636 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19637 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19638 * nptl/Makefile (headers): Add
19639 bits/types/__cancel_jmp_buf_tag.h.
19640 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19641 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19642 * sysdeps/nptl/pthread.h: Include
19643 <bits/types/__cancel_jmp_buf_tag.h>.
19644 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19645 __cancel_jmp_buf.
19646 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19647
65f6c94e
RL
196482018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19649
19650 [BZ #10871]
19651 * localedata/locales/uk_UA (mon): Renamed to...
19652 (alt_mon): This.
19653 (alt_digits): "0" removed and then renamed to...
19654 (mon): This.
19655 (date_fmt): Definition changed not to use the alternative
19656 digits hack.
19657
fb58aac5
PD
196582018-01-25 Palmer Dabbelt <palmer@sifive.com>
19659
19660 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19661 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19662 * elf/elf.h (EF_RISCV_RVC): New define.
19663 (EF_RISCV_FLOAT_ABI): Likewise.
19664 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19665 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19666 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19667 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19668 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19669 define.
19670 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19671
128c43a2
AS
196722018-01-25 Andreas Schwab <schwab@suse.de>
19673
19674 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19675 single quotes.
19676 * sysdeps/gnu/configure: Regenerate.
19677 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19678 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19680 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19681 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19682 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19683 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19684 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19685
f9015003
ST
196862018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19687
48130690 19688 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 19689 URL, and run autoconf, make it the default for now.
f9015003 19690
91b2cffa
JM
196912018-01-24 Joseph Myers <joseph@codesourcery.com>
19692
3005b705
JM
19693 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19694 soft-float ColdFire configuration.
19695
69231fab
JM
19696 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19697 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19698 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19699
d4c7e1d0
JM
19700 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19701 MicroBlaze file.
19702
0cfe5be5
JM
19703 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19704 ....
19705 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19706 ... here.
19707 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19708 New file.
19709
91b2cffa
JM
19710 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19711 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19712 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19713 file.
19714
c739e191
SN
197152018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19716
19717 [BZ #22742]
19718 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19719 Rename to __reserved and add comment.
19720 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19721 Rename to __reserved.
19722
394b5bac
JM
197232018-01-24 Joseph Myers <joseph@codesourcery.com>
19724
19725 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19726 i686-gnu configurations.
19727 (Context.run_builds): Include mig, gnumach and hurd in components
19728 considered.
19729 (Context.checkout): Add mig, gnumach and hurd to components.
19730 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19731 hurd.
19732 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19733 (Config.build): Install gnumach headers, build mig and install
19734 hurd headers for 'gnu' OS.
19735 (Config.install_gnumach_headers): New function.
19736 (Config.install_hurd_headers): Likewise.
19737 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19738 when building for 'gnu' OS.
19739
28c3f14f
TK
197402018-01-23 Tobias Klauser <tklauser@distanz.ch>
19741
19742 * manual/tunables.texi (Hardware Capability Tunables): Fix
19743 spelling.
19744
0f5e2da1
RJ
197452018-01-22 Rical Jasan <ricaljasan@pacific.net>
19746
19747 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19748 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19749 (ALTMON_11, ALTMON_12): Improve documentation.
19750 * manual/time.texi (strftime): Likewise.
19751
7817b14a
RL
197522018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19753
19754 [BZ #10871]
19755 * localedata/locales/pl_PL: Alternative month names added,
19756 primary month names are genitive now.
19757 * time/tst-strptime.c (day_tests): Actually use a genitive case
19758 of a month name in Polish language.
19759
22390764
RL
197602018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19761
19762 [BZ #10871]
19763 * manual/locale.texi: Document ALTMON_1..12 constants for
19764 nl_langinfo. Specify when to use ALTMON instead of MON.
19765 * manual/time.texi (strftime, strptime): Document GNU extension
19766 permitting O modifier with %B and %b. Specify when to use
19767 %OB instead of %B.
19768
761a585c
RL
197692018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19770
19771 [BZ #10871]
19772 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19773 names, define them as the same as abbreviated month names explicitly.
19774 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19775 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19776 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19777 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19778 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19779 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19780 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19781 _NL_WABALTMON_12): New enum constants.
19782 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19783 wab_alt_mon, and ab_alt_mon_defined members.
19784 (time_output): Output ab_alt_mon and wab_alt_mon members.
19785 (time_read): Read them, initialize them as copies of abmon and wabmon
19786 respectively if they are missing, initialize ab_alt_mon_defined.
19787 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19788 * locale/programs/locfile-kw.h: Regenerate.
19789 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19790 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19791 and ru_RU.UTF-8.
19792 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19793 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19794 (__strftime_internal): Handle %Ob and %Oh formats.
19795 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19796 (__strptime_internal): Handle %Ob and %Oh formats.
19797 * time/tst-strptime.c (day_tests): Add more tests to parse different
19798 forms of month names including the new %Ob format specifier.
19799
95cb863a
RL
198002018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19801
19802 [BZ #10871]
19803 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19804 define them as the same as primary full month names explicitly.
19805 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19806 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19807 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19808 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19809 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19810 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19811 _NL_WALTMON_12): New enum constants.
19812 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19813 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19814 macros.
19815 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19816 walt_mon, and alt_mon_defined members.
19817 (time_output): Output alt_mon and walt_mon members.
19818 (time_read): Read them, initialize them as copies of mon and wmon
19819 respectively if they are missing, initialize alt_mon_defined.
19820 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19821 * locale/programs/locfile-kw.h: Regenerate.
19822 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19823 * localedata/tst-langinfo.c (map): Add tests for the new constants
19824 ALTMON_1 .. ALTMON_12.
19825 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19826 and pl_PL.UTF-8.
19827 * time/strftime_l.c (f_altmonth): New macro.
19828 (__strftime_internal): Handle %OB format.
19829 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19830 (__strptime_internal): Handle %OB format.
19831 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19832 of month names including the new %OB format specifier.
19833
4612268a
TMQMF
198342018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19835
19836 [BZ #22685]
19837 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19838 from ABORT_TRANSACTION.
19839 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19840 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19841 ABORT_TRANSACTION_IMPL): Likewise.
19842 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19843 Linux code, but remove the code that aborts transactions.
19844
64f63cb4
ST
198452018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19846
19847 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19848
32ac6e92
RL
198492018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19850
19851 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19852 in date: "2004-14-09" should be "2004-09-14".
19853 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19854 "2003-15-09" should be "2003-09-15".
19855
8e448310
AS
198562018-01-18 Arjun Shankar <arjun@redhat.com>
19857
19858 [BZ #22343]
71aa429b 19859 [BZ #22774]
4590634f 19860 CVE-2018-6485
71aa429b 19861 CVE-2018-6551
8e448310
AS
19862 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19863 after padding.
19864 (_int_memalign): check for integer overflow before calling
19865 _int_malloc.
19866 * malloc/tst-malloc-too-large.c: New test.
19867 * malloc/Makefile: Add tst-malloc-too-large.
19868
e234d7cb
RL
198692018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19870
19871 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19872 in date: "2017-24-07" should be "2017-07-24".
19873 * localedata/locales/mai_IN: Likewise.
19874 * localedata/locales/mai_NP: Likewise.
19875
48b66019
DL
198762018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19877
19878 * po/ru.po: Update translations.
19879
1eeddc58
JM
198802018-01-17 Joseph Myers <joseph@codesourcery.com>
19881
19882 [BZ #22719]
19883 * sysdeps/hppa/backtrace.c: New file.
19884
207a72e2
L
198852018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19886
19887 [BZ #22715]
19888 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19889 align La_x86_64_retval to VEC_SIZE.
19890
4942c4ea
JM
198912018-01-16 Joseph Myers <joseph@codesourcery.com>
19892
19893 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19894 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19895
10d200db
FW
198962018-01-16 Florian Weimer <fweimer@redhat.com>
19897
19898 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19899 Move tst-thread-exit-clobber ...
19900 [$(CXX)] (tests-unsupported): ... to here.
19901
953c49cc
SN
199022018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19903
19904 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19905 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19906 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19907 (_dl_aarch64_cap_flags): Update.
19908 (_DL_HWCAP_COUNT): Update.
19909
afce1991
SN
199102018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19911
19912 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19913 (_DL_HWCAP_LAST): Remove.
19914 (_DL_HWCAP_COUNT): Move to ...
19915 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19916 (_DL_HWCAP_COUNT): ... here.
19917
b725132d
FW
199182018-01-16 Florian Weimer <fweimer@redhat.com>
19919
19920 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19921 mode with GNU extensions.
19922
c9e613a7
AH
199232018-01-15 Alan Hayward <alan.hayward@arm.com>
19924
19925 * elf/elf.h (NT_ARM_SVE): Define.
19926
860b0240
FW
199272018-01-15 Florian Weimer <fweimer@redhat.com>
19928
19929 [BZ #22636]
19930 * nptl/tst-minstack-throw.cc: New file.
19931 * nptl/Makefile (tests): Add tst-minstack-throw.
19932 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19933 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19934
16d0f6ac
JM
199352018-01-15 Joseph Myers <joseph@codesourcery.com>
19936
19937 * scripts/build-many-glibcs.py (Context.checkout): Default
19938 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19939 version to 1.1.0.
19940
505d3910
CD
199412018-01-13 Carlos O'Donell <carlos@redhat.com>
19942
19943 [BZ #22707]
19944 * elf/elf.h (DF_1_STUB): Define.
19945 (DF_1_PIE): Define.
19946
af1e6be4
TMQMF
199472018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19948
19949 [BZ #22697]
19950 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19951 Do not add 0.5 to integer or out-of-range arguments.
19952
98d13ce0
DL
199532018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19954
19955 * po/bg.po: Update translations.
19956 * po/cs.po: Likewise.
19957 * po/de.po: Likewise.
19958 * po/ko.po: Likewise.
19959 * po/pl.po: Likewise.
19960 * po/sv.po: Likewise.
19961 * po/uk.po: Likewise.
19962 * po/vi.po: Likewise.
19963
3d1d7928
SN
199642018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19965
19966 * aarch64/start.S (_start): Use __wrap_main.
19967 (__wrap_main): New local symbol.
19968
52a713fd
DL
199692018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19970
19971 [BZ #22679]
19972 CVE-2018-1000001
19973 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19974 generic_getcwd if the path returned by getcwd syscall is not absolute.
19975 * io/tst-getcwd-abspath.c: New test.
19976 * io/Makefile (tests): Add tst-getcwd-abspath.
19977
249a5895
IK
199782018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19979
19980 * malloc/malloc.c (malloc_consolidate): Add size check.
19981
1a51e46e
FW
199822018-01-12 Florian Weimer <fweimer@redhat.com>
19983
19984 * support/write_message.c (write_message): Preserve errno.
19985 * support/check.c (print_failure): Likewise.
19986 * support/support_test_verify_impl.c (support_test_verify_impl):
19987 Likewise.
19988 * support/support_test_compare_failure.c
19989 (support_test_compare_failure): Likewise.
19990
9a08a366
FW
199912018-01-12 Florian Weimer <fweimer@redhat.com>
19992
19993 [BZ #22701]
19994 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19995 Prevent installation of libnsl.so.
19996 (libnsl-inhibit-o): Do not build (or install) static libraries.
19997
80647883 199982018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
19999
20000 [BZ #22657]
20001 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
20002 before the day number which may produce a double space.
20003 (date_fmt): Likewise.
20004
c8924f1f
JM
200052018-01-12 Joseph Myers <joseph@codesourcery.com>
20006
20007 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
20008 instead of fegetenv.
20009
da09e6fa
JM
200102018-01-11 Joseph Myers <joseph@codesourcery.com>
20011
20012 [BZ #22702]
20013 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
20014 comment to say exceptions are discarded.
20015 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
20016 __fegetenv.
20017 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
20018 be enabled.
20019
08c6e952
FW
200202018-01-11 Florian Weimer <fweimer@redhat.com>
20021
20022 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20023 and error message.
20024
d8b77890
FW
200252018-01-11 Florian Weimer <fweimer@redhat.com>
20026
20027 [BZ #22636]
20028 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20029 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20030
b303185d
JM
200312018-01-10 Joseph Myers <joseph@codesourcery.com>
20032
20033 [BZ #22693]
20034 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20035 negative arguments in test for NaN or infinity argument.
20036
ee61d028
DL
200372018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20038
20039 * po/libc.pot: Regenerate.
20040
f993b875
FW
200412018-01-10 Florian Weimer <fweimer@redhat.com>
20042
20043 [BZ #22636]
20044 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20045 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20046
09085ede
ST
200472018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20048
20049 * hurd/hurd/fd.h: Include <fcntl.h>
20050 (__hurd_at_flags): New function.
20051 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20052 with call to __hurd_at_flags.
20053 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20054 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20055 __faccessat
20056 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20057 (__access_noerrno): Use __faccessat_common instead of access_common.
20058 (__access): Likewise.
20059 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20060 with a call to __faccessat.
20061 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20062 (__faccessat_common): ... this. Move implementation of __access into it when
20063 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20064 reauthenticate_cwdir_at helper to implement AT mechanism.
20065 (__faccessat_noerrno): New function, just calls __faccessat_common.
20066 (__faccessat): New function, just calls __faccessat_common.
20067 (faccessat): Define weak alias.
20068
12727488
JM
200692018-01-10 Joseph Myers <joseph@codesourcery.com>
20070
87faac55
JM
20071 [BZ #22691]
20072 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20073 (CFLAGS-s_fmaxmagl.c): New variable.
20074 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20075
12727488
JM
20076 [BZ #22690]
20077 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20078 long int for arguments of possibly overflowing addition or
20079 subtraction.
20080 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20081
e134ca17
JM
200822018-01-09 Joseph Myers <joseph@codesourcery.com>
20083
b2584ac2
JM
20084 [BZ #22688]
20085 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20086 (CFLAGS-e_remainderl.c): New variable.
20087
e134ca17
JM
20088 [BZ #22687]
20089 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20090 variable.
20091 (CFLAGS-s_cacoshl.c): Likewise.
20092 (CFLAGS-s_casinhl.c): Likewise.
20093 (CFLAGS-s_catanl.c): Likewise.
20094 (CFLAGS-s_catanhl.c): Likewise.
20095 (CFLAGS-s_cexpl.c): Likewise.
20096 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20097 (CFLAGS-s_csinhl.c): Likewise.
20098 (CFLAGS-s_clogl.c): Likewise.
20099 (CFLAGS-s_clog10l.c): Likewise.
20100 (CFLAGS-s_csinl.c): Likewise.
20101 (CFLAGS-s_csqrtl.c): Likewise.
20102
d31a4a48
ST
201032017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
201042017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
20105
20106 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20107 (_hurd_exec_paths): New function.
20108 * hurd/hurd.h (_hurd_exec): Deprecate function.
20109 (_hurd_exec_paths): Declare function.
20110 * hurd/Versions: Export _hurd_exec_paths.
20111 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20112 (__execve): Use __getcwd to build absolute path, and use
20113 _hurd_exec_paths instead of _hurd_exec.
20114 * sysdeps/mach/hurd/spawni.c: Likewise.
20115 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20116 _hurd_exec.
20117
d7ff3f11
DL
201182018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20119
20120 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20121 test instead of failing in case of ENOENT returned by posix_openpt.
20122
401311cf
FW
201232018-01-08 Florian Weimer <fweimer@redhat.com>
20124
20125 resolv: Support binary labels in test framework.
20126 * support/resolv_test.c (struct to_be_freed): Remove.
20127 (struct compressed_name): New.
20128 (allocate_compressed_name, ascii_tolower)
20129 (compare_compressed_name): New functions.
20130 (struct resolv_response_builder): Update type of
20131 compression_offsets for use with tsearch. Rempve to_be_freed.
20132 (response_push_pointer_to_free): Remove function.
20133 (resolv_response_add_name): Rewrite using struct compressed_name
20134 and tsearch instead of hsearch_r.
20135 (response_builder_allocate): Remove initialization of
20136 compression_offsets.
20137 (response_builder_free): Update for removal of to_be_freed. Use
20138 tdestroy instead of hdestroy_r.
20139 * resolv/Makefile (tests): Add tst-resolv-binary.
20140 (tst-resolv-binary): Link with -lresolv -lpthread.
20141
2b3aa446
FW
201422018-01-08 Florian Weimer <fweimer@redhat.com>
20143
20144 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20145 time. Pass positive flag instead of negative flag to
20146 support_test_compare_failure.
20147 (support_test_compare_failure): Change negative parameter to
20148 positive.
20149 * support/support_test_compare_failure.c (report)
20150 (support_test_compare_failure): Likewise.
20151 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20152 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20153
630f4cc3
SN
201542018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20155
20156 [BZ #22637]
20157 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20158 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20159 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20160 stacksize.
20161 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20162
c70e4e9c
L
201632018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20164
20165 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20166 Add s_sincosf-sse2 and s_sincosf-fma.
20167 (CFLAGS-s_sincosf-fma.c): New.
20168 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20169 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20170 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20171 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20172 __sincosf is defined.
20173
579396ee
FW
201742018-01-08 Florian Weimer <fweimer@redhat.com>
20175
20176 * nptl/tst-thread-exit-clobber.cc: New file.
20177 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20178 C++11 mode.
20179 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20180 (tests): Add tst-thread-exit-clobber.
20181 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20182
dabd75b6
FW
201832018-01-08 Florian Weimer <fweimer@redhat.com>
20184
20185 * support/check.h (support_static_assert): Define.
20186 (TEST_COMPARE): Use it.
20187
c2e014cc
AJ
201882018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20189
20190 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20191 [!__RLIM_T_MATCHES_RLIM64_T]
20192 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20193 __getrlimit64. Add libc_hidden_weak.
20194
31a98837
PD
201952018-01-06 Palmer Dabbelt <palmer@sifive.com>
20196
20197 * elf/elf.h (R_RISCV_NONE): New define.
20198 (R_RISCV_32): Likewise.
20199 (R_RISCV_64): Likewise.
20200 (R_RISCV_RELATIVE): Likewise.
20201 (R_RISCV_COPY): Likewise.
20202 (R_RISCV_JUMP_SLOT): Likewise.
20203 (R_RISCV_TLS_DTPMOD32): Likewise.
20204 (R_RISCV_TLS_DTPMOD64): Likewise.
20205 (R_RISCV_TLS_DTPREL32): Likewise.
20206 (R_RISCV_TLS_DTPREL64): Likewise.
20207 (R_RISCV_TLS_TPREL32): Likewise.
20208 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
20209 * Makerules (make-link-multidir): Make directories before linking into
20210 them.
150bbac1
PD
20211 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20212 define.
20213 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
20214 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20215 in subdirectories of lib.
8e13c51b
PD
20216 * nptl/Makefile (/librt.so): Always depend on
20217 "$(shared-thread-library)".
31a98837 20218
fad7d57e
ST
202192018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20220
20221 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
20222 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20223 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20224 (___tls_get_addr).
20225 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
20226 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20227 "-O2 -march=i686".
01c7e549 20228 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
20229 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20230 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20231 * sysdeps/gnu/glob-lstat-compat.c: New file.
20232 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 20233 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 20234
3a32b716
TMQMF
202352018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20236
20237 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20238 Reserve 16 chars to reloc_addr before calling _itoa_word.
20239
24731685
AJ
202402018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20241
20242 [BZ #22678]
20243 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20244 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20245
19be56d8
AJ
20246 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20247 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20248
a6d0afb5
AJ
20249 * resource/tst-getrlimit.c: Add copyright header.
20250
8e900969
AJ
202512018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20252 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20253
20254 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20255 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20256 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20257 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20258 instead.
20259 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20260 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20261 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20262 RLIM64_INFINITY): Fix values to match the kernel ones.
20263 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20264 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20265 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20266 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20267 getrlimit64@@GLIBC_2_27.
20268 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20269 and setrlimit64.
20270 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20271 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20272 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20273 setrlimit, getrlimit64 and setrlimit64.
20274
0d0bc784
AJ
202752018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20276
20277 [BZ #22648]
20278 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20279 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20280
ba374b6d
JM
202812018-01-04 Joseph Myers <joseph@codesourcery.com>
20282
20283 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20284 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20285 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20286
4854ddd8
AZ
202872018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20288
b0a4eca2
AZ
20289 [BZ #15479]
20290 [BZ #22666]
20291 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20292 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20293
4854ddd8
AZ
20294 [BZ #15479]
20295 [BZ #22665]
20296 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20297 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20298 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20299 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20300
8a5df95f
FW
203012018-01-04 Florian Weimer <fweimer@redhat.com>
20302
20303 [BZ #22667]
20304 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20305 Align the stack before calling exit.
20306 * stdlib/tst-makecontext-align.c: New file.
20307 * stdlib/Makefile (tests): Add tst-makecontext-align.
20308
82eef55f
FW
203092018-01-04 Florian Weimer <fweimer@redhat.com>
20310
20311 Add support for calling dlvsym from libc.so.
20312 * include/dlfcn.h (__libc_dlvsym): Declare.
20313 * elf/Makefile (tests-static-internal): Add
20314 tst-libc_dlvsym-static.
20315 (tests-internal): Add tst-libc_dlvsym.
20316 (modules-names): Add tst-libc_dlvsym-dso.
20317 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20318 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20319 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20320 object tst-libc_dlvsym-dso.so needs to be built before running
20321 these tests.
20322 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20323 * elf/Versions: Export __libc_dlvsym.
20324 * elf/dl-libc.c (struct do_dlvsym_args): New.
20325 (do_dlvsym, __libc_dlvsym): New functions.
20326 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20327 (_dl_open_hook2): New variable.
20328 (__libc_register_dl_open_hook): Set it.
20329 * elf/tst-libc_dlvsym-dso.c: New file.
20330 * elf/tst-libc_dlvsym-static.c: Likewise.
20331 * elf/tst-libc_dlvsym.c: Likewise.
20332 * elf/tst-libc_dlvsym.h: Likewise.
20333
1714fc06
ST
203342018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20335
20336 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20337 include <sys/mount.h>.
20338
3c7d0312
WD
203392018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20340
20341 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20342 Add __NO_MATH_ERRNO__ check.
20343
7eff0954
JM
203442018-01-02 Joseph Myers <joseph@codesourcery.com>
20345
20346 * sysdeps/mips/mips32/libm-test-ulps: Update.
20347 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20348
77f49956
FW
203492018-01-02 Florian Weimer <fweimer@redhat.com>
20350
20351 * misc/tst-pselect.c: Add copyright header.
20352
363e4519 203532018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
20354
20355 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20356 comment.
20357 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20358 comment.
20359 (settrlimit): Rename into setrlimit.
20360 (__sttrlimit): Rename into __setrlimit.
20361
3e4226ff
AJ
20362 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20363 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20364 never defined in that case.
20365
b9256ab6
JM
203662018-01-02 Joseph Myers <joseph@codesourcery.com>
20367
28fd6a44
JM
20368 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20369
a4933a15
JM
20370 * sysdeps/arm/libm-test-ulps: Update.
20371
b9256ab6
JM
20372 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20373 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20374
4cf82d23
RS
203752018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20376
20377 * NEWS: Add cosf and sincosf to list of optimized functions.
20378
6a9dd7a7
AJ
203792018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20380
20381 [BZ #22660]
20382 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20383 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20384 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20385 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20386
dbba87d5
DL
203872018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20388
b05cb613
DL
20389 [BZ #22433]
20390 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20391
dbba87d5
DL
20392 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20393 making a copy of it.
20394
688903eb
JM
203952018-01-01 Joseph Myers <joseph@codesourcery.com>
20396
66ac23de
JM
20397 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20398 trailing whitespace removed.
20399 * scripts/config.guess: Update to version 2018-01-01.
20400 * scripts/config.sub: Update to version 2018-01-01.
20401 * scripts/move-if-change: Update from gnulib.
20402
09533208
JM
20403 * NEWS: Update copyright dates.
20404 * catgets/gencat.c (print_version): Likewise.
20405 * csu/version.c (banner): Likewise.
20406 * debug/catchsegv.sh: Likewise.
20407 * debug/pcprofiledump.c (print_version): Likewise.
20408 * debug/xtrace.sh (do_version): Likewise.
20409 * elf/ldconfig.c (print_version): Likewise.
20410 * elf/ldd.bash.in: Likewise.
20411 * elf/pldd.c (print_version): Likewise.
20412 * elf/sotruss.sh: Likewise.
20413 * elf/sprof.c (print_version): Likewise.
20414 * iconv/iconv_prog.c (print_version): Likewise.
20415 * iconv/iconvconfig.c (print_version): Likewise.
20416 * locale/programs/locale.c (print_version): Likewise.
20417 * locale/programs/localedef.c (print_version): Likewise.
20418 * login/programs/pt_chown.c (print_version): Likewise.
20419 * malloc/memusage.sh (do_version): Likewise.
20420 * malloc/memusagestat.c (print_version): Likewise.
20421 * malloc/mtrace.pl: Likewise.
20422 * manual/libc.texinfo: Likewise.
20423 * nptl/version.c (banner): Likewise.
20424 * nscd/nscd.c (print_version): Likewise.
20425 * nss/getent.c (print_version): Likewise.
20426 * nss/makedb.c (print_version): Likewise.
20427 * posix/getconf.c (main): Likewise.
20428 * scripts/test-installation.pl: Likewise.
20429 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20430
688903eb
JM
20431 * All files with FSF copyright notices: Update copyright dates
20432 using scripts/update-copyrights.
20433 * locale/programs/charmap-kw.h: Regenerated.
20434 * locale/programs/locfile-kw.h: Likewise.
20435
4f820792
ZW
204362017-12-31 Zack Weinberg <zackw@panix.com>
20437
20438 * libio/bits/libio-ldbl.h: Correct check for improper
20439 inclusion. Add own multiple include guard.
20440
3e3c904d
AJ
204412017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20442 Dmitry V. Levin <ldv@altlinux.org>
20443
20444 [BZ #22625]
31f96325 20445 CVE-2017-16997
3e3c904d
AJ
20446 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20447 string token expansion. Check for NULL pointer or empty string possibly
20448 returned by expand_dynamic_string_token.
20449 (decompose_rpath): Check for empty path after dynamic string
20450 token expansion.
20451
7e21972b
DL
204522017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20453
c48831d0
DL
20454 [BZ #22433]
20455 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20456
ac583f50
DL
20457 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20458 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20459 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20460 and PTRACE_SYSCALL.
20461 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20462 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20463 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20464 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20465 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20466 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20467
7e21972b
DL
20468 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20469 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20470 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20471 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20472 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20473 bits/ptrace-shared.h.
20474 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20475 <bits/ptrace-shared.h>.
20476 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20477 __ptrace_peeksiginfo_flags, ptrace): Remove.
20478 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20479 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20480 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20481 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20482 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20483
72f29e3a
AJ
204842017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20485
20486 [BZ #17804]
20487 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20488 end of the loop. Improve comments.
20489
54e4efc2
AJ
204902017-12-29 Zack Weinberg <zackw@panix.com>
20491
20492 [BZ #22615]
20493 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20494 might be set on success.
20495
f8aa69be
AJ
204962017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20497
20498 [BZ #22611]
20499 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20500 is unchanged on success.
20501
97f13188
DL
205022017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20503
2bd86632
DL
20504 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20505 updated.
20506 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20507 expand_dynamic_string_token): Likewise.
20508 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20509 is_path argument.
20510
1c36e1e6
DL
20511 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20512 contains ':'.
20513
97f13188
DL
20514 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20515 is set and name contains ':', and all code depending on these checks.
20516
48a8f832
ZW
205172017-12-24 Zack Weinberg <zackw@panix.com>
20518
20519 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20520 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20521 respectively.
20522 * libio/libio.h: Rename the original version of this file to
20523 libio/bits/libio.h. Error out if not included by stdio.h or the
20524 stub libio.h.
20525 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20526 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20527 if not included by bits/libio.h or the stub _G_config.h.
20528 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20529 sysdeps/unix/sysv/linux/bits. Error out if not included by
20530 bits/libio.h or the stub _G_config.h.
20531 * libio/stdio.h: Include bits/libio.h, not libio.h.
20532 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20533 well as libio.h and _G_config.h.
20534
20535 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20536 * libio/strfile.h, stdio-common/vfscanf.c
20537 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20538 Include stdio.h, not _G_config.h nor libio.h.
20539 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20540 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20541
20542 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20543
a47ad79a
DL
205442017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20545
20546 [BZ #22347]
20547 * stdlib/getrandom.c (getrandom): Fix comment.
20548 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20549
363e4519 205502017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 20551
f5c558f3
AJ
20552 [BZ #21161]
20553 * manual/arith.texi (strtoul): Fix a typo.
20554
e65a5644
AJ
20555 [BZ #22596]
20556 * manual/arith.texi (finite): Fix the description of the return
20557 value.
20558
ed8ae46b
EB
205592017-12-22 Eric Blake <ebb9@byu.net>
20560
20561 Avoid gcc warnings on cygwin
20562 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20563 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20564 Avoid unused variable.
20565
bad7a0c8
FW
205662017-12-22 Florian Weimer <fweimer@redhat.com>
20567
20568 * io/Makefile (routines): Add copy_file_range.
20569 (tests): Add tst-copy_file_range.
20570 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20571 * io/Versions (GLIBC_2.27): Export copy_file_range.
20572 * io/copy_file_range-compat.c: New file.
20573 * io/copy_file_range.c: Likewise.
20574 * io/tst-copy_file_range-compat.c: Likewise.
20575 * io/tst-copy_file_range.c: Likewise.
20576 * manual/llio.texi (Copying File Data): New section.
20577 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20578 * support/Makefile (libsupport-routines): Add support-xfstat,
20579 xftruncate, xlseek.
20580 * support/support-xfstat.c: New file.
20581 * support/xftruncate.c: Likewise.
20582 * support/xlseek.c: Likewise.
20583 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20584 * sysdeps/unix/sysv/linux/**.abilist: Update.
20585 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20586
6cb86fd2
SN
205872017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20588
20589 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20590 disable-multi-arch variant to aarch64-linux-gnu.
20591
41d11b15
JM
205922017-12-20 Joseph Myers <joseph@codesourcery.com>
20593
20594 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20595 trailing whitespace removed.
20596 * scripts/config.guess: Update to version 2017-12-17.
20597 * scripts/config.sub: Update to version 2017-11-23.
20598 * scripts/install-sh: Update to version 2017-09-23.17.
20599 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20600
4735850f
AZ
206012017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20602
8d2d239c
AZ
20603 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20604 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20605 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20606 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20607 * sysdeps/tile/crtn.S: Likewise.
20608 * sysdeps/tile/dl-start.S (_start): Likewise.
20609 * sysdeps/tile/dl-trampoline.S: Likewise.
20610 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20611 * sysdeps/tile/start.S (_start): Likewise.
20612 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20613 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20614 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20615 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20616 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20617 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20618 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20619
24d1d8ec
AZ
20620 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20621 comment.
20622 * sysdeps/tile/preconfigure: Remove tilegx folder.
20623 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20624 * sysdeps/tile/Implies: ... here.
20625 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20626 * sysdeps/tile/Makefile: ... here.
20627 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20628 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20629 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20630 * sysdeps/tile/bits/wordsize.h: ... here.
20631 * sysdeps/tile/tilegx/*: Move to ...
20632 * sysdeps/tile/*: ... here.
20633 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20634 * sysdeps/tile/tilegx32/Implies: ... here.
20635 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20636 * sysdeps/tile/tilegx64/Implies: ... here.
20637 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20638 to ...
20639 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20640 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20641 * sysdeps/unix/sysv/linux/tile/*: ... here.
20642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20643 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20645 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20646
ed95f611
AZ
20647 * README: Remove tilepro-*-linux-gnu from supported architecture.
20648 * scripts/build-many-glibcs.py: Likewise.
20649 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20650 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20651 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20652 elf_machine_matches_host, elf_machine_dynamic,
20653 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20654 howto, elf_machine_rela): Likewise.
20655 * sysdeps/tile/dl-start.S (_start): Likewise.
20656 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20657 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20658 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20659 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20660 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20661 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20662 Likewise.
20663 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20664 * sysdeps/tile/preconfigure: Likewise.
20665 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20666 POINTER_CHK_GUARD): Likewise.
20667 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20668 * sysdeps/tile/start.S (_start): Likewise.
20669 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20670 Likewise.
20671 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20672 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20673 CMOVNEZ): Remove.
20674 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20675 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20676 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20677 Likewise.
20678 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20679 * sysdeps/tile/tilepro/Implies: Remove file.
20680 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20681 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20682 * sysdeps/tile/tilepro/memchr.c: Likewise.
20683 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20684 * sysdeps/tile/tilepro/memset.c: Likewise.
20685 * sysdeps/tile/tilepro/memusage.h: Likewise.
20686 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20687 * sysdeps/tile/tilepro/strchr.c: Likewise.
20688 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20689 * sysdeps/tile/tilepro/strlen.c: Likewise.
20690 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20691 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20692 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20693 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20694 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20695 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20696 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20697 Likewise.
20698 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20699 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20700 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20701 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20702 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20703 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20704 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20705 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20706 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20707 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20708 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20709 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20710 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20711 tilepro mention in comment.
20712
4735850f
AZ
20713 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20714 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20715 * nptl/pthread_join_common.c: New file: common function used on
20716 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20717 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20718 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20719 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20720 (cleanup): Move definition to pthread_join_common.c.
20721 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20722 Remove superflous checks.
20723 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20724 Likewise.
20725
8bfb461e
SN
207262017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20727
20728 * sysdeps/aarch64/libm-test-ulps: Update.
20729
4e001969
AZ
207302017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20731
20732 * sysdeps/aarch64/memset.S (MEMSET): Define.
20733
8a26ad2a
FW
207342017-12-20 Florian Weimer <fweimer@redhat.com>
20735
20736 [BZ #22635]
20737 nptl: Provide full implementation of pthread_self in libc.so.
20738 * nptl/Makefile (routines): Add pthread_self.
20739 (libpthread-routines): Replace pthread_self with
20740 compat-pthread_self.
20741 * nptl/forward.c (pthread_self): Remove.
20742 * nptl/nptl-init.c (pthread_functions): Do not initialize
20743 ptr_pthread_self.
20744 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20745 * nptl/compat-pthread_self.c: New file.
20746 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20747 Remove ptr_pthread_self.
20748
5069ff32
AR
207492017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20750
20751 * posix/regcomp.c: Fix spelling in comments.
20752 * posix/regex.h: Likewise.
20753 * posix/regex_internal.c: Likewise.
20754 * posix/regexec.c: Likewise.
20755
c85e54ac
GG
207562017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20757
20758 [BZ #22377]
20759 * math/Makefile [C++] (tests): Add test for iseqsig.
20760 * math/math.h [C++] (iseqsig): New implementation, which does
20761 not rely on __MATH_TG/__builtin_types_compatible_p.
20762 * math/test-math-iseqsig.cc: New file.
20763 * sysdeps/powerpc/powerpc64le/Makefile
20764 (CFLAGS-test-math-iseqsig.cc): New variable.
20765
10e93d96
DL
207662017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20767
20768 * elf/dl-load.c (is_trusted_path): Remove.
20769 (fillin_rpath): Remove check_trusted argument and its use,
20770 all callers changed.
20771
ce16eb52
L
207722017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20773
20774 [BZ #22630]
20775 * Makeconfig (link-pie-before-libc): Replace -pie with
20776 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20777 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20778 (tst-dlopen-aout-no-pie): New.
20779 (LDFLAGS-tst-prelink): Removed.
20780 (tst-prelink-no-pie): New.
20781 (LDFLAGS-tst-main1): Removed.
20782 (tst-main1-no-pie): New.
20783 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20784 (tst-gmon-no-pie): New.
20785
126adc89
L
207862017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20787
20788 * manual/install.texi: Document that --enable-static-pie
20789 implies PIE.
20790 * INSTALL: Regenerated.
20791
648615e1
BE
207922017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20793
20794 [BZ #21309]
20795 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20796 unsigned.
20797
f1e00502
JM
207982017-12-19 Joseph Myers <joseph@codesourcery.com>
20799
20800 Revert:
20801
20802 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20803
20804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20805
20806 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20807
20808 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20809 <errno.h>. Include "eexp.tbl".
20810 (half): New constant.
20811 (one): Likewise.
20812 (__ieee754_exp): Rewrite.
20813 (__slowexp): Remove prototype.
20814 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20815 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20816 * sysdeps/i386/fpu/slowexp.c: Likewise.
20817 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20818 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20819 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20820 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20821 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20822 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20823 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20824 comment.
20825 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20826 (CPPFLAGS-slowexp.c): Remove variable.
20827 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20828 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20829 (CFLAGS-slowexp-fma.c): Remove variable.
20830 (CFLAGS-slowexp-fma4.c): Likewise.
20831 (CFLAGS-slowexp-avx.c): Likewise.
20832 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20833 define as macro.
20834 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20835 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20836 * math/Makefile (type-double-routines): Remove slowexp.
20837 * manual/probes.texi (slowexp_p6): Remove.
20838 (slowexp_p32): Likewise.
20839
d711a00f
AZ
208402017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20841
e184ac3a
AZ
20842 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20843 arithmetic.
20844
d711a00f
AZ
20845 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20846
6f58c10d
JM
208472017-12-19 Joseph Myers <joseph@codesourcery.com>
20848
20849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20850
6fd0a3c6
PM
208512017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20852
20853 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20854 <errno.h>. Include "eexp.tbl".
20855 (half): New constant.
20856 (one): Likewise.
20857 (__ieee754_exp): Rewrite.
20858 (__slowexp): Remove prototype.
20859 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20860 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20861 * sysdeps/i386/fpu/slowexp.c: Likewise.
20862 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20863 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20864 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20865 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20866 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20867 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20868 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20869 comment.
20870 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20871 (CPPFLAGS-slowexp.c): Remove variable.
20872 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20873 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20874 (CFLAGS-slowexp-fma.c): Remove variable.
20875 (CFLAGS-slowexp-fma4.c): Likewise.
20876 (CFLAGS-slowexp-avx.c): Likewise.
20877 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20878 define as macro.
20879 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20880 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20881 * math/Makefile (type-double-routines): Remove slowexp.
20882 * manual/probes.texi (slowexp_p6): Remove.
20883 (slowexp_p32): Likewise.
20884
3bb1ef58 208852017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 20886 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
20887
20888 [BZ #22603]
20889 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20890 addition.
20891
554e3d51
AZ
208922017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20893
20894 [BZ #22605]
20895 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20896 code.
20897
cba595c3
L
208982017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20899
20900 [BZ #22563]
20901 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20902 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20903 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20904 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20905 to feature_1.
20906
f81ddabf
L
209072017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20908
20909 [BZ #22563]
20910 * bits/types/__cancel_jmp_buf_tag.h: New file.
20911 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20912 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20913 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20914 * nptl/Makefile (headers): Add
20915 bits/types/__cancel_jmp_buf_tag.h.
20916 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20917 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20918 * sysdeps/nptl/pthread.h: Include
20919 <bits/types/__cancel_jmp_buf_tag.h>.
20920 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20921 __cancel_jmp_buf.
20922 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20923
1a49fc59
L
209242017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20925
20926 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20927 --enable-static-pie variants to x86_64, x32 and i686.
20928
8e52f573
JM
209292017-12-19 Joseph Myers <joseph@codesourcery.com>
20930
66425185
JM
20931 [BZ #22631]
20932 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20933 argument for attrubutes. All callers changed.
20934 (__inline_mathop1): Likewise. All callers changed.
20935 (__inline_mathop): Likewise. All callers changed.
20936 [__USE_MISC] (scalbn): Use __inline_forward instead of
20937 __inline_forward_c.
20938 [__USE_ISOC99] (scalbln): Likewise.
20939 [__USE_ISOC99] (nearbyint): Likewise.
20940 [__USE_ISOC99] (lrint): Likewise.
20941 [__USE_MISC] (scalbnf): Likewise.
20942 [__USE_ISOC99] (scalblnf): Likewise.
20943 [__USE_ISOC99] (nearbyintf): Likewise.
20944 [__USE_ISOC99] (lrintf): Likewise.
20945 [__USE_MISC] (scalbnl): Likewise.
20946 [__USE_ISOC99] (scalblnl): Likewise.
20947 [__USE_ISOC99] (nearbyintl): Likewise.
20948 [__USE_ISOC99] (lrintl): Likewise.
20949 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20950 __inline_mathop and __m81_defun changed.
20951
8e52f573
JM
20952 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20953 CPU or FPU for ARM hard-float configurations.
20954
1421f39b
JM
209552017-12-18 Joseph Myers <joseph@codesourcery.com>
20956
40c4162d
JM
20957 * nptl/tst-attr3.c: Include <libc-diag.h>.
20958 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20959
5983df32
JM
20960 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20961
1421f39b
JM
20962 * string/tester.c (test_strncat): Also disable -Warray-bounds
20963 warnings for two tests.
20964
00c714df
L
209652017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20966
20967 [BZ #22614]
20968 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20969 $(cc-pie-default) == yes.
20970 * config.make.in (cc-pie-default): New.
20971 * configure.ac (libc_cv_pie_default): Renamed to ...
20972 (libc_cv_cc_pie_default): This.
20973 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20974 * configure: Regenerated.
20975
8e1472d2
FW
209762017-12-18 Florian Weimer <fweimer@redhat.com>
20977
20978 [BZ #20204]
20979 ld.so: Harden dl-libc/libdl hooks.
20980 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20981 (rtld_active): New function.
20982 * dlfcn/dladdr.c (__dladdr): Call it.
20983 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20984 * dlfcn/dlclose.c (__dlcose): Likewise.
20985 * dlfcn/dlerror.c (__dlerror): Likewise.
20986 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20987 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20988 * dlfcn/dlopen.c (__dlopen): Likewise.
20989 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20990 * dlfcn/dlsym.c (__dlsym): Likewise.
20991 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20992 * libio/vtables.c (_IO_vtable_check): Likewise.
20993 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20994 (__libc_dlclose): Likewise.
20995 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20996 assignment.
20997
49b036bc
JM
209982017-12-18 Joseph Myers <joseph@codesourcery.com>
20999
21000 [BZ #22446]
21001 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
21002 buffers for readlink input and output.
21003
368b6c8d
ST
210042017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
21005
c85c564d
ST
21006 [BZ #22624]
21007 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
21008 inhibit_stack_protector.
21009
368b6c8d
ST
21010 [BZ #22624]
21011 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
21012 inhibit_stack_protector.
21013
bb195224
DL
210142017-12-18 Dmitry V. Levin <ldv@altlinux.org>
21015
21016 [BZ #22627]
21017 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
21018 code and invocation.
21019
14d886ed
SN
210202017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21021
21022 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21023
7d38eb38
AJ
210242017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21025
21026 [BZ #22505]
21027 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21028
2e77deef
RS
210292017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21030
21031 * sysdeps/s390/fpu/libm-test-ulps: Update.
21032
0b9bef6d
RS
210332017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21034
21035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21036
984ae996
RS
210372017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21038
21039 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21040 constants to s_sincosf.h file.
21041 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21042 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21043 implementation.
21044 * sysdeps/ieee754/flt-32/s_sincosf.h:
21045 New file.
21046
363e4519 210472017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
21048
21049 [BZ #14681]
21050 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21051 before mtrace.
21052
9d7a3741
L
210532017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21054
21055 [BZ #19574]
21056 * INSTALL: Regenerated.
21057 * Makeconfig (real-static-start-installed-name): New.
21058 (pic-default): Updated for --enable-static-pie.
21059 (pie-default): New for --enable-static-pie.
21060 (default-pie-ldflag): Likewise.
21061 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21062 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21063 Replace $(static-start-installed-name) with
21064 $(real-static-start-installed-name).
21065 (+prectorT): Updated for --enable-static-pie.
21066 (+postctorT): Likewise.
21067 (CFLAGS-.o): Add $(pie-default).
21068 (CFLAGS-.op): Likewise.
21069 * NEWS: Mention --enable-static-pie.
21070 * config.h.in (ENABLE_STATIC_PIE): New.
21071 * configure.ac (--enable-static-pie): New configure option.
21072 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21073 (have-static-pie): Likewise.
21074 Enable static PIE if linker supports --no-dynamic-linker.
21075 (ENABLE_STATIC_PIE): New AC_DEFINE.
21076 (enable-static-pie): New LIBC_CONFIG_VAR.
21077 * configure: Regenerated.
21078 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21079 gr$(start-installed-name) for --enable-static-pie.
21080 (extra-objs): Likewise.
21081 (install-lib): Likewise.
21082 (extra-objs): Add static-reloc.o and static-reloc.os
21083 ($(objpfx)$(start-installed-name)): Also depend on
21084 $(objpfx)static-reloc.o.
21085 ($(objpfx)r$(start-installed-name)): New.
21086 ($(objpfx)g$(start-installed-name)): Also depend on
21087 $(objpfx)static-reloc.os.
21088 ($(objpfx)gr$(start-installed-name)): New.
21089 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21090 in libc.a.
21091 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21092 initimage.
21093 * csu/static-reloc.c: New file.
21094 * elf/Makefile (routines): Add dl-reloc-static-pie.
21095 (elide-routines.os): Likewise.
21096 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21097 (tst-tls1-static-non-pie-no-pie): New.
21098 * elf/dl-reloc-static-pie.c: New file.
21099 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21100 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21101 STATIC_PIE_BOOTSTRAP.
21102 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21103 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21104 (tests-static): Likewise.
21105 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21106 (tst-gmon-static-no-pie): New.
21107 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21108 (CRT-tst-gmon-static-pie): Likewise.
21109 (tst-gmon-static-pie-ENV): Likewise.
21110 (tests-special): Likewise.
21111 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21112 (clean-tst-gmon-static-pie-data): Likewise.
21113 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21114 * gmon/tst-gmon-static-pie.c: New file.
21115 * manual/install.texi: Document --enable-static-pie.
21116 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21117 (_dl_get_dl_main_map): Likewise.
21118 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21119 * sysdeps/x86_64/configure.ac: Likewise.
21120 * sysdeps/i386/configure: Regenerated.
21121 * sysdeps/x86_64/configure: Likewise.
21122 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21123 (ASFLAGS-.op): Likewise.
21124
95511aab
JM
211252017-12-15 Joseph Myers <joseph@codesourcery.com>
21126
21127 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21128 * posix/tst-mmap-offset.c (fname): Use /tmp.
21129 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21130
a7e3edf4
SE
211312017-12-15 Steve Ellcey <sellcey@cavium.com>
21132
21133 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21134
d232f2e1
TS
211352017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21136
21137 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21138 errno.
21139
174edbde
JM
211402017-12-15 Joseph Myers <joseph@codesourcery.com>
21141
5170fa49
JM
21142 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21143 --with-float=hard for arm-linux-gnueabihf configurations.
21144
f2da2fd8
JM
21145 [BZ #14121]
21146 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21147 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21148 ($(mo-installed)): Use $(objpfx)%.mo.
21149 (realclean): Remove rule.
21150
0c4fe28d
JM
21151 * po/Makefile (linguas): Remove rule and dependencies.
21152 (linguas.mo): Likewise.
21153 (.PHONY): Do not depend on linguas and linguas.mo.
21154 (podir): Remove variable.
21155 (pofiles): Likewise.
21156 [$(pofiles)] (%.po): Remove rule.
21157
174edbde
JM
21158 * sysdeps/sparc/sparc32/Makefile
21159 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21160 start-of-line whitespace in argument of echo.
21161 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21162 with whitespace. Generate __wrap_.udiv alias.
21163 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21164 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21165 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21166 * sysdeps/sparc/sparc32/urem.S: Likewise.
21167
1e36806f
RS
211682017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21169
21170 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21171 for aligned inputs.
21172
aa6932aa
SP
211732017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21174
5f1603c3
SP
21175 * benchtests/bench-strcmp.c: Print output in JSON format.
21176
aa6932aa
SP
21177 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21178
3ff3dfa5
FW
211792017-12-14 Florian Weimer <fweimer@redhat.com>
21180
21181 [BZ #22607]
21182 CVE-2017-1000409
21183 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21184 the expanded path string.
21185
8a0b17e4
FW
211862017-12-14 Florian Weimer <fweimer@redhat.com>
21187
21188 [BZ #22606]
21189 CVE-2017-1000408
21190 * elf/dl-load.c (system_dirs): Update comment.
21191 (nsystem_dirs_len): Use array_length.
21192 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21193
f58bd7f0
FW
211942017-12-14 Florian Weimer <fweimer@redhat.com>
21195
21196 Simplify compiling most of support/ outside of glibc.
21197 * support/check_addrinfo.c: Include <string.h>.
21198 * support/check_dns_packet.c: Likewise.
21199 * support/check_hostent.c: Likewise.
21200 * support/support_can_chroot.c: Include <support/xunistd.h>.
21201 * support/support_format_addrinfo.c: Include <stdlib.h>
21202 * support/support_format_dns_packet.c: Include <stdbool.h>.
21203 * support/support_format_hostent.c: Include <stdlib.h>.
21204 * support/support_format_netent.c: Likewise.
21205 * support/support_write_string.c: Include <support/xunistd.h>.
21206 * support/xdlfcn.c: Include <stddef.h>.
21207
4ca945e9
L
212082017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21209
21210 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21211
1b6e07f8
PM
212122017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21213 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21214
e6a1c5dc
PM
21215 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21216 (sysdeps_routines): Add memset-niagara7.
21217 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21218 Likewise.
21219 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21220 file.
21221 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21222 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21223 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21224 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21225 Add niagara7 option.
21226 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21227 memset.
21228
1b6e07f8
PM
21229 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21230 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21231 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21232 Likewise.
21233 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21234 New file.
21235 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21236 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21237 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21238 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21239 and __memmove_niagara7.
21240 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21241 Add niagara7 option.
21242 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21243 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21244 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21245 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21246 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21247
bfb7bf22
JM
212482017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21249
767a26d6
JM
21250 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21251 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21252 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21253 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21254
bfb7bf22
JM
21255 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21256 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21257 _dl_sparc_cap_flags array.
21258 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21259
2bce01eb
SP
212602017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21261
21262 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21263 time whenever possible.
21264
363e4519 212652017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
21266
21267 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21268 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21269
6f7c0092
JM
212702017-12-12 Joseph Myers <joseph@codesourcery.com>
21271
21272 * soft-fp/fmadf4.c: Move to ....
21273 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21274 * soft-fp/fmasf4.c: Move to ....
21275 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21276 * soft-fp/fmatf4.c: Move to ....
21277 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21278 * sysdeps/ieee754/soft-fp/Makefile: New file.
21279 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21280 * sysdeps/arm/preconfigure: Regenerated.
21281 * sysdeps/arm/nofpu/Implies: New file.
21282 * sysdeps/arm/s_fma.c: Remove file.
21283 * sysdeps/arm/s_fmaf.c: Likewise.
21284 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21285 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21286 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21287 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21288 * sysdeps/microblaze/s_fma.c: Remove file.
21289 * sysdeps/microblaze/s_fmaf.c: Likewise.
21290 * sysdeps/mips/mips32/nofpu/Implies: New file.
21291 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21292 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21293 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21294 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21295 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21296 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21297 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21298 implementation.
21299 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21300 * sysdeps/nios2/s_fma.c: Remove file.
21301 * sysdeps/nios2/s_fmaf.c: Likewise.
21302 * sysdeps/sh/nofpu/Implies: New file.
21303 * sysdeps/sh/s_fma.c: Remove file.
21304 * sysdeps/sh/s_fmaf.c: Likewise.
21305 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21306 * sysdeps/tile/s_fma.c: Remove file.
21307 * sysdeps/tile/s_fmaf.c: Likewise.
21308
ac817e08
L
213092017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21310
21311 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21312 Add s_cosf-sse2 and s_cosf-fma.
21313 (CFLAGS-s_cosf-fma.c): New.
21314 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21315 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21316 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21317
eb428576
SE
213182017-12-12 Steve Ellcey <sellcey@cavium.com>
21319
21320 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21321
c80acdc3
AZ
213222017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21323
cc683f7e
AZ
21324 * libio/Makefile (tests): Add tst-bz22415.
21325 (tst-bz22415-ENV): New rule.
21326 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21327 (tests-special): Add tst-bz22415-mem.out.
21328 ($(objpfx)tst-bz22415-mem.out): New rule.
21329 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21330 in case of a successful seek operation.
21331 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21332 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21333 buffer is required.
21334 * libio/tst-bz22415.c: New test.
21335
c80acdc3
AZ
21336 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21337
363e4519 213382017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
21339
21340 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21341 __IPC_64 to 0 to avoid IPC_64 being set.
21342
4e0dca54
SN
213432017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21344
21345 [BZ #22593]
21346 * math/bits/mathcalls.h (nextafter): Remove const.
21347 (nexttoward): Likewise.
21348
8df5d347
JM
213492017-12-12 Joseph Myers <joseph@codesourcery.com>
21350
21351 * configure.ac (--with-fp): Remove configure option.
21352 (with_fp_cond): New variable.
21353 (libc_cv_with_fp): New configure test. Use this variable instead
21354 of with_fp.
21355 * configure: Regenerated.
21356 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21357 * manual/install.texi (Configuring and compiling): Remove
21358 --without-fp.
21359 * INSTALL: Regenerated.
21360 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21361 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21362 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21363 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21364 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21365 use --without-fp to configure glibc.
21366
0cee1257
RJ
213672017-12-12 Rical Jasan <ricaljasan@pacific.net>
21368
21369 * manual/locale.texi (nl_langinfo): Fix a typo.
21370
363e4519 213712017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
21372
21373 [BZ #22588]
21374 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21375
36975e8e
L
213762017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21377
21378 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21379 (CFLAGS-argp-parse.c): Likewise.
21380 (CFLAGS-argp-fmtstream.c): Likewise.
21381 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21382 (CPPFLAGS-sha512-crypt.c): Likewise.
21383 (CPPFLAGS-md5-crypt.c): Likewise.
21384 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21385 (CFLAGS-stack_chk_fail_local.c): Likewise.
21386 (CFLAGS-backtrace.c): Likewise.
21387 (CFLAGS-sprintf_chk.c): Likewise.
21388 (CFLAGS-snprintf_chk.c): Likewise.
21389 (CFLAGS-vsprintf_chk.c): Likewise.
21390 (CFLAGS-vsnprintf_chk.c): Likewise.
21391 (CFLAGS-asprintf_chk.c): Likewise.
21392 (CFLAGS-vasprintf_chk.c): Likewise.
21393 (CFLAGS-obprintf_chk.c): Likewise.
21394 (CFLAGS-dprintf_chk.c): Likewise.
21395 (CFLAGS-vdprintf_chk.c): Likewise.
21396 (CFLAGS-printf_chk.c): Likewise.
21397 (CFLAGS-fprintf_chk.c): Likewise.
21398 (CFLAGS-vprintf_chk.c): Likewise.
21399 (CFLAGS-vfprintf_chk.c): Likewise.
21400 (CFLAGS-gets_chk.c): Likewise.
21401 (CFLAGS-fgets_chk.c): Likewise.
21402 (CFLAGS-fgets_u_chk.c): Likewise.
21403 (CFLAGS-fread_chk.c): Likewise.
21404 (CFLAGS-fread_u_chk.c): Likewise.
21405 (CFLAGS-swprintf_chk.c): Likewise.
21406 (CFLAGS-vswprintf_chk.c): Likewise.
21407 (CFLAGS-wprintf_chk.c): Likewise.
21408 (CFLAGS-fwprintf_chk.c): Likewise.
21409 (CFLAGS-vwprintf_chk.c): Likewise.
21410 (CFLAGS-vfwprintf_chk.c): Likewise.
21411 (CFLAGS-fgetws_chk.c): Likewise.
21412 (CFLAGS-fgetws_u_chk.c): Likewise.
21413 (CFLAGS-read_chk.c): Likewise.
21414 (CFLAGS-pread_chk.c): Likewise.
21415 (CFLAGS-pread64_chk.c): Likewise.
21416 (CFLAGS-recv_chk.c): Likewise.
21417 (CFLAGS-recvfrom_chk.c): Likewise.
21418 (CFLAGS-tst-longjmp_chk.c): Likewise.
21419 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21420 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21421 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21422 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21423 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21424 (CFLAGS-tst-chk1.c): Likewise.
21425 (CFLAGS-tst-chk2.c): Likewise.
21426 (CFLAGS-tst-chk3.c): Likewise.
21427 (CFLAGS-tst-chk4.cc): Likewise.
21428 (CFLAGS-tst-chk5.cc): Likewise.
21429 (CFLAGS-tst-chk6.cc): Likewise.
21430 (CFLAGS-tst-lfschk1.c): Likewise.
21431 (CFLAGS-tst-lfschk2.c): Likewise.
21432 (CFLAGS-tst-lfschk3.c): Likewise.
21433 (CFLAGS-tst-lfschk4.cc): Likewise.
21434 (CFLAGS-tst-lfschk5.cc): Likewise.
21435 (CFLAGS-tst-lfschk6.cc): Likewise.
21436 (CFLAGS-tst-ssp-1.c): Likewise.
21437 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21438 (CFLAGS-scandir64.c): Likewise.
21439 (CFLAGS-scandir-tail.c): Likewise.
21440 (CFLAGS-scandir64-tail.c): Likewise.
21441 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21442 (CFLAGS-dl-tunables.c): Likewise.
21443 (CFLAGS-dl-runtime.c): Likewise.
21444 (CFLAGS-dl-lookup.c): Likewise.
21445 (CFLAGS-dl-iterate-phdr.c): Likewise.
21446 (CFLAGS-vismain.c): Likewise.
21447 (CFLAGS-tst-linkall-static.c): Likewise.
21448 (CFLAGS-tst-linkall-static.c): Likewise.
21449 (CPPFLAGS-dl-load.c): Likewise.
21450 (CFLAGS-ldconfig.c): Likewise.
21451 (CFLAGS-dl-cache.c): Likewise.
21452 (CFLAGS-cache.c): Likewise.
21453 (CFLAGS-rtld.c): Likewise.
21454 (CFLAGS-multiload.c): Likewise.
21455 (CFLAGS-filtmod1.c): Likewise.
21456 (CFLAGS-tst-align.c): Likewise.
21457 (CFLAGS-tst-align2.c): Likewise.
21458 (CFLAGS-tst-alignmod.c): Likewise.
21459 (CFLAGS-tst-alignmod2.c): Likewise.
21460 (CPPFLAGS-tst-execstack.c): Likewise.
21461 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21462 (CFLAGS-tst-latepthreadmod.c): Likewise.
21463 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21464 (CFLAGS-getgrnam_r.c): Likewise.
21465 (CFLAGS-getgrent_r.c): Likewise.
21466 (CFLAGS-getgrent.c): Likewise.
21467 (CFLAGS-fgetgrent.c): Likewise.
21468 (CFLAGS-fgetgrent_r.c): Likewise.
21469 (CFLAGS-putgrent.c): Likewise.
21470 (CFLAGS-initgroups.c): Likewise.
21471 (CFLAGS-getgrgid.c): Likewise.
21472 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21473 (CFLAGS-getsgent.c): Likewise.
21474 (CFLAGS-fgetsgent.c): Likewise.
21475 (CFLAGS-fgetsgent_r.c): Likewise.
21476 (CFLAGS-putsgent.c): Likewise.
21477 (CFLAGS-getsgnam.c): Likewise.
21478 (CFLAGS-getsgnam_r.c): Likewise.
21479 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21480 (CFLAGS-iconv_charmap.c): Likewise.
21481 (CFLAGS-dummy-repertoire.c): Likewise.
21482 (CFLAGS-charmap.c): Likewise.
21483 (CFLAGS-linereader.c): Likewise.
21484 (CFLAGS-simple-hash.c): Likewise.
21485 (CFLAGS-gconv_conf.c): Likewise.
21486 (CFLAGS-iconvconfig.c): Likewise.
21487 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21488 (CFLAGS-gethstbyad.c): Likewise.
21489 (CFLAGS-gethstbynm_r.c): Likewise.
21490 (CFLAGS-gethstbynm.c): Likewise.
21491 (CFLAGS-gethstbynm2_r.c): Likewise.
21492 (CFLAGS-gethstbynm2.c): Likewise.
21493 (CFLAGS-gethstent_r.c): Likewise.
21494 (CFLAGS-gethstent.c): Likewise.
21495 (CFLAGS-rcmd.c): Likewise.
21496 (CFLAGS-getnetbynm_r.c): Likewise.
21497 (CFLAGS-getnetbynm.c): Likewise.
21498 (CFLAGS-getnetbyad_r.c): Likewise.
21499 (CFLAGS-getnetbyad.c): Likewise.
21500 (CFLAGS-getnetent_r.c): Likewise.
21501 (CFLAGS-getnetent.c): Likewise.
21502 (CFLAGS-getaliasent_r.c): Likewise.
21503 (CFLAGS-getaliasent.c): Likewise.
21504 (CFLAGS-getrpcent_r.c): Likewise.
21505 (CFLAGS-getrpcent.c): Likewise.
21506 (CFLAGS-getservent_r.c): Likewise.
21507 (CFLAGS-getservent.c): Likewise.
21508 (CFLAGS-getprtent_r.c): Likewise.
21509 (CFLAGS-getprtent.c): Likewise.
21510 (CFLAGS-either_ntoh.c): Likewise.
21511 (CFLAGS-either_hton.c): Likewise.
21512 (CFLAGS-getnetgrent.c): Likewise.
21513 (CFLAGS-getnetgrent_r.c): Likewise.
21514 (CFLAGS-tst-checks-posix.c): Likewise.
21515 (CFLAGS-tst-sockaddr.c): Likewise.
21516 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21517 (CFLAGS-tst-translit.c): Likewise.
21518 (CFLAGS-tst-gettext2.c): Likewise.
21519 (CFLAGS-tst-codeset.c): Likewise.
21520 (CFLAGS-tst-gettext3.c): Likewise.
21521 (CFLAGS-tst-gettext4.c): Likewise.
21522 (CFLAGS-tst-gettext5.c): Likewise.
21523 (CFLAGS-tst-gettext6.c): Likewise.
21524 * io/Makefile (CFLAGS-open.c): Likewise.
21525 (CFLAGS-open64.c): Likewise.
21526 (CFLAGS-creat.c): Likewise.
21527 (CFLAGS-creat64.c): Likewise.
21528 (CFLAGS-fcntl.c): Likewise.
21529 (CFLAGS-poll.c): Likewise.
21530 (CFLAGS-ppoll.c): Likewise.
21531 (CFLAGS-lockf.c): Likewise.
21532 (CFLAGS-statfs.c): Likewise.
21533 (CFLAGS-fstatfs.c): Likewise.
21534 (CFLAGS-statvfs.c): Likewise.
21535 (CFLAGS-fstatvfs.c): Likewise.
21536 (CFLAGS-fts.c): Likewise.
21537 (CFLAGS-fts64.c): Likewise.
21538 (CFLAGS-ftw.c): Likewise.
21539 (CFLAGS-ftw64.c): Likewise.
21540 (CFLAGS-lockf.c): Likewise.
21541 (CFLAGS-posix_fallocate.c): Likewise.
21542 (CFLAGS-posix_fallocate64.c): Likewise.
21543 (CFLAGS-fallocate.c): Likewise.
21544 (CFLAGS-fallocate64.c): Likewise.
21545 (CFLAGS-read.c): Likewise.
21546 (CFLAGS-write.c): Likewise.
21547 (CFLAGS-test-stat.c): Likewise.
21548 (CFLAGS-test-lfs.c): Likewise.
21549 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21550 (CFLAGS-fputc.c): Likewise.
21551 (CFLAGS-fputwc.c): Likewise.
21552 (CFLAGS-freopen64.c): Likewise.
21553 (CFLAGS-freopen.c): Likewise.
21554 (CFLAGS-fseek.c): Likewise.
21555 (CFLAGS-fseeko64.c): Likewise.
21556 (CFLAGS-fseeko.c): Likewise.
21557 (CFLAGS-ftello64.c): Likewise.
21558 (CFLAGS-ftello.c): Likewise.
21559 (CFLAGS-fwide.c): Likewise.
21560 (CFLAGS-genops.c): Likewise.
21561 (CFLAGS-getc.c): Likewise.
21562 (CFLAGS-getchar.c): Likewise.
21563 (CFLAGS-getwc.c): Likewise.
21564 (CFLAGS-getwchar.c): Likewise.
21565 (CFLAGS-iofclose.c): Likewise.
21566 (CFLAGS-iofflush.c): Likewise.
21567 (CFLAGS-iofgetpos64.c): Likewise.
21568 (CFLAGS-iofgetpos.c): Likewise.
21569 (CFLAGS-iofgets.c): Likewise.
21570 (CFLAGS-iofgetws.c): Likewise.
21571 (CFLAGS-iofputs.c): Likewise.
21572 (CFLAGS-iofputws.c): Likewise.
21573 (CFLAGS-iofread.c): Likewise.
21574 (CFLAGS-iofsetpos64.c): Likewise.
21575 (CFLAGS-iofsetpos.c): Likewise.
21576 (CFLAGS-ioftell.c): Likewise.
21577 (CFLAGS-iofwrite.c): Likewise.
21578 (CFLAGS-iogetdelim.c): Likewise.
21579 (CFLAGS-iogetline.c): Likewise.
21580 (CFLAGS-iogets.c): Likewise.
21581 (CFLAGS-iogetwline.c): Likewise.
21582 (CFLAGS-ioputs.c): Likewise.
21583 (CFLAGS-ioseekoff.c): Likewise.
21584 (CFLAGS-ioseekpos.c): Likewise.
21585 (CFLAGS-iosetbuffer.c): Likewise.
21586 (CFLAGS-iosetvbuf.c): Likewise.
21587 (CFLAGS-ioungetc.c): Likewise.
21588 (CFLAGS-ioungetwc.c): Likewise.
21589 (CFLAGS-oldfileops.c): Likewise.
21590 (CFLAGS-oldiofclose.c): Likewise.
21591 (CFLAGS-oldiofgetpos64.c): Likewise.
21592 (CFLAGS-oldiofgetpos.c): Likewise.
21593 (CFLAGS-oldiofsetpos64.c): Likewise.
21594 (CFLAGS-oldiofsetpos.c): Likewise.
21595 (CFLAGS-peekc.c): Likewise.
21596 (CFLAGS-putc.c): Likewise.
21597 (CFLAGS-putchar.c): Likewise.
21598 (CFLAGS-putwc.c): Likewise.
21599 (CFLAGS-putwchar.c): Likewise.
21600 (CFLAGS-rewind.c): Likewise.
21601 (CFLAGS-wfileops.c): Likewise.
21602 (CFLAGS-wgenops.c): Likewise.
21603 (CFLAGS-oldiofopen.c): Likewise.
21604 (CFLAGS-iofopen.c): Likewise.
21605 (CFLAGS-iofopen64.c): Likewise.
21606 (CFLAGS-oldtmpfile.c): Likewise.
21607 (CFLAGS-tst_putwc.c): Likewise.
21608 * locale/Makefile (CFLAGS-md5.c): Likewise.
21609 (CFLAGS-charmap.c): Likewise.
21610 (CFLAGS-locfile.c): Likewise.
21611 (CFLAGS-charmap-dir.c): Likewise.
21612 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21613 (CFLAGS-getpt.c): Likewise.
21614 (CFLAGS-pt_chown.c): Likewise.
21615 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21616 (CFLAGS-obstack.c): Likewise.
21617 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21618 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21619 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21620 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21621 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21622 (CFLAGS-test-tgmath.c): Likewise.
21623 (CFLAGS-test-tgmath2.c): Likewise.
21624 (CFLAGS-test-tgmath-ret.c): Likewise.
21625 (CFLAGS-test-powl.c): Likewise.
21626 (CFLAGS-test-snan.c): Likewise.
21627 (CFLAGS-test-signgam-finite.c): Likewise.
21628 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21629 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21630 (CFLAGS-test-signgam-uchar.c): Likewise.
21631 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21632 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21633 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21634 (CFLAGS-test-signgam-uint.c): Likewise.
21635 (CFLAGS-test-signgam-uint-init.c): Likewise.
21636 (CFLAGS-test-signgam-uint-static.c): Likewise.
21637 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21638 (CFLAGS-test-signgam-ullong.c): Likewise.
21639 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21640 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21641 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21642 (CFLAGS-test-math-cxx11.cc): Likewise.
21643 (CFLAGS-test-math-isinff.cc): Likewise.
21644 (CFLAGS-test-math-iszero.cc): Likewise.
21645 (CFLAGS-test-math-issignaling.cc): Likewise.
21646 (CFLAGS-test-math-iscanonical.cc): Likewise.
21647 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21648 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21649 (CFLAGS-test-flt-eval-method.c): Likewise.
21650 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21651 (CFLAGS-test-finite-macros.c): Likewise.
21652 * misc/Makefile (CFLAGS-select.c): Likewise.
21653 (CFLAGS-tsearch.c): Likewise.
21654 (CFLAGS-lsearch.c): Likewise.
21655 (CFLAGS-pselect.c): Likewise.
21656 (CFLAGS-readv.c): Likewise.
21657 (CFLAGS-writev.c): Likewise.
21658 (CFLAGS-preadv.c): Likewise.
21659 (CFLAGS-preadv64.c): Likewise.
21660 (CFLAGS-pwritev.c): Likewise.
21661 (CFLAGS-pwritev64.c): Likewise.
21662 (CFLAGS-preadv2.c): Likewise.
21663 (CFLAGS-preadv64v2.c): Likewise.
21664 (CFLAGS-pwritev2.c): Likewise.
21665 (CFLAGS-pwritev64v2.c): Likewise.
21666 (CFLAGS-usleep.c): Likewise.
21667 (CFLAGS-syslog.c): Likewise.
21668 (CFLAGS-error.c): Likewise.
21669 (CFLAGS-getpass.c): Likewise.
21670 (CFLAGS-mkstemp.c): Likewise.
21671 (CFLAGS-mkstemp64.c): Likewise.
21672 (CFLAGS-getsysstats.c): Likewise.
21673 (CFLAGS-getusershell.c): Likewise.
21674 (CFLAGS-err.c): Likewise.
21675 (CFLAGS-tst-tsearch.c): Likewise.
21676 (CFLAGS-msync.c): Likewise.
21677 (CFLAGS-fdatasync.c): Likewise.
21678 (CFLAGS-fsync.c): Likewise.
21679 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21680 (CFLAGS-unwind.c): Likewise.
21681 (CFLAGS-unwind-forcedunwind.c): Likewise.
21682 (CFLAGS-pthread_cancel.c): Likewise.
21683 (CFLAGS-pthread_setcancelstate.c): Likewise.
21684 (CFLAGS-pthread_setcanceltype.c): Likewise.
21685 (CFLAGS-cancellation.c): Likewise.
21686 (CFLAGS-libc-cancellation.c): Likewise.
21687 (CFLAGS-pthread_exit.c): Likewise.
21688 (CFLAGS-forward.c): Likewise.
21689 (CFLAGS-pthread_testcancel.c): Likewise.
21690 (CFLAGS-pthread_join.c): Likewise.
21691 (CFLAGS-pthread_timedjoin.c): Likewise.
21692 (CFLAGS-pthread_once.c): Likewise.
21693 (CFLAGS-pthread_cond_wait.c): Likewise.
21694 (CFLAGS-sem_wait.c): Likewise.
21695 (CFLAGS-sem_timedwait.c): Likewise.
21696 (CFLAGS-fcntl.c): Likewise.
21697 (CFLAGS-lockf.c): Likewise.
21698 (CFLAGS-pread.c): Likewise.
21699 (CFLAGS-pread64.c): Likewise.
21700 (CFLAGS-pwrite.c): Likewise.
21701 (CFLAGS-pwrite64.c): Likewise.
21702 (CFLAGS-wait.c): Likewise.
21703 (CFLAGS-waitpid.c): Likewise.
21704 (CFLAGS-sigwait.c): Likewise.
21705 (CFLAGS-msgrcv.c): Likewise.
21706 (CFLAGS-msgsnd.c): Likewise.
21707 (CFLAGS-tcdrain.c): Likewise.
21708 (CFLAGS-open.c): Likewise.
21709 (CFLAGS-open64.c): Likewise.
21710 (CFLAGS-pause.c): Likewise.
21711 (CFLAGS-recv.c): Likewise.
21712 (CFLAGS-send.c): Likewise.
21713 (CFLAGS-accept.c): Likewise.
21714 (CFLAGS-sendto.c): Likewise.
21715 (CFLAGS-connect.c): Likewise.
21716 (CFLAGS-recvfrom.c): Likewise.
21717 (CFLAGS-recvmsg.c): Likewise.
21718 (CFLAGS-sendmsg.c): Likewise.
21719 (CFLAGS-close.c): Likewise.
21720 (CFLAGS-read.c): Likewise.
21721 (CFLAGS-write.c): Likewise.
21722 (CFLAGS-nanosleep.c): Likewise.
21723 (CFLAGS-sigsuspend.c): Likewise.
21724 (CFLAGS-msync.c): Likewise.
21725 (CFLAGS-fdatasync.c): Likewise.
21726 (CFLAGS-fsync.c): Likewise.
21727 (CFLAGS-pt-system.c): Likewise.
21728 (CFLAGS-tst-cleanup2.c): Likewise.
21729 (CFLAGS-tst-cleanupx2.c): Likewise.
21730 (CFLAGS-flockfile.c): Likewise.
21731 (CFLAGS-ftrylockfile.c): Likewise.
21732 (CFLAGS-funlockfile.c): Likewise.
21733 (CFLAGS-tst-initializers1.c): Likewise.
21734 (CFLAGS-tst-initializers1-c89.c): Likewise.
21735 (CFLAGS-tst-initializers1-c99.c): Likewise.
21736 (CFLAGS-tst-initializers1-c11.c): Likewise.
21737 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21738 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21739 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21740 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21741 (CFLAGS-nscd_getgr_r.c): Likewise.
21742 (CFLAGS-nscd_gethst_r.c): Likewise.
21743 (CFLAGS-nscd_getai.c): Likewise.
21744 (CFLAGS-nscd_initgroups.c): Likewise.
21745 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21746 (CFLAGS-pause.c): Likewise.
21747 (CFLAGS-pread.c): Likewise.
21748 (CFLAGS-pread64.c): Likewise.
21749 (CFLAGS-pwrite.c): Likewise.
21750 (CFLAGS-pwrite64.c): Likewise.
21751 (CFLAGS-sleep.c): Likewise.
21752 (CFLAGS-wait.c): Likewise.
21753 (CFLAGS-waitid.c): Likewise.
21754 (CFLAGS-waitpid.c): Likewise.
21755 (CFLAGS-getopt.c): Likewise.
21756 (CFLAGS-wordexp.c): Likewise.
21757 (CFLAGS-sysconf.c): Likewise.
21758 (CFLAGS-pathconf.c): Likewise.
21759 (CFLAGS-fpathconf.c): Likewise.
21760 (CFLAGS-spawn.c): Likewise.
21761 (CFLAGS-spawnp.c): Likewise.
21762 (CFLAGS-spawni.c): Likewise.
21763 (CFLAGS-glob.c): Likewise.
21764 (CFLAGS-glob64.c): Likewise.
21765 (CFLAGS-getconf.c): Likewise.
21766 (CFLAGS-nanosleep.c): Likewise.
21767 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21768 (CFLAGS-getpwent.c): Likewise.
21769 (CFLAGS-getpw.c): Likewise.
21770 (CFLAGS-fgetpwent_r.c): Likewise.
21771 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21772 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21773 (CFLAGS-mq_timedreceive.c): Likewise.
21774 (CFLAGS-mq_timedsend.c): Likewise.
21775 (CFLAGS-clock_nanosleep.c): Likewise.
21776 (CFLAGS-librt-cancellation.c): Likewise.
21777 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21778 (CFLAGS-getspent.c): Likewise.
21779 (CFLAGS-fgetspent.c): Likewise.
21780 (CFLAGS-fgetspent_r.c): Likewise.
21781 (CFLAGS-putspent.c): Likewise.
21782 (CFLAGS-getspnam.c): Likewise.
21783 (CFLAGS-getspnam_r.c): Likewise.
21784 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21785 (CFLAGS-sigsuspend.c): Likewise.
21786 (CFLAGS-sigtimedwait.c): Likewise.
21787 (CFLAGS-sigwait.c): Likewise.
21788 (CFLAGS-sigwaitinfo.c): Likewise.
21789 (CFLAGS-sigreturn.c): Likewise.
21790 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21791 (CFLAGS-vfwprintf.c): Likewise.
21792 (CFLAGS-tmpfile.c): Likewise.
21793 (CFLAGS-tmpfile64.c): Likewise.
21794 (CFLAGS-tempname.c): Likewise.
21795 (CFLAGS-psignal.c): Likewise.
21796 (CFLAGS-vprintf.c): Likewise.
21797 (CFLAGS-cuserid.c): Likewise.
21798 (CFLAGS-errlist.c): Likewise.
21799 (CFLAGS-siglist.c): Likewise.
21800 (CFLAGS-scanf15.c): Likewise.
21801 (CFLAGS-scanf17.c): Likewise.
21802 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21803 (CFLAGS-msort.c): Likewise.
21804 (CFLAGS-qsort.c): Likewise.
21805 (CFLAGS-system.c): Likewise.
21806 (CFLAGS-fmtmsg.c): Likewise.
21807 (CFLAGS-strfmon.c): Likewise.
21808 (CFLAGS-strfmon_l.c): Likewise.
21809 (CFLAGS-strfromd.c): Likewise.
21810 (CFLAGS-strfromf.c): Likewise.
21811 (CFLAGS-strfroml.c): Likewise.
21812 (CFLAGS-tst-bsearch.c): Likewise.
21813 (CFLAGS-tst-qsort.c): Likewise.
21814 (CFLAGS-tst-makecontext2.c): Likewise.
21815 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21816 (CFLAGS-xnlm_prot.c): Likewise.
21817 (CFLAGS-xrstat.c): Likewise.
21818 (CFLAGS-xyppasswd.c): Likewise.
21819 (CFLAGS-xklm_prot.c): Likewise.
21820 (CFLAGS-xrex.c): Likewise.
21821 (CFLAGS-xsm_inter.c): Likewise.
21822 (CFLAGS-xmount.c): Likewise.
21823 (CFLAGS-xrusers.c): Likewise.
21824 (CFLAGS-xspray.c): Likewise.
21825 (CFLAGS-xnfs_prot.c): Likewise.
21826 (CFLAGS-xrquota.c): Likewise.
21827 (CFLAGS-xkey_prot.c): Likewise.
21828 (CFLAGS-auth_unix.c): Likewise.
21829 (CFLAGS-key_call.c): Likewise.
21830 (CFLAGS-pmap_rmt.c): Likewise.
21831 (CFLAGS-clnt_perr.c): Likewise.
21832 (CFLAGS-openchild.c): Likewise.
21833 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21834 (CFLAGS-msgsnd.c): Likewise.
21835 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21836 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21837 (CFLAGS-tzset.c): Likewise.
21838 (CFLAGS-getdate.c): Likewise.
21839 (CFLAGS-test_time.c): Likewise.
21840 (CPPFLAGS-tst-tzname.c): Likewise.
21841 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21842 (CFLAGS-zic.c): Likewise.
21843 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21844 (CFLAGS-wcswidth.c): Likewise.
21845 (CFLAGS-wcstol.c): Likewise.
21846 (CFLAGS-wcstoul.c): Likewise.
21847 (CFLAGS-wcstoll.c): Likewise.
21848 (CFLAGS-wcstoull.c): Likewise.
21849 (CFLAGS-wcstod.c): Likewise.
21850 (CFLAGS-wcstold.c): Likewise.
21851 (CFLAGS-wcstof128.c): Likewise.
21852 (CFLAGS-wcstof.c): Likewise.
21853 (CFLAGS-wcstol_l.c): Likewise.
21854 (CFLAGS-wcstoul_l.c): Likewise.
21855 (CFLAGS-wcstoll_l.c): Likewise.
21856 (CFLAGS-wcstoull_l.c): Likewise.
21857 (CFLAGS-wcstod_l.c): Likewise.
21858 (CFLAGS-wcstold_l.c): Likewise.
21859 (CFLAGS-wcstof128_l.c): Likewise.
21860 (CFLAGS-wcstof_l.c): Likewise.
21861 (CPPFLAGS-tst-wchar-h.c): Likewise.
21862 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 21863
f4b2aea6
PC
218642017-12-11 Paul A. Clarke <pc@us.ibm.com>
21865
21866 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21867
c9cd7b0c
AZ
218682017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21869 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21870
21871 * manual/tunables.texi (Hardware Capability Tunables): Document
21872 glibc.tune.cached_memopt.
21873 * sysdeps/powerpc/cpu-features.c: New file.
21874 * sysdeps/powerpc/cpu-features.h: New file.
21875 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21876 _dl_powerpc_cpu_features.
21877 * sysdeps/powerpc/dl-tunables.list: New file.
21878 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21879 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21880 (INIT_ARCH): Initialize use_aligned_memopt.
21881 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21882 IS_IN(rtld))]: Restrict dl_platform_init availability and
21883 initialize CPU features used by tunables.
21884 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21885 Add memcpy-power8-cached.
21886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21887 __memcpy_power8_cached.
21888 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21889 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21890 New file.
21891
e70c6fee
L
218922017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21893
21894 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21895 (CFLAGS-noinl-tester.c): Likewise.
21896 (CFLAGS-tst-strlen.c): Likewise.
21897 (CFLAGS-stratcliff.c): Likewise.
21898 (CFLAGS-test-ffs.c): Likewise.
21899 (CFLAGS-tst-inlcall.c): Likewise.
21900 (CFLAGS-tst-xbzero-opt.c): Likewise.
21901 (CFLAGS-memcpy.c): Likewise.
21902 (CFLAGS-wordcopy.c): Likewise.
21903
dee94366
SL
219042017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21905
21906 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21907 Store r15 on stack and add cfi rule.
21908 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21909 Likewise.
21910
363e4519 219112017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
21912
21913 [BZ #22577]
21914 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21915 call.
21916
9d0ffa60
L
219172017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21918
21919 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21920 Add s_sinf-sse2 and s_sinf-fma.
21921 (CFLAGS-s_sinf-fma.c): New.
21922 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21923 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21924 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21925
9574c7b6
L
219262017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21927
21928 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21929
d15e83c5
JM
219302017-12-07 Joseph Myers <joseph@codesourcery.com>
21931
21932 [BZ #22568]
21933 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21934 part of result to imaginary part of argument if it is zero and the
21935 real part of the argument is not finite.
21936 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21937 of result to real part of argument if it is zero and the imaginary
21938 part of the argument is not finite.
21939
d89756eb
MF
219402017-12-07 Mike FABIAN <mfabian@redhat.com>
21941
21942 [BZ #22524]
21943 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21944 and to the list of locales to be built for testing.
21945 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21946 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21947 and build the collation rules upon that.
21948
1f9055ce
JM
219492017-12-07 Joseph Myers <joseph@codesourcery.com>
21950
21951 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21952 * manual/math.texi (Mathematics): Document support for _Float32.
21953 * math/Makefile (test-types): Add float32.
21954 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21955 * stdlib/Versions (GLIBC_2.27): Likewise.
21956 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21957 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21958 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21959 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21960 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21961 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21962 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21963 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21964 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21965 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21966 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21967 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21968 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21969 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21970 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21971 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21972 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21973 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21974 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21975 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21976 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21977 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21978 Likewise.
21979 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21980 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21981 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21982 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21983 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21985 Likewise.
21986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21987 Likewise.
21988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21989 Likewise.
21990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21991 Likewise.
21992
21993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21994 Likewise.
21995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21996 Likewise.
21997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21998 Likewise.
21999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22000 Likewise.
22001 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22002 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22003 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22004 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22005 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22006 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22007 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22008 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22009 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22010 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22012 Likewise.
22013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22014 Likewise.
22015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22016 Likewise.
22017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22018 Likewise.
22019 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22020 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22021 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22022 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22023 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22024 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22025 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22026 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22027
5244527d
JM
220282017-12-06 Joseph Myers <joseph@codesourcery.com>
22029
fb1ca2aa
JM
22030 * stdlib/strtof.c: Include <bits/floatn.h>
22031 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22032 and later undefine as macro. Define as weak alias if
22033 [!USE_WIDE_CHAR].
22034 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22035 and later undefine as macro. Define as weak alias if
22036 [USE_WIDE_CHAR].
22037 * stdlib/strtof_l.c: Include <bits/floatn.h>
22038 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22039 and later undefine as macro. Define as weak alias if
22040 [!USE_WIDE_CHAR].
22041 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22042 and later undefine as macro. Define as weak alias if
22043 [USE_WIDE_CHAR].
22044
fc10cc3f
JM
22045 * stdlib/strfromf.c: Include <bits/floatn.h>.
22046 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22047 and later undefine as macro and define as weak alias.
22048
e420d228
JM
22049 * math/test-float32.h: New file.
22050
26007a2f
JM
22051 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22052 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22053 (libm_alias_float_other_r): Create f32 alias.
22054 (libm_alias_float_r): Use semicolon before call to
22055 libm_alias_float_other_r.
22056
c191f64c
JM
22057 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22058 second argument to libm_alias_float_other.
22059 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22060 second argument to libm_alias_float_other.
22061 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22062 argument to libm_alias_float_other.
22063
5244527d
JM
22064 [BZ #22561]
22065 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22066 real part of result for argument 0 + i * NaN.
22067 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22068 results for tests of 0 + i * NaN.
22069
d73fac82
AZ
220702017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22071
22072 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22073
7ec094e8
DM
220742017-12-06 David S. Miller <davem@davemloft.net>
22075
22076 * sysdeps/sparc/fpu/libm-test-ulps: Update
22077 exp_{downward,towardzero,upward} ulps.
22078
53994f12
JM
220792017-12-06 Joseph Myers <joseph@codesourcery.com>
22080
1dbe6f64
JM
22081 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22082 variables static.
22083
53994f12
JM
22084 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22085 (Y0_2D): Likewise.
22086 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22087 (Y0_2D): Likewise.
22088 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22089 (Y0_2D): Likewise.
22090 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22091 (Y0_2D): Likewise.
22092
62ea2193
MF
220932017-12-06 Mike FABIAN <mfabian@redhat.com>
22094
22095 [BZ #22515]
22096 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22097 and to the list of locales to be built for testing.
22098 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22099 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22100 and build the collation rules upon that.
22101
87235d70
RS
221022017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22103
22104 * NEWS: Add sinf to list of optimized functions.
22105
0d93b7fd
JM
221062017-12-06 Joseph Myers <joseph@codesourcery.com>
22107
22108 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22109 (__HAVE_FLOAT32X): Likewise.
22110 * manual/math.texi (Mathematics): Document support for _Float64
22111 and _Float32x.
22112 * math/Makefile (test-types): Add float64 and float32x.
22113 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22114 functions.
22115 * stdlib/Versions (GLIBC_2.27): Likewise.
22116 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22117 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22118 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22119 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22120 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22121 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22122 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22123 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22124 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22125 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22126 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22127 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22128 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22129 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22130 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22131 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22132 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22133 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22134 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22135 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22136 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22137 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22138 Likewise.
22139 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22140 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22141 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22142 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22143 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22145 Likewise.
22146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22147 Likewise.
22148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22149 Likewise.
22150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22151 Likewise.
22152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22153 Likewise.
22154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22155 Likewise.
22156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22157 Likewise.
22158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22159 Likewise.
22160 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22161 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22162 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22163 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22164 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22165 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22166 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22167 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22168 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22169 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22171 Likewise.
22172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22173 Likewise.
22174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22175 Likewise.
22176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22177 Likewise.
22178 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22179 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22180 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22181 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22182 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22183 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22184 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22185 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22186
f7787234
JM
221872017-12-05 Joseph Myers <joseph@codesourcery.com>
22188
22189 * bits/floatn-common.h: Include <bits/long-double.h>.
22190 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22191 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22192 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22193 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22194 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22195 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22196 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22197 (__builtin_huge_valf64): Use __builtin_huge_vall.
22198 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22199 (__builtin_inff64): Use __builtin_infl.
22200 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22201 (__builtin_nanf64): Use __builtin_nanl.
22202 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22203 (__builtin_nansf64): Use __builtin_nansl.
22204
363e4519
DL
222052017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22206 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 22207 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
22208
22209 * elf/dl-tunables.list: Add elision parameters.
22210 * manual/tunables.texi: Add entries about elision tunable.
22211 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22212 Add callback functions to dynamically enable/disable elision.
22213 Add multiple callbacks functions to set elision parameters.
22214 Deleted __libc_enable_secure check.
22215 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22216 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22217 * configure: Regenerated.
22218 * configure.ac: Option enable_lock_elision was deleted.
22219 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22220 * config.make.in: Remove references to enable_lock_elision.
22221 * manual/install.texi: Elision configure option was removed.
22222 * INSTALL: Regenerated to remove enable_lock_elision.
22223 * nptl/Makefile:
22224 Disable elision so it can verify error case for destroying a mutex.
22225 * sysdeps/powerpc/nptl/elide.h:
22226 Cleanup ENABLE_LOCK_ELISION check.
22227 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22228 * sysdeps/s390/configure: Regenerated.
22229 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22230 * nptl/tst-mutex8.c:
22231 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22232 * sysdeps/powerpc/powerpc32/sysdep.h:
22233 Deleted all ENABLE_LOCK_ELISION checks.
22234 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22235 * sysdeps/powerpc/sysdep.h: Likewise.
22236 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22237 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22238 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22239 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22240 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22241 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22242 enable-lock-elision.
22243
a5a2a76b
JM
222442017-12-05 Joseph Myers <joseph@codesourcery.com>
22245
22246 * stdlib/strtod.c: Include <bits/floatn.h>.
22247 (BUILD_DOUBLE): New macro.
22248 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22249 (strtof64): Define and later undefine as macro. Define as weak
22250 alias if [!USE_WIDE_CHAR].
22251 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22252 (wcstof64): Define and later undefine as macro. Define as weak
22253 alias if [USE_WIDE_CHAR].
22254 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22255 (strtof32x): Define and later undefine as macro. Define as weak
22256 alias if [!USE_WIDE_CHAR].
22257 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22258 (wcstof32x): Define and later undefine as macro. Define as weak
22259 alias if [USE_WIDE_CHAR].
22260 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22261 (BUILD_DOUBLE): New macro.
22262 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22263 (strtof64_l): Define and later undefine as macro. Define as weak
22264 alias if [!USE_WIDE_CHAR].
22265 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22266 (wcstof64_l): Define and later undefine as macro. Define as weak
22267 alias if [USE_WIDE_CHAR].
22268 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22269 (strtof32x_l): Define and later undefine as macro. Define as weak
22270 alias if [!USE_WIDE_CHAR].
22271 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22272 (wcstof32x_l): Define and later undefine as macro. Define as weak
22273 alias if [USE_WIDE_CHAR].
22274
94d80dfc
AZ
222752017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22276
22277 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22278 (reduced): Use ones as double instead of integer.
22279
00d54af7
SN
222802017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22281
22282 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22283
f2d64d62
JM
222842017-12-05 Joseph Myers <joseph@codesourcery.com>
22285
1f70eae4
JM
22286 * stdlib/strfromd.c: Include <bits/floatn.h>.
22287 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22288 and later undefine as macro and define as weak alias.
22289 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22290 Likewise.
22291
e2c4dce5
JM
22292 * math/test-float32x.h: New file.
22293 * math/test-float64.h: Likewise.
22294
f2d64d62
JM
22295 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22296 (libm_alias_double_other_r_f64): New macro.
22297 (libm_alias_double_other_r_f32x): Likewise.
22298 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22299 libm_alias_double_other_r_f32x.
22300 (libm_alias_double_r): Use semicolon before call to
22301 libm_alias_double_other_r.
22302 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22303 <bits/floatn.h>.
22304 (libm_alias_double_other_r_f64): New macro.
22305 (libm_alias_double_other_r_f32x): Likewise.
22306 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22307 libm_alias_double_other_r_f32x.
22308
91c318e7
L
223092017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22310
22311 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22312 int.
22313 (SINF_FUNC): Likewise. Replace floor with simple casts.
22314
de9661d6
MF
223152017-12-05 Mike FABIAN <mfabian@redhat.com>
22316
22317 [BZ #22517]
22318 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22319 and to the list of locales to be built for testing.
22320 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22321 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22322 and build the collation rules upon that.
22323
f18b8dc7
CM
223242017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22325
22326 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22327 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22328 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22329 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22330 instead of __insn__xxx.
22331 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22332 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22333 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22334 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22335 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22336 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22337
446d22e9
FW
223382017-12-05 Florian Weimer <fweimer@redhat.com>
22339
22340 Linux: Implement interfaces for memory protection keys
22341 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22342 xsignal, xsysconf.
22343 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22344 * support/xunistd.h (xsysconf): Declare.
22345 * support/xraise.c: New file.
22346 * support/xsigaction.c: Likewise.
22347 * support/xsignal.c: Likewise.
22348 * support/xsysconf.c: Likewise.
22349 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22350 pkey_set, pkey_get, pkey_mprotect.
22351 [misc] (tests): Add tst-pkey.
22352 (tst-pkey): Link with -lpthread.
22353 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22354 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22355 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22356 (PKEY_DISABLE_WRITE): Define.
22357 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22358 Declare.
22359 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22360 (SEGV_PKUERR): Add.
22361 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22362 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22363 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22364 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22365 Add.
22366 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22367 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22368 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22369 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22370 * sysdeps/unix/sysv/linux/**.abilist: Update.
22371
da616c14
FW
223722017-12-05 Florian Weimer <fweimer@redhat.com>
22373
22374 * support/tst-test_compare.c (subprocess): Use long long instead
22375 of long argument for consistent type width across 32-bit and
22376 64-bit architectures.
22377 (do_test): Adjust expected output.
22378
216933b2
JM
223792017-12-05 Joseph Myers <joseph@codesourcery.com>
22380
22381 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22382 (cosf): Define using libm_alias_float.
22383 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22384 (fabsf): Define using libm_alias_float.
22385 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22386 (fmaf): Define using libm_alias_float.
22387 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22388 (rintf): Define using libm_alias_float.
22389 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22390 (sinf): Define using libm_alias_float.
22391 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22392 <libm-alias-float.h>.
22393 (modff): Define using libm_alias_float.
22394 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22395 <libm-alias-float.h>.
22396 (logbf): Define using libm_alias_float.
22397 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22398 <libm-alias-float.h>.
22399 (ceilf): Define using libm_alias_float.
22400 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22401 <libm-alias-float.h>.
22402 (copysignf): Define using libm_alias_float.
22403 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22404 <libm-alias-float.h>.
22405 (floorf): Define using libm_alias_float.
22406 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22407 <libm-alias-float.h>.
22408 (llrintf): Define using libm_alias_float.
22409 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22410 <libm-alias-float.h>.
22411 (llroundf): Define using libm_alias_float.
22412 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22413 <libm-alias-float.h>.
22414 (lrintf): Define using libm_alias_float.
22415 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22416 <libm-alias-float.h>.
22417 (lroundf): Define using libm_alias_float.
22418 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22419 <libm-alias-float.h>.
22420 (nearbyintf): Define using libm_alias_float.
22421 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22422 <libm-alias-float.h>.
22423 (rintf): Define using libm_alias_float.
22424 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22425 <libm-alias-float.h>.
22426 (roundf): Define using libm_alias_float.
22427 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22428 <libm-alias-float.h>.
22429 (truncf): Define using libm_alias_float.
22430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22431 Include <libm-alias-float.h>.
22432 (ceilf): Define using libm_alias_float.
22433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22434 Include <libm-alias-float.h>.
22435 (copysignf): Define using libm_alias_float.
22436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22437 Include <libm-alias-float.h>.
22438 (floorf): Define using libm_alias_float.
22439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22440 Include <libm-alias-float.h>.
22441 (llrintf): Define using libm_alias_float.
22442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22443 Include <libm-alias-float.h>.
22444 (llroundf): Define using libm_alias_float.
22445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22446 Include <libm-alias-float.h>.
22447 (logbf): Define using libm_alias_float.
22448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22449 Include <libm-alias-float.h>.
22450 (lrintf): Define using libm_alias_float.
22451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22452 Include <libm-alias-float.h>.
22453 (lroundf): Define using libm_alias_float.
22454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22455 Include <libm-alias-float.h>.
22456 (modff): Define using libm_alias_float.
22457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22458 Include <libm-alias-float.h>.
22459 (roundf): Define using libm_alias_float.
22460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22461 Include <libm-alias-float.h>.
22462 (truncf): Define using libm_alias_float.
22463 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22464 <libm-alias-float.h>.
22465 (llrintf): Define using libm_alias_float.
22466 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22467 <libm-alias-float.h>.
22468 (llroundf): Define using libm_alias_float.
22469 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22470 <libm-alias-float.h>.
22471 (ceilf): Define using libm_alias_float.
22472 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22473 <libm-alias-float.h>.
22474 (floorf): Define using libm_alias_float.
22475 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22476 <libm-alias-float.h>.
22477 (llroundf): Define using libm_alias_float.
22478 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22479 <libm-alias-float.h>.
22480 (lroundf): Define using libm_alias_float.
22481 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22482 <libm-alias-float.h>.
22483 (roundf): Define using libm_alias_float.
22484 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22485 <libm-alias-float.h>.
22486 (truncf): Define using libm_alias_float.
22487 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22488 <libm-alias-float.h>.
22489 (copysignf): Define using libm_alias_float.
22490 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22491 <libm-alias-float.h>.
22492 (llrintf): Define using libm_alias_float.
22493 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22494 <libm-alias-float.h>.
22495 (llroundf): Define using libm_alias_float.
22496 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22497 <libm-alias-float.h>.
22498 (lrintf): Define using libm_alias_float.
22499 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22500 <libm-alias-float.h>.
22501 (lroundf): Define using libm_alias_float.
22502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22503 <libm-alias-float.h>.
22504 (ceilf): Define using libm_alias_float.
22505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22506 <libm-alias-float.h>.
22507 (copysignf): Define using libm_alias_float.
22508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22509 <libm-alias-float.h>.
22510 (cosf): Define using libm_alias_float.
22511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22512 <libm-alias-float.h>.
22513 (floorf): Define using libm_alias_float.
22514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22515 <libm-alias-float.h>.
22516 (llrintf): Define using libm_alias_float.
22517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22518 <libm-alias-float.h>.
22519 (llroundf): Define using libm_alias_float.
22520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22521 <libm-alias-float.h>.
22522 (logbf): Define using libm_alias_float.
22523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22524 <libm-alias-float.h>.
22525 (modff): Define using libm_alias_float.
22526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22527 <libm-alias-float.h>.
22528 (roundf): Define using libm_alias_float.
22529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22530 <libm-alias-float.h>.
22531 (sinf): Define using libm_alias_float.
22532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22533 <libm-alias-float.h>.
22534 (truncf): Define using libm_alias_float.
22535 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22536 <libm-alias-float.h>.
22537 (ceilf): Define using libm_alias_float.
22538 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22539 <libm-alias-float.h>.
22540 (copysignf): Define using libm_alias_float.
22541 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22542 <libm-alias-float.h>.
22543 (floorf): Define using libm_alias_float.
22544 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22545 <libm-alias-float.h>.
22546 (llrintf): Define using libm_alias_float.
22547 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22548 <libm-alias-float.h>.
22549 (llroundf): Define using libm_alias_float.
22550 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22551 <libm-alias-float.h>.
22552 (nearbyintf): Define using libm_alias_float.
22553 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22554 <libm-alias-float.h>.
22555 (rintf): Define using libm_alias_float.
22556 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22557 <libm-alias-float.h>.
22558 (roundf): Define using libm_alias_float.
22559 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22560 <libm-alias-float.h>.
22561 (truncf): Define using libm_alias_float.
22562 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22563 <libm-alias-float.h>.
22564 (ceilf): Define using libm_alias_float.
22565 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22566 <libm-alias-float.h>.
22567 (floorf): Define using libm_alias_float.
22568 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22569 <libm-alias-float.h>.
22570 (llroundf): Define using libm_alias_float.
22571 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22572 <libm-alias-float.h>.
22573 (roundf): Define using libm_alias_float.
22574 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22575 <libm-alias-float.h>.
22576 (truncf): Define using libm_alias_float.
22577 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22578 <libm-alias-float.h>.
22579 (copysignf): Define using libm_alias_float.
22580 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22581 <libm-alias-float.h>.
22582 (llrintf): Define using libm_alias_float.
22583 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22584 <libm-alias-float.h>.
22585 (llroundf): Define using libm_alias_float.
22586 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22587 <libm-alias-float.h>.
22588 (cosf): Define using libm_alias_float.
22589 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22590 <libm-alias-float.h>.
22591 (llrintf): Define using libm_alias_float.
22592 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22593 <libm-alias-float.h>.
22594 (llroundf): Define using libm_alias_float.
22595 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22596 <libm-alias-float.h>.
22597 (sinf): Define using libm_alias_float.
22598
93485524
FW
225992017-12-04 Florian Weimer <fweimer@redhat.com>
22600
22601 * support/check.h (TEST_COMPARE): Define.
22602 (support_test_compare_failure): Declare.
22603 * support/Makefile (libsupport-routines): Add
22604 support_test_compare_failure.
22605 (tests): Add tst-test_compare.
22606 * support /support_test_compare_failure.c: New file.
22607 * support/tst-test_compare.c: Likewise.
22608
96b06a19
MF
226092017-12-04 Mike FABIAN <mfabian@redhat.com>
22610
22611 [BZ #22527]
22612 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22613 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22614 available, this rewrite of the collation rules does reproduce
22615 the test file in the same order.
22616
1f6d91f3
MF
226172017-12-04 Mike FABIAN <mfabian@redhat.com>
22618
22619 [BZ #10580]
22620 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22621 digraphs in the month and day names. Using single code points for
22622 digraphs is deprecated. While there are dedicated Unicode
22623 codepoints, for the digraphs, these are included for backwards
22624 compatibility and modern texts use a sequence of Basic Latin
22625 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22626 This makes the month and day names agree exactly with CLDR now,
22627 CLDR does not use the single code points for the digraphs either.
22628
2e49fed8
CM
226292017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22630
22631 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22632
73895b49
JM
226332017-12-04 Joseph Myers <joseph@codesourcery.com>
22634
22635 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22636 of floor.
22637
4c1d801a
SP
226382017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22639
22640 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22641 Define only for libc.so.
22642
478593e6
SL
226432017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22644
22645 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22646 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 22647 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
22648 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22649 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22650
7863a711
RS
226512017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22652
22653 [BZ #5997]
22654 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22655
800a496a
JDA
226562017-12-02 John David Anglin <danglin@gcc.gnu.org>
22657
b3f7fb12
JDA
22658 [BZ libc/19170]
22659 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22660 PREINIT_FUNCTION_WEAK is nonzero.
22661 (gmon_initializer): New function. Put procedure label for it in
22662 .init_array section.
22663 (_init): Don't call PREINIT_FUNCTION.
22664 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22665 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22666 value when map argument is null.
22667
800a496a
JDA
22668 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22669 depi instruction from PIC pc-relative sequence.
22670 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22671 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22672 (elf_machine_load_address): Likewise.
22673 (elf_machine_runtime_setup): Likewise.
22674
d17542d2
JM
226752017-12-02 Joseph Myers <joseph@codesourcery.com>
22676
22677 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22678 <libm-alias-double.h>.
22679 (logb): Define using libm_alias_double.
22680 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22681 <libm-alias-double.h>.
22682 (copysign): Define using libm_alias_double.
22683 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22684 <libm-alias-double.h>.
22685 (llrint): Define using libm_alias_double.
22686 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22687 <libm-alias-double.h>.
22688 (llround): Define using libm_alias_double.
22689 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22690 <libm-alias-double.h>.
22691 (lrint): Define using libm_alias_double.
22692 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22693 <libm-alias-double.h>.
22694 (lround): Define using libm_alias_double.
22695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22696 Include <libm-alias-double.h>.
22697 (copysign): Define using libm_alias_double.
22698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22699 Include <libm-alias-double.h>.
22700 (llrint): Define using libm_alias_double.
22701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22702 Include <libm-alias-double.h>.
22703 (llround): Define using libm_alias_double.
22704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22705 <libm-alias-double.h>.
22706 (logb): Define using libm_alias_double.
22707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22708 Include <libm-alias-double.h>.
22709 (lrint): Define using libm_alias_double.
22710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22711 Include <libm-alias-double.h>.
22712 (lround): Define using libm_alias_double.
22713 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22714 <libm-alias-double.h>.
22715 (llrint): Define using libm_alias_double.
22716 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22717 <libm-alias-double.h>.
22718 (llround): Define using libm_alias_double.
22719 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22720 <libm-alias-double.h>.
22721 (llround): Define using libm_alias_double.
22722 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22723 <libm-alias-double.h>.
22724 (lround): Define using libm_alias_double.
22725 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22726 <libm-alias-double.h>.
22727 (copysign): Define using libm_alias_double.
22728 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22729 <libm-alias-double.h>.
22730 (llrint): Define using libm_alias_double.
22731 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22732 <libm-alias-double.h>.
22733 (llround): Define using libm_alias_double.
22734 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22735 <libm-alias-double.h>.
22736 (lrint): Define using libm_alias_double.
22737 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22738 <libm-alias-double.h>.
22739 (lround): Define using libm_alias_double.
22740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22741 <libm-alias-double.h>.
22742 (copysign): Define using libm_alias_double.
22743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22744 <libm-alias-double.h>.
22745 (llrint): Define using libm_alias_double.
22746 (lrint): Likewise.
22747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22748 <libm-alias-double.h>.
22749 (llround): Define using libm_alias_double.
22750 (lround): Likewise.
22751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22752 <libm-alias-double.h>.
22753 (logb): Define using libm_alias_double.
22754 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22755 <libm-alias-double.h>.
22756 (copysign): Define using libm_alias_double.
22757 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22758 <libm-alias-double.h>.
22759 (llrint): Define using libm_alias_double.
22760 (lrint): Likewise.
22761 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22762 <libm-alias-double.h>.
22763 (llround): Define using libm_alias_double.
22764 (lround): Likewise.
22765 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22766 <libm-alias-double.h>.
22767 (llround): Define using libm_alias_double.
22768 (lround): Likewise.
22769 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22770 <libm-alias-double.h>.
22771 (copysign): Define using libm_alias_double.
22772 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22773 <libm-alias-double.h>.
22774 (llrint): Define using libm_alias_double.
22775 (lrint): Likewise.
22776 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22777 <libm-alias-double.h>.
22778 (llround): Define using libm_alias_double.
22779 (lround): Likewise.
22780 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22781 <libm-alias-double.h>.
22782 (llrint): Define using libm_alias_double.
22783 (lrint): Likewise.
22784 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22785 <libm-alias-double.h>.
22786 (llround): Define using libm_alias_double.
22787 (lround): Likewise.
22788
ec2cf3f4
JM
227892017-12-01 Joseph Myers <joseph@codesourcery.com>
22790
0ddde474
JM
22791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22792 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22793 compat symbol based on llround.
22794
0d5ba561
JM
22795 * sysdeps/powerpc/power7/fpu/s_logb.c
22796 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22797 symbol based on __logb, not on logb.
22798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22799 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22801 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22802
51ea3b20
JM
22803 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22804 (rint): Define using libm_alias_double.
22805 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22806 <libm-alias-double.h>.
22807 (modf): Define using libm_alias_double.
22808 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22809 <libm-alias-double.h>.
22810 (ceil): Define using libm_alias_double.
22811 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22812 <libm-alias-double.h>.
22813 (floor): Define using libm_alias_double.
22814 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22815 <libm-alias-double.h>.
22816 (nearbyint): Define using libm_alias_double.
22817 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22818 <libm-alias-double.h>.
22819 (rint): Define using libm_alias_double.
22820 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22821 <libm-alias-double.h>.
22822 (round): Define using libm_alias_double.
22823 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22824 <libm-alias-double.h>.
22825 (trunc): Define using libm_alias_double.
22826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22827 <libm-alias-double.h>.
22828 (ceil): Define using libm_alias_double.
22829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22830 Include <libm-alias-double.h>.
22831 (floor): Define using libm_alias_double.
22832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22833 <libm-alias-double.h>.
22834 (modf): Define using libm_alias_double.
22835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22836 Include <libm-alias-double.h>.
22837 (round): Define using libm_alias_double.
22838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22839 Include <libm-alias-double.h>.
22840 (trunc): Define using libm_alias_double.
22841 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22842 <libm-alias-double.h>.
22843 (ceil): Define using libm_alias_double.
22844 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22845 <libm-alias-double.h>.
22846 (floor): Define using libm_alias_double.
22847 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22848 <libm-alias-double.h>.
22849 (round): Define using libm_alias_double.
22850 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22851 <libm-alias-double.h>.
22852 (trunc): Define using libm_alias_double.
22853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22854 <libm-alias-double.h>.
22855 (ceil): Define using libm_alias_double.
22856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22857 <libm-alias-double.h>.
22858 (floor): Define using libm_alias_double.
22859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22860 <libm-alias-double.h>.
22861 (modf): Define using libm_alias_double.
22862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22863 <libm-alias-double.h>.
22864 (round): Define using libm_alias_double.
22865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22866 <libm-alias-double.h>.
22867 (trunc): Define using libm_alias_double.
22868 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22869 <libm-alias-double.h>.
22870 (ceil): Define using libm_alias_double.
22871 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22872 <libm-alias-double.h>.
22873 (floor): Define using libm_alias_double.
22874 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22875 <libm-alias-double.h>.
22876 (nearbyint): Define using libm_alias_double.
22877 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22878 <libm-alias-double.h>.
22879 (rint): Define using libm_alias_double.
22880 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22881 <libm-alias-double.h>.
22882 (round): Define using libm_alias_double.
22883 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22884 <libm-alias-double.h>.
22885 (trunc): Define using libm_alias_double.
22886 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22887 <libm-alias-double.h>.
22888 (ceil): Define using libm_alias_double.
22889 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22890 <libm-alias-double.h>.
22891 (floor): Define using libm_alias_double.
22892 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22893 <libm-alias-double.h>.
22894 (round): Define using libm_alias_double.
22895 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22896 <libm-alias-double.h>.
22897 (trunc): Define using libm_alias_double.
22898
ec2cf3f4
JM
22899 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22900 (fabs): Define using libm_alias_double.
22901 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22902 (fma): Define using libm_alias_double.
22903 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22904 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22905 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22906 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22907
5b7bd975
AZ
229082017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22909
0594b13f
AZ
22910 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22911
dbdfcf3b
AZ
22912 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22913 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22914 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22915
5b7bd975
AZ
22916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22917 due redirect macro.
22918
ef9ecfa6
AS
229192017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22920
22921 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22922
5b4e5e78
AZ
229232017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22924
2a14526b
AZ
22925 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22926 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22927 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22928 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22929
dbeb74ef 22930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
22931 (libm-sysdep_routines): Add s_nearbyintf-generic and
22932 s_nearbyint-generic.
22933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22934 New file.
22935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22937 Likewise.
22938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22939 Likewise.
22940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22941 file.
22942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22943 Likewise.
22944
22945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
22946 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22948 file.
22949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22951 Likewise.
22952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22955
fa7ded96
AZ
22956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22957 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22959 file.
22960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22962 Likewise.
22963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22966
e240cf0e
AZ
22967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22968 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22970 file.
22971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22973 Likewise.
22974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22977
5b4e5e78
AZ
22978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22979 (sysdep_calls): New rule.
22980 (sysdep_routines): Use sysdep_calls as base.
22981 (libm-sysdep_routines): Add generic rule for symbols shared with
22982 libc. Add s_copysign-generic and s_copysign-generic objects.
22983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22984 New file.
22985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22987 Likewise.
22988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22991
d985adae
MF
229922017-12-01 Mike FABIAN <mfabian@redhat.com>
22993
22994 [BZ #22519]
22995 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22996 the list of locales to be built for testing.
22997 * localedata/is_IS.UTF-8.in: New file.
22998 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22999 on iso14651_t1.
23000
ff84a0e0
JM
230012017-12-01 Joseph Myers <joseph@codesourcery.com>
23002
23003 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
23004 <libm-alias-float.h>.
23005 (fabsf): Define using libm_alias_float.
23006
ef5d8b43
L
230072017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23008
23009 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
23010
c0535adf
JM
230112017-11-30 Joseph Myers <joseph@codesourcery.com>
23012
f938b397
JM
23013 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
23014 <libm-alias-float.h>.
23015 (fabsf): Define using libm_alias_float.
23016 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
23017 <libm-alias-float.h>.
23018 (lrintf): Define using libm_alias_float.
23019 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23020 <libm-alias-float.h>.
23021 (rintf): Define using libm_alias_float.
23022
2251fad0
JM
23023 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23024 <libm-alias-double.h>.
23025 (fabs): Define using libm_alias_double.
23026 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23027 <libm-alias-double.h>.
23028 (lrint): Define using libm_alias_double.
23029 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23030 <libm-alias-double.h>.
23031 (rint): Define using libm_alias_double.
23032
e53df1de
JM
23033 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23034 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23035 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23036 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23037 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23038 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23039 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23040 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23041 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23042 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23043 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23044 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23045 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23046 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23047 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23048 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23049 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23050 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23051 s_atan_template.c.
23052 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23053 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23054 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23055 s_ceil_template.c.
23056 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23057 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23058 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23059 s_cos_template.c.
23060 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23061 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23062 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23063 s_expm1_template.c.
23064 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23065 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23066 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23067 s_fabs_template.c.
23068 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23069 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23070 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23071 s_floor_template.c.
23072 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23073 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23074 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23075 s_frexp_template.c.
23076 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23077 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23078 s_lrint_template.c.
23079 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23080 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23081 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23082 s_modf_template.c.
23083 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23084 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23085 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23086 s_nearbyint_template.c.
23087 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23088 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23089 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23090 s_remquo_template.c.
23091 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23092 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23093 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23094 s_rint_template.c.
23095 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23096 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23097 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23098 s_sin_template.c.
23099 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23100 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23101 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23102 s_sincos_template.c.
23103 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23104 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23105 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23106 s_tan_template.c.
23107 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23108 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23109 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23110 s_tanh_template.c.
23111 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23112 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23113 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23114 s_trunc_template.c.
23115 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23116 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23117 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23118 s_atan.c instead of including s_atan.c.
23119 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23120 s_atanf.c instead of including s_atanf.c.
23121 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23122 s_atanl.c instead of including s_atanl.c.
23123 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23124 instead of s_atan.c.
23125 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23126 instead of s_atanf.c.
23127 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23128 instead of s_atanl.c.
23129
c0535adf
JM
23130 * scripts/update-copyrights: Do not handle intl/plural.c
23131 specially.
23132
1faaf703
JB
231332017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23134
23135 [BZ #22432]
23136 * configure.ac (BISON): Require to be present.
23137 * configure: Regenerated.
23138 * intl/Makefile (generated): Add plural.c.
23139 [$(BISON) != no]: Make code unconditional.
23140 (plural.c): Change rule to $(objpfx)plural.c.
23141 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23142 * intl/plural.c: Remove.
23143 * manual/install.texi (Tools for Compilation): Document bison as
23144 required.
23145 * INSTALL: Regenerated.
23146
faec6323
JM
231472017-11-30 Joseph Myers <joseph@codesourcery.com>
23148
bd6ea9ed
JM
23149 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23150 <libm-alias-double.h>.
23151 (llrint): Define using libm_alias_double.
23152 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23153 <libm-alias-float.h>.
23154 (llrintf): Define using libm_alias_float.
23155 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23156 <libm-alias-ldouble.h>.
23157 (llrintl): Define using libm_alias_ldouble.
23158
faec6323
JM
23159 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23160 declare_mgen_alias instead of weak_alias.
23161 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23162 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23163 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23164
023cade3
AZ
231652017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23166
9e2279a0
AZ
23167 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23168 Add add_n-generic.
23169 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23170 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23171 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23172
75f37c71
AZ
23173 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23174 Add submul_1-generic.
23175 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23176 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23177 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23178
b70cbbfc 23179 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
23180 Add addmul_1-generic.
23181 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23182 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23183 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23184
23185 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
23186 Add sub_n-generic.
23187 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23188 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23189 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23190
023cade3
AZ
23191 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23192 Add mul_1-generic.
23193 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23194 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23195 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23196
fbb5fd03
MF
231972017-11-30 Mike FABIAN <mfabian@redhat.com>
23198
23199 According to CLDR, collation rules for Serbian and Bosnian
23200 should be the same as for Croatian.
23201
23202 [BZ #22534]
23203 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23204 and to the list of locales to be built for testing.
23205 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23206 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23207 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23208 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23209
5e56e937
MF
232102017-11-30 Mike FABIAN <mfabian@redhat.com>
23211
23212 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23213 to make test case pass.
23214 * localedata/hr_HR.UTF-8.in: Add more test strings.
23215
cf4341ca
MF
232162017-11-30 Mike FABIAN <mfabian@redhat.com>
23217
23218 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23219
363e4519 232202017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
23221
23222 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23223 the list of locales to built for testing.
23224 * localedata/hr_HR.UTF-8.in: New file.
23225
363e4519 232262017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
23227
23228 [BZ #10580]
23229 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23230 iso14651_t1.
23231 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23232 CLDR (except use ligatures for the digraphs, CLDR does not use
23233 the ligatures), add first_workday, some fixes in the date and time
23234 formats.
23235 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23236 for Đ and đ.
23237 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23238 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23239 Add int_p_cs_precedes and int_n_cs_precedes.
23240 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23241 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23242 LC_MONETARY now).
23243 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23244 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23245 name_miss.
23246 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23247 and lang_lib. Change postal_fmt.
23248
f33632cc
L
232492017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23250
23251 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23252 <setjmp.h>.
23253 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23254 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23255 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23256 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23257 * sysdeps/generic/setjmpP.h: New file.
23258 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23259 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23260 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23261 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23262 Add jmp_buf-ssp.sym.
23263 (tests): Add tst-saved_mask-1.
23264
34697694
AS
232652017-11-30 Arjun Shankar <arjun@redhat.com>
23266
23267 [BZ #22375]
37ac8e63 23268 CVE-2017-17426
34697694
AS
23269 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23270 instead of request2size.
23271
3e5efdbd
JM
232722017-11-30 Joseph Myers <joseph@codesourcery.com>
23273
18305fba
JM
23274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23275 (__lllrint): Remove alias.
23276 (lllrint): Likewise.
23277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23278 (__lllrintf): Likewise.
23279 (lllrintf): Likewise.
23280
3e5efdbd
JM
23281 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23282 <libm-alias-float.h>.
23283 (copysignf): Define using libm_alias_float.
23284 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23285 <libm-alias-float.h>.
23286 (fabsf): Define using libm_alias_float.
23287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23288 Include <libm-alias-float.h>.
23289 (copysignf): Define using libm_alias_float.
23290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23291 <libm-alias-float.h>.
23292 (fabsf): Define using libm_alias_float.
23293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23294 <libm-alias-float.h>.
23295 (fdimf): Define using libm_alias_float.
23296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23297 <libm-alias-float.h>.
23298 (fmaf): Define using libm_alias_float.
23299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23300 <libm-alias-float.h>.
23301 (llrintf): Define using libm_alias_float.
23302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23303 Include <libm-alias-float.h>.
23304 (nearbyintf): Define using libm_alias_float.
23305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23306 <libm-alias-float.h>.
23307 (rintf): Define using libm_alias_float.
23308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23309 <libm-alias-float.h>.
23310 (llrintf): Define using libm_alias_float.
23311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23312 <libm-alias-float.h>.
23313 (lrintf): Define using libm_alias_float.
23314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23315 <libm-alias-float.h>.
23316 (nearbyintf): Define using libm_alias_float.
23317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23318 <libm-alias-float.h>.
23319 (rintf): Define using libm_alias_float.
23320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23321 <libm-alias-float.h>.
23322 (ceilf): Define using libm_alias_float.
23323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23324 <libm-alias-float.h>.
23325 (floorf): Define using libm_alias_float.
23326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23327 <libm-alias-float.h>.
23328 (fmaf): Define using libm_alias_float.
23329 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23330 <libm-alias-float.h>.
23331 (lrintf): Define using libm_alias_float.
23332 (llrintf): Likewise.
23333 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23334 <libm-alias-float.h>.
23335 (nearbyintf): Define using libm_alias_float.
23336 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23337 <libm-alias-float.h>.
23338 (rintf): Define using libm_alias_float.
23339 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23340 <libm-alias-float.h>.
23341 (truncf): Define using libm_alias_float.
23342 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23343 <libm-alias-float.h>.
23344 (copysignf): Define using libm_alias_float.
23345 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23346 <libm-alias-float.h>.
23347 (fabsf): Define using libm_alias_float.
23348 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23349 <libm-alias-float.h>.
23350 (lrintf): Define using libm_alias_float.
23351 (llrintf): Likewise.
23352 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23353 <libm-alias-float.h>.
23354 (nearbyintf): Define using libm_alias_float.
23355 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23356 <libm-alias-float.h>.
23357 (rintf): Define using libm_alias_float.
23358
011fba7e
JM
233592017-11-29 Joseph Myers <joseph@codesourcery.com>
23360
875cd548
JM
23361 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23362 <libm-alias-double.h>.
23363 (copysign): Define using libm_alias_double.
23364 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23365 <libm-alias-double.h>.
23366 (fabs): Define using libm_alias_double.
23367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23368 Include <libm-alias-double.h>.
23369 (copysign): Define using libm_alias_double.
23370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23371 <libm-alias-double.h>.
23372 (fabs): Define using libm_alias_double.
23373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23374 <libm-alias-double.h>.
23375 (fdim): Define using libm_alias_double.
23376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23377 <libm-alias-double.h>.
23378 (fma): Define using libm_alias_double.
23379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23380 <libm-alias-double.h>.
23381 (llrint): Define using libm_alias_double.
23382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23383 Include <libm-alias-double.h>.
23384 (nearbyint): Define using libm_alias_double.
23385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23386 <libm-alias-double.h>.
23387 (rint): Define using libm_alias_double.
23388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23389 <libm-alias-double.h>.
23390 (fabs): Define using libm_alias_double.
23391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23392 <libm-alias-double.h>.
23393 (llrint): Define using libm_alias_double.
23394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23395 <libm-alias-double.h>.
23396 (nearbyint): Define using libm_alias_double.
23397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23398 <libm-alias-double.h>.
23399 (rint): Define using libm_alias_double.
23400 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23401 <libm-alias-double.h>.
23402 (ceil): Define using libm_alias_double.
23403 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23404 <libm-alias-double.h>.
23405 (floor): Define using libm_alias_double.
23406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23407 <libm-alias-double.h>.
23408 (fma): Define using libm_alias_double.
23409 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23410 <libm-alias-double.h>.
23411 (lrint): Define using libm_alias_double.
23412 (llrint): Likewise.
23413 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23414 <libm-alias-double.h>.
23415 (nearbyint): Define using libm_alias_double.
23416 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23417 <libm-alias-double.h>.
23418 (rint): Define using libm_alias_double.
23419 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23420 <libm-alias-double.h>.
23421 (trunc): Define using libm_alias_double.
23422 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23423 <libm-alias-double.h>.
23424 (copysign): Define using libm_alias_double.
23425 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23426 <libm-alias-double.h>.
23427 (fabs): Define using libm_alias_double.
23428 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23429 <libm-alias-double.h>.
23430 (lrint): Define using libm_alias_double.
23431 (llrint): Likewise.
23432 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23433 <libm-alias-double.h>.
23434 (nearbyint): Define using libm_alias_double.
23435 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23436 <libm-alias-double.h>.
23437 (rint): Define using libm_alias_double.
23438
cf4ebc27
JM
23439 [BZ #22229]
23440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23441 <math_ldbl_opt.h>.
23442 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23443
0c097378
JM
23444 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23445 SPARC --disable-multi-arch glibc variants.
23446
34bb10aa
JM
23447 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23448 <libm-alias-float.h>.
23449 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23450 if [SHARED].
23451 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23452 <libm-alias-float.h>.
23453 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23454 if [SHARED].
23455 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23456 <libm-alias-float.h>.
23457 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23458 if [SHARED].
23459 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23460 <libm-alias-float.h>.
23461 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23462 if [SHARED].
23463 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23464 <libm-alias-float.h>.
23465 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23466 if [SHARED].
23467 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23468 <libm-alias-float.h>.
23469 (ceilf): Define using libm_alias_float.
23470 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23471 <libm-alias-float.h>.
23472 (floorf): Define using libm_alias_float.
23473 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23474 <libm-alias-float.h>.
23475 (fmaf): Define using libm_alias_float.
23476 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23477 <libm-alias-float.h>.
23478 (nearbyintf): Define using libm_alias_float.
23479 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23480 <libm-alias-float.h>.
23481 (rintf): Define using libm_alias_float.
23482 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23483 <libm-alias-float.h>.
23484 (truncf): Define using libm_alias_float.
23485 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23486 (copysignf): Define using libm_alias_float.
23487 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23488 (cosf): Define using libm_alias_float.
23489 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23490 (fabsf): Define using libm_alias_float.
23491 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23492 (fmaxf): Define using libm_alias_float.
23493 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23494 (fminf): Define using libm_alias_float.
23495 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23496 (llrintf): Define using libm_alias_float.
23497 [!__ILP32__] (lrintf): Likewise.
23498 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23499 (sincosf): Define using libm_alias_float.
23500 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23501 (sinf): Define using libm_alias_float.
23502 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23503 (lrintf): Define using libm_alias_float.
23504
011fba7e
JM
23505 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23506 <libm-alias-double.h>.
23507 (atan): Define using libm_alias_double.
23508 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23509 <libm-alias-double.h>.
23510 (ceil): Define using libm_alias_double.
23511 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23512 <libm-alias-double.h>.
23513 (floor): Define using libm_alias_double.
23514 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23515 <libm-alias-double.h>.
23516 (fma): Define using libm_alias_double.
23517 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23518 <libm-alias-double.h>.
23519 (nearbyint): Define using libm_alias_double.
23520 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23521 <libm-alias-double.h>.
23522 (rint): Define using libm_alias_double.
23523 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23524 <libm-alias-double.h>.
23525 (sin): Define using libm_alias_double.
23526 (cos): Likewise.
23527 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23528 <libm-alias-double.h>.
23529 (tan): Define using libm_alias_double.
23530 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23531 <libm-alias-double.h>.
23532 (trunc): Define using libm_alias_double.
23533 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23534 (copysign): Define using libm_alias_double.
23535 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23536 (fabs): Define using libm_alias_double.
23537 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23538 (fmax): Define using libm_alias_double.
23539 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23540 (fmin): Define using libm_alias_double.
23541 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23542 (llrint): Define using libm_alias_double.
23543 [!__ILP32__] (lrint): Likewise.
23544 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23545 (lrint): Define using libm_alias_double.
23546
1cbd7bfe
AZ
235472017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23548
21bfcc3d
AZ
23549 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23550 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23551 objects.
23552 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23553 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23554 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23555 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23556 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23557 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23558
522228dd
AZ
23559 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23560 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23561 objects.
23562 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23563 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23564 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23565 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23566 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23567 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23568
2a6f4fab
AZ
23569 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23570 (libm-sysdep_routines): Add s_nearbyint-generic and
23571 s_nearbyintf-generic objects.
23572 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23573 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23574 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23575 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23576 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23577 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23578
712b5b83
AZ
23579 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23580 Add s_finitef-generic and s_finite-generic objects.
23581 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23582 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23583 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23584 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23586 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23587
c96d3335
AZ
23588 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23589 Add s_isinff-generic and s_isinf-generic objects.
23590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23596
c6862a23
AZ
23597 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23598 Add s_isnanf-generic and s_isnan-generic objects.
23599 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23604 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23605
1cbd7bfe
AZ
23606 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23607 macro.
23608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23609 rule.
23610 (sysdep_routines): Use sysdep_calls as base.
23611 (libm-sysdep_routines): Add generic rule for symbols shared with
23612 libc. Add s_signbit-generic and s_signbitf-generic objects.
23613 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23614 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23615 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23616 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23617 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23618 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23619
aa1142c5
JM
236202017-11-29 Joseph Myers <joseph@codesourcery.com>
23621
23622 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23623 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23624 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23625 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23626 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23627 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23628 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23629 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23630 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23631 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23632 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23633 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23634 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23635 libm_alias_float_r.
23636 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23637 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23638 (logf): Likewise.
23639 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23640 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23641 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23642 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23643 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23644 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23645 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23646 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23647 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23648 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23649 libm_alias_float.
23650 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23651 (cosf): Likewise.
23652 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23653 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23654 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23655 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23656 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23657 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23658 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23659 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23660 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23661 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23662 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23663 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23664 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23665 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23666 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23667 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23668 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23669 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23670 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23671 libm_alias_float.
23672 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23673 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23674 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23675 * sysdeps/ia64/fpu/w_lgammaf_main.c
23676 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23677 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23678
363e4519
DL
236792017-11-28 Mike FABIAN <mfabian@redhat.com>
23680 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
23681
23682 [BZ #17750]
23683 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23684 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23685 accents sorting.
23686 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23687 sorting.
23688 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23689 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23690 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23691 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23692 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23693 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23694 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23695 instead of “ifdef DIACRIT_BACKWARD”.
23696
a55430cb
AZ
236972017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23698
23699 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23700 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23701 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23702 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23703 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23704 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23711 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23712 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23713 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23714 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23715 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23716 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23718 ($(have-as-vis3) == yes): Remove conditional.
23719 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23720 Likewise.
23721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23722 file.
23723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23724 file.
23725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23726 file.
23727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23728 file.
23729 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23731 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23735 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23736 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23737
0609ec0a
JM
237382017-11-29 Joseph Myers <joseph@codesourcery.com>
23739
23740 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23741 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23742 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23743 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23744 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23745 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23746 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23747 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23748 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23749 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23750 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23751 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23752 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23753 libm_alias_double_r.
23754 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23755 (log): Likewise.
23756 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23757 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23758 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23759 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23760 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23761 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23762 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23763 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23764 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23765 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23766 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23767 libm_alias_double.
23768 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23769 (cos): Likewise.
23770 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23771 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23772 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23773 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23774 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23775 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23776 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23777 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23778 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23779 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23780 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23781 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23782 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23783 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23784 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23785 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23786 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23787 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23788 libm_alias_double.
23789 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23790 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23791 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23792 * sysdeps/ia64/fpu/w_lgamma_main.c
23793 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23794 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23795
d5bfa34a
JDA
237962017-11-28 John David Anglin <danglin@gcc.gnu.org>
23797
23798 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23799 address of $global$ into %dp register earlier. Use pc-relative
23800 instruction sequence for PIC case.
23801
bc4e8f9b
JM
238022017-11-28 Joseph Myers <joseph@codesourcery.com>
23803
e4602cba
JM
23804 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23805 (asinhf): Define using libm_alias_float.
23806 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23807 (atanf): Define using libm_alias_float.
23808 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23809 (cbrtf): Define using libm_alias_float.
23810 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23811 (ceilf): Define using libm_alias_float.
23812 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23813 (copysignf): Define using libm_alias_float.
23814 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23815 (expm1f): Define using libm_alias_float.
23816 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23817 (fabsf): Define using libm_alias_float.
23818 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23819 (floorf): Define using libm_alias_float.
23820 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23821 (fmaxf): Define using libm_alias_float.
23822 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23823 (fminf): Define using libm_alias_float.
23824 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23825 (frexpf): Define using libm_alias_float.
23826 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23827 (llrintf): Define using libm_alias_float.
23828 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23829 (logbf): Define using libm_alias_float.
23830 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23831 (lrintf): Define using libm_alias_float.
23832 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23833 (nearbyintf): Define using libm_alias_float.
23834 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23835 (remquof): Define using libm_alias_float.
23836 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23837 (rintf): Define using libm_alias_float.
23838 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23839 (truncf): Define using libm_alias_float.
23840 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23841 <libm-alias-float.h>.
23842 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23843 if [SHARED].
23844 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23845 <libm-alias-float.h>.
23846 (expf): Define using libm_alias_float, or libm_alias_float_other
23847 if [SHARED].
23848 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23849 <libm-alias-float.h>.
23850 (log2f): Define using libm_alias_float, or libm_alias_float_other
23851 if [SHARED].
23852 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23853 <libm-alias-float.h>.
23854 (logf): Define using libm_alias_float, or libm_alias_float_other
23855 if [SHARED].
23856 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23857 <libm-alias-float.h>.
23858 (powf): Define using libm_alias_float, or libm_alias_float_other
23859 if [SHARED].
23860 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23861 <libm-alias-float.h>.
23862 (cosf): Define using libm_alias_float.
23863 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23864 <libm-alias-float.h>.
23865 (sincosf): Define using libm_alias_float.
23866 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23867 <libm-alias-float.h>.
23868 (sinf): Define using libm_alias_float.
23869 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23870 (fmaxf): Define using libm_alias_float.
23871 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23872 (fminf): Define using libm_alias_float.
23873 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23874 <libm-alias-float.h>.
23875 (fmaf): Define using libm_alias_float.
23876
bc4e8f9b
JM
23877 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23878 (asinh): Define using libm_alias_double.
23879 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23880 (atan): Define using libm_alias_double.
23881 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23882 (cbrt): Define using libm_alias_double.
23883 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23884 (ceil): Define using libm_alias_double.
23885 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23886 (copysign): Define using libm_alias_double.
23887 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23888 (expm1): Define using libm_alias_double.
23889 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23890 (fabs): Define using libm_alias_double.
23891 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23892 (fdim): Define using libm_alias_double.
23893 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23894 (floor): Define using libm_alias_double.
23895 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23896 (fmax): Define using libm_alias_double.
23897 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23898 (fmin): Define using libm_alias_double.
23899 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23900 (frexp): Define using libm_alias_double.
23901 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23902 (llrint): Define using libm_alias_double.
23903 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23904 (logb): Define using libm_alias_double.
23905 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23906 (lrint): Define using libm_alias_double.
23907 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23908 (nearbyint): Define using libm_alias_double.
23909 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23910 (remquo): Define using libm_alias_double.
23911 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23912 (rint): Define using libm_alias_double.
23913 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23914 (trunc): Define using libm_alias_double.
23915 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23916 (fmax): Define using libm_alias_double.
23917 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23918 (fmin): Define using libm_alias_double.
23919 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23920 (fma): Define using libm_alias_double.
23921
8d81ce0c
L
239222017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23923
23924 [BZ #22370]
23925 * elf/dl-hwcaps.c (ROUND): Removed.
23926 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23927 and ELF_NOTE_NEXT_OFFSET.
23928 * elf/dl-load.c (ROUND): Removed.
23929 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23930 * elf/readelflib.c (ROUND): Removed.
23931 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23932 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23933 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23934 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23935
6940bd96
JM
239362017-11-28 Joseph Myers <joseph@codesourcery.com>
23937
313ba463
JM
23938 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23939 [!__fmaf] (fmaf): Define using libm_alias_float.
23940
6940bd96
JM
23941 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23942 [!__fma] (fma): Define using libm_alias_double.
23943 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23944
22c69b6a
MF
239452017-11-28 Mike FABIAN <mfabian@redhat.com>
23946
23947 [BZ #22336]
23948 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23949 and implement the collation rules for cs from CLDR on top of that.
23950 * Makefile: Add cs_CZ.UTF-8 to test-input.
23951 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23952
8d7d3ba8
SP
239532017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23954
23955 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23956
0422ed1e
VR
239572017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23958 Icarus Sparry <icarus.w.sparry@intel.com>
23959
23960 * benchtests/Makefile:Add BENCHSET to allow subsets of
23961 benchmarks to be run.
23962 * benchtests/README: Add documentation for: Running subsets of
23963 benchmarks.
23964
0595e360
VR
239652017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23966
d5090db3
VR
23967 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23968 range of tests names.
23969
0595e360
VR
23970 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23971 result from property and remove "max", min" and "mean" from
23972 required properties based on benchtests/bench-skeleton.c.
23973
b4c645c2
FW
239742017-11-28 Florian Weimer <fweimer@redhat.com>
23975
23976 [BZ #20826]
23977 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23978 due to Internet requirement.
23979 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23980 tst-getaddrinfo5.
23981 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23982
88684de7
AZ
239832017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23984
69056564
AZ
23985 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23986 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23987 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23988 (sysdep_routines): Add memset-ultra1.
23989 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23990 file.
23991 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23992 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23993 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23994 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23995 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23996 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23997 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23998 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23999
88684de7
AZ
24000 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
24001 file.
24002 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
24003 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
24004 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
24005 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
24006 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
24007 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
24008 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
24009 macro.
24010 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24011 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
24012 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24013 (sysdep_routines): Add memcpy-ultra1.
24014 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
24015 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
24016
d8124864
JM
240172017-11-28 Joseph Myers <joseph@codesourcery.com>
24018
f433d0b3
JM
24019 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24020 (cfloat_versions): Take function argument without trailing 'f'.
24021 Call libm_alias_float_other.
24022 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24023 * sysdeps/alpha/fpu/cargf.c: Likewise.
24024 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24025 * sysdeps/alpha/fpu/conjf.c: Likewise.
24026 * sysdeps/alpha/fpu/crealf.c: Likewise.
24027 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24028 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24029 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24030 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24031 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24032 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24033 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24034 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24035 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24036 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24037 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24038 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24039 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24040 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24041 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24042 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24043 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24044 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24045 (clog10f): Use libm_alias_float_other.
24046 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24047 (ceilf): Define using libm_alias_float.
24048 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24049 (copysignf): Define using libm_alias_float.
24050 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24051 (fabsf): Define using libm_alias_float.
24052 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24053 (floorf): Define using libm_alias_float.
24054 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24055 (fmaxf): Define using libm_alias_float.
24056 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24057 (fminf): Define using libm_alias_float.
24058 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24059 (lrintf): Define using libm_alias_float.
24060 (llrintf): Likewise.
24061 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24062 (lroundf): Define using libm_alias_float.
24063 (llroundf): Likewise.
24064 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24065 (rintf): Define using libm_alias_float.
24066 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24067 (truncf): Define using libm_alias_float.
24068
15ff4900
JM
24069 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24070 (ceilf): Define using libm_alias_float.
24071 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24072 (floorf): Define using libm_alias_float.
24073 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24074 (fmaf): Define using libm_alias_float.
24075 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24076 (fmaxf): Define using libm_alias_float.
24077 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24078 (fminf): Define using libm_alias_float.
24079 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24080 (llrintf): Define using libm_alias_float.
24081 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24082 (llroundf): Define using libm_alias_float.
24083 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24084 (lrintf): Define using libm_alias_float.
24085 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24086 (lroundf): Define using libm_alias_float.
24087 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24088 <libm-alias-float.h>.
24089 (nearbyintf): Define using libm_alias_float.
24090 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24091 (rintf): Define using libm_alias_float.
24092 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24093 (roundf): Define using libm_alias_float.
24094 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24095 (truncf): Define using libm_alias_float.
24096
5de60638
JM
24097 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24098 (ceil): Define using libm_alias_double.
24099 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24100 (copysign): Define using libm_alias_double.
24101 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24102 (fabs): Define using libm_alias_double.
24103 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24104 (floor): Define using libm_alias_double.
24105 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24106 (fmax): Define using libm_alias_double.
24107 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24108 (fmin): Define using libm_alias_double.
24109 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24110 (lrint): Define using libm_alias_double.
24111 (llrint): Likewise.
24112 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24113 (lround): Define using libm_alias_double.
24114 (llround): Likewise.
24115 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24116 (rint): Define using libm_alias_double.
24117 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24118 (trunc): Define using libm_alias_double.
24119
d8124864
JM
24120 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24121 (libm_alias_double_r): Add semicolon after weak_alias call.
24122
f07d2ec8
JM
241232017-11-27 Joseph Myers <joseph@codesourcery.com>
24124
24125 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24126 (ceil): Define using libm_alias_double.
24127 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24128 (floor): Define using libm_alias_double.
24129 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24130 (fma): Define using libm_alias_double.
24131 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24132 (fmax): Define using libm_alias_double.
24133 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24134 (fmin): Define using libm_alias_double.
24135 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24136 (llrint): Define using libm_alias_double.
24137 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24138 (llround): Define using libm_alias_double.
24139 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24140 (lrint): Define using libm_alias_double.
24141 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24142 (lround): Define using libm_alias_double.
24143 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24144 (nearbyint): Define using libm_alias_double.
24145 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24146 (rint): Define using libm_alias_double.
24147 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24148 (round): Define using libm_alias_double.
24149 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24150 (trunc): Define using libm_alias_double.
24151
4bab0224
FW
241522017-11-27 Florian Weimer <fweimer@redhat.com>
24153
24154 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24155 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24156 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24157 (tests): Add tst-mlock2.
24158 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24159 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24160 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24161 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24162 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24163 for mlock. Document mlock2.
24164
a23aa5b7
JM
241652017-11-27 Joseph Myers <joseph@codesourcery.com>
24166
24167 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24168 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24169 Likewise.
24170 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24171 Likewise.
24172 * sysdeps/x86/Makeconfig: New file.
24173 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24174 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24175 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24176 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24177 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24178 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24179 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24180 Likewise.
24181 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24182 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24183 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24184 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24185 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24186 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24187 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24188 * manual/math.texi (Mathematics): Document support for _Float64x.
24189 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24190 * stdlib/Versions (GLIBC_2.27): Likewise.
24191 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24192 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24193 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24194 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24195 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24196 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24197 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24198 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24199 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24200 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24201 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24202 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24204 Likewise.
24205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24206 Likewise.
24207 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24208 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24209 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24210 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24211 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24212 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24213 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24214 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24215 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24216 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24217 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24218 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24219 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24220 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24221
c2c299fd
AS
242222017-11-27 Andreas Schwab <schwab@suse.de>
24223
24224 * elf/Makefile (dl-routines): Add dl-sort-maps.
24225 * elf/dl-sort-maps.c: New file.
24226 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24227 (_dl_sort_maps): Declare.
24228 * elf/dl-fini.c (_dl_sort_fini): Remove.
24229 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24230 * elf/dl-close.c (_dl_close_worker): Likewise.
24231 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24232 open-coding it.
24233 * elf/dl-open.c (dl_open_worker): Likewise.
24234
9d4b0117
JM
242352017-11-24 Joseph Myers <joseph@codesourcery.com>
24236
de61465c
JM
24237 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24238 using libm_alias_float128.
24239 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24240 Likewise.
24241 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24242 Likewise.
24243 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24244 (setpayloadsigf128): Likewise.
24245 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24246 Likewise.
24247 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24248 Likewise.
24249
9ae6d171
JM
24250 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24251 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24252 -mfloat128 to CFLAGS.
24253 ($(foreach
24254 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24255 Likewise.
24256 (CFLAGS-libm-test-support-float64x.c): New variable.
24257 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24258 $(f128-loader-link) to gnulib-tests.
24259
6e70d156
JM
24260 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24261 (libm_alias_float128_other_r): If
24262 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24263 alias.
24264 (libm_alias_float128_r): Add semicolon after weak_alias call.
24265 * sysdeps/generic/libm-alias-ldouble.h
24266 (libm_alias_ldouble_other_r_f128): New macro.
24267 (libm_alias_ldouble_other_r_f64x): Likewise.
24268 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24269 and libm_alias_ldouble_other_r_f64x.
24270 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24271 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24272 (libm_alias_ldouble_other_r_f128): New macro.
24273 (libm_alias_ldouble_other_r_f64x): Likewise.
24274 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24275 and libm_alias_ldouble_other_r_f64x.
24276
df2806cd
JM
24277 * stdlib/strfroml.c: Always include <stdlib.h>.
24278 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24279 undefine as macro and define as weak alias.
24280 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24281 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24282 <stdlib.h>.
24283 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24284 Define and later undefine as macro and define as weak alias.
24285
0df4fe35
JM
24286 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24287 Define and later undefine as macro. Define as weak alias if
24288 [!USE_WIDE_CHAR].
24289 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24290 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24291 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24292 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24293 Define and later undefine as macro. Define as weak alias if
24294 [!USE_WIDE_CHAR].
24295 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24296 Define and later undefine as macro. Define as weak alias if
24297 [USE_WIDE_CHAR].
24298 * sysdeps/ieee754/float128/strtof128_l.c
24299 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24300 Define and later undefine as macro. Define as weak alias if
24301 [!USE_WIDE_CHAR].
24302 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24303 Define and later undefine as macro. Define as weak alias if
24304 [USE_WIDE_CHAR].
24305 * sysdeps/ieee754/ldbl-128/strtold_l.c
24306 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24307 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24308 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24309 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24310 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24311 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24312 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24313 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24314 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24315 * sysdeps/ieee754/ldbl-96/strtold_l.c
24316 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24317 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24318 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24319 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24320
ae7207d0
JM
24321 * math/test-float64x.h: New file.
24322 * math/Makefile (type-float64x-yes): New variable.
24323 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24324
9596fc69
JM
24325 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24326 function-like macro.
24327 (min_of_type_): Likewise.
24328 (min_of_type_l): Likewise.
24329 (min_of_type_f128): Likewise.
24330 (min_of_type): Pass () as last argument of __MATH_TG.
24331
46453c3c
JM
24332 * stdlib/tst-strtod-round-skeleton.c
24333 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24334 headers.
24335
01e659e7
JM
24336 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24337 for combinations of long double with _Float64 and _Float64x.
24338
5c60afdd
JM
24339 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24340 (__DECL_SIMD_cosf32): Likewise.
24341 (__DECL_SIMD_cosf64): Likewise.
24342 (__DECL_SIMD_cosf32x): Likewise.
24343 (__DECL_SIMD_cosf64x): Likewise.
24344 (__DECL_SIMD_cosf128x): Likewise.
24345 (__DECL_SIMD_sinf16): Likewise.
24346 (__DECL_SIMD_sinf32): Likewise.
24347 (__DECL_SIMD_sinf64): Likewise.
24348 (__DECL_SIMD_sinf32x): Likewise.
24349 (__DECL_SIMD_sinf64x): Likewise.
24350 (__DECL_SIMD_sinf128x): Likewise.
24351 (__DECL_SIMD_sincosf16): Likewise.
24352 (__DECL_SIMD_sincosf32): Likewise.
24353 (__DECL_SIMD_sincosf64): Likewise.
24354 (__DECL_SIMD_sincosf32x): Likewise.
24355 (__DECL_SIMD_sincosf64x): Likewise.
24356 (__DECL_SIMD_sincosf128x): Likewise.
24357 (__DECL_SIMD_logf16): Likewise.
24358 (__DECL_SIMD_logf32): Likewise.
24359 (__DECL_SIMD_logf64): Likewise.
24360 (__DECL_SIMD_logf32x): Likewise.
24361 (__DECL_SIMD_logf64x): Likewise.
24362 (__DECL_SIMD_logf128x): Likewise.
24363 (__DECL_SIMD_expf16): Likewise.
24364 (__DECL_SIMD_expf32): Likewise.
24365 (__DECL_SIMD_expf64): Likewise.
24366 (__DECL_SIMD_expf32x): Likewise.
24367 (__DECL_SIMD_expf64x): Likewise.
24368 (__DECL_SIMD_expf128x): Likewise.
24369 (__DECL_SIMD_powf16): Likewise.
24370 (__DECL_SIMD_powf32): Likewise.
24371 (__DECL_SIMD_powf64): Likewise.
24372 (__DECL_SIMD_powf32x): Likewise.
24373 (__DECL_SIMD_powf64x): Likewise.
24374 (__DECL_SIMD_powf128x): Likewise.
24375
9d4b0117
JM
24376 * stdlib/Versions (libc): Move entries for wcstof128 and
24377 wcstof128_l to ....
24378 * wcsmbs/Versions (libc): ... here.
24379 Include <float128-abi.h>.
24380
7911dd47
FW
243812017-11-24 Florian Weimer <fweimer@redhat.com>
24382
24383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24384 bits/mman-shared.h.
24385 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24386 <bits/mman-shared.h>.
24387 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24388 to ...
24389 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24390 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24391 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24392 <bits/mman-shared.h>.
24393
c45d78aa
AZ
243942017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24395
24396 [BZ #22457]
24397 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24398 posix_memalign/free.
24399 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24400
3ffc4cc1
MF
244012017-11-22 Mike FABIAN <mfabian@redhat.com>
24402
24403 [BZ #22469]
24404 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24405 and implement the collation rules for pl from CLDR on top of that.
24406 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24407 of locales to be built for testing.
24408 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24409
3a327316
JM
244102017-11-23 Joseph Myers <joseph@codesourcery.com>
24411
24412 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24413 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24414 libm_alias_ldouble_other.
24415 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24416 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24417 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24418 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24419 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24420 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24421 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24422 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24423 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24424 libm_alias_ldouble_r.
24425 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24426 libm_alias_ldouble_other.
24427 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24428 (log10l): Likewise.
24429 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24430 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24431 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24432 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24433 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24434 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24435 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24436 (atan2l): Likewise.
24437 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24438 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24439 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24440 libm_alias_ldouble.
24441 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24442 (cosl): Likewise.
24443 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24444 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24445 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24446 (expl): Likewise.
24447 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24448 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24449 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24450 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24451 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24452 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24453 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24454 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24455 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24456 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24457 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24458 libm_alias_ldouble.
24459 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24460 libm_alias_ldouble_other.
24461 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24462 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24463 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24464 libm_alias_ldouble.
24465 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24466 libm_alias_ldouble_other.
24467 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24468 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24469 * sysdeps/ia64/fpu/w_lgammal_main.c
24470 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24471 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24472
0a947e06
FW
244732017-11-23 Florian Weimer <fweimer@redhat.com>
24474
24475 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24476 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24477 alike. Remove freeres marker.
24478 * malloc/arena.c (arena_thread_freeres): Call
24479 tcache_thread_shutdown.
24480
67f36c79
FW
244812017-11-23 Florian Weimer <fweimer@redhat.com>
24482
24483 [BZ #22459]
24484 Export nscd hash function as __nss_hash.
24485 * include/nss.h (__nss_hash): Declare.
24486 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24487 symbol.
24488 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24489 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24490 of __nscd_hash.
24491 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24492 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24493 * nss/Makefiles (routines): Add nss_hash.
24494 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24495 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24496 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24497 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24498
cccb6d4e
FW
244992017-11-23 Florian Weimer <fweimer@redhat.com>
24500
24501 [BZ #22478]
24502 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24503 Return error code, not -1.
24504 * signal/tst-sigwait-eintr.c: New file.
24505 * signal/Makefile (tests): Add tst-sigwait-eintr.
24506
59d2cbb1
FW
245072017-11-23 Florian Weimer <fweimer@redhat.com>
24508
24509 Linux: Add memfd_create system call wrapper
24510 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24511 tst-memfd_create.
24512 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24513 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24514 [__USE_GNU] (memfd_create): Declare.
24515 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24516 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24517 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24518 * sysdeps/unix/sysv/linux/**.abilist: Update.
24519 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24520
a90d1ac2
JM
245212017-11-22 Joseph Myers <joseph@codesourcery.com>
24522
0a9d1d62
JM
24523 * localedata/gen-locale.sh: Fix typo in variable name.
24524
754034c4
JM
24525 * resolv/res_debug.c (p_secstodate): Condition definition on
24526 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24527 directly as __p_secstodate, and as a compat symbol. Do not use
24528 libresolv_hidden_def.
24529 * resolv/resolv.h (p_secstodate): Remove macro and function
24530 declaration.
24531 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24532 using p_secstodate.
24533 * include/resolv.h (__p_secstodate): Do not use
24534 libresolv_hidden_proto.
24535 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24536 (tests-internal): ... here.
24537 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24538 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24539 and declare and use __p_secstodate and use compat_symbol_reference
24540 in that case.
24541 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24542 implementation returning 77.
24543
f120cda6
JM
24544 [BZ #22463]
24545 * resolv/res_debug.c: Include <libc-diag.h>.
24546 (p_secstodate): Assert time_t at least as wide as u_long. On
24547 overflow, use integer seconds since the epoch as output, or use
24548 "<overflow>" as output and set errno to EOVERFLOW if integer
24549 seconds since the epoch would be 14 or more characters.
24550 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24551 for sprintf call.
24552 * resolv/tst-p_secstodate.c: New file.
24553 * resolv/Makefile (tests): Add tst-p_secstodate.
24554 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24555
a90d1ac2
JM
24556 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24557 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24558 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24559
0285e6bd
PE
245602017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24561
24562 * posix/regcomp.c (init_word_char): Add comments.
24563
4bae6150
JM
245642017-11-22 Joseph Myers <joseph@codesourcery.com>
24565
24566 [BZ #22447]
24567 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24568 strlen to compute length of ut_user and set trailing NUL byte of
24569 result explicitly.
24570
4b7af5fc
MF
245712017-11-21 Mike FABIAN <mfabian@redhat.com>
24572
24573 [BZ #15537]
24574 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24575 using “copy "iso14651_t1"” and then implementing the
24576 collation rules for lv from CLDR on top of that.
24577 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24578 of locales to be built for testing.
24579 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24580 sorting.
24581
922bb78c
JM
245822017-11-21 Joseph Myers <joseph@codesourcery.com>
24583
24584 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24585 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24586 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24587 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24588 [__USE_MISC] (MADV_HWPOISON): New macro.
24589 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24590
a3aaa598
AZ
245912017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24592
24593 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24594 -Wmissing-braces on GCC 4.9.
24595
8beba15d
SL
245962017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24597
24598 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24599 * sysdeps/s390/s390-32/start.S (_start): Likewise
24600 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24601 (thread_start): Likewise.
24602 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24603 (thread_start): Likewise.
24604 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24605 (__makecontext_ret): Likewise.
24606 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24607 (__makecontext_ret): Likewise.
24608
80eb52e3
SL
246092017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24610
24611 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24612 __wcschrnul): Remove attribute_hidden.
24613
567d8c1f
PE
246142017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24615
24616 regex: don't assume uint64_t or uint32_t
24617 This avoids -Werror=overflow errors for 32-bit systems in
24618 the 64-bit case. Problem reported by Joseph Myers in:
24619 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24620 Also, when this code is used in Gnulib it ports to platforms
24621 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24622 them, and on some 32-bit compilers there is no uint64_t.
24623 Problem reported by Gianluigi Tiesi in:
24624 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24625 * posix/regcomp.c (init_word_char): Don't assume that the types
24626 uint64_t and uint32_t exist. Adapted from Gnulib patch
24627 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24628 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24629
4d7632ff
SP
246302017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24631
5a67c4fa
SP
24632 * sysdeps/aarch64/memset-reg.h: New file.
24633 * sysdeps/aarch64/memset.S: Use it.
24634 (__memset): Rename to MEMSET macro.
24635 [ZVA_MACRO]: Use zva_macro.
24636 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24637 Add memset_generic and memset_falkor.
24638 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24639 (__libc_ifunc_impl_list): Add memset ifuncs.
24640 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24641 local variable zva_size.
24642 * sysdeps/aarch64/multiarch/memset.c: New file.
24643 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24644 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24645 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24646 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24647 (DCZID_DZP_MASK): New macro.
24648 (DCZID_BS_MASK): Likewise.
24649 (init_cpu_features): Read and set zva_size.
24650 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24651 (struct cpu_features): New member zva_size.
24652
eb332f9f
SP
24653 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24654 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24655 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24656
4d7632ff
SP
24657 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24658 backwards. Fix timing computation.
24659 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24660 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24661 on memset by N at a time. Fix timing computation.
24662
a465b89e
FW
246632017-11-20 Florian Weimer <fweimer@redhat.com>
24664
24665 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24666 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24667
0f74bbf5
FW
246682017-11-19 Florian Weimer <fweimer@redhat.com>
24669
24670 manual: Document mprotect
24671 * manual/memory.texi (Memory Protection): New section.
24672 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24673 documentation of PROT_* flags and reference the Memory Protection
24674 section instead.
24675
f6e965ee
FW
246762017-11-19 Florian Weimer <fweimer@redhat.com>
24677
24678 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24679 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24680 (Scatter-Gather): ... to here. Remove misleading comment.
24681
363e4519 246822017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 24683
5f9d1949
CB
24684 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24685 style.
24686
ea69a5c8
CB
24687 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24688 when /proc/<pid>/setgroups does not exist.
24689
8db7f48c
FW
246902017-11-18 Florian Weimer <fweimer@redhat.com>
24691
24692 * sysdeps/unix/sysv/linux/tst-ttyname.c
24693 (become_root_in_mount_ns): Remove.
24694 (do_in_chroot_1): Call support_enter_mount_namespace.
24695 (do_in_chroot_2): Likewise.
24696 (do_test): Call support_become_root early.
24697
273a0c49
FW
246982017-11-18 Florian Weimer <fweimer@redhat.com>
24699
24700 * support/namespace.h (support_enter_mount_namespace): Declare.
24701 * support/support_enter_mount_namespace.c: New file.
24702 * support/Makefile (libsupport-routines): Add
24703 support_enter_mount_namespace.
24704
8adfb0ee
FW
247052017-11-18 Florian Weimer <fweimer@redhat.com>
24706
24707 * support/temp_file.c (support_create_temp_directory): Use
24708 test_dir and do not rely on the presence of the XXXXXX suffix.
24709 * support/temp_file.h (support_create_temp_directory): Update
24710 comment.
24711 * support/tst-xreadlink.c (do_test): Adjust.
24712 * support/support_chroot.c (support_chroot_create): Likewise.
24713
df0c40ee
TMQMF
247142017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24715
24716 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24717 macro.
24718 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24719 htm-no-suspend.
24720
015c6dc2
JM
247212017-11-17 Joseph Myers <joseph@codesourcery.com>
24722
f58e5f48
JM
24723 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24724 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24725 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24726 (ceill): Define using libm_alias_ldouble.
24727 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24728 <libm-alias-ldouble.h>.
24729 (copysignl): Define using libm_alias_ldouble.
24730 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24731 (fabsl): Define using libm_alias_ldouble.
24732 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24733 (floorl): Define using libm_alias_ldouble.
24734 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24735 (fmaxl): Define using libm_alias_ldouble.
24736 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24737 (fminl): Define using libm_alias_ldouble.
24738 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24739 (llrintl): Define using libm_alias_ldouble.
24740 (lrintl): Likewise.
24741 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24742 <libm-alias-ldouble.h>.
24743 (nearbyintl): Define using libm_alias_ldouble.
24744 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24745 (truncl): Define using libm_alias_ldouble.
24746 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24747 <libm-alias-ldouble.h>.
24748 (lrintl): Define using libm_alias_ldouble.
24749
2ce30701
JM
24750 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24751 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24752 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24753 (asinhl): Define using libm_alias_ldouble.
24754 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24755 (atanl): Define using libm_alias_ldouble.
24756 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24757 (cbrtl): Define using libm_alias_ldouble.
24758 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24759 (ceill): Define using libm_alias_ldouble.
24760 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24761 (copysignl): Define using libm_alias_ldouble.
24762 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24763 (fabsl): Define using libm_alias_ldouble.
24764 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24765 (floorl): Define using libm_alias_ldouble.
24766 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24767 (fmaxl): Define using libm_alias_ldouble.
24768 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24769 (fminl): Define using libm_alias_ldouble.
24770 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24771 (frexpl): Define using libm_alias_ldouble.
24772 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24773 (llrintl): Define using libm_alias_ldouble.
24774 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24775 (logbl): Define using libm_alias_ldouble.
24776 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24777 (lrintl): Define using libm_alias_ldouble.
24778 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24779 (nearbyintl): Define using libm_alias_ldouble.
24780 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24781 (nextafterl): Define using libm_alias_ldouble.
24782 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24783 (remquol): Define using libm_alias_ldouble.
24784 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24785 (rintl): Define using libm_alias_ldouble.
24786 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24787 (truncl): Define using libm_alias_ldouble.
24788 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24789 (fmaxl): Define using libm_alias_ldouble.
24790 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24791 (fminl): Define using libm_alias_ldouble.
24792
015c6dc2
JM
24793 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24794 to C syntax instead of availability and properties of types.
24795 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24796 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24797 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24798 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24799 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24800 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24801
ce003e5d
FW
248022017-11-17 Florian Weimer <fweimer@redhat.com>
24803
24804 support_become_root: Enable file creation in namespaces.
24805 * support/support_become_root.c (setup_mapping): New function.
24806 (support_become_root): Call it.
24807
e7df6c5c
JM
248082017-11-17 Joseph Myers <joseph@codesourcery.com>
24809
24810 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24811 macro.
24812
58a813bf
AZ
248132017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24814
24815 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24816 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24817
f97773d1
JM
248182017-11-16 Joseph Myers <joseph@codesourcery.com>
24819
6a6aa1f3
JM
24820 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24821
f97773d1
JM
24822 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24823 version to 4.14.
24824
a306c790
SP
248252017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24826
7b0fb870
SP
24827 * INSTALL: Fix botched up regeneration.
24828
24829 * NEWS: Update sourceare link to https.
a306c790
SP
24830 * configure.ac: Likewise.
24831 * crypt/md5test-giant.c: Likewise.
24832 * dlfcn/bug-atexit1.c: Likewise.
24833 * dlfcn/bug-atexit2.c: Likewise.
24834 * localedata/README: Likewise.
24835 * malloc/tst-mallocfork.c: Likewise.
24836 * manual/install.texi: Likewise.
24837 * nptl/tst-pthread-getattr.c: Likewise.
24838 * stdio-common/tst-fgets.c: Likewise.
24839 * stdio-common/tst-fwrite.c: Likewise.
24840 * sunrpc/Makefile: Likewise.
24841 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24842 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
24843 * configure: Regenerate.
24844 * INSTALL: Regenerate.
a306c790 24845
7532837d
MS
248462017-11-15 Martin Sebor <msebor@redhat.com>
24847
24848 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24849 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24850 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24851
495a56fd
LS
248522017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24853
d9611e30
LS
24854 [BZ #22145]
24855 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24856 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24857
a09dfc19
LS
24858 [BZ #22145]
24859 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24860 Defer is_pty check until end of the function.
24861 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24862
2fbce9c2
LS
24863 [BZ #22145]
24864 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24865 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24866 (ttyname): Likewise.
24867 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24868 (__ttyname_r): Likewise.
24869
d10d6cab
LS
24870 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24871 int to bool.
24872
9b5a8750
LS
24873 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24874
495a56fd
LS
24875 * manual/terminal.texi (Is It a Terminal):
24876 Mention ENODEV for ttyname and ttyname_r.
24877
fa680dc6
JM
248782017-11-15 Joseph Myers <joseph@codesourcery.com>
24879
78cde19f
JM
24880 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24881 constant and macro.
24882
fa680dc6
JM
24883 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24884 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24885 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24886 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24887 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24888 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24889
ad4f43a2
AZ
248902017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24891
1ba1d8a4
AZ
24892 * signal/sigrelse.c (sigrelse): Optimize implementation.
24893
ad4f43a2
AZ
24894 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24895 (__sigpause): Rely on __sigsuspend to implement single thread
24896 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24897
d0212d42
JM
248982017-11-15 Joseph Myers <joseph@codesourcery.com>
24899
24900 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24901 kernel version to 4.14.
24902
2180fee1
SE
249032017-11-15 Steve Ellcey <sellcey@cavium.com>
24904
24905 [BZ #22442]
24906 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24907 Check if ifname is too long.
24908
cad7ca39
LS
249092017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24910
24911 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24912
58c9f659
MF
249132017-11-15 Mike FABIAN <mfabian@redhat.com>
24914
24915 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24916 was accidentally lost.
24917
0fa87c01
MF
249182017-11-15 Mike FABIAN <mfabian@redhat.com>
24919
24920 * localedata/locales/az_IR: Add standard copyright header.
24921
34eb4157
FW
249222017-11-15 Florian Weimer <fweimer@redhat.com>
24923
24924 [BZ #22439]
24925 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24926 not just the top one. Output a new "subheaps" statistic.
24927
7a9368a1
FW
249282017-11-15 Florian Weimer <fweimer@redhat.com>
24929
24930 [BZ #22408]
24931 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24932 under the per-arena lock.
24933 * malloc/Makefile (tests): Add tst-malloc_info.
24934 (tst-malloc_info): Link with libpthread.
24935 * malloc/tst-malloc_info.c: New file.
24936
be3a79a3
JM
249372017-11-15 Joseph Myers <joseph@codesourcery.com>
24938
24939 [BZ #21660]
24940 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24941 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24942 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24943 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24944 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24945 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24946 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24947 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24948 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24949 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24950 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24951 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24952 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24953 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24954 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24955 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24956 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24957 (__floating_type): Likewise.
24958 (__real_integer_type): Likewise.
24959 (__complex_integer_type): Likewise.
24960 (__expr_is_real): Likewise.
24961 (__tgmath_real_type_sub): Likewise.
24962 (__tgmath_real_type): Likewise.
24963 (__tgmath_complex_type_sub): Likewise.
24964 (__tgmath_complex_type): Likewise.
24965 (__TGMATH_F128): Likewise.
24966 (__TGMATH_CF128): Likewise.
24967 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24968 new macros.
24969 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24970 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24971 Likewise.
24972 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24973 Likewise.
24974 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24975 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24976 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24977 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24978 Likewise.
24979 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24980 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24981 Likewise.
24982 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24983 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24984 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24985 Likewise.
24986 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24987 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24988 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24989 (cimag): Likewise.
24990 (creal): Likewise.
24991
ec72135e
JM
249922017-11-14 Joseph Myers <joseph@codesourcery.com>
24993
2e64ec9c
JM
24994 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24995 for stpncpy calls for GCC 8.
24996 (test_strncat): Disable -Wstringop-truncation warning for strncat
24997 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24998 strncat call for GCC 7.
24999 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
25000 calls for GCC 8.
25001 (test_memcmp): Use memcpy instead of strncpy for calls not copying
25002 trailing NUL.
25003
ec72135e
JM
25004 * string/bug-strncat1.c: Include <libc-diag.h>.
25005 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
25006
363e4519 250072017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
25008
25009 [BZ #22387]
25010 * localedata/locales/aa_DJ: Improved readibility by replacing
25011 <Uxxxx> sequences in the ASCII printable range by their ASCII
25012 character equivalents.
25013 * localedata/locales/aa_ER: Likewise.
25014 * localedata/locales/aa_ER@saaho: Likewise.
25015 * localedata/locales/aa_ET: Likewise.
25016 * localedata/locales/af_ZA: Likewise.
25017 * localedata/locales/agr_PE: Likewise.
25018 * localedata/locales/ak_GH: Likewise.
25019 * localedata/locales/am_ET: Likewise.
25020 * localedata/locales/anp_IN: Likewise.
25021 * localedata/locales/ar_AE: Likewise.
25022 * localedata/locales/ar_BH: Likewise.
25023 * localedata/locales/ar_DZ: Likewise.
25024 * localedata/locales/ar_EG: Likewise.
25025 * localedata/locales/ar_IN: Likewise.
25026 * localedata/locales/ar_IQ: Likewise.
25027 * localedata/locales/ar_JO: Likewise.
25028 * localedata/locales/ar_KW: Likewise.
25029 * localedata/locales/ar_LB: Likewise.
25030 * localedata/locales/ar_LY: Likewise.
25031 * localedata/locales/ar_MA: Likewise.
25032 * localedata/locales/ar_OM: Likewise.
25033 * localedata/locales/ar_QA: Likewise.
25034 * localedata/locales/ar_SA: Likewise.
25035 * localedata/locales/ar_SD: Likewise.
25036 * localedata/locales/ar_SS: Likewise.
25037 * localedata/locales/ar_SY: Likewise.
25038 * localedata/locales/ar_TN: Likewise.
25039 * localedata/locales/ar_YE: Likewise.
25040 * localedata/locales/as_IN: Likewise.
25041 * localedata/locales/ast_ES: Likewise.
25042 * localedata/locales/ayc_PE: Likewise.
25043 * localedata/locales/az_AZ: Likewise.
25044 * localedata/locales/az_IR: Likewise.
25045 * localedata/locales/be_BY: Likewise.
25046 * localedata/locales/be_BY@latin: Likewise.
25047 * localedata/locales/bem_ZM: Likewise.
25048 * localedata/locales/ber_DZ: Likewise.
25049 * localedata/locales/ber_MA: Likewise.
25050 * localedata/locales/bg_BG: Likewise.
25051 * localedata/locales/bhb_IN: Likewise.
25052 * localedata/locales/bho_IN: Likewise.
25053 * localedata/locales/bi_VU: Likewise.
25054 * localedata/locales/bn_BD: Likewise.
25055 * localedata/locales/bn_IN: Likewise.
25056 * localedata/locales/bo_CN: Likewise.
25057 * localedata/locales/bo_IN: Likewise.
25058 * localedata/locales/br_FR: Likewise.
25059 * localedata/locales/brx_IN: Likewise.
25060 * localedata/locales/bs_BA: Likewise.
25061 * localedata/locales/byn_ER: Likewise.
25062 * localedata/locales/ca_AD: Likewise.
25063 * localedata/locales/ca_ES: Likewise.
25064 * localedata/locales/ca_FR: Likewise.
25065 * localedata/locales/ca_IT: Likewise.
25066 * localedata/locales/ce_RU: Likewise.
25067 * localedata/locales/chr_US: Likewise.
25068 * localedata/locales/cmn_TW: Likewise.
25069 * localedata/locales/crh_UA: Likewise.
25070 * localedata/locales/cs_CZ: Likewise.
25071 * localedata/locales/csb_PL: Likewise.
25072 * localedata/locales/cv_RU: Likewise.
25073 * localedata/locales/cy_GB: Likewise.
25074 * localedata/locales/da_DK: Likewise.
25075 * localedata/locales/de_AT: Likewise.
25076 * localedata/locales/de_BE: Likewise.
25077 * localedata/locales/de_CH: Likewise.
25078 * localedata/locales/de_DE: Likewise.
25079 * localedata/locales/de_IT: Likewise.
25080 * localedata/locales/de_LI: Likewise.
25081 * localedata/locales/de_LU: Likewise.
25082 * localedata/locales/doi_IN: Likewise.
25083 * localedata/locales/dv_MV: Likewise.
25084 * localedata/locales/dz_BT: Likewise.
25085 * localedata/locales/el_CY: Likewise.
25086 * localedata/locales/el_GR: Likewise.
25087 * localedata/locales/en_AG: Likewise.
25088 * localedata/locales/en_AU: Likewise.
25089 * localedata/locales/en_BW: Likewise.
25090 * localedata/locales/en_CA: Likewise.
25091 * localedata/locales/en_DK: Likewise.
25092 * localedata/locales/en_GB: Likewise.
25093 * localedata/locales/en_HK: Likewise.
25094 * localedata/locales/en_IE: Likewise.
25095 * localedata/locales/en_IL: Likewise.
25096 * localedata/locales/en_IN: Likewise.
25097 * localedata/locales/en_NG: Likewise.
25098 * localedata/locales/en_NZ: Likewise.
25099 * localedata/locales/en_PH: Likewise.
25100 * localedata/locales/en_SG: Likewise.
25101 * localedata/locales/en_US: Likewise.
25102 * localedata/locales/en_ZA: Likewise.
25103 * localedata/locales/en_ZM: Likewise.
25104 * localedata/locales/en_ZW: Likewise.
25105 * localedata/locales/eo: Likewise.
25106 * localedata/locales/es_AR: Likewise.
25107 * localedata/locales/es_BO: Likewise.
25108 * localedata/locales/es_CL: Likewise.
25109 * localedata/locales/es_CO: Likewise.
25110 * localedata/locales/es_CR: Likewise.
25111 * localedata/locales/es_CU: Likewise.
25112 * localedata/locales/es_DO: Likewise.
25113 * localedata/locales/es_EC: Likewise.
25114 * localedata/locales/es_ES: Likewise.
25115 * localedata/locales/es_GT: Likewise.
25116 * localedata/locales/es_HN: Likewise.
25117 * localedata/locales/es_MX: Likewise.
25118 * localedata/locales/es_NI: Likewise.
25119 * localedata/locales/es_PA: Likewise.
25120 * localedata/locales/es_PE: Likewise.
25121 * localedata/locales/es_PR: Likewise.
25122 * localedata/locales/es_PY: Likewise.
25123 * localedata/locales/es_SV: Likewise.
25124 * localedata/locales/es_US: Likewise.
25125 * localedata/locales/es_UY: Likewise.
25126 * localedata/locales/es_VE: Likewise.
25127 * localedata/locales/et_EE: Likewise.
25128 * localedata/locales/eu_ES: Likewise.
25129 * localedata/locales/eu_ES@euro: Likewise.
25130 * localedata/locales/fa_IR: Likewise.
25131 * localedata/locales/ff_SN: Likewise.
25132 * localedata/locales/fi_FI: Likewise.
25133 * localedata/locales/fil_PH: Likewise.
25134 * localedata/locales/fo_FO: Likewise.
25135 * localedata/locales/fr_BE: Likewise.
25136 * localedata/locales/fr_CA: Likewise.
25137 * localedata/locales/fr_CH: Likewise.
25138 * localedata/locales/fr_FR: Likewise.
25139 * localedata/locales/fr_LU: Likewise.
25140 * localedata/locales/fur_IT: Likewise.
25141 * localedata/locales/fy_DE: Likewise.
25142 * localedata/locales/fy_NL: Likewise.
25143 * localedata/locales/ga_IE: Likewise.
25144 * localedata/locales/gd_GB: Likewise.
25145 * localedata/locales/gez_ER: Likewise.
25146 * localedata/locales/gez_ET: Likewise.
25147 * localedata/locales/gl_ES: Likewise.
25148 * localedata/locales/gu_IN: Likewise.
25149 * localedata/locales/gv_GB: Likewise.
25150 * localedata/locales/ha_NG: Likewise.
25151 * localedata/locales/hak_TW: Likewise.
25152 * localedata/locales/he_IL: Likewise.
25153 * localedata/locales/hi_IN: Likewise.
25154 * localedata/locales/hif_FJ: Likewise.
25155 * localedata/locales/hne_IN: Likewise.
25156 * localedata/locales/hr_HR: Likewise.
25157 * localedata/locales/hsb_DE: Likewise.
25158 * localedata/locales/ht_HT: Likewise.
25159 * localedata/locales/hu_HU: Likewise.
25160 * localedata/locales/hy_AM: Likewise.
25161 * localedata/locales/i18n: Likewise.
25162 * localedata/locales/ia_FR: Likewise.
25163 * localedata/locales/id_ID: Likewise.
25164 * localedata/locales/ig_NG: Likewise.
25165 * localedata/locales/ik_CA: Likewise.
25166 * localedata/locales/is_IS: Likewise.
25167 * localedata/locales/it_CH: Likewise.
25168 * localedata/locales/it_IT: Likewise.
25169 * localedata/locales/iu_CA: Likewise.
25170 * localedata/locales/ja_JP: Likewise.
25171 * localedata/locales/ka_GE: Likewise.
25172 * localedata/locales/kk_KZ: Likewise.
25173 * localedata/locales/kl_GL: Likewise.
25174 * localedata/locales/kn_IN: Likewise.
25175 * localedata/locales/ko_KR: Likewise.
25176 * localedata/locales/kok_IN: Likewise.
25177 * localedata/locales/ks_IN: Likewise.
25178 * localedata/locales/ks_IN@devanagari: Likewise.
25179 * localedata/locales/ku_TR: Likewise.
25180 * localedata/locales/kw_GB: Likewise.
25181 * localedata/locales/ky_KG: Likewise.
25182 * localedata/locales/lb_LU: Likewise.
25183 * localedata/locales/lg_UG: Likewise.
25184 * localedata/locales/li_BE: Likewise.
25185 * localedata/locales/li_NL: Likewise.
25186 * localedata/locales/lij_IT: Likewise.
25187 * localedata/locales/ln_CD: Likewise.
25188 * localedata/locales/lo_LA: Likewise.
25189 * localedata/locales/lt_LT: Likewise.
25190 * localedata/locales/lv_LV: Likewise.
25191 * localedata/locales/lzh_TW: Likewise.
25192 * localedata/locales/mag_IN: Likewise.
25193 * localedata/locales/mai_IN: Likewise.
25194 * localedata/locales/mg_MG: Likewise.
25195 * localedata/locales/mhr_RU: Likewise.
25196 * localedata/locales/mi_NZ: Likewise.
25197 * localedata/locales/mk_MK: Likewise.
25198 * localedata/locales/ml_IN: Likewise.
25199 * localedata/locales/mn_MN: Likewise.
25200 * localedata/locales/mni_IN: Likewise.
25201 * localedata/locales/mr_IN: Likewise.
25202 * localedata/locales/ms_MY: Likewise.
25203 * localedata/locales/mt_MT: Likewise.
25204 * localedata/locales/my_MM: Likewise.
25205 * localedata/locales/nan_TW: Likewise.
25206 * localedata/locales/nan_TW@latin: Likewise.
25207 * localedata/locales/nb_NO: Likewise.
25208 * localedata/locales/nds_DE: Likewise.
25209 * localedata/locales/nds_NL: Likewise.
25210 * localedata/locales/ne_NP: Likewise.
25211 * localedata/locales/nhn_MX: Likewise.
25212 * localedata/locales/niu_NU: Likewise.
25213 * localedata/locales/niu_NZ: Likewise.
25214 * localedata/locales/nl_AW: Likewise.
25215 * localedata/locales/nl_BE: Likewise.
25216 * localedata/locales/nl_NL: Likewise.
25217 * localedata/locales/nn_NO: Likewise.
25218 * localedata/locales/nr_ZA: Likewise.
25219 * localedata/locales/nso_ZA: Likewise.
25220 * localedata/locales/oc_FR: Likewise.
25221 * localedata/locales/om_ET: Likewise.
25222 * localedata/locales/om_KE: Likewise.
25223 * localedata/locales/or_IN: Likewise.
25224 * localedata/locales/os_RU: Likewise.
25225 * localedata/locales/pa_IN: Likewise.
25226 * localedata/locales/pa_PK: Likewise.
25227 * localedata/locales/pap_AW: Likewise.
25228 * localedata/locales/pap_CW: Likewise.
25229 * localedata/locales/pl_PL: Likewise.
25230 * localedata/locales/ps_AF: Likewise.
25231 * localedata/locales/pt_BR: Likewise.
25232 * localedata/locales/pt_PT: Likewise.
25233 * localedata/locales/quz_PE: Likewise.
25234 * localedata/locales/raj_IN: Likewise.
25235 * localedata/locales/ro_RO: Likewise.
25236 * localedata/locales/ru_RU: Likewise.
25237 * localedata/locales/ru_UA: Likewise.
25238 * localedata/locales/rw_RW: Likewise.
25239 * localedata/locales/sa_IN: Likewise.
25240 * localedata/locales/sat_IN: Likewise.
25241 * localedata/locales/sc_IT: Likewise.
25242 * localedata/locales/sd_IN: Likewise.
25243 * localedata/locales/sd_IN@devanagari: Likewise.
25244 * localedata/locales/se_NO: Likewise.
25245 * localedata/locales/sgs_LT: Likewise.
25246 * localedata/locales/shs_CA: Likewise.
25247 * localedata/locales/si_LK: Likewise.
25248 * localedata/locales/sid_ET: Likewise.
25249 * localedata/locales/sk_SK: Likewise.
25250 * localedata/locales/sl_SI: Likewise.
25251 * localedata/locales/sm_WS: Likewise.
25252 * localedata/locales/so_DJ: Likewise.
25253 * localedata/locales/so_ET: Likewise.
25254 * localedata/locales/so_KE: Likewise.
25255 * localedata/locales/so_SO: Likewise.
25256 * localedata/locales/sq_AL: Likewise.
25257 * localedata/locales/sq_MK: Likewise.
25258 * localedata/locales/sr_ME: Likewise.
25259 * localedata/locales/sr_RS: Likewise.
25260 * localedata/locales/sr_RS@latin: Likewise.
25261 * localedata/locales/ss_ZA: Likewise.
25262 * localedata/locales/st_ZA: Likewise.
25263 * localedata/locales/sv_FI: Likewise.
25264 * localedata/locales/sv_SE: Likewise.
25265 * localedata/locales/sw_KE: Likewise.
25266 * localedata/locales/sw_TZ: Likewise.
25267 * localedata/locales/szl_PL: Likewise.
25268 * localedata/locales/ta_IN: Likewise.
25269 * localedata/locales/ta_LK: Likewise.
25270 * localedata/locales/tcy_IN: Likewise.
25271 * localedata/locales/te_IN: Likewise.
25272 * localedata/locales/tg_TJ: Likewise.
25273 * localedata/locales/th_TH: Likewise.
25274 * localedata/locales/the_NP: Likewise.
25275 * localedata/locales/ti_ER: Likewise.
25276 * localedata/locales/ti_ET: Likewise.
25277 * localedata/locales/tig_ER: Likewise.
25278 * localedata/locales/tk_TM: Likewise.
25279 * localedata/locales/tl_PH: Likewise.
25280 * localedata/locales/tn_ZA: Likewise.
25281 * localedata/locales/to_TO: Likewise.
25282 * localedata/locales/tpi_PG: Likewise.
25283 * localedata/locales/tr_CY: Likewise.
25284 * localedata/locales/tr_TR: Likewise.
25285 * localedata/locales/ts_ZA: Likewise.
25286 * localedata/locales/tt_RU: Likewise.
25287 * localedata/locales/tt_RU@iqtelif: Likewise.
25288 * localedata/locales/ug_CN: Likewise.
25289 * localedata/locales/uk_UA: Likewise.
25290 * localedata/locales/unm_US: Likewise.
25291 * localedata/locales/ur_IN: Likewise.
25292 * localedata/locales/ur_PK: Likewise.
25293 * localedata/locales/uz_UZ: Likewise.
25294 * localedata/locales/uz_UZ@cyrillic: Likewise.
25295 * localedata/locales/ve_ZA: Likewise.
25296 * localedata/locales/vi_VN: Likewise.
25297 * localedata/locales/wa_BE: Likewise.
25298 * localedata/locales/wae_CH: Likewise.
25299 * localedata/locales/wal_ET: Likewise.
25300 * localedata/locales/wo_SN: Likewise.
25301 * localedata/locales/xh_ZA: Likewise.
25302 * localedata/locales/yi_US: Likewise.
25303 * localedata/locales/yo_NG: Likewise.
25304 * localedata/locales/yue_HK: Likewise.
25305 * localedata/locales/yuw_PG: Likewise.
25306 * localedata/locales/zh_CN: Likewise.
25307 * localedata/locales/zh_HK: Likewise.
25308 * localedata/locales/zh_SG: Likewise.
25309 * localedata/locales/zh_TW: Likewise.
25310 * localedata/locales/zu_ZA: Likewise.
25311
cae87e64
FW
253122017-11-13 Florian Weimer <fweimer@redhat.com>
25313
25314 * support/next_to_fault.h, support/next_to_fault.c: New files.
25315 * support/Makefile (libsupport-routines): Add next_to_fault.
25316 * resolv/tst-inet_pton.c (struct next_to_fault)
25317 (next_to_fault_allocate, next_to_fault_free): Remove.
25318 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25319
4a306ef1
L
253202017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25321
25322 * elf/dl-support.c: Include <dl-procruntime.c>.
25323 * include/link.h: Include <link_map.h>.
25324 * sysdeps/generic/dl-procruntime.c: New file.
25325 * sysdeps/generic/link_map.h: Likewise.
25326 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25327 the writable ld.so namespace.
25328
e69897bf
PE
253292017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25330
25331 timezone: pacify GCC -Wstringop-truncation
25332 Problem reported by Martin Sebor in:
25333 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25334 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25335
1ffe1ccb
FW
253362017-11-12 Florian Weimer <fweimer@redhat.com>
25337
eceed671
FW
25338 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25339 tst-xreadlink.
25340 (tests): Add tst-xreadlink.
1ffe1ccb
FW
25341 * support/support.h (xstrndup): Declare.
25342 * support/xunistd.h (xunlink, xreadlink): Declare.
25343 * support/temp_file.h (support_create_temp_directory): Declare.
25344 * support/temp_file.c (support_create_temp_directory): New function.
25345 * support/support_chroot.c (support_chroot_create): Use it.
25346 * support/xreadlink.c: New file.
25347 * support/xstrndup.c: Likewise.
25348 * support/xunlink.c: Likewise.
25349 * support/tst-xreadlink.c: Likewise.
25350
456b40a9
JDA
253512017-11-11 John David Anglin <danglin@gcc.gnu.org>
25352
25353 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25354
c0a25aa9
FW
253552017-11-11 Florian Weimer <fweimer@redhat.com>
25356
25357 [BZ #22409]
25358 [BZ #22412]
25359 * resolv/res_comp.c (printable_string, binary_hnok)
25360 (binary_leading_dash): New functions.
25361 (res_hnok): Reimplement using these functions and ns_name_pton.
25362 (res_ownok): Likewise.
25363 (res_mailok): Reimplement using printable_string, ns_name_pton and
25364 binary_hnok.
25365 (res_dnok): Reimplement using printable_string and ns_name_pton.
25366 * resolv/tst-res_hnok.c (tests): Add additional tests.
25367 (LETTERDIGITS, PRINTABLE): Define.
25368 (do_test): Adjust one_char results.
25369
9e0ad304
FW
253702017-11-11 Florian Weimer <fweimer@redhat.com>
25371
25372 [BZ #22413]
25373 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25374 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25375
e2a9fca8
FW
253762017-11-11 Florian Weimer <fweimer@redhat.com>
25377
25378 * resolv/tst-ns_name_pton.c: New file.
25379 * resolv/Makefile (tests): Add tst-ns_name_pton.
25380 (tst-ns_name_pton): Link against libresolv.
25381
5c1a6923
FW
253822017-11-11 Florian Weimer <fweimer@redhat.com>
25383
25384 * resolv/tst-res_hnok.c: New file.
25385 * resolv/Makefile (tests): Add tst-res_hnok.
25386 (tst-res_hnok): Link against libresolv.
25387
a19c0a1d
FW
253882017-11-11 Florian Weimer <fweimer@redhat.com>
25389
25390 * resolv/tst-resolv-network.c: Use test framework instead explicit
25391 main function.
25392
8cb5295d
L
253932017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25394
25395 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25396 <jmp_buf-macros.h>.
25397 [!_ISOMAC] (STR_HELPER): New.
25398 [!_ISOMAC] (STR): Likewise.
25399 [!_ISOMAC] (TEST_SIZE): Likewise.
25400 [!_ISOMAC] (TEST_ALIGN): Likewise.
25401 [!_ISOMAC] (TEST_OFFSET): Likewise.
25402 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25403 field offsets of jmp_buf as well as sigjmp_buf.
25404 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25405 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25406 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25407 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25408 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25409 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25410 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25411 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25412 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25413 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25414 Likewise.
25415 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25416 Likewise.
25417 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25419 Likewise.
25420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25421 Likewise.
25422 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25423 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25424 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25425 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25426 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25428 Likewise.
25429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25430 Likewise.
25431 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25432 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25433 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25434
58c4a161
JM
254352017-11-07 Joseph Myers <joseph@codesourcery.com>
25436
3683b423
JM
25437 * include/float.h
25438 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25439 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25440 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25441 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25442 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25443 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25444 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25445 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25446 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25447 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25448 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25449 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25450 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25451 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25452 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25453 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25454 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25455 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25456 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25457 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25458 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25459 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25460 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25461 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25462 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25463 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25464 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25465 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25466 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25467 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25468 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25469 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25470 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25471 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25472 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25473 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25474 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25475 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25476 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25477 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25478 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25479 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25480 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25481 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25482 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25483 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25484 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25485 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25486 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25487 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25488 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25489 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25490 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25491 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25492 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25493 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25494 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25495 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25496 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25497 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25498 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25499 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25500 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25501 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25502 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25503 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25504 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25505 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25506 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25507 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25508 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25509 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25510 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25511 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25512 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25513 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25514 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25515 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25516 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25517 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25518 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25519 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25520 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25521 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25522 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25523 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25524 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25525 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25526
58c4a161
JM
25527 * stdlib/tst-strtod.h (F16): New macro.
25528 (F32): Likewise.
25529 (F64): Likewise.
25530 (F32X): Likewise.
25531 (F64X): Likewise.
25532 (F128X): Likewise.
25533 (IF_FLOAT16): Likewise.
25534 (IF_FLOAT32): Likewise.
25535 (IF_FLOAT64): Likewise.
25536 (IF_FLOAT32X): Likewise.
25537 (IF_FLOAT64X): Likewise.
25538 (IF_FLOAT128X): Likewise.
25539 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25540 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25541 (STRTOD_TEST_FOREACH): Likewise.
25542 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25543 (CHOOSE_f64): Likewise.
25544 (CHOOSE_f32x): Likewise.
25545 (CHOOSE_f64x): Likewise.
25546
feda96a1
AS
255472017-11-07 Andreas Schwab <schwab@suse.de>
25548
25549 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25550
1bd0cbb8
MF
255512017-11-07 Mike FABIAN <mfabian@redhat.com>
25552
25553 [BZ #22403]
25554 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25555 to be escaped.
25556 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25557 to be escaped.
25558
363e4519 255592017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
25560
25561 [BZ #22403]
25562 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25563 to be escaped.
25564 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25565 to be escaped.
25566 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25567 to be escaped.
25568
dff91cd4
AZ
255692017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25570
06be6368
AZ
25571 [BZ #22298]
25572 * nptl/allocatestack.c (allocate_stack): Check if
25573 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25574 __PTHREAD_MUTEX_HAVE_PREV is defined.
25575 * nptl/descr.h (pthread): Likewise.
25576 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25577 Likewise.
25578 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25579 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25580 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25581 * sysdeps/nptl/bits/thread-shared-types.h
25582 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25583 defines.
25584 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25585 of __WORDSIZE for internal layout.
25586 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25587 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25588 instead of __WORDSIZE whether to use an union for __spins and __list
25589 fields.
25590 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25591 case.
25592 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25593 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25594 defines.
25595 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25596 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25597 Likewise.
25598 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25599 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25600 Likewise.
25601 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25602 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25603 Likewise.
25604 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25605 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25606 Likewise.
25607 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25608 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25609 Likewise.
25610 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25611 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25612 Likewise.
25613 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25614 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25615 Likewise.
25616 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25617 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25618 Likewise.
25619 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25620 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25621 Likewise.
25622 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25623 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25624 Likewise.
25625 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25626 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25627 Likewise.
25628 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25629 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25630 Likewise.
25631 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25632 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25633 Likewise.
25634 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25635 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25636 Likewise.
25637
72b3c6ee
AZ
25638 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25639 New macros.
25640 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25641 checks for expected input type size.
25642 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25643 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25644 Likewise.
25645 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25646 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25647 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25648 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25649 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25650 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25651 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25652 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25653 superflous runtime assert check.
25654 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25655 Likewise.
25656 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25657 Likewise.
25658 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25659 Likewise.
25660 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25661 Likewise.
25662 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25663 Likewise.
25664 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25665 Likewise.
25666 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25667 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25668 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25669 Likewise.
25670 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25671 Likewise.
25672 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25673 Likewise.
25674 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25675 Likewise.
25676 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25677 Likewise.
25678 * nptl/pthread_attr_setinheritsched.c
25679 (__pthread_attr_setinheritsched): Likewise.
25680 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25681 Likewise.
25682 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25683 Likewise.
25684 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25685 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25686 __old_pthread_attr_setstack): Likewise.
25687 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25688 Likewise.
25689 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25690 Likewise.
25691 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25692 Likewise.
25693 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25694 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25695 Likewise.
25696 * nptl/tst-typesizes.c: Remove file.
25697
dff91cd4
AZ
25698 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25699 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25700 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25701 checks for internal pthread_mutex_t offsets.
25702 * sysdeps/aarch64/nptl/pthread-offsets.h
25703 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25704 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25705 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25706 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25707 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25708 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25709 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25710 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25711 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25712 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25713 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25714 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25715 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25716 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25717 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25718 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25719 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25720 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25721
b7fc95f8
FW
257222017-11-07 Florian Weimer <fweimer@redhat.com>
25723
25724 * bits/mman-linux.h: Move ...
25725 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25726 comment.
25727 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25728 outdated comment.
25729
6b860364
RS
257302017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25731
25732 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25733 Redefine STRNLEN as __strnlen_power8.
25734
802c1f16
AZ
257352017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25736
d83da3a4
AZ
25737 * signal/sighold.c (sighold): Optimize implementation.
25738
6a4235f1
AZ
25739 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25740 __NR_rt_sigqueueinfo.
25741
8b0e795a
AZ
25742 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25743 __sigtimedwait.
25744 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25745 assume __NR_rt_sigtimedwait.
25746 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25747 and add LIBC_CANCEL_HANDLED for cancellation marking.
25748 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25749
a1a638dd
AZ
25750 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25751 (sysdeps_routines): Add memchr_noneon.
25752 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25753 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25754 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25755 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25756 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25757 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25758 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25759
802c1f16
AZ
25760 * sysdeps/arm/arm-ifunc.h: New file.
25761 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25762 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25763 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25764 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25765 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25766 (__memcpy_neon): Avoid create hidden alias.
25767 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25768 (__memcpy_vfp): Likewise.
25769 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25770 (sysdep_routines): Add memcpy_arm.
25771 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25772
abcb584d
L
257732017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25774
25775 [BZ #22362]
25776 * Makerules (make-link-multidir): New.
25777 * config.make.in (multidir): New.
25778 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25779 * configure: Regenerated.
25780 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25781 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25782 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25783 New target.
25784
4e2dff67
JM
257852017-11-06 Joseph Myers <joseph@codesourcery.com>
25786
25787 [BZ #22402]
25788 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25789 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25790
a1c7cd3c
MF
257912017-11-04 Mike FABIAN <mfabian@redhat.com>
25792
25793 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25794 to be escaped.
25795
b9af29c0
FW
257962017-11-04 Florian Weimer <fweimer@redhat.com>
25797
25798 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25799
4ca70e1a
JM
258002017-11-03 Joseph Myers <joseph@codesourcery.com>
25801
25802 * math/math.h [__HAVE_DISTINCT_FLOAT16
25803 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25804 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25805 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25806 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25807 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25808 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25809 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25810 (__MATH_TG_F32): New macro.
25811 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25812 (__MATH_TG_F64X): Likewise.
25813 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25814 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25815
ba0e6668
DL
258162017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25817
25818 * po/de.po: Update translations.
25819 * po/ru.po: Likewise.
25820
bc18a6d3
FW
258212017-11-03 Florian Weimer <fweimer@redhat.com>
25822
25823 * manual/filesys.texi (Hard Links): Document linkat.
25824
97255170
JM
258252017-11-03 Joseph Myers <joseph@codesourcery.com>
25826
86ec4865
JM
25827 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25828 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25829 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25830 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25831 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25832 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25833 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25834 the same as _Float128.
25835 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25836 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25837 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25838
97255170
JM
25839 * stdlib/stdlib.h
25840 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25841 Declare.
25842 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25843 Likewise.
25844 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25845 Likewise.
25846 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25847 (strtof32x): Likewise.
25848 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25849 (strtof64x): Likewise.
25850 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25851 (strtof128x): Likewise.
25852 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25853 (strfromf16): Likewise.
25854 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25855 (strfromf32): Likewise.
25856 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25857 (strfromf64): Likewise.
25858 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25859 (strfromf32x): Likewise.
25860 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25861 (strfromf64x): Likewise.
25862 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25863 (strfromf128x): Likewise.
25864 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25865 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25866 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25867 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25868 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25869 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25870
6d58ce5e
RH
258712017-11-03 Richard Henderson <rth@twiddle.net>
25872
25873 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25874
659ca267
SN
258752017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25876
25877 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25878
94d2f0af
SN
258792017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25880
25881 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25882 DT_TLSDESC_GOT initialization.
25883 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25884 (_dl_tlsdesc_resolve_hold): Likewise.
25885 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25886 (_dl_tlsdesc_resolve_hold): Likewise.
25887 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25888 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25889
28e1ddf3
SN
258902017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25891
25892 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25893
0ca3d1d6
SN
258942017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25895
25896 [BZ #18572]
25897 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25898 non-lazily for R_ARM_TLS_DESC.
25899
2c1d4e5f
SN
259002017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25901
25902 [BZ #17078]
25903 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25904 R_ARM_TLS_DESC case.
25905 (elf_machine_lazy_rel): Remove the prelink check.
25906
91c5a366
SN
259072017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25908
25909 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25910 DT_TLSDESC_GOT initialization.
25911 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25912 (_dl_tlsdesc_resolve_rela): Likewise.
25913 (_dl_tlsdesc_resolve_hold): Likewise.
25914 (_dl_tlsdesc_undefweak): Remove ldar.
25915 (_dl_tlsdesc_dynamic): Likewise.
25916 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25917 (_dl_tlsdesc_resolve_rela): Likewise.
25918 (_dl_tlsdesc_resolve_hold): Likewise.
25919 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25920 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25921 (_dl_tlsdesc_resolve_rela): Likewise.
25922 (_dl_tlsdesc_resolve_hold): Likewise.
25923
b7cf203b
SN
259242017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25925
25926 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25927 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25928
0cc5b022
SN
259292017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25930
25931 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25932 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25933
43ddff2e
JM
259342017-11-02 Joseph Myers <joseph@codesourcery.com>
25935
25936 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25937 Declare.
25938 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25939 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25940 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25941 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25942 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25943 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25944 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25945 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25946 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25947 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25948 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25949
5baac970
MF
259502017-11-02 Mike FABIAN <mfabian@redhat.com>
25951
25952 [BZ #22382]
25953 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25954 * localedata/locales/tpi_PG: Add standard header.
25955
ef11081f
FW
259562017-11-02 Florian Weimer <fweimer@redhat.com>
25957
25958 test-errno-linux: quotactl can fail with EPERM in containers.
25959 * sysdeps/unix/sysv/linux/test-errno-linux.c
25960 (LIST, LIST_FORWARD): New macros.
25961 (check_error_in_list): New function.
25962 (test_wrp_rv): Accept list of permitted error codes.
25963 (test_wrp_rv2): Remove.
25964 (test_wrp): Call test_wrp_rv with list of error codes.
25965 (test_wrp2): Accept list of error codes.
25966 (do_test): Adjust. Allow EPERM for quotactl.
25967
d10b132b
FW
259682017-11-02 Florian Weimer <fweimer@redhat.com>
25969
25970 * stdio-common/bug16.c (do_test): Use array_length.
25971 * stdio-common/errlist.c (_sys_nerr): Likewise.
25972 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25973 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25974 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25975 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25976 (do_test): Use array_length.
25977 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25978 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25979 * stdio-common/tst-printf-round.c (do_test): Likewise.
25980 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25981 (CHECK): Use array_length.
25982 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25983 * stdio-common/tstscanf.c (main): Likewise.
25984 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25985
c94a5688
FW
259862017-11-02 Florian Weimer <fweimer@redhat.com>
25987
25988 Add array_length and array_end macros.
25989 * include/array_length.h: New file.
25990
2fac6a6c
FW
259912017-11-02 Florian Weimer <fweimer@redhat.com>
25992
25993 [BZ #22332]
25994 * posix/tst-glob-tilde.c (do_noescape): New variable.
25995 (one_test): Process it.
25996 (do_test): Set do_noescape. Add unescaping test case.
25997
2f1b212e
JM
259982017-11-01 Joseph Myers <joseph@codesourcery.com>
25999
260fbd0a
JM
26000 * math/complex.h
26001 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
26002 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
26003 with appropriate macros defined and undefined.
26004 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
26005 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26006 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
26007 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26008 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
26009 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26010 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
26011 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26012 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
26013 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26014
2f1b212e
JM
26015 * math/complex.h
26016 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
26017 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
26018 that for long double. Do not condition define and undefine of
26019 _Mdouble_complex_ on [__CFLOAT128].
26020
95b93c6e
L
260212017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26022
26023 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26024 of <sysdeps/generic/sysdep.h>.
26025 (ALIGNARG): Removed.
26026 (ASM_SIZE_DIRECTIVE): Likewise.
26027 (ENTRY): Likewise.
26028 (END): Likewise.
26029 (ENTRY_CHK): Likewise.
26030 (END_CHK): Likewise.
26031 (syscall_error): Likewise.
26032 (mcount): Likewise.
26033 (PSEUDO_END): Likewise.
26034 (L): Likewise.
26035 (atom_text_section): Likewise.
26036 * sysdeps/x86/sysdep.h: New file.
26037 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26038 of <sysdeps/generic/sysdep.h>.
26039 (ALIGNARG): Removed.
26040 (ASM_SIZE_DIRECTIVE): Likewise.
26041 (ENTRY): Likewise.
26042 (END): Likewise.
26043 (ENTRY_CHK): Likewise.
26044 (END_CHK): Likewise.
26045 (syscall_error): Likewise.
26046 (mcount): Likewise.
26047 (PSEUDO_END): Likewise.
26048 (L): Likewise.
26049 (atom_text_section): Likewise.
26050
1bb36539
RL
260512017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26052
26053 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26054 category of LC_CTYPE set to "i18n:2012".
26055 * localedata/locales/i18n_ctype: Regenerate.
26056
067f5d97 260572017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 26058
87bbc4cf
YN
26059 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26060 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26061 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26062 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26063
e8681faa
YN
26064 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26065 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26066 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26067 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26068
540af6e2
JM
260692017-10-31 Joseph Myers <joseph@codesourcery.com>
26070
43e66283
JM
26071 * math/complex.h
26072 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26073 New macro.
26074 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26075 Likewise.
26076 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26077 Likewise.
26078 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26079 (CMPLXF32X): Likewise.
26080 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26081 (CMPLXF64X): Likewise.
26082 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26083 (CMPLXF128X): Likewise.
26084
540af6e2
JM
26085 * math/math.h
26086 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26087 (__MATH_EVAL_FMT2): Define to add 0.0f.
26088
58af72b4
AM
260892017-10-31 Alan Modra <amodra@gmail.com>
26090
26091 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26092 include sysdep.h.
26093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26107 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26108 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26109 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26110 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26111 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26112 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26113 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26114 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26115 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26116 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26117 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26118 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26119 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26120 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26121 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26122 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26123 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26124 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26125 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26126 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26127 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26128 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26129 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26130 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26131 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26132 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26133 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26134 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26135 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26136 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26137 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26138 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26139 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26140 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26141 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26142 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26143 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26144 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26145 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26146 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26147 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26148 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26149 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26150 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26151 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26152 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26153 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26154 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26155 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26156 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26157 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26158 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26159 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26160 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26161 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26162
26163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26164 include sysdep.h and math_ldbl_opt.h.
26165
26166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26167 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26192
112f30b3
AM
261932017-10-31 Alan Modra <amodra@gmail.com>
26194
26195 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26196 string/strncase_l.c, not string/strncase.c.
26197 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26198 (libc_hidden_def): Redefine.
26199
e9e7eced
AM
262002017-10-31 Alan Modra <amodra@gmail.com>
26201
26202 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26203 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26204 (__strcasecmp): Don't define.
26205
f7b465cf
AM
262062017-10-31 Alan Modra <amodra@gmail.com>
26207
26208 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26209 IS_IN (libc).
26210 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26211 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26212 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26213
d46b09f9
AM
262142017-10-31 Alan Modra <amodra@gmail.com>
26215
26216 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26217 USE_AS_STPNCPY.
26218
e9b8e194
AM
262192017-10-31 Alan Modra <amodra@gmail.com>
26220
26221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26222 Redefine only when SHARED.
26223
eda162dd
JM
262242017-10-30 Joseph Myers <joseph@codesourcery.com>
26225
b61afe8c
JM
26226 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26227 Include <bits/math-finite.h> with appropriate macros defined and
26228 undefined.
26229 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26230 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26231 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26232 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26233 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26234
eda162dd
JM
26235 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26236 [!_Mlong_double_] (_Mlong_double_): Likewise.
26237 [!_Mfloat16_] (_Mfloat16_): Likewise.
26238 [!_Mfloat32_] (_Mfloat32_): Likewise.
26239 [!_Mfloat64_] (_Mfloat64_): Likewise.
26240 [!_Mfloat128_] (_Mfloat128_): Likewise.
26241 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26242 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26243 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26244 (_Mdouble_): Define without indirection through those macros.
26245 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26246 [!_Mfloat128_] (_Mfloat128_): Likewise.
26247 [_Mlong_double_] (_Mlong_double_): Likewise.
26248 (_Mdouble_): Define without indirection through those macros.
26249 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26250 not add -D_Mlong_double_=double.
26251 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26252 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26253
4ad5106e
L
262542017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26255
26256 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26257
fe326df7
L
262582017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26259
26260 * sysdeps/x86/libc-start.c: Reformat.
26261
c5cc4514
L
262622017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26263
26264 [BZ #22353]
26265 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26266 (1): Renamed to ...
26267 (L(Src0)): This.
26268 (L(Src1)): New.
26269 (L(Src2)): Likewise.
26270 (L(1)): Renamed to ...
26271 (L(Src3)): This.
26272
ce12269f
JM
262732017-10-30 Joseph Myers <joseph@codesourcery.com>
26274
26275 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26276 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26277 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26278 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26279 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26280 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26281 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26282 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26283 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26284 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26285 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26286 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26287 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26288 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26289 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26290 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26291 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26292 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26293 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26294 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26295 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26296 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26297 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26298 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26299 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26300 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26301 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26302 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26303 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26304 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26305 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26306 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26307 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26308 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26309 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26310 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26311 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26312 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26313 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26314 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26315 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26316 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26317 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26318 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26319 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26320 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26321 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26322 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26323 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26324 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26325 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26326 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26327 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26328 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26329 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26330 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26331 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26332 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26333 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26334 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26335 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26336 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26337 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26338 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26339 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26340 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26341
4484b9e2
FW
263422017-10-30 Florian Weimer <fweimer@redhat.com>
26343
26344 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26345 always defined.
26346 * io/tst-mkdirat.c (do_test): Likewise.
26347 * io/tst-mkfifoat.c (do_test): Likewise.
26348 * io/tst-mknodat.c (do_test): Likewise.
26349 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26350 * locale/programs/locale.c (select_dirs): Likewise.
26351 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26352 * posix/bug-glob2.c (my_readdir): Likewise.
26353 * posix/tst-dir.c (main): Likewise.
26354 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26355 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26356
68fe16dd
FW
263572017-10-30 Florian Weimer <fweimer@redhat.com>
26358
26359 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26360 just __USE_GNU.
26361
dadf23f0
FW
263622017-10-30 Florian Weimer <fweimer@redhat.com>
26363
26364 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26365 Convert to support/test-driver.c.
26366 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26367 New macro parameters.
26368 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26369 * posix/tst-gnuglob.c: New file.
26370 * posix/tst-gnuglob64.c: Likewise.
26371 * posix/Makefile (tests): Add tst-gnuglob64.
26372
363e4519 263732017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
26374
26375 [BZ #19485]
26376 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26377 and use a better translation for March in “mon”.
26378 * localedata/locales/csb_PL: Use more ASCII to improve the
26379 readability of the source.
26380
b110af82
MF
263812017-10-30 Mike FABIAN <mfabian@redhat.com>
26382
26383 [BZ #13953]
26384 * localedata/locales/km_KH: Use ASCII as much
26385 as possible for better readability of the source and
26386 remove useless comments.
26387 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26388 was commented out and apparently wrong anyway because it was
26389 using Lao characters. If Buddhist era should be used
26390 for km_KH, a native speaker should write the correct formaat
26391 for Khmer.
26392 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26393 (According to CLDR, the first weekday for Cambodia is Sunday).
26394 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26395 (These were using Lao characters which must be wrong. If we get
26396 the correct data from a native speaker, we could add it back, until
26397 then it is better not to have name_mr and name_mrs at all than
26398 having it wrong).
26399
f301e533
RL
264002017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26401
26402 * locale/loadlocale.c: Correct size of
26403 _nl_value_type_LC_<category> arrays.
26404
7e9d7073
JM
264052017-10-27 Joseph Myers <joseph@codesourcery.com>
26406
26407 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26408 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26409 with appropriate macros defined and undefined.
26410 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26411 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26412 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26413 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26414 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26415
63d3b468
L
264162017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26417
26418 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26419 "-O2 -march=i586".
26420
a4cc02c7
MF
264212017-10-27 Mike FABIAN <mfabian@redhat.com>
26422
26423 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26424 with lowercase letters to make it agree with CLDR.
26425
1e5971ec
MF
264262017-10-27 Mike FABIAN <mfabian@redhat.com>
26427
26428 [BZ #15260]
26429 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26430 first letters of yesstr and nostr in yesexpr and noexpr,
26431 not for the full words.
26432 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26433 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26434 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26435 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26436 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26437 first letters of yesstr and nostr in yesexpr and noexpr,
26438 until now only English was matched in yesexpr and noexpr.
26439 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26440 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26441 fil but not for tl. As tl and fil are very similar, using fil
26442 is probably better than using English.
26443
363e4519 264442017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
26445
26446 [BZ #21706]
26447 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26448 in yesstr and nostr.
26449
5d220788
JM
264502017-10-26 Joseph Myers <joseph@codesourcery.com>
26451
ecc7da5b
JM
26452 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26453 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26454 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26455 Likewise.
26456 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26457 Likewise.
26458 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26459 Likewise.
26460 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26461 Likewise.
26462 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26463 (SNANF128X): Likewise.
26464
5d220788
JM
26465 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26466 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26467 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26468 (HUGE_VAL_F32): Likewise.
26469 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26470 (HUGE_VAL_F64): Likewise.
26471 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26472 (HUGE_VAL_F32X): Likewise.
26473 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26474 (HUGE_VAL_F64X): Likewise.
26475 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26476 (HUGE_VAL_F128X): Likewise.
26477
363e4519 264782017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
26479
26480 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26481 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26482 for the br_FR locale.
26483
363e4519 264842017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
26485
26486 [BZ #21706]
26487 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26488
337ff3c5
CD
264892017-10-25 Carlos O'Donell <carlos@redhat.com>
26490
02eec681
CD
26491 * locale/programs/record-status.h: Define globals, and function
26492 prototypes. Move function bodies...
26493 * locale/programs/record-status.c: ... to here. New file.
26494 * iconv/Makefile (iconv_prog-modules): Add record-status.
26495 * locale/Makefile (lib-modules): Likewise.
26496 * iconv/iconv_prog.c: Remove verbose.
26497 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26498 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26499 record a warning about ASCII compatibility.
26500 * locale/programs/ld-monetary.c (monetary_finish): If
26501 warn_int_curr_symbol is true then record a warning about the symbol
26502 not being in our ISO 4217 list.
26503 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26504 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26505 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26506 (OPT_NO_WARN): Define.
26507 (OPT_WARN): Define.
26508 (options): Add entry for --no-warnings, and --warnings.
26509 (set_warnings): New function to enable/disable warnings.
26510 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26511 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26512 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26513 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26514 Pass flags to generate_locale.
26515 (generate_locale): Accept new flag argument and pass it to localedef
26516 invocation.
26517 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26518 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26519
56fa555a
CD
26520 * localedata/Makefile (test-input-data): Use full file name.
26521 * localedata/da_DK.in: Rename to...
26522 * localedata/da_DK.ISO-8859-1.in: ...this.
26523 * localedata/de_DE.in: Rename to...
26524 * localedata/de_DE.ISO-8859-1.in: ...this.
26525 * localedata/en_US.in: Rename to...
26526 * localedata/en_US.ISO-8859-1.in: ...this.
26527 * localedata/fr_FR.in: Rename to...
26528 * localedata/fr_FR.UTF-8.in: ... this.
26529 * localedata/hr_HR.in: Rename to...
26530 * localedata/hr_HR.ISO-8859-2.in: ...this.
26531 * localedata/hu_HU.in: Rename to...
26532 * localedata/hu_HU.UTF-8.in: ...this.
26533 * localedata/si_LK.in: Rename to...
26534 * localedata/si_LK.UTF-8.in: ...this.
26535 * localedata/sv_SE.in: Rename to...
26536 * localedata/sv_SE.ISO-8859-1.in: ...this.
26537 * localedata/tr_TR.in: Rename to...
26538 * localedata/tr_TR.UTF-8.in: ...this.
26539 * localedata/uk_UA.in: Rename to...
26540 * localedata/uk_UA.UTF-8.in: ...this.
26541 * localedata/sort-test.sh: Test file is locale name with the
26542 suffix.
26543
337ff3c5
CD
26544 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26545 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26546 file.
26547 * localedata/locales/i18n_ctype: Regenerate.
26548 * localedata/locales/tr_TR: Likewise.
26549 * localedata/locales/translit_circle: Likewise.
26550 * localedata/locales/translit_cjk_compat: Likewise.
26551 * localedata/locales/translit_combining: Likewise.
26552 * localedata/locales/translit_compat: Likewise.
26553 * localedata/locales/translit_font: Likewise.
26554 * localedata/locales/translit_fraction: Likewise.
26555
63da5cd4
RS
265562017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26557
26558 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26559 lxvd2x/stxvd2x with lvx/stvx.
26560 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26561
a122dbfb
L
265622017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26563
26564 * include/alloc_buffer.h: Replace "if if " with "if " in
26565 comments.
26566 * sysdeps/mips/memcpy.S: Likkewise.
26567 * sysdeps/mips/memset.S: Likewise.
26568 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26569 Likewise.
26570 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26571 Likewise.
26572 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26573 Likewise.
26574
9be7530c
MF
265752017-10-25 Mike FABIAN <mfabian@redhat.com>
26576
26577 [BZ #15261]
26578 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26579 yesexpr and noexpr.
26580 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26581 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26582 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26583 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26584 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26585 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26586 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26587
6ccbf6ff
MF
265882017-10-25 Mike FABIAN <mfabian@redhat.com>
26589
26590 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26591 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26592 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26593 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26594 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26595 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26596 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26597 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26598 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26599 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26600 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26601 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26602
58b1a7ea
MF
266032017-10-25 Mike FABIAN <mfabian@redhat.com>
26604
26605 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26606 as possible for better readability of the source.
26607 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26608 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26609 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26610 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26611 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26612 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26613 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26614 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26615 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26616 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26617 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26618 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26619 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26620 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26621 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26622 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26623 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26624 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26625 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26626 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26627 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26628 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26629 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26630 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26631 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26632 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26633 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26634 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26635 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26636 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26637 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26638 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26639 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26640 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26641 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26642 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26643 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26644 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26645 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26646 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26647 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26648 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26649 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26650 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26651 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26652 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26653 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26654 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26655 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26656 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26657 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26658 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26659 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26660 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26661 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26662 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26663 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26664 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26665 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26666 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26667 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26668 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26669 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26670 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26671 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26672 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26673 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26674 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26675 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26676 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26677 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26678 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26679 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26680 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26681 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26682 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26683 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26684 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26685 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26686 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26687 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26688 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26689 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26690 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26691 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26692 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26693 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26694 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26695 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26696 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26697 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26698 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26699 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26700 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26701 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26702 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26703 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26704 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26705 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26706 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26707 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26708 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26709 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26710 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26711 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26712 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26713 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26714 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26715 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26716 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26717 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26718 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26719 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26720 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26721 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26722 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26723 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26724 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26725 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26726 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26727 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26728 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26729 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26730 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26731 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26732 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26733 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26734 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26735 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26736 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26737 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26738 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26739 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26740 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26741 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26742 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26743 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26744 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26745 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26746 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26747 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26748 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26749 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26750 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26751 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26752 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26753 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26754 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26755 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26756 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26757 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26758 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26759 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26760 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26761 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26762 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26763 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26764 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26765 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26766 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26767 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26768 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26769 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26770 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26771 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26772 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26773 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26774 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26775 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26776 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26777 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26778 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26779 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26780 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26781
17e78edb
MF
267822017-10-25 Mike FABIAN <mfabian@redhat.com>
26783
26784 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26785 (Use first letters of yesstr and nostr correctly instead of using
26786 full words).
26787
74e7284f
MF
267882017-10-25 Mike FABIAN <mfabian@redhat.com>
26789
26790 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26791 (Use first letters of yesstr and nostr correctly).
26792
b41a0ff1
MF
267932017-10-25 Mike FABIAN <mfabian@redhat.com>
26794
26795 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26796 also check for the first characters of yesstr and nostr.
26797 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26798 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26799
d971f380
MF
268002017-10-25 Mike FABIAN <mfabian@redhat.com>
26801
26802 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26803 also check for Chinese characters.
26804
effc9e1d
MF
268052017-10-25 Mike FABIAN <mfabian@redhat.com>
26806
26807 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26808 match also for the contents of yesstr and nostr. As the first letter
26809 of yesstr and nostr is equal, checking only for the first letter
26810 is not enough.
26811
10320881
MF
268122017-10-25 Mike FABIAN <mfabian@redhat.com>
26813
26814 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26815 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26816
d8682a15
MF
268172017-10-25 Mike FABIAN <mfabian@redhat.com>
26818
26819 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26820 of main contributor.
26821
1bfb86ae
MF
268222017-10-25 Mike FABIAN <mfabian@redhat.com>
26823
26824 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26825 instead of using English.
26826
da33d60b
MF
268272017-10-25 Mike FABIAN <mfabian@redhat.com>
26828
26829 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26830 by including the first letters of nostr and yesexpr in the regexp.
26831 Also make it more readable by using ASCII where possible.
26832
725bbb3e
MF
268332017-10-25 Mike FABIAN <mfabian@redhat.com>
26834
26835 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26836 the first letter of nostr in the regexp. It agrees with CLDR now.
26837 Also make it more readable by using ASCII where possible.
26838
fe043d8a
MF
268392017-10-24 Mike FABIAN <mfabian@redhat.com>
26840
26841 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26842 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26843 these strings contain a U+17D6 (which somewhat looks like a colon)
26844 instead of a real colon to separate the full words for “yes”
26845 and “no” from the single letter responses.
26846
360a8df3
MF
268472017-10-24 Mike FABIAN <mfabian@redhat.com>
26848
26849 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26850 it agree with CLDR (include the first letter of yesstr).
26851 Also make it more readable by using ASCII where possible.
26852
bab7b6b0
MF
268532017-10-24 Mike FABIAN <mfabian@redhat.com>
26854
26855 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26856 and improve yesexpr and noexpr. The yesstr and nostr apparently
26857 came from CLDR. And CLDR has a bug there: these strings contain
26858 a U+0903 (which looks like a colon) instead of a real colon
26859 to separate the full words for “yes” and “no” from the single
26860 letter responses.
26861
3e79f758
MF
268622017-10-24 Mike FABIAN <mfabian@redhat.com>
26863
26864 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26865 letters of the full yesstr and nostr in yesexpr and noexpr.
26866
4960c879
MF
268672017-10-24 Mike FABIAN <mfabian@redhat.com>
26868
26869 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26870 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26871 * localedata/locales/an_ES: Make source more readable by using ASCII
26872 where possible.
26873
b06a054f
MF
268742017-10-24 Mike FABIAN <mfabian@redhat.com>
26875
26876 [BZ #20952]
26877 * localedata/locales/yuw_PG: New file.
26878 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26879 * locale/iso-639.def: Add Yau (Uruwa).
26880
905a7725
WD
268812017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26882
26883 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26884
3f6bb8a3
WD
268852017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26886
26887 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26888 (__libc_realloc): Likewise.
26889 (_mid_memalign): Likewise.
26890 (__libc_calloc): Likewise.
26891
1d479c8c
MF
268922017-10-23 Mike FABIAN <mfabian@redhat.com>
26893
26894 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26895 by adding the generic +1 and -0 as in all other locales.
26896 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26897 day names and make it more readable by using ASCII where possible.
26898
91c3985c
JM
268992017-10-24 Joseph Myers <joseph@codesourcery.com>
26900
26901 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26902 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26903
aa95a241
AZ
269042017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26905
26906 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26907 WNOHANG in waitpid call.
26908
db9bab09
SP
269092017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26910
a2e0a7f1
SP
26911 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26912 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26913
db9bab09
SP
26914 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26915 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26916 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26917 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26918 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26919 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26920 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26921 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26922 variables.
26923
5062680c
MC
269242017-10-23 Michael Collison <michael.collison@arm.com>
26925
26926 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26927 with __builtin_sqrt.
26928 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26929 with __builtin_sqrtf.
26930 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26931 with __builtin_ceil.
26932 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26933 with __builtin_ceilf.
26934 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26935 with __builtin_floor.
26936 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26937 with __builtin_floorf.
26938 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26939 with __builtin_fma.
26940 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26941 with __builtin_fmaf.
26942 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26943 with __builtin_fmax.
26944 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26945 with __builtin_fmaxf.
26946 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26947 with __builtin_fmin.
26948 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26949 with __builtin_fminf.
26950 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26951 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26952 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26953 with builtin_rint and conversion to int.
26954 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26955 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26956 with builtin_llround.
26957 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26958 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26959 with builtin_rint and conversion to long int.
26960 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26961 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26962 with builtin_lround.
26963 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26964 with builtin_lroundf.
26965 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26966 statements with __builtin_nearbyint.
26967 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26968 statements with __builtin_nearbyintf.
26969 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26970 with __builtin_rint.
26971 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26972 with __builtin_rintf.
26973 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26974 with __builtin_round.
26975 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26976 with __builtin_roundf.
26977 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26978 with __builtin_trunc.
26979 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26980 with __builtin_truncf.
be080b6c
SN
26981 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26982 and s_l[l]round[f].c too.
5062680c 26983
174935af
AM
269842017-10-23 Alan Modra <amodra@gmail.com>
26985
26986 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26987 Adjust stack after restoring regs. Add missing LR cfi_restore.
26988
750a0e49
AM
269892017-10-23 Alan Modra <amodra@gmail.com>
26990
26991 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26992 Move LR save and frame setup/teardown and LR restore to
26993 immediately around memset call. Provide cfi.
26994
5313581c
L
269952017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26996
26997 * sysdeps/i386/fpu/e_powf.S: Removed.
26998 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26999 * sysdeps/i386/fpu/w_powf.c: Likewise.
27000 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
27001 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27002 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27003 Add e_powf-sse2.
27004 (CFLAGS-e_powf-sse2.c): New.
27005 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
27006 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
27007
6089a3ee
L
270082017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27009
27010 * sysdeps/i386/fpu/e_log2f.S: Removed.
27011 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
27012 * sysdeps/i386/fpu/w_log2f.c: Likewise.
27013 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
27014 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27015 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27016 Add e_log2f-sse2.
27017 (CFLAGS-e_log2f-sse2.c): New.
27018 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
27019 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27020
80bb5935
L
270212017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27022
27023 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27024 Add e_powf-fma.
27025 (CFLAGS-e_powf-fma.c): New.
27026 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27027 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27028
5c7adbd8
L
270292017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27030
27031 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27032 Add e_log2f-fma.
27033 (CFLAGS-e_log2f-fma.c): New.
27034 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27035 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27036
0ccc7153
L
270372017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27038
27039 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27040 Add e_logf-fma.
27041 (CFLAGS-e_logf-fma.c): New.
27042 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27043 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27044
fe596486
L
270452017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27046
27047 * sysdeps/i386/fpu/e_logf.S: Removed.
27048 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27049 * sysdeps/i386/fpu/w_logf.c: Likewise.
27050 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27051 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27052 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27053 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27054 Add e_logf-sse2.
27055 (CFLAGS-e_logf-sse2.c): New.
27056 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27057 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27058
7eda65f6
L
270592017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27060
27061 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27062 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27063 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27064 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27065 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27066 Add e_exp2f-sse2.
27067 (CFLAGS-e_exp2f-sse2.c): New.
27068 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27069 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27070
5d15c969
L
270712017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27072
27073 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27074 Add e_exp2f-fma.
27075 (CFLAGS-e_exp2f-fma.c): New.
27076 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27077 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27078
b2f6137e
L
270792017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27080
27081 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27082 * sysdeps/i386/fpu/e_expf.S: Likewise.
27083 * sysdeps/i386/fpu/math_errf.c: Likewise.
27084 * sysdeps/i386/fpu/w_expf.c: Likewise.
27085 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27086 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27087 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27088 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27089 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27090 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27091 Remove e_expf-ia32.
27092 (CFLAGS-e_expf-sse2.c): New.
27093 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27094 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27095
e1f59beb
L
270962017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27097
27098 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27099 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27100 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27101 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27102 e_expf.c.
27103 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27104 New.
27105 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27106 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27107 Renamed to ...
27108 (__redirect_expf): This.
27109 (SYMBOL_NAME): Changed to expf.
27110 (__ieee754_expf): Renamed to ...
27111 (__expf): This.
27112 (__GI___expf): This.
27113 (__ieee754_expf): Add strong_alias.
27114 (__expf_finite): Likewise.
27115 (__expf): New.
27116 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27117
363e4519 271182017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
27119
27120 [BZ #22332]
27121 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27122 unescaping.
27123
e80fc1fc
FW
271242017-10-21 Florian Weimer <fweimer@redhat.com>
27125
27126 * posix/Makefile (tests): Add tst-glob-tilde.
27127 (tests-special): Add tst-glob-tilde-mem.out
27128 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27129 (tst-glob-tilde-mem.out): Add mtrace check.
27130 * posix/tst-glob-tilde.c: New file.
27131
797ba44b
JM
271322017-10-20 Joseph Myers <joseph@codesourcery.com>
27133
27134 * bits/floatn-common.h: New file.
27135 * math/Makefile (headers): Add bits/floatn-common.h.
27136 * bits/floatn.h: Include <bits/floatn-common.h>.
27137 * sysdeps/ia64/bits/floatn.h: Likewise.
27138 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27139 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27140 * sysdeps/powerpc/bits/floatn.h: Likewise.
27141 * sysdeps/x86/bits/floatn.h: Likewise.
27142
fe05e1cb
AZ
271432017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27144
8f6f5362
AZ
27145 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27146 indicates whether compiler emits an warning for alias for
27147 functions with incompatible types.
27148
fe05e1cb
AZ
27149 [BZ #22273]
27150 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27151 the auxiliary process is terminated by a signal before calling _exit
27152 or execve.
27153
b52b0d79
L
271542017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27155
27156 [BZ #21265]
27157 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27158 New.
27159 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27160 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27161 and bit_arch_XSAVEC_Usable if needed.
27162 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27163 and bit_arch_Use_dl_runtime_resolve_opt.
27164 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27165 Removed.
27166 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27167 (bit_arch_Prefer_No_AVX512): Updated.
27168 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27169 (bit_arch_XSAVEC_Usable): New.
27170 (STATE_SAVE_OFFSET): Likewise.
27171 (STATE_SAVE_MASK): Likewise.
27172 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27173 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27174 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27175 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27176 (index_arch_XSAVEC_Usable): New.
27177 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27178 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27179 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27180 is enabled.
27181 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27182 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27183 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27184 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27185 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27186 _dl_runtime_resolve_xsavec.
27187 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27188 Removed.
27189 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27190 instead of VEC_SIZE.
27191 (REGISTER_SAVE_BND0): Removed.
27192 (REGISTER_SAVE_BND1): Likewise.
27193 (REGISTER_SAVE_BND3): Likewise.
27194 (REGISTER_SAVE_RAX): Always defined to 0.
27195 (VMOV): Removed.
27196 (_dl_runtime_resolve_avx): Likewise.
27197 (_dl_runtime_resolve_avx_slow): Likewise.
27198 (_dl_runtime_resolve_avx_opt): Likewise.
27199 (_dl_runtime_resolve_avx512): Likewise.
27200 (_dl_runtime_resolve_avx512_opt): Likewise.
27201 (_dl_runtime_resolve_sse): Likewise.
27202 (_dl_runtime_resolve_sse_vex): Likewise.
27203 (USE_FXSAVE): New.
27204 (_dl_runtime_resolve_fxsave): Likewise.
27205 (USE_XSAVE): Likewise.
27206 (_dl_runtime_resolve_xsave): Likewise.
27207 (USE_XSAVEC): Likewise.
27208 (_dl_runtime_resolve_xsavec): Likewise.
27209 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27210 Removed.
27211 (_dl_runtime_resolve_avx512_opt): Likewise.
27212 (_dl_runtime_resolve_avx): Likewise.
27213 (_dl_runtime_resolve_avx_opt): Likewise.
27214 (_dl_runtime_resolve_sse): Likewise.
27215 (_dl_runtime_resolve_sse_vex): Likewise.
27216 (_dl_runtime_resolve_fxsave): New.
27217 (_dl_runtime_resolve_xsave): Likewise.
27218 (_dl_runtime_resolve_xsavec): Likewise.
27219
363e4519 272202017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
27221
27222 [BZ #22320]
27223 CVE-2017-15670
27224 * posix/glob.c (__glob): Fix one-byte overflow.
27225
6d43de4b
WD
272262017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27227
27228 * malloc/malloc.c (sysdep-cancel.h): Add include.
27229
a15d53e2
WD
272302017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27231
27232 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27233
b9a558e7
WH
272342017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27235
27236 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27237 (tests): Remove $(objpfx)ga_test depdendency.
27238 * resolv/ga_test.c: Remove file.
27239
b6b08b8e
MF
272402017-10-20 Mike FABIAN <mfabian@redhat.com>
27241
27242 [BZ #18812]
27243 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27244 * localedata/locales/kab_DZ: New file.
27245
9ba7e810
L
272462017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27247
27248 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27249 _dl_relocate_static_pie instead of _dl_start to compute load
27250 address in static PIE.
27251
4027a4fd
L
272522017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27253
27254 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27255
2f9314b4
MF
272562017-10-20 Mike FABIAN <mfabian@redhat.com>
27257
27258 [BZ #13605]
27259 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27260 * localedata/locales/shn_MM: New file.
27261
63b4baa4
FW
272622017-10-20 Florian Weimer <fweimer@redhat.com>
27263
27264 [BZ #22321]
27265 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27266 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27267 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27268 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27269 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27270 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27271
95ccb619
L
272722017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27273
27274 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27275
37bb78cb
JM
272762017-10-19 Joseph Myers <joseph@codesourcery.com>
27277
76f2ed92
JM
27278 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27279
37bb78cb
JM
27280 [BZ #22322]
27281 * sysdeps/mips/bits/long-double.h: Move to ....
27282 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27283
d74e6f6c
WD
272842017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27285
27286 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27287
363e4519 272882017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
27289 H.J. Lu <hongjiu.lu@intel.com>
27290
27291 [BZ #22299]
27292 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27293 GLRO(dl_platform) to NULL.
27294 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27295 (modules-names): Add tst-platformmod-1 and
27296 x86_64/tst-platformmod-2.
27297 (CFLAGS-tst-platform-1.c): New.
27298 (CFLAGS-tst-platformmod-1.c): Likewise.
27299 (CFLAGS-tst-platformmod-2.c): Likewise.
27300 (LDFLAGS-tst-platformmod-2.so): Likewise.
27301 ($(objpfx)tst-platform-1): Likewise.
27302 ($(objpfx)tst-platform-1.out): Likewise.
27303 (tst-platform-1-ENV): Likewise.
27304 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27305 * sysdeps/x86_64/tst-platform-1.c: New file.
27306 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27307 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27308
4b0fa403
MF
273092017-10-19 Mike FABIAN <mfabian@redhat.com>
27310
27311 [BZ #13994]
27312 * locale/iso-639.def: Add Karbi.
27313 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27314 * localedata/locales/mjw_IN: New file.
27315
81325b12
JM
273162017-10-18 Joseph Myers <joseph@codesourcery.com>
27317
27318 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27319 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27320 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27321 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27322 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27323 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27324 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27325 <bits/floatn.h>.
27326 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27327 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27328 * manual/math.texi (Mathematics): Document additional architecture
27329 support for _Float128.
27330 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27331 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27332 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27333 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27334 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27335 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27336 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27337 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27338 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27339 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27340 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27341 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27342 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27343 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27344 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27345
a68ba2f3
SN
273462017-10-18 Renlin Li <renlin.li@arm.com>
27347
27348 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27349 _DYNAMIC symbol to calculate load address.
27350
346729f6
PC
273512017-10-18 Paul A. Clarke <pc@us.ibm.com>
27352
27353 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27354 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27355 summary bits.
27356 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27357 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27358
508b1e71
MF
273592017-10-18 Mike FABIAN <mfabian@redhat.com>
27360
27361 [BZ #16777]
27362 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27363 and improve readability by using more ASCII.
27364 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27365 and improve readability by using more ASCII.
27366
2c2245b9
WD
273672017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27368
27369 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27370 not all targets support atomics on bool.
27371
13c92696
JM
273722017-10-17 Joseph Myers <joseph@codesourcery.com>
27373
27374 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27375 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27376 __f128.
27377 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27378 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27379 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27380 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27381 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27382 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27383
71d85045
AZ
273842017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27385
27386 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27387 defines.
27388
3381be5c
WD
273892017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27390
27391 [BZ #22159]
27392 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27393 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27394 (do_check_remalloced_chunk): Fix build bug.
27395 (do_check_malloc_state): Add assert that checks arena->top.
27396 (malloc_consolidate): Remove initialization.
27397 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 27398 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 27399
e956075a
WD
274002017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27401
27402 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27403 (have_fastchunks): Remove.
27404 (clear_fastchunks): Remove.
27405 (set_fastchunks): Remove.
27406 (malloc_state): Add have_fastchunks.
27407 (malloc_init_state): Use have_fastchunks.
27408 (do_check_malloc_state): Remove incorrect invariant checks.
27409 (_int_malloc): Use have_fastchunks.
27410 (_int_free): Likewise.
27411 (malloc_consolidate): Likewise.
27412
e4dd4ace
WD
274132017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27414
27415 * malloc/malloc.c (tcache_put): Inline.
27416 (tcache_get): Inline.
27417
5bf58bc7
AJ
274182017-10-17 Jordi Mallach <jordi@gnu.org>
27419
27420 Aurelien Jarno <aurelien@aurel32.net>
27421 [BZ #2522]
27422 * localedata/locales/ca_ES@valencia: New file.
27423 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27424
386e1c26
RN
274252017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27426
27427 [BZ #22296]
27428 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27429 < 6.x
27430
4e17c78e
AZ
274312017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27432
3d265601
AZ
27433 * scripts/build-many-glibcs.py (Context.add_all_configs):
27434 Add arm-linux-gnueabihf multiarch extra_glibcs.
27435
4e17c78e
AZ
27436 * sysdeps/generic/ifunc-init.h: New file.
27437 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27438
56a752ab
MF
274392017-10-17 Mike FABIAN <mfabian@redhat.com>
27440
27441 [BZ #22019]
27442 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27443 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27444 * stdlib/tst-strfmon_l.c: adapt test case.
27445
c38a4bfd
JM
274462017-10-16 Joseph Myers <joseph@codesourcery.com>
27447
27448 * sysdeps/generic/float128-abi.h: New file.
27449 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27450 non-__prefixed symbols to ....
27451 * math/Versions: ... here. Include <float128-abi.h>.
27452 * stdlib/Versions ... and here. Include <float128-abi.h>
27453
76009b26
FW
274542017-10-16 Florian Weimer <fweimer@redhat.com>
27455
27456 * version.h (VERSION): Switch to ".9000" as the development
27457 version suffix.
27458
7ece6cd5
FW
274592017-10-16 Florian Weimer <fweimer@redhat.com>
27460
27461 [BZ #22050]
27462 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27463 compat_symbol_reference to access non-default version.
27464
d8287b36
FW
274652017-10-16 Florian Weimer <fweimer@redhat.com>
27466
27467 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27468
3480ddc4
CD
274692017-10-16 Carlos O'Donell <carlos@redhat.com>
27470
27471 * include/shlib-compat.h (compat_symbol_reference): Update
27472 comment.
27473
02010e79
JM
274742017-10-16 Joseph Myers <joseph@codesourcery.com>
27475
596f7013
JM
27476 * math/Makefile (test-types): Add
27477 $(type-float128-$(float128-alias-fcts)).
27478 * math/test-float128.h (TYPE_STR): Define conditional on
27479 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27480 (ULP_IDX): Likewise.
27481 (ULP_I_IDX): Likewise.
27482
02010e79
JM
27483 * stdlib/strtold.c: Include <bits/floatn.h>
27484 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27485 and later undefine as macro. Define as weak alias if
27486 [!USE_WIDE_CHAR].
27487 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27488 and later undefine as macro. Define as weak alias if
27489 [USE_WIDE_CHAR].
27490 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27491 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27492 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27493 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27494 Define and later undefine as macro. Define as weak alias if
27495 [USE_WIDE_CHAR].
27496 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27497 <bits/floatn.h>.
27498 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27499 Define and later undefine as macro. Define as weak alias if
27500 [!USE_WIDE_CHAR].
27501 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27502 Define and later undefine as macro. Define as weak alias if
27503 [USE_WIDE_CHAR].
27504
ea91c315
CD
275052017-10-15 Carlos O'Donell <carlos@redhat.com>
27506
27507 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27508 record_verbose messages.
27509
8e57c943
L
275102017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27511
27512 [BZ #22052]
27513 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27514 to silence -O3 -Wall warning with GCC 7.
27515
a4777c46
L
275162017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27517
27518 * Makeconfig (+link-static-before-libc): Use the first of
27519 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27520 * gmon/Makefile (tests): Add tst-gmon-static.
27521 (tests-static): Likewise.
27522 (CFLAGS-tst-gmon-static.c): New.
27523 (CRT-tst-gmon-static): Likewise.
27524 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27525 (tst-gmon-static-ENV): Likewise.
27526 (tests-special): Likewise.
27527 ($(objpfx)tst-gmon-static.out): Likewise.
27528 (clean-tst-gmon-static-data): Likewise.
27529 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27530 * gmon/tst-gmon-static-gprof.sh: New file.
27531 * gmon/tst-gmon-static.c: Likewise.
27532
bc3821bb
CD
275332017-10-13 Carlos O'Donell <carlos@redhat.com>
27534
27535 [BZ #22295]
27536 * locale/programs/linereader.c (get_string): Don't warn on
27537 non-symbolic character.
27538
a3e23a2c
CD
27539 [BZ #22294]
27540 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27541 int_curr_symbol.
27542
f16491eb
CD
27543 [BZ #22292]
27544 * locale/programs/record-status.h: New file
27545 * locale/programs/locale.c: Add comment.
27546 * locale/programs/charmap-dir.c: Don't include error.h.
27547 (charmap_opendir): Use record_error.
27548 * locale/programs/charmap.c: Don't include error.h.
27549 (charmap_read): Use record_error, and record_warning.
27550 (parse_charmap): Likewise.
27551 * locale/programs/ld-address.c: Don't include error.h.
27552 (address_finish): Use record_error, and record_warning.
27553 * locale/programs/ld-collate.c: Don't include error.h.
27554 (collate_finish): Use record_error, and record_error_at_line.
27555 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27556 (ctype_class_new): Likewise.
27557 (ctype_map_new): Likewise.
27558 (set_one_default): Likewise.
27559 (set_class_defaults): Likewise.
27560 (translit_flatten): Likewise.
27561 (allocate_arrays): Use record_error, and record_verbose.
27562 * locale/programs/ld-identification.c: Don't include error.h.
27563 (indentation_finish): Use record_error and record_warning.
27564 * locale/programs/ld-measurement.c: Don't include error.h.
27565 (measurement_finish): Use record_error.
27566 * locale/programs/ld-messages.c
27567 (message_finish): Likewise.
27568 * locale/programs/ld-monetary.c
27569 (monetary_finish): Likewise.
27570 * locale/programs/ld-name.c (name_finish): Use record_error
27571 and record_warning.
27572 * locale/programs/ld-numeric.c
27573 (numeric_finish): Use record_error.
27574 * locale/programs/ld-paper.c: Don't include error.h.
27575 (paper_finish): Use record_error.
27576 * locale/programs/ld-telephone.c: Don't include error.h.
27577 (telephone_finish): Use record_error.
27578 * locale/programs/ld-time.c (time_finish): Likewise.
27579 * locale/programs/linereader.h (lr_error): Make inline func.
27580 * locale/programs/localedef.c: Define recorded_warning_count,
27581 and recorded_error_count.
27582 (main): Use record_error. Use recorded_error_count and
27583 recorded_warning_count to issue correct error returns.
27584 (add_to_readlist): Use record_error.
27585 (find_locale): Likewise.
27586 (load_locale): Likewise.
27587 * locale/programs/localedef.h: Remove be_quiet
27588 and WITH_CUR_LOCALE.
27589 * locale/programs/locarchive.c (compare_from_file): Use
27590 record_error.
27591 * locale/programs/locfile.c (write_locale_data): Use
27592 record_error.
27593 * locale/programs/repertoire.c: Dont include error.h.
27594 (repertoire_complain): Use record_error.
27595 * localedata/tst-fmon.sh: Expect failures from localedef.
27596 * localedata/tst-locale.sh: Likewise.
27597 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27598
8dc8be75
CD
27599 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27600 (REPORTS): Likewise.
27601 (check): Likewise.
27602 (i18n): Rename to...
27603 (i18n_ctype): ...this.
27604 (i18n-report): Rename to...
27605 (i18n_ctype-report): ...this.
27606 * localedata/locales/i18n_ctype: Regenerate.
27607 * localedata/locales/i18n: copy i18n_ctype.
27608
f8718a9e
JM
276092017-10-13 Joseph Myers <joseph@codesourcery.com>
27610
18c08b96
JM
27611 * stdlib/strfroml.c: Include <bits/floatn.h>.
27612 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27613 Define before include of <stdlib.h> and undefine afterwards, then
27614 define as weak alias.
27615
f8718a9e
JM
27616 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27617 Undefine and restore default definition. Use
27618 libm_alias_ldouble_other.
27619
e4f530da
PZ
276202017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27621
27622 [BZ #22153]
27623 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27624 in coredumps.
27625
86445888
JC
276262017-10-13 James Clarke <jrtc27@jrtc27.com>
27627
27628 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27629 Assign sym_map to be map for local symbols, as TLS relocations
27630 use sym_map to determine whether the symbol is defined and to
27631 extract the TLS information.
27632 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27633 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27634
179dcdb7
TMQMF
276352017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27636
e8dbd6a3
TMQMF
27637 [BZ #22189]
27638 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27639 (math_force_eval): Add powerpc version.
27640
179dcdb7
TMQMF
27641 [BZ #22142]
27642 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27643 -DBL_MAX.
27644 (do_test): Likewise.
27645 * stdio-common/tst-printf.sh: Likewise.
27646 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27647 ifdef clause in order to set the carry bit right. Replace r0 by
27648 0 without changing the behavior.
27649
7d25d410
JM
276502017-10-13 Joseph Myers <joseph@codesourcery.com>
27651
006e7664
JM
27652 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27653 <libm-alias-ldouble.h>.
27654 (fabsl): Define using libm_alias_ldouble.
27655 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27656 <libm-alias-ldouble.h>.
27657 (fabsl): Define using libm_alias_ldouble.
27658
1def91b3
JM
27659 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27660 Remove conditional code.
27661
7d25d410
JM
27662 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27663 Rename to __clog10_internal_l.
27664 (__clog10_internal_l): Define aliases using
27665 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27666 with __clog10.
27667
077ee129
RS
276682017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27669
27670 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27671 * benchtests/sincosf-inputs: New file.
27672 * benchtests/cosf-inputs: New file.
27673 * benchtests/sinf-inputs: New file.
27674
5ba41de9
SN
276752017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27676
27677 * posix/tst-spawn.c (do_test): Wait for both children.
27678
d165ca64
L
276792017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27680
27681 [BZ #22284]
27682 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27683 tests-pie): Add tst-gmon-pie.
27684 (CFLAGS-tst-gmon-pie.c): New.
27685 (CRT-tst-gmon-pie): Likewise.
27686 (tst-gmon-pie-ENV): Likewise.
27687 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27688 ($(objpfx)tst-gmon-pie.out): Likewise.
27689 (clean-tst-gmon-pie-data): Likewise.
27690 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27691 * gmon/gmon.c [PIC]: Include <link.h>.
27692 [PIC] (callback): New function.
27693 (write_hist): Add an argument for load address. Subtract load
27694 address from PCs.
27695 (write_call_graph): Likewise.
27696 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27697 it to write_hist and write_call_graph.
7bacdcfc 27698 * gmon/tst-gmon-pie.c: New file.
d165ca64 27699
bc9620d0
JM
277002017-10-11 Joseph Myers <joseph@codesourcery.com>
27701
27702 * math/Makefile (test-types-basic): New variable.
27703 (test-types): Likewise.
27704 (libm-test-support): Use $(test-types) instead of $(types).
27705 (libm-tests-base-normal): Likewise.
27706 (libm-tests-base-finite): Likewise.
27707 (libm-tests-base-inline): Likewise.
27708 (generated): Likewise.
27709 ($(objpfx)libm-test-support-$(t).c): Likewise.
27710 (libm-tests-for-type iterator): Likewise.
27711 (libm-test-support iterator): Likewise.
27712 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27713 (ulp_idx): Use ULP_IDX.
27714 * math/test-ldouble.h: Include <float.h>.
27715 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27716 (ULP_IDX): New macro.
27717 (ULP_I_IDX): Likewise.
27718 * math/test-double.h (ULP_IDX): Likewise.
27719 (ULP_I_IDX): Likewise.
27720 * math/test-float.h (ULP_IDX): Likewise.
27721 (ULP_I_IDX): Likewise.
27722 * math/test-float128.h (ULP_IDX): Likewise.
27723 (ULP_I_IDX): Likewise.
27724
09c76a74
AZ
277252017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27726
27727 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27728 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27729 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27730 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27731 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27732 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27733 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27735 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27736 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27737 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27738 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27739 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27740 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27741 (SINGLE_THREAD_BY_GLOBAL): Define.
27742 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27743 Likewise.
27744 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27745 Likewise.
27746 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27747 Likewise.
27748 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27749 Likewise.
27750 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27751 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27752 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27753 Likewise.
27754
2faa42da
AS
277552017-10-11 Andreas Schwab <schwab@suse.de>
27756
27757 * nis/Makefile (aux): Remove.
27758 * nscd/Makefile (aux): Add nscd_hash.
27759 (nscd-modules): Likewise.
27760 ($(objpfx)nscd): Don't depend on libnsl.
27761 * nscd/nscd_hash.c: New file.
27762 * nscd/nscd_hash.h: Likewise.
27763 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27764 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27765 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27766 instead of <nis/rpcsvc/nis.h>.
27767 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27768
d8425e11
FW
277692017-10-11 Florian Weimer <fweimer@redhat.com>
27770
27771 [BZ #22078]
27772 Avoid large NSS buffers with many addresses, aliases.
27773 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27774 using dynarrays and struct alloc_buffer.
27775 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27776 (tst-nss-files-hosts-multi): Link with -ldl.
27777 * nss/tst-nss-files-hosts-multi.c: New file.
27778
78e806fd
FW
277792017-10-11 Florian Weimer <fweimer@redhat.com>
27780
27781 [BZ #18023]
27782 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27783 scratch_buffer. Eliminate gotos.
27784
541f19ba
JM
277852017-10-11 Joseph Myers <joseph@codesourcery.com>
27786
0ff64d3a
JM
27787 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27788 libm_alias_ldouble_other.
27789 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27790 undefine and redefine.
27791 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27792 (exp10l): Do not define here.
27793 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27794 (weak_alias): Undefine and redefine.
27795 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27796 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27797 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27798 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27799
541f19ba
JM
27800 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27801 [!__fma] (fma): Define using libm_alias_double.
27802 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27803 [!__fmaf] (fmaf): Define using libm_alias_float.
27804 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27805 (fmal): Define using libm_alias_ldouble.
27806
24b6515d
JM
278072017-10-10 Joseph Myers <joseph@codesourcery.com>
27808
27809 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27810 New macro.
27811 (libm_alias_double_other): Likewise.
27812 (libm_alias_double_r): Use libm_alias_double_other_r.
27813 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27814 New macro.
27815 (libm_alias_float_other): Likewise.
27816 (libm_alias_float_r): Use libm_alias_float_other_r.
27817 * sysdeps/generic/libm-alias-float128.h
27818 (libm_alias_float128_other_r): New macro.
27819 (libm_alias_float128_other): Likewise.
27820 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27821 * sysdeps/generic/libm-alias-ldouble.h
27822 (libm_alias_ldouble_other_r): New macro.
27823 (libm_alias_ldouble_other): Likewise.
27824 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27825 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27826 (libm_alias_double_other_r): New macro.
27827 (libm_alias_double_other): Likewise.
27828 (libm_alias_double_r): Use libm_alias_double_other_r.
27829 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27830 (libm_alias_ldouble_other_r): New macro.
27831 (libm_alias_ldouble_other): Likewise.
27832 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27833 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27834 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27835 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27836 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27837 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27838 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27839 * math/w_exp2f.c: Use libm_alias_float_other.
27840 * math/w_expf.c: Likewise.
27841 * math/w_log2f.c: Likewise.
27842 * math/w_logf.c: Likewise.
27843 * math/w_powf.c: Likewise.
27844 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27845 [!__exp2f]: Use libm_alias_float_other.
27846 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27847 [!__expf]: Use libm_alias_float_other.
27848 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27849 [!__log2f]: Use libm_alias_float_other.
27850 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27851 [!__logf]: Use libm_alias_float_other.
27852 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27853 [!__powf]: Use libm_alias_float_other.
27854
8ed70de2
FW
278552017-10-10 Florian Weimer <fweimer@redhat.com>
27856
27857 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27858 function.
27859 (_nss_files_gethostbyname3_r): Call it.
27860
a8dce619
JM
278612017-10-09 Joseph Myers <joseph@codesourcery.com>
27862
27863 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27864 error. Remove default definition of declare_mgen_alias.
27865 [!declare_mgen_alias_r]: Likewise.
27866 * sysdeps/generic/math-type-macros-double.h
27867 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27868 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27869 (declare_mgen_alias_r): Likewise.
27870 * sysdeps/generic/math-type-macros-float128.h
27871 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27872 * sysdeps/generic/math-type-macros-ldouble.h
27873 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27874 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27875 macro.
27876 (declare_mgen_alias_r_s): Likewise.
27877 (declare_mgen_alias_r): Likewise.
27878 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27879 (lgamma_r): Define using libm_alias_double_r.
27880 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27881 (lgammaf_r): Define using libm_alias_float_r.
27882 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27883 (lgammal_r): Define using libm_alias_ldouble_r.
27884 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27885 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27886
bedac136
AZ
278872017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27888
27889 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27890 extern declaration.
27891
c7509db2
JM
278922017-10-09 Joseph Myers <joseph@codesourcery.com>
27893
27894 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27895
d6c064e9
JW
278962017-10-09 Jonathan Wakely <jwakely@redhat.com>
27897
27898 [BZ #21326]
27899 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27900 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27901 * math/Makefile (test-math-cxx11): New test.
27902 * math/test-math-cxx11.cc: New file.
27903
98e07420
CB
279042017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27905
27906 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27907
645ac9aa
CB
27908 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27909 call to allocate the slave pty file descriptor.
27910
fd3b4e7c
JM
279112017-10-06 Joseph Myers <joseph@codesourcery.com>
27912
f85a176f
JM
27913 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27914 [!__fma] (fma): Define using libm_alias_double.
27915 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27916 [!__fma] (fma): Define using libm_alias_double.
27917
fd3b4e7c
JM
27918 * sysdeps/ieee754/float128/float128_private.h: Include
27919 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27920 (libm_alias_ldouble_r): Undefine and redefine.
27921 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27922 <libm-alias-ldouble.h>.
27923 (asinhl): Define using libm_alias_ldouble.
27924 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27925 <libm-alias-ldouble.h>.
27926 (atanl): Define using libm_alias_ldouble.
27927 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27928 <libm-alias-ldouble.h>.
27929 (cbrtl): Define using libm_alias_ldouble.
27930 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27931 <libm-alias-ldouble.h>.
27932 (ceill): Define using libm_alias_ldouble.
27933 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27934 <libm-alias-ldouble.h>.
27935 (copysignl): Define using libm_alias_ldouble.
27936 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27937 <libm-alias-ldouble.h>.
27938 (cosl): Define using libm_alias_ldouble.
27939 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27940 <libm-alias-ldouble.h>.
27941 (erfl): Define using libm_alias_ldouble.
27942 (erfcl): Likewise.
27943 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27944 <libm-alias-ldouble.h>.
27945 (expm1l): Define using libm_alias_ldouble.
27946 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27947 <libm-alias-ldouble.h>.
27948 (fabsl): Define using libm_alias_ldouble.
27949 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27950 <libm-alias-ldouble.h>.
27951 (floorl): Define using libm_alias_ldouble.
27952 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27953 <libm-alias-ldouble.h>.
27954 (fmal): Define using libm_alias_ldouble.
27955 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27956 <libm-alias-ldouble.h>.
27957 (frexpl): Define using libm_alias_ldouble.
27958 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27959 libm_alias_ldouble.
27960 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27961 <libm-alias-ldouble.h>.
27962 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27963 libm_alias_ldouble.
27964 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27965 <libm-alias-ldouble.h>.
27966 (getpayloadl): Define using libm_alias_ldouble.
27967 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27968 <libm-alias-ldouble.h>.
27969 (llrintl): Define using libm_alias_ldouble.
27970 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27971 <libm-alias-ldouble.h>.
27972 (llroundl): Define using libm_alias_ldouble.
27973 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27974 <libm-alias-ldouble.h>.
27975 (logbl): Define using libm_alias_ldouble.
27976 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27977 <libm-alias-ldouble.h>.
27978 (lrintl): Define using libm_alias_ldouble.
27979 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27980 <libm-alias-ldouble.h>.
27981 (lroundl): Define using libm_alias_ldouble.
27982 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27983 <libm-alias-ldouble.h>.
27984 (modfl): Define using libm_alias_ldouble.
27985 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27986 <libm-alias-ldouble.h>.
27987 (nearbyintl): Define using libm_alias_ldouble.
27988 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27989 <libm-alias-ldouble.h>.
27990 (nextafterl): Define using libm_alias_ldouble.
27991 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27992 <libm-alias-ldouble.h>.
27993 (nextupl): Define using libm_alias_ldouble.
27994 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27995 <libm-alias-ldouble.h>.
27996 (remquol): Define using libm_alias_ldouble.
27997 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27998 <libm-alias-ldouble.h>.
27999 (rintl): Define using libm_alias_ldouble.
28000 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
28001 <libm-alias-ldouble.h>.
28002 (roundevenl): Define using libm_alias_ldouble.
28003 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
28004 <libm-alias-ldouble.h>.
28005 (roundl): Define using libm_alias_ldouble.
28006 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
28007 using libm_alias_ldouble.
28008 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
28009 <libm-alias-ldouble.h>.
28010 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
28011 Define using libm_alias_ldouble.
28012 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
28013 <libm-alias-ldouble.h>.
28014 (sincosl): Define using libm_alias_ldouble.
28015 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
28016 <libm-alias-ldouble.h>.
28017 (sinl): Define using libm_alias_ldouble.
28018 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
28019 <libm-alias-ldouble.h>.
28020 (tanhl): Define using libm_alias_ldouble.
28021 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28022 <libm-alias-ldouble.h>.
28023 (tanl): Define using libm_alias_ldouble.
28024 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28025 <libm-alias-ldouble.h>.
28026 (totalorderl): Define using libm_alias_ldouble.
28027 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28028 <libm-alias-ldouble.h>.
28029 (totalordermagl): Define using libm_alias_ldouble.
28030 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28031 <libm-alias-ldouble.h>.
28032 (truncl): Define using libm_alias_ldouble.
28033 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28034 libm_alias_ldouble.
28035 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28036 libm_alias_ldouble.
28037 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28038 <libm-alias-ldouble.h>.
28039 (weak_alias): Do not undefine and redefine.
28040 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28041 (copysignl): Define with long_double_symbol only if [IS_IN
28042 (libc)].
28043 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28044 <libm-alias-ldouble.h>.
28045 (weak_alias): Do not undefine and redefine.
28046 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28047 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28048 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28049 <libm-alias-ldouble.h>.
28050 (weak_alias): Do not undefine and redefine.
28051 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28052 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28053 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28054 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28055 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28056 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28057 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28058 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28059 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28060 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28061 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28062 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28063 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28064 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28065 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28066 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28067 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28068 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28069 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28070 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28071 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28072 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28073 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28074 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28075 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28076 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28077
1e26d351
CD
280782017-10-06 Carlos O'Donell <carlos@redhat.com>
28079
28080 [BZ #22111]
28081 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28082 (tcache_thread_freeres): Set tcache_shutting_down before
28083 freeing the tcache.
28084 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28085 * malloc/tst-malloc-tcache-leak.c: New file.
28086
d1386762
RS
280872017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28088
28089 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28090 back to powerpc32 file.
28091 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28092 (memrchr): Add __memrchr_power8 to ifunc list.
28093 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28094 extra bytes for unaligned inputs.
28095
6dff1983
JM
280962017-10-06 Joseph Myers <joseph@codesourcery.com>
28097
28098 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28099 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28100 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28101 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28102 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28103
86f9568a
JM
281042017-10-05 Joseph Myers <joseph@codesourcery.com>
28105
0db0b931
JM
28106 * sysdeps/arm/libm-test-ulps: Update.
28107
86f9568a
JM
28108 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28109 <libm-alias-ldouble.h>.
28110 (asinhl): Define using libm_alias_ldouble.
28111 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28112 <libm-alias-ldouble.h>.
28113 (cbrtl): Define using libm_alias_ldouble.
28114 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28115 <libm-alias-ldouble.h>.
28116 (copysignl): Define using libm_alias_ldouble.
28117 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28118 <libm-alias-ldouble.h>.
28119 (cosl): Define using libm_alias_ldouble.
28120 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28121 <libm-alias-ldouble.h>.
28122 (erfl): Define using libm_alias_ldouble.
28123 (erfcl): Likewise.
28124 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28125 <libm-alias-ldouble.h>.
28126 (fmal): Define using libm_alias_ldouble.
28127 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28128 <libm-alias-ldouble.h>.
28129 (frexpl): Define using libm_alias_ldouble.
28130 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28131 libm_alias_ldouble.
28132 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28133 <libm-alias-ldouble.h>.
28134 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28135 libm_alias_ldouble.
28136 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28137 <libm-alias-ldouble.h>.
28138 (getpayloadl): Define using libm_alias_ldouble.
28139 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28140 <libm-alias-ldouble.h>.
28141 (llrintl): Define using libm_alias_ldouble.
28142 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28143 <libm-alias-ldouble.h>.
28144 (llroundl): Define using libm_alias_ldouble.
28145 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28146 <libm-alias-ldouble.h>.
28147 (lrintl): Define using libm_alias_ldouble.
28148 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28149 <libm-alias-ldouble.h>.
28150 (lroundl): Define using libm_alias_ldouble.
28151 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28152 <libm-alias-ldouble.h>.
28153 (modfl): Define using libm_alias_ldouble.
28154 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28155 <libm-alias-ldouble.h>.
28156 (nextupl): Define using libm_alias_ldouble.
28157 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28158 <libm-alias-ldouble.h>.
28159 (remquol): Define using libm_alias_ldouble.
28160 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28161 <libm-alias-ldouble.h>.
28162 (roundevenl): Define using libm_alias_ldouble.
28163 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28164 <libm-alias-ldouble.h>.
28165 (roundl): Define using libm_alias_ldouble.
28166 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28167 using libm_alias_ldouble.
28168 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28169 <libm-alias-ldouble.h>.
28170 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28171 <libm-alias-ldouble.h>.
28172 (setpayloadsigl): Define using libm_alias_ldouble.
28173 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28174 <libm-alias-ldouble.h>.
28175 (sincosl): Define using libm_alias_ldouble.
28176 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28177 <libm-alias-ldouble.h>.
28178 (sinl): Define using libm_alias_ldouble.
28179 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28180 <libm-alias-ldouble.h>.
28181 (tanhl): Define using libm_alias_ldouble.
28182 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28183 <libm-alias-ldouble.h>.
28184 (tanl): Define using libm_alias_ldouble.
28185 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28186 <libm-alias-ldouble.h>.
28187 (totalorderl): Define using libm_alias_ldouble.
28188 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28189 <libm-alias-ldouble.h>.
28190 (totalordermagl): Define using libm_alias_ldouble.
28191 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28192 libm_alias_ldouble.
28193 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28194 libm_alias_ldouble.
28195
9ec87fd2
SP
281962017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28197
dd5bc7f1
SP
28198 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28199 memmove_falkor.
28200 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28201 (__libc_ifunc_impl_list): Likewise.
28202 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28203 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28204
5bfb0404
SP
28205 * benchtests/bench-memmove-walk.c: New file.
28206 * benchtests/Makefile (string-benchset): Add it.
28207
36bb8edf
SP
28208 * benchtests/bench-memset-walk.c: New file.
28209 * benchtests/Makefile (string-benchset): Add it.
28210
9ec87fd2
SP
28211 * benchtests/bench-memcpy-walk.c: New file.
28212 * benchtests/Makefile (string-benchset): Add it.
28213
1e9522c6
FW
282142017-10-05 Florian Weimer <fweimer@redhat.com>
28215
28216 nscd: Eliminate compilation time dependency in the build output.
28217 * nscd/nscd_stat.c (STATDATA_VERSION)
28218 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28219 (STATDATA_VERSION_FULL): New macro definitions.
28220 (compilation): Remove.
28221 (struct statdata): Adjust version member.
28222 (send_stats): Set version from STATDATA_VERSION_FULL.
28223 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28224
644d3857
JM
282252017-10-05 Joseph Myers <joseph@codesourcery.com>
28226
28227 * configure.ac (--enable-add-ons): Remove option.
28228 (machine): Do not mention add-ons in comment.
28229 (LIBC_PRECONFIGURE): Likewise.
28230 (add_ons): Remove variable and sanity checks and logic to locate
28231 add-ons.
28232 (add_ons_automatic): Remove variable.
28233 (configured_add_ons): Likewise.
28234 (add_ons_sfx): Likewise.
28235 (add_ons_pfx): Likewise.
28236 (add_on_subdirs): Likewise.
28237 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28238 consideration of add-ons in Implies handling.
28239 (sysdeps_add_ons): Likewise.
28240 * configure: Regenerated.
28241 * libidn/configure.ac: Remove.
28242 * libidn/configure: Likewise.
28243 * sysdeps/unix/inet/configure.ac: New file.
28244 * sysdeps/unix/inet/configure: New generated file.
28245 * sysdeps/unix/inet/Subdirs: Add libidn.
28246 * Makeconfig (sysdeps-srcdirs): Remove variable.
28247 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28248 ($(common-objpfx)config.status): Do not depend on add-on files.
28249 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28250 comment.
28251 (all-subdirs): Do not include $(add-on-subdirs).
28252 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28253 * config.make.in (add-ons): Remove variable.
28254 (add-on-subdirs): Likewise.
28255 (sysdeps-add-ons): Likewise.
28256 * manual/Makefile (add-chapters): Remove.
28257 ($(objpfx)texis): Do not depend on $(add-chapters).
28258 (nonexamples): Do not handle $(add-chapters).
28259 (examples): Do not handle $(add-ons).
28260 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28261 libc-texinfo.sh.
28262 * manual/install.texi (Installation): Do not mention add-ons.
28263 (--enable-add-ons): Do not document configure option.
28264 * INSTALL: Regenerated.
28265 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28266 * manual/maint.texi (Hierarchy Conventions): Do not mention
28267 add-ons.
28268 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28269 --enable-add-ons.
28270 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28271 add-ons.
28272 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28273 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28274
19f82f35
AS
282752017-10-05 Andreas Schwab <schwab@suse.de>
28276
28277 [BZ #15142]
28278 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28279 (_IO_flush_all_lockp): Always lock list_all_lock.
28280 (_IO_flush_all_linebuffered): Likewise.
28281 (_IO_unbuffer_all): Likewise.
28282
91e7cf98
FW
282832017-10-05 Florian Weimer <fweimer@redhat.com>
28284
28285 [BZ #15436]
28286 Do not flush stdio streams on abort.
28287 * stdlib/abort.c (fflush): Remove macro definition.
28288 (abort): Remove stages related to stdio flushing.
28289
0c251257
FW
282902017-10-05 Florian Weimer <fweimer@redhat.com>
28291
28292 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28293
7ea59e3e
SL
282942017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28295
28296 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28297
84d0e6f0
FW
282982017-10-05 Florian Weimer <fweimer@redhat.com>
28299
28300 * support/support_format_hostent.c (support_format_hostent): Add
28301 more error information for NETDB_INTERNAL.
28302
ee417882
L
283032017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28304
28305 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28306 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28307 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28308 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28309 AC_DEFINE if multi-arch is enabled.
28310 * sysdeps/i386/configure: Regenerated.
28311
a67029ff
L
283122017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28313
28314 * Makeconfig (+link-static-before-libc): Use
28315 $(DEFAULT-LDFLAGS-$(@F)).
28316 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28317 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28318 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28319
5dba84b3
L
283202017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28321
28322 * elf/Makefile (tests): Add tst-main1.
28323 (modules-names): Add tst-main1mod.
28324 ($(objpfx)tst-main1): New.
28325 (CRT-tst-main1): Likewise.
28326 (LDFLAGS-tst-main1): Likewise.
28327 (LDLIBS-tst-main1): Likewise.
28328 (tst-main1mod.so-no-z-defs): Likewise.
28329 * elf/tst-main1.c: New file.
28330 * elf/tst-main1mod.c: Likewise.
28331
758f1bfa
L
283322017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28333
28334 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28335
7e16a5d1
JM
283362017-10-04 Joseph Myers <joseph@codesourcery.com>
28337
28338 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28339 (fma): Define using libm_alias_double.
28340 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28341 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28342 <math_ldbl_opt.h>.
28343 (fmal): Do not define as compat symbol here.
28344 * sysdeps/alpha/fpu/s_fma.c: New file.
28345
db4f87ba
SN
283462017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28347
28348 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28349
72d13ed1
JM
283502017-10-04 Joseph Myers <joseph@codesourcery.com>
28351
32d372d5
JM
28352 [BZ #22229]
28353 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28354 <math_ldbl_opt.h>
28355 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28356 and libc.
28357 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28358 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28359 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28360 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28362 Include <math_ldbl_opt.h>
28363 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28364 and libc.
28365 (compat_symbol): Undefine and redefine.
28366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28367 <math_ldbl_opt.h>
28368 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28369 (compat_symbol): Undefine and redefine.
28370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28371 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28372 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28373 GLIBC_2_1 for libm.
28374 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28375 GLIBC_2.0 copysignl symbol.
28376 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28377 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28378
72d13ed1
JM
28379 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28380
11c4f501
FW
283812017-10-04 Florian Weimer <fweimer@redhat.com>
28382
28383 * scripts/check-local-headers.sh: Ignore nspr4 header file
28384 directory in addition to nspr.
28385
57b4af19
GT
283862017-10-04 Guido Trentalancia <guido@trentalancia.net>
28387
28388 [BZ #17956]
28389 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28390 * configure: Regenerate.
28391 * crypt/Makefile (nss-cpp-flags): New variable.
28392 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28393 (CPPFLAGS-md5-crypt.c): Use it.
28394 * scripts/check-local-headers.sh: Ignore nspr header file
28395 directory.
28396
64d1e08e
AS
283972017-10-04 Andreas Schwab <schwab@suse.de>
28398
28399 * nis/Makefile (services): Remove compat.
28400 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28401 ($(objpfx)libnss_compat.so): Remove rule.
28402 * nis/Versions (libnss_compat): Remove.
28403 * nss/Makefile (services): Add compat.
28404 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28405 * nss/Versions (libnss_compat): Define.
28406 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28407 Don't include <rpc/types.h>. Replace bool_t by bool.
28408 * nss/nss_compat/compat-initgroups.c: Likewise.
28409 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28410 instead of <rpcsrv/ypclnt.h>.
28411 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28412 yp_get_default_domain.
28413 * nss/nss_compat/compat-pwd.c: Likewise.
28414 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28415 yp_get_default_domain.
28416 * nss/nss_compat/nisdomain.c: New file.
28417 * nss/nss_compat/nisdomain.h: Likewise.
28418
86c27ade
SN
284192017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28420
28421 [BZ #22244]
28422 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28423 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28424
8f8f8ef7
SN
284252017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28426
28427 [BZ #22243]
28428 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28429 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28430
95577475
L
284312017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28432
28433 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28434 "movl main@GOTOFF(%ebx), %eax".
28435
02d2d892
L
284362017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28437
28438 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28439 allow undefined _DYNAMIC in PIE libc.a.
28440 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28441 Likewse.
28442
0c609d19
L
284432017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28444
28445 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28446 check _DYNAMIC.
28447
c34a19ed
L
284482017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28449
28450 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28451 check _DYNAMIC.
28452
cdd4155d
L
284532017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28454
28455 * math/test-math-iscanonical.cc (error): Replace bool with int.
28456
4699cb8b
JM
284572017-10-03 Joseph Myers <joseph@codesourcery.com>
28458
d8f619b3
JM
28459 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28460 (modf): Define using libm_alias_double, only if [!__modf].
28461 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28462 <libm-alias-double.h>.
28463 (modf): Define using libm_alias_double, only if [!__modf].
28464 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28465 compat symbol here.
28466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28467 (weak_alias): Do not undefine and redefine.
28468 (strong_alias): Likewise.
28469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28470 (weak_alias): Likewise.
28471 (strong_alias): Likewise.
28472
4699cb8b
JM
28473 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28474 (logb): Define using libm_alias_double, only if [!__logb].
28475 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28476 <libm-alias-double.h>.
28477 (logb): Define using libm_alias_double, only if [!__logb].
28478 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28480 (weak_alias): Do not undefine and redefine.
28481 (strong_alias): Likewise.
28482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28483 (weak_alias): Likewise.
28484 (strong_alias): Likewise.
28485
bcc4e4bb
L
284862017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28487
28488 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28489 Check SHARED instead PIC.
28490
39793865
JM
284912017-10-03 Joseph Myers <joseph@codesourcery.com>
28492
7f1cbdf8
JM
28493 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28494 [!__fmaf] (fmaf): Define using libm_alias_float.
28495
39793865
JM
28496 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28497 (frexp): Define using libm_alias_double.
28498 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28499 <libm-alias-double.h>.
28500 (frexp): Define using libm_alias_double.
28501 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28502 compat symbol here.
28503
aa0235df
GG
285042017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28505
28506 [BZ #22235]
28507 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28508 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28509 (CFLAGS-test-math-iscanonical.cc): New variable.
28510 * math/test-math-iscanonical.cc: New file.
28511 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28512 Provide a C++ implementation based on function overloading,
28513 rather than using __MATH_TG, which uses C-only builtins.
28514 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28515 Likewise.
28516 * sysdeps/powerpc/powerpc64le/Makefile
28517 (CFLAGS-test-math-iscanonical.cc): New variable.
28518
a1132b5e
JM
285192017-10-03 Joseph Myers <joseph@codesourcery.com>
28520
28521 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28522 (ceil): Define using libm_alias_double.
28523 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28524 (floor): Define using libm_alias_double.
28525 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28526 <libm-alias-double.h>.
28527 (llround): Define using libm_alias_double.
28528 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28529 <libm-alias-double.h>.
28530 (lround): Define using libm_alias_double.
28531 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28532 <libm-alias-double.h>.
28533 (nearbyint): Define using libm_alias_double.
28534 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28535 <libm-alias-double.h>.
28536 (remquo): Define using libm_alias_double.
28537 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28538 (rint): Define using libm_alias_double.
28539 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28540 (round): Define using libm_alias_double.
28541 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28542 (trunc): Define using libm_alias_double.
28543 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28544 <libm-alias-double.h>.
28545 (ceil): Define using libm_alias_double.
28546 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28547 <libm-alias-double.h>.
28548 (floor): Define using libm_alias_double.
28549 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28550 <libm-alias-double.h>.
28551 (llround): Define using libm_alias_double.
28552 [_LP64] (lround): Likewise.
28553 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28554 <libm-alias-double.h>.
28555 [!_LP64] (lround): Define using libm_alias_double.
28556 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28557 <libm-alias-double.h>.
28558 (nearbyint): Define using libm_alias_double.
28559 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28560 <libm-alias-double.h>.
28561 (remquo): Define using libm_alias_double.
28562 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28563 <libm-alias-double.h>.
28564 (rint): Define using libm_alias_double.
28565 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28566 <libm-alias-double.h>.
28567 (round): Define using libm_alias_double.
28568 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28569 <libm-alias-double.h>.
28570 (trunc): Define using libm_alias_double.
28571 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28572 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28573 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28574 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28575 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28576 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28577 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28578 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28579 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28580
f275f64e
SN
285812017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28582
28583 * math/w_remainder.c: New file.
28584 * math/w_remainderf.c: New file.
28585 * math/w_remainderl.c: New file.
28586
b8818ab5
L
285872017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28588
28589 * elf/rtld.c (BOOTSTRAP_MAP): New.
28590 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28591 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28592 Likewise.
28593 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28594 Likewise.
28595 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28596 Likewise.
28597
3d1870fa
ST
285982017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28599
28600 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28601 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28602 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28603 rtld_hidden_data_ver): Define to empty.
28604 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28605 __assert_perror_fail): Likewise.
28606 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28607 (__rewinddir): Likewise.
28608 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28609 (__profile_frequency): Likewise.
28610 * include/setjmp.h (__sigsetjmp): Likewise.
28611 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28612 __libc_sigaction): Likewise.
28613 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28614 not set hidden attribute.
28615 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28616 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28617 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28618 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28619 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28620 __fxstatat64): Likewise.
28621 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28622 (__uname): Likewise.
28623 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28624 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28625 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28626 (NO_RTLD_HIDDEN): Set.
28627 * sysdeps/mach/hurd/configure: Refresh.
28628 * config.h.in: Refresh.
28629
527cd19c
JM
286302017-10-02 Joseph Myers <joseph@codesourcery.com>
28631
38722448
JM
28632 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28633 (atan): Define using libm_alias_double.
28634 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28635 (tan): Define using libm_alias_double.
28636 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28637 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28638
527cd19c
JM
28639 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28640 define as weak alias of __atan. Do not define any aliases if
28641 [__atan].
28642 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28643 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28644 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28645 as weak alias of __tan. Do not define any aliases if [__tan].
28646 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28647 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28648 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28649 __atan.
28650 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28651 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28652 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28653 and define as weak alias of __atan.
28654 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28655 __atan.
28656 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28657 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28658 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28659 define as weak alias of __tan.
28660
bdc5c592
SN
286612017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28662
28663 * math/w_lgamma.c: New file.
28664 * math/w_lgammaf.c: New file.
28665 * math/w_lgammal.c: New file.
28666
bd4430c2
SN
286672017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28668
28669 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28670 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28671 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28672 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28673 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28674 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28675 * sysdeps/i386/fpu/w_log2f.c: New file.
28676 * sysdeps/i386/fpu/w_logf.c: New file.
28677 * sysdeps/i386/fpu/w_powf.c: New file.
28678 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28679 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28680 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28681
f7a0b063
SN
286822017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28683 H.J. Lu <hongjiu.lu@intel.com>
28684
28685 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28686 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28687 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28688 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28689 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28690 the new expf code.
28691 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28692 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28693 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28694 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28695 * sysdeps/i386/fpu/w_exp2f.c: New file.
28696 * sysdeps/i386/fpu/w_expf.c: New file.
28697 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28698 * sysdeps/x86_64/fpu/w_expf.c: New file.
28699
72d3d281
SN
287002017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28701
28702 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28703 (log2f): Likewise.
28704 (powf): Likewise.
28705 * math/w_log2f.c: New file.
28706 * math/w_logf.c: New file.
28707 * math/w_powf.c: New file.
28708 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28709 * math/w_logf_compat.c (__logf_compat): Likewise.
28710 * math/w_powf_compat.c (__powf_compat): Likewise.
28711 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28712 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28713 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28714 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28715 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28716 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28717 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28718 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28719 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28720 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28721 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28722 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28723 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28724 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28725 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28727 Likewise.
28728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28729 Likewise.
28730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28731 Likewise.
28732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28733 Likewise.
28734 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28735 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28736 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28737 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28738 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28740 Likewise.
28741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28742 Likewise.
28743 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28744 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28745 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28746
59ba2d2b
RS
287472017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28748
28749 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28750 (sysdep_routines): Add memrchr_power8.
28751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28752 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28753 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28754 New file.
28755 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28756 (memrchr): Add __memrchr_power8 to ifunc list.
28757 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28758
397286ea
L
287592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28760
28761 [BZ #18822]
28762 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28763 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28764 libc_hidden_def.
28765 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28766 (__posix_fallocate64_l64): Likewise.
28767
d0a4512b
L
287682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28769
28770 [BZ #18822]
28771 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28772 (__sched_setaffinity_new): Add libc_hidden_proto and
28773 libc_hidden_def.
28774
c0769f70
L
287752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28776
28777 [BZ #18822]
28778 * include/glob.h (__glob64): Add libc_hidden_proto.
28779 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28780 libc_hidden_def.
28781
0e7d5b6e
L
287822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28783
28784 [BZ #18822]
28785 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28786 attribute_hidden.
28787
bde06c87
L
287882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28789
28790 [BZ #18822]
28791 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28792
fa426590
L
287932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28794
28795 [BZ #18822]
28796 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28797 libc_hidden_def.
28798
2f8a05d8
L
287992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28800
28801 [BZ #18822]
28802 * csu/version.c (__libc_print_version): Add attribute_hidden.
28803
7bfd08ac
L
288042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28805
28806 [BZ #18822]
28807 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28808
0e1fd06c
L
288092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28810
28811 [BZ #18822]
28812 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28813
36e7ae1e
L
288142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28815
28816 [BZ #18822]
28817 * nscd/nscd_helper.c (__nis_hash): New prototype.
28818
87078544
L
288192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28820
28821 [BZ #18822]
28822 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28823 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28824 libc_hidden_def.
28825 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28826 * termios/tcgetattr.c (__tcgetattr): Likewise.
28827
dd3121df
L
288282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28829
28830 [BZ #18822]
28831 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28832 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28833 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28834 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28835 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28836
047d1a81
L
288372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28838
28839 [BZ #18822]
28840 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28841
fd331b11
L
288422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28843
28844 [BZ #18822]
28845 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28846 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28847
57f859bd
L
288482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28849
28850 [BZ #18822]
28851 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28852
d1903329
L
288532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28854
28855 [BZ #18822]
28856 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28857 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28858
b4744101
L
288592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28860
28861 [BZ #18822]
28862 * include/ifreq.h: New file.
28863 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28864 (__ifreq): Likewise.
28865 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28866 (__ifreq): Likewise.
28867
43b7dfd1
L
288682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28869
28870 [BZ #18822]
28871 * include/idna.h: New file.
28872 * inet/getnameinfo.c: Include <idna.h> instead of
28873 <libidn/idna.h>.
28874 (__idna_to_unicode_lzlz): Removed.
28875 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28876 <libidn/idna.h>.
28877 (__idna_to_ascii_lz): Removed.
28878 (__idna_to_unicode_lzlz): Likewise.
28879
2c0cd8f8
L
288802017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28881
28882 [BZ #18822]
28883 * include/plural-exp.h: New file.
28884 * intl/plural-exp.c: Include <plural-exp.h> instead of
28885 "plural-exp.h".
28886
8369d216
L
288872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28888
28889 [BZ #18822]
28890 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28891 "getsourcefilter.h".
28892 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28893 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28894 "getsourcefilter.h".
28895 (__get_sol): Removed.
28896
a0aef783
L
288972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28898
28899 [BZ #18822]
28900 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28901 to ...
28902 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28903
3ee8209b
L
289042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28905
28906 [BZ #18822]
28907 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28908 attribute_hidden.
28909
6036fc38
L
289102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28911
28912 [BZ #18822]
28913 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28914
fe84fed0
L
289152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28916
28917 [BZ #18822]
28918 * include/search.h (__tdestroy): Add libc_hidden_proto.
28919 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28920
048dd681
L
289212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28922
28923 [BZ #18822]
28924 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28925
6e342af6
L
289262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28927
28928 [BZ #18822]
28929 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28930 attribute_hidden.
28931
6a088436
L
289322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28933
28934 [BZ #18822]
28935 * include/signal.h (__kill): Add libc_hidden_proto.
28936 (__sigblock): Likewise.
28937 (__sigprocmask): Likewise.
28938 (__sigaltstack): Likewise.
28939 * signal/kill.c (__kill): Add libc_hidden_def.
28940 * signal/sigblock.c (__sigblock): Likewise.
28941 * signal/sigprocmask.c (__sigprocmask): Likewise.
28942 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28943 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28944 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28945 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28946 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28947 Likewise.
28948 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28949 Likewise.
28950 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28951 (__sigprocmask): Likewise.
28952 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28953 Likewise.
28954 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28955 (__sigprocmask): Likewise.
28956 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28957 Likewise.
28958
78cf1d74
L
289592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28960
28961 [BZ #18822]
28962 * include/string.h (__strsep): Add libc_hidden_proto.
28963 * string/strsep.c (__strsep): Add libc_hidden_def.
28964
85b35894
L
289652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28966
28967 [BZ #18822]
28968 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28969 attribute_hidden.
28970 (__spawni): Likewise.
28971
225f7eec
L
289722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28973
28974 [BZ #18822]
28975 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28976 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28977 libc_hidden_def.
28978
372fe247
L
289792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28980
28981 [BZ #18822]
28982 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28983
9e5ee8b8
L
289842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28985
28986 [BZ #18822]
28987 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28988 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28989 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28990 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28991 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28992 Likewise.
28993 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28994 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28995
2ff16592
L
289962017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28997
28998 [BZ #18822]
28999 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
29000 (__dcigettext): Likewise.
29001
b5648377
L
290022017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29003
29004 [BZ #18822]
29005 * include/sys/sysinfo.h (__get_nprocs_conf): Add
29006 libc_hidden_proto.
29007 (__get_nprocs): Likewise.
29008 (__get_phys_pages): Likewise.
29009 (__get_avphys_pages): Likewise.
29010 (__get_child_max): Add attribute_hidden.
29011 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
29012 (__get_nprocs): Likewise.
29013 (__get_phys_pages): Likewise.
29014 (__get_avphys_pages): Likewise.
29015 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
29016 libc_hidden_def.
29017 (__get_nprocs): Likewise.
29018 (__get_phys_pages): Likewise.
29019 (__get_avphys_pages): Likewise.
29020 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29021 libc_hidden_def.
29022 (__get_nprocs_conf): Likewise.
29023 (__get_phys_pages): Likewise.
29024 (__get_avphys_pages): Likewise.
29025
0389a6aa
L
290262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29027
29028 [BZ #18822]
29029 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29030 attribute_hidden.
29031 (__netlink_close): Likewise.
29032 (__netlink_free_handle): Likewise.
29033 (__netlink_request): Likewise.
29034
d48354d8
L
290352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29036
29037 [BZ #18822]
29038 * include/rpc/rpc.h (__rpc_thread_variables): Add
29039 attribute_hidden.
29040 (__rpc_thread_svc_cleanup): Likewise.
29041 (__rpc_thread_clnt_cleanup): Likewise.
29042 (__rpc_thread_key_cleanup): Likewise.
29043
d6daff12
L
290442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29045
29046 [BZ #18822]
29047 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29048 (__writev): Likewise.
29049 * misc/readv.c (__readv): Add libc_hidden_def.
29050 * misc/writev.c (__writev): Likewise.
29051 * sysdeps/posix/readv.c (__readv): Likewise.
29052 * sysdeps/posix/writev.c (__writev): Likewise.
29053 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29054 (__readv): Likewise.
29055 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29056 (__writev): Likewise.
29057
b68f8620
L
290582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29059
29060 [BZ #18822]
29061 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29062 (__regcomp): Add libc_hidden_proto.
29063 (__regexec): Likewise.
29064 (__regfree): Likewise.
29065 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29066 (__regfree): Likewise.
29067 * posix/regexec.c (__regexec): Likewise.
29068
59c04e67
L
290692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29070
29071 [BZ #18822]
29072 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29073 (__getutent): Likewise.
29074 (__getutid): Likewise.
29075 (__getutline): Likewise.
29076 (__pututline): Likewise.
29077 (__getutent_r): Likewise.
29078 (__getutid_r): Likewise.
29079 (__getutline_r): Likewise.
29080 (__utmpname): Add attribute_hidden.
29081 (__setutent): Likewise.
29082 (__endutent): Likewise.
29083 * login/getutent.c (__getutent): Add libc_hidden_def.
29084 * login/getutent_r.c (__getutent_r): Likewise.
29085 (__pututline): Likewise.
29086 * login/getutid.c (__getutid): Likewise.
29087 * login/getutid_r.c (__getutid_r): Likewise.
29088 * login/getutline.c (__getutline): Likewise.
29089 * login/getutline_r.c (__getutline_r): Likewise.
29090 * login/updwtmp.c (__updwtmp): Likewise.
29091
4587a421
L
290922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29093
29094 [BZ #18822]
29095 * include/dirent.h (__opendir): Always add attribute_hidden.
29096 (__fdopendir): Likewise.
29097 (__closedir): Likewise.
29098 (__readdir): Likewise.
29099 (__readdir64): Add libc_hidden_proto.
29100 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29101 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29102 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29103 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29104 New alias.
29105
9635ce69
L
291062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29107
29108 [BZ #18822]
29109 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29110 * include/netdb.h (__gethostbyaddr_r): Likewise.
29111 (__gethostbyname_r): Likewise.
29112 (__gethostbyname2_r): Likewise.
29113 (__getnetbyaddr_r): Likewise.
29114 (__getnetbyname_r): Likewise.
29115 (__getservbyname_r): Likewise.
29116 (__getservbyport_r): Likewise.
29117 (__getprotobyname_r): Likewise.
29118 (__getprotobynumber_r): Likewise.
29119 (__getnetgrent_r): Likewise.
29120 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29121 (__getrpcbynumber_r): Likewise.
29122 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29123
2e0a6909
L
291242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29125
29126 [BZ #18822]
29127 * include/stdio.h (__fcloseall): Add attribute_hidden.
29128 (__getline): Likewise.
29129 (__path_search): Likewise.
29130 (__gen_tempname): Likewise.
29131 (__libc_message): Likewise.
29132 (__flockfile): Likewise.
29133 (__funlockfile): Likewise.
29134 (__fxprintf): Likewise.
29135 (__fxprintf_nocancel): Likewise.
29136
94fd682c
L
291372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29138
29139 [BZ #18822]
29140 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29141 (__sgetsgent_r): Likewise.
29142
e1b33bba
L
291432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29144
29145 [BZ #18822]
29146 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29147 (__statfs64): Likewise.
29148 (__fstatfs64): Likewise.
29149 * include/sys/statvfs.h (__statvfs64): Likewise.
29150 (__fstatvfs64): Likewise.
29151 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29152 (__statfs_filesize_max): Likewise.
29153 (__statfs_symlinks): Likewise.
29154 (__statfs_chown_restricted): Likewise.
29155
b0f56784
L
291562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29157
29158 [BZ #18822]
29159 * include/time.h (__tzstring): Add attribute_hidden.
29160 (__tzfile_read): Likewise.
29161 (__tzfile_compute): Likewise.
29162 (__tzfile_default): Likewise.
29163 (__tzset_parse_tz): Likewise.
29164 (__offtime): Likewise.
29165 (__asctime_r): Likewise.
29166 (__tzset): Likewise.
29167 (__tz_convert): Likewise.
29168 (__getdate_r): Likewise.
29169 (__getclktck): Likewise.
29170
a4338d99
L
291712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29172
29173 [BZ #18822]
29174 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29175 (__nscd_unmap): Likewise.
29176 (__nscd_cache_search): Likewise.
29177 (__nscd_get_nl_timestamp): Likewise.
29178 (__nscd_getpwnam_r): Likewise.
29179 (__nscd_getpwuid_r): Likewise.
29180 (__nscd_getgrnam_r): Likewise.
29181 (__nscd_getgrgid_r): Likewise.
29182 (__nscd_gethostbyname_r): Likewise.
29183 (__nscd_gethostbyname2_r): Likewise.
29184 (__nscd_gethostbyaddr_r): Likewise.
29185 (__nscd_getai): Likewise.
29186 (__nscd_getgrouplist): Likewise.
29187 (__nscd_getservbyname_r): Likewise.
29188 (__nscd_getservbyport_r): Likewise.
29189 (__nscd_innetgr): Likewise.
29190 (__nscd_setnetgrent): Likewise.
29191
a2ca1652
L
291922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29193
29194 [BZ #18822]
29195 * include/gmp.h: Declare internal functions only if _ISOMAC is
29196 undefined.
29197 (__mpn_extract_double): Add attribute_hidden.
29198 (__mpn_extract_long_double): Likewise.
29199 (__mpn_extract_float128): Likewise.
29200 (__mpn_construct_float): Likewise.
29201 (__mpn_construct_double): Likewise.
29202 (__mpn_construct_long_double): Likewise.
29203 (__mpn_construct_float128): Likewise.
29204 (mpn_add_1): Likewise.
29205 (mpn_addmul_1): Likewise.
29206 (mpn_add_n): Likewise.
29207 (mpn_cmp): Likewise.
29208 (mpn_divrem): Likewise.
29209 (mpn_lshift): Likewise.
29210 (mpn_mul): Likewise.
29211 (mpn_mul_1): Likewise.
29212 (mpn_rshift): Likewise.
29213 (mpn_sub_1): Likewise.
29214 (mpn_submul_1): Likewise.
29215 (mpn_sub_n): Likewise.
29216
44af8a32
L
292172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29218
29219 [BZ #18822]
29220 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29221 (__wcscat): Likewise.
29222 (__btowc): Likewise.
29223 (__wcrtomb): Likewise.
29224 (__mbsrtowcs): Likewise.
29225 (__wcsrtombs): Likewise.
29226 (__mbsnrtowcs): Likewise.
29227 (__wcsnrtombs): Likewise.
29228 (__wcsncpy): Likewise.
29229 (__wcpncpy): Likewise.
29230 (__wmemcpy): Likewise.
29231 (__wmempcpy): Likewise.
29232 (__wmemmove): Likewise.
29233 (__wcschrnul): Likewise.
29234 (__vfwscanf): Likewise.
29235 (__vswprintf): Likewise.
29236 (__fwprintf): Likewise.
29237 (__vfwprintf): Likewise.
29238
783cd767
L
292392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29240
29241 [BZ #18822]
29242 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29243 (__getgrgid_r): Likewise.
29244 (__getgrnam_r): Likewise.
29245 * include/pwd.h (__getpwuid_r): Likewise.
29246 (__getpwnam_r): Likewise.
29247 (__fgetpwent_r): Likewise.
29248 * include/shadow.h (__getspnam_r): Likewise.
29249 (__sgetspent_r): Likewise.
29250 (__fgetspent_r): Likewise.
29251
7ec4b39a
L
292522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29253
29254 [BZ #18822]
29255 * include/unistd.h (__access): Add attribute_hidden.
29256 (__lseek64): Likewise.
29257 (__libc_pread64): Likewise.
29258 (__pipe2): Likewise.
29259 (__sleep): Likewise.
29260 (__chdir): Likewise.
29261 (__fchdir): Likewise.
29262 (__getcwd): Likewise.
29263 (__rmdir): Likewise.
29264 (__execvpe): Likewise.
29265 (__execve): Likewise.
29266 (__setsid): Likewise.
29267 (__getuid): Likewise.
29268 (__geteuid): Likewise.
29269 (__getgid): Likewise.
29270 (__getegid): Likewise.
29271 (__getgroups): Likewise.
29272 (__group_member): Likewise.
29273 (__ttyname_r): Likewise.
29274 (__isatty): Likewise.
29275 (__readlink): Likewise.
29276 (__unlink): Likewise.
29277 (__gethostname): Likewise.
29278 (__profil): Likewise.
29279 (__getdtablesize): Likewise.
29280 (__brk): Likewise.
29281 (__ftruncate): Likewise.
29282 (__ftruncate64): Likewise.
29283
8345a760
L
292842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29285
29286 [BZ #18822]
29287 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29288 * argp/argp-fs-xinl.c: Likewise.
29289 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29290 * argp/argp-parse.c: Include <argp.h>.
29291 * argp/argp-xinl.c: Likewise.
29292 * include/argp-fmtstream.h: New file.
29293 * include/argp.h (__argp_error): Add attribute_hidden.
29294 (__argp_failure): Likewise.
29295 (__argp_input): Likewise.
29296 (__argp_state_help): Likewise.
29297
c26dd7c6
L
292982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29299
29300 [BZ #18822]
29301 * include/wchar.h (____wcstof_l_internal): New prototype.
29302 (____wcstod_l_internal): Likewise.
29303 (____wcstold_l_internal): Likewise.
29304 (____wcstol_l_internal): Likewise.
29305 (____wcstoul_l_internal): Likewise.
29306 (____wcstoll_l_internal): Likewise.
29307 (____wcstoull_l_internal): Likewise.
29308 (____wcstof128_l_internal): Likewise.
29309 * sysdeps/ieee754/float128/wcstof128.c
29310 (____wcstof128_l_internal): Removed.
29311 * sysdeps/ieee754/float128/wcstof128_l.c
29312 (____wcstof128_l_internal): Likewise.
29313 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29314 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29315 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29316 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29317 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29318 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29319 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29320 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29321 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29322 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29323
3aff5644
L
293242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29325
29326 [BZ #18822]
29327 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29328 instead of <sys/statvfs.h>.
29329 (__internal_statvfs): Removed.
29330 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29331 instead of <sys/statvfs.h>.
29332 (__internal_statvfs64): Removed.
29333 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29334 "internal_statvfs.h" instead of <sys/statvfs.h>.
29335 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29336 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29337 instead of <sys/statvfs.h>.
29338 (__internal_statvfs): Removed.
29339 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29340 instead of <sys/statvfs.h>.
29341 (__internal_statvfs64): Removed.
29342
8bcdb7e0
L
293432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29344
29345 [BZ #18822]
29346 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29347 (__gconv_close): Likewise.
29348 (__gconv): Likewise.
29349 (__gconv_find_transform): Likewise.
29350 (__gconv_lookup_cache): Likewise.
29351 (__gconv_compare_alias_cache): Likewise.
29352 (__gconv_load_cache): Likewise.
29353 (__gconv_get_path): Likewise.
29354 (__gconv_close_transform): Likewise.
29355 (__gconv_release_cache): Likewise.
29356 (__gconv_find_shlib): Likewise.
29357 (__gconv_release_shlib): Likewise.
29358 (__gconv_get_builtin_trans): Likewise.
29359 (__gconv_compare_alias): Likewise.
29360 * include/dlfcn.h (_dlerror_run): Likewise.
29361 * include/stdio.h (__fortify_fail_abort): Likewise.
29362 * include/time.h (__tz_compute): Likewise.
29363 (__strptime_internal): Likewise.
29364 * intl/gettextP.h (_nl_find_domain): Likewise.
29365 (_nl_load_domain): Likewise.
29366 (_nl_find_msg): Likewise.
29367 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29368 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29369 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29370 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29371 (__gai_find_request): Likewise.
29372 (__gai_remove_request): Likewise.
29373 (__gai_notify): Likewise.
29374 (__gai_notify_only): Likewise.
29375 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29376 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29377 (_dl_non_dynamic_init): Likewise.
29378 (_dl_aux_init): Likewise.
29379 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29380 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29381 Likewise.
29382 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29383 (__wcsmbs_clone_conv): Likewise.
29384 (__wcsmbs_named_conv): Likewise.
29385
8ed3b643
L
293862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29387
29388 [BZ #18822]
29389 * include/stdlib.h (__random): Add attribute_hidden.
29390 (__random_r): Likewise.
29391 (__srandom_r): Likewise.
29392 (__initstate_r): Likewise.
29393 (__setstate_r): Likewise.
29394 (__erand48_r): Likewise.
29395 (__nrand48_r): Likewise.
29396 (__jrand48_r): Likewise.
29397 (__srand48_r): Likewise.
29398 (__seed48_r): Likewise.
29399 (__lcong48_r): Likewise.
29400 (__drand48_iterate): Likewise.
29401 (__setenv): Likewise.
29402 (__unsetenv): Likewise.
29403 (__clearenv): Likewise.
29404 (__ptsname_r): Likewise.
29405 (__posix_openpt): Likewise.
29406 (__add_to_environ): Likewise.
29407 (__realpath): Add libc_hidden_proto.
29408 (__ecvt_r): Likewise.
29409 (__fcvt_r): Likewise.
29410 (__qecvt_r): Likewise.
29411 (__qfcvt_r): Likewise.
29412 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29413 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29414
ef9b6f73
L
294152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29416
29417 [BZ #18822]
29418 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29419 * include/time.h (__mktime_internal): Likewise.
29420 * libio/iolibio.h (__fopen_internal): Likewise.
29421
8da92e72
JDA
294222017-10-01 John David Anglin <danglin@gcc.gnu.org>
29423
29424 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29425 pointer in frame.
29426 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29427 Correct offset used to restore PIC register.
29428
388784cf
JDA
294292017-09-30 John David Anglin <danglin@gcc.gnu.org>
29430
29431 [BZ libc/22165]
29432 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29433 code to load address of __getcontext_ret when generating PIC code.
29434
2000067a
L
294352017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29436
29437 * elf/Makefile (tests-static-internal): Add
29438 tst-tls1-static-non-pie.
29439 (LDFLAGS-tst-tls1-static-non-pie): New.
29440 * elf/tst-tls1-static-non-pie.c: New file.
29441
1e2bffd0
JM
294422017-09-29 Joseph Myers <joseph@codesourcery.com>
29443
29444 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29445 (asinh): Define using libm_alias_double.
29446 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29447 (cbrt): Define using libm_alias_double.
29448 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29449 <libm-alias-double.h>.
29450 (copysign): Define using libm_alias_double.
29451 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29452 (erf): Define using libm_alias_double.
29453 (erfc): Likewise.
29454 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29455 (expm1): Define using libm_alias_double.
29456 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29457 (fabs): Define using libm_alias_double.
29458 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29459 libm_alias_double.
29460 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29461 <libm-alias-double.h>.
29462 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29463 libm_alias_double.
29464 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29465 <libm-alias-double.h>.
29466 (getpayload): Define using libm_alias_double.
29467 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29468 <libm-alias-double.h>.
29469 (llrint): Define using libm_alias_double.
29470 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29471 (lrint): Define using libm_alias_double.
29472 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29473 <libm-alias-double.h>.
29474 (nextup): Define using libm_alias_double.
29475 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29476 <libm-alias-double.h>.
29477 (roundeven): Define using libm_alias_double.
29478 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29479 libm_alias_double.
29480 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29481 <libm-alias-double.h>.
29482 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29483 using libm_alias_double.
29484 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29485 (cos): Define using libm_alias_double.
29486 (sin): Likewise.
29487 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29488 <libm-alias-double.h>.
29489 (sincos): Define using libm_alias_double.
29490 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29491 (tanh): Define using libm_alias_double.
29492 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29493 <libm-alias-double.h>.
29494 (totalorder): Define using libm_alias_double.
29495 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29496 <libm-alias-double.h>.
29497 (totalordermag): Define using libm_alias_double.
29498 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29499 libm_alias_double.
29500 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29501 libm_alias_double.
29502 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29503 <libm-alias-double.h>.
29504 (getpayload): Define using libm_alias_double.
29505 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29506 <libm-alias-double.h>.
29507 (roundeven): Define using libm_alias_double.
29508 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29509 <libm-alias-double.h>.
29510 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29511 <libm-alias-double.h>.
29512 (totalorder): Define using libm_alias_double.
29513 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29514 <libm-alias-double.h>.
29515 (totalordermag): Define using libm_alias_double.
29516 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29517 libc compat symbol here.
29518 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29519 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29520 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29521 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29522 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29523 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29524 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29525 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29526 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29527 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29528
8172aad9
L
295292017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29530
29531 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29532 _dl_relocate_static_pie instead of _dl_start to compute load
29533 address in static PIE. Return 0 if _DYNAMIC is undefined for
29534 static executable.
29535
54464e74
L
295362017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29537
29538 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29539 _DYNAMIC is undefined for static executable.
29540
f6c5e5bc
L
295412017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29542
29543 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29544
2f92505d
JM
295452017-09-29 Joseph Myers <joseph@codesourcery.com>
29546
29547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29548
bd8d53bb
WD
295492017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29550
29551 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29552 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29553 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29554 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29555 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29556 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29557 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29558 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29559 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29560 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29561 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29562 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29563 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29564 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29565 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29566 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29567 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29568
fffb1507
WD
295692017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29570
29571 * math/bits/cmathcalls.h (cimag): Remove inline.
29572 (creal): Remove inline.
29573 (conj): Remove inline.
29574
4ea49f4c
SN
295752017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29576
29577 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29578 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29579 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29580 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29581 (issignalingf_inline): Likewise.
29582 (POWF_LOG2_TABLE_BITS): Likewise.
29583 (POWF_LOG2_POLY_ORDER): Likewise.
29584 (POWF_SCALE_BITS): Likewise.
29585 (POWF_SCALE): Likewise.
29586 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29587 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29588 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29589
875c76c7
SN
295902017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29591
29592 * math/Makefile (type-float-routines): Add e_log2f_data.
29593 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29594 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29595 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29596 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29597 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29598 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29599 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29600
90c42e40
SN
296012017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29602
29603 * math/Makefile (type-float-routines): Add e_logf_data.
29604 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29605 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29606 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29607 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29608 * sysdeps/i386/fpu/e_logf_data.c: New file.
29609 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29610 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29611
4088d8dd
L
296122017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29613
29614 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29615 undefined _DYNAMIC in PIE libc.a.
29616 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29617 Likewse.
29618
4d3693ec
WD
296192017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29620
29621 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29622 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29623 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29624 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29625 (__signbit): Remove.
29626 (__signbitl): Remove.
29627 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29628 (__signbit): Remove.
29629 (__signbitl): Remove.
29630 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29631 (__signbit): Remove.
29632 (__signbitl): Remove.
29633 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29634 (__signbit): Remove.
29635 (__signbitl): Remove.
29636 * sysdeps/tile/bits/mathinline.h: Delete file.
29637 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29638 (__signbit): Remove.
29639 (__signbitl): Remove.
29640
1e6d0723
WD
296412017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29642
29643 * math/math.h: Improve handling of C99 isgreater macros.
29644 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29645 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29646 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29647 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29648 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29649
b2f03cf3
SN
296502017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29651
29652 * sysdeps/aarch64/libm-test-ulps: Update.
29653
f124cb38
JM
296542017-09-28 Joseph Myers <joseph@codesourcery.com>
29655
29656 [BZ #22225]
29657 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29658 math_opt_barrier on argument when doing arithmetic on it.
29659 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29660 Likewise. Use math_force_eval not math_opt_barrier after
29661 arithmetic.
29662 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29663 math_opt_barrier on argument when doing arithmetic on it.
29664 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29665 Likewise.
29666
7edd0691
L
296672017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29668
29669 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29670 libc_hidden_def.
29671 (__freeifaddrs): Likewise.
29672
2c7bbfaf
ST
296732017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29674
29675 * include/dirent.h (__dirfd): New declaration.
29676 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29677 alias.
29678 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29679 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29680 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
29681 * include/unistd.h (__revoke): New declaration.
29682 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29683 alias.
29684 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29685 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29686 revoke.
64a4af28
ST
29687 * include/dirent.h (__seekdir): New declaration.
29688 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29689 redefine as weak alias.
29690 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29691 of seekdir.
4009ddc6
ST
29692 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29693 and use libc_hidden_def on them.
29694 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29695 them.
29696 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29697 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29698 instead of getifaddrs and freeifaddrs.
2c7bbfaf 29699
825adeee
L
297002017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29701
29702 [BZ #18822]
29703 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29704 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29705 (__dso_handle): Remove declaration.
29706 * dlfcn/tstatexit.c (__dso_handle): Removed.
29707 (main): Don't check __dso_handle.
29708 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29709 (main): Don't check __dso_handle.
29710 * include/dso_handle.h: New file.
29711 * malloc/mtrace.c: Include <dso_handle.h>.
29712 (mtrace): Pass __dso_handle directly.
29713 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29714 (__dso_handle): Remove declaration.
29715 (__pthread_atfork): Pass __dso_handle directly.
29716 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29717 (__dso_handle): Removed.
29718 * posix/wordexp-test.c: Include <dso_handle.h>.
29719 (__dso_handle): Remove declaration.
29720 (__app_register_atfork): Pass __dso_handle directly.
29721 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29722 (__dso_handle): Remove declaration.
29723 (at_quick_exit): Pass __dso_handle directly.
29724 * stdlib/atexit.c: Include <dso_handle.h>.
29725 (__dso_handle): Remove declaration.
29726 (atexit): Pass __dso_handle directly.
29727 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29728 (__dso_handle): Removed.
29729
bfb0deb3
JM
297302017-09-26 Joseph Myers <joseph@codesourcery.com>
29731
29732 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29733 using VDSO.
29734
cebcb9f8
AM
297352017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29736
29737 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29738 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29739 values to correct default value for given type.
29740
592d5c75
L
297412017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29742
29743 [BZ #22101]
29744 * elf/Makefile (tests): Add tst-debug1.
29745 ($(objpfx)tst-debug1): New.
29746 ($(objpfx)tst-debug1.out): Likewise.
29747 ($(objpfx)tst-debug1mod1.so): Likewise.
29748 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29749 with p_filesz == 0.
29750 * elf/tst-debug1.c: New file.
29751
2d9193f2
JM
297522017-09-26 Joseph Myers <joseph@codesourcery.com>
29753
29754 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29755 Define using __ifunc.
29756
4c5a7a02
TMQMF
297572017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29758
29759 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29760 exp2f() values.
29761
12ef66c4
JM
297622017-09-26 Joseph Myers <joseph@codesourcery.com>
29763
29764 [BZ #22156]
29765 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29766
44dade71
FW
297672017-09-26 Florian Weimer <fweimer@redhat.com>
29768
29769 * resolv/Makefile (tests-internal): Fix typo in comment.
29770
eaca16f1
FW
297712017-09-26 Florian Weimer <fweimer@redhat.com>
29772
29773 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29774
ccf970c7
AZ
297752017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29776
5f9f31ad
AZ
29777 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29778 Use an union instead of a max_align_t array for __space,
29779 so that __space is the same size on all platforms.
29780 * malloc/scratch_buffer_grow_preserve.c
29781 (__libc_scratch_buffer_grow_preserve): Likewise.
29782
ccf970c7
AZ
29783 [BZ #22183]
29784 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29785 version to 2.
29786 * posix/Makefile (routines): Add glob-lstat-compat and
29787 glob64-lstat-compat.
29788 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29789 * posix/glob-lstat-compat.c: New file.
29790 * posix/glob64-lstat-compat.c: Likewise.
29791 * posix/tst-glob_lstat_compat.c: Likewise.
29792 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29793 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29794 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29795 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29796 Likewise.
29797 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29798 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29799 * posix/glob.c (glob_lstat): New function.
29800 (glob): Rename to __glob and add versioned symbol to 2.27.
29801 (glob_in_dir): Use glob_lstat.
29802 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29803 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29804 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29805 2.27.
29806 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29807 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29808 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29809 gl_lstat on glob call.
29810 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29811 and glob64 symbols.
29812 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29813 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29814 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29815 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29816 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29817 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29818 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29819 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29820 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29821 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29822 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29823 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29825 Likewise.
29826 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29828 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29829 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29830 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29831 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29832 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29835 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29836 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29837 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29838
b4396163
L
298392017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29840
29841 * configure.ac (AS): Require binutils 2.25 or later.
29842 * configure: Regenerated.
29843
8f834987
PP
298442017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29845
29846 [BZ #22207]
29847 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29848 VM size.
29849
3de93d19
DD
298502017-09-25 DJ Delorie <dj@redhat.com>
29851
29852 [BZ #22161]
29853 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29854 resetting timeout.
29855
9947638d
SL
298562017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29857
29858 * sysdeps/ieee754/dbl-64/sincos32.h
29859 [SINCCOS32_H]: Remove define.
29860 [SINCOS32_H]: Define.
29861
f5f0f526
SN
298622017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29863
29864 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29865 (exp2f): Likewise.
29866 * math/w_exp2f.c: New file.
29867 * math/w_expf.c: New file.
29868 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29869 * math/w_expf_compat.c (__expf_compat): Likewise.
29870 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29871 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29872 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29873 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29874 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29875 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29876 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29877 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29878 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29879 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29880 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29881 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29882 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29883 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29885 Likewise.
29886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29887 Likewise.
29888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29889 Likewise.
29890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29891 Likewise.
29892 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29893 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29894 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29895 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29896 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29898 Likewise.
29899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29900 Likewise.
29901 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29902 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29903 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29904
72aa6233
SN
299052017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29906
29907 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29908 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29909 (roundtoint, converttoint): Likewise.
29910 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29911 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29912 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29913 * sysdeps/ieee754/flt-32/math_config.h: New file.
29914 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29915 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29916 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29917 * sysdeps/i386/fpu/math_errf.c: New file.
29918 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29919 * sysdeps/ia64/fpu/math_errf.c: New file.
29920 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29921 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29922
5e6f3253
ST
299232017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29924
29925 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29926 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29927 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29928 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29929 to make sure that these symbols are defined.
b38a42a0
ST
29930 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29931 of <limits.h>
29932 (__need_NULL): Do not define.
29933 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29934 alignment.
29935 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29936 CMGROUP_MAX, cmsgcred): Do not define.
29937 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29938 NULL.
29939 * bits/socket.h: Likewise.
fcafcd16
ST
29940 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29941 __gettimeofday instead of gettimeofday.
29942 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29943 instead of settimeofday.
5e6f3253 29944
2f49ce7d
JM
299452017-09-22 Joseph Myers <joseph@codesourcery.com>
29946
29947 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29948 (asinhf): Define using libm_alias_float.
29949 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29950 (atanf): Define using libm_alias_float.
29951 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29952 (cbrtf): Define using libm_alias_float.
29953 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29954 (ceilf): Define using libm_alias_float.
29955 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29956 <libm-alias-float.h>.
29957 (copysignf): Define using libm_alias_float.
29958 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29959 (cosf): Define using libm_alias_float.
29960 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29961 (erff): Define using libm_alias_float.
29962 (erfcf): Likewise.
29963 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29964 (expm1f): Define using libm_alias_float.
29965 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29966 (fabsf): Define using libm_alias_float.
29967 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29968 (floorf): Define using libm_alias_float.
29969 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29970 (frexpf): Define using libm_alias_float.
29971 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29972 libm_alias_float.
29973 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29974 <libm-alias-float.h>.
29975 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29976 libm_alias_float.
29977 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29978 <libm-alias-float.h>.
29979 (getpayloadf): Define using libm_alias_float.
29980 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29981 <libm-alias-float.h>.
29982 (llrintf): Define using libm_alias_float.
29983 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29984 <libm-alias-float.h>.
29985 (llroundf): Define using libm_alias_float.
29986 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29987 (logbf): Define using libm_alias_float.
29988 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29989 (lrintf): Define using libm_alias_float.
29990 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29991 (lroundf): Define using libm_alias_float.
29992 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29993 (modff): Define using libm_alias_float.
29994 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29995 <libm-alias-float.h>.
29996 (nearbyintf): Define using libm_alias_float.
29997 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29998 <libm-alias-float.h>.
29999 (nextafterf): Define using libm_alias_float.
30000 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
30001 <libm-alias-float.h>.
30002 (nextupf): Define using libm_alias_float.
30003 * sysdeps/ieee754/flt-32/s_remquof.c: Include
30004 <libm-alias-float.h>.
30005 (remquof): Define using libm_alias_float.
30006 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
30007 (rintf): Define using libm_alias_float.
30008 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
30009 <libm-alias-float.h>.
30010 (roundevenf): Define using libm_alias_float.
30011 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
30012 (roundf): Define using libm_alias_float.
30013 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
30014 using libm_alias_float.
30015 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
30016 <libm-alias-float.h>.
30017 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
30018 Define using libm_alias_float.
30019 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30020 <libm-alias-float.h>.
30021 (sincosf): Define using libm_alias_float.
30022 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30023 (sinf): Define using libm_alias_float.
30024 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30025 (tanf): Define using libm_alias_float.
30026 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30027 (tanhf): Define using libm_alias_float.
30028 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30029 <libm-alias-float.h>.
30030 (totalorderf): Define using libm_alias_float.
30031 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30032 <libm-alias-float.h>.
30033 (totalordermagf): Define using libm_alias_float.
30034 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30035 (truncf): Define using libm_alias_float.
30036 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30037 libm_alias_float.
30038 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30039 libm_alias_float.
30040
c5c4a626
GG
300412017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30042
30043 [BZ #22146]
30044 math/math.h: Let fpclassify use the builtin in C++ mode, even
30045 when optimazing for size.
30046
23947846
JM
300472017-09-22 Joseph Myers <joseph@codesourcery.com>
30048
30049 * csu/Makefile (generated): Do not add version-info.h.
30050 (before-compile): Likewise.
30051 (all-Banner-files): Remove variable.
30052 ($(objpfx)version-info.h): Remove rule.
30053 * csu/version.c (banner): Do not include "version-info.h".
30054 * libidn/Banner: Remove.
30055 * manual/contrib.texi (Simon Josefsson): New entry.
30056
9ac3c682
GG
300572017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30058
30059 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30060 Remove conditionals on LDBL_MANT_DIG.
30061 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30062 (__ieee754_lgammal_r): Likewise.
30063
d2f0ed09
GG
300642017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30065
30066 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30067 _Float128 and L().
30068 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30069 _Float128 and L(). Replace _Float128 with long double and L(x)
30070 with xL, throughout the file.
30071 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30072 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30073 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30074 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30075
c5c2e667
GG
300762017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30077
30078 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30079 sysdeps/ieee754/ldbl-128ibm.
30080 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30081 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30082 of including it. Keep _Float128 and L() intact. These will be
30083 reviewed by a separate patch.
30084 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30085 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30086 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30087 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30088
e010deb2
GG
300892017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30090
30091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30092 (__finitef128): Define to __redirect___finitef128.
30093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30094 (__isinff128): Define to __redirect___isinff128.
30095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30096 (__isnanf128): Define to __redirect___isnanf128.
30097
ffa44804
GG
300982017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30099
30100 * sysdeps/powerpc/powerpc64le/Makefile
30101 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30102 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30103
e5e4d7cc
PP
301042017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30105 Carlos O'Donell <carlos@redhat.com>
30106
30107 [BZ #22180]
30108 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30109 * stdlib/test-dlclose-exit-race.c: New file.
30110 * stdlib/test-dlclose-exit-race-helper.c: New file.
30111 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30112
c10c5267
JM
301132017-09-21 Joseph Myers <joseph@codesourcery.com>
30114
30115 * crypt/Banner: Remove file.
30116 * nptl/Banner: Likewise.
30117 * resolv/Banner: Likewise.
30118 * soft-fp/Banner: Likewise.
30119 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30120 ($(objpfx)version.d): Remove dependency on banner.h.
30121 ($(objpfx)version.os): Likewise.
30122 * nptl/version.c (banner): Do not include banner.h.
30123 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30124 Jelinek and BIND code.
30125
1cc9e59a
PP
301262017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30127 Carlos O'Donell <carlos@redhat.com>
30128
30129 * support/xdlfcn.h: New file.
30130 * support/xdlfcn.c: New file.
30131 * support/Makefile (libsupport-routines): Add xdlfcn.
30132 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30133
ae8372d7
JM
301342017-09-20 Joseph Myers <joseph@codesourcery.com>
30135
30136 [BZ #20142]
30137 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30138 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30139 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30140 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30141 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30142 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30143 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30144 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30145
26e70aec 301462017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
30147 Ricky Zhou <rickyz@google.com>
30148 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
30149
30150 [BZ #14333]
30151 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30152 Remove atomics.
30153 (__new_exitfn): Fail registration when we finished at_exit processing.
30154 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30155 * stdlib/on_exit.c (__on_exit): Likewise.
30156 * stdlib/exit.c (__exit_funcs_done): New variable.
30157 (__run_exit_handlers): Use __exit_funcs_lock.
30158 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30159 declarations.
30160 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30161 (test-cxa_atexit-race, test-on_exit-race): New tests.
30162 * stdlib/test-atexit-race-common.c: New file.
30163 * stdlib/test-atexit-race.c: New file.
30164 * stdlib/test-at_quick_exit-race.c: New file.
30165 * stdlib/test-cxa_atexit-race.c: New file.
30166 * stdlib/test-on_exit-race.c: New file.
30167
0525ce48
SN
301682017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30169
30170 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30171 * benchtests/exp2f-inputs: Copy of expf-inputs.
30172 * benchtests/log2f-inputs: Copy of logf-inputs.
30173
d82468d1
JM
301742017-09-19 Joseph Myers <joseph@codesourcery.com>
30175
30176 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30177 Explicitly take address of first element of array arguments in
30178 call to INLINE_SYSCALL.
30179
43ffc53a
AS
301802017-09-19 Andreas Schwab <schwab@suse.de>
30181
30182 [BZ #22134]
30183 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30184 execveat first.
30185 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30186 unimplemented.
30187 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30188 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30189 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30190 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30191 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30192 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30193 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30194 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30195 * posix/Makefile (tests): Add tst-fexecve.
30196 * posix/tst-fexecve.c: New file.
30197
a5dcc87e
WD
301982017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30199
30200 * benchtests/Makefile: Add logf benchmark.
30201 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30202
7024d544
WD
302032017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30204
30205 * benchtests/Makefile: Add expf benchmark.
30206 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30207
ca3a382e
WD
302082017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30209
30210 * csu/Makefile: Add -funwind-tables to libc-start.c.
30211 * debug/Makefile: Add -funwind-tables to backtrace.c.
30212 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30213 * sysdeps/arm/Makefile: Likewise.
30214 * sysdeps/i386/Makefile: Likewise.
30215 * sysdeps/m68k/Makefile: Likewise.
30216 * sysdeps/mips/Makefile: Likewise.
30217 * sysdeps/nios2/Makefile: Likewise.
30218 * sysdeps/sh/Makefile: Likewise.
30219 * sysdeps/sparc/Makefile: Likewise.
30220
eb375def
JM
302212017-09-19 Joseph Myers <joseph@codesourcery.com>
30222
30223 * benchtests/Makefile (bench-math): Add trunc and truncf.
30224 (CFLAGS-bench-trunc.c): New variable.
30225 (CFLAGS-bench-truncf.c): Likewise.
30226 * benchtests/trunc-inputs: New file.
30227 * benchtests/truncf-inputs: Likewise.
30228
bd17ba29
RS
302292017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30230
30231 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30232
92892fdb
JM
302332017-09-18 Joseph Myers <joseph@codesourcery.com>
30234
6d9b0b5a
JM
30235 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30236 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30237 redefine.
30238 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30239 (exp10l): Define as weak alias.
30240 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30241 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30242 and redefine.
30243 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30244 (remainderl): Define as weak alias.
30245
92892fdb
JM
30246 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30247 (fmal): Define using libm_alias_ldouble.
30248 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30249 (acoshl): Define using libm_alias_ldouble.
30250 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30251 (acosl): Define using libm_alias_ldouble.
30252 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30253 (asinl): Define using libm_alias_ldouble.
30254 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30255 (atan2l): Define using libm_alias_ldouble.
30256 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30257 (atanhl): Define using libm_alias_ldouble.
30258 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30259 (coshl): Define using libm_alias_ldouble.
30260 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30261 (exp10l): Define using libm_alias_ldouble.
30262 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30263 (exp2l): Define using libm_alias_ldouble.
30264 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30265 (expl): Define using libm_alias_ldouble.
30266 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30267 (fmodl): Define using libm_alias_ldouble.
30268 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30269 (hypotl): Define using libm_alias_ldouble.
30270 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30271 (j0l): Define using libm_alias_ldouble.
30272 (y0l): Likewise.
30273 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30274 (j1l): Define using libm_alias_ldouble.
30275 (y1l): Likewise.
30276 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30277 (jnl): Define using libm_alias_ldouble.
30278 (ynl): Likewise.
30279 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30280 (log10l): Define using libm_alias_ldouble.
30281 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30282 (log2l): Define using libm_alias_ldouble.
30283 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30284 (logl): Define using libm_alias_ldouble.
30285 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30286 (powl): Define using libm_alias_ldouble.
30287 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30288 (remainderl): Define using libm_alias_ldouble.
30289 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30290 (sinhl): Define using libm_alias_ldouble.
30291 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30292 (sqrtl): Define using libm_alias_ldouble.
30293 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30294 (tgammal): Define using libm_alias_ldouble.
30295 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30296 (exp10l): Do not use long_double_symbol here.
30297 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30298 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30299 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30300 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30301 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30302 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30303 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30304 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30305 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30306 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30307 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30308 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30309 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30310 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30311 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30312 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30313 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30314 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30315 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30316 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30317 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30318 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30319
6cd380dd
WB
303202017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30321
30322 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30323 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30324
1c6d89e9
ST
303252017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30326
30327 * io/read.c (read): Add libc_hidden_weak.
30328 * sysdeps/mach/hurd/read.c (read): Likewise.
30329 * io/write.c (write): Likewise.
30330 * sysdeps/mach/hurd/write.c (write): Likewise.
30331 * io/pread64.c (__pread64): Likewise.
30332 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30333 * posix/pread64.c (__pread64): Add libc_hidden_def.
30334
06b1de23
SP
303352017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30336
140647ea
SP
30337 * benchtests/scripts/compare_strings.py: New option -g.
30338 (draw_graph): Print a message that a graph is being generated.
30339 (process_results): Generate graph only if -g is passed.
30340 (main): Process option -g.
30341
5a6547b7
SP
30342 * benchtests/scripts/compare_strings.py (process_results):
30343 Better spacing for output.
30344
06b1de23
SP
30345 * benchtests/scripts/compare_strings.py: Use argparse.
30346 * benchtests/README: Document existence of compare_strings.py.
30347
c67a2328
JM
303482017-09-15 Joseph Myers <joseph@codesourcery.com>
30349
9ac44708
JM
30350 * math/s_fma.c: Include <libm-alias-double.h>.
30351 (fma): Define using libm_alias_double.
30352 * math/s_nextafter.c: Include <libm-alias-double.h>.
30353 (nextafter): Define using libm_alias_double.
30354 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30355 (acos): Define using libm_alias_double.
30356 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30357 (aocsh): Define using libm_alias_double.
30358 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30359 (asin): Define using libm_alias_double.
30360 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30361 (atan2): Define using libm_alias_double.
30362 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30363 (atanh): Define using libm_alias_double.
30364 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30365 (cosh): Define using libm_alias_double.
30366 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30367 (exp10): Define using libm_alias_double.
30368 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30369 (exp2): Define using libm_alias_double.
30370 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30371 (exp): Define using libm_alias_double.
30372 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30373 (fmod): Define using libm_alias_double.
30374 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30375 (hypot): Define using libm_alias_double.
30376 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30377 (j0): Define using libm_alias_double.
30378 (y0): Likewise.
30379 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30380 (j1): Define using libm_alias_double.
30381 (y1): Likewise.
30382 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30383 (jn): Define using libm_alias_double.
30384 (yn): Likewise.
30385 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30386 (log10): Define using libm_alias_double.
30387 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30388 (log2): Define using libm_alias_double.
30389 * math/w_log_compat.c: Include <libm-alias-double.h>.
30390 (log): Define using libm_alias_double.
30391 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30392 (pow): Define using libm_alias_double.
30393 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30394 (remainder): Define using libm_alias_double.
30395 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30396 (sinh): Define using libm_alias_double.
30397 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30398 (sqrt): Define using libm_alias_double.
30399 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30400 (tgamma): Define using libm_alias_double.
30401 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30402 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30403 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30404 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30405 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30406 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30407 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30408 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30409 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30410 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30411 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30412 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30413 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30414 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30415 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30416 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30417 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30418 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30419 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30420 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30421 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30422 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30423 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30424 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30425 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30426
c67a2328
JM
30427 * math/e_acoshl.c: Remove.
30428 * math/e_acosl.c: Likewise.
30429 * math/e_asinl.c: Likewise.
30430 * math/e_atan2l.c: Likewise.
30431 * math/e_atanhl.c: Likewise.
30432 * math/e_coshl.c: Likewise.
30433 * math/e_expl.c: Likewise.
30434 * math/e_fmodl.c: Likewise.
30435 * math/e_gammal_r.c: Likewise.
30436 * math/e_hypotl.c: Likewise.
30437 * math/e_j0l.c: Likewise.
30438 * math/e_j1l.c: Likewise.
30439 * math/e_jnl.c: Likewise.
30440 * math/e_lgammal_r.c: Likewise.
30441 * math/e_log10l.c: Likewise.
30442 * math/e_log2l.c: Likewise.
30443 * math/e_logl.c: Likewise.
30444 * math/e_powl.c: Likewise.
30445 * math/e_rem_pio2l.c: Likewise.
30446 * math/e_sinhl.c: Likewise.
30447 * math/e_sqrtf128.c: Likewise.
30448 * math/e_sqrtl.c: Likewise.
30449 * math/k_cosl.c: Likewise.
30450 * math/k_sinl.c: Likewise.
30451 * math/k_tanl.c: Likewise.
30452 * math/s_asinhl.c: Likewise.
30453 * math/s_atanl.c: Likewise.
30454 * math/s_cbrtl.c: Likewise.
30455 * math/s_erfl.c: Likewise.
30456 * math/s_expm1l.c: Likewise.
30457 * math/s_log1pl.c: Likewise.
30458 * math/s_tanhl.c: Likewise.
30459
61c45f25
TMQMF
304602017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30461
30462 [BZ #21745]
30463 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30464 [$(subdir) = math] (sysdep_calls): New variable. Has the
30465 previous contents of sysdep_routines, but re-sorted..
30466 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30467 sysdep_calls.
30468 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30469 defined in sysdep_calls and replace by the respective m_* names.
30470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30471 (compat_symbol): Undefine to avoid duplicated compat symbols in
30472 libc.
30473
5bcdb315
JM
304742017-09-15 Joseph Myers <joseph@codesourcery.com>
30475
30476 * math/s_fmaf.c: Include <libm-alias-float.h>.
30477 (fmaf): Define using libm_alias_float.
30478 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30479 (acosf): Define using libm_alias_float.
30480 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30481 (acoshf): Define using libm_alias_float.
30482 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30483 (asinf): Define using libm_alias_float.
30484 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30485 (atan2f): Define using libm_alias_float.
30486 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30487 (atanhf): Define using libm_alias_float.
30488 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30489 (coshf): Define using libm_alias_float.
30490 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30491 (exp10f): Define using libm_alias_float.
30492 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30493 (fmodf): Define using libm_alias_float.
30494 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30495 (hypotf): Define using libm_alias_float.
30496 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30497 (j0f): Define using libm_alias_float.
30498 (y0f): Likewise.
30499 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30500 (j1f): Define using libm_alias_float.
30501 (y1f): Likewise.
30502 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30503 (jnf): Define using libm_alias_float.
30504 (ynf): Likewise.
30505 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30506 (log10f): Define using libm_alias_float.
30507 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30508 (log2f): Define using libm_alias_float.
30509 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30510 (logf): Define using libm_alias_float.
30511 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30512 (powf): Define using libm_alias_float.
30513 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30514 (remainderf): Define using libm_alias_float.
30515 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30516 (sinhf): Define using libm_alias_float.
30517 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30518 (sqrtf): Define using libm_alias_float.
30519 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30520 (tgammaf): Define using libm_alias_float.
30521
01f28812
JM
305222017-09-14 Joseph Myers <joseph@codesourcery.com>
30523
30524 * include/math.h (roundeven): Change hidden_proto call to
30525 __roundeven.
30526 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30527 alias.
30528 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30529 (y0): Rename to __y0 and define as weak alias.
30530 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30531 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30532 alias.
30533 (y0f): Rename to __y0f and define as weak alias.
30534 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30535 alias.
30536 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30537 (y1): Rename to __y1 and define as weak alias.
30538 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30539 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30540 alias.
30541 (y1f): Rename to __y1f and define as weak alias.
30542 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30543 alias.
30544 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30545 (yn): Rename to __yn and define as weak alias.
30546 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30547 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30548 alias.
30549 (ynf): Rename to __ynf and define as weak alias.
30550 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30551 (fromfp): Define as weak alias.
30552 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30553 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30554 (fromfpx): Define as weak alias.
30555 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30556 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30557 __getpayload and define as weak alias.
30558 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30559 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30560 __roundeven and define as weak alias.
30561 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30562 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30563 __setpayload.
30564 (setpayload): Define as weak alias.
30565 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30566 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30567 __setpayloadsig.
30568 (setpayloadsig): Define as weak alias.
30569 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30570 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30571 __totalorder and define as weak alias.
30572 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30573 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30574 to __totalordermag and define as weak alias.
30575 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30576 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30577 (ufromfp): Define as weak alias.
30578 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30579 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30580 __ufromfpx.
30581 (ufromfpx): Define as weak alias.
30582 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30583 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30584 Rename to __getpayload and define as weak alias.
30585 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30586 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30587 Rename to __roundeven and define as weak alias.
30588 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30589 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30590 Rename to __totalorder and define as weak alias.
30591 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30592 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30593 (totalordermag): Rename to __totalordermag and define as weak
30594 alias.
30595 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30596 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30597 macro.
30598 (__roundevenl): Likewise.
30599 (__totalorderl): Likewise.
30600 (__totalordermagl): Likewise
30601 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30602 __fromfpf128.
30603 (fromfpf128): Define as weak alias.
30604 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30605 __fromfpxf128.
30606 (fromfpxf128): Define as weak alias.
30607 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30608 __setpayloadf128.
30609 (setpayloadf128): Define as weak alias.
30610 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30611 __setpayloadsigf128.
30612 (setpayloadsigf128): Define as weak alias.
30613 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30614 __ufromfpf128.
30615 (ufromfpf128): Define as weak alias.
30616 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30617 __ufromfpxf128.
30618 (ufromfpxf128): Define as weak alias.
30619 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30620 (fromfpf): Define as weak alias.
30621 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30622 __fromfpxf.
30623 (fromfpxf): Define as weak alias.
30624 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30625 __getpayloadf and define as weak alias.
30626 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30627 __roundevenf and define as weak alias.
30628 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30629 __setpayloadf.
30630 (setpayloadf): Define as weak alias.
30631 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30632 __setpayloadsigf.
30633 (setpayloadsigf): Define as weak alias.
30634 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30635 __totalorderf and define as weak alias.
30636 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30637 Rename to __totalordermagf and define as weak alias.
30638 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30639 __ufromfpf.
30640 (ufromfpf): Define as weak alias.
30641 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30642 __ufromfpxf.
30643 (ufromfpxf): Define as weak alias.
30644 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30645 __fromfpl.
30646 (fromfpl): Define as weak alias.
30647 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30648 __fromfpxl.
30649 (fromfpxl): Define as weak alias.
30650 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30651 to __getpayloadl and define as weak alias.
30652 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30653 __roundevenl and define as weak alias.
30654 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30655 __setpayloadl.
30656 (setpayloadl): Define as weak alias.
30657 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30658 __setpayloadsigl.
30659 (setpayloadsigl): Define as weak alias.
30660 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30661 to __totalorderl and define as weak alias.
30662 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30663 Rename to __totalordermagl and define as weak alias.
30664 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30665 __ufromfpl.
30666 (ufromfpl): Define as weak alias.
30667 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30668 __ufromfpxl.
30669 (ufromfpxl): Define as weak alias.
30670 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30671 __fromfpl.
30672 (fromfpl): Define as weak alias.
30673 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30674 __fromfpxl.
30675 (fromfpxl): Define as weak alias.
30676 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30677 Rename to __getpayloadl and define as weak alias.
30678 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30679 to __roundevenl and define as weak alias. Call __roundeven
30680 instead of roundeven.
30681 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30682 __setpayloadl.
30683 (setpayloadl): Define as weak alias.
30684 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30685 __setpayloadsigl.
30686 (setpayloadsigl): Define as weak alias.
30687 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30688 Rename to __totalorderl and define as weak alias.
30689 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30690 Rename to __totalordermagl and define as weak alias.
30691 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30692 __ufromfpl.
30693 (ufromfpl): Define as weak alias.
30694 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30695 __ufromfpxl.
30696 (ufromfpxl): Define as weak alias.
30697 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30698 __fromfpl.
30699 (fromfpl): Define as weak alias.
30700 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30701 __fromfpxl.
30702 (fromfpxl): Define as weak alias.
30703 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30704 __getpayloadl and define as weak alias.
30705 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30706 __roundevenl and define as weak alias.
30707 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30708 __setpayloadl.
30709 (setpayloadl): Define as weak alias.
30710 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30711 __setpayloadsigl.
30712 (setpayloadsigl): Define as weak alias.
30713 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30714 __totalorderl and define as weak alias.
30715 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30716 Rename to __totalordermagl and define as weak alias.
30717 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30718 __ufromfpl.
30719 (ufromfpl): Define as weak alias.
30720 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30721 __ufromfpxl.
30722 (ufromfpxl): Define as weak alias.
30723
29c933fb
SP
307242017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30725
503c92c3
SP
30726 * benchtests/bench-string.h (realloc_bufs): New function.
30727 (test_init): Call it.
30728 * benchtests/bench-memset-large.c (do_test): Likewise.
30729 * benchtests/bench-memset.c (do_test): Likewise.
30730
29c933fb
SP
30731 * benchtests/bench-memset-large.c: Print output in JSON
30732 format.
30733 * benchtests/bench-memset.c: Likewise.
30734
799c8d69
MF
307352017-09-14 Mike FABIAN <mfabian@redhat.com>
30736
30737 [BZ #21084]
30738 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30739 * iconvdata/Makefile: Add IBM858.
30740 * iconvdata/gconv-modules: Likewise.
30741 * iconvdata/tst-tables.sh: Likewise.
30742 * iconvdata/ibm858.c: New file.
30743 * localedata/charmaps/IBM858: Likewise.
30744
c207f7ce 307452017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
30746
30747 [BZ #22023]
30748 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30749 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30750
f28a0926
AK
307512017-09-14 Mike FABIAN <mfabian@redhat.com>
30752
30753 [BZ #22112]
30754 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30755 and add tel_int_fmt.
30756
02093e62
JM
307572017-09-14 Joseph Myers <joseph@codesourcery.com>
30758
30759 * sysdeps/generic/libm-alias-float128.h: New file.
30760 * sysdeps/generic/math-type-macros-float128.h: Include
30761 <libm-alias-float128.h>.
30762 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30763
1aae75ef
JM
307642017-09-13 Joseph Myers <joseph@codesourcery.com>
30765
30766 * sysdeps/generic/libm-alias-ldouble.h: New file.
30767 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30768 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30769 * sysdeps/generic/math-type-macros-ldouble.h: Include
30770 <libm-alias-ldouble.h>.
30771 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30772 libm_alias_ldouble.
30773
bcea7ad6
SN
307742017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30775
30776 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30777 * math/w_exp_compat.c: ... here.
30778 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30779 * math/w_expf_compat.c: ... here.
30780 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30781 * math/w_expl_compat.c: ... here.
30782 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30783 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30784 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30785 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30786
0fc56478
JM
307872017-09-13 Joseph Myers <joseph@codesourcery.com>
30788
30789 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30790 redefine.
30791 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30792 macro.
30793 (ldexpl): Only define as compat symbol for libc, not libm.
30794 (scalbnl): Define as compat symbol for libc here.
30795 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30796 define for [IS_IN (libc)].
30797 (__ldexpl_2): Remove alias.
30798 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30799 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30800 name in long_double_symbol call.
30801 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30802 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30803 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30804 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30805 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30806 Remove macro.
30807 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30808 Define as compat symbol.
30809
3ca622e4
AZ
308102017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30811
30812 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30813 * sysdeps/unix/sysv/linux/alpha/Makefile
30814 [$(subdir) = csu] (sysdep_routines): Remove rule.
30815
620ff9ee
JM
308162017-09-13 Joseph Myers <joseph@codesourcery.com>
30817
30818 * sysdeps/generic/libm-alias-double.h: New file.
30819 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30820 * sysdeps/generic/math-type-macros-double.h: Include
30821 <libm-alias-double.h>.
30822 [declare_mgen_alias] (declare_mgen_alias): Define to use
30823 libm_alias_double.
30824 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30825 (M_LIBM_NEED_COMPAT): Remove macro.
30826 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30827 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30828 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30829 code.
30830 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30831 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30832 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30833 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30834 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30835 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30836 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30837 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30838 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30839 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30840 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30841 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30842 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30843 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30844 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30845 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30846 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30847 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30848 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30849 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30850 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30851 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30852 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30853 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30854 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30855 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30856 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30857 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30858 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30859 macro.
30860 (declare_mgen_alias): New macro.
30861 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30862 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30864 (M_LIBM_NEED_COMPAT): Remove macro.
30865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30866 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30867 <first-versions.h>.
30868 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30869 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30870
a891caff
JM
308712017-09-12 Joseph Myers <joseph@codesourcery.com>
30872
30873 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30874 (declare_mgen_alias_2): Remove.
30875 * sysdeps/generic/math-type-macros-double.h
30876 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30877 Likewise.
30878 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30879 alias.
30880 (ldexp): Define with declare_mgen_alias.
30881 (scalbn): Likewise.
30882
a1a78204
SE
308832017-09-12 Steve Ellcey <sellcey@cavium.com>
30884
30885 * grp/initgroups.c: Include config.h.
30886 (DEFAULT_CONFIG): New macro.
30887 (internal_getgrouplist): Use DEFAULT_CONFIG.
30888 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30889 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30890 (DEFAULT_DEFCONFIG): New macro.
30891 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30892 * nss/grp-lookup.c: Include config.h
30893 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30894 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30895 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30896 * manual/nss.texi: Update default values section.
30897
ef8adeb0
L
308982017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30899
30900 [BZ #21967]
30901 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30902 New.
30903 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30904 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30905 Handle MathVec_Prefer_No_AVX512.
30906 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30907 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30908 is set.
30909
a166531f
ST
309102017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30911
30912 * posix/sched_primax.c (__sched_get_priority_max): Add
30913 libc_hidden_def.
30914 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30915 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30916 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30917 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30918 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30919 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30920 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30921 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30922 Add aliases.
30923
4b7d1efb
JM
309242017-09-11 Joseph Myers <joseph@codesourcery.com>
30925
30926 * sysdeps/generic/libm-alias-float.h: New file.
30927 * sysdeps/generic/math-type-macros-float.h: Include
30928 <libm-alias-float.h>.
30929 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30930
45ff3463
L
309312017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30932
30933 [BZ #22093]
30934 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30935 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30936 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30937 (HWCAP_IMPORTANT): Likewise.
30938 (HWCAP_X86_64): New enum.
30939 (HWCAP_X86_AVX512_1): Updated.
30940 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30941 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30942 (modules-names): Add x86_64/tst-x86_64mod-1.
30943 (LDFLAGS-tst-x86_64mod-1.so): New.
30944 ($(objpfx)tst-x86_64-1): Likewise.
30945 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30946 (tst-x86_64-1-clean): Likewise.
30947 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30948 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30949
891abfd3
SP
309502017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30951
30952 * po/sv.po: Update translations.
30953 * po/fr.po: Likewise.
30954
00c3da43
ST
309552017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30956
30957 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30958 seconds.
3bdfd9fb
ST
30959 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30960 seconds.
65b22ebc 30961 * elf/rtld-Rules: Fix $(error) use.
00c3da43 30962
96480903
MF
309632017-09-09 Mike FABIAN <mfabian@redhat.com>
30964
30965 [BZ #14925]
30966 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30967 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30968 * localedata/locales/bn_BD: “Bengali” was still used in some
30969 comments. Change it to “Bangla”.
30970
4c03a696
MT
309712017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30972
30973 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30974
9c9ec581
SE
309752017-09-08 Steve Ellcey <sellcey@cavium.com>
30976
30977 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30978 thunderx2t99p1 to list of cpu names.
30979 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30980 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30981
f00bce74
SE
309822017-09-08 Steve Ellcey <sellcey@cavium.com>
30983
30984 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30985 Use strcmp instead of tunable_is_name.
30986
27342d17
JM
309872017-09-08 Joseph Myers <joseph@codesourcery.com>
30988
af1b7c8c
JM
30989 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30990 (F_GET_RW_HINT): New macro.
30991 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30992 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30993 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30994 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30995 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30996 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30997 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30998 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30999 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
31000
27342d17
JM
31001 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31002 (F_ADD_SEALS): New macro.
31003 [__USE_GNU] (F_GET_SEALS): Likewise.
31004 [__USE_GNU] (F_SEAL_SEAL): Likewise.
31005 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
31006 [__USE_GNU] (F_SEAL_GROW): Likewise.
31007 [__USE_GNU] (F_SEAL_WRITE): Likewise.
31008
c66c9082
AZ
310092017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31010
07b4f49d
AZ
31011 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
31012 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
31013 * posix/glob_internal.h (__glob_pattern_type):
31014 * posix/glob.c (glob):
31015 * posix/glob_pattern_p.c (__glob_pattern_p):
31016 Use them.
31017
116f1c64
AZ
31018 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
31019 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31020 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31021 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31022 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31024 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31025 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31026 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31027 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31028 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31029 * sysdeps/wordsize-64/glob.c: Likewise.
31030 * sysdeps/wordsize-64/glob64.c: Likewise.
31031 * sysdeps/wordsize-64/globfree.c: Likewise.
31032 * sysdeps/wordsize-64/globfree64.c: Likewise.
31033 * sysdeps/unix/sysv/linux/glob.c: New file.
31034 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31035 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31036 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31037 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31038 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31039 adds !GLOB_NO_OLD_VERSION as an extra condition.
31040 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31041 using relative path instead of absolute one.
31042 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31043 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31044 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31045 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31046 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31047 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31048
ffca8901
AZ
31049 [BZ #1062]
31050 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31051 (glob): Use the same scratch buffer for both getlogin_r and
31052 getpwnam_r. Don’t require preallocation of the login name. This
31053 simplifies storage allocation, and corrects the handling of
31054 long login names.
31055
5a79f975
AZ
31056 [BZ #1062]
31057 * posix/glob.c (glob): Port recent patches to platforms
31058 lacking getpwnam_r.
31059 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31060 returns an error number rather than setting errno.
31061
e00f2425
AZ
31062 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31063 instead of GCC extension.
31064 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31065 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31066 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31067
5554304f
AZ
31068 [BZ #866]
31069 [BZ #1062]
31070 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31071 * posix/bug-glob1.c: Remove file.
31072 * posix/tst-glob_symlinks.c: New file.
31073 * posix/glob.c (__lstat64): New macro.
31074 (is_dir): New function.
31075 (glob, glob_in_dir): Match symlinks even if they are dangling.
31076 (link_stat, link_exists_p): Remove. All uses removed.
31077
686f2ea1
AZ
31078 [BZ #1062]
31079 [BZ #19971]
31080 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31081 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31082 All uses removed.
31083
c66c9082 31084 [BZ #1062]
914c9994 31085 CVE-2017-15671
c66c9082
AZ
31086 * posix/Makefile (routines): Add globfree, globfree64, and
31087 glob_pattern_p.
31088 * posix/flexmember.h: New file.
31089 * posix/glob_internal.h: Likewise.
31090 * posix/glob_pattern_p.c: Likewise.
31091 * posix/globfree.c: Likewise.
31092 * posix/globfree64.c: Likewise.
31093 * sysdeps/gnu/globfree64.c: Likewise.
31094 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31095 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31096 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31097 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31098 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31099 * sysdeps/wordsize-64/globfree.c: Likewise.
31100 * sysdeps/wordsize-64/globfree64.c: Likewise.
31101 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31102 [NDEBUG): Remove comments.
31103 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31104 (dirent_type): New type. Use uint_fast8_t not
31105 uint8_t, as C99 does not require uint8_t.
31106 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31107 (struct readdir_result): Use dirent_type. Do not define skip_entry
31108 unless it is needed; this saves a byte on platforms lacking d_ino.
31109 (readdir_result_type, readdir_result_skip_entry):
31110 New functions, replacing ...
31111 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 31112 these functions, which were removed. This makes the callers
c66c9082
AZ
31113 easier to read. All callers changed.
31114 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31115 (size_add_wrapv, glob_use_alloca): New static functions.
31116 (glob, glob_in_dir): Check for size_t overflow in several places,
31117 and fix some size_t checks that were not quite right.
31118 Remove old code using SHELL since Bash no longer
31119 uses this.
31120 (glob, prefix_array): Separate MS code better.
31121 (glob_in_dir): Remove old Amiga and VMS code.
31122 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31123 separate files.
31124 (glob_in_dir): Do not rely on undefined behavior in accessing
31125 struct members beyond their bounds. Use a flexible array member
31126 instead
31127 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31128 0/1. Caller changed.
31129 (glob): Fix memory leaks.
31130 * posix/glob64 (globfree64): Move to separate file.
31131 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31132 (globfree64): Remove hidden alias.
31133 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31134 oldglob.
31135 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31136 separate file.
31137 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31138 define.
31139 Move compat code to separate file.
31140 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31141 separate file.
31142
78bfa877
L
311432017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31144
31145 * resolv/tst-resolv-qtypes.c (domain): Changed to
31146 "const char domain[] =".
31147
05f0011f
JM
311482017-09-07 Joseph Myers <joseph@codesourcery.com>
31149
85bec0f2
JM
31150 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31151 version to 3.1.6.
31152
5c23ee6e
JM
31153 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31154 (TCP_MD5SIG_EXT): Likewise.
31155 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31156 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31157 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31158
05f0011f
JM
31159 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31160
7c9c5be9
MF
311612017-09-07 Mike FABIAN <mfabian@redhat.com>
31162
31163 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31164
c207f7ce 311652017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
31166
31167 [BZ #22100]
31168 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31169
507fe027
ST
311702017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31171
31172 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31173 before assuming that the file is empty. Avoid testing buffer content
31174 when nread == 0.
31175
65687ac7
AZ
311762017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31177
7bbbb4b9 31178 [BZ #18858]
65687ac7
AZ
31179 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31180 Remove define.
31181 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31182 Likewise.
31183 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31184 Likewise.
31185 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31186 Likewise.
31187 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31188 Likewise.
31189 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31190 Likewise.
31191 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31192 Likewise.
31193
ab5ac271
FW
311942017-09-06 Florian Weimer <fweimer@redhat.com>
31195
31196 * malloc/dynarray_emplace_enlarge.c
31197 (__libc_dynarray_emplace_enlarge): Add missing else.
31198
a8304730
FW
311992017-09-06 Florian Weimer <fweimer@redhat.com>
31200
31201 [BZ #22096]
31202 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31203 case of failure to obtain the global conf object.
31204
5670c4ab
FW
312052017-09-06 Florian Weimer <fweimer@redhat.com>
31206
31207 [BZ #22095]
31208 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31209 dynarray allocation failure.
31210
c77eb969
FW
312112017-09-06 Florian Weimer <fweimer@redhat.com>
31212
31213 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31214 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31215 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31216 New functions.
31217 (response): Call them. Add 'p', '6' flag processing.
31218 (test_reverse): New function.
31219 (test_get2_any): Call it.
31220 (test_no_inet6): Add 'p' test.
31221 (test_inet6): Likewise.
31222
5e9c4d17
FW
312232017-09-06 Florian Weimer <fweimer@redhat.com>
31224
31225 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31226 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31227 the QNAME.
31228 (test_gai): Adjust query names. Add additional tests.
31229 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31230 test_get2. Adjust query names. Add additional tests.
31231 (test_no_inet6): New function, extracted from threadfunc.
31232 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31233 Add additional tests.
31234
2ae5be04
MF
312352017-09-06 Mike FABIAN <mfabian@redhat.com>
31236
31237 [BZ #22070]
31238 * localedata/unicode-gen/utf8_gen.py: Set the width for
31239 characters with Prepended_Concatenation_Mark property to 1
31240 * localedata/charmaps/UTF-8: Updated using the improved script.
31241
af83ed5c
MF
312422017-09-06 Mike FABIAN <mfabian@redhat.com>
31243
31244 [BZ #21750]
31245 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31246 use the range notation for all ranges of neighbouring characters
31247 with the same width.
31248
4f3647e4
JM
312492017-09-05 Joseph Myers <joseph@codesourcery.com>
31250
31251 * sysdeps/generic/math-type-macros-double.h: Include
31252 <math-svid-compat.h>.
31253 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31254 * sysdeps/generic/math-type-macros-float.h: Include
31255 <math-svid-compat.h>.
31256 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31257 * sysdeps/generic/math-type-macros-ldouble.h: Include
31258 <math-svid-compat.h>.
31259 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31260 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31261 condition.
31262 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31263 * math/w_acosf_compat.c: Likewise.
31264 * math/w_acosh_compat.c: Likewise.
31265 * math/w_acoshf_compat.c: Likewise.
31266 * math/w_acoshl_compat.c: Likewise.
31267 * math/w_acosl_compat.c: Likewise.
31268 * math/w_asin_compat.c: Likewise.
31269 * math/w_asinf_compat.c: Likewise.
31270 * math/w_asinl_compat.c: Likewise.
31271 * math/w_atan2_compat.c: Likewise.
31272 * math/w_atan2f_compat.c: Likewise.
31273 * math/w_atan2l_compat.c: Likewise.
31274 * math/w_atanh_compat.c: Likewise.
31275 * math/w_atanhf_compat.c: Likewise.
31276 * math/w_atanhl_compat.c: Likewise.
31277 * math/w_cosh_compat.c: Likewise.
31278 * math/w_coshf_compat.c: Likewise.
31279 * math/w_coshl_compat.c: Likewise.
31280 * math/w_exp10_compat.c: Likewise.
31281 * math/w_exp10f_compat.c: Likewise.
31282 * math/w_exp10l_compat.c: Likewise.
31283 * math/w_exp2_compat.c: Likewise.
31284 * math/w_exp2f_compat.c: Likewise.
31285 * math/w_exp2l_compat.c: Likewise.
31286 * math/w_fmod_compat.c: Likewise.
31287 * math/w_fmodf_compat.c: Likewise.
31288 * math/w_fmodl_compat.c: Likewise.
31289 * math/w_hypot_compat.c: Likewise.
31290 * math/w_hypotf_compat.c: Likewise.
31291 * math/w_hypotl_compat.c: Likewise.
31292 * math/w_j0_compat.c: Likewise.
31293 * math/w_j0f_compat.c: Likewise.
31294 * math/w_j0l_compat.c: Likewise.
31295 * math/w_j1_compat.c: Likewise.
31296 * math/w_j1f_compat.c: Likewise.
31297 * math/w_j1l_compat.c: Likewise.
31298 * math/w_jn_compat.c: Likewise.
31299 * math/w_jnf_compat.c: Likewise.
31300 * math/w_jnl_compat.c: Likewise.
31301 * math/w_lgamma_r_compat.c: Likewise.
31302 * math/w_lgammaf_r_compat.c: Likewise.
31303 * math/w_lgammal_r_compat.c: Likewise.
31304 * math/w_log10_compat.c: Likewise.
31305 * math/w_log10f_compat.c: Likewise.
31306 * math/w_log10l_compat.c: Likewise.
31307 * math/w_log2_compat.c: Likewise.
31308 * math/w_log2f_compat.c: Likewise.
31309 * math/w_log2l_compat.c: Likewise.
31310 * math/w_log_compat.c: Likewise.
31311 * math/w_logf_compat.c: Likewise.
31312 * math/w_logl_compat.c: Likewise.
31313 * math/w_pow_compat.c: Likewise.
31314 * math/w_powf_compat.c: Likewise.
31315 * math/w_powl_compat.c: Likewise.
31316 * math/w_remainder_compat.c: Likewise.
31317 * math/w_remainderf_compat.c: Likewise.
31318 * math/w_remainderl_compat.c: Likewise.
31319 * math/w_sinh_compat.c: Likewise.
31320 * math/w_sinhf_compat.c: Likewise.
31321 * math/w_sinhl_compat.c: Likewise.
31322 * math/w_sqrt_compat.c: Likewise.
31323 * math/w_sqrtf_compat.c: Likewise.
31324 * math/w_sqrtl_compat.c: Likewise.
31325 * math/w_tgamma_compat.c: Likewise.
31326 * math/w_tgammaf_compat.c: Likewise.
31327 * math/w_tgammal_compat.c: Likewise.
31328 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31329 [LIBM_SVID_COMPAT].
31330 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31331 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31332 [LIBM_SVID_COMPAT].
31333 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31334 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31335 [LIBM_SVID_COMPAT].
31336 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31337 * sysdeps/i386/fpu/w_sqrt.c: New file.
31338 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31339 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31340 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31341 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31342 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31343 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31344 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31345 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31346 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31347 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31348 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31349 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31350 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31351 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31352 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31353 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31354 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31355 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31356 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31357 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31358 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31359 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31360 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31361 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31362 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31363 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31364 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31365 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31366 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31367 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31368 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31369 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31370 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31371 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31372 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31373 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31374 * sysdeps/ia64/fpu/w_log.c: Likewise.
31375 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31376 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31377 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31378 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31379 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31380 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31381 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31382 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31383 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31384 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31385 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31386 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31387 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31388 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31389 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31390 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31391 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31392 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31393 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31394 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31395 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31396 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31397 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31398 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31399 [LIBM_SVID_COMPAT].
31400 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31401 * sysdeps/ieee754/k_standard.c: Likewise.
31402 * sysdeps/ieee754/k_standardf.c: Likewise.
31403 * sysdeps/ieee754/k_standardl.c: Likewise.
31404 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31405 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31406 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31407 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31408 long_double_symbol call on [LIBM_SVID_COMPAT].
31409 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31410 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31411 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31412 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31413 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31414 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31415 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31416 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31417 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31418 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31419 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31420 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31421 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31422 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31423 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31424 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31425 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31426 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31427 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31428 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31429 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31430 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31431
05b38d64
SE
314322017-09-05 Steve Ellcey <sellcey@cavium.com>
31433
31434 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31435 * malloc/tst-mallocstate.c: Convert from test-skeleton
31436 to test-driver. Ifdef code using TEST_COMPAT macro.
31437 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31438 * math/test-matherr.c: Likewise.
31439
99d67918
JM
314402017-09-05 Joseph Myers <joseph@codesourcery.com>
31441
31442 [BZ #22086]
31443 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31444 comparing word with byte-swapped constant.
31445
c207f7ce 314462017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
31447
31448 [BZ #20498]
31449 * locale/iso-639.def: add Miskito.
31450 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31451 * localedata/locales/miq_NI: New file.
31452
0a587a8a
L
314532017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31454
31455 [BZ #18822]
31456 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31457 (__mkdir): Likewise.
31458 * io/chmod.c (__chmod): Add libc_hidden_def.
31459 * io/mkdir.c (__mkdir): Likewise.
31460 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31461 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31462 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31463 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31464
f3a129b8
JM
314652017-09-04 Joseph Myers <joseph@codesourcery.com>
31466
1650e192
JM
31467 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31468 version to 4.13.
31469
f3a129b8
JM
31470 [BZ #22082]
31471 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31472 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31473
b38042f5
FW
314742017-09-04 Florian Weimer <fweimer@redhat.com>
31475
31476 * math/math.h: Issue warning if log is defined.
31477
059b6404
JM
314782017-09-04 Joseph Myers <joseph@codesourcery.com>
31479
31480 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31481 kernel version to 4.13.
31482
b794e16b
ST
314832017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31484
31485 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
31486 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31487 parameter.
01969395
ST
31488 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31489 just <bits/types.h>.
dd2b31de 31490 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 31491 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 31492 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 31493 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
31494 * misc/preadv2.c: Include <errno.h>.
31495 * misc/preadv64v2.c: Include <errno.h>.
31496 * misc/pwritev2.c: Include <errno.h>.
31497 * misc/pwritev64v2.c: Include <errno.h>.
31498 * sysdeps/posix/preadv2.c: Include <errno.h>.
31499 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31500 Fix <unistd.h> inclusion.
31501 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31502 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
31503 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31504 __strtoul_internal): New functions.
127e7773
ST
31505 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31506 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
31507 * sysdeps/mach/hurd/i386/Makefile
31508 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31509 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31510 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
31511 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31512 __feraiseexcept_renamed to feraiseexcept instead of
31513 __GI_feraiseexcept.
56bf5497 31514 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 31515 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
31516 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31517 RWF_NOWAIT): Define to 0 if undefined already.
31518 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31519 boils down to 0.
6547ec0a
ST
31520 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31521 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 31522
5a80d39d
JM
315232017-09-01 Joseph Myers <joseph@codesourcery.com>
31524
31525 * manual/math.texi (pow10): Do not document.
31526 (pow10f): Likewise.
31527 (pow10l): Likewise.
31528 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31529 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31530 * math/libm-test-exp10.inc (pow10_test): Remove.
31531 (do_test): Do not call pow10.
31532 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31533 [NO_LONG_DOUBLE] (pow10l): Likewise.
31534 * math/w_exp10f_compat.c (pow10f): Likewise.
31535 * math/w_exp10l_compat.c (pow10l): Likewise.
31536 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31537 (pow10): Make into compat symbol.
31538 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31539 (pow10f): Make into compat symbol.
31540 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31541 (pow10l): Make into compat symbol.
31542 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31543 pow10.
31544 (CFLAGS-nldbl-pow10.c): Remove variable..
31545 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31546 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31547 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31548 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31549 Undefine and redefine.
31550 (pow10l): Make into compat symbol.
31551 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31552 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31553 * sysdeps/arm/libm-test-ulps: Likewise.
31554 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31555 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31556 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31557 * sysdeps/microblaze/libm-test-ulps: Likewise.
31558 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31559 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31560 * sysdeps/nios2/libm-test-ulps: Likewise.
31561 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31562 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31563 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31564 * sysdeps/sh/libm-test-ulps: Likewise.
31565 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31566 * sysdeps/tile/libm-test-ulps: Likewise.
31567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31568
3824fc38
PP
315692017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31570
31571 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31572
b3008279
L
315732017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31574
31575 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31576 "../ChangeLog.old/ChangeLog.8".
31577 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31578 "../ChangeLog.old/ChangeLog.14".
31579
136fa185
L
315802017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31581
31582 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31583 Threads Library.
31584
c18d50a2
JM
315852017-09-01 Joseph Myers <joseph@codesourcery.com>
31586
31587 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31588
bedbd859
L
315892017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31590
31591 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31592 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31593
50c66c7a
PP
315942017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31595
31596 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31597 32 atexit handlers.
31598
a617bd11
ZW
315992017-09-01 Zack Weinberg <zackw@panix.com>
31600
31601 * math/math.h (HUGE_VAL): Improve commentary.
31602
e0d2eb5a
AZ
316032017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31604 Andreas Schwab <schwab@suse.de>
31605
31606 [BZ #21530]
31607 * include/stdio.h (__gen_tempfd): New function.
31608 * stdio-common/Makefile (routines): Add gentempfd.
31609 * stdio-common/gentempfd.c: New file.
31610 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31611 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31612 unnamed file first.
31613
f4a6be25
FW
316142017-09-01 Florian Weimer <fweimer@redhat.com>
31615
31616 [BZ #21915]
31617 [BZ #21922]
31618 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31619 result to determine success or failure, not the errno value.
31620 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31621 (tst-nss-files-hosts-erange): Link with -ldl.
31622 * nss/tst-nss-files-hosts-erange.c: New file.
31623 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31624 (do_test): Add NO_DATA tests.
31625 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31626 (do_test): Call it.
31627
5f8340f5
FW
316282017-09-01 Florian Weimer <fweimer@redhat.com>
31629
31630 [BZ #21922]
31631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31632 coming from gethostbyname2_r.
31633
65329bd2
FW
316342017-09-01 Florian Weimer <fweimer@redhat.com>
31635
31636 * support/namespace.h (struct support_chroot_configuration): Add
31637 hosts, host_conf.
31638 (struct support_chroot): Add path_hosts, path_host_conf.
31639 * support/support_chroot.c (write_file): New function.
31640 (support_chroot_create): Call it to process /etc/resolv.conf,
31641 /etc/hosts, /etc/host.conf.
31642 (support_chroot_free): Update.
31643
a2881ef0
FW
316442017-09-01 Florian Weimer <fweimer@redhat.com>
31645
31646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31647 status indicates it is set.
31648
ad816a5e
FW
316492017-09-01 Florian Weimer <fweimer@redhat.com>
31650
63b52889 31651 [BZ #20532]
ad816a5e
FW
31652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31653 function lookup failures more reliable.
31654
53250a21
FW
316552017-09-01 Florian Weimer <fweimer@redhat.com>
31656
31657 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31658 (getcanonname): Likewise.
31659 (gaih_inet): Likewise.
31660
924b121c
FW
316612017-09-01 Florian Weimer <fweimer@redhat.com>
31662
31663 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31664 (getcanonname): Likewise.
31665 (gaih_inet): Likewise.
31666
d9ff799a 316672017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 31668 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
31669
31670 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31671 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31672 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31673 (IREG_SIZE, OREG_SIZE): New macros.
31674 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31675 (IREG_SIZE, OREG_SIZE): New macros.
31676 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31677 (IREG_SIZE): New macro.
31678 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31679 (IREG_SIZE): New macro.
31680 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31681 New includes.
31682 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31683 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31684 (__CONCATX): Handle exceptions correctly on large values that may
31685 set FE_INVALID.
31686 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31687 Initialize if not already set.
b39d961c 31688 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 31689
102dde84
AZ
316902017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31691
31692 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31693 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31694 Likewise.
31695 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31696 Likewise.
31697 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31698 Likewise.
31699 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31700 Likewise.
31701 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31702 Likewise.
31703 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31704 Likewise.
31705 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31706 Likewise.
31707 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31708 (NO_CANCELLATION): Likewise.
31709 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31710 Likewise.
31711 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31712 Likewise.
31713 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31714 Likewise.
31715 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31716 (NO_CANCELLATION): Likewise.
31717 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31718 (NO_CANCELLATION): Likewise.
31719 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31720 Likewise
31721 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31722 Likewise.
31723 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31724 Likewise.
31725 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31726 Likewise.
31727 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31728 hidden prototype.
31729 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31730 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31731
9eee633b
SE
317322017-08-31 Steve Ellcey <sellcey@cavium.com>
31733
31734 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31735 in resolver call.
31736
65284eb7
FW
317372017-08-31 Florian Weimer <fweimer@redhat.com>
31738
31739 * include/libc-symbols.h (internal_function): Remove.
31740
41ad5ca6
FW
317412017-08-31 Florian Weimer <fweimer@redhat.com>
31742
31743 * stdlib/fmtmsg.c (internal_addseverity): Remove
31744 internal_function.
31745
2fa6d086
FW
317462017-08-31 Florian Weimer <fweimer@redhat.com>
31747
31748 * stdio-common/printf_fp.c (group_number): Remove
31749 internal_function.
31750 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31751
b41bd5bc
FW
317522017-08-31 Florian Weimer <fweimer@redhat.com>
31753
31754 * posix/fnmatch.c (internal_function): Remove definition.
31755 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31756 * posix/regcomp.c (peek_token, init_word_char)
31757 (duplicate_node_closure, fetch_token, peek_token)
31758 (peek_token_bracket, build_range_exp, build_collating_symbol):
31759 Likewise.
31760 * posix/regex_internal.c (re_string_construct_common)
31761 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31762 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31763 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31764 (re_string_translate_buffer, re_string_reconstruct)
31765 (re_string_peek_byte_case, re_string_fetch_byte_case)
31766 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31767 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31768 (re_node_set_add_intersect, re_node_set_init_union)
31769 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31770 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31771 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31772 (re_acquire_state_context): Likewise.
31773 * posix/regex_internal.h (internal_function): Remove definition.
31774 (re_string_realloc_buffers, build_wcs_buffer)
31775 (build_wcs_upper_buffer, build_upper_buffer)
31776 (re_string_translate_buffer, re_string_context_at)
31777 (re_string_char_size_at, re_string_wchar_at)
31778 (re_string_elem_size_at): Likewise.
31779 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31780 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31781 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31782 (re_search_internal, re_search_2_stub, re_search_stub)
31783 (re_copy_regs, prune_impossible_nodes, check_matching)
31784 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31785 (free_fail_stack_return, sift_states_iter_mb)
31786 (sift_states_backward, build_sifted_states)
31787 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31788 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31789 (check_subexp_limits, sift_states_bkref, merge_state_array)
31790 (find_recover_state, transit_state, merge_state_with_log)
31791 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31792 (transit_state_mb, transit_state_bkref, get_subexp)
31793 (get_subexp_sub, find_subexp_node, check_arrival)
31794 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31795 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31796 (check_node_accept_bytes, find_collation_sequence_value)
31797 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31798 (acquire_init_state_context, check_halt_node_context)
31799 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31800 (sub_epsilon_src_nodes): Likewise.
31801 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31802 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31803 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31804 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31805 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31806 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31807 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31808 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31809 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31810 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31811 (PREADV): Likewise.
31812 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31813 (PREADV): Likewise.
31814 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31815 (PWRITEV): Likewise.
31816 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31817 (PWRITEV): Likewise.
31818 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31819 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31820
83b09837
FW
318212017-08-31 Florian Weimer <fweimer@redhat.com>
31822
31823 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31824 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31825 Remove internal_function.
31826 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31827 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31828 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31829 (__deallocate_stack, __libc_pthread_init)
31830 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31831 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31832 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31833 Likewise.
31834 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31835 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31836 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31837 Likewise.
31838 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31839 (__pthread_mutex_unlock_usercnt): Likewise.
31840
116ac301
FW
318412017-08-31 Florian Weimer <fweimer@redhat.com>
31842
31843 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31844 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31845 (fts_safe_changedir): Remove internal_function.
31846 * io/ftw.c (internal_function): Remove definition.
31847 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31848
9da93bd7
FW
318492017-08-31 Florian Weimer <fweimer@redhat.com>
31850
31851 * inet/deadline.c (__deadline_current_time)
31852 (__deadline_from_timeval, __deadline_to_ms): Remove
31853 internal_function.
31854 * inet/getnameinfo.c (nrl_domainname): Likewise.
31855 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31856 * inet/inet6_option.c (add_pad): Likewise.
31857 * inet/net-internal.h (__deadline_current_time)
31858 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31859 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31860 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31861 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31862
a60eca2e
JM
318632017-08-31 Joseph Myers <joseph@codesourcery.com>
31864
c0c49d60
JM
31865 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31866 include <bits/nan.h>.
31867 * math/Makefile (headers): Remove bits/nan.h.
31868 * bits/nan.h: Remove.
31869 * sysdeps/ieee754/bits/nan.h: Likewise.
31870 * sysdeps/mips/bits/nan.h: Likewise.
31871
5ef1b213
JM
31872 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31873 not include <bits/inf.h>.
31874 * math/Makefile (headers): Remove bits/inf.h.
31875 * bits/inf.h: Remove.
31876 * sysdeps/ieee754/bits/inf.h: Likewise.
31877
a60eca2e
JM
31878 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31879 bits/huge_vall.h or bits/huge_val_flt128.h.
31880 (HUGE_VAL): Define directly here.
31881 [__USE_ISOC99] (HUGE_VALF): Likewise.
31882 [__USE_ISOC99] (HUGE_VALL): Likewise.
31883 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31884 (HUGE_VAL_F128): Likewise.
31885 * math/Makefile (headers): Remove bits/huge_val.h,
31886 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31887 * bits/huge_val.h: Remove.
31888 * bits/huge_val_flt128.h: Likewise.
31889 * bits/huge_valf.h: Likewise.
31890 * bits/huge_vall.h: Likewise.
31891 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31892 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31893 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31894 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31895 * sysdeps/sh/bits/huge_val.h: Likewise.
31896 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31897 * sysdeps/x86/bits/huge_vall.h: Likewise.
31898
17e00cc6
FW
318992017-08-31 Florian Weimer <fweimer@redhat.com>
31900
31901 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31902 internal_function.
31903 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31904 Likewise.
31905 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31906 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31907 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31908 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31909 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31910 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31911 * elf/dl-libc.c (dlerror_run): Likewise.
31912 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31913 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31914 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31915 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31916 Likewise.
31917 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31918 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31919 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31920 * elf/dl-profile.c (_dl_start_profile): Likewise.
31921 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31922 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31923 Likewise.
31924 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31925 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31926 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31927 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31928 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31929 (_dl_allocate_tls_storage): Likewise.
31930 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31931 (_dl_check_all_versions): Likewise.
31932 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31933 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31934 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31935 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31936 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31937 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31938 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31939 internal_function from __dl_start.
31940 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31941 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31942 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31943 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31944 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31945 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31946 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31947 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31948 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31949 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31950 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31951 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31952 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31953 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31954 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31955 Likewise.
31956 (struct rtld_global_ro): Remove internal_function from the
31957 _dl_lookup_symbol_x member.
31958 (_dl_symbol_value): Remove. No longer defined anywhere.
31959 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31960 internal_function.
31961 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31962 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31963 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31964 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31965 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31966 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31967 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31968 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31969 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31970 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31971 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31972 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31973
8d2f9410
FW
319742017-08-31 Florian Weimer <fweimer@redhat.com>
31975
31976 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31977 Remove internal_function.
31978 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31979 Likewise.
31980 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31981 Likewise.
31982
86e4919f
FW
319832017-08-31 Florian Weimer <fweimer@redhat.com>
31984
31985 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31986 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31987 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31988
59bd52b0
FW
319892017-08-31 Florian Weimer <fweimer@redhat.com>
31990
31991 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31992 (__gai_enqueue_request): Remove internal_function.
31993 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31994 (__gai_remove_request, __gai_notify, __gai_notify_only)
31995 (__gai_sigqueue): Likewise.
31996 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31997 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31998 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31999 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32000 Likewise.
32001
fc3d9497
FW
320022017-08-31 Florian Weimer <fweimer@redhat.com>
32003
32004 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
32005 * include/dirent.h (__opendirat, __getdents, __getdents64)
32006 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
32007 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
32008 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32009 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32010 Likewise.
32011 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
32012
18c54fac
FW
320132017-08-31 Florian Weimer <fweimer@redhat.com>
32014
32015 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
32016 internal_function.
32017 (GETCWD_RETURN_TYPE): Likewise.
32018
7e01f080
FW
320192017-08-31 Florian Weimer <fweimer@redhat.com>
32020
32021 * include/time.h (__tz_compute, __strptime_internal): Remove
32022 internal_function.
32023 * time/strptime_l.c (__strptime_internal): Likewise.
32024 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32025
d7ccc6c9
FW
320262017-08-31 Florian Weimer <fweimer@redhat.com>
32027
32028 * iconv/gconv.c (__gconv): Remove internal_function.
32029 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32030 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32031 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32032 (__gconv_release_cache): Likewise.
32033 * iconv/gconv_close.c (__gconv_close): Likewise.
32034 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32035 (read_conf_file, __gconv_get_path): Likewise.
32036 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32037 (__gconv_release_step, gen_steps, increment_counter)
32038 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32039 (__gconv_close_transform, free_modules_db): Likewise.
32040 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32041 Likewise.
32042 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32043 (__gconv_find_transform, __gconv_lookup_cache)
32044 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32045 (__gconv_close_transform, __gconv_release_cache)
32046 (__gconv_loaded_object, __gconv_release_shlib)
32047 (__gconv_compare_alias): Likewise.
32048 * iconv/gconv_open.c (__gconv_open): Likewise.
32049 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32050 * iconv/iconvconfig.c (add_module): Likewise.
32051 * intl/dcigettext.c (plural_lookup, guess_category_value)
32052 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32053 * intl/eval-plural.h (plural_eval): Likewise.
32054 * intl/finddomain.c (_nl_find_domain): Likewise.
32055 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32056 (_nl_load_domain, _nl_find_msg): Likewise.
32057 (internal_function): Remove definition.
32058 * intl/loadinfo.h (internal_function): Likewise.
32059 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32060 internal_function.
32061 * intl/localealias.c (internal_function): Remove definition.
32062 (read_alias_file): Remove internal_function.
32063 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32064 * intl/plural-exp.h (internal_function): Remove definition.
32065 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32066 internal_function.
32067 * intl/plural.c: Regenerate.
32068 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32069 * locale/coll-lookup.c (__collidx_table_lookup)
32070 (__collseq_table_lookup): Likewise.
32071 * locale/coll-lookup.h (__collidx_table_lookup)
32072 (__collseq_table_lookup): Likewise.
32073 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32074 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32075 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32076 (_nl_unload_locale): Likewise.
32077 * locale/localeinfo.h (struct __locale_data): Remove
32078 internal_function from cleanup member.
32079 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32080 (_nl_remove_locale, _nl_load_locale_from_archive)
32081 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32082 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32083 (_nl_cleanup_time): Remove internal_function.
32084 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32085 (_nl_parse_alt_digit): Likewise.
32086 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32087 (_nl_select_era_entry): Likewise.
32088 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32089 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32090 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
32091 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32092 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 32093
dab0eece
FW
320942017-08-31 Florian Weimer <fweimer@redhat.com>
32095
32096 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32097 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32098 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32099 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32100 Likewise.
32101 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32102 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32103 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32104 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32105 Likewise.
32106 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32107
ab5bf7cf
FW
321082017-08-31 Florian Weimer <fweimer@redhat.com>
32109
32110 * misc/getttyent.c (skip, value): Remove internal_function.
32111 * misc/syslog.c (openlog_internal): Likewise.
32112 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32113
75b3047e
FW
321142017-08-31 Florian Weimer <fweimer@redhat.com>
32115
32116 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32117 (__nss_rewrite_field): Remove internal_function.
32118 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32119 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32120 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32121 * nss/nsswitch.c (nss_parse_file, nss_getline)
32122 (nss_parse_service_list, nss_new_service): Likewise.
32123 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32124 * nss/valid_field.c (__nss_valid_field): Likewise.
32125 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32126
0c71122c
FW
321272017-08-31 Florian Weimer <fweimer@redhat.com>
32128
32129 * malloc/arena.c (__malloc_fork_lock_parent)
32130 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32131 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32132 internal_function from defintions.
32133 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32134 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32135 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32136 internal_function from declarations.
32137 * malloc/malloc.c (internal_function): Do not define.
32138 (mem2mem_check): Remove internal_function from declaration.
32139 (munmap_chunk, mremap_chunk): Remove internal_function.
32140 * malloc/mtrace.c (tr_where): Likewise.
32141
ca4ec803
FW
321422017-08-31 Florian Weimer <fweimer@redhat.com>
32143
32144 * include/rpc/pmap_clnt.h (__get_socket): Remove
32145 internal_function.
32146 * sunrpc/auth_des.c (synchronize): Likewise.
32147 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32148 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32149 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32150 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32151 (key_call): Likewise.
32152 * sunrpc/pm_getport.c (__get_socket): Likewise.
32153 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32154 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32155 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32156 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32157 (invalidate): Likewise.
32158 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32159 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32160 (set_input_fragment, get_input_bytes): Likewise.
32161
24cffce7
FW
321622017-08-31 Florian Weimer <fweimer@redhat.com>
32163
32164 * malloc/malloc.c (_int_free): Remove locked variable and related
32165 asserts.
32166
ecd0747d
L
321672017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32168
32169 [BZ #22051]
32170 * Makerules (build-module-helper-objlist): Filter out
32171 $(elf-objpfx)sofini.os.
32172 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32173 needed.
32174
5f0704b6
FW
321752017-08-31 Florian Weimer <fweimer@redhat.com>
32176
32177 * libio/fcloseall.c: Assume weak_alias is defined.
32178 * libio/feof.c: Likewise.
32179 * libio/fileno.c: Likewise.
32180 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32181 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32182 definitions.
32183 (_IO_file_open): Call __open directly.
32184 (_IO_new_file_sync): Assume ESPIPE is defined.
32185 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32186 (_IO_new_file_write): Call __write directly.
32187 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32188 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32189 * libio/genops.c: Assume _LIBC is defined.
32190 (save_for_backup): Remove internal_function.
32191 * libio/getc.c: Assume weak_alias is defined.
32192 * libio/getwc.c: Likewise.
32193 * libio/iofclose.c: Assume _LIBC is defined.
32194 * libio/iofdopen.c: Likewise.
32195 (_IO_fcntl): Remove macro definition.
32196 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32197 Call __fcntl directly.
32198 * libio/iofflush.c: Assume weak_alias is defined.
32199 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32200 defined.
32201 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32202 * libio/iofgets.c: Likewise.
32203 * libio/iofopen.c: Assume _LIBC is defined.
32204 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32205 * libio/iofputs.c: Assume weak_alias is defined.
32206 * libio/iofread.c: Likewise.
32207 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32208 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32209 * libio/ioftell.c: Assume weak_alias is defined.
32210 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32211 * libio/iofwide.c: Assume _LIBC is defined.
32212 (_IO_fwide): Drop SHARED conditional because it is implied by
32213 SHLIB_COMPAT.
32214 * libio/iofwrite.c: Assume weak_alias is defined.
32215 * libio/iogetdelim.c: Likewise.
32216 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32217 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32218 (_IO_getwline): Call __wmemcpy directly.
32219 * libio/iopopen.c: Assume _LIBC is defined.
32220 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32221 (_IO_close): Remove macro definitions.
32222 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32223 _exit directly.
32224 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32225 directly.
32226 * libio/ioputs.c: Assume weak_alias is defined.
32227 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32228 * libio/iosetbuffer.c: Assume weak_alias is defined.
32229 * libio/iosetvbuf.c: Likewise.
32230 * libio/ioungetc.c: Likewise.
32231 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32232 libc_hidden_def, libc_hidden_weak, NULL are defined.
32233 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32234 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32235 defined.
32236 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32237 definitions.
32238 (_IO_old_file_init_internal): Drop SHARED conditional because it
32239 is implied by SHLIB_COMPAT.
32240 (_IO_old_file_fopen): Call __open directly.
32241 (_IO_old_file_sync): Assume ESPIPE is defined.
32242 (_IO_old_file_write): Call __write directly.
32243 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32244 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32245 Call __fcntl directly.
32246 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32247 (_IO_old_fgetpos): Assume EIO is defined.
32248 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32249 (_IO_old_fgetpos64): Assume EIO is defined.
32250 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32251 (_IO_old_fsetpos): Assume EIO is defined.
32252 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32253 (_IO_old_fsetpos64): Assume EIO is defined.
32254 * libio/oldiopopen.c: Assume _LIBC is defined.
32255 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32256 (_IO_close): Remove macro definitions.
32257 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32258 directly.
32259 (_IO_old_proc_close): Call __close, __waitpid directly.
32260 * libio/put.c: Assume weak_alias is defined.
32261 * libio/stdfiles.c: Assume _LIBC is defined.
32262 * libio/stdio.c: Likewise.
32263 * libio/wfileops.c: Likewise.
32264 (_IO_wfile_sync): Assume ESPIPE is defined.
32265 * libio/wgenops.c: Assume _LIBC is defined.
32266 (save_for_wbackup): Remove internal_function.
32267
5129873a
FW
322682017-08-31 Florian Weimer <fweimer@redhat.com>
32269
32270 * malloc/malloc.c (top_check): Change return type to void. Remove
32271 internal_function.
32272 * malloc/hooks.c (top_check): Likewise.
32273 (malloc_check, realloc_check, memalign_check): Adjust.
32274
4fa9b3bf
JM
322752017-08-30 Joseph Myers <joseph@codesourcery.com>
32276
32277 [BZ #21457]
32278 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32279 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32280 sigcontext and namespace requirements.
32281 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32282 * sysdeps/m68k/sys/ucontext.h: Likewise.
32283 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32284 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32285 <bits/sigcontext.h>.
32286 (__ctx): Define earlier.
32287 (mcontext_t): Define structure contents rather than using struct
32288 sigcontext.
32289 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32290 __glibc_reserved1 instead of __reserved.
32291 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32292 <bits/sigcontext.h>.
32293 (__ctx): Define earlier.
32294 (mcontext_t): Define structure contents rather than using struct
32295 sigcontext.
32296 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32297 mcontext_t instead of struct sigcontext.
32298 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32299 <bits/sigcontext.h>.
32300 (__ctx): Define earlier.
32301 (mcontext_t): Define structure contents rather than using struct
32302 sigcontext.
32303 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32304 <bits/sigcontext.h>.
32305 (__ctx): Define earlier.
32306 (mcontext_t): Define structure contents rather than using struct
32307 sigcontext.
32308 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32309 mcontext_t instead of struct sigcontext.
32310 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32311 mcontext_t instead of struct sigcontext.
32312 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32313 <bits/sigcontext.h>.
32314 (__ctx): New macro.
32315 (struct __ia64_fpreg_mcontext): New type.
32316 (mcontext_t): Define structure contents rather than using struct
32317 sigcontext.
32318 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32319 (uc_sigmask): Define using __ctx.
32320 (uc_stack): Likewise.
32321 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32322 <bits/sigcontext.h>.
32323 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32324 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32325 <bits/sigcontext.h>.
32326 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32327 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32328 <bits/sigcontext.h>.
32329 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32330 <bits/sigcontext.h>.
32331 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32332 <bits/sigcontext.h>.
32333 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32334 <bits/sigcontext.h>.
32335 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32336 <bits/sigcontext.h>.
32337 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32338 <bits/sigcontext.h>.
32339 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32340 <bits/sigcontext.h>.
32341 (__ctx): Define earlier.
32342 (mcontext_t): Define structure contents rather than using struct
32343 sigcontext.
32344 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32345 <bits/sigcontext.h>. Include <bits/types.h>.
32346 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32347 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32348 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32349 (test-xfail-UNIX98/signal.h/conform): Likewise.
32350 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32351 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32352 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32353 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32354 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32355 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32356 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32357 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32358 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32359
5898f454
FW
323602017-08-30 Florian Weimer <fweimer@redhat.com>
32361
32362 * malloc/dynarray_emplace_enlarge.c
32363 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32364 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32365 * malloc/tst-dynarray.c (test_long_overflow): New function.
32366 (do_test): Call it.
32367
a9da0bb2
FW
323682017-08-30 Florian Weimer <fweimer@redhat.com>
32369
32370 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32371 (set_arena_corrupt): Remove definitions.
32372 (mtrim): Do not check for corrupt arena.
32373 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32374 Likewise.
32375
ac3ed168
FW
323762017-08-30 Florian Weimer <fweimer@redhat.com>
32377
32378 [BZ #21754]
32379 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32380 check_action.
32381 (ptmalloc_init): Do not set or use check_action.
32382 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32383 call to malloc_printerr. Remove return statement.
32384 (free_check): Likewise. Remove arena unlock.
32385 (top_check): Update comment. Adjust call to malloc_printerr.
32386 Remove heap repair code.
32387 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32388 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32389 (sysmalloc): Adjust call to malloc_printerr.
32390 (munmap_chunk, __libc_realloc): Likewise. Remove return
32391 statement.
32392 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32393 Remove errout label and corresponding gotos.
32394 (_int_free): Likewise. Remove arena unlock.
32395 (do_set_mallopt_check): Do not set check_action.
32396 (malloc_printerr): Adjust parameter list. Do not mark arena as
32397 corrupt.
32398 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32399 comment.
32400 * manual/probes.texi (Memory Allocation Probes): Remove
32401 memory_mallopt_check_action.
32402
44bcba80
SE
324032017-08-30 Steve Ellcey <sellcey@cavium.com>
32404
32405 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32406 Use pointer to uint64_t instead of long int for sp.
32407
ec2c1fce
FW
324082017-08-30 Florian Weimer <fweimer@redhat.com>
32409
32410 [BZ #21754]
32411 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32412 without printing a backtrace. Do not leak any information in the
32413 error message.
32414 * manual/memory.texi (Heap Consistency Checking): Update.
32415 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32416
9ce673b6
FW
324172017-08-30 Florian Weimer <fweimer@redhat.com>
32418
32419 Do not scale NPTL tests with available number of CPUs.
32420 * nptl/tst-cond16.c (count): Set to constant value of 8.
32421 * nptl/tst-cond18.c (count): Likewise.
32422
2f1aef19
JM
324232017-08-29 Joseph Myers <joseph@codesourcery.com>
32424
32425 [BZ #22035]
32426 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32427 Define to take a second argument that is a macro that
32428 concatentates a suffix, not the suffix itself.
32429 (__CONCAT_d): New macro.
32430 (__CONCAT_f): Likewise.
32431 (__CONCAT_l): Likewise.
32432
8325b477
PP
324332017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32434
32435 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32436 by child.
32437
319cbbf6
AZ
324382017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32439 Aurelien Jarno <aurelien@aurel32.net>
32440 Maciej W. Rozycki <macro@imgtec.com>
32441
32442 [BZ #21956]
32443 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32444 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32445 `mips16-syscall6' and `mips16-syscall7'.
32446 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32447 (CFLAGS-mips16-syscall7.c): Remove.
32448 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32449 Remove `__mips16_syscall5', `__mips16_syscall6' and
32450 `__mips16_syscall7'.
32451 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32452 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32453 `__mips_syscall_return'.
32454 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32455 (__mips16_syscall1): Likewise.
32456 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32457 (__mips16_syscall2): Likewise.
32458 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32459 (__mips16_syscall3): Likewise.
32460 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32461 (__mips16_syscall4): Likewise.
32462 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32463 Remove.
32464 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32465 Remove.
32466 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32467 Remove.
32468 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32469 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32470 `__mips16_syscall5'. Remove prototype.
32471 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32472 `__mips16_syscall6'. Remove prototype.
32473 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32474 `__mips16_syscall7'. Remove prototype.
32475 (__nomips16, __mips16_syscall_return): Move to...
32476 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32477 (__nomips16, __mips_syscall_return): ... here.
32478 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32479 `__mips16_syscall_return' to `__mips_syscall_return'.
32480 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32481 `internal_syscall##nr'.
32482 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32483 `internal_syscall##nr'.
32484 (FORCE_FRAME_POINTER): Remove.
32485 (__mips_syscall5): New prototype.
32486 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32487 (__mips_syscall6): New prototype.
32488 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32489 (__mips_syscall7): New prototype.
32490 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32491 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32492 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32493 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32494 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32495 (sysdep_routines): Add libc-do-syscall.
32496 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32497 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32498
01b87c65
AZ
324992017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32500
32501 [BZ #21672]
32502 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32503 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32504 (advise_stack_range): New function.
32505 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32506 stack non required to advise_stack_range at allocatestack.c
32507
16f138a4
SN
325082017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32509
32510 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32511
251bccfa
FW
325122017-08-29 Florian Weimer <fweimer@redhat.com>
32513
32514 [BZ #22026]
32515 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32516 __end_fct. Mangle __end_fct after setting it to NULL.
32517 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32518 (modules-names, modules-names-tests): Add
32519 tst-gconv-init-failure-mod.
32520 (gconv-modules): New target.
32521 (tst-gconv-init-failure-mod.so): Link against libsupport.
32522 (tst-gconv-init-failure): Depend on gconv-modules,
32523 tst-gconv-init-failure-mod.so.
32524 * iconv/tst-gconv-init-failure-mod.c: New file.
32525 * iconv/tst-gconv-init-failure.c: Likewise.
32526 * iconv/test-gconv-modules: Likewise.
32527
e7c18b9d
FW
325282017-08-29 Florian Weimer <fweimer@redhat.com>
32529
32530 [BZ #22025]
32531 * iconv/gconv_db.c (free_derivation): Remove redundant
32532 parentheses.
32533 (gen_steps): Unconditionally mangle __btowc_fct after
32534 initialization.
32535 (increment_counter): Likewise. Do not call init_fct for internal
32536 modules.
32537
7daada03
JM
325382017-08-29 Joseph Myers <joseph@codesourcery.com>
32539
32540 [BZ #22028]
32541 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32542 (_MSUF_): Remove macro.
32543 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32544 Likewise.
32545 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32546 (__REDIRFROM_X): New macro.
32547 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32548 Likewise.
32549 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32550 (__REDIRTO_X): Likewise.
32551 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32552 arguments.
32553 (__MATH_REDIRCALL_2): Likewise.
32554 (__MATH_REDIRCALL_INTERNAL): Likewise.
32555 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32556 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32557 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32558 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32559 * math/test-finite-macros.c: New file.
32560 * math/Makefile (tests): Add test-finite-macros.
32561 (CFLAGS-test-finite-macros.c): New variable.
32562
1cf1232c
PF
325632017-08-29 Patsy Franklin <pfrankli@redhat.com>
32564 Jeff Law <law@redhat.com>
32565
32566 [BZ #22025]
32567 Mangle NULL pointers in iconv/gconv.
32568 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32569 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32570 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32571 is non-NULL before demangling the end_fct. Check for NULL
32572 end_fct after demangling.
32573 (__gconv_release_step): Demangle the end_fct before checking
32574 it for NULL. Remove assert on __shlibc_handle != NULL.
32575 (gen_steps): Don't check btowc_fct for NULL before mangling.
32576 Demangle init_fct before checking for NULL.
32577 (increment_counter): Likewise.
32578 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32579 end_fct for NULL before mangling.
32580 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32581 for NULL.
32582
c207f7ce 325832017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
32584
32585 [BZ #21971]
32586 * locale/iso-639.def: add Morisyen.
32587
42496114
GG
325882017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32589
32590 [BZ #21930]
32591 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32592 (iszero): New C++ implementation that does not use
32593 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32594 signaling nans are enabled, since __builtin_types_compatible_p
32595 is a C-only feature.
32596 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32597 defined, include ieee754_float128.h for access to the union and
32598 member ieee854_float128.ieee.
32599 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32600 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32601 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32602 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32603 options of test-math-zero on powerpc64le.
32604
5e2bc4ff
L
326052017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32606
32607 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32608 Change double to float.
32609
a48c0fb4
JM
326102017-08-28 Joseph Myers <joseph@codesourcery.com>
32611
32612 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32613 unconditional.
32614 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32615 conditional code; define contents only for [LIBM_SVID_COMPAT].
32616
ee17d4e9
FW
326172017-08-28 Florian Weimer <fweimer@redhat.com>
32618
32619 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32620 (abi-lp64_be-options): Remove.
32621 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32622 (abi-hard-options): Likewise.
32623 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32624 (abi-o32_hard-options, abi-o32_soft_2008-options)
32625 (abi-o32_hard_2008-options, abi-n32_soft-options)
32626 (abi-n32_hard-options, abi-n32_soft_2008-options)
32627 (abi-n32_hard_2008-options, abi-n64_soft-options)
32628 (abi-n64_hard-options, abi-n64_soft_2008-options)
32629 (abi-n64_hard_2008-options): Likewise.
32630 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32631 (abi-64-v1-options, abi-64-v2-options): Likewise.
32632 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32633 (abi-64-options): Likewise.
32634 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32635 (abi-64-options): Likewise.
32636 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32637 (abi-64-options): Likewise.
32638 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32639 (abi-64-options, abi-x32-options): Likewise.
32640
2dba5ce7
FW
326412017-08-28 Florian Weimer <fweimer@redhat.com>
32642
32643 Store supported list of SYS_* system calls in the source tree.
32644 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32645 (bits/syscall.h): Generate from list file.
32646 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32647 [$(subdir) = misc] (tests): Add tst-syscall-list.
32648 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32649 [$(subdir) = misc] (tst-syscall-list-macros.list)
32650 [$(subdir) = misc] (tst-syscall-list-nr.list)
32651 (tst-syscall-list-sys.list): Helper targets for new
32652 tst-syscall-list test.
32653 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32654 tst-syscall-list.sh.
32655 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32656 target. Do not include bits/syscall.d.
32657 [$(subdir) = misc] (generated): Do not update.
32658 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32659 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32660 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32661 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32662
5f3b183d
PP
326632017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32664
32665 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32666 (tst-cxa_atexit, tst-on_exit): Likewise.
32667 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32668 tst-cxa_atexit, and tst-on_exit.
32669 * stdlib/tst-atexit-common.c: New file.
32670 * stdlib/tst-atexit.c: New file.
32671 * stdlib/tst-at_quick_exit.c: New file.
32672 * stdlib/tst-cxa_atexit.c: New file.
32673 * stdlib/tst-on_exit.c: New file.
32674
2ef8d469
ST
326752017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32676
32677 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
32678 * mach/stack_chk_fail_local.c: New file.
32679 * hurd/stack_chk_fail_local.c: New file.
32680 * mach/Machrules ($(interface-library)-routines): Add
32681 stack_chk_fail_local.
99ee4d26
ST
32682 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32683 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32684 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32685 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32686 * hurd/Makefile (CFLAGS-hurdstartup.o,
32687 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 32688
7ab70c98
L
326892017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32690
32691 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32692 (index_cpu_*, index_arch_*): Removed.
32693
39e7a5a6
SN
326942017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32695
32696 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32697 Use uint64_t instead of unsigned long.
32698
bba5c930
JM
326992017-08-25 Joseph Myers <joseph@codesourcery.com>
32700
a6ccdb08
JM
32701 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32702 [__HAVE_DISTINCT_FLOAT128].
32703
23761119
JM
32704 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32705 of <bits/math-finite.h>.
32706 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32707 inclusion of <bits/math-finite.h>.
32708 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32709 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32710 __NO_LONG_DOUBLE_MATH].
32711 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32712 (__MATH_REDIRCALL_2): Likewise.
32713 (__MATH_REDIRCALL_INTERNAL): Likewise.
32714 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32715 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32716 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32717
bba5c930
JM
32718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32719 Remove file.
32720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32721 Likewise.
32722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32723 Likewise.
32724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32725 Likewise.
32726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32727 Likewise.
32728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32729 Likewise.
32730 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32731 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32732 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32733 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32735 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32736 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32737 w_sqrtf_compat-ppc32.
32738
3d7b66f6
GG
327392017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32740
32741 * math/math.h [defined __cplusplus] (issignaling): In the long
32742 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32743 is not defined. Call __issignaling, otherwise.
32744
ebd6f007
AZ
327452017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32746
32747 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32748 syscall definitions and replace __builtin_expect with __glibc_likely.
32749 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32750 syscall.
6b5c8607 32751 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
32752 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32753 definition.
32754 (PSEUDO_END): Likewise.
32755 [IS_IN (libpthread)] (CENABLE): Likewise.
32756 [IS_IN (libpthread)] (CDISABLE): Likewise.
32757 [IS_IN (libc)] (CENABLE): Likewise.
32758 [IS_IN (libc)] (CENABLE): Likewise.
32759 [IS_IN (librt)] (CDISABLE): Likewise.
32760 [IS_IN (librt)] (CDISABLE): Likewise.
32761 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32762 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32763 definition.
32764 (PSEUDO_END): Likewise.
32765 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32766 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32767 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32768 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32769 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32770 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32771 (CENABLE): Likewise.
32772 (CDISABLE): Likewise.
32773 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32774 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32775 defintion.
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/hppa/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/i386/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/ia64/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/m68k/sysdep-cancel.h (PSEUDO): Remove
32815 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 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32824 * sysdeps/unix/sysv/linux/microblaze/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/mips/mips64/sysdep-cancel.h (PSEUDO):
32835 Remove 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 (SINGLE_THREAD_P): Likewise.
32844 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32845 definition.
32846 (PSEUDO_END): Likewise.
32847 [IS_IN (libpthread)] (CENABLE): Likewise.
32848 [IS_IN (libpthread)] (CDISABLE): Likewise.
32849 [IS_IN (libc)] (CENABLE): Likewise.
32850 [IS_IN (libc)] (CENABLE): Likewise.
32851 [IS_IN (librt)] (CDISABLE): Likewise.
32852 [IS_IN (librt)] (CDISABLE): Likewise.
32853 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32854 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32855 definition.
32856 (PSEUDO_END): Likewise.
32857 [IS_IN (libpthread)] (CENABLE): Likewise.
32858 [IS_IN (libpthread)] (CDISABLE): Likewise.
32859 [IS_IN (libc)] (CENABLE): Likewise.
32860 [IS_IN (libc)] (CENABLE): Likewise.
32861 [IS_IN (librt)] (CDISABLE): Likewise.
32862 [IS_IN (librt)] (CDISABLE): Likewise.
32863 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32864 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32865 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32866 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32867 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32878 definition.
32879 (PSEUDO_END): Likewise.
32880 [IS_IN (libpthread)] (CENABLE): Likewise.
32881 [IS_IN (libpthread)] (CDISABLE): Likewise.
32882 [IS_IN (libc)] (CENABLE): Likewise.
32883 [IS_IN (libc)] (CENABLE): Likewise.
32884 [IS_IN (librt)] (CDISABLE): Likewise.
32885 [IS_IN (librt)] (CDISABLE): Likewise.
32886 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32887 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32888 definition.
32889 (PSEUDO_END): Likewise.
32890 [IS_IN (libpthread)] (CENABLE): Likewise.
32891 [IS_IN (libpthread)] (CDISABLE): Likewise.
32892 [IS_IN (libc)] (CENABLE): Likewise.
32893 [IS_IN (libc)] (CENABLE): Likewise.
32894 [IS_IN (librt)] (CDISABLE): Likewise.
32895 [IS_IN (librt)] (CDISABLE): Likewise.
32896 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32897 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32899 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32900 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32901 definition.
32902 (PSEUDO_END): Likewise.
32903 [IS_IN (libpthread)] (CENABLE): Likewise.
32904 [IS_IN (libpthread)] (CDISABLE): Likewise.
32905 [IS_IN (libc)] (CENABLE): Likewise.
32906 [IS_IN (libc)] (CENABLE): Likewise.
32907 [IS_IN (librt)] (CDISABLE): Likewise.
32908 [IS_IN (librt)] (CDISABLE): Likewise.
32909 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32910 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32911 definition.
32912 (PSEUDO_END): Likewise.
32913 [IS_IN (libpthread)] (CENABLE): Likewise.
32914 [IS_IN (libpthread)] (CDISABLE): Likewise.
32915 [IS_IN (libc)] (CENABLE): Likewise.
32916 [IS_IN (libc)] (CENABLE): Likewise.
32917 [IS_IN (librt)] (CDISABLE): Likewise.
32918 [IS_IN (librt)] (CDISABLE): Likewise.
32919 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32920
8aa48656
SN
329212017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32922
32923 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32924
fcaaca41
L
329252017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32926
32927 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32928
376b40a2
L
329292017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32930
32931 [BZ #21982]
32932 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32933 middle and outer with size_t instead of int. Repleace %d and
32934 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32935 "MAX (outer, nchars - 64)" to support unsigned outer and
32936 nchars. Also exit loop when outer == 0.
32937
2b0b9a1c
AZ
329382017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32939
32940 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32941 * include/signal.h (__sigsuspend_nocancel): Likewise.
32942 * include/time.h (__nanosleep_nocancel): Likewise.
32943 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32944 * login/utmp_file.c: Include non cancellable syscall header.
32945 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32946 prototype.
32947
b9eaca8f
L
329482017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32949
32950 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32951 .byte sequences with AVX512F instructions.
32952 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32953 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32954 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32955 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32956 Likewise.
32957 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32958 Likewise.
32959
5a706f64
SE
329602017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32961 Steve Ellcey <sellcey@cavium.com>
32962
32963 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32964 Use PTR_REG macro in cmp instruction.
32965
b513da7e
GG
329662017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32967
32968 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32969 Change the return type of the ifunc resolver to match the return
32970 type of the target function.
32971
78ca091c
AZ
329722017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32973
b70b6026
AZ
32974 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32975 (preadv64): Likewise.
32976 (pwrite64(: Likewise.
32977 (pwritev64): Likewise.
32978
78ca091c
AZ
32979 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32980 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32981 (LOAD_ARGS_0): Likewise.
32982 (LOAD_ARGS_1): Likewise.
32983 (LOAD_ARGS_2): Likewise.
32984 (LOAD_ARGS_3): Likewise.
32985 (LOAD_ARGS_4): Likewise.
32986 (LOAD_ARGS_5): Likewise.
32987 (LOAD_ARGS_6): Likewise.
32988 (LOAD_REGS_0): Likewise.
32989 (LOAD_REGS_1): Likewise.
32990 (LOAD_REGS_2): Likewise.
32991 (LOAD_REGS_3): Likewise.
32992 (LOAD_REGS_4): Likewise.
32993 (LOAD_REGS_5): Likewise.
32994 (LOAD_REGS_6): Likewise.
32995 (ASM_ARGS_0): Likewise.
32996 (ASM_ARGS_1): Likewise.
32997 (ASM_ARGS_2): Likewise.
32998 (ASM_ARGS_3): Likewise.
32999 (ASM_ARGS_4): Likewise.
33000 (ASM_ARGS_5): Likewise.
33001 (ASM_ARGS_6): Likewise.
33002 (LOAD_ARGS_TYPES_1): Likewise.
33003 (LOAD_ARGS_TYPES_2): Likewise.
33004 (LOAD_ARGS_TYPES_3): Likewise.
33005 (LOAD_ARGS_TYPES_4): Likewise.
33006 (LOAD_ARGS_TYPES_5): Likewise.
33007 (LOAD_ARGS_TYPES_6): Likewise.
33008 (LOAD_REGS_TYPES_1): Likewise.
33009 (LOAD_REGS_TYPES_2): Likewise.
33010 (LOAD_REGS_TYPES_3): Likewise.
33011 (LOAD_REGS_TYPES_4): Likewise.
33012 (LOAD_REGS_TYPES_5): Likewise.
33013 (LOAD_REGS_TYPES_6): Likewise.
33014 (TYPEFY): New define.
33015 (ARGIFY): Likewise.
33016 (internal_syscall0): Likewise.
33017 (internal_syscall1): Likewise.
33018 (internal_syscall2): Likewise.
33019 (internal_syscall3): Likewise.
33020 (internal_syscall4): Likewise.
33021 (internal_syscall5): Likewise.
33022 (internal_syscall6): Likewise.
33023 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33024 (INTERNAL_SYSCALL_NCS): Remove define.
33025 (internal_syscall1): Add define.
33026
453a493d
GG
330272017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33028
33029 * math/w_remainder_compat.c: Remove duplicate inclusion of
33030 math-svid-compat.h.
33031 * math/w_remainderf_compat.c: Likewise.
33032 * math/w_remainderl_compat.c: Likewise.
33033
f2f048a5
GG
330342017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33035
33036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33037
d9bef9c0
JM
330382017-08-22 Joseph Myers <joseph@codesourcery.com>
33039
33040 [BZ #21684]
33041 * math/tgmath.h (__floating_type): Simplify definitions.
33042 (__real_integer_type): New macro.
33043 (__complex_integer_type): Likewise.
33044 (__expr_is_real): Likewise.
33045 (__tgmath_real_type_sub): Update comment to describe handling of
33046 complex types.
33047 (__tgmath_complex_type_sub): New macro.
33048 (__tgmath_complex_type): Likewise.
33049 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33050 (__TGMATH_CF128): Use __expr_is_real.
33051 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33052 __expr_is_real.
33053 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33054 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33055 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33056 integer types.
33057
08d6eb46
AZ
330582017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33059
988f991b
AZ
33060 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33061 macro.
33062 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33063 alias.
33064 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33065 Likewise.
33066
6f33fd04
AZ
33067 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33068 nanosleep_not_cancel with __nanosleep_nocancel.
33069 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33070 (__nanosleep_nocancel): New macro.
33071 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33072 function.
33073 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33074 macro.
33075 (__nanosleep_nocancel): New prototype.
33076
08d6eb46
AZ
33077 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33078 pause_not_cancel with __pause_nocancel.
33079 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33080 (__pause_nocancel): New macro.
33081 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33082 macro.
33083 (__pause_nocancel): New prototype.
33084 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33085
ee4e992e
MS
330862017-08-22 Martin Sebor <msebor@redhat.com>
33087
33088 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33089 to return a pointer to the same type as the target function.
33090
20962acb
L
330912017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33092
33093 [BZ #18822]
33094 [BZ #21986]
33095 * include/printf.h (__printf_fphex): Add attribute_hidden.
33096 (__guess_grouping): New prototype.
33097 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33098 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33099 libc_hidden_proto and libc_hidden_def.
33100 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33101 (__vstrfmon_l): Remove the third argument passed to
33102 __guess_grouping.
33103
a16e8bc0
GG
331042017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33105
33106 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33107 definition for issignaling that does not rely on __MATH_TG,
33108 since __MATH_TG uses __builtin_types_compatible_p, which is only
33109 available in C mode.
33110 (CFLAGS-test-math-issignaling.cc): New variable.
33111 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33112 * math/test-math-issignaling.cc: New test for C++ implementation
33113 of type-generic issignaling.
33114 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33115 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33116 options of test-math-issignaling on powerpc64le.
33117
8d2ec553
L
331182017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33119
33120 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33121 building libc.a.
33122 (hidden_proto): Likewise.
33123 (hidden_tls_proto): Likewise.
33124 (__hidden_proto): Likewise.
33125
a4d57b79
FW
331262017-08-22 Florian Weimer <fweimer@redhat.com>
33127
33128 math: Statically link tests of internal functionality.
33129 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33130 atest-exp2.
33131 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33132 (gmp-objs): Remove assignment.
33133 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33134
75dfe623
JM
331352017-08-22 Joseph Myers <joseph@codesourcery.com>
33136
80f91666
JM
33137 [BZ #21987]
33138 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33139 and copy to ...
33140 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33141 ... here.
33142 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33143 ... and here.
33144
75dfe623
JM
33145 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33146 variable definitions above inclusion of ../Rules.
33147
ea99fcd0
JM
331482017-08-21 Joseph Myers <joseph@codesourcery.com>
33149
33150 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33151 case calling __builtin_unreachable.
33152
19926de9
AZ
331532017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33154
a8410a5f
AZ
33155 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33156 __waitpid_nocancel.
33157 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33158 (__waitpid_nocancel): New macro.
33159 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33160 macro.
33161 (__waitpid_nocancel): Replace macro with a function.
33162 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33163 function.
33164
7369800c
AZ
33165 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33166 __fcntl_nocancel.
33167 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33168 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33169
19926de9
AZ
33170 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33171 __writev_nocancel_nostatus.
33172 (write_call_graph): Likewise.
33173 (write_bb_counts): Likewise.
33174 * resolv/herror.c (herror): Likewise.
33175 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33176 macro.
33177 (__writev_nocancel_nostatus): New macro.
33178 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33179 Remove macro.
33180 (__writev_nocancel_nostatus): New function.
33181
813378e9
JM
331822017-08-21 Joseph Myers <joseph@codesourcery.com>
33183
df1deda6
JM
33184 Revert:
33185 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33186
33187 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33188 building libc.a.
33189 (hidden_proto): Likewise.
33190 (hidden_tls_proto): Likewise.
33191 (__hidden_proto): Likewise.
33192
831bbd55
JM
33193 [BZ #21973]
33194 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33195 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33197 Likewise.
33198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33199 Likewise.
33200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33201 Likewise.
33202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33203 Likewise.
33204 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33205 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33206 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33207 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33208 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33209 GLIBC_2.0 sqrtl symbol.
33210
813378e9
JM
33211 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33212 [__USE_MISC] (_LIB_VERSION): Likewise.
33213 [__USE_MISC] (struct exception): Likewise.
33214 [__USE_MISC] (matherr): Likewise.
33215 [__USE_MISC] (DOMAIN): Likewise.
33216 [__USE_MISC] (SING): Likewise.
33217 [__USE_MISC] (OVERFLOW): Likewise.
33218 [__USE_MISC] (UNDERFLOW): Likewise.
33219 [__USE_MISC] (TLOSS): Likewise.
33220 [__USE_MISC] (PLOSS): Likewise.
33221 [__USE_MISC] (HUGE): Likewise.
33222 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33223 * math/math-svid-compat.h: New file.
33224 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33225 and matherrl.
33226 * include/math.h [!_ISOMAC] (__matherr): Remove.
33227 * manual/arith.texi (FP Exceptions): Do not document matherr.
33228 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33229 (tests-internal): New variable.
33230 (install-lib): Do not add libieee.a.
33231 (non-lib.a): Likewise.
33232 (extra-objs): Do not add libieee.a and ieee-math.o.
33233 (CPPFLAGS-s_lib_version.c): Remove variable.
33234 ($(objpfx)libieee.a): Remove rule.
33235 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33236 * math/ieee-math.c: Remove.
33237 * math/libm-test-support.c (matherr): Remove.
33238 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33239 and license notices. Include <math-svid-compat.h> and
33240 <shlib-compat.h>.
33241 (matherr): Undefine as macro. Use compat_symbol_reference.
33242 (_LIB_VERSION): Likewise.
33243 * math/test-matherr-2.c: New file.
33244 * math/test-matherr-3.c: Likewise.
33245 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33246 declaration.
33247 (__kernel_standard_f): Likewise.
33248 (__kernel_standard_l): Likewise.
33249 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33250 <math_private.h>. Include <math-svid-compat.h>.
33251 (_LIB_VERSION): Undefine as macro.
33252 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33253 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33254 [LIBM_SVID_COMPAT], use compat_symbol.
33255 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33256 <math_private.h>. Include <math-svid-compat.h>.
33257 (matherr): Undefine as macro.
33258 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33259 compat_symbol.
33260 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33261 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33262 compat_symbol_reference.
33263 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33264 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33265 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33266 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33267 (MATHERR_D): Remove declaration.
33268 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33269 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33270 [LIBM_BUILD] (pmatherrf): Likewise.
33271 [LIBM_BUILD] (pmatherr): Likewise.
33272 [LIBM_BUILD] (pmatherrl): Likewise.
33273 (DOMAIN): Likewise.
33274 (SING): Likewise.
33275 (OVERFLOW): Likewise.
33276 (UNDERFLOW): Likewise.
33277 (TLOSS): Likewise.
33278 (PLOSS): Likewise.
33279 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33280 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33281 compat_symbol.
33282 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33283 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33284 compat_symbol.
33285 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33286 * math/w_acos_compat.c: Likewise.
33287 * math/w_acosf_compat.c: Likewise.
33288 * math/w_acosh_compat.c: Likewise.
33289 * math/w_acoshf_compat.c: Likewise.
33290 * math/w_acoshl_compat.c: Likewise.
33291 * math/w_acosl_compat.c: Likewise.
33292 * math/w_asin_compat.c: Likewise.
33293 * math/w_asinf_compat.c: Likewise.
33294 * math/w_asinl_compat.c: Likewise.
33295 * math/w_atan2_compat.c: Likewise.
33296 * math/w_atan2f_compat.c: Likewise.
33297 * math/w_atan2l_compat.c: Likewise.
33298 * math/w_atanh_compat.c: Likewise.
33299 * math/w_atanhf_compat.c: Likewise.
33300 * math/w_atanhl_compat.c: Likewise.
33301 * math/w_cosh_compat.c: Likewise.
33302 * math/w_coshf_compat.c: Likewise.
33303 * math/w_coshl_compat.c: Likewise.
33304 * math/w_exp10_compat.c: Likewise.
33305 * math/w_exp10f_compat.c: Likewise.
33306 * math/w_exp10l_compat.c: Likewise.
33307 * math/w_exp2_compat.c: Likewise.
33308 * math/w_exp2f_compat.c: Likewise.
33309 * math/w_exp2l_compat.c: Likewise.
33310 * math/w_fmod_compat.c: Likewise.
33311 * math/w_fmodf_compat.c: Likewise.
33312 * math/w_fmodl_compat.c: Likewise.
33313 * math/w_hypot_compat.c: Likewise.
33314 * math/w_hypotf_compat.c: Likewise.
33315 * math/w_hypotl_compat.c: Likewise.
33316 * math/w_j0_compat.c: Likewise.
33317 * math/w_j0f_compat.c: Likewise.
33318 * math/w_j0l_compat.c: Likewise.
33319 * math/w_j1_compat.c: Likewise.
33320 * math/w_j1f_compat.c: Likewise.
33321 * math/w_j1l_compat.c: Likewise.
33322 * math/w_jn_compat.c: Likewise.
33323 * math/w_jnf_compat.c: Likewise.
33324 * math/w_jnl_compat.c: Likewise.
33325 * math/w_lgamma_main.c: Likewise.
33326 * math/w_lgamma_r_compat.c: Likewise.
33327 * math/w_lgammaf_main.c: Likewise.
33328 * math/w_lgammaf_r_compat.c: Likewise.
33329 * math/w_lgammal_main.c: Likewise.
33330 * math/w_lgammal_r_compat.c: Likewise.
33331 * math/w_log10_compat.c: Likewise.
33332 * math/w_log10f_compat.c: Likewise.
33333 * math/w_log10l_compat.c: Likewise.
33334 * math/w_log2_compat.c: Likewise.
33335 * math/w_log2f_compat.c: Likewise.
33336 * math/w_log2l_compat.c: Likewise.
33337 * math/w_log_compat.c: Likewise.
33338 * math/w_logf_compat.c: Likewise.
33339 * math/w_logl_compat.c: Likewise.
33340 * math/w_pow_compat.c: Likewise.
33341 * math/w_powf_compat.c: Likewise.
33342 * math/w_powl_compat.c: Likewise.
33343 * math/w_remainder_compat.c: Likewise.
33344 * math/w_remainderf_compat.c: Likewise.
33345 * math/w_remainderl_compat.c: Likewise.
33346 * math/w_scalb_compat.c: Likewise.
33347 * math/w_scalbf_compat.c: Likewise.
33348 * math/w_scalbl_compat.c: Likewise.
33349 * math/w_sinh_compat.c: Likewise.
33350 * math/w_sinhf_compat.c: Likewise.
33351 * math/w_sinhl_compat.c: Likewise.
33352 * math/w_sqrt_compat.c: Likewise.
33353 * math/w_sqrtf_compat.c: Likewise.
33354 * math/w_sqrtl_compat.c: Likewise.
33355 * math/w_tgamma_compat.c: Likewise.
33356 * math/w_tgammaf_compat.c: Likewise.
33357 * math/w_tgammal_compat.c: Likewise.
33358 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33359 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33360 * sysdeps/ieee754/k_standard.c: Likewise.
33361 * sysdeps/ieee754/k_standardf.c: Likewise.
33362 * sysdeps/ieee754/k_standardl.c: Likewise.
33363 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33364 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33365 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33366 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33367 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33368 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33369 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33370 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33371 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33373 Likewise.
33374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33375 Likewise.
33376 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33377 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33378 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33379 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33380
4504783c
FW
333812017-08-21 Florian Weimer <fweimer@redhat.com>
33382
33383 [BZ #21864]
33384 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33385 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33386 Move before inclusion of ../Rules.
33387
b5889d25
FW
333882017-08-21 Florian Weimer <fweimer@redhat.com>
33389
33390 [BZ #21972]
33391 * assert/assert.h (assert): Use static_cast (bool) for C++.
33392 Use the ternary operator in the warning branch for GNU C.
33393 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33394 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33395 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33396 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33397 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33398
41e673c1
L
333992017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33400
33401 [BZ #18822]
33402 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33403 (__syscall_clock_gettime): Add attribute_hidden.
33404 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33405 (__start_context): Likewise.
33406
568ff429
L
334072017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33408
33409 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33410 building libc.a.
33411 (hidden_proto): Likewise.
33412 (hidden_tls_proto): Likewise.
33413 (__hidden_proto): Likewise.
33414
7c41b4a1
L
334152017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33416
33417 * include/libc-symbols.h (attribute_hidden): Enable hidden
33418 visibility in libc.a compiled with PIE.
33419
483d7068
L
334202017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33421
33422 [BZ #18822]
33423 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33424 Add attribute_hidden.
33425
334262017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33427
33428 [BZ #21864]
33429 * Makerules (all-nonlib): Add $(others-extras).
33430 * catgets/Makefile (others-extras): New.
33431 * elf/Makefile (others-extras): Likewise.
33432 * nss/Makefile (others-extras): Likewise.
33433
54e4b8f2
L
334342017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33435
33436 [BZ #18822]
33437 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33438 * elf/dl-open.c: Include <libc-internal.h>.
33439 (__libc_multiple_libcs): Removed.
33440 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33441 <hp-timing.h>.
33442 * include/libc-internal.h (__libc_multiple_libcs): New.
33443 * misc/sbrk.c: Include <libc-internal.h>.
33444 (__libc_multiple_libcs): Removed.
33445
1dbbb1ec
L
334462017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33447
33448 [BZ #18822]
33449 * grp/initgroups.c (__nss_group_database): Removed.
33450 (__nss_initgroups_database): Likewise.
33451 * nscd/gai.c (__nss_hosts_database): Likewise.
33452 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33453 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33454 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33455 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33456 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33457 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33458 attribute_hidden.
33459 * nss/nsswitch.c (__nss_database_custom): Define only if
33460 USE_NSCD is defined.
33461 (__nss_configure_lookup): Use __nss_database_custom only if
33462 USE_NSCD is defined.
33463 * nss/nsswitch.h (__nss_database_custom): Declare only if
33464 USE_NSCD is defined. Add attribute_hidden.
33465 (__nss_setent): Add attribute_hidden.
33466 (__nss_endent): Likewise.
33467 (__nss_getent_r): Likewise.
33468 (__nss_getent): Likewise.
33469 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33470
2585d7b8
L
334712017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33472
33473 [BZ #18822]
33474 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33475 libc_hidden_proto and libc_hidden_def.
33476
c8dfa99c
L
334772017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33478
33479 [BZ #18822]
33480 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33481 Add libc_hidden_proto.
33482 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33483 Add libc_hidden_def.
33484
7ed87317
L
334852017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33486
33487 [BZ #21974]
33488 * gmon/Makefile (routines): Remove bb_init_func and
33489 bb_exit_func.
33490 (elide-routines.os): Removed.
9476b904
L
33491 * gmon/bb_exit_func.c: Likewise.
33492 * gmon/bb_init_func.c: Likewise.
7ed87317
L
33493 * include/sys/gmon.h (__bb): Likewise.
33494 (__bb_init_func): Likewise.
33495 (__bb_exit_func): Likewise.
91695eb1 33496 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 33497
94e6ba15
L
334982017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33499
33500 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33501 * include/setjmp.h (____longjmp_chk): Here. Add
33502 attribute_hidden.
33503
7550717e
L
335042017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33505
33506 [BZ #18822]
33507 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33508 attribute_hidden.
33509 (__strspn_sse2): Likewise.
33510
0bb2fabc
AZ
335112017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33512
c181840c
AZ
33513 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33514 (close_not_cancel_no_status): Likewise.
33515 (__close_nocancel): New macro.
33516 (__close_nocancel_nostatus): Likewise.
33517 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33518 macro.
33519 (close_not_cancel): Likewise.
33520 (close_not_cancel_no_status): Likewise.
33521 (__close_nocancel): New prototype.
33522 (__close_nocancel_nostatus): New function.
33523 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33524 * catgets/open_catalog.c (__open_catalog): Replace
33525 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33526 * gmon/gmon.c (write_gmon): Likewise.
33527 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33528 * intl/loadmsgcat.c (close): Likewise.
33529 * io/ftw.c (open_dir_stream): Likewise.
33530 (ftw_startup): Likewise.
33531 * libio/fileops.c (_IO_file_open): Likewise.
33532 (_IO_file_close_mmap): Likewise.
33533 (_IO_file_close): Likewise.
33534 * libio/iopopen.c (_IO_dup2): Likewise.
33535 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33536 * locale/loadlocale.c (_nl_load_locale): Likewise.
33537 * login/utmp_file.c (pututline_file): Likewise.
33538 (endutent_file): Likewise.
33539 * misc/daemon.c (daemon): Likewise.
33540 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33541 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33542 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33543 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33544 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33545 * nscd/nscd_helper.c (open_socket): Likewise.
33546 (__nscd_open_socket): Likewise.
33547 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33548 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33549 (__nscd_innetgr): Likewise.
33550 * nss/nss_db/db-open.c (internal_setent): Likewise.
33551 * resolv/res-close.c (__res_iclose): Likewise.
33552 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33553 * sysdeps/posix/closedir.c (__closedir): Likewise.
33554 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33555 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33556 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33557 (opendir_tail): Likewise.
33558 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33559 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33560 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33561 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33562 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33563 (gethostid): Likewise.
33564 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33565 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33566 Likewise.
33567 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33568 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33569 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33570 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33571 Likewise.
33572 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33573 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33574 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33575 Likewise.
33576 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33577 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33578 Likewise.
33579 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33580 Likewise.
33581 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33582 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33583 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33584 __close_nocancel.
33585
0bb2fabc
AZ
33586 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33587 (openat_not_cancel_3): Likewise.
33588 (openat64_not_cancel_3): Likewise).
33589 (openat_not_cancel_3): Likewise).
33590 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33591 macro.
33592 (openat_not_cancel_3): Likewise.
33593 (openat64_not_cancel): Likewise.
33594 (openat64_not_cancel_3): Likewise.
33595 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33596 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33597 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33598 __open{64}_nocancel.
33599 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33600 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33601 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33602
65a086db
L
336032017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33604
33605 [BZ #18822]
33606 * include/argz.h (__argz_create_sep): New function prototype.
33607 (__argz_append): Likewise.
33608 (__argz_add): Likewise.
33609 (__argz_add_sep): Likewise.
33610 (__argz_delete): Likewise.
33611 (__argz_insert): Likewise.
33612 (__argz_replace): Likewise.
33613 * string/argz.h (__argz_create_sep): Removed.
33614 (__argz_append): Likewise.
33615 (__argz_add): Likewise.
33616 (__argz_add_sep): Likewise.
33617 (__argz_delete): Likewise.
33618 (__argz_insert): Likewise.
33619 (__argz_replace): Likewise.
33620
62753d2c
L
336212017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33622
33623 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33624 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33625 (GNU_PROPERTY_STACK_SIZE): Likewie.
33626 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33627 (GNU_PROPERTY_LOPROC): Likewise.
33628 (GNU_PROPERTY_HIPROC): Likewise.
33629 (GNU_PROPERTY_LOUSER): Likewise.
33630 (GNU_PROPERTY_HIUSER): Likewise.
33631 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33632 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33633 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33634 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33635 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33636 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33637 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33638 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33639 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33640 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33641 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33642 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33643 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33644 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33645 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33646 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33647 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33648 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33649 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33650 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33651 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33652 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33653 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33654
6913ad65
GG
336552017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33656
33657 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33658 in C++ mode.
33659
47a67213
GG
336602017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33661
33662 [BZ #21930]
33663 * math/math.h (isinf): Check if in C or C++ mode before using
33664 __builtin_types_compatible_p, since this is a C mode feature.
33665
a748eb31
AZ
336662017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33667
c647fb88
AZ
33668 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33669 (__write_nocancel): New macro.
33670 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33671 Rewrite as a function prototype.
33672 (write_not_cancel): Remove macro.
33673 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33674 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33675 (write_gmon): Likewise.
33676 * libio/fileops.c (_IO_new_file_write): Likewise.
33677 * login/utmp_file.c (pututline_file): Likewise.
33678 (updwtmp_file): Likewise.
33679 * stdio-common/psiginfo.c (psiginfo): Likewise.
33680 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33681 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33682 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33683 Likewise.
33684 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33685 Likewise.
33686
a748eb31
AZ
33687 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33688 (__read_nocancel): New macro.
33689 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33690 __read_nocancel.
33691 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33692 macro.
33693 (__read_nocancel): New prototype.
33694 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33695 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33696 with __read_nocancel.
33697 * intl/loadmsgcat.c (read): Likewise.
33698 * libio/fileops.c (_IO_file_read): Likewise.
33699 * locale/loadlocale.c (_nl_load_locale): Likewise.
33700 * login/utmp_file.c (getutent_r_file): Likewise.
33701 (internal_getut_r): Likewise.
33702 (getutline_r_file): Likewise.
33703 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33704 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33705 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33706 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33707 Likewise.
33708 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33709 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33710 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33711 Likewise.
33712 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33713 Likewise.
33714 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33715 Likewise.
33716 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33717 Likewise.
33718 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33719
098b9dd4
L
337202017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33721
33722 [BZ #21966]
33723 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33724 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33725 usable.
33726
a3fe6a20
DD
337272017-08-17 DJ Delorie <dj@redhat.com>
33728
33729 * bug17079.c: Update to new test harness.
33730 * test-digits-dots.c: Likewise.
33731 * test-netdb.c: Likewise.
33732 * tst-field.c: Likewise.
33733 * tst-nss-getpwent.c: Likewise.
33734 * tst-nss-static.c: Likewise.
33735 * tst-nss-test1.c: Likewise.
33736 * tst-nss-test2.c: Likewise.
33737 * tst-nss-test3.c: Likewise.
33738 * tst-nss-test4.c: Likewise.
33739 * tst-nss-test5.c: Likewise.
33740
c2284574
AZ
337412017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33742
33743 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33744 (open_not_cancel_2): Likewise.
33745 (open_nocancel): New macro.
33746 (open64_nocancel): Likewise.
33747 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33748 (open_not_cancel_2): Likewise.
33749 (__open_nocancel): New prototype.
33750 (__open64_nocancel): Likewise.
33751 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33752 __open_nocancel.
33753 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33754 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33755 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33756 with __open_nocancel.
33757 * csu/check_fds.c (check_one_fd): Likewise.
33758 * gmon/gmon.c (write_gmon): Likewise.
33759 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33760 * intl/loadmsgcat.c (open): Likewise.
33761 * libio/fileops.c (_IO_file_open): Likewise.
33762 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33763 * locale/loadlocale.c (_nl_load_locale): Likewise.
33764 * login/utmp_file.c (setutent_file): Likewise.
33765 * misc/daemon.c (daemon): Likewise.
33766 * nss/nss_db/db-open.c (internal_setent): Likewise.
33767 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33768 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33769 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33770 (__opendir): Likewise.
33771 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33772 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33773 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33774 (gethostid): Likewise.
33775 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33776 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33777 Likewise.
33778 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33779 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33780 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33781 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33782 Likewise.
33783 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33784 Likewise.
33785 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33786 Likewise.
33787 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33788 Likewise.
33789 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33790 Likewise.
33791 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33792 Likewise.
33793 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33794 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33795
d4505b89
WD
337962017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33797
33798 * benchtests/bench-skeleton.c (main): Add support for
33799 latency benchmarking.
33800 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33801
34d6a3cb
L
338022017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33803
33804 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33805 the startup object.
33806
038d1caf
FW
338072017-08-17 Florian Weimer <fweimer@redhat.com>
33808
33809 * include/sys/socket.h (__opensock): Remove internal_function.
33810 * socket/opensock.c (__opensock): Likewise.
33811 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33812
67f0aff0
JM
338132017-08-16 Joseph Myers <joseph@codesourcery.com>
33814
33815 [BZ #21944]
33816 * signal/bits/types/__sigval_t.h: New file.
33817 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33818 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33819 and define sigval_t using __sigval_t.
33820 * include/bits/types/__sigval_t.h: New file.
33821 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33822 instead of <bits/types/__sigval_t.h>.
33823 (struct sigevent): Use __sigval_t instead of sigval_t.
33824 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33825 instead of <bits/types/__sigval_t.h>.
33826 (siginfo_t): Use __sigval_t instead of sigval_t.
33827 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33828 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33829 (struct sigevent): Use __sigval_t instead of sigval_t.
33830 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33831 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33832 (siginfo_t): Use __sigval_t instead of sigval_t.
33833 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33834
87e7bf4d
L
338352017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33836
33837 * NEWS: Remove "[Add new features here]" for 2.27.
33838
5047057f
JM
338392017-08-16 Joseph Myers <joseph@codesourcery.com>
33840
33841 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33842 libc.so.
33843
20c7b195
L
338442017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33845
33846 * NEWS: Mention x86-64 FMA optimization.
33847
24a2e658
L
338482017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33849
33850 [BZ #21912]
33851 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33852 Add e_expf-fma.
33853 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33854 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33855 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33856
eedca977
AS
338572017-08-16 Andreas Schwab <schwab@suse.de>
33858
403143e1
FW
33859 [BZ #16750]
33860 CVE-2009-5064
eedca977
AS
33861 * elf/ldd.bash.in: Never run file directly.
33862
f59f7adb
L
338632017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33864
33865 [BZ #21955]
33866 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33867 (L(SP_INF_0)): Likewise.
33868
6b11a6ad
FW
338692017-08-15 Florian Weimer <fweimer@redhat.com>
33870
33871 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33872 run-built-tests.
33873
bbf5c438
FW
338742017-08-15 Florian Weimer <fweimer@redhat.com>
33875
33876 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33877 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33878 BROKEN_THREAD_SIGNALS code.
33879 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33880 request_list): Remove caller_pid member used for
33881 BROKEN_THREAD_SIGNALS.
33882 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33883 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33884 Remove BROKEN_THREAD_SIGNALS support.
33885 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33886 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33887
6014c65d
FW
338882017-08-15 Florian Weimer <fweimer@redhat.com>
33889
33890 * gmon/Makefile (tests): Add tst-gmon.
33891 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33892 Set.
33893 (tests-special): Add tst-gmon-prof.out.
33894 (tst-gmon.out): Depend on clean-tst-gmon-data.
33895 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33896 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33897 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33898 startup object.
33899 * aclocal.m4 (GPROF): Set and substitute.
33900 * config.amke.in (GPROF): Set.
33901 * configure: Regenerate.
33902
ee72219a
GR
339032017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33904
33905 * elf/elf.h A (NT_PPC_TAR): New macro.
33906 (NT_PPC_PPR): Likewise.
33907 (NT_PPC_DSCR): Likewise.
33908 (NT_PPC_EBB): Likewise.
33909 (NT_PPC_PMU): Likewise.
33910 (NT_PPC_TM_CGPR): Likewise.
33911 (NT_PPC_TM_CFPR): Likewise.
33912 (NT_PPC_TM_CVMX): Likewise.
33913 (NT_PPC_TM_CVSX): Likewise.
33914 (NT_PPC_TM_SPR): Likewise.
33915 (NT_PPC_TM_CTAR): Likewise.
33916 (NT_PPC_TM_CPPR): Likewise.
33917 (NT_PPC_TM_CDSCR): Likewise.
33918
4ebf934e
FW
339192017-08-15 Florian Weimer <fweimer@redhat.com>
33920
33921 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33922 regparm (2) instead of internal_function.
33923 (_MCOUNT_DECL): Adjust.
33924
e9f57484
SL
339252017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33926
33927 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33928 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33929
88ff4d55
JM
339302017-08-14 Joseph Myers <joseph@codesourcery.com>
33931
33932 * conform/data/sys/wait.h-data (si_value): Do not expect for
33933 XPG42.
33934
c88ffc23
FW
339352017-08-14 Florian Weimer <fweimer@redhat.com>
33936
33937 [BZ #21962]
33938 NSS: Create stubs for accidentally exported lookup functions.
33939 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33940 Remove declaration.
33941 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33942 (ether_hostton): Call __nss_ethers_lookup2 instead.
33943 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33944 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33945 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33946 (setup): Call __nss_netgroup_lookup2 instead.
33947 * nss/Makefile (routines): Add compat-lookup.
33948 * nss/Versions (GLIBC_2.27): Add symbol version.
33949 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33950 (DB_COMPAT_FCT): Remove.
33951 * nss/compat-lookup.c: New file.
33952 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33953 from databases.def.
33954 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33955 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33956 (netname2user): Call __nss_publickey_lookup2 instead.
33957 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33958 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33959 instead.
33960
35a29136 339612017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
33962 Sergei Trofimovich <slyfox@inbox.ru>
33963
33964 [BZ #21908]
33965 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33966 Rename to MMAP2_PAGE_UNIT.
33967 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33968 __OFF_T_MATCHES_OFF64_T is not defined.
33969 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33970 uint64_t.
33971 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33972 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33973
fbdc1e3e
FW
339742017-08-14 Florian Weimer <fweimer@redhat.com>
33975
33976 i386: Do not set internal_function.
33977 * config.h.in (USE_REGPARMS, internal_function): Remove.
33978 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33979 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33980
b3f85fd2
FW
339812017-08-14 Florian Weimer <fweimer@redhat.com>
33982
33983 * elf/dl-init.c (_dl_init): Remove internal_function.
33984 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33985 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33986
630bf491
FW
339872017-08-14 Florian Weimer <fweimer@redhat.com>
33988
33989 * elf/rtld.c (_dl_start): Remove internal_function.
33990 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33991 _dl_start.
33992
9fa7449b
FW
339932017-08-14 Florian Weimer <fweimer@redhat.com>
33994
33995 * elf/dl-fini.c (_dl_fini): Remove internal_function
33996 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33997
73322d5f
L
339982017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33999
d863cd71 34000 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
34001 (bit_cpu_SHSTK): Likewise.
34002 (index_cpu_IBT): Likewise.
34003 (index_cpu_SHSTK): Likewise.
34004 (reg_IBT): Likewise.
34005 (reg_SHSTK): Likewise.
34006 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34007 Handle index_cpu_IBT and index_cpu_SHSTK.
34008
dbc303ef
MF
340092017-08-14 Mike FABIAN <mfabian@redhat.com>
34010
34011 [BZ #19982]
34012 * po/fr.po: Fix spelling mistake.
34013
3012cfb0
FW
340142017-08-13 Florian Weimer <fweimer@redhat.com>
34015
34016 * elf/dl-addr.c (_dl_addr): Remove internal_function.
34017 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
34018 (_dl_catch_error, _dl_receive_error): Likewise.
34019 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34020 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34021 (_dl_deallocate_tls): Likewise.
34022 * include/dlfcn.h (_dl_addr): Likewise.
34023 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34024 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34025 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34026 Likewise.
34027
52bcdf26
FW
340282017-08-13 Florian Weimer <fweimer@redhat.com>
34029
34030 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34031 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34032 internal_function.
34033 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34034
e1d2ae8d
FW
340352017-08-13 Florian Weimer <fweimer@redhat.com>
34036
34037 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34038 internal_function.
34039 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34040 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34041 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34042 internal_function from _dl_make_stack_executable_hook member.
34043 (_dl_make_stack_executable): Remove internal_function.
34044 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34045 Likewise.
34046 * sysdeps/unix/sysv/linux/dl-execstack.c
34047 (_dl_make_stack_executable): Likewise.
34048
c4ce0382
FW
340492017-08-13 Florian Weimer <fweimer@redhat.com>
34050
34051 * sysdeps/unix/sysv/linux/netlinkaccess.h
34052 (__netlink_assert_response): Remove internal_function.
34053 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34054 (__netlink_assert_response): Likewise.
34055
c4d767f7
FW
340562017-08-13 Florian Weimer <fweimer@redhat.com>
34057
34058 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34059 internal_function.
34060 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34061
b2297409
FW
340622017-08-13 Florian Weimer <fweimer@redhat.com>
34063
34064 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34065 internal_function.
34066 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34067 * inet/netgroup.h (__internal_setnetgrent)
34068 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34069 * inet/getnetgrent_r.c (__internal_setnetgrent)
34070 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34071 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34072 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34073 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34074 * nss/nsswitch.h (db_lookup_function): Likewise.
34075
1b0bfc69
FW
340762017-08-13 Florian Weimer <fweimer@redhat.com>
34077
34078 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34079 Remove internal_function.
34080 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34081 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34082 message argument on the stack.
34083 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34084 Likeweise.
34085
a6bd8722
MF
340862017-08-12 Mike FABIAN <mfabian@redhat.com>
34087
34088 Adapt test case data to the changes in the thousands
34089 separators.
34090
34091 [BZ #20756]
34092 * localedata/tst-langinfo.sh: Adapt test case data.
34093 * stdlib/tst-strfmon_l.c: Likewise.
34094 * stdlib/tst-strtod4.c: Likewise.
34095 * stdlib/tst-strtod5i.c: Likewise.
34096
8b2c63e4
FW
340972017-08-11 Florian Weimer <fweimer@redhat.com>
34098
34099 [BZ #21242]
34100 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34101 Suppress pedantic warning resulting from statement expression.
34102 (__ASSERT_FUNCTION): Add missing __extension__.
34103
61c98291
SP
341042017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34105
86c6519e
SP
34106 * benchtests/bench-memmove-large.c: Print output in JSON
34107 format.
34108 * benchtests/bench-memmove.c: Likewise.
34109
61c98291
SP
34110 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34111 * benchtests/bench-memchr.c (do_one_test): Likewise.
34112 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34113 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34114 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34115 * benchtests/bench-memmove.c (do_one_test): Likewise.
34116 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34117 * benchtests/bench-memset.c (do_one_test): Likewise.
34118 * benchtests/bench-string.h (test_init): Remove memsets.
34119
925733a9
RJ
341202017-08-10 Rical Jasan <ricaljasan@pacific.net>
34121
34122 * manual/lang.texi
34123 (Computing the Width of an Integer Data Type): Rename section to
34124 "Width of an Integer Type". Remove inaccurate statement regarding
34125 lack of C language facilities for determining width of integer
34126 types, and reorder content to improve flow and context of
34127 discussion.
34128
4fcdfbfc
RJ
341292017-08-10 Rical Jasan <ricaljasan@pacific.net>
34130
34131 * lang.texi (va_copy): Change standard from ISO to C99.
34132 (__va_copy): Add standard and header annotation.
34133 Update description for clarity of origins and current use.
34134
4d98ace9
GG
341352017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34136
34137 [BZ #21941]
34138 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34139 xssqrtqp requires operands to be in Vector Registers
34140 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34141 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34142 (__ieee754_sqrtf128): Likewise.
34143
92236903
WD
341442017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34145
34146 * sysdeps/aarch64/memcmp.S (memcmp):
34147 Rewrite of optimized memcmp.
34148
2449ae7b
FW
341492017-08-10 Florian Weimer <fweimer@redhat.com>
34150
34151 Introduce ld.so exceptions.
34152 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34153 (_dl_exception_create, _dl_exception_create_format)
34154 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34155 (_dl_catch_exception): Declare.
34156 (_dl_catch_error): Update comment.
34157 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34158 errstring, malloced members with exception member.
34159 (_dl_out_of_memory): Remove.
34160 (fatal_error): New function, extracted from _dl_signal_error.
34161 (_dl_signal_exception, _dl_signal_cexception): New functions.
34162 (_dl_signal_error): Call _dl_exception_create to allocate an
34163 exception object.
34164 (_dl_catch_exception): New function, based on _dl_catch_error.
34165 (_dl_catch_error): Implement using _dl_catch_exception.
34166 * elf/dl-exception.c: New file.
34167 * elf/Makefile (dl-routines): Add dl-exception.
34168 (elide-routines.os): Likewise.
34169 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34170 _dl_exception_create_format, _dl_exception_free.
34171 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34172 _dl_signal_exception.
34173 * elf/dl-lookup.c (make_string): Remove.
34174 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34175 _dl_signal_cexception, _dl_exception_free.
34176 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34177 _dl_signal_exception.
34178 * elf/dl-sym.c (do_sym): Likewise.
34179 * elf/dl-version.c (make_string): Remove.
34180 (match_symbol): Use _dl_exception_create_format,
34181 _dl_signal_cexception, _dl_exception_free.
34182 (_dl_check_map_versions): Likewise.
34183 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34184 _dl_catch_exception.
34185 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34186 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34187 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34188 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34189 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34190 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34191 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34192 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34193 Likewise.
34194 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34196 (ld.so): Likewise.
34197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34198 (ld.so): Likewise.
34199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34200 Likewise.
34201 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34202 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34203 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34204 Likewise.
34205 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34206 Likewise.
34207 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34208
f87cc2bf
FW
342092017-08-10 Florian Weimer <fweimer@redhat.com>
34210
34211 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34212 attribute_hidden, internal_function.
34213 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34214 internal_function.
34215
eac43cbb
FW
342162017-08-10 Florian Weimer <fweimer@redhat.com>
34217
34218 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34219 function which calls __builtin_unreachable.
34220
bd80111e
MF
342212017-08-10 Mike FABIAN <mfabian@redhat.com>
34222
34223 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34224 Indian monetary formatting
34225 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34226 test cases.
34227
60e2846e
DL
342282017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34229
68dc02d1
DL
34230 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34231 Fix typo in comment.
34232
60e2846e
DL
34233 [BZ #21928]
34234 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34235 PTRACE_SEIZE_DEVEL): Remove.
34236 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34237 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34238 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34239 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34240 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34241
3d452dab
JM
342422017-08-09 Joseph Myers <joseph@codesourcery.com>
34243
24d9f53a
JM
34244 * posix/bits/types.h (__qaddr_t): Remove.
34245
3d452dab
JM
34246 [BZ #21457]
34247 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34248 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34249 __glibc_reserved1.
34250 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34251 (ucontext_t): Use __ctx with uc_flags.
34252 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34253 (__ctxt): Likewise.
34254 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34255 __glibc_reserved1.
34256 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34257 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34258 __glibc_reserved1.
34259 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34260 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34261 __glibc_reserved1.
34262 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34263 macro.
34264 (ucontext_t): Use __ctx with uc_flags.
34265 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34266 (ucontext_t): Use __ctx with uc_flags.
34267 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34268 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34269 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34270 (ucontext_t): Use __ctx with uc_flags.
34271 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34272 undefine further down.
34273 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34274 __glibc_reserved1.
34275 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34276 undefine further down.
34277 (ucontext_t): Use __ctx with uc_flags.
34278 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34279 undefine further down.
34280 (ucontext_t): Use __ctx with uc_flags.
34281 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34282 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34283 Rename uc_pad to __glibc_reserved1.
34284 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34285 undefine further down.
34286 (ucontext_t): Use __ctx with uc_flags.
34287 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34288 further down.
34289 (ucontext_t): Use __ctx with uc_flags.
34290 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34291 __ctx with uc_flags.
34292 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34293 (ucontext_t): Use __ctx with uc_flags.
34294 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34295 __ctx with uc_flags.
34296
30161498
FW
342972017-08-09 Florian Weimer <fweimer@redhat.com>
34298
34299 [BZ #21932]
34300 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34301 before early return.
34302
5797b410
AS
343032017-08-09 Andreas Schwab <schwab@suse.de>
34304
139237a4 34305 [BZ #21041]
5797b410
AS
34306 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34307 renamed alias.
34308
139237a4 34309 [BZ #21041]
40c06a3d
AS
34310 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34311 tst-compat-forwarder.
34312 (modules-names): Add tst-compat-forwarder-mod.
34313 ($(objpfx)tst-compat-forwarder): Depend on
34314 $(objpfx)tst-compat-forwarder-mod.so.
34315 * nptl/tst-compat-forwarder.c: New file.
34316 * nptl/tst-compat-forwarder-mod.c: New file.
34317
36ada5f6
SP
343182017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34319
0e02b510
SP
34320 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34321 comments.
34322
36ada5f6
SP
34323 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34324 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34325 memcpy_falkor.
34326 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34327 Bump.
34328 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34329 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34330 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34331 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34332 Add falkor.
34333 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34334 New macro.
34335
9995c839
AZ
343362017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34337
34338 [BZ #759]
34339 * manual/setjmp.texi (getcontex): Document uc_stack value
34340 compatibility differences.
34341
f17a4233
JM
343422017-08-08 Joseph Myers <joseph@codesourcery.com>
34343
34344 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34345 (old_malloc_hook): Likewise.
34346 (old_memalign_hook): Likewise.
34347 (old_realloc_hook): Likewise.
34348 (struct hdr): Likewise.
34349 (flood): Likewise.
34350 (freehook): Likewise.
34351 (mallochook): Likewise.
34352 (memalignhook): Likewise.
34353 (reallochook): Likewise.
34354 (mprobe): Likewise.
34355 * malloc/mtrace.c (mallwatch): Likewise.
34356 (tr_old_free_hook): Likewise.
34357 (tr_old_malloc_hook): Likewise.
34358 (tr_old_realloc_hook): Likewise.
34359 (tr_old_memalign_hook): Likewise.
34360 (tr_where): Likewise.
34361 (lock_and_info): Likewise.
34362 (tr_freehook): Likewise.
34363 (tr_mallochook): Likewise.
34364 (tr_reallochook): Likewise.
34365 (tr_memalignhook): Likewise.
34366 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34367 * misc/mmap.c (__mmap): Likewise.
34368 * misc/mmap64.c (__mmap64): Likewise.
34369 * misc/mprotect.c (__mprotect): Likewise.
34370 * misc/msync.c (msync): Likewise.
34371 * misc/munmap.c (__munmap): Likewise.
34372 * posix/posix_madvise.c (posix_madvise): Likewise.
34373 * socket/send.c (__send): Likewise.
34374 * socket/sendto.c (__sendto): Likewise.
34375 * socket/setsockopt.c (__setsockopt): Likewise.
34376 * string/memcmp.c (__ptr_t): Remove macro.
34377 (MEMCMP): Use void * instead of ptr_t.
34378 * string/memrchr.c (__ptr_t): Remove macro.
34379 (__memrchr): Use void * instead of ptr_t.
34380 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34381 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34382 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34383 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34384 * sysdeps/mach/msync.c (msync): Likewise.
34385 * sysdeps/mach/munmap.c (__munmap): Likewise.
34386 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34387 Likewise.
34388 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34389 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34390 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34391 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34392 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34393 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34394 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34395 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34396 Likewise.
34397 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34398 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34399 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34400 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34401 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34402 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34403 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34404 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34405 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34406 Likewise.
34407 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34408 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34409 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34410 (MEMCMP): Use void * instead of ptr_t.
34411 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34412 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34413
0df595b2
FW
344142017-08-08 Florian Weimer <fweimer@redhat.com>
34415
34416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34417 return statement.
34418
086df229
L
344192017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34420
34421 [BZ #21913]
34422 * csu/libc-tls.c: Include <startup.h> first.
34423 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34424 * elf/dl-tunables.c: Include <startup.h> first.
34425 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34426 * sysdeps/generic/startup.h: New file.
34427 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34428 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34429 (I386_USE_SYSENTER): New. Defined to 0.
34430
fc5ad702
AS
344312017-08-08 Andreas Schwab <schwab@suse.de>
34432
34433 [BZ #21041]
34434 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34435 * nptl/pt-system.c (system): Likewise.
34436
852d6312
AZ
344372017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34438
34439 [BZ #21780]
34440 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34441 EOPNOTSUPP.
34442 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34443 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34444 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34445 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34446 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34447 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34448 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34449
8b164787
JM
344502017-08-07 Joseph Myers <joseph@codesourcery.com>
34451
cd65836b
JM
34452 [BZ #21899]
34453 * bits/sigaction.h (struct sigaction): Define sa_handler and
34454 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34455 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34456 [__USE_XOPEN_EXTENDED].
34457 (SA_RESTART): Likewise.
34458 (SA_NODEFER): Likewise.
34459 (SA_RESETHAND): Likewise.
34460 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34461 (struct sigaction): Define sa_handler and sa_sigaction using union
34462 also for [__USE_XOPEN_EXTENDED].
34463 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34464 [__USE_XOPEN_EXTENDED].
34465 (SA_RESTART): Likewise.
34466 (SA_NODEFER): Likewise.
34467 (SA_RESETHAND): Likewise.
34468 * sysdeps/unix/sysv/linux/bits/sigaction.h
34469 (struct sigaction): Define sa_handler and sa_sigaction using union
34470 also for [__USE_XOPEN_EXTENDED].
34471 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34472 [__USE_XOPEN_EXTENDED].
34473 (SA_RESTART): Likewise.
34474 (SA_NODEFER): Likewise.
34475 (SA_RESETHAND): Likewise.
34476 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34477 (struct sigaction): Define sa_handler and sa_sigaction using union
34478 also for [__USE_XOPEN_EXTENDED].
34479 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34480 [__USE_XOPEN_EXTENDED].
34481 (SA_RESTART): Likewise.
34482 (SA_NODEFER): Likewise.
34483 (SA_RESETHAND): Likewise.
34484 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34485 (struct sigaction): Define sa_handler and sa_sigaction using union
34486 also for [__USE_XOPEN_EXTENDED].
34487 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34488 [__USE_XOPEN_EXTENDED].
34489 (SA_RESTART): Likewise.
34490 (SA_NODEFER): Likewise.
34491 (SA_RESETHAND): Likewise.
34492 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34493 (struct sigaction): Define sa_handler and sa_sigaction using union
34494 also for [__USE_XOPEN_EXTENDED].
34495 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34496 [__USE_XOPEN_EXTENDED].
34497 (SA_RESTART): Likewise.
34498 (SA_NODEFER): Likewise.
34499 (SA_RESETHAND): Likewise.
34500 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34501 (struct sigaction): Define sa_handler and sa_sigaction using union
34502 also for [__USE_XOPEN_EXTENDED].
34503 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34504 [__USE_XOPEN_EXTENDED].
34505 (SA_RESTART): Likewise.
34506 (SA_NODEFER): Likewise.
34507 (SA_RESETHAND): Likewise.
34508 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34509 (struct sigaction): Define sa_handler and sa_sigaction using union
34510 also for [__USE_XOPEN_EXTENDED].
34511 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34512 [__USE_XOPEN_EXTENDED].
34513 (SA_RESTART): Likewise.
34514 (SA_NODEFER): Likewise. Define directly rather than as alias.
34515 (SA_RESETHAND): Likewise.
34516 (SA_INTERRUPT): Define only for [__USE_MISC].
34517 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34518 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34519 [__USE_MISC].
34520 (SA_STACK): Define only for [__USE_MISC].
34521 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34522 (struct sigaction): Define sa_handler and sa_sigaction using union
34523 also for [__USE_XOPEN_EXTENDED].
34524 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34525 [__USE_XOPEN_EXTENDED].
34526 (SA_RESTART): Likewise.
34527 (SA_NODEFER): Likewise.
34528 (SA_RESETHAND): Likewise.
34529 (SA_NOPTRACE): Define only for [__USE_MISC].
34530
d9fee042
JM
34531 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34532 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34533 (struct catalog_info): Likewise.
34534 * inet/htontest.c (lo): Likewise.
34535 (foo): Likewise.
34536 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34537 * inet/inet_net.c (inet_network): Likewise.
34538 * inet/inet_netof.c (inet_netof): Likewise.
34539 * inet/rcmd.c (__ivaliduser): Likewise.
34540 (iruserok): Likewise.
34541 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34542 * locale/programs/locale-spec.c (locale_special): Likewise.
34543 * nis/nis_findserv.c (struct findserv_req): Likewise.
34544 (__nis_findfastest_with_timeout): Likewise.
34545 * nss/test-netdb.c (test_network): Likewise.
34546 * resolv/inet_neta.c (inet_neta): Likewise.
34547 * resolv/ns_date.c (ns_datetosecs): Likewise.
34548 (SECS_PER_DAY): Likewise.
34549 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34550 Likewise.
34551 * resolv/res_comp.c (__putlong): Likewise.
34552 (__putshort): Likewise.
34553 (_getlong): Likewise.
34554 (_getshort): Likewise.
34555 * resolv/res_debug.c (p_time): Likewise.
34556 (precsize_ntoa): Likewise.
34557 (precsize_aton): Likewise.
34558 (latlon2ul): Likewise.
34559 (loc_aton): Likewise.
34560 (loc_ntoa): Likewise.
34561 * resolv/res_hconf.c (struct netaddr): Likewise.
34562 (_res_hconf_reorder_addrs): Likewise.
34563 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34564 (clnttcp_control): Likewise.
34565 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34566 (clntudp_control): Likewise.
34567 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34568 (clntunix_control): Likewise.
34569 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34570 * sunrpc/rpc/auth.h (union des_block): Likewise.
34571 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34572 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34573 (xdrrec_create): Likewise.
34574 (xdrrec_endofrecord): Likewise.
34575 (flush_out): Likewise.
34576 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34577 (xdrstdio_putlong): Likewise.
34578 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34579 Likewise.
34580
8b164787
JM
34581 * misc/sys/cdefs.h (__long_double_t): Remove.
34582 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34583 instead of __long_double_t,
34584 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34585
7ee38e60
SP
345862017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34587
dd3e86ad
SP
34588 * benchtests/scripts/compare_strings.py: Avoid display error when
34589 running on a text terminal.
34590
b115e819
SP
34591 * benchtests/scripts/compare_strings.py (main): Add an
34592 optional -base option.
34593 (process_results): New argument base_func.
34594
7ee38e60
SP
34595 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34596 hardcoding memcpy.
34597 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34598 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34599
d5afb385
AS
346002017-08-07 Andreas Schwab <schwab@suse.de>
34601
34602 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34603 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34604 * intl/Makefile ($(objpfx)tst-gettext.out)
34605 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34606 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34607 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34608 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34609 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34610 * posix/Makefile ($(objpfx)globtest.out)
34611 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34612 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34613 ($(objpfx)tst-printf.out): Likewise.
34614 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34615 ($(objpfx)tst-setcontext3.out): Likewise.
34616
57a72fa3
L
346172017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34618
34619 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34620 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34621 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34622 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34623 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34624 and mptan-fma.
34625 (CFLAGS-doasin-fma.c): New.
34626 (CFLAGS-dosincos-fma.c): Likewise.
34627 (CFLAGS-e_asin-fma.c): Likewise.
34628 (CFLAGS-e_atan2-fma.c): Likewise.
34629 (CFLAGS-e_exp-fma.c): Likewise.
34630 (CFLAGS-e_log-fma.c): Likewise.
34631 (CFLAGS-e_pow-fma.c): Likewise.
34632 (CFLAGS-halfulp-fma.c): Likewise.
34633 (CFLAGS-mpa-fma.c): Likewise.
34634 (CFLAGS-mpatan-fma.c): Likewise.
34635 (CFLAGS-mpatan2-fma.c): Likewise.
34636 (CFLAGS-mpexp-fma.c): Likewise.
34637 (CFLAGS-mplog-fma.c): Likewise.
34638 (CFLAGS-mpsqrt-fma.c): Likewise.
34639 (CFLAGS-mptan-fma.c): Likewise.
34640 (CFLAGS-s_atan-fma.c): Likewise.
34641 (CFLAGS-sincos32-fma.c): Likewise.
34642 (CFLAGS-slowexp-fma.c): Likewise.
34643 (CFLAGS-slowpow-fma.c): Likewise.
34644 (CFLAGS-s_sin-fma.c): Likewise.
34645 (CFLAGS-s_tan-fma.c): Likewise.
34646 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34647 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34648 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34649 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34650 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34651 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34652 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34653 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34654 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34655 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34656 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34657 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34658 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34659 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34660 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34661 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34662 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34663 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34664 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34665 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34666 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34667 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34668 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34669 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34670 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34671 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34672 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34673 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34674 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34675 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34676 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34677
219dd320
JM
346782017-08-04 Joseph Myers <joseph@codesourcery.com>
34679
34680 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34681 (min_of_type_f): New macro.
34682 (min_of_type_): Likewise.
34683 (min_of_type_l): Likewise.
34684 (min_of_type_f128): Likewise.
34685 (min_of_type): Define using __MATH_TG and taking an expression
34686 argument.
34687 (math_check_force_underflow): Pass expression instead of type to
34688 min_of_type.
34689 (math_check_force_underflow_nonneg): Likewise.
34690
64d4dea6
L
346912017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34692
34693 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34694 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34695 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34696
973da22a
L
346972017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34698
34699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34700 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34701 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34702 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34703 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34704 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34705 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34706 memmove_chk-nonshared and memset_chk-nonshared
34707 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34708 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34709 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34710 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34711 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34712 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34713 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34714 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34715 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34716 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34717 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34718 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34719 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34720 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34721 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34722 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34723 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34724 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34725 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34726 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34727 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34728 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34729 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34730 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34731 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34732 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34733 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34734 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34735 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34736 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34737 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34738 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34739 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34740 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34741 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34742 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34743 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34744 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34745 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34746 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34747 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34748 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34749 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34750 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34751 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34752 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34753 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34754 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34755 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34756 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34757 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34758 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34759 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34760 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34761 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34762 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34763 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34764 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34765 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34766 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34767 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34768 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34769 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34770 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34771 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34772 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34773 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34774 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34775 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34776 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34777 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34778 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34779 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34780 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34781 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34782 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34783 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34784 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34785 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34786 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34787 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34788 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34789 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34790 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34791 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34792 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34793 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34794 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34795 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34796 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34797 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34798 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34799 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34800 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34801 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34802 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34803 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34804 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34805 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34806 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34807 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34808 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34809 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34810 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34811 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34812 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34813 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34814 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34815
8537e0f6
L
348162017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34817
34818 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34819 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34820 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34821 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34822 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34823 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34824 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34825 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34826 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34827 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34828 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34829 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34830 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34831 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34832 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34833 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34834 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34835 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34836 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34837 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34838 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34839 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34840 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34841 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34842 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34843 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34844 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34845 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34846 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34847 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34848 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34849 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34850 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34851 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34852 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34853 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34854 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34855 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34856 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34857 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34858 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34859 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34860 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34861 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34862 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34863 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34864 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34865 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34866 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34867 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34868 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34869 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34870 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34871 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34872 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34873 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34874 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34875 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34876 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34877 ...
34878 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34879 Don't include <sysdep.h> nor <init-arch.h>.
34880 (_ZGVbN2v_cos): Removed.
34881 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34882 ...
34883 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34884 Don't include <sysdep.h> nor <init-arch.h>.
34885 (_ZGVdN4v_cos): Removed.
34886 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34887 ...
34888 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34889 Don't include <sysdep.h> nor <init-arch.h>.
34890 (_ZGVeN8v_cos): Removed.
34891 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34892 ...
34893 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34894 Don't include <sysdep.h> nor <init-arch.h>.
34895 (_ZGVbN2v_exp): Removed.
34896 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34897 ...
34898 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34899 Don't include <sysdep.h> nor <init-arch.h>.
34900 (_ZGVdN4v_exp): Removed.
34901 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34902 ...
34903 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34904 Don't include <sysdep.h> nor <init-arch.h>.
34905 (_ZGVeN8v_exp): Removed.
34906 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34907 ...
34908 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34909 Don't include <sysdep.h> nor <init-arch.h>.
34910 (_ZGVbN2v_log): Removed.
34911 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34912 ...
34913 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34914 Don't include <sysdep.h> nor <init-arch.h>.
34915 (_ZGVdN4v_log): Removed.
34916 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34917 ...
34918 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34919 Don't include <sysdep.h> nor <init-arch.h>.
34920 (_ZGVeN8v_log): Removed.
34921 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34922 ...
34923 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34924 Don't include <sysdep.h> nor <init-arch.h>.
34925 (_ZGVbN2vv_pow): Removed.
34926 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34927 ...
34928 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34929 Don't include <sysdep.h> nor <init-arch.h>.
34930 (_ZGVdN4vv_pow): Removed.
34931 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34932 ...
34933 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34934 Don't include <sysdep.h> nor <init-arch.h>.
34935 (_ZGVeN8vv_pow): Removed.
34936 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34937 ...
34938 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34939 Don't include <sysdep.h> nor <init-arch.h>.
34940 (_ZGVbN2v_sin): Removed.
34941 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34942 ...
34943 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34944 Don't include <sysdep.h> nor <init-arch.h>.
34945 (_ZGVbN4v_sin): Removed.
34946 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34947 ...
34948 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34949 Don't include <sysdep.h> nor <init-arch.h>.
34950 (_ZGVbN8v_sin): Removed.
34951 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34952 ...
34953 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34954 Don't include <sysdep.h> nor <init-arch.h>.
34955 (_ZGVbN2vvv_sincos): Removed.
34956 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34957 ...
34958 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34959 Don't include <sysdep.h> nor <init-arch.h>.
34960 (_ZGVdN4vvv_sincos): Removed.
34961 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34962 ...
34963 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34964 Don't include <sysdep.h> nor <init-arch.h>.
34965 (_ZGVeN8vvv_sincos): Removed.
34966 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34967 ...
34968 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34969 Don't include <sysdep.h> nor <init-arch.h>.
34970 (_ZGVeN16v_cosf): Removed.
34971 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34972 ...
34973 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34974 Don't include <sysdep.h> nor <init-arch.h>.
34975 (_ZGVbN4v_cosf): Removed.
34976 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34977 ...
34978 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34979 Don't include <sysdep.h> nor <init-arch.h>.
34980 (_ZGVdN8v_cosf): Removed.
34981 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34982 ...
34983 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34984 Don't include <sysdep.h> nor <init-arch.h>.
34985 (_ZGVeN16v_expf): Removed.
34986 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34987 ...
34988 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34989 Don't include <sysdep.h> nor <init-arch.h>.
34990 (_ZGVbN4v_expf): Removed.
34991 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34992 ...
34993 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34994 Don't include <sysdep.h> nor <init-arch.h>.
34995 (_ZGVdN8v_expf): Removed.
34996 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34997 ...
34998 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34999 Don't include <sysdep.h> nor <init-arch.h>.
35000 (_ZGVeN16v_logf): Removed.
35001 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
35002 ...
35003 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
35004 Don't include <sysdep.h> nor <init-arch.h>.
35005 (_ZGVbN4v_logf): Removed.
35006 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
35007 ...
35008 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
35009 Don't include <sysdep.h> nor <init-arch.h>.
35010 (_ZGVdN8v_logf): Removed.
35011 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
35012 ...
35013 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
35014 Don't include <sysdep.h> nor <init-arch.h>.
35015 (_ZGVeN16vv_powf): Removed.
35016 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
35017 ...
35018 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
35019 Don't include <sysdep.h> nor <init-arch.h>.
35020 (_ZGVbN4vv_powf): Removed.
35021 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35022 ...
35023 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35024 Don't include <sysdep.h> nor <init-arch.h>.
35025 (_ZGVdN8vv_powf): Removed.
35026 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35027 ...
35028 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35029 Don't include <sysdep.h> nor <init-arch.h>.
35030 (_ZGVeN16vvv_sincosf): Removed.
35031 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35032 ...
35033 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35034 Don't include <sysdep.h> nor <init-arch.h>.
35035 (_ZGVbN4vvv_sincosf): Removed.
35036 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35037 ...
35038 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35039 Don't include <sysdep.h> nor <init-arch.h>.
35040 (_ZGVdN8vvv_sincosf): Removed.
35041 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35042 ...
35043 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35044 Don't include <sysdep.h> nor <init-arch.h>.
35045 (_ZGVeN16v_sinf): Removed.
35046 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35047 ...
35048 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35049 Don't include <sysdep.h> nor <init-arch.h>.
35050 (_ZGVbN4v_sinf): Removed.
35051 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35052 ...
35053 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35054 Don't include <sysdep.h> nor <init-arch.h>.
35055 (_ZGVdN8v_sinf): Removed.
35056
10a87ca4
L
350572017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35058
35059 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35060 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35061 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35062 s_rint-sse4_1 and s_rintf-sse4_1.
35063 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35064 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35065 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35066 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35067 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35068 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35069 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35070 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35071 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35072 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35073 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35074 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35075 (__ceil): Removed.
35076 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35077 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35078 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35079 (__ceilf): Removed.
35080 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35081 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35082 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35083 (__floor): Removed.
35084 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35085 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35086 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35087 (__floorf): Removed.
35088 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35089 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35090 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35091 (__nearbyint): Removed.
35092 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35093 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35094 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35095 (__nearbyintf): Removed.
35096 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35097 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35098 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35099 (__rint): Removed.
35100 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35101 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35102 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35103 (__rintf): Removed.
35104
1e8e527d
L
351052017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35106
35107 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35108 SHARED. Avoid dynamic relocation against main in static PIE.
35109
e13daad7
L
351102017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35111
35112 [BZ #21815]
35113 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35114 (LDFLAGS-tst-prelink): Likewise.
35115
627c69c8
L
351162017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35117
35118 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35119 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35120 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35121 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35122 (INTERNAL_SYSCALL_NCS): Likewise.
35123 (LOADARGS_1): Likewise.
35124 (LOADARGS_5): Likewise.
35125 (RESTOREARGS_1): Likewise.
35126 (RESTOREARGS_5): Likewise.
35127
fc11ff8d
L
351282017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35129
35130 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35131 (MEMPCPY_SYMBOL): Likewise.
35132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35133 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35134 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35135 in libc.a.
35136 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35137 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35138 Likewise.
35139 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35140 (__hidden_ver1): Don't use in libc.a.
35141 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35142 (__mempcpy): Don't create a weak alias in libc.a.
35143 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35144 libc.a.
35145 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35146 (__hidden_ver1): Don't use in libc.a.
35147
19f1a11e
L
351482017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35149
35150 * config.make.in (have-insert): New.
35151 * configure.ac (libc_cv_insert): New. Set to yes if linker
35152 supports INSERT in linker script.
35153 (AC_SUBST(libc_cv_insert): New.
35154 * configure: Regenerated.
35155 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35156 if $(have-insert) == yes.
35157
3093fd5e
L
351582017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35159
35160 * elf/Makefile (tests): Add vismain only if
35161 $(have-protected-data) == yes.
35162 (tests-pie): Likewise.
35163
d2cf37c0
L
351642017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35165
35166 [BZ #21871]
35167 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35168 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35169
c8a0e6ec
L
351702017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35171
35172 [BZ #21790]
35173 * sysdeps/i386/i586/memset.S
35174 (__memset_zero_constant_len_parameter): Removed.
35175 * sysdeps/i386/i686/memset.S
35176 (__memset_zero_constant_len_parameter): Likewise.
35177 * sysdeps/i386/i686/multiarch/memset_chk.S
35178 (__memset_zero_constant_len_parameter): Likewise.
35179 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35180 Likewise.
35181
2b34e271
AJ
351822017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35183
35184 * stdlib/getentropy.c (getentropy): Change return type to int.
35185
144bdab0
AJ
351862017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35187
35188 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35189
24ab7723
JM
351902017-08-03 Joseph Myers <joseph@codesourcery.com>
35191
35192 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35193 u_intN_t.
35194 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35195 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35196 Likewise.
35197 (ieee_float_shape_type): Likewise.
35198 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35199 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35200 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35201 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35202 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35203 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35204 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35205 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35206 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35207 Likewise.
35208 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35209 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35210 (__ieee754_yn): Likewise.
35211 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35212 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35213 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35214 Likewise.
35215 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35216 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35217 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35218 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35219 (__erfc): Likewise.
35220 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35221 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35222 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35223 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35224 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35225 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35226 Likewise.
35227 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35228 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35229 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35230 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35231 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35232 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35233 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35234 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35235 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35236 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35237 (__issignaling): Likewise.
35238 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35239 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35240 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35241 Likewise.
35242 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35243 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35244 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35245 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35246 Likewise.
35247 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35248 Likewise.
35249 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35250 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35251 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35252 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35253 (__erfcf): Likewise.
35254 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35255 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35256 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35257 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35258 Likewise.
35259 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35260 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35261 Likewise.
35262 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35263 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35264 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35265 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35266 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35267 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35268 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35269 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35270 Likewise.
35271 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35272 Likewise.
35273 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35274 Likewise.
35275 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35276 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35277 Likewise.
35278 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35279 Likewise.
35280 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35281 (__ieee754_ynl): Likewise.
35282 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35283 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35284 Likewise.
35285 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35286 Likewise.
35287 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35288 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35289 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35290 Likewise.
35291 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35292 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35293 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35294 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35295 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35296 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35297 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35298 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35299 Likewise.
35300 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35301 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35302 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35303 Likewise.
35304 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35305 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35306 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35307 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35308 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35309 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35310 Likewise.
35311 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35312 Likewise.
35313 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35314 Likewise.
35315 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35316 Likewise.
35317 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35318 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35319 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35320 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35321 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35322 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35323 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35324 Likewise.
35325 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35326 Likewise.
35327 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35328 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35329 Likewise.
35330 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35331 (__ieee754_remainderl): Likewise.
35332 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35333 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35334 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35335 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35336 Likewise.
35337 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35338 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35339 Likewise.
35340 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35341 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35342 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35343 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35344 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35345 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35346 Likewise.
35347 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35348 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35349 (__ieee754_y0l): Likewise.
35350 (pzero): Likewise.
35351 (qzero): Likewise.
35352 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35353 (__ieee754_y1l): Likewise.
35354 (pone): Likewise.
35355 (qone): Likewise.
35356 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35357 (__ieee754_ynl): Likewise.
35358 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35359 (__ieee754_lgammal_r): Likewise.
35360 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35361 Likewise.
35362 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35363 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35364 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35365 (__erfcl): Likewise.
35366 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35367 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35368 Likewise.
35369 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35370 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35371 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35372 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35373 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35374 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35375 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35376 Likewise.
35377 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35378 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35379 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35380 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35381 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35382 Likewise.
35383 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35384 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35385 Likewise.
35386 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35387 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35388 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35389 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35390 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35391
964263bb
FW
353922017-08-03 Florian Weimer <fweimer@redhat.com>
35393
35394 [BZ #21885]
35395 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35396 on memory allocation failure.
35397
e98c925f
AM
353982017-08-03 Alan Modra <amodra@gmail.com>
35399
35400 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35401 tst-tlsopt-powerpc.c with function name change and no test harness.
35402 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35403 Call tls_get_addr_opt_test.
35404 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35405 (modules-names): Add mod-tlsopt-powerpc.
35406 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35407 (tst-tlsopt-powerpc): Depend on .so.
35408 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35409 define. Expand use in TLS_GD and TLS_LD.
35410
8ee1abdb
ST
354112017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35412
35413 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35414 function.
3da5756e 35415 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 35416
42df8d59
JM
354172017-08-02 Joseph Myers <joseph@codesourcery.com>
35418
35419 [BZ #21686]
35420 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35421 comparing size with that of double.
35422 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35423 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35424 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35425 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35426 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35427 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35428 unsigned __int128 types.
35429
b7f95f49
SE
354302017-08-02 Steve Ellcey <sellcey@cavium.com>
35431
35432 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35433 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35434 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35435 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35436 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35437
5b736bc9
L
354382017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35439
35440 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35441
dfc93c41
L
354422017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35443
35444 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35445 of SHARED.
35446 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35447 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35448 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35449 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35450 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35451 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35452 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35453
2fee621d
JM
354542017-08-02 Joseph Myers <joseph@codesourcery.com>
35455
35456 [BZ #21685]
35457 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35458 bit-field expressions passed to sizeof or typeof.
35459 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35460 (__TGMATH_F128): Likewise.
35461 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35462 (__TGMATH_CF128): Likewise.
35463 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35464 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35465 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35466 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35467 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35468 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35469 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35470 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35471 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35472 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35473 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35474 (__TGMATH_UNARY_IMAG): Likewise.
35475 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35476 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35477 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35478 type.
35479 (define_vars_for_type): Handle bit_field type specially.
35480 (Tests.__init__): Declare structure with bit-field element.
35481
b358255f
L
354822017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35483
35484 [BZ #21791]
35485 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35486 (MEMCPY_CHK): Define only if SHARED is defined.
35487 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35488 Likewise.
35489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35490 Likewise.
edf66db1
SP
35491
35492See ChangeLog.18 for earlier changes.